@streamoid/ui 0.1.1 → 0.1.5

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
@@ -2793,11 +2793,11 @@ var require_react_jsx_runtime_development = __commonJS({
2793
2793
  return jsxWithValidation(type, props, key, false);
2794
2794
  }
2795
2795
  }
2796
- var jsx106 = jsxWithValidationDynamic;
2797
- var jsxs56 = jsxWithValidationStatic;
2796
+ var jsx105 = jsxWithValidationDynamic;
2797
+ var jsxs57 = jsxWithValidationStatic;
2798
2798
  exports.Fragment = REACT_FRAGMENT_TYPE;
2799
- exports.jsx = jsx106;
2800
- exports.jsxs = jsxs56;
2799
+ exports.jsx = jsx105;
2800
+ exports.jsxs = jsxs57;
2801
2801
  })();
2802
2802
  }
2803
2803
  }
@@ -3526,6 +3526,7 @@ var ScHeader = ({
3526
3526
  "div",
3527
3527
  {
3528
3528
  className: ScHeader_default.scHeader + " " + className + " " + variantsClassName,
3529
+ ...props,
3529
3530
  children: [
3530
3531
  /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: ScHeader_default.headerText, children: [
3531
3532
  text,
@@ -3611,15 +3612,35 @@ var ScBillingLogsTableList_default = {
3611
3612
  // src/SC-Billing logs table list/ScBillingLogsTableList.tsx
3612
3613
  var import_jsx_runtime51 = __toESM(require_jsx_runtime());
3613
3614
  var ScBillingLogsTableList = ({
3615
+ activity = "Artifax Generation",
3616
+ usedBy = "Rohan",
3617
+ date = "Nov 9th, 2025",
3618
+ creditsUsed = "50",
3619
+ balance = "84,902",
3614
3620
  className,
3615
3621
  ...props
3616
3622
  }) => {
3617
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.scBillingLogsTableList + " " + className, children: [
3618
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.customerName, children: "Artifax Generation " }),
3619
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.userName, children: "Rohan " }),
3620
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.date, children: "Nov 9th, 2025 " }),
3621
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.usage, children: "50 " }),
3622
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.cost, children: "84,902 " })
3623
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.scBillingLogsTableList + " " + className, ...props, children: [
3624
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.customerName, children: [
3625
+ activity,
3626
+ " "
3627
+ ] }),
3628
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.userName, children: [
3629
+ usedBy,
3630
+ " "
3631
+ ] }),
3632
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.date, children: [
3633
+ date,
3634
+ " "
3635
+ ] }),
3636
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.usage, children: [
3637
+ creditsUsed,
3638
+ " "
3639
+ ] }),
3640
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.cost, children: [
3641
+ balance,
3642
+ " "
3643
+ ] })
3623
3644
  ] });
3624
3645
  };
3625
3646
 
@@ -3659,19 +3680,25 @@ var ScRadio = ({
3659
3680
  }) => {
3660
3681
  const variantsClassName = ScRadio_default["state-" + state];
3661
3682
  return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3662
- "svg",
3683
+ "div",
3663
3684
  {
3664
3685
  className: ScRadio_default.scRadio + " " + className + " " + variantsClassName,
3665
- width: "24",
3666
- height: "24",
3667
- viewBox: "0 0 24 24",
3668
- fill: "none",
3669
- xmlns: "http://www.w3.org/2000/svg",
3686
+ ...props,
3670
3687
  children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3671
- "path",
3688
+ "svg",
3672
3689
  {
3673
- d: "M22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5V24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24V22.5C17.799 22.5 22.5 17.799 22.5 12Z",
3674
- fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3690
+ width: "24",
3691
+ height: "24",
3692
+ viewBox: "0 0 24 24",
3693
+ fill: "none",
3694
+ xmlns: "http://www.w3.org/2000/svg",
3695
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3696
+ "path",
3697
+ {
3698
+ d: "M22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5V24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24V22.5C17.799 22.5 22.5 17.799 22.5 12Z",
3699
+ fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3700
+ }
3701
+ )
3675
3702
  }
3676
3703
  )
3677
3704
  }
@@ -3696,19 +3723,25 @@ var ScCheckbox = ({
3696
3723
  }) => {
3697
3724
  const variantsClassName = ScCheckbox_default["state-" + state];
3698
3725
  return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3699
- "svg",
3726
+ "div",
3700
3727
  {
3701
3728
  className: ScCheckbox_default.scCheckbox + " " + className + " " + variantsClassName,
3702
- width: "24",
3703
- height: "24",
3704
- viewBox: "0 0 24 24",
3705
- fill: "none",
3706
- xmlns: "http://www.w3.org/2000/svg",
3729
+ ...props,
3707
3730
  children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3708
- "path",
3731
+ "svg",
3709
3732
  {
3710
- d: "M17.5996 22.5V24H6.40039V22.5H17.5996ZM22.5 17.5996V6.40039C22.5 5.25553 22.4985 4.48629 22.4502 3.89453C22.4033 3.32077 22.3198 3.04631 22.2275 2.86523C21.9879 2.39483 21.6052 2.01214 21.1348 1.77246C20.9537 1.68023 20.6792 1.59671 20.1055 1.5498C19.5137 1.50146 18.7445 1.5 17.5996 1.5H6.40039C5.25553 1.5 4.48629 1.50146 3.89453 1.5498C3.32077 1.59671 3.04631 1.68023 2.86523 1.77246C2.39483 2.01214 2.01214 2.39483 1.77246 2.86523C1.68023 3.04631 1.59671 3.32077 1.5498 3.89453C1.50146 4.48629 1.5 5.25553 1.5 6.40039V17.5996C1.5 18.7445 1.50146 19.5137 1.5498 20.1055C1.59671 20.6792 1.68023 20.9537 1.77246 21.1348C2.01214 21.6052 2.39483 21.9879 2.86523 22.2275C3.04631 22.3198 3.32077 22.4033 3.89453 22.4502C4.48629 22.4985 5.25553 22.5 6.40039 22.5V24L4.91602 23.9932C3.72431 23.9744 2.96088 23.9041 2.34766 23.6406L2.18359 23.5645C1.52512 23.2289 0.974134 22.7183 0.589844 22.0918L0.435547 21.8164C-0.000427067 20.9608 1.63278e-09 19.8398 1.63278e-09 17.5996V6.40039C1.63278e-09 4.16018 -0.000427067 3.03924 0.435547 2.18359C0.819016 1.43109 1.43109 0.819016 2.18359 0.435547C2.82525 0.108606 3.61607 0.0272847 4.91602 0.00683594L6.40039 1.63278e-09H17.5996C19.8398 1.63278e-09 20.9608 -0.000427067 21.8164 0.435547C22.5689 0.819016 23.181 1.43109 23.5645 2.18359C24.0004 3.03924 24 4.16018 24 6.40039V17.5996C24 19.8398 24.0004 20.9608 23.5645 21.8164L23.4102 22.0918C23.0259 22.7183 22.4749 23.2289 21.8164 23.5645L21.6523 23.6406C20.816 23.9999 19.6999 24 17.5996 24V22.5C18.7445 22.5 19.5137 22.4985 20.1055 22.4502C20.6792 22.4033 20.9537 22.3198 21.1348 22.2275C21.6052 21.9879 21.9879 21.6052 22.2275 21.1348C22.3198 20.9537 22.4033 20.6792 22.4502 20.1055C22.4985 19.5137 22.5 18.7445 22.5 17.5996Z",
3711
- fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3733
+ width: "24",
3734
+ height: "24",
3735
+ viewBox: "0 0 24 24",
3736
+ fill: "none",
3737
+ xmlns: "http://www.w3.org/2000/svg",
3738
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3739
+ "path",
3740
+ {
3741
+ d: "M17.5996 22.5V24H6.40039V22.5H17.5996ZM22.5 17.5996V6.40039C22.5 5.25553 22.4985 4.48629 22.4502 3.89453C22.4033 3.32077 22.3198 3.04631 22.2275 2.86523C21.9879 2.39483 21.6052 2.01214 21.1348 1.77246C20.9537 1.68023 20.6792 1.59671 20.1055 1.5498C19.5137 1.50146 18.7445 1.5 17.5996 1.5H6.40039C5.25553 1.5 4.48629 1.50146 3.89453 1.5498C3.32077 1.59671 3.04631 1.68023 2.86523 1.77246C2.39483 2.01214 2.01214 2.39483 1.77246 2.86523C1.68023 3.04631 1.59671 3.32077 1.5498 3.89453C1.50146 4.48629 1.5 5.25553 1.5 6.40039V17.5996C1.5 18.7445 1.50146 19.5137 1.5498 20.1055C1.59671 20.6792 1.68023 20.9537 1.77246 21.1348C2.01214 21.6052 2.39483 21.9879 2.86523 22.2275C3.04631 22.3198 3.32077 22.4033 3.89453 22.4502C4.48629 22.4985 5.25553 22.5 6.40039 22.5V24L4.91602 23.9932C3.72431 23.9744 2.96088 23.9041 2.34766 23.6406L2.18359 23.5645C1.52512 23.2289 0.974134 22.7183 0.589844 22.0918L0.435547 21.8164C-0.000427067 20.9608 1.63278e-09 19.8398 1.63278e-09 17.5996V6.40039C1.63278e-09 4.16018 -0.000427067 3.03924 0.435547 2.18359C0.819016 1.43109 1.43109 0.819016 2.18359 0.435547C2.82525 0.108606 3.61607 0.0272847 4.91602 0.00683594L6.40039 1.63278e-09H17.5996C19.8398 1.63278e-09 20.9608 -0.000427067 21.8164 0.435547C22.5689 0.819016 23.181 1.43109 23.5645 2.18359C24.0004 3.03924 24 4.16018 24 6.40039V17.5996C24 19.8398 24.0004 20.9608 23.5645 21.8164L23.4102 22.0918C23.0259 22.7183 22.4749 23.2289 21.8164 23.5645L21.6523 23.6406C20.816 23.9999 19.6999 24 17.5996 24V22.5C18.7445 22.5 19.5137 22.4985 20.1055 22.4502C20.6792 22.4033 20.9537 22.3198 21.1348 22.2275C21.6052 21.9879 21.9879 21.6052 22.2275 21.1348C22.3198 20.9537 22.4033 20.6792 22.4502 20.1055C22.4985 19.5137 22.5 18.7445 22.5 17.5996Z",
3742
+ fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3743
+ }
3744
+ )
3712
3745
  }
3713
3746
  )
3714
3747
  }
@@ -3756,22 +3789,44 @@ var ScPairtext = ({
3756
3789
  // src/SC-BillingHistoryTableList/ScBillingHistoryTableList.tsx
3757
3790
  var import_jsx_runtime55 = __toESM(require_jsx_runtime());
3758
3791
  var ScBillingHistoryTableList = ({
3792
+ invoiceNumber = "# INV-2800-2026",
3793
+ amount = "$320.89",
3794
+ date = "Nov 9th, 2025",
3795
+ downloadLabel = "Download invoice",
3759
3796
  className,
3797
+ onRowClick,
3760
3798
  ...props
3761
3799
  }) => {
3762
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.scBillingHistoryTableList + " " + className, children: [
3763
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: ScBillingHistoryTableList_default.invoiceNumber, children: "# INV-2800-2026 " }),
3764
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: ScBillingHistoryTableList_default.amount, children: "$320.89 " }),
3765
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: ScBillingHistoryTableList_default.date, children: "Nov 9th, 2025 " }),
3766
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3767
- ScPairtext,
3768
- {
3769
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(sicon_download_default, { className: ScBillingHistoryTableList_default.siconDownloadInstance }),
3770
- content: "Download invoice",
3771
- className: ScBillingHistoryTableList_default.scPairtextInstance
3772
- }
3773
- )
3774
- ] });
3800
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3801
+ "div",
3802
+ {
3803
+ className: ScBillingHistoryTableList_default.scBillingHistoryTableList + " " + className,
3804
+ onClick: onRowClick,
3805
+ ...props,
3806
+ children: [
3807
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.invoiceNumber, children: [
3808
+ invoiceNumber,
3809
+ " "
3810
+ ] }),
3811
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.amount, children: [
3812
+ amount,
3813
+ " "
3814
+ ] }),
3815
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.date, children: [
3816
+ date,
3817
+ " "
3818
+ ] }),
3819
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3820
+ ScPairtext,
3821
+ {
3822
+ icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(sicon_download_default, { className: ScBillingHistoryTableList_default.siconDownloadInstance }),
3823
+ content: downloadLabel,
3824
+ className: ScBillingHistoryTableList_default.scPairtextInstance
3825
+ }
3826
+ )
3827
+ ]
3828
+ }
3829
+ );
3775
3830
  };
3776
3831
 
3777
3832
  // src/SC-Button/ScButton.module.css
@@ -3818,6 +3873,7 @@ var ScButton = ({
3818
3873
  "div",
3819
3874
  {
3820
3875
  className: ScButton_default.scButton + " " + className + " " + variantsClassName,
3876
+ ...props,
3821
3877
  children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: ScButton_default.container, children: [
3822
3878
  (styleVariant === "icon-left" || styleVariant === "icon-only") && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, { children: icon }),
3823
3879
  (styleVariant === "default" || styleVariant === "icon-right" || styleVariant === "icon-left") && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: ScButton_default.label, children: [
@@ -3933,6 +3989,7 @@ var ScCalendarDateComps = ({
3933
3989
  "div",
3934
3990
  {
3935
3991
  className: ScCalendarDateComps_default.scCalendarDateComps + " " + className + " " + variantsClassName,
3992
+ ...props,
3936
3993
  children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: ScCalendarDateComps_default.date, children: [
3937
3994
  date,
3938
3995
  " "
@@ -3943,240 +4000,112 @@ var ScCalendarDateComps = ({
3943
4000
 
3944
4001
  // src/SC-Calendar/ScCalendar.tsx
3945
4002
  var import_jsx_runtime59 = __toESM(require_jsx_runtime());
4003
+ var MONTH_NAMES = [
4004
+ "January",
4005
+ "February",
4006
+ "March",
4007
+ "April",
4008
+ "May",
4009
+ "June",
4010
+ "July",
4011
+ "August",
4012
+ "September",
4013
+ "October",
4014
+ "November",
4015
+ "December"
4016
+ ];
3946
4017
  var ScCalendar = ({
3947
4018
  className,
4019
+ month,
4020
+ year,
4021
+ selectedDate,
4022
+ onDateSelect,
4023
+ onMonthChange,
3948
4024
  ...props
3949
4025
  }) => {
3950
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.scCalendar + " " + className, children: [
4026
+ const today = /* @__PURE__ */ new Date();
4027
+ const currentMonth = month !== void 0 ? month : today.getMonth();
4028
+ const currentYear = year !== void 0 ? year : today.getFullYear();
4029
+ const firstDayOfMonth = new Date(currentYear, currentMonth, 1).getDay();
4030
+ const daysInMonth = new Date(currentYear, currentMonth + 1, 0).getDate();
4031
+ const totalCells = Math.ceil((firstDayOfMonth + daysInMonth) / 7) * 7;
4032
+ const handlePrevMonth = () => {
4033
+ const newMonth = currentMonth === 0 ? 11 : currentMonth - 1;
4034
+ const newYear = currentMonth === 0 ? currentYear - 1 : currentYear;
4035
+ onMonthChange?.(newMonth, newYear);
4036
+ };
4037
+ const handleNextMonth = () => {
4038
+ const newMonth = currentMonth === 11 ? 0 : currentMonth + 1;
4039
+ const newYear = currentMonth === 11 ? currentYear + 1 : currentYear;
4040
+ onMonthChange?.(newMonth, newYear);
4041
+ };
4042
+ const getDateState = (dayIndex) => {
4043
+ if (dayIndex < firstDayOfMonth || dayIndex >= firstDayOfMonth + daysInMonth) {
4044
+ return "empty";
4045
+ }
4046
+ const dayNumber = dayIndex - firstDayOfMonth + 1;
4047
+ const cellDate = new Date(currentYear, currentMonth, dayNumber);
4048
+ if (today.getDate() === dayNumber && today.getMonth() === currentMonth && today.getFullYear() === currentYear) {
4049
+ return "today";
4050
+ }
4051
+ if (selectedDate) {
4052
+ const sel = selectedDate;
4053
+ if (sel.getDate() === dayNumber && sel.getMonth() === currentMonth && sel.getFullYear() === currentYear) {
4054
+ return "range-start";
4055
+ }
4056
+ }
4057
+ return "default";
4058
+ };
4059
+ const getDayNumber = (dayIndex) => {
4060
+ if (dayIndex < firstDayOfMonth || dayIndex >= firstDayOfMonth + daysInMonth) {
4061
+ return "";
4062
+ }
4063
+ return String(dayIndex - firstDayOfMonth + 1);
4064
+ };
4065
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.scCalendar + " " + className, ...props, children: [
3951
4066
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.header, children: [
3952
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: ScCalendar_default.monthYear, children: "February 2026 " }),
4067
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.monthYear, children: [
4068
+ MONTH_NAMES[currentMonth],
4069
+ " ",
4070
+ currentYear
4071
+ ] }),
3953
4072
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.navigation, children: [
3954
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(sicon_left_default, { className: ScCalendar_default.siconLeftInstance }),
3955
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(sicon_right_default, { className: ScCalendar_default.siconRightInstance })
4073
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4074
+ sicon_left_default,
4075
+ {
4076
+ className: ScCalendar_default.siconLeftInstance,
4077
+ onClick: handlePrevMonth,
4078
+ style: { cursor: "pointer" }
4079
+ }
4080
+ ),
4081
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4082
+ sicon_right_default,
4083
+ {
4084
+ className: ScCalendar_default.siconRightInstance,
4085
+ onClick: handleNextMonth,
4086
+ style: { cursor: "pointer" }
4087
+ }
4088
+ )
3956
4089
  ] })
3957
4090
  ] }),
3958
4091
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ScHDivider, { className: ScCalendar_default.scHDividerInstance }),
3959
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.calendarGrid, children: [
3960
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3961
- ScCalendarDateComps,
3962
- {
3963
- state: "empty",
3964
- className: ScCalendar_default.scCalendarDateCompsInstance
3965
- }
3966
- ),
3967
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3968
- ScCalendarDateComps,
3969
- {
3970
- state: "empty",
3971
- className: ScCalendar_default.scCalendarDateCompsInstance2
3972
- }
3973
- ),
3974
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3975
- ScCalendarDateComps,
3976
- {
3977
- className: ScCalendar_default.scCalendarDateCompsInstance3
3978
- }
3979
- ),
3980
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3981
- ScCalendarDateComps,
3982
- {
3983
- state: "today",
3984
- className: ScCalendar_default.scCalendarDateCompsInstance4
3985
- }
3986
- ),
3987
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3988
- ScCalendarDateComps,
3989
- {
3990
- state: "hover",
3991
- className: ScCalendar_default.scCalendarDateCompsInstance5
3992
- }
3993
- ),
3994
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3995
- ScCalendarDateComps,
3996
- {
3997
- className: ScCalendar_default.scCalendarDateCompsInstance6
3998
- }
3999
- ),
4000
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4001
- ScCalendarDateComps,
4002
- {
4003
- className: ScCalendar_default.scCalendarDateCompsInstance7
4004
- }
4005
- ),
4006
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4007
- ScCalendarDateComps,
4008
- {
4009
- state: "range-end",
4010
- className: ScCalendar_default.scCalendarDateCompsInstance8
4011
- }
4012
- ),
4013
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4014
- ScCalendarDateComps,
4015
- {
4016
- className: ScCalendar_default.scCalendarDateCompsInstance9
4017
- }
4018
- ),
4019
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4020
- ScCalendarDateComps,
4021
- {
4022
- className: ScCalendar_default.scCalendarDateCompsInstance10
4023
- }
4024
- ),
4025
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4026
- ScCalendarDateComps,
4027
- {
4028
- className: ScCalendar_default.scCalendarDateCompsInstance11
4029
- }
4030
- ),
4031
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4032
- ScCalendarDateComps,
4033
- {
4034
- className: ScCalendar_default.scCalendarDateCompsInstance12
4035
- }
4036
- ),
4037
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4038
- ScCalendarDateComps,
4039
- {
4040
- className: ScCalendar_default.scCalendarDateCompsInstance13
4041
- }
4042
- ),
4043
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4044
- ScCalendarDateComps,
4045
- {
4046
- state: "range-start",
4047
- className: ScCalendar_default.scCalendarDateCompsInstance14
4048
- }
4049
- ),
4050
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4051
- ScCalendarDateComps,
4052
- {
4053
- className: ScCalendar_default.scCalendarDateCompsInstance15
4054
- }
4055
- ),
4056
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4057
- ScCalendarDateComps,
4058
- {
4059
- className: ScCalendar_default.scCalendarDateCompsInstance16
4060
- }
4061
- ),
4062
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4063
- ScCalendarDateComps,
4064
- {
4065
- className: ScCalendar_default.scCalendarDateCompsInstance17
4066
- }
4067
- ),
4068
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4069
- ScCalendarDateComps,
4070
- {
4071
- className: ScCalendar_default.scCalendarDateCompsInstance18
4072
- }
4073
- ),
4074
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4075
- ScCalendarDateComps,
4076
- {
4077
- className: ScCalendar_default.scCalendarDateCompsInstance19
4078
- }
4079
- ),
4080
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4081
- ScCalendarDateComps,
4082
- {
4083
- className: ScCalendar_default.scCalendarDateCompsInstance20
4084
- }
4085
- ),
4086
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4087
- ScCalendarDateComps,
4088
- {
4089
- state: "range",
4090
- className: ScCalendar_default.scCalendarDateCompsInstance21
4091
- }
4092
- ),
4093
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4094
- ScCalendarDateComps,
4095
- {
4096
- className: ScCalendar_default.scCalendarDateCompsInstance22
4097
- }
4098
- ),
4099
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4100
- ScCalendarDateComps,
4101
- {
4102
- className: ScCalendar_default.scCalendarDateCompsInstance23
4103
- }
4104
- ),
4105
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4106
- ScCalendarDateComps,
4107
- {
4108
- state: "range",
4109
- className: ScCalendar_default.scCalendarDateCompsInstance24
4110
- }
4111
- ),
4112
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4113
- ScCalendarDateComps,
4114
- {
4115
- className: ScCalendar_default.scCalendarDateCompsInstance25
4116
- }
4117
- ),
4118
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4119
- ScCalendarDateComps,
4120
- {
4121
- state: "range",
4122
- className: ScCalendar_default.scCalendarDateCompsInstance26
4123
- }
4124
- ),
4125
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4126
- ScCalendarDateComps,
4127
- {
4128
- className: ScCalendar_default.scCalendarDateCompsInstance27
4129
- }
4130
- ),
4131
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4132
- ScCalendarDateComps,
4133
- {
4134
- className: ScCalendar_default.scCalendarDateCompsInstance28
4135
- }
4136
- ),
4137
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4138
- ScCalendarDateComps,
4139
- {
4140
- className: ScCalendar_default.scCalendarDateCompsInstance29
4141
- }
4142
- ),
4143
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4144
- ScCalendarDateComps,
4145
- {
4146
- className: ScCalendar_default.scCalendarDateCompsInstance30
4147
- }
4148
- ),
4149
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4150
- ScCalendarDateComps,
4151
- {
4152
- className: ScCalendar_default.scCalendarDateCompsInstance31
4153
- }
4154
- ),
4155
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4156
- ScCalendarDateComps,
4157
- {
4158
- className: ScCalendar_default.scCalendarDateCompsInstance32
4159
- }
4160
- ),
4161
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4162
- ScCalendarDateComps,
4163
- {
4164
- className: ScCalendar_default.scCalendarDateCompsInstance33
4165
- }
4166
- ),
4167
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4168
- ScCalendarDateComps,
4169
- {
4170
- className: ScCalendar_default.scCalendarDateCompsInstance34
4171
- }
4172
- ),
4173
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4092
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: ScCalendar_default.calendarGrid, children: Array.from({ length: totalCells }, (_, i) => {
4093
+ const state = getDateState(i);
4094
+ const dayNumber = getDayNumber(i);
4095
+ const dayNum = dayNumber ? parseInt(dayNumber, 10) : null;
4096
+ const cellDate = dayNum !== null ? new Date(currentYear, currentMonth, dayNum) : null;
4097
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4174
4098
  ScCalendarDateComps,
4175
4099
  {
4176
- className: ScCalendar_default.scCalendarDateCompsInstance35
4177
- }
4178
- )
4179
- ] })
4100
+ date: dayNumber || "",
4101
+ state,
4102
+ className: ScCalendar_default.scCalendarDateCompsInstance,
4103
+ onClick: cellDate && state !== "empty" ? () => onDateSelect?.(cellDate) : void 0,
4104
+ style: cellDate && state !== "empty" ? { cursor: "pointer" } : void 0
4105
+ },
4106
+ i
4107
+ );
4108
+ }) })
4180
4109
  ] });
4181
4110
  };
4182
4111
 
@@ -4202,39 +4131,64 @@ var ScProgressBar_default = {
4202
4131
  // src/SC-Progress bar/ScProgressBar.tsx
4203
4132
  var import_jsx_runtime60 = __toESM(require_jsx_runtime());
4204
4133
  var ScProgressBar = ({
4134
+ progress = 50,
4205
4135
  className,
4206
4136
  ...props
4207
4137
  }) => {
4208
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: ScProgressBar_default.scProgressBar + " " + className, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: ScProgressBar_default.progressFill }) });
4138
+ const clampedProgress = Math.min(100, Math.max(0, progress));
4139
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: ScProgressBar_default.scProgressBar + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4140
+ "div",
4141
+ {
4142
+ className: ScProgressBar_default.progressFill,
4143
+ style: { width: `${clampedProgress}%` }
4144
+ }
4145
+ ) });
4209
4146
  };
4210
4147
 
4211
4148
  // src/SC-Credits usage card/ScCreditsUsageCard.tsx
4212
4149
  var import_jsx_runtime61 = __toESM(require_jsx_runtime());
4213
4150
  var ScCreditsUsageCard = ({
4151
+ usageLabel = "Credits usage",
4152
+ usageText = "8,450 / 30,000",
4153
+ remainingText = "60% Remaining",
4154
+ buyButtonText = "Buy credits",
4155
+ progress = 60,
4214
4156
  className,
4215
4157
  ...props
4216
4158
  }) => {
4217
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.scCreditsUsageCard + " " + className, children: [
4159
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.scCreditsUsageCard + " " + className, ...props, children: [
4218
4160
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.header, children: [
4219
4161
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4220
4162
  ScPairtext,
4221
4163
  {
4222
4164
  icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(sicon_Coins_default, { className: ScCreditsUsageCard_default.siconCoinsInstance }),
4223
- content: "Credits usage",
4165
+ content: usageLabel,
4224
4166
  className: ScCreditsUsageCard_default.scPairtextInstance
4225
4167
  }
4226
4168
  ),
4227
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: ScCreditsUsageCard_default.usageText, children: "8,450 / 30,000 " })
4169
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.usageText, children: [
4170
+ usageText,
4171
+ " "
4172
+ ] })
4228
4173
  ] }),
4229
4174
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScHDivider, { className: ScCreditsUsageCard_default.scHDividerInstance }),
4230
4175
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.progressContainer, children: [
4231
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScProgressBar, { className: ScCreditsUsageCard_default.scProgressBarInstance }),
4232
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: ScCreditsUsageCard_default.remainingText, children: "60% Remaining " }),
4176
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4177
+ ScProgressBar,
4178
+ {
4179
+ progress,
4180
+ className: ScCreditsUsageCard_default.scProgressBarInstance
4181
+ }
4182
+ ),
4183
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.remainingText, children: [
4184
+ remainingText,
4185
+ " "
4186
+ ] }),
4233
4187
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4234
4188
  ScButton,
4235
4189
  {
4236
4190
  icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(sicon_Home_default, { className: ScCreditsUsageCard_default.siconHomeInstance }),
4237
- text: "Buy credits",
4191
+ text: buyButtonText,
4238
4192
  variant: "secondary",
4239
4193
  size: "md",
4240
4194
  className: ScCreditsUsageCard_default.scButtonInstance
@@ -4256,6 +4210,8 @@ var ScGoogleSignIn_default = {
4256
4210
  var import_jsx_runtime62 = __toESM(require_jsx_runtime());
4257
4211
  var ScGoogleSignIn = ({
4258
4212
  hover = "false",
4213
+ googleLogoSrc = "google-logo0.png",
4214
+ signInText = "Sign in with Google",
4259
4215
  className,
4260
4216
  ...props
4261
4217
  }) => {
@@ -4264,9 +4220,13 @@ var ScGoogleSignIn = ({
4264
4220
  "div",
4265
4221
  {
4266
4222
  className: ScGoogleSignIn_default.scGoogleSignIn + " " + className + " " + variantsClassName,
4223
+ ...props,
4267
4224
  children: [
4268
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { className: ScGoogleSignIn_default.googleLogo, src: "google-logo0.png" }),
4269
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: ScGoogleSignIn_default.signInText, children: "Sign in with Google " })
4225
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { className: ScGoogleSignIn_default.googleLogo, src: googleLogoSrc }),
4226
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: ScGoogleSignIn_default.signInText, children: [
4227
+ signInText,
4228
+ " "
4229
+ ] })
4270
4230
  ]
4271
4231
  }
4272
4232
  );
@@ -4487,6 +4447,7 @@ var ScMenuOptions = ({
4487
4447
  "div",
4488
4448
  {
4489
4449
  className: ScMenuOptions_default.scMenuOptions + " " + className + " " + variantsClassName,
4450
+ ...props,
4490
4451
  children: [
4491
4452
  icon,
4492
4453
  /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: ScMenuOptions_default.content, children: [
@@ -4512,13 +4473,15 @@ var ScOnlyIcon_default = {
4512
4473
  var import_jsx_runtime67 = __toESM(require_jsx_runtime());
4513
4474
  var ScOnlyIcon = ({
4514
4475
  variant = "default",
4515
- className
4476
+ className,
4477
+ ...props
4516
4478
  }) => {
4517
4479
  const variantsClassName = ScOnlyIcon_default["variant-" + variant];
4518
4480
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4519
4481
  "div",
4520
4482
  {
4521
4483
  className: ScOnlyIcon_default.scOnlyIcon + " " + className + " " + variantsClassName,
4484
+ ...props,
4522
4485
  children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(sicon_settings_default, { className: ScOnlyIcon_default.siconSettingsInstance })
4523
4486
  }
4524
4487
  );
@@ -4744,23 +4707,28 @@ var ScPlanDetailsCard_default = {
4744
4707
  // src/SC-Plan details card/ScPlanDetailsCard.tsx
4745
4708
  var import_jsx_runtime69 = __toESM(require_jsx_runtime());
4746
4709
  var ScPlanDetailsCard = ({
4710
+ planName = "Free",
4711
+ planPrice = "$0.00 / month",
4712
+ badgeText = "Active",
4713
+ currentPlanLabel = "Current plan",
4714
+ upgradeButtonText = "Upgrade",
4747
4715
  className,
4748
4716
  ...props
4749
4717
  }) => {
4750
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.scPlanDetailsCard + " " + className, children: [
4718
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.scPlanDetailsCard + " " + className, ...props, children: [
4751
4719
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planHeader, children: [
4752
4720
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4753
4721
  ScPairtext,
4754
4722
  {
4755
4723
  icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(sicon_billing_default, { className: ScPlanDetailsCard_default.siconBillingInstance }),
4756
- content: "Current plan",
4724
+ content: currentPlanLabel,
4757
4725
  className: ScPlanDetailsCard_default.scPairtextInstance
4758
4726
  }
4759
4727
  ),
4760
4728
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4761
4729
  ScBadges,
4762
4730
  {
4763
- text: "Active",
4731
+ text: badgeText,
4764
4732
  variant: "success",
4765
4733
  styleVariant: "opaque",
4766
4734
  className: ScPlanDetailsCard_default.scBadgesInstance
@@ -4770,14 +4738,20 @@ var ScPlanDetailsCard = ({
4770
4738
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
4771
4739
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planDetails, children: [
4772
4740
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planInfo, children: [
4773
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScPlanDetailsCard_default.planName, children: "Free " }),
4774
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScPlanDetailsCard_default.planPrice, children: "$0.00 / month " })
4741
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planName, children: [
4742
+ planName,
4743
+ " "
4744
+ ] }),
4745
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planPrice, children: [
4746
+ planPrice,
4747
+ " "
4748
+ ] })
4775
4749
  ] }),
4776
4750
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4777
4751
  ScButton,
4778
4752
  {
4779
4753
  icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(sicon_Home_default, { className: ScPlanDetailsCard_default.siconHomeInstance }),
4780
- text: "Upgrade",
4754
+ text: upgradeButtonText,
4781
4755
  size: "md",
4782
4756
  className: ScPlanDetailsCard_default.scButtonInstance
4783
4757
  }
@@ -4802,6 +4776,7 @@ var ScProfile = ({
4802
4776
  name = "Chris Hemsworth",
4803
4777
  subText = "Kepler workspace",
4804
4778
  collapsed = "false",
4779
+ profileImage = "profile-image0.png",
4805
4780
  className,
4806
4781
  ...props
4807
4782
  }) => {
@@ -4810,8 +4785,9 @@ var ScProfile = ({
4810
4785
  "div",
4811
4786
  {
4812
4787
  className: ScProfile_default.scProfile + " " + className + " " + variantsClassName,
4788
+ ...props,
4813
4789
  children: [
4814
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { className: ScProfile_default.profileImage, src: "profile-image0.png" }),
4790
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { className: ScProfile_default.profileImage, src: profileImage }),
4815
4791
  collapsed === "false" && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_jsx_runtime70.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScProfile_default.userInfo, children: [
4816
4792
  /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScProfile_default.userName, children: [
4817
4793
  name,
@@ -4872,9 +4848,10 @@ var ScVDivider = ({
4872
4848
  // src/SC-Profile Image update/ScProfileImageUpdate.tsx
4873
4849
  var import_jsx_runtime72 = __toESM(require_jsx_runtime());
4874
4850
  var ScProfileImageUpdate = ({
4875
- className
4851
+ className,
4852
+ ...props
4876
4853
  }) => {
4877
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: ScProfileImageUpdate_default.scProfileImageUpdate + " " + className, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: ScProfileImageUpdate_default.buttonContainer, children: [
4854
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: ScProfileImageUpdate_default.scProfileImageUpdate + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: ScProfileImageUpdate_default.buttonContainer, children: [
4878
4855
  /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4879
4856
  ScButton,
4880
4857
  {
@@ -4934,6 +4911,9 @@ var ScWorkspace_default = {
4934
4911
  var import_jsx_runtime73 = __toESM(require_jsx_runtime());
4935
4912
  var ScWorkspace = ({
4936
4913
  collapsed = "false",
4914
+ workspaceName = "Kepler",
4915
+ userRole = "Admin",
4916
+ profileImage = "profile-image0.png",
4937
4917
  className,
4938
4918
  ...props
4939
4919
  }) => {
@@ -4942,11 +4922,18 @@ var ScWorkspace = ({
4942
4922
  "div",
4943
4923
  {
4944
4924
  className: ScWorkspace_default.scWorkspace + " " + className + " " + variantsClassName,
4925
+ ...props,
4945
4926
  children: [
4946
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("img", { className: ScWorkspace_default.profileImage, src: "profile-image0.png" }),
4927
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
4947
4928
  collapsed === "false" && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_jsx_runtime73.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspace_default.userInfo, children: [
4948
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspace_default.userName, children: "Kepler " }),
4949
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspace_default.userRole, children: "Admin " })
4929
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspace_default.userName, children: [
4930
+ workspaceName,
4931
+ " "
4932
+ ] }),
4933
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspace_default.userRole, children: [
4934
+ userRole,
4935
+ " "
4936
+ ] })
4950
4937
  ] }) })
4951
4938
  ]
4952
4939
  }
@@ -4979,6 +4966,7 @@ var ScTabComp = ({
4979
4966
  "div",
4980
4967
  {
4981
4968
  className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
4969
+ ...props,
4982
4970
  children: [
4983
4971
  type === "icon-only" && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_jsx_runtime74.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScTabComp_default.icon, children: icon }) }),
4984
4972
  type === "text-only" && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_jsx_runtime74.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: ScTabComp_default.tabText, children: [
@@ -5013,6 +5001,7 @@ var ScTabSwitcher = ({
5013
5001
  "div",
5014
5002
  {
5015
5003
  className: ScTabSwitcher_default.scTabSwitcher + " " + className + " " + variantsClassName,
5004
+ ...props,
5016
5005
  children: [
5017
5006
  component ? component : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5018
5007
  ScTabComp,
@@ -5061,7 +5050,7 @@ var ScProfileOptions = ({
5061
5050
  className,
5062
5051
  ...props
5063
5052
  }) => {
5064
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: ScProfileOptions_default.scProfileOptions + " " + className, children: [
5053
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: ScProfileOptions_default.scProfileOptions + " " + className, ...props, children: [
5065
5054
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: ScProfileOptions_default.profileHeader, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ScProfile, { className: ScProfileOptions_default.scProfileInstance }) }),
5066
5055
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance }),
5067
5056
  /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: ScProfileOptions_default.profileDetails, children: [
@@ -5226,10 +5215,14 @@ var ScTextField = ({
5226
5215
  ] }),
5227
5216
  /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.inputContainer, children: [
5228
5217
  (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: tfLeftIcon }),
5229
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.inputText, children: [
5230
- placeholderFilled,
5231
- " "
5232
- ] }),
5218
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
5219
+ "input",
5220
+ {
5221
+ className: ScTextField_default.inputText,
5222
+ placeholder: placeholderFilled,
5223
+ ...props
5224
+ }
5225
+ ),
5233
5226
  (tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: tfRightIcon })
5234
5227
  ] })
5235
5228
  ]
@@ -5240,9 +5233,13 @@ var ScTextField = ({
5240
5233
  // src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
5241
5234
  var import_jsx_runtime78 = __toESM(require_jsx_runtime());
5242
5235
  var ScProfileSettingsComp = ({
5243
- className
5236
+ firstName = "Chris",
5237
+ lastName = "Hemsworth",
5238
+ email = "chris@kepler.com",
5239
+ className,
5240
+ ...props
5244
5241
  }) => {
5245
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScProfileSettingsComp_default.scProfileSettingsComp + " " + className, children: [
5242
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScProfileSettingsComp_default.scProfileSettingsComp + " " + className, ...props, children: [
5246
5243
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
5247
5244
  ScProfileImageUpdate,
5248
5245
  {
@@ -5256,7 +5253,7 @@ var ScProfileSettingsComp = ({
5256
5253
  {
5257
5254
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5258
5255
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5259
- placeholderFilled: "Chris",
5256
+ placeholderFilled: firstName,
5260
5257
  label: "First Name",
5261
5258
  state: "filled",
5262
5259
  tfGroup: "none",
@@ -5268,7 +5265,7 @@ var ScProfileSettingsComp = ({
5268
5265
  {
5269
5266
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5270
5267
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5271
- placeholderFilled: "Hemsworth",
5268
+ placeholderFilled: lastName,
5272
5269
  label: "Last Name",
5273
5270
  state: "filled",
5274
5271
  tfGroup: "none",
@@ -5281,7 +5278,7 @@ var ScProfileSettingsComp = ({
5281
5278
  {
5282
5279
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5283
5280
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_lock_default, { className: ScProfileSettingsComp_default.siconLockInstance }),
5284
- placeholderFilled: "chris@kepler.com",
5281
+ placeholderFilled: email,
5285
5282
  label: "Email ID",
5286
5283
  className: ScProfileSettingsComp_default.scTextFieldInstance2
5287
5284
  }
@@ -5301,11 +5298,23 @@ var ScRole_default = {
5301
5298
  var import_jsx_runtime79 = __toESM(require_jsx_runtime());
5302
5299
  var ScRole = ({
5303
5300
  type = "admin",
5301
+ label,
5304
5302
  className,
5305
5303
  ...props
5306
5304
  }) => {
5307
5305
  const variantsClassName = ScRole_default["type-" + type];
5308
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: ScRole_default.scRole + " " + className + " " + variantsClassName, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: ScRole_default.role, children: "Admin " }) });
5306
+ const displayLabel = label ?? (type === "admin" ? "Admin" : "Member");
5307
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5308
+ "div",
5309
+ {
5310
+ className: ScRole_default.scRole + " " + className + " " + variantsClassName,
5311
+ ...props,
5312
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: ScRole_default.role, children: [
5313
+ displayLabel,
5314
+ " "
5315
+ ] })
5316
+ }
5317
+ );
5309
5318
  };
5310
5319
 
5311
5320
  // src/SC-Sidebar/ScSidebar.module.css
@@ -5360,6 +5369,7 @@ var ScSidebarMenu = ({
5360
5369
  "div",
5361
5370
  {
5362
5371
  className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
5372
+ ...props,
5363
5373
  children: [
5364
5374
  icon,
5365
5375
  variant === "explanded" && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_jsx_runtime80.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScSidebarMenu_default.content, children: [
@@ -5392,6 +5402,7 @@ var ScSidebarProfile = ({
5392
5402
  "div",
5393
5403
  {
5394
5404
  className: ScSidebarProfile_default.scSidebarProfile + " " + className + " " + variantsClassName,
5405
+ ...props,
5395
5406
  children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ScProfile, { className: ScSidebarProfile_default.scProfileInstance })
5396
5407
  }
5397
5408
  );
@@ -5434,6 +5445,7 @@ var ScVersion_default = {
5434
5445
  var import_jsx_runtime83 = __toESM(require_jsx_runtime());
5435
5446
  var ScVersion = ({
5436
5447
  state = "expanded",
5448
+ version = "v2.1.2",
5437
5449
  scSidebarIconsinstance,
5438
5450
  component,
5439
5451
  className,
@@ -5444,6 +5456,7 @@ var ScVersion = ({
5444
5456
  "div",
5445
5457
  {
5446
5458
  className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
5459
+ ...props,
5447
5460
  children: [
5448
5461
  state === "collapsed" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5449
5462
  ScSidebarIcons,
@@ -5452,7 +5465,10 @@ var ScVersion = ({
5452
5465
  className: ScVersion_default.scSidebarIconsInstance
5453
5466
  }
5454
5467
  ) }) }),
5455
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: ScVersion_default.content, children: "v2.1.2 " }),
5468
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: ScVersion_default.content, children: [
5469
+ version,
5470
+ " "
5471
+ ] }),
5456
5472
  state === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5457
5473
  ScSidebarIcons,
5458
5474
  {
@@ -5471,6 +5487,7 @@ var import_jsx_runtime84 = __toESM(require_jsx_runtime());
5471
5487
  var ScSidebar = ({
5472
5488
  state = "expanded",
5473
5489
  className,
5490
+ onToggle,
5474
5491
  ...props
5475
5492
  }) => {
5476
5493
  const variantsClassName = ScSidebar_default["state-" + state];
@@ -5769,9 +5786,10 @@ var ScSlider_default = {
5769
5786
  var import_jsx_runtime85 = __toESM(require_jsx_runtime());
5770
5787
  var ScSlider = ({
5771
5788
  className,
5789
+ onValueChange,
5772
5790
  ...props
5773
5791
  }) => {
5774
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, children: [
5792
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
5775
5793
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressBar }),
5776
5794
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressDot }),
5777
5795
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressBar2 }),
@@ -5803,7 +5821,7 @@ var ScAppListingCard = ({
5803
5821
  className,
5804
5822
  ...props
5805
5823
  }) => {
5806
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, children: [
5824
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
5807
5825
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.header, children: [
5808
5826
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
5809
5827
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.title, children: [
@@ -5836,7 +5854,7 @@ var ScAppCard = ({
5836
5854
  className,
5837
5855
  ...props
5838
5856
  }) => {
5839
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, children: [
5857
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
5840
5858
  /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
5841
5859
  /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
5842
5860
  /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.title, children: [
@@ -5886,38 +5904,44 @@ var ScToggleSwitch = ({
5886
5904
  ...props
5887
5905
  }) => {
5888
5906
  const variantsClassName = ScToggleSwitch_default["active-" + active];
5889
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5890
- "svg",
5907
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5908
+ "div",
5891
5909
  {
5892
5910
  className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
5893
- width: "41",
5894
- height: "25",
5895
- viewBox: "0 0 41 25",
5896
- fill: "none",
5897
- xmlns: "http://www.w3.org/2000/svg",
5898
- children: [
5899
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5900
- "path",
5901
- {
5902
- d: "M0.25 12.25C0.25 5.62258 5.62258 0.25 12.25 0.25H28.25C34.8774 0.25 40.25 5.62258 40.25 12.25C40.25 18.8774 34.8774 24.25 28.25 24.25H12.25C5.62258 24.25 0.25 18.8774 0.25 12.25Z",
5903
- fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
5904
- }
5905
- ),
5906
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5907
- "path",
5908
- {
5909
- d: "M40 12.25C40 5.76065 34.7393 0.5 28.25 0.5H12.25C5.76065 0.5 0.5 5.76065 0.5 12.25C0.5 18.7393 5.76065 24 12.25 24H28.25C34.7393 24 40 18.7393 40 12.25ZM40.5 12.25C40.5 19.0155 35.0155 24.5 28.25 24.5H12.25C5.48451 24.5 0 19.0155 0 12.25C0 5.48451 5.48451 0 12.25 0H28.25C35.0155 0 40.5 5.48451 40.5 12.25Z",
5910
- fill: "var(--alias-border-divider, #242424)"
5911
- }
5912
- ),
5913
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5914
- "path",
5915
- {
5916
- d: "M2.25 12.25C2.25 6.72715 6.72715 2.25 12.25 2.25C17.7728 2.25 22.25 6.72715 22.25 12.25C22.25 17.7728 17.7728 22.25 12.25 22.25C6.72715 22.25 2.25 17.7728 2.25 12.25Z",
5917
- fill: "var(--alias-fill-neutral-neutralactive, #313131)"
5918
- }
5919
- )
5920
- ]
5911
+ ...props,
5912
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5913
+ "svg",
5914
+ {
5915
+ width: "41",
5916
+ height: "25",
5917
+ viewBox: "0 0 41 25",
5918
+ fill: "none",
5919
+ xmlns: "http://www.w3.org/2000/svg",
5920
+ children: [
5921
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5922
+ "path",
5923
+ {
5924
+ d: "M0.25 12.25C0.25 5.62258 5.62258 0.25 12.25 0.25H28.25C34.8774 0.25 40.25 5.62258 40.25 12.25C40.25 18.8774 34.8774 24.25 28.25 24.25H12.25C5.62258 24.25 0.25 18.8774 0.25 12.25Z",
5925
+ fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
5926
+ }
5927
+ ),
5928
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5929
+ "path",
5930
+ {
5931
+ d: "M40 12.25C40 5.76065 34.7393 0.5 28.25 0.5H12.25C5.76065 0.5 0.5 5.76065 0.5 12.25C0.5 18.7393 5.76065 24 12.25 24H28.25C34.7393 24 40 18.7393 40 12.25ZM40.5 12.25C40.5 19.0155 35.0155 24.5 28.25 24.5H12.25C5.48451 24.5 0 19.0155 0 12.25C0 5.48451 5.48451 0 12.25 0H28.25C35.0155 0 40.5 5.48451 40.5 12.25Z",
5932
+ fill: "var(--alias-border-divider, #242424)"
5933
+ }
5934
+ ),
5935
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5936
+ "path",
5937
+ {
5938
+ d: "M2.25 12.25C2.25 6.72715 6.72715 2.25 12.25 2.25C17.7728 2.25 22.25 6.72715 22.25 12.25C22.25 17.7728 17.7728 22.25 12.25 22.25C6.72715 22.25 2.25 17.7728 2.25 12.25Z",
5939
+ fill: "var(--alias-fill-neutral-neutralactive, #313131)"
5940
+ }
5941
+ )
5942
+ ]
5943
+ }
5944
+ )
5921
5945
  }
5922
5946
  );
5923
5947
  };
@@ -5926,6 +5950,9 @@ var ScToggleSwitch = ({
5926
5950
  var import_jsx_runtime89 = __toESM(require_jsx_runtime());
5927
5951
  var ScArtifaxInvite = ({
5928
5952
  active = "true",
5953
+ appName = "Artifax",
5954
+ appDescription = "Info about artifax",
5955
+ appIcon,
5929
5956
  className,
5930
5957
  ...props
5931
5958
  }) => {
@@ -5934,11 +5961,14 @@ var ScArtifaxInvite = ({
5934
5961
  "div",
5935
5962
  {
5936
5963
  className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
5964
+ ...props,
5937
5965
  children: [
5938
5966
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
5939
5967
  ScAppCard,
5940
5968
  {
5941
- appIcon: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(sicon_artifacts_default, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
5969
+ appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(sicon_artifacts_default, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
5970
+ appName,
5971
+ appDescription,
5942
5972
  className: ScArtifaxInvite_default.scAppCardInstance
5943
5973
  }
5944
5974
  ),
@@ -6044,6 +6074,7 @@ var ScOnlyField = ({
6044
6074
  "div",
6045
6075
  {
6046
6076
  className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
6077
+ ...props,
6047
6078
  children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
6048
6079
  (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_jsx_runtime91.Fragment, { children: tfLeftIcon }),
6049
6080
  /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScOnlyField_default.inputText, children: [
@@ -6060,6 +6091,12 @@ var ScOnlyField = ({
6060
6091
  var import_jsx_runtime92 = __toESM(require_jsx_runtime());
6061
6092
  var ScCatalogixInvite = ({
6062
6093
  active = "false",
6094
+ appName = "Catalogix",
6095
+ appDescription = "Info about catalogix",
6096
+ storeAccessTitle = "Store access",
6097
+ selectedCount = "0 Selected",
6098
+ searchPlaceholder = "Search stores...",
6099
+ appIcon,
6063
6100
  className,
6064
6101
  ...props
6065
6102
  }) => {
@@ -6068,14 +6105,15 @@ var ScCatalogixInvite = ({
6068
6105
  "div",
6069
6106
  {
6070
6107
  className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
6108
+ ...props,
6071
6109
  children: [
6072
6110
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
6073
6111
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6074
6112
  ScAppCard,
6075
6113
  {
6076
- appIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
6077
- appDescription: "Info about catalogix",
6078
- appName: "Catalogix",
6114
+ appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
6115
+ appDescription,
6116
+ appName,
6079
6117
  className: ScCatalogixInvite_default.scAppCardInstance
6080
6118
  }
6081
6119
  ),
@@ -6089,15 +6127,21 @@ var ScCatalogixInvite = ({
6089
6127
  ] }),
6090
6128
  active === "true" && /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_jsx_runtime92.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
6091
6129
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
6092
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: "Store access " }),
6093
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScCatalogixInvite_default.selectedCount, children: "0 Selected " })
6130
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
6131
+ storeAccessTitle,
6132
+ " "
6133
+ ] }),
6134
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
6135
+ selectedCount,
6136
+ " "
6137
+ ] })
6094
6138
  ] }),
6095
6139
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6096
6140
  ScOnlyField,
6097
6141
  {
6098
6142
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
6099
6143
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
6100
- placeholderFilled: "Search stores...",
6144
+ placeholderFilled: searchPlaceholder,
6101
6145
  className: ScCatalogixInvite_default.scOnlyFieldInstance
6102
6146
  }
6103
6147
  ),
@@ -6157,11 +6201,15 @@ var ScCatalogixInvite = ({
6157
6201
  // src/SC-appField/ScAppField.tsx
6158
6202
  var import_jsx_runtime93 = __toESM(require_jsx_runtime());
6159
6203
  var ScAppField = ({
6204
+ appFieldTitle = "App permission",
6160
6205
  className,
6161
6206
  ...props
6162
6207
  }) => {
6163
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, children: [
6164
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScAppField_default.title, children: "App permission " }) }),
6208
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
6209
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.title, children: [
6210
+ appFieldTitle,
6211
+ " "
6212
+ ] }) }),
6165
6213
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
6166
6214
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6167
6215
  ScArtifaxInvite,
@@ -6255,7 +6303,7 @@ var ScCheckField = ({
6255
6303
  className,
6256
6304
  ...props
6257
6305
  }) => {
6258
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, children: [
6306
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
6259
6307
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScCheckField_default.label, children: [
6260
6308
  label,
6261
6309
  " "
@@ -6306,6 +6354,7 @@ var ScFieldButton = ({
6306
6354
  "div",
6307
6355
  {
6308
6356
  className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
6357
+ ...props,
6309
6358
  children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScFieldButton_default.container, children: [
6310
6359
  (type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: icon }),
6311
6360
  (type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScFieldButton_default.label, children: [
@@ -6331,7 +6380,7 @@ var ScPendingAction = ({
6331
6380
  className,
6332
6381
  ...props
6333
6382
  }) => {
6334
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, children: [
6383
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
6335
6384
  /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6336
6385
  ScButton,
6337
6386
  {
@@ -6372,17 +6421,27 @@ var ScQuickPrompt_default = {
6372
6421
  // src/SC-quick prompt/ScQuickPrompt.tsx
6373
6422
  var import_jsx_runtime98 = __toESM(require_jsx_runtime());
6374
6423
  var ScQuickPrompt = ({
6375
- className
6424
+ appName = "Photogenix",
6425
+ heading = "Swap Model and Background",
6426
+ description = "Replace the current model and background with new ones that match my brand's aesthetic and tone.",
6427
+ className,
6428
+ ...props
6376
6429
  }) => {
6377
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, children: [
6430
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
6378
6431
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
6379
6432
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: ScQuickPrompt_default.iconContainer, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(sicon_bolt_default, { className: ScQuickPrompt_default.siconBoltInstance }) }),
6380
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: ScQuickPrompt_default.title, children: "Photogenix " }) })
6433
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.title, children: [
6434
+ appName,
6435
+ " "
6436
+ ] }) })
6381
6437
  ] }),
6382
6438
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
6383
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: ScQuickPrompt_default.heading, children: "Swap Model and Background " }),
6439
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.heading, children: [
6440
+ heading,
6441
+ " "
6442
+ ] }),
6384
6443
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
6385
- "Replace the current model and background with new ones that match my brand's aesthetic and tone.",
6444
+ description,
6386
6445
  " "
6387
6446
  ] })
6388
6447
  ] })
@@ -6451,20 +6510,32 @@ var ScReferralTableList_default = {
6451
6510
  // src/SC-referralTableList/ScReferralTableList.tsx
6452
6511
  var import_jsx_runtime100 = __toESM(require_jsx_runtime());
6453
6512
  var ScReferralTableList = ({
6513
+ userEmail = "chris@kepler.com",
6514
+ userName,
6515
+ date = "Nov 9th, 2025",
6516
+ status = "Confirmed",
6517
+ points = "+ 500",
6454
6518
  className,
6455
6519
  ...props
6456
6520
  }) => {
6457
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, children: [
6521
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
6458
6522
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
6459
6523
  ScProfile,
6460
6524
  {
6461
- subText: "chris@kepler.com",
6525
+ subText: userEmail,
6526
+ name: userName,
6462
6527
  className: ScReferralTableList_default.scProfileInstance
6463
6528
  }
6464
6529
  ),
6465
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScReferralTableList_default.date, children: "Nov 9th, 2025 " }),
6466
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ScBadges, { text: "Confirmed", className: ScReferralTableList_default.scBadgesInstance }),
6467
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScReferralTableList_default.points, children: "+ 500 " })
6530
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.date, children: [
6531
+ date,
6532
+ " "
6533
+ ] }),
6534
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
6535
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.points, children: [
6536
+ points,
6537
+ " "
6538
+ ] })
6468
6539
  ] });
6469
6540
  };
6470
6541
 
@@ -6480,7 +6551,7 @@ var ScSettingsNav = ({
6480
6551
  className,
6481
6552
  ...props
6482
6553
  }) => {
6483
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScSettingsNav_default.container, children: [
6554
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: ScSettingsNav_default.scSettingsNav + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { className: ScSettingsNav_default.container, children: [
6484
6555
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
6485
6556
  ScSidebarMenu,
6486
6557
  {
@@ -6633,9 +6704,11 @@ var import_jsx_runtime104 = __toESM(require_jsx_runtime());
6633
6704
  var ScTableList = ({
6634
6705
  invitedBy = "Rohan",
6635
6706
  signedOn = "Nov 9th, 2025",
6707
+ userEmail = "chris@kepler.com",
6636
6708
  hover = "false",
6637
6709
  variant = "active",
6638
6710
  className,
6711
+ onRowClick,
6639
6712
  ...props
6640
6713
  }) => {
6641
6714
  const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
@@ -6643,11 +6716,13 @@ var ScTableList = ({
6643
6716
  "div",
6644
6717
  {
6645
6718
  className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
6719
+ onClick: (e) => onRowClick && onRowClick(invitedBy, e),
6720
+ ...props,
6646
6721
  children: [
6647
6722
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
6648
6723
  ScProfile,
6649
6724
  {
6650
- subText: "chris@kepler.com",
6725
+ subText: userEmail,
6651
6726
  className: ScTableList_default.scProfileInstance
6652
6727
  }
6653
6728
  ),
@@ -6712,9 +6787,15 @@ var ScWorkspaceCard_default = {
6712
6787
  // src/SC-workspaceCard/ScWorkspaceCard.tsx
6713
6788
  var import_jsx_runtime105 = __toESM(require_jsx_runtime());
6714
6789
  var ScWorkspaceCard = ({
6715
- className
6790
+ workspaceName = "Stores",
6791
+ role = "Admin",
6792
+ userCount = "12 Users",
6793
+ ownerEmail = "rohan@streamoid.com",
6794
+ buttonText = "Current workspace",
6795
+ className,
6796
+ ...props
6716
6797
  }) => {
6717
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, children: [
6798
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
6718
6799
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
6719
6800
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6720
6801
  ScIntialProfileCover,
@@ -6722,13 +6803,16 @@ var ScWorkspaceCard = ({
6722
6803
  className: ScWorkspaceCard_default.scIntialProfileCoverInstance
6723
6804
  }
6724
6805
  ),
6725
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: ScWorkspaceCard_default.workspaceName, children: "Stores " })
6806
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
6807
+ workspaceName,
6808
+ " "
6809
+ ] })
6726
6810
  ] }),
6727
6811
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
6728
6812
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6729
6813
  ScBadges,
6730
6814
  {
6731
- text: "Admin",
6815
+ text: role,
6732
6816
  variant: "info",
6733
6817
  className: ScWorkspaceCard_default.scBadgesInstance
6734
6818
  }
@@ -6738,7 +6822,7 @@ var ScWorkspaceCard = ({
6738
6822
  ScPairtext,
6739
6823
  {
6740
6824
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_team_default, { className: ScWorkspaceCard_default.siconTeamInstance }),
6741
- content: "12 Users",
6825
+ content: userCount,
6742
6826
  className: ScWorkspaceCard_default.scPairtextInstance
6743
6827
  }
6744
6828
  ),
@@ -6747,7 +6831,7 @@ var ScWorkspaceCard = ({
6747
6831
  ScPairtext,
6748
6832
  {
6749
6833
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_Crown_default, { className: ScWorkspaceCard_default.siconCrownInstance }),
6750
- content: "rohan@streamoid.com",
6834
+ content: ownerEmail,
6751
6835
  className: ScWorkspaceCard_default.scPairtextInstance
6752
6836
  }
6753
6837
  )
@@ -6757,7 +6841,7 @@ var ScWorkspaceCard = ({
6757
6841
  ScButton,
6758
6842
  {
6759
6843
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_switch_default, { className: ScWorkspaceCard_default.siconSwitchInstance }),
6760
- text: "Current workspace",
6844
+ text: buttonText,
6761
6845
  state: "disabled",
6762
6846
  variant: "outline",
6763
6847
  className: ScWorkspaceCard_default.scButtonInstance