@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.js CHANGED
@@ -2799,11 +2799,11 @@ var require_react_jsx_runtime_development = __commonJS({
2799
2799
  return jsxWithValidation(type, props, key, false);
2800
2800
  }
2801
2801
  }
2802
- var jsx106 = jsxWithValidationDynamic;
2803
- var jsxs56 = jsxWithValidationStatic;
2802
+ var jsx105 = jsxWithValidationDynamic;
2803
+ var jsxs57 = jsxWithValidationStatic;
2804
2804
  exports.Fragment = REACT_FRAGMENT_TYPE;
2805
- exports.jsx = jsx106;
2806
- exports.jsxs = jsxs56;
2805
+ exports.jsx = jsx105;
2806
+ exports.jsxs = jsxs57;
2807
2807
  })();
2808
2808
  }
2809
2809
  }
@@ -3597,6 +3597,7 @@ var ScHeader = ({
3597
3597
  "div",
3598
3598
  {
3599
3599
  className: ScHeader_default.scHeader + " " + className + " " + variantsClassName,
3600
+ ...props,
3600
3601
  children: [
3601
3602
  /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: ScHeader_default.headerText, children: [
3602
3603
  text,
@@ -3682,15 +3683,35 @@ var ScBillingLogsTableList_default = {
3682
3683
  // src/SC-Billing logs table list/ScBillingLogsTableList.tsx
3683
3684
  var import_jsx_runtime51 = __toESM(require_jsx_runtime());
3684
3685
  var ScBillingLogsTableList = ({
3686
+ activity = "Artifax Generation",
3687
+ usedBy = "Rohan",
3688
+ date = "Nov 9th, 2025",
3689
+ creditsUsed = "50",
3690
+ balance = "84,902",
3685
3691
  className,
3686
3692
  ...props
3687
3693
  }) => {
3688
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.scBillingLogsTableList + " " + className, children: [
3689
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.customerName, children: "Artifax Generation " }),
3690
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.userName, children: "Rohan " }),
3691
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.date, children: "Nov 9th, 2025 " }),
3692
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.usage, children: "50 " }),
3693
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: ScBillingLogsTableList_default.cost, children: "84,902 " })
3694
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.scBillingLogsTableList + " " + className, ...props, children: [
3695
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.customerName, children: [
3696
+ activity,
3697
+ " "
3698
+ ] }),
3699
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.userName, children: [
3700
+ usedBy,
3701
+ " "
3702
+ ] }),
3703
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.date, children: [
3704
+ date,
3705
+ " "
3706
+ ] }),
3707
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.usage, children: [
3708
+ creditsUsed,
3709
+ " "
3710
+ ] }),
3711
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: ScBillingLogsTableList_default.cost, children: [
3712
+ balance,
3713
+ " "
3714
+ ] })
3694
3715
  ] });
3695
3716
  };
3696
3717
 
@@ -3730,19 +3751,25 @@ var ScRadio = ({
3730
3751
  }) => {
3731
3752
  const variantsClassName = ScRadio_default["state-" + state];
3732
3753
  return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3733
- "svg",
3754
+ "div",
3734
3755
  {
3735
3756
  className: ScRadio_default.scRadio + " " + className + " " + variantsClassName,
3736
- width: "24",
3737
- height: "24",
3738
- viewBox: "0 0 24 24",
3739
- fill: "none",
3740
- xmlns: "http://www.w3.org/2000/svg",
3757
+ ...props,
3741
3758
  children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3742
- "path",
3759
+ "svg",
3743
3760
  {
3744
- 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",
3745
- fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3761
+ width: "24",
3762
+ height: "24",
3763
+ viewBox: "0 0 24 24",
3764
+ fill: "none",
3765
+ xmlns: "http://www.w3.org/2000/svg",
3766
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
3767
+ "path",
3768
+ {
3769
+ 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",
3770
+ fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3771
+ }
3772
+ )
3746
3773
  }
3747
3774
  )
3748
3775
  }
@@ -3767,19 +3794,25 @@ var ScCheckbox = ({
3767
3794
  }) => {
3768
3795
  const variantsClassName = ScCheckbox_default["state-" + state];
3769
3796
  return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3770
- "svg",
3797
+ "div",
3771
3798
  {
3772
3799
  className: ScCheckbox_default.scCheckbox + " " + className + " " + variantsClassName,
3773
- width: "24",
3774
- height: "24",
3775
- viewBox: "0 0 24 24",
3776
- fill: "none",
3777
- xmlns: "http://www.w3.org/2000/svg",
3800
+ ...props,
3778
3801
  children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3779
- "path",
3802
+ "svg",
3780
3803
  {
3781
- 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",
3782
- fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3804
+ width: "24",
3805
+ height: "24",
3806
+ viewBox: "0 0 24 24",
3807
+ fill: "none",
3808
+ xmlns: "http://www.w3.org/2000/svg",
3809
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3810
+ "path",
3811
+ {
3812
+ 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",
3813
+ fill: "var(--alias-text-and-icons-muted, #7a7a7a)"
3814
+ }
3815
+ )
3783
3816
  }
3784
3817
  )
3785
3818
  }
@@ -3827,22 +3860,44 @@ var ScPairtext = ({
3827
3860
  // src/SC-BillingHistoryTableList/ScBillingHistoryTableList.tsx
3828
3861
  var import_jsx_runtime55 = __toESM(require_jsx_runtime());
3829
3862
  var ScBillingHistoryTableList = ({
3863
+ invoiceNumber = "# INV-2800-2026",
3864
+ amount = "$320.89",
3865
+ date = "Nov 9th, 2025",
3866
+ downloadLabel = "Download invoice",
3830
3867
  className,
3868
+ onRowClick,
3831
3869
  ...props
3832
3870
  }) => {
3833
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.scBillingHistoryTableList + " " + className, children: [
3834
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: ScBillingHistoryTableList_default.invoiceNumber, children: "# INV-2800-2026 " }),
3835
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: ScBillingHistoryTableList_default.amount, children: "$320.89 " }),
3836
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: ScBillingHistoryTableList_default.date, children: "Nov 9th, 2025 " }),
3837
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3838
- ScPairtext,
3839
- {
3840
- icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(sicon_download_default, { className: ScBillingHistoryTableList_default.siconDownloadInstance }),
3841
- content: "Download invoice",
3842
- className: ScBillingHistoryTableList_default.scPairtextInstance
3843
- }
3844
- )
3845
- ] });
3871
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
3872
+ "div",
3873
+ {
3874
+ className: ScBillingHistoryTableList_default.scBillingHistoryTableList + " " + className,
3875
+ onClick: onRowClick,
3876
+ ...props,
3877
+ children: [
3878
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.invoiceNumber, children: [
3879
+ invoiceNumber,
3880
+ " "
3881
+ ] }),
3882
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.amount, children: [
3883
+ amount,
3884
+ " "
3885
+ ] }),
3886
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: ScBillingHistoryTableList_default.date, children: [
3887
+ date,
3888
+ " "
3889
+ ] }),
3890
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3891
+ ScPairtext,
3892
+ {
3893
+ icon: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(sicon_download_default, { className: ScBillingHistoryTableList_default.siconDownloadInstance }),
3894
+ content: downloadLabel,
3895
+ className: ScBillingHistoryTableList_default.scPairtextInstance
3896
+ }
3897
+ )
3898
+ ]
3899
+ }
3900
+ );
3846
3901
  };
3847
3902
 
3848
3903
  // src/SC-Button/ScButton.module.css
@@ -4005,6 +4060,7 @@ var ScCalendarDateComps = ({
4005
4060
  "div",
4006
4061
  {
4007
4062
  className: ScCalendarDateComps_default.scCalendarDateComps + " " + className + " " + variantsClassName,
4063
+ ...props,
4008
4064
  children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: ScCalendarDateComps_default.date, children: [
4009
4065
  date,
4010
4066
  " "
@@ -4015,240 +4071,112 @@ var ScCalendarDateComps = ({
4015
4071
 
4016
4072
  // src/SC-Calendar/ScCalendar.tsx
4017
4073
  var import_jsx_runtime59 = __toESM(require_jsx_runtime());
4074
+ var MONTH_NAMES = [
4075
+ "January",
4076
+ "February",
4077
+ "March",
4078
+ "April",
4079
+ "May",
4080
+ "June",
4081
+ "July",
4082
+ "August",
4083
+ "September",
4084
+ "October",
4085
+ "November",
4086
+ "December"
4087
+ ];
4018
4088
  var ScCalendar = ({
4019
4089
  className,
4090
+ month,
4091
+ year,
4092
+ selectedDate,
4093
+ onDateSelect,
4094
+ onMonthChange,
4020
4095
  ...props
4021
4096
  }) => {
4022
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.scCalendar + " " + className, children: [
4097
+ const today = /* @__PURE__ */ new Date();
4098
+ const currentMonth = month !== void 0 ? month : today.getMonth();
4099
+ const currentYear = year !== void 0 ? year : today.getFullYear();
4100
+ const firstDayOfMonth = new Date(currentYear, currentMonth, 1).getDay();
4101
+ const daysInMonth = new Date(currentYear, currentMonth + 1, 0).getDate();
4102
+ const totalCells = Math.ceil((firstDayOfMonth + daysInMonth) / 7) * 7;
4103
+ const handlePrevMonth = () => {
4104
+ const newMonth = currentMonth === 0 ? 11 : currentMonth - 1;
4105
+ const newYear = currentMonth === 0 ? currentYear - 1 : currentYear;
4106
+ onMonthChange?.(newMonth, newYear);
4107
+ };
4108
+ const handleNextMonth = () => {
4109
+ const newMonth = currentMonth === 11 ? 0 : currentMonth + 1;
4110
+ const newYear = currentMonth === 11 ? currentYear + 1 : currentYear;
4111
+ onMonthChange?.(newMonth, newYear);
4112
+ };
4113
+ const getDateState = (dayIndex) => {
4114
+ if (dayIndex < firstDayOfMonth || dayIndex >= firstDayOfMonth + daysInMonth) {
4115
+ return "empty";
4116
+ }
4117
+ const dayNumber = dayIndex - firstDayOfMonth + 1;
4118
+ const cellDate = new Date(currentYear, currentMonth, dayNumber);
4119
+ if (today.getDate() === dayNumber && today.getMonth() === currentMonth && today.getFullYear() === currentYear) {
4120
+ return "today";
4121
+ }
4122
+ if (selectedDate) {
4123
+ const sel = selectedDate;
4124
+ if (sel.getDate() === dayNumber && sel.getMonth() === currentMonth && sel.getFullYear() === currentYear) {
4125
+ return "range-start";
4126
+ }
4127
+ }
4128
+ return "default";
4129
+ };
4130
+ const getDayNumber = (dayIndex) => {
4131
+ if (dayIndex < firstDayOfMonth || dayIndex >= firstDayOfMonth + daysInMonth) {
4132
+ return "";
4133
+ }
4134
+ return String(dayIndex - firstDayOfMonth + 1);
4135
+ };
4136
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.scCalendar + " " + className, ...props, children: [
4023
4137
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.header, children: [
4024
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: ScCalendar_default.monthYear, children: "February 2026 " }),
4138
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.monthYear, children: [
4139
+ MONTH_NAMES[currentMonth],
4140
+ " ",
4141
+ currentYear
4142
+ ] }),
4025
4143
  /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.navigation, children: [
4026
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(sicon_left_default, { className: ScCalendar_default.siconLeftInstance }),
4027
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(sicon_right_default, { className: ScCalendar_default.siconRightInstance })
4144
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4145
+ sicon_left_default,
4146
+ {
4147
+ className: ScCalendar_default.siconLeftInstance,
4148
+ onClick: handlePrevMonth,
4149
+ style: { cursor: "pointer" }
4150
+ }
4151
+ ),
4152
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4153
+ sicon_right_default,
4154
+ {
4155
+ className: ScCalendar_default.siconRightInstance,
4156
+ onClick: handleNextMonth,
4157
+ style: { cursor: "pointer" }
4158
+ }
4159
+ )
4028
4160
  ] })
4029
4161
  ] }),
4030
4162
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ScHDivider, { className: ScCalendar_default.scHDividerInstance }),
4031
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: ScCalendar_default.calendarGrid, children: [
4032
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4033
- ScCalendarDateComps,
4034
- {
4035
- state: "empty",
4036
- className: ScCalendar_default.scCalendarDateCompsInstance
4037
- }
4038
- ),
4039
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4040
- ScCalendarDateComps,
4041
- {
4042
- state: "empty",
4043
- className: ScCalendar_default.scCalendarDateCompsInstance2
4044
- }
4045
- ),
4046
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4047
- ScCalendarDateComps,
4048
- {
4049
- className: ScCalendar_default.scCalendarDateCompsInstance3
4050
- }
4051
- ),
4052
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4053
- ScCalendarDateComps,
4054
- {
4055
- state: "today",
4056
- className: ScCalendar_default.scCalendarDateCompsInstance4
4057
- }
4058
- ),
4059
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4060
- ScCalendarDateComps,
4061
- {
4062
- state: "hover",
4063
- className: ScCalendar_default.scCalendarDateCompsInstance5
4064
- }
4065
- ),
4066
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4067
- ScCalendarDateComps,
4068
- {
4069
- className: ScCalendar_default.scCalendarDateCompsInstance6
4070
- }
4071
- ),
4072
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4073
- ScCalendarDateComps,
4074
- {
4075
- className: ScCalendar_default.scCalendarDateCompsInstance7
4076
- }
4077
- ),
4078
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4079
- ScCalendarDateComps,
4080
- {
4081
- state: "range-end",
4082
- className: ScCalendar_default.scCalendarDateCompsInstance8
4083
- }
4084
- ),
4085
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4086
- ScCalendarDateComps,
4087
- {
4088
- className: ScCalendar_default.scCalendarDateCompsInstance9
4089
- }
4090
- ),
4091
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4092
- ScCalendarDateComps,
4093
- {
4094
- className: ScCalendar_default.scCalendarDateCompsInstance10
4095
- }
4096
- ),
4097
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4098
- ScCalendarDateComps,
4099
- {
4100
- className: ScCalendar_default.scCalendarDateCompsInstance11
4101
- }
4102
- ),
4103
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4104
- ScCalendarDateComps,
4105
- {
4106
- className: ScCalendar_default.scCalendarDateCompsInstance12
4107
- }
4108
- ),
4109
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4110
- ScCalendarDateComps,
4111
- {
4112
- className: ScCalendar_default.scCalendarDateCompsInstance13
4113
- }
4114
- ),
4115
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4116
- ScCalendarDateComps,
4117
- {
4118
- state: "range-start",
4119
- className: ScCalendar_default.scCalendarDateCompsInstance14
4120
- }
4121
- ),
4122
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4123
- ScCalendarDateComps,
4124
- {
4125
- className: ScCalendar_default.scCalendarDateCompsInstance15
4126
- }
4127
- ),
4128
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4129
- ScCalendarDateComps,
4130
- {
4131
- className: ScCalendar_default.scCalendarDateCompsInstance16
4132
- }
4133
- ),
4134
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4135
- ScCalendarDateComps,
4136
- {
4137
- className: ScCalendar_default.scCalendarDateCompsInstance17
4138
- }
4139
- ),
4140
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4141
- ScCalendarDateComps,
4142
- {
4143
- className: ScCalendar_default.scCalendarDateCompsInstance18
4144
- }
4145
- ),
4146
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4147
- ScCalendarDateComps,
4148
- {
4149
- className: ScCalendar_default.scCalendarDateCompsInstance19
4150
- }
4151
- ),
4152
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4153
- ScCalendarDateComps,
4154
- {
4155
- className: ScCalendar_default.scCalendarDateCompsInstance20
4156
- }
4157
- ),
4158
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4159
- ScCalendarDateComps,
4160
- {
4161
- state: "range",
4162
- className: ScCalendar_default.scCalendarDateCompsInstance21
4163
- }
4164
- ),
4165
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4166
- ScCalendarDateComps,
4167
- {
4168
- className: ScCalendar_default.scCalendarDateCompsInstance22
4169
- }
4170
- ),
4171
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4172
- ScCalendarDateComps,
4173
- {
4174
- className: ScCalendar_default.scCalendarDateCompsInstance23
4175
- }
4176
- ),
4177
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4178
- ScCalendarDateComps,
4179
- {
4180
- state: "range",
4181
- className: ScCalendar_default.scCalendarDateCompsInstance24
4182
- }
4183
- ),
4184
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4185
- ScCalendarDateComps,
4186
- {
4187
- className: ScCalendar_default.scCalendarDateCompsInstance25
4188
- }
4189
- ),
4190
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4191
- ScCalendarDateComps,
4192
- {
4193
- state: "range",
4194
- className: ScCalendar_default.scCalendarDateCompsInstance26
4195
- }
4196
- ),
4197
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4198
- ScCalendarDateComps,
4199
- {
4200
- className: ScCalendar_default.scCalendarDateCompsInstance27
4201
- }
4202
- ),
4203
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4204
- ScCalendarDateComps,
4205
- {
4206
- className: ScCalendar_default.scCalendarDateCompsInstance28
4207
- }
4208
- ),
4209
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4210
- ScCalendarDateComps,
4211
- {
4212
- className: ScCalendar_default.scCalendarDateCompsInstance29
4213
- }
4214
- ),
4215
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4216
- ScCalendarDateComps,
4217
- {
4218
- className: ScCalendar_default.scCalendarDateCompsInstance30
4219
- }
4220
- ),
4221
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4222
- ScCalendarDateComps,
4223
- {
4224
- className: ScCalendar_default.scCalendarDateCompsInstance31
4225
- }
4226
- ),
4227
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4228
- ScCalendarDateComps,
4229
- {
4230
- className: ScCalendar_default.scCalendarDateCompsInstance32
4231
- }
4232
- ),
4233
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4234
- ScCalendarDateComps,
4235
- {
4236
- className: ScCalendar_default.scCalendarDateCompsInstance33
4237
- }
4238
- ),
4239
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4240
- ScCalendarDateComps,
4241
- {
4242
- className: ScCalendar_default.scCalendarDateCompsInstance34
4243
- }
4244
- ),
4245
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4163
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: ScCalendar_default.calendarGrid, children: Array.from({ length: totalCells }, (_, i) => {
4164
+ const state = getDateState(i);
4165
+ const dayNumber = getDayNumber(i);
4166
+ const dayNum = dayNumber ? parseInt(dayNumber, 10) : null;
4167
+ const cellDate = dayNum !== null ? new Date(currentYear, currentMonth, dayNum) : null;
4168
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4246
4169
  ScCalendarDateComps,
4247
4170
  {
4248
- className: ScCalendar_default.scCalendarDateCompsInstance35
4249
- }
4250
- )
4251
- ] })
4171
+ date: dayNumber || "",
4172
+ state,
4173
+ className: ScCalendar_default.scCalendarDateCompsInstance,
4174
+ onClick: cellDate && state !== "empty" ? () => onDateSelect?.(cellDate) : void 0,
4175
+ style: cellDate && state !== "empty" ? { cursor: "pointer" } : void 0
4176
+ },
4177
+ i
4178
+ );
4179
+ }) })
4252
4180
  ] });
4253
4181
  };
4254
4182
 
@@ -4274,39 +4202,64 @@ var ScProgressBar_default = {
4274
4202
  // src/SC-Progress bar/ScProgressBar.tsx
4275
4203
  var import_jsx_runtime60 = __toESM(require_jsx_runtime());
4276
4204
  var ScProgressBar = ({
4205
+ progress = 50,
4277
4206
  className,
4278
4207
  ...props
4279
4208
  }) => {
4280
- 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 }) });
4209
+ const clampedProgress = Math.min(100, Math.max(0, progress));
4210
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: ScProgressBar_default.scProgressBar + " " + className, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4211
+ "div",
4212
+ {
4213
+ className: ScProgressBar_default.progressFill,
4214
+ style: { width: `${clampedProgress}%` }
4215
+ }
4216
+ ) });
4281
4217
  };
4282
4218
 
4283
4219
  // src/SC-Credits usage card/ScCreditsUsageCard.tsx
4284
4220
  var import_jsx_runtime61 = __toESM(require_jsx_runtime());
4285
4221
  var ScCreditsUsageCard = ({
4222
+ usageLabel = "Credits usage",
4223
+ usageText = "8,450 / 30,000",
4224
+ remainingText = "60% Remaining",
4225
+ buyButtonText = "Buy credits",
4226
+ progress = 60,
4286
4227
  className,
4287
4228
  ...props
4288
4229
  }) => {
4289
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.scCreditsUsageCard + " " + className, children: [
4230
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.scCreditsUsageCard + " " + className, ...props, children: [
4290
4231
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.header, children: [
4291
4232
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4292
4233
  ScPairtext,
4293
4234
  {
4294
4235
  icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(sicon_Coins_default, { className: ScCreditsUsageCard_default.siconCoinsInstance }),
4295
- content: "Credits usage",
4236
+ content: usageLabel,
4296
4237
  className: ScCreditsUsageCard_default.scPairtextInstance
4297
4238
  }
4298
4239
  ),
4299
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: ScCreditsUsageCard_default.usageText, children: "8,450 / 30,000 " })
4240
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.usageText, children: [
4241
+ usageText,
4242
+ " "
4243
+ ] })
4300
4244
  ] }),
4301
4245
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScHDivider, { className: ScCreditsUsageCard_default.scHDividerInstance }),
4302
4246
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.progressContainer, children: [
4303
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ScProgressBar, { className: ScCreditsUsageCard_default.scProgressBarInstance }),
4304
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: ScCreditsUsageCard_default.remainingText, children: "60% Remaining " }),
4247
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4248
+ ScProgressBar,
4249
+ {
4250
+ progress,
4251
+ className: ScCreditsUsageCard_default.scProgressBarInstance
4252
+ }
4253
+ ),
4254
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: ScCreditsUsageCard_default.remainingText, children: [
4255
+ remainingText,
4256
+ " "
4257
+ ] }),
4305
4258
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4306
4259
  ScButton,
4307
4260
  {
4308
4261
  icon: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(sicon_Home_default, { className: ScCreditsUsageCard_default.siconHomeInstance }),
4309
- text: "Buy credits",
4262
+ text: buyButtonText,
4310
4263
  variant: "secondary",
4311
4264
  size: "md",
4312
4265
  className: ScCreditsUsageCard_default.scButtonInstance
@@ -4328,6 +4281,8 @@ var ScGoogleSignIn_default = {
4328
4281
  var import_jsx_runtime62 = __toESM(require_jsx_runtime());
4329
4282
  var ScGoogleSignIn = ({
4330
4283
  hover = "false",
4284
+ googleLogoSrc = "google-logo0.png",
4285
+ signInText = "Sign in with Google",
4331
4286
  className,
4332
4287
  ...props
4333
4288
  }) => {
@@ -4336,9 +4291,13 @@ var ScGoogleSignIn = ({
4336
4291
  "div",
4337
4292
  {
4338
4293
  className: ScGoogleSignIn_default.scGoogleSignIn + " " + className + " " + variantsClassName,
4294
+ ...props,
4339
4295
  children: [
4340
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { className: ScGoogleSignIn_default.googleLogo, src: "google-logo0.png" }),
4341
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: ScGoogleSignIn_default.signInText, children: "Sign in with Google " })
4296
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { className: ScGoogleSignIn_default.googleLogo, src: googleLogoSrc }),
4297
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: ScGoogleSignIn_default.signInText, children: [
4298
+ signInText,
4299
+ " "
4300
+ ] })
4342
4301
  ]
4343
4302
  }
4344
4303
  );
@@ -4559,6 +4518,7 @@ var ScMenuOptions = ({
4559
4518
  "div",
4560
4519
  {
4561
4520
  className: ScMenuOptions_default.scMenuOptions + " " + className + " " + variantsClassName,
4521
+ ...props,
4562
4522
  children: [
4563
4523
  icon,
4564
4524
  /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: ScMenuOptions_default.content, children: [
@@ -4584,13 +4544,15 @@ var ScOnlyIcon_default = {
4584
4544
  var import_jsx_runtime67 = __toESM(require_jsx_runtime());
4585
4545
  var ScOnlyIcon = ({
4586
4546
  variant = "default",
4587
- className
4547
+ className,
4548
+ ...props
4588
4549
  }) => {
4589
4550
  const variantsClassName = ScOnlyIcon_default["variant-" + variant];
4590
4551
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4591
4552
  "div",
4592
4553
  {
4593
4554
  className: ScOnlyIcon_default.scOnlyIcon + " " + className + " " + variantsClassName,
4555
+ ...props,
4594
4556
  children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(sicon_settings_default, { className: ScOnlyIcon_default.siconSettingsInstance })
4595
4557
  }
4596
4558
  );
@@ -4816,23 +4778,28 @@ var ScPlanDetailsCard_default = {
4816
4778
  // src/SC-Plan details card/ScPlanDetailsCard.tsx
4817
4779
  var import_jsx_runtime69 = __toESM(require_jsx_runtime());
4818
4780
  var ScPlanDetailsCard = ({
4781
+ planName = "Free",
4782
+ planPrice = "$0.00 / month",
4783
+ badgeText = "Active",
4784
+ currentPlanLabel = "Current plan",
4785
+ upgradeButtonText = "Upgrade",
4819
4786
  className,
4820
4787
  ...props
4821
4788
  }) => {
4822
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.scPlanDetailsCard + " " + className, children: [
4789
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.scPlanDetailsCard + " " + className, ...props, children: [
4823
4790
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planHeader, children: [
4824
4791
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4825
4792
  ScPairtext,
4826
4793
  {
4827
4794
  icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(sicon_billing_default, { className: ScPlanDetailsCard_default.siconBillingInstance }),
4828
- content: "Current plan",
4795
+ content: currentPlanLabel,
4829
4796
  className: ScPlanDetailsCard_default.scPairtextInstance
4830
4797
  }
4831
4798
  ),
4832
4799
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4833
4800
  ScBadges,
4834
4801
  {
4835
- text: "Active",
4802
+ text: badgeText,
4836
4803
  variant: "success",
4837
4804
  styleVariant: "opaque",
4838
4805
  className: ScPlanDetailsCard_default.scBadgesInstance
@@ -4842,14 +4809,20 @@ var ScPlanDetailsCard = ({
4842
4809
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
4843
4810
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planDetails, children: [
4844
4811
  /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planInfo, children: [
4845
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScPlanDetailsCard_default.planName, children: "Free " }),
4846
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: ScPlanDetailsCard_default.planPrice, children: "$0.00 / month " })
4812
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planName, children: [
4813
+ planName,
4814
+ " "
4815
+ ] }),
4816
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: ScPlanDetailsCard_default.planPrice, children: [
4817
+ planPrice,
4818
+ " "
4819
+ ] })
4847
4820
  ] }),
4848
4821
  /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
4849
4822
  ScButton,
4850
4823
  {
4851
4824
  icon: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(sicon_Home_default, { className: ScPlanDetailsCard_default.siconHomeInstance }),
4852
- text: "Upgrade",
4825
+ text: upgradeButtonText,
4853
4826
  size: "md",
4854
4827
  className: ScPlanDetailsCard_default.scButtonInstance
4855
4828
  }
@@ -4874,6 +4847,7 @@ var ScProfile = ({
4874
4847
  name = "Chris Hemsworth",
4875
4848
  subText = "Kepler workspace",
4876
4849
  collapsed = "false",
4850
+ profileImage = "profile-image0.png",
4877
4851
  className,
4878
4852
  ...props
4879
4853
  }) => {
@@ -4882,8 +4856,9 @@ var ScProfile = ({
4882
4856
  "div",
4883
4857
  {
4884
4858
  className: ScProfile_default.scProfile + " " + className + " " + variantsClassName,
4859
+ ...props,
4885
4860
  children: [
4886
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { className: ScProfile_default.profileImage, src: "profile-image0.png" }),
4861
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { className: ScProfile_default.profileImage, src: profileImage }),
4887
4862
  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: [
4888
4863
  /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: ScProfile_default.userName, children: [
4889
4864
  name,
@@ -4944,9 +4919,10 @@ var ScVDivider = ({
4944
4919
  // src/SC-Profile Image update/ScProfileImageUpdate.tsx
4945
4920
  var import_jsx_runtime72 = __toESM(require_jsx_runtime());
4946
4921
  var ScProfileImageUpdate = ({
4947
- className
4922
+ className,
4923
+ ...props
4948
4924
  }) => {
4949
- 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: [
4925
+ 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: [
4950
4926
  /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
4951
4927
  ScButton,
4952
4928
  {
@@ -5006,6 +4982,9 @@ var ScWorkspace_default = {
5006
4982
  var import_jsx_runtime73 = __toESM(require_jsx_runtime());
5007
4983
  var ScWorkspace = ({
5008
4984
  collapsed = "false",
4985
+ workspaceName = "Kepler",
4986
+ userRole = "Admin",
4987
+ profileImage = "profile-image0.png",
5009
4988
  className,
5010
4989
  ...props
5011
4990
  }) => {
@@ -5014,11 +4993,18 @@ var ScWorkspace = ({
5014
4993
  "div",
5015
4994
  {
5016
4995
  className: ScWorkspace_default.scWorkspace + " " + className + " " + variantsClassName,
4996
+ ...props,
5017
4997
  children: [
5018
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("img", { className: ScWorkspace_default.profileImage, src: "profile-image0.png" }),
4998
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
5019
4999
  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: [
5020
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspace_default.userName, children: "Kepler " }),
5021
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: ScWorkspace_default.userRole, children: "Admin " })
5000
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspace_default.userName, children: [
5001
+ workspaceName,
5002
+ " "
5003
+ ] }),
5004
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: ScWorkspace_default.userRole, children: [
5005
+ userRole,
5006
+ " "
5007
+ ] })
5022
5008
  ] }) })
5023
5009
  ]
5024
5010
  }
@@ -5051,6 +5037,7 @@ var ScTabComp = ({
5051
5037
  "div",
5052
5038
  {
5053
5039
  className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
5040
+ ...props,
5054
5041
  children: [
5055
5042
  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 }) }),
5056
5043
  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: [
@@ -5085,6 +5072,7 @@ var ScTabSwitcher = ({
5085
5072
  "div",
5086
5073
  {
5087
5074
  className: ScTabSwitcher_default.scTabSwitcher + " " + className + " " + variantsClassName,
5075
+ ...props,
5088
5076
  children: [
5089
5077
  component ? component : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5090
5078
  ScTabComp,
@@ -5133,7 +5121,7 @@ var ScProfileOptions = ({
5133
5121
  className,
5134
5122
  ...props
5135
5123
  }) => {
5136
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: ScProfileOptions_default.scProfileOptions + " " + className, children: [
5124
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: ScProfileOptions_default.scProfileOptions + " " + className, ...props, children: [
5137
5125
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: ScProfileOptions_default.profileHeader, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ScProfile, { className: ScProfileOptions_default.scProfileInstance }) }),
5138
5126
  /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ScHDivider, { className: ScProfileOptions_default.scHDividerInstance }),
5139
5127
  /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: ScProfileOptions_default.profileDetails, children: [
@@ -5298,10 +5286,14 @@ var ScTextField = ({
5298
5286
  ] }),
5299
5287
  /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.inputContainer, children: [
5300
5288
  (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: tfLeftIcon }),
5301
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: ScTextField_default.inputText, children: [
5302
- placeholderFilled,
5303
- " "
5304
- ] }),
5289
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
5290
+ "input",
5291
+ {
5292
+ className: ScTextField_default.inputText,
5293
+ placeholder: placeholderFilled,
5294
+ ...props
5295
+ }
5296
+ ),
5305
5297
  (tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_jsx_runtime77.Fragment, { children: tfRightIcon })
5306
5298
  ] })
5307
5299
  ]
@@ -5312,9 +5304,13 @@ var ScTextField = ({
5312
5304
  // src/SC-ProfileSettingsComp/ScProfileSettingsComp.tsx
5313
5305
  var import_jsx_runtime78 = __toESM(require_jsx_runtime());
5314
5306
  var ScProfileSettingsComp = ({
5315
- className
5307
+ firstName = "Chris",
5308
+ lastName = "Hemsworth",
5309
+ email = "chris@kepler.com",
5310
+ className,
5311
+ ...props
5316
5312
  }) => {
5317
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScProfileSettingsComp_default.scProfileSettingsComp + " " + className, children: [
5313
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: ScProfileSettingsComp_default.scProfileSettingsComp + " " + className, ...props, children: [
5318
5314
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
5319
5315
  ScProfileImageUpdate,
5320
5316
  {
@@ -5328,7 +5324,7 @@ var ScProfileSettingsComp = ({
5328
5324
  {
5329
5325
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5330
5326
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5331
- placeholderFilled: "Chris",
5327
+ placeholderFilled: firstName,
5332
5328
  label: "First Name",
5333
5329
  state: "filled",
5334
5330
  tfGroup: "none",
@@ -5340,7 +5336,7 @@ var ScProfileSettingsComp = ({
5340
5336
  {
5341
5337
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5342
5338
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5343
- placeholderFilled: "Hemsworth",
5339
+ placeholderFilled: lastName,
5344
5340
  label: "Last Name",
5345
5341
  state: "filled",
5346
5342
  tfGroup: "none",
@@ -5353,7 +5349,7 @@ var ScProfileSettingsComp = ({
5353
5349
  {
5354
5350
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_bolt_default, { className: ScProfileSettingsComp_default.siconBoltInstance }),
5355
5351
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(sicon_lock_default, { className: ScProfileSettingsComp_default.siconLockInstance }),
5356
- placeholderFilled: "chris@kepler.com",
5352
+ placeholderFilled: email,
5357
5353
  label: "Email ID",
5358
5354
  className: ScProfileSettingsComp_default.scTextFieldInstance2
5359
5355
  }
@@ -5373,11 +5369,23 @@ var ScRole_default = {
5373
5369
  var import_jsx_runtime79 = __toESM(require_jsx_runtime());
5374
5370
  var ScRole = ({
5375
5371
  type = "admin",
5372
+ label,
5376
5373
  className,
5377
5374
  ...props
5378
5375
  }) => {
5379
5376
  const variantsClassName = ScRole_default["type-" + type];
5380
- 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 " }) });
5377
+ const displayLabel = label ?? (type === "admin" ? "Admin" : "Member");
5378
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5379
+ "div",
5380
+ {
5381
+ className: ScRole_default.scRole + " " + className + " " + variantsClassName,
5382
+ ...props,
5383
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: ScRole_default.role, children: [
5384
+ displayLabel,
5385
+ " "
5386
+ ] })
5387
+ }
5388
+ );
5381
5389
  };
5382
5390
 
5383
5391
  // src/SC-Sidebar/ScSidebar.module.css
@@ -5422,7 +5430,7 @@ var import_jsx_runtime80 = __toESM(require_jsx_runtime());
5422
5430
  var ScSidebarMenu = ({
5423
5431
  icon = /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(sicon_Home_default, { className: ScSidebarMenu_default.siconHomeInstance }),
5424
5432
  state = "default",
5425
- variant = "explanded",
5433
+ variant = "expanded",
5426
5434
  className,
5427
5435
  text = "Menu Item",
5428
5436
  ...props
@@ -5432,9 +5440,10 @@ var ScSidebarMenu = ({
5432
5440
  "div",
5433
5441
  {
5434
5442
  className: ScSidebarMenu_default.scSidebarMenu + " " + className + " " + variantsClassName,
5443
+ ...props,
5435
5444
  children: [
5436
5445
  icon,
5437
- 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: [
5446
+ 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: [
5438
5447
  text,
5439
5448
  " "
5440
5449
  ] }) })
@@ -5464,6 +5473,7 @@ var ScSidebarProfile = ({
5464
5473
  "div",
5465
5474
  {
5466
5475
  className: ScSidebarProfile_default.scSidebarProfile + " " + className + " " + variantsClassName,
5476
+ ...props,
5467
5477
  children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ScProfile, { className: ScSidebarProfile_default.scProfileInstance })
5468
5478
  }
5469
5479
  );
@@ -5506,6 +5516,7 @@ var ScVersion_default = {
5506
5516
  var import_jsx_runtime83 = __toESM(require_jsx_runtime());
5507
5517
  var ScVersion = ({
5508
5518
  state = "expanded",
5519
+ version = "v2.1.2",
5509
5520
  scSidebarIconsinstance,
5510
5521
  component,
5511
5522
  className,
@@ -5516,6 +5527,7 @@ var ScVersion = ({
5516
5527
  "div",
5517
5528
  {
5518
5529
  className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
5530
+ ...props,
5519
5531
  children: [
5520
5532
  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)(
5521
5533
  ScSidebarIcons,
@@ -5524,7 +5536,10 @@ var ScVersion = ({
5524
5536
  className: ScVersion_default.scSidebarIconsInstance
5525
5537
  }
5526
5538
  ) }) }),
5527
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { className: ScVersion_default.content, children: "v2.1.2 " }),
5539
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { className: ScVersion_default.content, children: [
5540
+ version,
5541
+ " "
5542
+ ] }),
5528
5543
  state === "expanded" && /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_jsx_runtime83.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5529
5544
  ScSidebarIcons,
5530
5545
  {
@@ -5543,6 +5558,7 @@ var import_jsx_runtime84 = __toESM(require_jsx_runtime());
5543
5558
  var ScSidebar = ({
5544
5559
  state = "expanded",
5545
5560
  className,
5561
+ onToggle,
5546
5562
  ...props
5547
5563
  }) => {
5548
5564
  const variantsClassName = ScSidebar_default["state-" + state];
@@ -5841,9 +5857,10 @@ var ScSlider_default = {
5841
5857
  var import_jsx_runtime85 = __toESM(require_jsx_runtime());
5842
5858
  var ScSlider = ({
5843
5859
  className,
5860
+ onValueChange,
5844
5861
  ...props
5845
5862
  }) => {
5846
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, children: [
5863
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: ScSlider_default.scSlider + " " + className, ...props, children: [
5847
5864
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressBar }),
5848
5865
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressDot }),
5849
5866
  /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { className: ScSlider_default.progressBar2 }),
@@ -5875,7 +5892,7 @@ var ScAppListingCard = ({
5875
5892
  className,
5876
5893
  ...props
5877
5894
  }) => {
5878
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, children: [
5895
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.scAppListingCard + " " + className, ...props, children: [
5879
5896
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.header, children: [
5880
5897
  /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: ScAppListingCard_default.iconContainer, children: icon }),
5881
5898
  /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: ScAppListingCard_default.title, children: [
@@ -5908,7 +5925,7 @@ var ScAppCard = ({
5908
5925
  className,
5909
5926
  ...props
5910
5927
  }) => {
5911
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, children: [
5928
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.scAppCard + " " + className, ...props, children: [
5912
5929
  /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: ScAppCard_default.iconContainer, children: appIcon }),
5913
5930
  /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.textContainer, children: [
5914
5931
  /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: ScAppCard_default.title, children: [
@@ -5958,38 +5975,44 @@ var ScToggleSwitch = ({
5958
5975
  ...props
5959
5976
  }) => {
5960
5977
  const variantsClassName = ScToggleSwitch_default["active-" + active];
5961
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5962
- "svg",
5978
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5979
+ "div",
5963
5980
  {
5964
5981
  className: ScToggleSwitch_default.scToggleSwitch + " " + className + " " + variantsClassName,
5965
- width: "41",
5966
- height: "25",
5967
- viewBox: "0 0 41 25",
5968
- fill: "none",
5969
- xmlns: "http://www.w3.org/2000/svg",
5970
- children: [
5971
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5972
- "path",
5973
- {
5974
- 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",
5975
- fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
5976
- }
5977
- ),
5978
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5979
- "path",
5980
- {
5981
- 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",
5982
- fill: "var(--alias-border-divider, #242424)"
5983
- }
5984
- ),
5985
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5986
- "path",
5987
- {
5988
- 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",
5989
- fill: "var(--alias-fill-neutral-neutralactive, #313131)"
5990
- }
5991
- )
5992
- ]
5982
+ ...props,
5983
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5984
+ "svg",
5985
+ {
5986
+ width: "41",
5987
+ height: "25",
5988
+ viewBox: "0 0 41 25",
5989
+ fill: "none",
5990
+ xmlns: "http://www.w3.org/2000/svg",
5991
+ children: [
5992
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
5993
+ "path",
5994
+ {
5995
+ 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",
5996
+ fill: "var(--alias-fill-neutral-neutral, #1a1a1a)"
5997
+ }
5998
+ ),
5999
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6000
+ "path",
6001
+ {
6002
+ 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",
6003
+ fill: "var(--alias-border-divider, #242424)"
6004
+ }
6005
+ ),
6006
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
6007
+ "path",
6008
+ {
6009
+ 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",
6010
+ fill: "var(--alias-fill-neutral-neutralactive, #313131)"
6011
+ }
6012
+ )
6013
+ ]
6014
+ }
6015
+ )
5993
6016
  }
5994
6017
  );
5995
6018
  };
@@ -5998,6 +6021,9 @@ var ScToggleSwitch = ({
5998
6021
  var import_jsx_runtime89 = __toESM(require_jsx_runtime());
5999
6022
  var ScArtifaxInvite = ({
6000
6023
  active = "true",
6024
+ appName = "Artifax",
6025
+ appDescription = "Info about artifax",
6026
+ appIcon,
6001
6027
  className,
6002
6028
  ...props
6003
6029
  }) => {
@@ -6006,11 +6032,14 @@ var ScArtifaxInvite = ({
6006
6032
  "div",
6007
6033
  {
6008
6034
  className: ScArtifaxInvite_default.scArtifaxInvite + " " + className + " " + variantsClassName,
6035
+ ...props,
6009
6036
  children: [
6010
6037
  /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
6011
6038
  ScAppCard,
6012
6039
  {
6013
- appIcon: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(sicon_artifacts_default, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
6040
+ appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(sicon_artifacts_default, { className: ScArtifaxInvite_default.siconArtifactsInstance }),
6041
+ appName,
6042
+ appDescription,
6014
6043
  className: ScArtifaxInvite_default.scAppCardInstance
6015
6044
  }
6016
6045
  ),
@@ -6116,6 +6145,7 @@ var ScOnlyField = ({
6116
6145
  "div",
6117
6146
  {
6118
6147
  className: ScOnlyField_default.scOnlyField + " " + className + " " + variantsClassName,
6148
+ ...props,
6119
6149
  children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScOnlyField_default.inputContainer, children: [
6120
6150
  (tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_jsx_runtime91.Fragment, { children: tfLeftIcon }),
6121
6151
  /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: ScOnlyField_default.inputText, children: [
@@ -6132,6 +6162,12 @@ var ScOnlyField = ({
6132
6162
  var import_jsx_runtime92 = __toESM(require_jsx_runtime());
6133
6163
  var ScCatalogixInvite = ({
6134
6164
  active = "false",
6165
+ appName = "Catalogix",
6166
+ appDescription = "Info about catalogix",
6167
+ storeAccessTitle = "Store access",
6168
+ selectedCount = "0 Selected",
6169
+ searchPlaceholder = "Search stores...",
6170
+ appIcon,
6135
6171
  className,
6136
6172
  ...props
6137
6173
  }) => {
@@ -6140,14 +6176,15 @@ var ScCatalogixInvite = ({
6140
6176
  "div",
6141
6177
  {
6142
6178
  className: ScCatalogixInvite_default.scCatalogixInvite + " " + className + " " + variantsClassName,
6179
+ ...props,
6143
6180
  children: [
6144
6181
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.appHeader, children: [
6145
6182
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6146
6183
  ScAppCard,
6147
6184
  {
6148
- appIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
6149
- appDescription: "Info about catalogix",
6150
- appName: "Catalogix",
6185
+ appIcon: appIcon || /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_artifacts_default, { className: ScCatalogixInvite_default.siconArtifactsInstance }),
6186
+ appDescription,
6187
+ appName,
6151
6188
  className: ScCatalogixInvite_default.scAppCardInstance
6152
6189
  }
6153
6190
  ),
@@ -6161,15 +6198,21 @@ var ScCatalogixInvite = ({
6161
6198
  ] }),
6162
6199
  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: [
6163
6200
  /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
6164
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: "Store access " }),
6165
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { className: ScCatalogixInvite_default.selectedCount, children: "0 Selected " })
6201
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
6202
+ storeAccessTitle,
6203
+ " "
6204
+ ] }),
6205
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: ScCatalogixInvite_default.selectedCount, children: [
6206
+ selectedCount,
6207
+ " "
6208
+ ] })
6166
6209
  ] }),
6167
6210
  /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
6168
6211
  ScOnlyField,
6169
6212
  {
6170
6213
  tfLeftIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
6171
6214
  tfRightIcon: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(sicon_Search_default, { className: ScCatalogixInvite_default.siconSearchInstance }),
6172
- placeholderFilled: "Search stores...",
6215
+ placeholderFilled: searchPlaceholder,
6173
6216
  className: ScCatalogixInvite_default.scOnlyFieldInstance
6174
6217
  }
6175
6218
  ),
@@ -6229,11 +6272,15 @@ var ScCatalogixInvite = ({
6229
6272
  // src/SC-appField/ScAppField.tsx
6230
6273
  var import_jsx_runtime93 = __toESM(require_jsx_runtime());
6231
6274
  var ScAppField = ({
6275
+ appFieldTitle = "App permission",
6232
6276
  className,
6233
6277
  ...props
6234
6278
  }) => {
6235
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, children: [
6236
- /* @__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 " }) }),
6279
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.scAppField + " " + className, ...props, children: [
6280
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: ScAppField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.title, children: [
6281
+ appFieldTitle,
6282
+ " "
6283
+ ] }) }),
6237
6284
  /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: ScAppField_default.inputContainer, children: [
6238
6285
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
6239
6286
  ScArtifaxInvite,
@@ -6327,7 +6374,7 @@ var ScCheckField = ({
6327
6374
  className,
6328
6375
  ...props
6329
6376
  }) => {
6330
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, children: [
6377
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScCheckField_default.scCheckField + " " + className, ...props, children: [
6331
6378
  /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: ScCheckField_default.labelContainer, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: ScCheckField_default.label, children: [
6332
6379
  label,
6333
6380
  " "
@@ -6378,6 +6425,7 @@ var ScFieldButton = ({
6378
6425
  "div",
6379
6426
  {
6380
6427
  className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
6428
+ ...props,
6381
6429
  children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: ScFieldButton_default.container, children: [
6382
6430
  (type === "icon-right" || type === "only-icon") && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: icon }),
6383
6431
  (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: [
@@ -6403,7 +6451,7 @@ var ScPendingAction = ({
6403
6451
  className,
6404
6452
  ...props
6405
6453
  }) => {
6406
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, children: [
6454
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: ScPendingAction_default.scPendingAction + " " + className, ...props, children: [
6407
6455
  /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6408
6456
  ScButton,
6409
6457
  {
@@ -6444,17 +6492,27 @@ var ScQuickPrompt_default = {
6444
6492
  // src/SC-quick prompt/ScQuickPrompt.tsx
6445
6493
  var import_jsx_runtime98 = __toESM(require_jsx_runtime());
6446
6494
  var ScQuickPrompt = ({
6447
- className
6495
+ appName = "Photogenix",
6496
+ heading = "Swap Model and Background",
6497
+ description = "Replace the current model and background with new ones that match my brand's aesthetic and tone.",
6498
+ className,
6499
+ ...props
6448
6500
  }) => {
6449
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, children: [
6501
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.scQuickPrompt + " " + className, ...props, children: [
6450
6502
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.header, children: [
6451
6503
  /* @__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 }) }),
6452
- /* @__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 " }) })
6504
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: ScQuickPrompt_default.titleContainer, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.title, children: [
6505
+ appName,
6506
+ " "
6507
+ ] }) })
6453
6508
  ] }),
6454
6509
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.body, children: [
6455
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: ScQuickPrompt_default.heading, children: "Swap Model and Background " }),
6510
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.heading, children: [
6511
+ heading,
6512
+ " "
6513
+ ] }),
6456
6514
  /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { className: ScQuickPrompt_default.description, children: [
6457
- "Replace the current model and background with new ones that match my brand's aesthetic and tone.",
6515
+ description,
6458
6516
  " "
6459
6517
  ] })
6460
6518
  ] })
@@ -6523,20 +6581,32 @@ var ScReferralTableList_default = {
6523
6581
  // src/SC-referralTableList/ScReferralTableList.tsx
6524
6582
  var import_jsx_runtime100 = __toESM(require_jsx_runtime());
6525
6583
  var ScReferralTableList = ({
6584
+ userEmail = "chris@kepler.com",
6585
+ userName,
6586
+ date = "Nov 9th, 2025",
6587
+ status = "Confirmed",
6588
+ points = "+ 500",
6526
6589
  className,
6527
6590
  ...props
6528
6591
  }) => {
6529
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, children: [
6592
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.scReferralTableList + " " + className, ...props, children: [
6530
6593
  /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
6531
6594
  ScProfile,
6532
6595
  {
6533
- subText: "chris@kepler.com",
6596
+ subText: userEmail,
6597
+ name: userName,
6534
6598
  className: ScReferralTableList_default.scProfileInstance
6535
6599
  }
6536
6600
  ),
6537
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScReferralTableList_default.date, children: "Nov 9th, 2025 " }),
6538
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ScBadges, { text: "Confirmed", className: ScReferralTableList_default.scBadgesInstance }),
6539
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: ScReferralTableList_default.points, children: "+ 500 " })
6601
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.date, children: [
6602
+ date,
6603
+ " "
6604
+ ] }),
6605
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ScBadges, { text: status, className: ScReferralTableList_default.scBadgesInstance }),
6606
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: ScReferralTableList_default.points, children: [
6607
+ points,
6608
+ " "
6609
+ ] })
6540
6610
  ] });
6541
6611
  };
6542
6612
 
@@ -6552,7 +6622,7 @@ var ScSettingsNav = ({
6552
6622
  className,
6553
6623
  ...props
6554
6624
  }) => {
6555
- 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: [
6625
+ 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: [
6556
6626
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
6557
6627
  ScSidebarMenu,
6558
6628
  {
@@ -6705,9 +6775,11 @@ var import_jsx_runtime104 = __toESM(require_jsx_runtime());
6705
6775
  var ScTableList = ({
6706
6776
  invitedBy = "Rohan",
6707
6777
  signedOn = "Nov 9th, 2025",
6778
+ userEmail = "chris@kepler.com",
6708
6779
  hover = "false",
6709
6780
  variant = "active",
6710
6781
  className,
6782
+ onRowClick,
6711
6783
  ...props
6712
6784
  }) => {
6713
6785
  const variantsClassName = ScTableList_default["hover-" + hover] + " " + ScTableList_default["variant-" + variant];
@@ -6715,11 +6787,13 @@ var ScTableList = ({
6715
6787
  "div",
6716
6788
  {
6717
6789
  className: ScTableList_default.scTableList + " " + className + " " + variantsClassName,
6790
+ onClick: (e) => onRowClick && onRowClick(invitedBy, e),
6791
+ ...props,
6718
6792
  children: [
6719
6793
  /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
6720
6794
  ScProfile,
6721
6795
  {
6722
- subText: "chris@kepler.com",
6796
+ subText: userEmail,
6723
6797
  className: ScTableList_default.scProfileInstance
6724
6798
  }
6725
6799
  ),
@@ -6784,9 +6858,15 @@ var ScWorkspaceCard_default = {
6784
6858
  // src/SC-workspaceCard/ScWorkspaceCard.tsx
6785
6859
  var import_jsx_runtime105 = __toESM(require_jsx_runtime());
6786
6860
  var ScWorkspaceCard = ({
6787
- className
6861
+ workspaceName = "Stores",
6862
+ role = "Admin",
6863
+ userCount = "12 Users",
6864
+ ownerEmail = "rohan@streamoid.com",
6865
+ buttonText = "Current workspace",
6866
+ className,
6867
+ ...props
6788
6868
  }) => {
6789
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, children: [
6869
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.scWorkspaceCard + " " + className, ...props, children: [
6790
6870
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.workspaceInfo, children: [
6791
6871
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6792
6872
  ScIntialProfileCover,
@@ -6794,13 +6874,16 @@ var ScWorkspaceCard = ({
6794
6874
  className: ScWorkspaceCard_default.scIntialProfileCoverInstance
6795
6875
  }
6796
6876
  ),
6797
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { className: ScWorkspaceCard_default.workspaceName, children: "Stores " })
6877
+ /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.workspaceName, children: [
6878
+ workspaceName,
6879
+ " "
6880
+ ] })
6798
6881
  ] }),
6799
6882
  /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { className: ScWorkspaceCard_default.userInfo, children: [
6800
6883
  /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
6801
6884
  ScBadges,
6802
6885
  {
6803
- text: "Admin",
6886
+ text: role,
6804
6887
  variant: "info",
6805
6888
  className: ScWorkspaceCard_default.scBadgesInstance
6806
6889
  }
@@ -6810,7 +6893,7 @@ var ScWorkspaceCard = ({
6810
6893
  ScPairtext,
6811
6894
  {
6812
6895
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_team_default, { className: ScWorkspaceCard_default.siconTeamInstance }),
6813
- content: "12 Users",
6896
+ content: userCount,
6814
6897
  className: ScWorkspaceCard_default.scPairtextInstance
6815
6898
  }
6816
6899
  ),
@@ -6819,7 +6902,7 @@ var ScWorkspaceCard = ({
6819
6902
  ScPairtext,
6820
6903
  {
6821
6904
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_Crown_default, { className: ScWorkspaceCard_default.siconCrownInstance }),
6822
- content: "rohan@streamoid.com",
6905
+ content: ownerEmail,
6823
6906
  className: ScWorkspaceCard_default.scPairtextInstance
6824
6907
  }
6825
6908
  )
@@ -6829,7 +6912,7 @@ var ScWorkspaceCard = ({
6829
6912
  ScButton,
6830
6913
  {
6831
6914
  icon: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(sicon_switch_default, { className: ScWorkspaceCard_default.siconSwitchInstance }),
6832
- text: "Current workspace",
6915
+ text: buttonText,
6833
6916
  state: "disabled",
6834
6917
  variant: "outline",
6835
6918
  className: ScWorkspaceCard_default.scButtonInstance