@streamoid/ui 0.2.6 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +32 -5
- package/dist/index.d.mts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +33 -13
- package/dist/index.mjs +68 -48
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -4060,7 +4060,7 @@
|
|
|
4060
4060
|
color: var(--alias-text-and-icons-muted, #7a7a7a);
|
|
4061
4061
|
}
|
|
4062
4062
|
.ScOnlyField_inputText {
|
|
4063
|
-
color: var(--alias-text-and-icons-
|
|
4063
|
+
color: var(--alias-text-and-icons-primary, #f5f5f5);
|
|
4064
4064
|
text-align: left;
|
|
4065
4065
|
font-family: var( --text-text-sm-regular-font-family, "Inter-Regular", sans-serif );
|
|
4066
4066
|
font-size: var(--text-text-sm-regular-font-size, 0.875rem);
|
|
@@ -4072,6 +4072,9 @@
|
|
|
4072
4072
|
align-items: center;
|
|
4073
4073
|
justify-content: flex-start;
|
|
4074
4074
|
}
|
|
4075
|
+
.ScOnlyField_inputText::placeholder {
|
|
4076
|
+
color: var(--alias-text-and-icons-muted, #7a7a7a);
|
|
4077
|
+
}
|
|
4075
4078
|
.ScOnlyField_scOnlyField.ScOnlyField_tf-group-icon-left .ScOnlyField_inputContainer,
|
|
4076
4079
|
.ScOnlyField_scOnlyField.ScOnlyField_tf-group-icon-left-right .ScOnlyField_inputContainer {
|
|
4077
4080
|
gap: var(--spacing-md, 0.5rem);
|
|
@@ -5506,29 +5509,53 @@
|
|
|
5506
5509
|
.ScMobileBottomAction_scMobileBottomAction * {
|
|
5507
5510
|
box-sizing: border-box;
|
|
5508
5511
|
}
|
|
5512
|
+
.ScMobileBottomAction_twoButton {
|
|
5513
|
+
gap: var(--spacing-3xl, 16px);
|
|
5514
|
+
}
|
|
5509
5515
|
.ScMobileBottomAction_button {
|
|
5510
5516
|
display: flex;
|
|
5511
5517
|
flex: 1 0 0;
|
|
5512
|
-
height:
|
|
5518
|
+
height: 40px;
|
|
5513
5519
|
align-items: center;
|
|
5514
5520
|
justify-content: center;
|
|
5515
|
-
padding: var(--spacing-
|
|
5521
|
+
padding: var(--spacing-md, 8px) var(--spacing-3xl, 16px);
|
|
5516
5522
|
background: var(--alias-fill-base-base, #f5f5f5);
|
|
5517
5523
|
border-radius: var(--medium-5, 12px);
|
|
5518
5524
|
border: none;
|
|
5519
5525
|
cursor: pointer;
|
|
5520
|
-
width:
|
|
5526
|
+
min-width: 0;
|
|
5527
|
+
}
|
|
5528
|
+
.ScMobileBottomAction_outlineButton {
|
|
5529
|
+
display: flex;
|
|
5530
|
+
flex: 1 0 0;
|
|
5531
|
+
height: 40px;
|
|
5532
|
+
align-items: center;
|
|
5533
|
+
justify-content: center;
|
|
5534
|
+
padding: var(--spacing-md, 8px) var(--spacing-3xl, 16px);
|
|
5535
|
+
background: transparent;
|
|
5536
|
+
border-radius: var(--medium-5, 12px);
|
|
5537
|
+
border: 1.25px solid var(--alias-border-default, #3e3e3e);
|
|
5538
|
+
cursor: pointer;
|
|
5539
|
+
min-width: 0;
|
|
5521
5540
|
}
|
|
5522
5541
|
.ScMobileBottomAction_disabled {
|
|
5523
5542
|
opacity: 0.5;
|
|
5524
5543
|
cursor: not-allowed;
|
|
5525
5544
|
}
|
|
5526
5545
|
.ScMobileBottomAction_buttonText {
|
|
5546
|
+
font-family: var(--font-family-font-family-body, "Inter", sans-serif);
|
|
5547
|
+
font-weight: var(--font-weight-font-weight-medium, 500);
|
|
5548
|
+
font-size: var(--font-size-font-size-sm, 14px);
|
|
5549
|
+
line-height: var(--line-height-line-height-sm, 20px);
|
|
5550
|
+
color: var(--alias-text-icons-inverse, #101010);
|
|
5551
|
+
white-space: nowrap;
|
|
5552
|
+
}
|
|
5553
|
+
.ScMobileBottomAction_outlineButtonText {
|
|
5527
5554
|
font-family: var(--font-family-font-family-body, "Inter", sans-serif);
|
|
5528
5555
|
font-weight: var(--font-weight-font-weight-medium, 500);
|
|
5529
5556
|
font-size: var(--font-size-font-size-md, 16px);
|
|
5530
5557
|
line-height: var(--line-height-line-height-md, 24px);
|
|
5531
|
-
color: var(--alias-text-icons-
|
|
5558
|
+
color: var(--alias-text-icons-primary, #f5f5f5);
|
|
5532
5559
|
white-space: nowrap;
|
|
5533
5560
|
}
|
|
5534
5561
|
|
package/dist/index.d.mts
CHANGED
|
@@ -597,7 +597,7 @@ interface IScTextFieldProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
597
597
|
placeholderFilled?: string;
|
|
598
598
|
label?: string;
|
|
599
599
|
}
|
|
600
|
-
declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, ...props }: IScTextFieldProps) => JSX.Element;
|
|
600
|
+
declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, style, ...props }: IScTextFieldProps) => JSX.Element;
|
|
601
601
|
|
|
602
602
|
interface IScToggleSwitchProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
603
603
|
active?: "true" | "false";
|
|
@@ -769,16 +769,22 @@ interface IScMobileTopNavProps {
|
|
|
769
769
|
declare const ScMobileTopNav: ({ type, searchIcon, search, heading, chatTitle, searchPlaceholder, searchValue, menuIcon, searchIconElement, closeIcon, moreIcon, onMenuClick, onSearchClick, onCloseClick, onMoreClick, onSearchChange, className, ...props }: IScMobileTopNavProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
770
770
|
|
|
771
771
|
interface IScMobileBottomActionProps {
|
|
772
|
-
/**
|
|
772
|
+
/** Primary button text */
|
|
773
773
|
text?: string;
|
|
774
|
-
/** Whether button is disabled */
|
|
774
|
+
/** Whether primary button is disabled */
|
|
775
775
|
disabled?: boolean;
|
|
776
|
-
/**
|
|
776
|
+
/** Primary button click handler */
|
|
777
777
|
onClick?: (e: React$1.MouseEvent) => void;
|
|
778
|
+
/** Secondary (outline) button text — renders 2-button layout when provided */
|
|
779
|
+
secondaryText?: string;
|
|
780
|
+
/** Whether secondary button is disabled */
|
|
781
|
+
secondaryDisabled?: boolean;
|
|
782
|
+
/** Secondary button click handler */
|
|
783
|
+
onSecondaryClick?: (e: React$1.MouseEvent) => void;
|
|
778
784
|
/** Additional class name */
|
|
779
785
|
className?: string;
|
|
780
786
|
}
|
|
781
|
-
declare const ScMobileBottomAction: ({ text, disabled, onClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
787
|
+
declare const ScMobileBottomAction: ({ text, disabled, onClick, secondaryText, secondaryDisabled, onSecondaryClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
782
788
|
|
|
783
789
|
interface IScPopUpMenuProps {
|
|
784
790
|
/** Menu label text */
|
package/dist/index.d.ts
CHANGED
|
@@ -597,7 +597,7 @@ interface IScTextFieldProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
597
597
|
placeholderFilled?: string;
|
|
598
598
|
label?: string;
|
|
599
599
|
}
|
|
600
|
-
declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, ...props }: IScTextFieldProps) => JSX.Element;
|
|
600
|
+
declare const ScTextField: ({ tfRightIcon, tfLeftIcon, state, tfGroup, labelGroup, className, placeholderFilled, label, style, ...props }: IScTextFieldProps) => JSX.Element;
|
|
601
601
|
|
|
602
602
|
interface IScToggleSwitchProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
603
603
|
active?: "true" | "false";
|
|
@@ -769,16 +769,22 @@ interface IScMobileTopNavProps {
|
|
|
769
769
|
declare const ScMobileTopNav: ({ type, searchIcon, search, heading, chatTitle, searchPlaceholder, searchValue, menuIcon, searchIconElement, closeIcon, moreIcon, onMenuClick, onSearchClick, onCloseClick, onMoreClick, onSearchChange, className, ...props }: IScMobileTopNavProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
770
770
|
|
|
771
771
|
interface IScMobileBottomActionProps {
|
|
772
|
-
/**
|
|
772
|
+
/** Primary button text */
|
|
773
773
|
text?: string;
|
|
774
|
-
/** Whether button is disabled */
|
|
774
|
+
/** Whether primary button is disabled */
|
|
775
775
|
disabled?: boolean;
|
|
776
|
-
/**
|
|
776
|
+
/** Primary button click handler */
|
|
777
777
|
onClick?: (e: React$1.MouseEvent) => void;
|
|
778
|
+
/** Secondary (outline) button text — renders 2-button layout when provided */
|
|
779
|
+
secondaryText?: string;
|
|
780
|
+
/** Whether secondary button is disabled */
|
|
781
|
+
secondaryDisabled?: boolean;
|
|
782
|
+
/** Secondary button click handler */
|
|
783
|
+
onSecondaryClick?: (e: React$1.MouseEvent) => void;
|
|
778
784
|
/** Additional class name */
|
|
779
785
|
className?: string;
|
|
780
786
|
}
|
|
781
|
-
declare const ScMobileBottomAction: ({ text, disabled, onClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
787
|
+
declare const ScMobileBottomAction: ({ text, disabled, onClick, secondaryText, secondaryDisabled, onSecondaryClick, className, ...props }: IScMobileBottomActionProps & React$1.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
782
788
|
|
|
783
789
|
interface IScPopUpMenuProps {
|
|
784
790
|
/** Menu label text */
|
package/dist/index.js
CHANGED
|
@@ -2076,6 +2076,7 @@ var ScTextField = ({
|
|
|
2076
2076
|
className,
|
|
2077
2077
|
placeholderFilled = "Placeholder",
|
|
2078
2078
|
label = "",
|
|
2079
|
+
style,
|
|
2079
2080
|
...props
|
|
2080
2081
|
}) => {
|
|
2081
2082
|
const [focused, setFocused] = (0, import_react6.useState)(false);
|
|
@@ -2085,6 +2086,7 @@ var ScTextField = ({
|
|
|
2085
2086
|
"div",
|
|
2086
2087
|
{
|
|
2087
2088
|
className: ScTextField_default.scTextField + " " + className + " " + variantsClassName,
|
|
2089
|
+
style,
|
|
2088
2090
|
children: [
|
|
2089
2091
|
labelGroup && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: ScTextField_default.labelContainer, children: [
|
|
2090
2092
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: ScTextField_default.label, children: [
|
|
@@ -3734,7 +3736,7 @@ var ScOnlyField = ({
|
|
|
3734
3736
|
border: "none",
|
|
3735
3737
|
outline: "none",
|
|
3736
3738
|
font: "inherit",
|
|
3737
|
-
color: "
|
|
3739
|
+
color: "var(--alias-text-and-icons-primary, #f5f5f5)",
|
|
3738
3740
|
width: "100%",
|
|
3739
3741
|
padding: 0,
|
|
3740
3742
|
margin: 0
|
|
@@ -5105,9 +5107,12 @@ var ScMobileTopNav = ({
|
|
|
5105
5107
|
// src/SC-MobileBottomAction/ScMobileBottomAction.module.css
|
|
5106
5108
|
var ScMobileBottomAction_default = {
|
|
5107
5109
|
scMobileBottomAction: "ScMobileBottomAction_scMobileBottomAction",
|
|
5110
|
+
twoButton: "ScMobileBottomAction_twoButton",
|
|
5108
5111
|
button: "ScMobileBottomAction_button",
|
|
5112
|
+
outlineButton: "ScMobileBottomAction_outlineButton",
|
|
5109
5113
|
disabled: "ScMobileBottomAction_disabled",
|
|
5110
|
-
buttonText: "ScMobileBottomAction_buttonText"
|
|
5114
|
+
buttonText: "ScMobileBottomAction_buttonText",
|
|
5115
|
+
outlineButtonText: "ScMobileBottomAction_outlineButtonText"
|
|
5111
5116
|
};
|
|
5112
5117
|
|
|
5113
5118
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
@@ -5116,23 +5121,38 @@ var ScMobileBottomAction = ({
|
|
|
5116
5121
|
text = "Save Changes",
|
|
5117
5122
|
disabled = false,
|
|
5118
5123
|
onClick,
|
|
5124
|
+
secondaryText,
|
|
5125
|
+
secondaryDisabled = false,
|
|
5126
|
+
onSecondaryClick,
|
|
5119
5127
|
className,
|
|
5120
5128
|
...props
|
|
5121
5129
|
}) => {
|
|
5122
|
-
|
|
5130
|
+
const isTwoButton = !!secondaryText;
|
|
5131
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
|
|
5123
5132
|
"div",
|
|
5124
5133
|
{
|
|
5125
|
-
className: ScMobileBottomAction_default.scMobileBottomAction + " " + className,
|
|
5134
|
+
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5126
5135
|
...props,
|
|
5127
|
-
children:
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
+
children: [
|
|
5137
|
+
isTwoButton && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
5138
|
+
"button",
|
|
5139
|
+
{
|
|
5140
|
+
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5141
|
+
onClick: onSecondaryClick,
|
|
5142
|
+
disabled: secondaryDisabled,
|
|
5143
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5144
|
+
}
|
|
5145
|
+
),
|
|
5146
|
+
/* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
5147
|
+
"button",
|
|
5148
|
+
{
|
|
5149
|
+
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5150
|
+
onClick,
|
|
5151
|
+
disabled,
|
|
5152
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5153
|
+
}
|
|
5154
|
+
)
|
|
5155
|
+
]
|
|
5136
5156
|
}
|
|
5137
5157
|
);
|
|
5138
5158
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1972,6 +1972,7 @@ var ScTextField = ({
|
|
|
1972
1972
|
className,
|
|
1973
1973
|
placeholderFilled = "Placeholder",
|
|
1974
1974
|
label = "",
|
|
1975
|
+
style,
|
|
1975
1976
|
...props
|
|
1976
1977
|
}) => {
|
|
1977
1978
|
const [focused, setFocused] = useState3(false);
|
|
@@ -1981,6 +1982,7 @@ var ScTextField = ({
|
|
|
1981
1982
|
"div",
|
|
1982
1983
|
{
|
|
1983
1984
|
className: ScTextField_default.scTextField + " " + className + " " + variantsClassName,
|
|
1985
|
+
style,
|
|
1984
1986
|
children: [
|
|
1985
1987
|
labelGroup && /* @__PURE__ */ jsxs25("div", { className: ScTextField_default.labelContainer, children: [
|
|
1986
1988
|
/* @__PURE__ */ jsxs25("div", { className: ScTextField_default.label, children: [
|
|
@@ -3635,7 +3637,7 @@ var ScOnlyField = ({
|
|
|
3635
3637
|
border: "none",
|
|
3636
3638
|
outline: "none",
|
|
3637
3639
|
font: "inherit",
|
|
3638
|
-
color: "
|
|
3640
|
+
color: "var(--alias-text-and-icons-primary, #f5f5f5)",
|
|
3639
3641
|
width: "100%",
|
|
3640
3642
|
padding: 0,
|
|
3641
3643
|
margin: 0
|
|
@@ -5011,34 +5013,52 @@ var ScMobileTopNav = ({
|
|
|
5011
5013
|
// src/SC-MobileBottomAction/ScMobileBottomAction.module.css
|
|
5012
5014
|
var ScMobileBottomAction_default = {
|
|
5013
5015
|
scMobileBottomAction: "ScMobileBottomAction_scMobileBottomAction",
|
|
5016
|
+
twoButton: "ScMobileBottomAction_twoButton",
|
|
5014
5017
|
button: "ScMobileBottomAction_button",
|
|
5018
|
+
outlineButton: "ScMobileBottomAction_outlineButton",
|
|
5015
5019
|
disabled: "ScMobileBottomAction_disabled",
|
|
5016
|
-
buttonText: "ScMobileBottomAction_buttonText"
|
|
5020
|
+
buttonText: "ScMobileBottomAction_buttonText",
|
|
5021
|
+
outlineButtonText: "ScMobileBottomAction_outlineButtonText"
|
|
5017
5022
|
};
|
|
5018
5023
|
|
|
5019
5024
|
// src/SC-MobileBottomAction/ScMobileBottomAction.tsx
|
|
5020
|
-
import { jsx as jsx69 } from "react/jsx-runtime";
|
|
5025
|
+
import { jsx as jsx69, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
5021
5026
|
var ScMobileBottomAction = ({
|
|
5022
5027
|
text = "Save Changes",
|
|
5023
5028
|
disabled = false,
|
|
5024
5029
|
onClick,
|
|
5030
|
+
secondaryText,
|
|
5031
|
+
secondaryDisabled = false,
|
|
5032
|
+
onSecondaryClick,
|
|
5025
5033
|
className,
|
|
5026
5034
|
...props
|
|
5027
5035
|
}) => {
|
|
5028
|
-
|
|
5036
|
+
const isTwoButton = !!secondaryText;
|
|
5037
|
+
return /* @__PURE__ */ jsxs60(
|
|
5029
5038
|
"div",
|
|
5030
5039
|
{
|
|
5031
|
-
className: ScMobileBottomAction_default.scMobileBottomAction + " " + className,
|
|
5040
|
+
className: ScMobileBottomAction_default.scMobileBottomAction + (isTwoButton ? " " + ScMobileBottomAction_default.twoButton : "") + " " + className,
|
|
5032
5041
|
...props,
|
|
5033
|
-
children:
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
+
children: [
|
|
5043
|
+
isTwoButton && /* @__PURE__ */ jsx69(
|
|
5044
|
+
"button",
|
|
5045
|
+
{
|
|
5046
|
+
className: ScMobileBottomAction_default.outlineButton + " " + (secondaryDisabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5047
|
+
onClick: onSecondaryClick,
|
|
5048
|
+
disabled: secondaryDisabled,
|
|
5049
|
+
children: /* @__PURE__ */ jsx69("span", { className: ScMobileBottomAction_default.outlineButtonText, children: secondaryText })
|
|
5050
|
+
}
|
|
5051
|
+
),
|
|
5052
|
+
/* @__PURE__ */ jsx69(
|
|
5053
|
+
"button",
|
|
5054
|
+
{
|
|
5055
|
+
className: ScMobileBottomAction_default.button + " " + (disabled ? ScMobileBottomAction_default.disabled : ""),
|
|
5056
|
+
onClick,
|
|
5057
|
+
disabled,
|
|
5058
|
+
children: /* @__PURE__ */ jsx69("span", { className: ScMobileBottomAction_default.buttonText, children: text })
|
|
5059
|
+
}
|
|
5060
|
+
)
|
|
5061
|
+
]
|
|
5042
5062
|
}
|
|
5043
5063
|
);
|
|
5044
5064
|
};
|
|
@@ -5053,7 +5073,7 @@ var ScPopUpMenu_default = {
|
|
|
5053
5073
|
};
|
|
5054
5074
|
|
|
5055
5075
|
// src/SC-PopUpMenu/ScPopUpMenu.tsx
|
|
5056
|
-
import { jsx as jsx70, jsxs as
|
|
5076
|
+
import { jsx as jsx70, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
5057
5077
|
var ScPopUpMenu = ({
|
|
5058
5078
|
menu = "Options",
|
|
5059
5079
|
state = "default",
|
|
@@ -5062,7 +5082,7 @@ var ScPopUpMenu = ({
|
|
|
5062
5082
|
className,
|
|
5063
5083
|
...props
|
|
5064
5084
|
}) => {
|
|
5065
|
-
return /* @__PURE__ */
|
|
5085
|
+
return /* @__PURE__ */ jsxs61(
|
|
5066
5086
|
"div",
|
|
5067
5087
|
{
|
|
5068
5088
|
className: ScPopUpMenu_default.scPopUpMenu + " " + ScPopUpMenu_default["state-" + state] + " " + className,
|
|
@@ -5096,7 +5116,7 @@ var ScReferralCardMobile_default = {
|
|
|
5096
5116
|
};
|
|
5097
5117
|
|
|
5098
5118
|
// src/SC-referralCard-Mobile/ScReferralCardMobile.tsx
|
|
5099
|
-
import { jsx as jsx71, jsxs as
|
|
5119
|
+
import { jsx as jsx71, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
5100
5120
|
var ScReferralCardMobile = ({
|
|
5101
5121
|
name = "Chris Hemsworth",
|
|
5102
5122
|
email = "chris@kepler.com",
|
|
@@ -5109,17 +5129,17 @@ var ScReferralCardMobile = ({
|
|
|
5109
5129
|
...props
|
|
5110
5130
|
}) => {
|
|
5111
5131
|
const initials = name.split(" ").map((n) => n[0]).join("").toUpperCase().slice(0, 2);
|
|
5112
|
-
return /* @__PURE__ */
|
|
5132
|
+
return /* @__PURE__ */ jsxs62(
|
|
5113
5133
|
"div",
|
|
5114
5134
|
{
|
|
5115
5135
|
className: ScReferralCardMobile_default.scReferralCardMobile + " " + className,
|
|
5116
5136
|
onClick,
|
|
5117
5137
|
...props,
|
|
5118
5138
|
children: [
|
|
5119
|
-
/* @__PURE__ */
|
|
5120
|
-
/* @__PURE__ */
|
|
5139
|
+
/* @__PURE__ */ jsxs62("div", { className: ScReferralCardMobile_default.userRow, children: [
|
|
5140
|
+
/* @__PURE__ */ jsxs62("div", { className: ScReferralCardMobile_default.profileSection, children: [
|
|
5121
5141
|
/* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.profileImage, children: imageUrl ? /* @__PURE__ */ jsx71("img", { src: imageUrl, alt: name, className: ScReferralCardMobile_default.image }) : /* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.initials, children: initials }) }),
|
|
5122
|
-
/* @__PURE__ */
|
|
5142
|
+
/* @__PURE__ */ jsxs62("div", { className: ScReferralCardMobile_default.userInfo, children: [
|
|
5123
5143
|
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.userName, children: name }),
|
|
5124
5144
|
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.userEmail, children: email })
|
|
5125
5145
|
] })
|
|
@@ -5127,7 +5147,7 @@ var ScReferralCardMobile = ({
|
|
|
5127
5147
|
/* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.badge, children: /* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.badgeText, children: badge }) })
|
|
5128
5148
|
] }),
|
|
5129
5149
|
/* @__PURE__ */ jsx71("div", { className: ScReferralCardMobile_default.divider }),
|
|
5130
|
-
/* @__PURE__ */
|
|
5150
|
+
/* @__PURE__ */ jsxs62("div", { className: ScReferralCardMobile_default.detailsRow, children: [
|
|
5131
5151
|
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.dateText, children: date }),
|
|
5132
5152
|
/* @__PURE__ */ jsx71("p", { className: ScReferralCardMobile_default.creditsText, children: credits })
|
|
5133
5153
|
] })
|
|
@@ -5146,15 +5166,15 @@ var InvoiceHistoryMobile_default = {
|
|
|
5146
5166
|
};
|
|
5147
5167
|
|
|
5148
5168
|
// src/SC-InvoiceHistoryMobile/InvoiceHistoryMobile.tsx
|
|
5149
|
-
import { jsx as jsx72, jsxs as
|
|
5169
|
+
import { jsx as jsx72, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
5150
5170
|
var InvoiceHistoryMobile = ({
|
|
5151
5171
|
invoiceId = "# INV-2800-2026",
|
|
5152
5172
|
date = "Nov 9th, 2025",
|
|
5153
5173
|
amount = "$320.89",
|
|
5154
5174
|
className
|
|
5155
5175
|
}) => {
|
|
5156
|
-
return /* @__PURE__ */
|
|
5157
|
-
/* @__PURE__ */
|
|
5176
|
+
return /* @__PURE__ */ jsxs63("div", { className: InvoiceHistoryMobile_default.invoiceHistoryMobile + " " + (className ?? ""), children: [
|
|
5177
|
+
/* @__PURE__ */ jsxs63("div", { className: InvoiceHistoryMobile_default.info, children: [
|
|
5158
5178
|
/* @__PURE__ */ jsx72("div", { className: InvoiceHistoryMobile_default.invoiceId, children: invoiceId }),
|
|
5159
5179
|
/* @__PURE__ */ jsx72("div", { className: InvoiceHistoryMobile_default.date, children: date })
|
|
5160
5180
|
] }),
|
|
@@ -5176,7 +5196,7 @@ var UsageHistoryMobile_default = {
|
|
|
5176
5196
|
};
|
|
5177
5197
|
|
|
5178
5198
|
// src/SC-UsageHistoryMobile/UsageHistoryMobile.tsx
|
|
5179
|
-
import { jsx as jsx73, jsxs as
|
|
5199
|
+
import { jsx as jsx73, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
5180
5200
|
var UsageHistoryMobile = ({
|
|
5181
5201
|
serviceName = "Artifax Generation",
|
|
5182
5202
|
credits = "50",
|
|
@@ -5185,13 +5205,13 @@ var UsageHistoryMobile = ({
|
|
|
5185
5205
|
balance = "84,902",
|
|
5186
5206
|
className
|
|
5187
5207
|
}) => {
|
|
5188
|
-
return /* @__PURE__ */
|
|
5189
|
-
/* @__PURE__ */
|
|
5208
|
+
return /* @__PURE__ */ jsxs64("div", { className: UsageHistoryMobile_default.usageHistoryMobile + " " + (className ?? ""), children: [
|
|
5209
|
+
/* @__PURE__ */ jsxs64("div", { className: UsageHistoryMobile_default.row1, children: [
|
|
5190
5210
|
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.serviceName, children: serviceName }),
|
|
5191
5211
|
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.credits, children: credits })
|
|
5192
5212
|
] }),
|
|
5193
|
-
/* @__PURE__ */
|
|
5194
|
-
/* @__PURE__ */
|
|
5213
|
+
/* @__PURE__ */ jsxs64("div", { className: UsageHistoryMobile_default.row2, children: [
|
|
5214
|
+
/* @__PURE__ */ jsxs64("div", { className: UsageHistoryMobile_default.metaLeft, children: [
|
|
5195
5215
|
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.metaText, children: userName }),
|
|
5196
5216
|
/* @__PURE__ */ jsx73("div", { className: UsageHistoryMobile_default.divider }),
|
|
5197
5217
|
/* @__PURE__ */ jsx73("span", { className: UsageHistoryMobile_default.metaText, children: date })
|
|
@@ -5220,7 +5240,7 @@ var ScWorkspaceSwitchMobileV2_default = {
|
|
|
5220
5240
|
};
|
|
5221
5241
|
|
|
5222
5242
|
// src/SC-WorkspaceSwitchMobile-V2/ScWorkspaceSwitchMobileV2.tsx
|
|
5223
|
-
import { jsx as jsx74, jsxs as
|
|
5243
|
+
import { jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
5224
5244
|
var ScWorkspaceSwitchMobileV2 = ({
|
|
5225
5245
|
wsName = "Workspace name is kepler",
|
|
5226
5246
|
initials = "WS",
|
|
@@ -5239,7 +5259,7 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5239
5259
|
className: ScWorkspaceSwitchMobileV2_default.scWorkspaceSwitchMobileV2 + " " + ScWorkspaceSwitchMobileV2_default["type-" + type] + " " + className,
|
|
5240
5260
|
onClick,
|
|
5241
5261
|
...props,
|
|
5242
|
-
children: /* @__PURE__ */
|
|
5262
|
+
children: /* @__PURE__ */ jsxs65("div", { className: ScWorkspaceSwitchMobileV2_default.workspaceInfo, children: [
|
|
5243
5263
|
/* @__PURE__ */ jsx74("div", { className: ScWorkspaceSwitchMobileV2_default.dpContainer, children: /* @__PURE__ */ jsx74(
|
|
5244
5264
|
ScDp,
|
|
5245
5265
|
{
|
|
@@ -5254,9 +5274,9 @@ var ScWorkspaceSwitchMobileV2 = ({
|
|
|
5254
5274
|
}
|
|
5255
5275
|
}
|
|
5256
5276
|
) }),
|
|
5257
|
-
/* @__PURE__ */
|
|
5277
|
+
/* @__PURE__ */ jsxs65("div", { className: ScWorkspaceSwitchMobileV2_default.textContainer, children: [
|
|
5258
5278
|
/* @__PURE__ */ jsx74("p", { className: ScWorkspaceSwitchMobileV2_default.wsName, children: wsName }),
|
|
5259
|
-
/* @__PURE__ */
|
|
5279
|
+
/* @__PURE__ */ jsxs65("div", { className: ScWorkspaceSwitchMobileV2_default.userDetails, children: [
|
|
5260
5280
|
/* @__PURE__ */ jsx74("span", { className: ScWorkspaceSwitchMobileV2_default.roleText + (role === "Member" ? " " + ScWorkspaceSwitchMobileV2_default.roleMember : ""), children: role }),
|
|
5261
5281
|
/* @__PURE__ */ jsx74("div", { className: ScWorkspaceSwitchMobileV2_default.dot }),
|
|
5262
5282
|
/* @__PURE__ */ jsx74("span", { className: ScWorkspaceSwitchMobileV2_default.planText, children: plan }),
|
|
@@ -5288,7 +5308,7 @@ var ScImageField_default = {
|
|
|
5288
5308
|
|
|
5289
5309
|
// src/SC-imageField/ScImageField.tsx
|
|
5290
5310
|
import { SiconUpload as SiconUpload2, SiconDelete as SiconDelete2 } from "@streamoid/icons";
|
|
5291
|
-
import { jsx as jsx75, jsxs as
|
|
5311
|
+
import { jsx as jsx75, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
5292
5312
|
var ScImageField = ({
|
|
5293
5313
|
label = "Label",
|
|
5294
5314
|
imagePreview,
|
|
@@ -5311,7 +5331,7 @@ var ScImageField = ({
|
|
|
5311
5331
|
}
|
|
5312
5332
|
e.target.value = "";
|
|
5313
5333
|
}
|
|
5314
|
-
return /* @__PURE__ */
|
|
5334
|
+
return /* @__PURE__ */ jsxs66("div", { className: ScImageField_default.scImageField + " " + (className ?? ""), children: [
|
|
5315
5335
|
/* @__PURE__ */ jsx75(
|
|
5316
5336
|
"input",
|
|
5317
5337
|
{
|
|
@@ -5323,7 +5343,7 @@ var ScImageField = ({
|
|
|
5323
5343
|
}
|
|
5324
5344
|
),
|
|
5325
5345
|
/* @__PURE__ */ jsx75("div", { className: ScImageField_default.labelContainer, children: /* @__PURE__ */ jsx75("div", { className: ScImageField_default.label, children: label }) }),
|
|
5326
|
-
hasImage ? /* @__PURE__ */
|
|
5346
|
+
hasImage ? /* @__PURE__ */ jsxs66("div", { className: ScImageField_default.previewArea, children: [
|
|
5327
5347
|
/* @__PURE__ */ jsx75(
|
|
5328
5348
|
"img",
|
|
5329
5349
|
{
|
|
@@ -5344,7 +5364,7 @@ var ScImageField = ({
|
|
|
5344
5364
|
}
|
|
5345
5365
|
}
|
|
5346
5366
|
)
|
|
5347
|
-
] }) : /* @__PURE__ */
|
|
5367
|
+
] }) : /* @__PURE__ */ jsxs66("div", { className: ScImageField_default.uploadArea, onClick: handleClick, children: [
|
|
5348
5368
|
/* @__PURE__ */ jsx75(SiconUpload2, { className: ScImageField_default.uploadIcon, color: "var(--alias-text-and-icons-secondary, #dadada)" }),
|
|
5349
5369
|
/* @__PURE__ */ jsx75("span", { className: ScImageField_default.uploadText, children: "Click to upload" })
|
|
5350
5370
|
] })
|
|
@@ -5393,7 +5413,7 @@ var ScCreditsUsageCardMobile_default = {
|
|
|
5393
5413
|
|
|
5394
5414
|
// src/SC-Credits usage card-Mobile/ScCreditsUsageCardMobile.tsx
|
|
5395
5415
|
import { SiconCredits as SiconCredits3 } from "@streamoid/icons";
|
|
5396
|
-
import { jsx as jsx77, jsxs as
|
|
5416
|
+
import { jsx as jsx77, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
5397
5417
|
var ScCreditsUsageCardMobile = ({
|
|
5398
5418
|
usageLabel = "Credits usage",
|
|
5399
5419
|
usageText = "8,450 / 30,000",
|
|
@@ -5403,8 +5423,8 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5403
5423
|
className,
|
|
5404
5424
|
...props
|
|
5405
5425
|
}) => {
|
|
5406
|
-
return /* @__PURE__ */
|
|
5407
|
-
/* @__PURE__ */
|
|
5426
|
+
return /* @__PURE__ */ jsxs67("div", { className: ScCreditsUsageCardMobile_default.scCreditsUsageCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5427
|
+
/* @__PURE__ */ jsxs67("div", { className: ScCreditsUsageCardMobile_default.header, children: [
|
|
5408
5428
|
/* @__PURE__ */ jsx77(
|
|
5409
5429
|
SiconCredits3,
|
|
5410
5430
|
{
|
|
@@ -5415,7 +5435,7 @@ var ScCreditsUsageCardMobile = ({
|
|
|
5415
5435
|
/* @__PURE__ */ jsx77("span", { className: ScCreditsUsageCardMobile_default.headerLabel, children: usageLabel })
|
|
5416
5436
|
] }),
|
|
5417
5437
|
/* @__PURE__ */ jsx77("div", { className: ScCreditsUsageCardMobile_default.divider }),
|
|
5418
|
-
/* @__PURE__ */
|
|
5438
|
+
/* @__PURE__ */ jsxs67("div", { className: ScCreditsUsageCardMobile_default.usageInfo, children: [
|
|
5419
5439
|
/* @__PURE__ */ jsx77("div", { className: ScCreditsUsageCardMobile_default.usageText, children: usageText }),
|
|
5420
5440
|
/* @__PURE__ */ jsx77("div", { className: ScCreditsUsageCardMobile_default.remainingText, children: remainingText })
|
|
5421
5441
|
] }),
|
|
@@ -5451,7 +5471,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
5451
5471
|
|
|
5452
5472
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
5453
5473
|
import { SiconBilling as SiconBilling4 } from "@streamoid/icons";
|
|
5454
|
-
import { jsx as jsx78, jsxs as
|
|
5474
|
+
import { jsx as jsx78, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
5455
5475
|
var ScPlanDetailsCardMobile = ({
|
|
5456
5476
|
planName = "Pro",
|
|
5457
5477
|
planCredits = "30,000 credits",
|
|
@@ -5463,9 +5483,9 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5463
5483
|
className,
|
|
5464
5484
|
...props
|
|
5465
5485
|
}) => {
|
|
5466
|
-
return /* @__PURE__ */
|
|
5467
|
-
/* @__PURE__ */
|
|
5468
|
-
/* @__PURE__ */
|
|
5486
|
+
return /* @__PURE__ */ jsxs68("div", { className: ScPlanDetailsCardMobile_default.scPlanDetailsCardMobile + " " + (className ?? ""), ...props, children: [
|
|
5487
|
+
/* @__PURE__ */ jsxs68("div", { className: ScPlanDetailsCardMobile_default.planHeader, children: [
|
|
5488
|
+
/* @__PURE__ */ jsxs68("div", { className: ScPlanDetailsCardMobile_default.headerLeft, children: [
|
|
5469
5489
|
/* @__PURE__ */ jsx78(
|
|
5470
5490
|
SiconBilling4,
|
|
5471
5491
|
{
|
|
@@ -5486,8 +5506,8 @@ var ScPlanDetailsCardMobile = ({
|
|
|
5486
5506
|
)
|
|
5487
5507
|
] }),
|
|
5488
5508
|
/* @__PURE__ */ jsx78("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
5489
|
-
/* @__PURE__ */
|
|
5490
|
-
/* @__PURE__ */
|
|
5509
|
+
/* @__PURE__ */ jsxs68("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: [
|
|
5510
|
+
/* @__PURE__ */ jsxs68("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
5491
5511
|
/* @__PURE__ */ jsx78("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
5492
5512
|
/* @__PURE__ */ jsx78("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
5493
5513
|
/* @__PURE__ */ jsx78("span", { className: ScPlanDetailsCardMobile_default.planName, children: planCredits })
|