@streamoid/ui 0.1.2 → 0.1.6

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
@@ -3934,6 +3989,7 @@ var ScCalendarDateComps = ({
3934
3989
  "div",
3935
3990
  {
3936
3991
  className: ScCalendarDateComps_default.scCalendarDateComps + " " + className + " " + variantsClassName,
3992
+ ...props,
3937
3993
  children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: ScCalendarDateComps_default.date, children: [
3938
3994
  date,
3939
3995
  " "
@@ -3944,240 +4000,112 @@ var ScCalendarDateComps = ({
3944
4000
 
3945
4001
  // src/SC-Calendar/ScCalendar.tsx
3946
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
+ ];
3947
4017
  var ScCalendar = ({
3948
4018
  className,
4019
+ month,
4020
+ year,
4021
+ selectedDate,
4022
+ onDateSelect,
4023
+ onMonthChange,
3949
4024
  ...props
3950
4025
  }) => {
3951
- 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: [
3952
4066
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.header, children: [
3953
- /* @__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
+ ] }),
3954
4072
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.navigation, children: [
3955
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(sicon_left_default, { className: ScCalendar_default.siconLeftInstance }),
3956
- /* @__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
+ )
3957
4089
  ] })
3958
4090
  ] }),
3959
4091
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ScHDivider, { className: ScCalendar_default.scHDividerInstance }),
3960
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.calendarGrid, children: [
3961
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3962
- ScCalendarDateComps,
3963
- {
3964
- state: "empty",
3965
- className: ScCalendar_default.scCalendarDateCompsInstance
3966
- }
3967
- ),
3968
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3969
- ScCalendarDateComps,
3970
- {
3971
- state: "empty",
3972
- className: ScCalendar_default.scCalendarDateCompsInstance2
3973
- }
3974
- ),
3975
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3976
- ScCalendarDateComps,
3977
- {
3978
- className: ScCalendar_default.scCalendarDateCompsInstance3
3979
- }
3980
- ),
3981
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3982
- ScCalendarDateComps,
3983
- {
3984
- state: "today",
3985
- className: ScCalendar_default.scCalendarDateCompsInstance4
3986
- }
3987
- ),
3988
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3989
- ScCalendarDateComps,
3990
- {
3991
- state: "hover",
3992
- className: ScCalendar_default.scCalendarDateCompsInstance5
3993
- }
3994
- ),
3995
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3996
- ScCalendarDateComps,
3997
- {
3998
- className: ScCalendar_default.scCalendarDateCompsInstance6
3999
- }
4000
- ),
4001
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4002
- ScCalendarDateComps,
4003
- {
4004
- className: ScCalendar_default.scCalendarDateCompsInstance7
4005
- }
4006
- ),
4007
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4008
- ScCalendarDateComps,
4009
- {
4010
- state: "range-end",
4011
- className: ScCalendar_default.scCalendarDateCompsInstance8
4012
- }
4013
- ),
4014
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4015
- ScCalendarDateComps,
4016
- {
4017
- className: ScCalendar_default.scCalendarDateCompsInstance9
4018
- }
4019
- ),
4020
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4021
- ScCalendarDateComps,
4022
- {
4023
- className: ScCalendar_default.scCalendarDateCompsInstance10
4024
- }
4025
- ),
4026
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4027
- ScCalendarDateComps,
4028
- {
4029
- className: ScCalendar_default.scCalendarDateCompsInstance11
4030
- }
4031
- ),
4032
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4033
- ScCalendarDateComps,
4034
- {
4035
- className: ScCalendar_default.scCalendarDateCompsInstance12
4036
- }
4037
- ),
4038
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4039
- ScCalendarDateComps,
4040
- {
4041
- className: ScCalendar_default.scCalendarDateCompsInstance13
4042
- }
4043
- ),
4044
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4045
- ScCalendarDateComps,
4046
- {
4047
- state: "range-start",
4048
- className: ScCalendar_default.scCalendarDateCompsInstance14
4049
- }
4050
- ),
4051
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4052
- ScCalendarDateComps,
4053
- {
4054
- className: ScCalendar_default.scCalendarDateCompsInstance15
4055
- }
4056
- ),
4057
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4058
- ScCalendarDateComps,
4059
- {
4060
- className: ScCalendar_default.scCalendarDateCompsInstance16
4061
- }
4062
- ),
4063
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4064
- ScCalendarDateComps,
4065
- {
4066
- className: ScCalendar_default.scCalendarDateCompsInstance17
4067
- }
4068
- ),
4069
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4070
- ScCalendarDateComps,
4071
- {
4072
- className: ScCalendar_default.scCalendarDateCompsInstance18
4073
- }
4074
- ),
4075
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4076
- ScCalendarDateComps,
4077
- {
4078
- className: ScCalendar_default.scCalendarDateCompsInstance19
4079
- }
4080
- ),
4081
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4082
- ScCalendarDateComps,
4083
- {
4084
- className: ScCalendar_default.scCalendarDateCompsInstance20
4085
- }
4086
- ),
4087
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4088
- ScCalendarDateComps,
4089
- {
4090
- state: "range",
4091
- className: ScCalendar_default.scCalendarDateCompsInstance21
4092
- }
4093
- ),
4094
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4095
- ScCalendarDateComps,
4096
- {
4097
- className: ScCalendar_default.scCalendarDateCompsInstance22
4098
- }
4099
- ),
4100
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4101
- ScCalendarDateComps,
4102
- {
4103
- className: ScCalendar_default.scCalendarDateCompsInstance23
4104
- }
4105
- ),
4106
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4107
- ScCalendarDateComps,
4108
- {
4109
- state: "range",
4110
- className: ScCalendar_default.scCalendarDateCompsInstance24
4111
- }
4112
- ),
4113
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4114
- ScCalendarDateComps,
4115
- {
4116
- className: ScCalendar_default.scCalendarDateCompsInstance25
4117
- }
4118
- ),
4119
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4120
- ScCalendarDateComps,
4121
- {
4122
- state: "range",
4123
- className: ScCalendar_default.scCalendarDateCompsInstance26
4124
- }
4125
- ),
4126
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4127
- ScCalendarDateComps,
4128
- {
4129
- className: ScCalendar_default.scCalendarDateCompsInstance27
4130
- }
4131
- ),
4132
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4133
- ScCalendarDateComps,
4134
- {
4135
- className: ScCalendar_default.scCalendarDateCompsInstance28
4136
- }
4137
- ),
4138
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4139
- ScCalendarDateComps,
4140
- {
4141
- className: ScCalendar_default.scCalendarDateCompsInstance29
4142
- }
4143
- ),
4144
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4145
- ScCalendarDateComps,
4146
- {
4147
- className: ScCalendar_default.scCalendarDateCompsInstance30
4148
- }
4149
- ),
4150
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4151
- ScCalendarDateComps,
4152
- {
4153
- className: ScCalendar_default.scCalendarDateCompsInstance31
4154
- }
4155
- ),
4156
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4157
- ScCalendarDateComps,
4158
- {
4159
- className: ScCalendar_default.scCalendarDateCompsInstance32
4160
- }
4161
- ),
4162
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4163
- ScCalendarDateComps,
4164
- {
4165
- className: ScCalendar_default.scCalendarDateCompsInstance33
4166
- }
4167
- ),
4168
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4169
- ScCalendarDateComps,
4170
- {
4171
- className: ScCalendar_default.scCalendarDateCompsInstance34
4172
- }
4173
- ),
4174
- /* @__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)(
4175
4098
  ScCalendarDateComps,
4176
4099
  {
4177
- className: ScCalendar_default.scCalendarDateCompsInstance35
4178
- }
4179
- )
4180
- ] })
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
+ }) })
4181
4109
  ] });
4182
4110
  };
4183
4111
 
@@ -4203,39 +4131,64 @@ var ScProgressBar_default = {
4203
4131
  // src/SC-Progress bar/ScProgressBar.tsx
4204
4132
  var import_jsx_runtime60 = __toESM(require_jsx_runtime());
4205
4133
  var ScProgressBar = ({
4134
+ progress = 50,
4206
4135
  className,
4207
4136
  ...props
4208
4137
  }) => {
4209
- 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
+ ) });
4210
4146
  };
4211
4147
 
4212
4148
  // src/SC-Credits usage card/ScCreditsUsageCard.tsx
4213
4149
  var import_jsx_runtime61 = __toESM(require_jsx_runtime());
4214
4150
  var ScCreditsUsageCard = ({
4151
+ usageLabel = "Credits usage",
4152
+ usageText = "8,450 / 30,000",
4153
+ remainingText = "60% Remaining",
4154
+ buyButtonText = "Buy credits",
4155
+ progress = 60,
4215
4156
  className,
4216
4157
  ...props
4217
4158
  }) => {
4218
- 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: [
4219
4160
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.header, children: [
4220
4161
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4221
4162
  ScPairtext,
4222
4163
  {
4223
4164
  icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(sicon_Coins_default, { className: ScCreditsUsageCard_default.siconCoinsInstance }),
4224
- content: "Credits usage",
4165
+ content: usageLabel,
4225
4166
  className: ScCreditsUsageCard_default.scPairtextInstance
4226
4167
  }
4227
4168
  ),
4228
- /* @__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
+ ] })
4229
4173
  ] }),
4230
4174
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScHDivider, { className: ScCreditsUsageCard_default.scHDividerInstance }),
4231
4175
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.progressContainer, children: [
4232
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScProgressBar, { className: ScCreditsUsageCard_default.scProgressBarInstance }),
4233
- /* @__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
+ ] }),
4234
4187
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4235
4188
  ScButton,
4236
4189
  {
4237
4190
  icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(sicon_Home_default, { className: ScCreditsUsageCard_default.siconHomeInstance }),
4238
- text: "Buy credits",
4191
+ text: buyButtonText,
4239
4192
  variant: "secondary",
4240
4193
  size: "md",
4241
4194
  className: ScCreditsUsageCard_default.scButtonInstance
@@ -4257,6 +4210,8 @@ var ScGoogleSignIn_default = {
4257
4210
  var import_jsx_runtime62 = __toESM(require_jsx_runtime());
4258
4211
  var ScGoogleSignIn = ({
4259
4212
  hover = "false",
4213
+ googleLogoSrc = "google-logo0.png",
4214
+ signInText = "Sign in with Google",
4260
4215
  className,
4261
4216
  ...props
4262
4217
  }) => {
@@ -4265,9 +4220,13 @@ var ScGoogleSignIn = ({
4265
4220
  "div",
4266
4221
  {
4267
4222
  className: ScGoogleSignIn_default.scGoogleSignIn + " " + className + " " + variantsClassName,
4223
+ ...props,
4268
4224
  children: [
4269
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { className: ScGoogleSignIn_default.googleLogo, src: "google-logo0.png" }),
4270
- /* @__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
+ ] })
4271
4230
  ]
4272
4231
  }
4273
4232
  );
@@ -4488,6 +4447,7 @@ var ScMenuOptions = ({
4488
4447
  "div",
4489
4448
  {
4490
4449
  className: ScMenuOptions_default.scMenuOptions + " " + className + " " + variantsClassName,
4450
+ ...props,
4491
4451
  children: [
4492
4452
  icon,
4493
4453
  /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: ScMenuOptions_default.content, children: [
@@ -4513,13 +4473,15 @@ var ScOnlyIcon_default = {
4513
4473
  var import_jsx_runtime67 = __toESM(require_jsx_runtime());
4514
4474
  var ScOnlyIcon = ({
4515
4475
  variant = "default",
4516
- className
4476
+ className,
4477
+ ...props
4517
4478
  }) => {
4518
4479
  const variantsClassName = ScOnlyIcon_default["variant-" + variant];
4519
4480
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4520
4481
  "div",
4521
4482
  {
4522
4483
  className: ScOnlyIcon_default.scOnlyIcon + " " + className + " " + variantsClassName,
4484
+ ...props,
4523
4485
  children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(sicon_settings_default, { className: ScOnlyIcon_default.siconSettingsInstance })
4524
4486
  }
4525
4487
  );
@@ -4745,23 +4707,28 @@ var ScPlanDetailsCard_default = {
4745
4707
  // src/SC-Plan details card/ScPlanDetailsCard.tsx
4746
4708
  var import_jsx_runtime69 = __toESM(require_jsx_runtime());
4747
4709
  var ScPlanDetailsCard = ({
4710
+ planName = "Free",
4711
+ planPrice = "$0.00 / month",
4712
+ badgeText = "Active",
4713
+ currentPlanLabel = "Current plan",
4714
+ upgradeButtonText = "Upgrade",
4748
4715
  className,
4749
4716
  ...props
4750
4717
  }) => {
4751
- 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: [
4752
4719
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planHeader, children: [
4753
4720
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4754
4721
  ScPairtext,
4755
4722
  {
4756
4723
  icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(sicon_billing_default, { className: ScPlanDetailsCard_default.siconBillingInstance }),
4757
- content: "Current plan",
4724
+ content: currentPlanLabel,
4758
4725
  className: ScPlanDetailsCard_default.scPairtextInstance
4759
4726
  }
4760
4727
  ),
4761
4728
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4762
4729
  ScBadges,
4763
4730
  {
4764
- text: "Active",
4731
+ text: badgeText,
4765
4732
  variant: "success",
4766
4733
  styleVariant: "opaque",
4767
4734
  className: ScPlanDetailsCard_default.scBadgesInstance
@@ -4771,14 +4738,20 @@ var ScPlanDetailsCard = ({
4771
4738
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
4772
4739
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planDetails, children: [
4773
4740
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planInfo, children: [
4774
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScPlanDetailsCard_default.planName, children: "Free " }),
4775
- /* @__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
+ ] })
4776
4749
  ] }),
4777
4750
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4778
4751
  ScButton,
4779
4752
  {
4780
4753
  icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(sicon_Home_default, { className: ScPlanDetailsCard_default.siconHomeInstance }),
4781
- text: "Upgrade",
4754
+ text: upgradeButtonText,
4782
4755
  size: "md",
4783
4756
  className: ScPlanDetailsCard_default.scButtonInstance
4784
4757
  }
@@ -4803,6 +4776,7 @@ var ScProfile = ({
4803
4776
  name = "Chris Hemsworth",
4804
4777
  subText = "Kepler workspace",
4805
4778
  collapsed = "false",
4779
+ profileImage = "profile-image0.png",
4806
4780
  className,
4807
4781
  ...props
4808
4782
  }) => {
@@ -4811,8 +4785,9 @@ var ScProfile = ({
4811
4785
  "div",
4812
4786
  {
4813
4787
  className: ScProfile_default.scProfile + " " + className + " " + variantsClassName,
4788
+ ...props,
4814
4789
  children: [
4815
- /* @__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 }),
4816
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: [
4817
4792
  /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScProfile_default.userName, children: [
4818
4793
  name,
@@ -4873,9 +4848,10 @@ var ScVDivider = ({
4873
4848
  // src/SC-Profile Image update/ScProfileImageUpdate.tsx
4874
4849
  var import_jsx_runtime72 = __toESM(require_jsx_runtime());
4875
4850
  var ScProfileImageUpdate = ({
4876
- className
4851
+ className,
4852
+ ...props
4877
4853
  }) => {
4878
- 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: [
4879
4855
  /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4880
4856
  ScButton,
4881
4857
  {
@@ -4935,6 +4911,9 @@ var ScWorkspace_default = {
4935
4911
  var import_jsx_runtime73 = __toESM(require_jsx_runtime());
4936
4912
  var ScWorkspace = ({
4937
4913
  collapsed = "false",
4914
+ workspaceName = "Kepler",
4915
+ userRole = "Admin",
4916
+ profileImage = "profile-image0.png",
4938
4917
  className,
4939
4918
  ...props
4940
4919
  }) => {
@@ -4943,11 +4922,18 @@ var ScWorkspace = ({
4943
4922
  "div",
4944
4923
  {
4945
4924
  className: ScWorkspace_default.scWorkspace + " " + className + " " + variantsClassName,
4925
+ ...props,
4946
4926
  children: [
4947
- /* @__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 }),
4948
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: [
4949
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspace_default.userName, children: "Kepler " }),
4950
- /* @__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
+ ] })
4951
4937
  ] }) })
4952
4938
  ]
4953
4939
  }
@@ -4980,6 +4966,7 @@ var ScTabComp = ({
4980
4966
  "div",
4981
4967
  {
4982
4968
  className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
4969
+ ...props,
4983
4970
  children: [
4984
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 }) }),
4985
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: [
@@ -5014,6 +5001,7 @@ var ScTabSwitcher = ({
5014
5001
  "div",
5015
5002
  {
5016
5003
  className: ScTabSwitcher_default.scTabSwitcher + " " + className + " " + variantsClassName,
5004
+ ...props,
5017
5005
  children: [
5018
5006
  component ? component : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5019
5007
  ScTabComp,
@@ -5062,7 +5050,7 @@ var ScProfileOptions = ({
5062
5050
  className,
5063
5051
  ...props
5064
5052
  }) => {
5065
- 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: [
5066
5054
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: ScProfileOptions_default.profileHeader, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ScProfile, { className: ScProfileOptions_default.scProfileInstance }) }),
5067
5055
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance }),
5068
5056
  /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: ScProfileOptions_default.profileDetails, children: [
@@ -5227,10 +5215,14 @@ var ScTextField = ({
5227
5215
  ] }),
5228
5216
  /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.inputContainer, children: [
5229
5217
  (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: tfLeftIcon }),
5230
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.inputText, children: [
5231
- placeholderFilled,
5232
- " "
5233
- ] }),
5218
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
5219
+ "input",
5220
+ {
5221
+ className: ScTextField_default.inputText,
5222
+ placeholder: placeholderFilled,
5223
+ ...props
5224
+ }
5225
+ ),
5234
5226
  (tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: tfRightIcon })
5235
5227
  ] })
5236
5228
  ]
@@ -5241,9 +5233,13 @@ var ScTextField = ({
5241
5233
  // src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
5242
5234
  var import_jsx_runtime78 = __toESM(require_jsx_runtime());
5243
5235
  var ScProfileSettingsComp = ({
5244
- className
5236
+ firstName = "Chris",
5237
+ lastName = "Hemsworth",
5238
+ email = "chris@kepler.com",
5239
+ className,
5240
+ ...props
5245
5241
  }) => {
5246
- 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: [
5247
5243
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
5248
5244
  ScProfileImageUpdate,
5249
5245
  {
@@ -5257,7 +5253,7 @@ var ScProfileSettingsComp = ({
5257
5253
  {
5258
5254
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5259
5255
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5260
- placeholderFilled: "Chris",
5256
+ placeholderFilled: firstName,
5261
5257
  label: "First Name",
5262
5258
  state: "filled",
5263
5259
  tfGroup: "none",
@@ -5269,7 +5265,7 @@ var ScProfileSettingsComp = ({
5269
5265
  {
5270
5266
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5271
5267
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5272
- placeholderFilled: "Hemsworth",
5268
+ placeholderFilled: lastName,
5273
5269
  label: "Last Name",
5274
5270
  state: "filled",
5275
5271
  tfGroup: "none",
@@ -5282,7 +5278,7 @@ var ScProfileSettingsComp = ({
5282
5278
  {
5283
5279
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5284
5280
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_lock_default, { className: ScProfileSettingsComp_default.siconLockInstance }),
5285
- placeholderFilled: "chris@kepler.com",
5281
+ placeholderFilled: email,
5286
5282
  label: "Email ID",
5287
5283
  className: ScProfileSettingsComp_default.scTextFieldInstance2
5288
5284
  }
@@ -5302,11 +5298,23 @@ var ScRole_default = {
5302
5298
  var import_jsx_runtime79 = __toESM(require_jsx_runtime());
5303
5299
  var ScRole = ({
5304
5300
  type = "admin",
5301
+ label,
5305
5302
  className,
5306
5303
  ...props
5307
5304
  }) => {
5308
5305
  const variantsClassName = ScRole_default["type-" + type];
5309
- 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
+ );
5310
5318
  };
5311
5319
 
5312
5320
  // src/SC-Sidebar/ScSidebar.module.css
@@ -5351,7 +5359,7 @@ var import_jsx_runtime80 = __toESM(require_jsx_runtime());
5351
5359
  var ScSidebarMenu = ({
5352
5360
  icon = /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(sicon_Home_default, { className: ScSidebarMenu_default.siconHomeInstance }),
5353
5361
  state = "default",
5354
- variant = "explanded",
5362
+ variant = "expanded",
5355
5363
  className,
5356
5364
  text = "Menu Item",
5357
5365
  ...props
@@ -5361,9 +5369,10 @@ var ScSidebarMenu = ({
5361
5369
  "div",
5362
5370
  {
5363
5371
  className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
5372
+ ...props,
5364
5373
  children: [
5365
5374
  icon,
5366
- 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: [
5375
+ variant === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_jsx_runtime80.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: ScSidebarMenu_default.content, children: [
5367
5376
  text,
5368
5377
  " "
5369
5378
  ] }) })
@@ -5393,6 +5402,7 @@ var ScSidebarProfile = ({
5393
5402
  "div",
5394
5403
  {
5395
5404
  className: ScSidebarProfile_default.scSidebarProfile + " " + className + " " + variantsClassName,
5405
+ ...props,
5396
5406
  children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ScProfile, { className: ScSidebarProfile_default.scProfileInstance })
5397
5407
  }
5398
5408
  );
@@ -5435,6 +5445,7 @@ var ScVersion_default = {
5435
5445
  var import_jsx_runtime83 = __toESM(require_jsx_runtime());
5436
5446
  var ScVersion = ({
5437
5447
  state = "expanded",
5448
+ version = "v2.1.2",
5438
5449
  scSidebarIconsinstance,
5439
5450
  component,
5440
5451
  className,
@@ -5445,6 +5456,7 @@ var ScVersion = ({
5445
5456
  "div",
5446
5457
  {
5447
5458
  className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
5459
+ ...props,
5448
5460
  children: [
5449
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)(
5450
5462
  ScSidebarIcons,
@@ -5453,7 +5465,10 @@ var ScVersion = ({
5453
5465
  className: ScVersion_default.scSidebarIconsInstance
5454
5466
  }
5455
5467
  ) }) }),
5456
- /* @__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
+ ] }),
5457
5472
  state === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5458
5473
  ScSidebarIcons,
5459
5474
  {
@@ -5472,6 +5487,7 @@ var import_jsx_runtime84 = __toESM(require_jsx_runtime());
5472
5487
  var ScSidebar = ({
5473
5488
  state = "expanded",
5474
5489
  className,
5490
+ onToggle,
5475
5491
  ...props
5476
5492
  }) => {
5477
5493
  const variantsClassName = ScSidebar_default["state-" + state];
@@ -5770,9 +5786,10 @@ var ScSlider_default = {
5770
5786
  var import_jsx_runtime85 = __toESM(require_jsx_runtime());
5771
5787
  var ScSlider = ({
5772
5788
  className,
5789
+ onValueChange,
5773
5790
  ...props
5774
5791
  }) => {
5775
- 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: [
5776
5793
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressBar }),
5777
5794
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressDot }),
5778
5795
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressBar2 }),
@@ -5804,7 +5821,7 @@ var ScAppListingCard = ({
5804
5821
  className,
5805
5822
  ...props
5806
5823
  }) => {
5807
- 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: [
5808
5825
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.header, children: [
5809
5826
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
5810
5827
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.title, children: [
@@ -5837,7 +5854,7 @@ var ScAppCard = ({
5837
5854
  className,
5838
5855
  ...props
5839
5856
  }) => {
5840
- 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: [
5841
5858
  /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
5842
5859
  /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
5843
5860
  /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.title, children: [
@@ -5887,38 +5904,44 @@ var ScToggleSwitch = ({
5887
5904
  ...props
5888
5905
  }) => {
5889
5906
  const variantsClassName = ScToggleSwitch_default["active-" + active];
5890
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5891
- "svg",
5907
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5908
+ "div",
5892
5909
  {
5893
5910
  className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
5894
- width: "41",
5895
- height: "25",
5896
- viewBox: "0 0 41 25",
5897
- fill: "none",
5898
- xmlns: "http://www.w3.org/2000/svg",
5899
- children: [
5900
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5901
- "path",
5902
- {
5903
- 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",
5904
- fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
5905
- }
5906
- ),
5907
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5908
- "path",
5909
- {
5910
- 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",
5911
- fill: "var(--alias-border-divider, #242424)"
5912
- }
5913
- ),
5914
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5915
- "path",
5916
- {
5917
- 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",
5918
- fill: "var(--alias-fill-neutral-neutralactive, #313131)"
5919
- }
5920
- )
5921
- ]
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
+ )
5922
5945
  }
5923
5946
  );
5924
5947
  };
@@ -5927,6 +5950,9 @@ var ScToggleSwitch = ({
5927
5950
  var import_jsx_runtime89 = __toESM(require_jsx_runtime());
5928
5951
  var ScArtifaxInvite = ({
5929
5952
  active = "true",
5953
+ appName = "Artifax",
5954
+ appDescription = "Info about artifax",
5955
+ appIcon,
5930
5956
  className,
5931
5957
  ...props
5932
5958
  }) => {
@@ -5935,11 +5961,14 @@ var ScArtifaxInvite = ({
5935
5961
  "div",
5936
5962
  {
5937
5963
  className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
5964
+ ...props,
5938
5965
  children: [
5939
5966
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
5940
5967
  ScAppCard,
5941
5968
  {
5942
- 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,
5943
5972
  className: ScArtifaxInvite_default.scAppCardInstance
5944
5973
  }
5945
5974
  ),
@@ -6045,6 +6074,7 @@ var ScOnlyField = ({
6045
6074
  "div",
6046
6075
  {
6047
6076
  className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
6077
+ ...props,
6048
6078
  children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
6049
6079
  (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_jsx_runtime91.Fragment, { children: tfLeftIcon }),
6050
6080
  /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScOnlyField_default.inputText, children: [
@@ -6061,6 +6091,12 @@ var ScOnlyField = ({
6061
6091
  var import_jsx_runtime92 = __toESM(require_jsx_runtime());
6062
6092
  var ScCatalogixInvite = ({
6063
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,
6064
6100
  className,
6065
6101
  ...props
6066
6102
  }) => {
@@ -6069,14 +6105,15 @@ var ScCatalogixInvite = ({
6069
6105
  "div",
6070
6106
  {
6071
6107
  className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
6108
+ ...props,
6072
6109
  children: [
6073
6110
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
6074
6111
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6075
6112
  ScAppCard,
6076
6113
  {
6077
- appIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
6078
- appDescription: "Info about catalogix",
6079
- appName: "Catalogix",
6114
+ appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
6115
+ appDescription,
6116
+ appName,
6080
6117
  className: ScCatalogixInvite_default.scAppCardInstance
6081
6118
  }
6082
6119
  ),
@@ -6090,15 +6127,21 @@ var ScCatalogixInvite = ({
6090
6127
  ] }),
6091
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: [
6092
6129
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
6093
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: "Store access " }),
6094
- /* @__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
+ ] })
6095
6138
  ] }),
6096
6139
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6097
6140
  ScOnlyField,
6098
6141
  {
6099
6142
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
6100
6143
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
6101
- placeholderFilled: "Search stores...",
6144
+ placeholderFilled: searchPlaceholder,
6102
6145
  className: ScCatalogixInvite_default.scOnlyFieldInstance
6103
6146
  }
6104
6147
  ),
@@ -6158,11 +6201,15 @@ var ScCatalogixInvite = ({
6158
6201
  // src/SC-appField/ScAppField.tsx
6159
6202
  var import_jsx_runtime93 = __toESM(require_jsx_runtime());
6160
6203
  var ScAppField = ({
6204
+ appFieldTitle = "App permission",
6161
6205
  className,
6162
6206
  ...props
6163
6207
  }) => {
6164
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, children: [
6165
- /* @__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
+ ] }) }),
6166
6213
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
6167
6214
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6168
6215
  ScArtifaxInvite,
@@ -6256,7 +6303,7 @@ var ScCheckField = ({
6256
6303
  className,
6257
6304
  ...props
6258
6305
  }) => {
6259
- 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: [
6260
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: [
6261
6308
  label,
6262
6309
  " "
@@ -6307,6 +6354,7 @@ var ScFieldButton = ({
6307
6354
  "div",
6308
6355
  {
6309
6356
  className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
6357
+ ...props,
6310
6358
  children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScFieldButton_default.container, children: [
6311
6359
  (type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: icon }),
6312
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: [
@@ -6332,7 +6380,7 @@ var ScPendingAction = ({
6332
6380
  className,
6333
6381
  ...props
6334
6382
  }) => {
6335
- 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: [
6336
6384
  /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6337
6385
  ScButton,
6338
6386
  {
@@ -6373,17 +6421,27 @@ var ScQuickPrompt_default = {
6373
6421
  // src/SC-quick prompt/ScQuickPrompt.tsx
6374
6422
  var import_jsx_runtime98 = __toESM(require_jsx_runtime());
6375
6423
  var ScQuickPrompt = ({
6376
- 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
6377
6429
  }) => {
6378
- 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: [
6379
6431
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
6380
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 }) }),
6381
- /* @__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
+ ] }) })
6382
6437
  ] }),
6383
6438
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
6384
- /* @__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
+ ] }),
6385
6443
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
6386
- "Replace the current model and background with new ones that match my brand's aesthetic and tone.",
6444
+ description,
6387
6445
  " "
6388
6446
  ] })
6389
6447
  ] })
@@ -6452,20 +6510,32 @@ var ScReferralTableList_default = {
6452
6510
  // src/SC-referralTableList/ScReferralTableList.tsx
6453
6511
  var import_jsx_runtime100 = __toESM(require_jsx_runtime());
6454
6512
  var ScReferralTableList = ({
6513
+ userEmail = "chris@kepler.com",
6514
+ userName,
6515
+ date = "Nov 9th, 2025",
6516
+ status = "Confirmed",
6517
+ points = "+ 500",
6455
6518
  className,
6456
6519
  ...props
6457
6520
  }) => {
6458
- 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: [
6459
6522
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
6460
6523
  ScProfile,
6461
6524
  {
6462
- subText: "chris@kepler.com",
6525
+ subText: userEmail,
6526
+ name: userName,
6463
6527
  className: ScReferralTableList_default.scProfileInstance
6464
6528
  }
6465
6529
  ),
6466
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScReferralTableList_default.date, children: "Nov 9th, 2025 " }),
6467
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ScBadges, { text: "Confirmed", className: ScReferralTableList_default.scBadgesInstance }),
6468
- /* @__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
+ ] })
6469
6539
  ] });
6470
6540
  };
6471
6541
 
@@ -6481,7 +6551,7 @@ var ScSettingsNav = ({
6481
6551
  className,
6482
6552
  ...props
6483
6553
  }) => {
6484
- 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: [
6485
6555
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
6486
6556
  ScSidebarMenu,
6487
6557
  {
@@ -6634,9 +6704,11 @@ var import_jsx_runtime104 = __toESM(require_jsx_runtime());
6634
6704
  var ScTableList = ({
6635
6705
  invitedBy = "Rohan",
6636
6706
  signedOn = "Nov 9th, 2025",
6707
+ userEmail = "chris@kepler.com",
6637
6708
  hover = "false",
6638
6709
  variant = "active",
6639
6710
  className,
6711
+ onRowClick,
6640
6712
  ...props
6641
6713
  }) => {
6642
6714
  const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
@@ -6644,11 +6716,13 @@ var ScTableList = ({
6644
6716
  "div",
6645
6717
  {
6646
6718
  className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
6719
+ onClick: (e) => onRowClick && onRowClick(invitedBy, e),
6720
+ ...props,
6647
6721
  children: [
6648
6722
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
6649
6723
  ScProfile,
6650
6724
  {
6651
- subText: "chris@kepler.com",
6725
+ subText: userEmail,
6652
6726
  className: ScTableList_default.scProfileInstance
6653
6727
  }
6654
6728
  ),
@@ -6713,9 +6787,15 @@ var ScWorkspaceCard_default = {
6713
6787
  // src/SC-workspaceCard/ScWorkspaceCard.tsx
6714
6788
  var import_jsx_runtime105 = __toESM(require_jsx_runtime());
6715
6789
  var ScWorkspaceCard = ({
6716
- className
6790
+ workspaceName = "Stores",
6791
+ role = "Admin",
6792
+ userCount = "12 Users",
6793
+ ownerEmail = "rohan@streamoid.com",
6794
+ buttonText = "Current workspace",
6795
+ className,
6796
+ ...props
6717
6797
  }) => {
6718
- 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: [
6719
6799
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
6720
6800
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6721
6801
  ScIntialProfileCover,
@@ -6723,13 +6803,16 @@ var ScWorkspaceCard = ({
6723
6803
  className: ScWorkspaceCard_default.scIntialProfileCoverInstance
6724
6804
  }
6725
6805
  ),
6726
- /* @__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
+ ] })
6727
6810
  ] }),
6728
6811
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
6729
6812
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6730
6813
  ScBadges,
6731
6814
  {
6732
- text: "Admin",
6815
+ text: role,
6733
6816
  variant: "info",
6734
6817
  className: ScWorkspaceCard_default.scBadgesInstance
6735
6818
  }
@@ -6739,7 +6822,7 @@ var ScWorkspaceCard = ({
6739
6822
  ScPairtext,
6740
6823
  {
6741
6824
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_team_default, { className: ScWorkspaceCard_default.siconTeamInstance }),
6742
- content: "12 Users",
6825
+ content: userCount,
6743
6826
  className: ScWorkspaceCard_default.scPairtextInstance
6744
6827
  }
6745
6828
  ),
@@ -6748,7 +6831,7 @@ var ScWorkspaceCard = ({
6748
6831
  ScPairtext,
6749
6832
  {
6750
6833
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_Crown_default, { className: ScWorkspaceCard_default.siconCrownInstance }),
6751
- content: "rohan@streamoid.com",
6834
+ content: ownerEmail,
6752
6835
  className: ScWorkspaceCard_default.scPairtextInstance
6753
6836
  }
6754
6837
  )
@@ -6758,7 +6841,7 @@ var ScWorkspaceCard = ({
6758
6841
  ScButton,
6759
6842
  {
6760
6843
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_switch_default, { className: ScWorkspaceCard_default.siconSwitchInstance }),
6761
- text: "Current workspace",
6844
+ text: buttonText,
6762
6845
  state: "disabled",
6763
6846
  variant: "outline",
6764
6847
  className: ScWorkspaceCard_default.scButtonInstance