@streamoid/ui 0.6.23 → 0.6.25
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/docs/ScWorkspaceAccountMenu.md +5 -0
- package/dist/index.css +10 -6
- package/dist/index.d.mts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +49 -4
- package/dist/index.mjs +147 -102
- package/package.json +1 -1
|
@@ -92,6 +92,11 @@ Render the panel beside the top workspace trigger. Render the app identity at
|
|
|
92
92
|
the bottom of the sidebar and open `ScAppSwitchPanel` from that row. Apply the
|
|
93
93
|
corresponding shared popover-position style to each portalled panel.
|
|
94
94
|
|
|
95
|
+
Collapsed app identities use the Streamoid mascot for Streamoid and readable
|
|
96
|
+
two-letter product marks (`Ta`, `Ar`, `Ca`, `Ph`) for the other apps. Pass
|
|
97
|
+
`collapsedMark` when a product has an approved compact logo, or
|
|
98
|
+
`collapsedLabel` to override the default abbreviation.
|
|
99
|
+
|
|
95
100
|
## 3. When to use it
|
|
96
101
|
|
|
97
102
|
Use it in authenticated application shells. Login pages, standalone settings
|
package/dist/index.css
CHANGED
|
@@ -3896,13 +3896,13 @@
|
|
|
3896
3896
|
.ScSidebarShell_appWordmark {
|
|
3897
3897
|
display: inline-flex;
|
|
3898
3898
|
min-width: 0;
|
|
3899
|
-
max-width:
|
|
3899
|
+
max-width: none;
|
|
3900
3900
|
align-items: center;
|
|
3901
3901
|
overflow: hidden;
|
|
3902
3902
|
}
|
|
3903
3903
|
.ScSidebarShell_appWordmark svg {
|
|
3904
|
-
|
|
3905
|
-
height:
|
|
3904
|
+
width: 110px;
|
|
3905
|
+
height: 16px;
|
|
3906
3906
|
}
|
|
3907
3907
|
.ScSidebarShell_appGridIcon {
|
|
3908
3908
|
display: grid;
|
|
@@ -3924,9 +3924,13 @@
|
|
|
3924
3924
|
align-items: center;
|
|
3925
3925
|
justify-content: center;
|
|
3926
3926
|
overflow: hidden;
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3927
|
+
border-radius: var(--radius-xl, 12px);
|
|
3928
|
+
background: var(--alias-fill-neutral-neutral, #1a1a1a);
|
|
3929
|
+
color: var(--alias-text---icons-primary, #f5f5f5);
|
|
3930
|
+
font-size: 14px;
|
|
3931
|
+
line-height: 20px;
|
|
3932
|
+
font-weight: 600;
|
|
3933
|
+
letter-spacing: -0.02em;
|
|
3930
3934
|
}
|
|
3931
3935
|
.ScSidebarShell_menu {
|
|
3932
3936
|
display: flex;
|
package/dist/index.d.mts
CHANGED
|
@@ -84,6 +84,8 @@ interface IScAppSwitchPanelProps {
|
|
|
84
84
|
/** Standard Changelog, Status Page, and Help and Support rows. Prefer this
|
|
85
85
|
* over rebuilding `systemItems` in each Streamoid application. */
|
|
86
86
|
utilities?: ScAppSwitchUtilities;
|
|
87
|
+
/** Panel heading. Defaults to "Switch Apps". Pass `null` to hide it. */
|
|
88
|
+
title?: string | null;
|
|
87
89
|
/** Optional section title. Omit it for a compact, divider-only section. */
|
|
88
90
|
systemLabel?: string;
|
|
89
91
|
className?: string;
|
|
@@ -100,7 +102,7 @@ declare const ScAppSwitchRow: ({ item, }: {
|
|
|
100
102
|
/** Shared product-switch list — the same across every Streamoid app. The host
|
|
101
103
|
* passes its product list (current app excluded) and its own logo lives in the
|
|
102
104
|
* surrounding sidebar; only this content is identical everywhere. */
|
|
103
|
-
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
105
|
+
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, title, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
104
106
|
|
|
105
107
|
interface IScBadgesProps {
|
|
106
108
|
text?: string;
|
|
@@ -625,11 +627,14 @@ declare function ScSidebarSearchTrigger({ expanded, label, shortcut, onClick, cl
|
|
|
625
627
|
interface ScSidebarAppIdentityProps {
|
|
626
628
|
expanded: boolean;
|
|
627
629
|
product?: AppcardProduct | "streamoid";
|
|
630
|
+
/** Optional compact label for collapsed rails. A supplied mark takes
|
|
631
|
+
* precedence; otherwise product-specific defaults such as Ar and Ca apply. */
|
|
632
|
+
collapsedLabel?: string;
|
|
628
633
|
collapsedMark?: ReactNode;
|
|
629
634
|
label?: string;
|
|
630
635
|
className?: string;
|
|
631
636
|
}
|
|
632
|
-
declare function ScSidebarAppIdentity({ expanded, product, collapsedMark, label, className, }: ScSidebarAppIdentityProps): JSX.Element;
|
|
637
|
+
declare function ScSidebarAppIdentity({ expanded, product, collapsedLabel, collapsedMark, label, className, }: ScSidebarAppIdentityProps): JSX.Element;
|
|
633
638
|
interface ScWorkspaceAccountMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
634
639
|
workspaceName: string;
|
|
635
640
|
workspaceRole?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ interface IScAppSwitchPanelProps {
|
|
|
84
84
|
/** Standard Changelog, Status Page, and Help and Support rows. Prefer this
|
|
85
85
|
* over rebuilding `systemItems` in each Streamoid application. */
|
|
86
86
|
utilities?: ScAppSwitchUtilities;
|
|
87
|
+
/** Panel heading. Defaults to "Switch Apps". Pass `null` to hide it. */
|
|
88
|
+
title?: string | null;
|
|
87
89
|
/** Optional section title. Omit it for a compact, divider-only section. */
|
|
88
90
|
systemLabel?: string;
|
|
89
91
|
className?: string;
|
|
@@ -100,7 +102,7 @@ declare const ScAppSwitchRow: ({ item, }: {
|
|
|
100
102
|
/** Shared product-switch list — the same across every Streamoid app. The host
|
|
101
103
|
* passes its product list (current app excluded) and its own logo lives in the
|
|
102
104
|
* surrounding sidebar; only this content is identical everywhere. */
|
|
103
|
-
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
105
|
+
declare const ScAppSwitchPanel: ({ apps, systemItems, utilities, title, systemLabel, className, style, }: IScAppSwitchPanelProps) => JSX.Element;
|
|
104
106
|
|
|
105
107
|
interface IScBadgesProps {
|
|
106
108
|
text?: string;
|
|
@@ -625,11 +627,14 @@ declare function ScSidebarSearchTrigger({ expanded, label, shortcut, onClick, cl
|
|
|
625
627
|
interface ScSidebarAppIdentityProps {
|
|
626
628
|
expanded: boolean;
|
|
627
629
|
product?: AppcardProduct | "streamoid";
|
|
630
|
+
/** Optional compact label for collapsed rails. A supplied mark takes
|
|
631
|
+
* precedence; otherwise product-specific defaults such as Ar and Ca apply. */
|
|
632
|
+
collapsedLabel?: string;
|
|
628
633
|
collapsedMark?: ReactNode;
|
|
629
634
|
label?: string;
|
|
630
635
|
className?: string;
|
|
631
636
|
}
|
|
632
|
-
declare function ScSidebarAppIdentity({ expanded, product, collapsedMark, label, className, }: ScSidebarAppIdentityProps): JSX.Element;
|
|
637
|
+
declare function ScSidebarAppIdentity({ expanded, product, collapsedLabel, collapsedMark, label, className, }: ScSidebarAppIdentityProps): JSX.Element;
|
|
633
638
|
interface ScWorkspaceAccountMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
634
639
|
workspaceName: string;
|
|
635
640
|
workspaceRole?: string;
|
package/dist/index.js
CHANGED
|
@@ -640,6 +640,7 @@ var ScAppSwitchPanel = ({
|
|
|
640
640
|
apps,
|
|
641
641
|
systemItems,
|
|
642
642
|
utilities,
|
|
643
|
+
title = "Switch Apps",
|
|
643
644
|
systemLabel,
|
|
644
645
|
className,
|
|
645
646
|
style
|
|
@@ -659,6 +660,34 @@ var ScAppSwitchPanel = ({
|
|
|
659
660
|
...style
|
|
660
661
|
},
|
|
661
662
|
children: [
|
|
663
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
664
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
665
|
+
"h2",
|
|
666
|
+
{
|
|
667
|
+
style: {
|
|
668
|
+
margin: 0,
|
|
669
|
+
padding: "var(--spacing-xl, 12px) var(--spacing-3xl, 16px) var(--spacing-sm, 4px)",
|
|
670
|
+
color: T.primary,
|
|
671
|
+
fontFamily: T.font,
|
|
672
|
+
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
673
|
+
lineHeight: "var(--line-height-line-height-sm, 20px)",
|
|
674
|
+
fontWeight: 500
|
|
675
|
+
},
|
|
676
|
+
children: title
|
|
677
|
+
}
|
|
678
|
+
),
|
|
679
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
680
|
+
"div",
|
|
681
|
+
{
|
|
682
|
+
"aria-hidden": true,
|
|
683
|
+
style: {
|
|
684
|
+
height: 1,
|
|
685
|
+
margin: "0 var(--spacing-md, 8px)",
|
|
686
|
+
background: "var(--alias-border-divider, #dedede)"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
)
|
|
690
|
+
] }) : null,
|
|
662
691
|
ordered.map((app) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ScAppSwitchRow, { item: app }, app.key)),
|
|
663
692
|
resolvedSystemItems.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
664
693
|
"div",
|
|
@@ -5121,9 +5150,16 @@ function ScSidebarSearchTrigger({
|
|
|
5121
5150
|
function AppGridIcon() {
|
|
5122
5151
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { "aria-hidden": true, className: ScSidebarShell_default.appGridIcon, children: Array.from({ length: 9 }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", {}, index)) });
|
|
5123
5152
|
}
|
|
5153
|
+
var COMPACT_APP_LABELS = {
|
|
5154
|
+
tactix: "Ta",
|
|
5155
|
+
artifax: "Ar",
|
|
5156
|
+
catalogix: "Ca",
|
|
5157
|
+
photogenix: "Ph"
|
|
5158
|
+
};
|
|
5124
5159
|
function ScSidebarAppIdentity({
|
|
5125
5160
|
expanded,
|
|
5126
5161
|
product = "streamoid",
|
|
5162
|
+
collapsedLabel,
|
|
5127
5163
|
collapsedMark,
|
|
5128
5164
|
label,
|
|
5129
5165
|
className
|
|
@@ -5136,9 +5172,15 @@ function ScSidebarAppIdentity({
|
|
|
5136
5172
|
title: "Switch Apps",
|
|
5137
5173
|
className: `${ScSidebarShell_default.appIdentity} ${expanded ? ScSidebarShell_default.appIdentityExpanded : ScSidebarShell_default.appIdentityCollapsed}${className ? ` ${className}` : ""}`,
|
|
5138
5174
|
children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
|
|
5139
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5175
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5176
|
+
ScAppcardLogos,
|
|
5177
|
+
{
|
|
5178
|
+
product,
|
|
5179
|
+
style: { width: 110, height: 16 }
|
|
5180
|
+
}
|
|
5181
|
+
) }),
|
|
5140
5182
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(AppGridIcon, {})
|
|
5141
|
-
] }) : collapsedMark ?? (product === "streamoid" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScStreamoidMascot, { size: 40 }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.collapsedProductMark, children:
|
|
5183
|
+
] }) : collapsedMark ?? (product === "streamoid" ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ScStreamoidMascot, { size: 40 }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { "aria-hidden": true, className: ScSidebarShell_default.collapsedProductMark, children: collapsedLabel ?? COMPACT_APP_LABELS[product] }))
|
|
5142
5184
|
}
|
|
5143
5185
|
);
|
|
5144
5186
|
}
|
|
@@ -5581,7 +5623,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5581
5623
|
window.innerHeight - bounds.bottom + inset
|
|
5582
5624
|
)
|
|
5583
5625
|
};
|
|
5584
|
-
|
|
5626
|
+
const next = {
|
|
5585
5627
|
position: "fixed",
|
|
5586
5628
|
left,
|
|
5587
5629
|
width: panelWidth,
|
|
@@ -5589,7 +5631,10 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5589
5631
|
maxHeight: `calc(100dvh - ${VIEWPORT_INSET * 2}px)`,
|
|
5590
5632
|
visibility: "visible",
|
|
5591
5633
|
...vertical
|
|
5592
|
-
}
|
|
5634
|
+
};
|
|
5635
|
+
setPosition(
|
|
5636
|
+
(prev) => prev.left === next.left && prev.width === next.width && prev.visibility === next.visibility && prev.top === next.top && prev.bottom === next.bottom ? prev : next
|
|
5637
|
+
);
|
|
5593
5638
|
};
|
|
5594
5639
|
resizeObserver = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
5595
5640
|
measure();
|
package/dist/index.mjs
CHANGED
|
@@ -214,7 +214,7 @@ function ScStreamoidMascot({
|
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
// src/SC-AppSwitch/ScAppSwitchPanel.tsx
|
|
217
|
-
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
217
|
+
import { Fragment, jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
218
218
|
var STREAMOID_CHANGELOG_URL = "https://doc.clickup.com/3414296/p/h/3868r-26044/13a22b6f796b2c8";
|
|
219
219
|
var STREAMOID_STATUS_PAGE_URL = "https://status.streamoid.com/";
|
|
220
220
|
function openExternal(url) {
|
|
@@ -472,6 +472,7 @@ var ScAppSwitchPanel = ({
|
|
|
472
472
|
apps,
|
|
473
473
|
systemItems,
|
|
474
474
|
utilities,
|
|
475
|
+
title = "Switch Apps",
|
|
475
476
|
systemLabel,
|
|
476
477
|
className,
|
|
477
478
|
style
|
|
@@ -491,6 +492,34 @@ var ScAppSwitchPanel = ({
|
|
|
491
492
|
...style
|
|
492
493
|
},
|
|
493
494
|
children: [
|
|
495
|
+
title ? /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
496
|
+
/* @__PURE__ */ jsx5(
|
|
497
|
+
"h2",
|
|
498
|
+
{
|
|
499
|
+
style: {
|
|
500
|
+
margin: 0,
|
|
501
|
+
padding: "var(--spacing-xl, 12px) var(--spacing-3xl, 16px) var(--spacing-sm, 4px)",
|
|
502
|
+
color: T.primary,
|
|
503
|
+
fontFamily: T.font,
|
|
504
|
+
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
505
|
+
lineHeight: "var(--line-height-line-height-sm, 20px)",
|
|
506
|
+
fontWeight: 500
|
|
507
|
+
},
|
|
508
|
+
children: title
|
|
509
|
+
}
|
|
510
|
+
),
|
|
511
|
+
/* @__PURE__ */ jsx5(
|
|
512
|
+
"div",
|
|
513
|
+
{
|
|
514
|
+
"aria-hidden": true,
|
|
515
|
+
style: {
|
|
516
|
+
height: 1,
|
|
517
|
+
margin: "0 var(--spacing-md, 8px)",
|
|
518
|
+
background: "var(--alias-border-divider, #dedede)"
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
)
|
|
522
|
+
] }) : null,
|
|
494
523
|
ordered.map((app) => /* @__PURE__ */ jsx5(ScAppSwitchRow, { item: app }, app.key)),
|
|
495
524
|
resolvedSystemItems.length > 0 ? /* @__PURE__ */ jsxs4(
|
|
496
525
|
"div",
|
|
@@ -643,7 +672,7 @@ var ScHeader_default = {
|
|
|
643
672
|
|
|
644
673
|
// src/SC-Header/ScHeader.tsx
|
|
645
674
|
import { SiconDoubleArrowUp, SiconDoubleArrowDown } from "@streamoid/icons";
|
|
646
|
-
import { Fragment, jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
675
|
+
import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
647
676
|
var ScHeader = ({
|
|
648
677
|
text = "Header",
|
|
649
678
|
state = "up",
|
|
@@ -661,13 +690,13 @@ var ScHeader = ({
|
|
|
661
690
|
text,
|
|
662
691
|
" "
|
|
663
692
|
] }),
|
|
664
|
-
state === "down" && /* @__PURE__ */ jsx8(
|
|
693
|
+
state === "down" && /* @__PURE__ */ jsx8(Fragment2, { children: /* @__PURE__ */ jsx8(
|
|
665
694
|
SiconDoubleArrowDown,
|
|
666
695
|
{
|
|
667
696
|
className: ScHeader_default.siconDoubleArrowDownInstance
|
|
668
697
|
}
|
|
669
698
|
) }),
|
|
670
|
-
state === "up" && /* @__PURE__ */ jsx8(
|
|
699
|
+
state === "up" && /* @__PURE__ */ jsx8(Fragment2, { children: /* @__PURE__ */ jsx8(
|
|
671
700
|
SiconDoubleArrowUp,
|
|
672
701
|
{
|
|
673
702
|
className: ScHeader_default.siconDoubleArrowUpInstance
|
|
@@ -996,7 +1025,7 @@ var ScCheckbox = ({
|
|
|
996
1025
|
};
|
|
997
1026
|
|
|
998
1027
|
// src/SC-Pairtext/ScPairtext.tsx
|
|
999
|
-
import { Fragment as
|
|
1028
|
+
import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1000
1029
|
var ScPairtext = ({
|
|
1001
1030
|
content = "Pairtext",
|
|
1002
1031
|
icon = /* @__PURE__ */ jsx12(SiconHome, { className: ScPairtext_default.siconHomeInstance }),
|
|
@@ -1018,11 +1047,11 @@ var ScPairtext = ({
|
|
|
1018
1047
|
onChange?.(!checked);
|
|
1019
1048
|
},
|
|
1020
1049
|
children: [
|
|
1021
|
-
iconPosition === "right" && /* @__PURE__ */ jsx12(
|
|
1050
|
+
iconPosition === "right" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsxs12("div", { className: ScPairtext_default.content, children: [
|
|
1022
1051
|
content,
|
|
1023
1052
|
" "
|
|
1024
1053
|
] }) }),
|
|
1025
|
-
type === "checkbox" && /* @__PURE__ */ jsx12(
|
|
1054
|
+
type === "checkbox" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsx12(
|
|
1026
1055
|
ScCheckbox,
|
|
1027
1056
|
{
|
|
1028
1057
|
state: derivedState,
|
|
@@ -1030,15 +1059,15 @@ var ScPairtext = ({
|
|
|
1030
1059
|
className: ScPairtext_default.scCheckboxInstance
|
|
1031
1060
|
}
|
|
1032
1061
|
) }),
|
|
1033
|
-
type === "radio" && /* @__PURE__ */ jsx12(
|
|
1062
|
+
type === "radio" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsx12(
|
|
1034
1063
|
ScRadio,
|
|
1035
1064
|
{
|
|
1036
1065
|
state: derivedState,
|
|
1037
1066
|
className: ScPairtext_default.scRadioInstance
|
|
1038
1067
|
}
|
|
1039
1068
|
) }),
|
|
1040
|
-
type === "icon" && /* @__PURE__ */ jsx12(
|
|
1041
|
-
iconPosition === "left" && /* @__PURE__ */ jsx12(
|
|
1069
|
+
type === "icon" && /* @__PURE__ */ jsx12(Fragment3, { children: icon }),
|
|
1070
|
+
iconPosition === "left" && /* @__PURE__ */ jsx12(Fragment3, { children: /* @__PURE__ */ jsxs12("div", { className: ScPairtext_default.content, children: [
|
|
1042
1071
|
content,
|
|
1043
1072
|
" "
|
|
1044
1073
|
] }) })
|
|
@@ -1124,7 +1153,7 @@ var ScButton_default = {
|
|
|
1124
1153
|
// src/SC-Button/ScButton.tsx
|
|
1125
1154
|
import { SiconHome as SiconHome2 } from "@streamoid/icons";
|
|
1126
1155
|
import { useState as useState2, useEffect, isValidElement, cloneElement } from "react";
|
|
1127
|
-
import { Fragment as
|
|
1156
|
+
import { Fragment as Fragment4, jsx as jsx14, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1128
1157
|
if (typeof window !== "undefined" && CSS.registerProperty) {
|
|
1129
1158
|
const props = [
|
|
1130
1159
|
{ name: "--x-0", val: "72%" },
|
|
@@ -1235,13 +1264,13 @@ var ScButton = ({
|
|
|
1235
1264
|
style: { backgroundImage: `url(${noiseUrl})` }
|
|
1236
1265
|
}
|
|
1237
1266
|
),
|
|
1238
|
-
/* @__PURE__ */ jsx14("div", { className: ScButton_default.container, children: loading ? /* @__PURE__ */ jsx14("span", { className: ScButton_default.spinner, "aria-hidden": true }) : children !== void 0 && children !== null ? /* @__PURE__ */ jsx14("div", { className: ScButton_default.label, children }) : /* @__PURE__ */ jsxs14(
|
|
1239
|
-
(styleVariant === "icon-left" || styleVariant === "icon-only") && /* @__PURE__ */ jsx14(
|
|
1240
|
-
(styleVariant === "default" || styleVariant === "icon-right" || styleVariant === "icon-left") && /* @__PURE__ */ jsx14(
|
|
1267
|
+
/* @__PURE__ */ jsx14("div", { className: ScButton_default.container, children: loading ? /* @__PURE__ */ jsx14("span", { className: ScButton_default.spinner, "aria-hidden": true }) : children !== void 0 && children !== null ? /* @__PURE__ */ jsx14("div", { className: ScButton_default.label, children }) : /* @__PURE__ */ jsxs14(Fragment4, { children: [
|
|
1268
|
+
(styleVariant === "icon-left" || styleVariant === "icon-only") && /* @__PURE__ */ jsx14(Fragment4, { children: styledIcon }),
|
|
1269
|
+
(styleVariant === "default" || styleVariant === "icon-right" || styleVariant === "icon-left") && /* @__PURE__ */ jsx14(Fragment4, { children: /* @__PURE__ */ jsxs14("div", { className: ScButton_default.label, children: [
|
|
1241
1270
|
text,
|
|
1242
1271
|
" "
|
|
1243
1272
|
] }) }),
|
|
1244
|
-
styleVariant === "icon-right" && /* @__PURE__ */ jsx14(
|
|
1273
|
+
styleVariant === "icon-right" && /* @__PURE__ */ jsx14(Fragment4, { children: styledIcon })
|
|
1245
1274
|
] }) })
|
|
1246
1275
|
]
|
|
1247
1276
|
}
|
|
@@ -2058,7 +2087,7 @@ var ScMenuOptions_default = {
|
|
|
2058
2087
|
|
|
2059
2088
|
// src/SC-Menu options/ScMenuOptions.tsx
|
|
2060
2089
|
import { SiconTeam } from "@streamoid/icons";
|
|
2061
|
-
import { Fragment as
|
|
2090
|
+
import { Fragment as Fragment5, jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2062
2091
|
var ScMenuOptions = ({
|
|
2063
2092
|
icon = /* @__PURE__ */ jsx26(SiconTeam, { className: ScMenuOptions_default.siconTeamInstance }),
|
|
2064
2093
|
version = "v2.0.21",
|
|
@@ -2080,7 +2109,7 @@ var ScMenuOptions = ({
|
|
|
2080
2109
|
text,
|
|
2081
2110
|
" "
|
|
2082
2111
|
] }),
|
|
2083
|
-
variant === "with-v" && /* @__PURE__ */ jsx26(
|
|
2112
|
+
variant === "with-v" && /* @__PURE__ */ jsx26(Fragment5, { children: /* @__PURE__ */ jsxs22("div", { className: ScMenuOptions_default.content2, children: [
|
|
2084
2113
|
version,
|
|
2085
2114
|
" "
|
|
2086
2115
|
] }) })
|
|
@@ -2593,7 +2622,7 @@ var ScPlanDetailsCard_default = {
|
|
|
2593
2622
|
// src/SC-Plan details card/ScPlanDetailsCard.tsx
|
|
2594
2623
|
import { SiconBilling } from "@streamoid/icons";
|
|
2595
2624
|
import { SiconHome as SiconHome4 } from "@streamoid/icons";
|
|
2596
|
-
import { Fragment as
|
|
2625
|
+
import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
2597
2626
|
var ScPlanDetailsCard = ({
|
|
2598
2627
|
planName = "Free",
|
|
2599
2628
|
planCredits = "30,000 credits",
|
|
@@ -2617,7 +2646,7 @@ var ScPlanDetailsCard = ({
|
|
|
2617
2646
|
className: ScPlanDetailsCard_default.scPairtextInstance
|
|
2618
2647
|
}
|
|
2619
2648
|
),
|
|
2620
|
-
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs25(
|
|
2649
|
+
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2621
2650
|
/* @__PURE__ */ jsx30(
|
|
2622
2651
|
ScBadges,
|
|
2623
2652
|
{
|
|
@@ -2627,7 +2656,7 @@ var ScPlanDetailsCard = ({
|
|
|
2627
2656
|
className: ScPlanDetailsCard_default.scBadgesInstance
|
|
2628
2657
|
}
|
|
2629
2658
|
),
|
|
2630
|
-
badgeSubText && /* @__PURE__ */ jsxs25(
|
|
2659
|
+
badgeSubText && /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2631
2660
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.badgeDot }),
|
|
2632
2661
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.badgeSubText, children: badgeSubText })
|
|
2633
2662
|
] })
|
|
@@ -2635,13 +2664,13 @@ var ScPlanDetailsCard = ({
|
|
|
2635
2664
|
] }),
|
|
2636
2665
|
/* @__PURE__ */ jsx30(ScHDivider, { className: ScPlanDetailsCard_default.scHDividerInstance }),
|
|
2637
2666
|
/* @__PURE__ */ jsxs25("div", { className: ScPlanDetailsCard_default.planDetails, children: [
|
|
2638
|
-
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs25(
|
|
2667
|
+
/* @__PURE__ */ jsx30("div", { className: ScPlanDetailsCard_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2639
2668
|
/* @__PURE__ */ jsxs25("div", { className: ScPlanDetailsCard_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
2640
2669
|
/* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.planNameSkeleton}` }),
|
|
2641
2670
|
/* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.creditsSkeleton}` })
|
|
2642
2671
|
] }),
|
|
2643
2672
|
/* @__PURE__ */ jsx30("span", { className: `${ScPlanDetailsCard_default.skeletonPill} ${ScPlanDetailsCard_default.priceSkeleton}` })
|
|
2644
|
-
] }) : /* @__PURE__ */ jsxs25(
|
|
2673
|
+
] }) : /* @__PURE__ */ jsxs25(Fragment6, { children: [
|
|
2645
2674
|
/* @__PURE__ */ jsxs25("div", { className: ScPlanDetailsCard_default.planNameRow, children: [
|
|
2646
2675
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.planName, children: planName }),
|
|
2647
2676
|
/* @__PURE__ */ jsx30("span", { className: ScPlanDetailsCard_default.dotSeparator }),
|
|
@@ -2674,7 +2703,7 @@ var ScProfile_default = {
|
|
|
2674
2703
|
};
|
|
2675
2704
|
|
|
2676
2705
|
// src/SC-Profile/ScProfile.tsx
|
|
2677
|
-
import { Fragment as
|
|
2706
|
+
import { Fragment as Fragment7, jsx as jsx31, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2678
2707
|
var ScProfile = ({
|
|
2679
2708
|
name = "Chris Hemsworth",
|
|
2680
2709
|
subText = "Kepler workspace",
|
|
@@ -2691,7 +2720,7 @@ var ScProfile = ({
|
|
|
2691
2720
|
...props,
|
|
2692
2721
|
children: [
|
|
2693
2722
|
/* @__PURE__ */ jsx31("img", { className: ScProfile_default.profileImage, src: profileImage }),
|
|
2694
|
-
collapsed === "false" && /* @__PURE__ */ jsx31(
|
|
2723
|
+
collapsed === "false" && /* @__PURE__ */ jsx31(Fragment7, { children: /* @__PURE__ */ jsxs26("div", { className: ScProfile_default.userInfo, children: [
|
|
2695
2724
|
/* @__PURE__ */ jsxs26("div", { className: ScProfile_default.userName, children: [
|
|
2696
2725
|
name,
|
|
2697
2726
|
" "
|
|
@@ -2840,7 +2869,7 @@ var ScWorkspace_default = {
|
|
|
2840
2869
|
};
|
|
2841
2870
|
|
|
2842
2871
|
// src/SC-Workspace/ScWorkspace.tsx
|
|
2843
|
-
import { Fragment as
|
|
2872
|
+
import { Fragment as Fragment8, jsx as jsx34, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2844
2873
|
var ScWorkspace = ({
|
|
2845
2874
|
collapsed = "false",
|
|
2846
2875
|
workspaceName = "Kepler",
|
|
@@ -2857,7 +2886,7 @@ var ScWorkspace = ({
|
|
|
2857
2886
|
...props,
|
|
2858
2887
|
children: [
|
|
2859
2888
|
/* @__PURE__ */ jsx34("img", { className: ScWorkspace_default.profileImage, src: profileImage }),
|
|
2860
|
-
collapsed === "false" && /* @__PURE__ */ jsx34(
|
|
2889
|
+
collapsed === "false" && /* @__PURE__ */ jsx34(Fragment8, { children: /* @__PURE__ */ jsxs28("div", { className: ScWorkspace_default.userInfo, children: [
|
|
2861
2890
|
/* @__PURE__ */ jsxs28("div", { className: ScWorkspace_default.userName, children: [
|
|
2862
2891
|
workspaceName,
|
|
2863
2892
|
" "
|
|
@@ -2891,7 +2920,7 @@ var ScTabComp_default = {
|
|
|
2891
2920
|
|
|
2892
2921
|
// src/SC-tabComp/ScTabComp.tsx
|
|
2893
2922
|
import { SiconHome as SiconHome5 } from "@streamoid/icons";
|
|
2894
|
-
import { Fragment as
|
|
2923
|
+
import { Fragment as Fragment9, jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2895
2924
|
var ScTabComp = ({
|
|
2896
2925
|
icon = /* @__PURE__ */ jsx35(SiconHome5, { className: ScTabComp_default.siconHomeInstance }),
|
|
2897
2926
|
active = "false",
|
|
@@ -2907,8 +2936,8 @@ var ScTabComp = ({
|
|
|
2907
2936
|
className: ScTabComp_default.scTabComp + " " + className + " " + variantsClassName,
|
|
2908
2937
|
...props,
|
|
2909
2938
|
children: [
|
|
2910
|
-
type === "icon-only" && /* @__PURE__ */ jsx35(
|
|
2911
|
-
type === "text-only" && /* @__PURE__ */ jsx35(
|
|
2939
|
+
type === "icon-only" && /* @__PURE__ */ jsx35(Fragment9, { children: /* @__PURE__ */ jsx35("div", { className: ScTabComp_default.icon, children: icon }) }),
|
|
2940
|
+
type === "text-only" && /* @__PURE__ */ jsx35(Fragment9, { children: /* @__PURE__ */ jsx35("div", { className: ScTabComp_default.textContainer, children: /* @__PURE__ */ jsxs29("div", { className: ScTabComp_default.tabText, children: [
|
|
2912
2941
|
text,
|
|
2913
2942
|
" "
|
|
2914
2943
|
] }) }) })
|
|
@@ -2929,7 +2958,7 @@ var ScTabSwitcher_default = {
|
|
|
2929
2958
|
|
|
2930
2959
|
// src/SC-tabSwitcher/ScTabSwitcher.tsx
|
|
2931
2960
|
import { SiconHome as SiconHome6 } from "@streamoid/icons";
|
|
2932
|
-
import { Fragment as
|
|
2961
|
+
import { Fragment as Fragment10, jsx as jsx36, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
2933
2962
|
var ScTabSwitcher = ({
|
|
2934
2963
|
tabCount = "2",
|
|
2935
2964
|
component,
|
|
@@ -2965,21 +2994,21 @@ var ScTabSwitcher = ({
|
|
|
2965
2994
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
2966
2995
|
}
|
|
2967
2996
|
),
|
|
2968
|
-
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(
|
|
2997
|
+
(tabCount === "3" || tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(Fragment10, { children: component3 ? component3 : /* @__PURE__ */ jsx36(
|
|
2969
2998
|
ScTabComp,
|
|
2970
2999
|
{
|
|
2971
3000
|
icon: /* @__PURE__ */ jsx36(SiconHome6, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
2972
3001
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
2973
3002
|
}
|
|
2974
3003
|
) }),
|
|
2975
|
-
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(
|
|
3004
|
+
(tabCount === "4" || tabCount === "5") && /* @__PURE__ */ jsx36(Fragment10, { children: component4 ? component4 : /* @__PURE__ */ jsx36(
|
|
2976
3005
|
ScTabComp,
|
|
2977
3006
|
{
|
|
2978
3007
|
icon: /* @__PURE__ */ jsx36(SiconHome6, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
2979
3008
|
className: ScTabSwitcher_default.scTabCompInstance
|
|
2980
3009
|
}
|
|
2981
3010
|
) }),
|
|
2982
|
-
tabCount === "5" && /* @__PURE__ */ jsx36(
|
|
3011
|
+
tabCount === "5" && /* @__PURE__ */ jsx36(Fragment10, { children: component5 ? component5 : /* @__PURE__ */ jsx36(
|
|
2983
3012
|
ScTabComp,
|
|
2984
3013
|
{
|
|
2985
3014
|
icon: /* @__PURE__ */ jsx36(SiconHome6, { className: ScTabSwitcher_default.siconHomeInstance }),
|
|
@@ -3263,7 +3292,7 @@ var ScInfoPopup = ({
|
|
|
3263
3292
|
};
|
|
3264
3293
|
|
|
3265
3294
|
// src/SC-textField/ScTextField.tsx
|
|
3266
|
-
import { Fragment as
|
|
3295
|
+
import { Fragment as Fragment11, jsx as jsx39, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
3267
3296
|
var ScTextField = forwardRef(
|
|
3268
3297
|
({
|
|
3269
3298
|
tfRightIcon = /* @__PURE__ */ jsx39(SiconBolt2, { className: ScTextField_default.siconBoltInstance }),
|
|
@@ -3311,8 +3340,8 @@ var ScTextField = forwardRef(
|
|
|
3311
3340
|
required && /* @__PURE__ */ jsx39("span", { className: ScTextField_default.required, children: "*" })
|
|
3312
3341
|
] }),
|
|
3313
3342
|
info != null && /* @__PURE__ */ jsx39(ScInfoPopup, { content: info }),
|
|
3314
|
-
labelGroup === "text" && /* @__PURE__ */ jsx39(
|
|
3315
|
-
labelGroup === "icon" && /* @__PURE__ */ jsx39(
|
|
3343
|
+
labelGroup === "text" && /* @__PURE__ */ jsx39(Fragment11, { children: /* @__PURE__ */ jsx39("div", { className: ScTextField_default.info, children: "info " }) }),
|
|
3344
|
+
labelGroup === "icon" && /* @__PURE__ */ jsx39(Fragment11, { children: /* @__PURE__ */ jsx39(SiconBolt2, { className: ScTextField_default.siconBoltInstance }) })
|
|
3316
3345
|
] }),
|
|
3317
3346
|
/* @__PURE__ */ jsxs33(
|
|
3318
3347
|
"div",
|
|
@@ -3321,7 +3350,7 @@ var ScTextField = forwardRef(
|
|
|
3321
3350
|
style: containerStyle,
|
|
3322
3351
|
children: [
|
|
3323
3352
|
leftSlot,
|
|
3324
|
-
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(
|
|
3353
|
+
(tfGroup === "icon-left" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(Fragment11, { children: tfLeftIcon }),
|
|
3325
3354
|
/* @__PURE__ */ jsx39(
|
|
3326
3355
|
"input",
|
|
3327
3356
|
{
|
|
@@ -3340,7 +3369,7 @@ var ScTextField = forwardRef(
|
|
|
3340
3369
|
}
|
|
3341
3370
|
}
|
|
3342
3371
|
),
|
|
3343
|
-
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(
|
|
3372
|
+
(tfGroup === "icon-right" || tfGroup === "icon-left-right") && /* @__PURE__ */ jsx39(Fragment11, { children: tfRightIcon }),
|
|
3344
3373
|
rightSlot
|
|
3345
3374
|
]
|
|
3346
3375
|
}
|
|
@@ -3492,7 +3521,7 @@ var ScSidebarMenu_default = {
|
|
|
3492
3521
|
|
|
3493
3522
|
// src/SC-Sidebar menu/ScSidebarMenu.tsx
|
|
3494
3523
|
import { SiconHome as SiconHome8 } from "@streamoid/icons";
|
|
3495
|
-
import { Fragment as
|
|
3524
|
+
import { Fragment as Fragment12, jsx as jsx42, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
3496
3525
|
var ScSidebarMenu = ({
|
|
3497
3526
|
icon = /* @__PURE__ */ jsx42(SiconHome8, { className: ScSidebarMenu_default.siconHomeInstance }),
|
|
3498
3527
|
state = "default",
|
|
@@ -3511,7 +3540,7 @@ var ScSidebarMenu = ({
|
|
|
3511
3540
|
...props,
|
|
3512
3541
|
children: [
|
|
3513
3542
|
icon,
|
|
3514
|
-
variant === "expanded" && /* @__PURE__ */ jsxs36(
|
|
3543
|
+
variant === "expanded" && /* @__PURE__ */ jsxs36(Fragment12, { children: [
|
|
3515
3544
|
/* @__PURE__ */ jsx42("div", { className: ScSidebarMenu_default.content, children: text }),
|
|
3516
3545
|
moreIcon && /* @__PURE__ */ jsx42(
|
|
3517
3546
|
"div",
|
|
@@ -3602,7 +3631,7 @@ var ScVersion_default = {
|
|
|
3602
3631
|
|
|
3603
3632
|
// src/SC-version/ScVersion.tsx
|
|
3604
3633
|
import { SiconCollapse } from "@streamoid/icons";
|
|
3605
|
-
import { Fragment as
|
|
3634
|
+
import { Fragment as Fragment13, jsx as jsx45, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3606
3635
|
var ScVersion = ({
|
|
3607
3636
|
state = "expanded",
|
|
3608
3637
|
version = "v2.1.2",
|
|
@@ -3618,7 +3647,7 @@ var ScVersion = ({
|
|
|
3618
3647
|
className: ScVersion_default.scVersion + " " + className + " " + variantsClassName,
|
|
3619
3648
|
...props,
|
|
3620
3649
|
children: [
|
|
3621
|
-
state === "collapsed" && /* @__PURE__ */ jsx45(
|
|
3650
|
+
state === "collapsed" && /* @__PURE__ */ jsx45(Fragment13, { children: /* @__PURE__ */ jsx45("div", { className: ScVersion_default.icon, children: component ? component : /* @__PURE__ */ jsx45(
|
|
3622
3651
|
ScSidebarIcons,
|
|
3623
3652
|
{
|
|
3624
3653
|
instance: scSidebarIconsinstance || /* @__PURE__ */ jsx45(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
@@ -3629,7 +3658,7 @@ var ScVersion = ({
|
|
|
3629
3658
|
version,
|
|
3630
3659
|
" "
|
|
3631
3660
|
] }),
|
|
3632
|
-
state === "expanded" && /* @__PURE__ */ jsx45(
|
|
3661
|
+
state === "expanded" && /* @__PURE__ */ jsx45(Fragment13, { children: /* @__PURE__ */ jsx45(
|
|
3633
3662
|
ScSidebarIcons,
|
|
3634
3663
|
{
|
|
3635
3664
|
instance: /* @__PURE__ */ jsx45(SiconCollapse, { className: ScVersion_default.siconCollapseInstance }),
|
|
@@ -3643,7 +3672,7 @@ var ScVersion = ({
|
|
|
3643
3672
|
};
|
|
3644
3673
|
|
|
3645
3674
|
// src/SC-Sidebar/ScSidebar.tsx
|
|
3646
|
-
import { Fragment as
|
|
3675
|
+
import { Fragment as Fragment14, jsx as jsx46, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3647
3676
|
var ScSidebar = ({
|
|
3648
3677
|
state = "expanded",
|
|
3649
3678
|
className,
|
|
@@ -3656,7 +3685,7 @@ var ScSidebar = ({
|
|
|
3656
3685
|
{
|
|
3657
3686
|
className: ScSidebar_default.scSidebar + " " + className + " " + variantsClassName,
|
|
3658
3687
|
children: [
|
|
3659
|
-
state === "collapsed" && /* @__PURE__ */ jsx46(
|
|
3688
|
+
state === "collapsed" && /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.collapsedContainer, children: [
|
|
3660
3689
|
/* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.collapsedItems, children: [
|
|
3661
3690
|
/* @__PURE__ */ jsx46(
|
|
3662
3691
|
ScLogoUnit,
|
|
@@ -3798,7 +3827,7 @@ var ScSidebar = ({
|
|
|
3798
3827
|
}
|
|
3799
3828
|
)
|
|
3800
3829
|
] }) }),
|
|
3801
|
-
state === "expanded" && /* @__PURE__ */ jsx46(
|
|
3830
|
+
state === "expanded" && /* @__PURE__ */ jsx46(Fragment14, { children: /* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.expandedContainer, children: [
|
|
3802
3831
|
/* @__PURE__ */ jsxs38("div", { className: ScSidebar_default.expandedItems, children: [
|
|
3803
3832
|
/* @__PURE__ */ jsx46(ScLogoUnit, { className: ScSidebar_default.scLogoUnitInstance }),
|
|
3804
3833
|
/* @__PURE__ */ jsx46("div", { className: ScSidebar_default.expandedItemContainer, children: /* @__PURE__ */ jsx46(
|
|
@@ -4074,7 +4103,7 @@ function ScSidebarResizeHandle({
|
|
|
4074
4103
|
}
|
|
4075
4104
|
|
|
4076
4105
|
// src/SC-Sidebar-new/streamoid-sidebar.tsx
|
|
4077
|
-
import { Fragment as
|
|
4106
|
+
import { Fragment as Fragment15, jsx as jsx49, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
4078
4107
|
function SectionHeader({ label }) {
|
|
4079
4108
|
return /* @__PURE__ */ jsx49("div", { className: "opacity-50 shrink-0 w-full", children: /* @__PURE__ */ jsx49("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsx49(
|
|
4080
4109
|
"div",
|
|
@@ -4344,7 +4373,7 @@ function StreamoidSidebar({
|
|
|
4344
4373
|
},
|
|
4345
4374
|
children: [
|
|
4346
4375
|
!hasSwitchCard ? logoRow : null,
|
|
4347
|
-
!!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs40(
|
|
4376
|
+
!!(topItems?.length || config.topItem) && /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4348
4377
|
/* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
|
|
4349
4378
|
/* @__PURE__ */ jsx49(
|
|
4350
4379
|
"div",
|
|
@@ -4369,7 +4398,7 @@ function StreamoidSidebar({
|
|
|
4369
4398
|
),
|
|
4370
4399
|
/* @__PURE__ */ jsx49(HDivider, {})
|
|
4371
4400
|
] }),
|
|
4372
|
-
showBody && bodyContent ? /* @__PURE__ */ jsx49("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsxs40(
|
|
4401
|
+
showBody && bodyContent ? /* @__PURE__ */ jsx49("div", { className: "flex flex-col flex-1 min-h-0 w-full overflow-hidden", children: bodyContent }) : /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4373
4402
|
!(topItems?.length || config.topItem) && /* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
|
|
4374
4403
|
config.sections.map((section) => /* @__PURE__ */ jsxs40(
|
|
4375
4404
|
"div",
|
|
@@ -4509,7 +4538,7 @@ function StreamoidSidebar({
|
|
|
4509
4538
|
]
|
|
4510
4539
|
}
|
|
4511
4540
|
)
|
|
4512
|
-
) : /* @__PURE__ */ jsxs40(
|
|
4541
|
+
) : /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4513
4542
|
/* @__PURE__ */ jsxs40(
|
|
4514
4543
|
"div",
|
|
4515
4544
|
{
|
|
@@ -4549,7 +4578,7 @@ function StreamoidSidebar({
|
|
|
4549
4578
|
]
|
|
4550
4579
|
}
|
|
4551
4580
|
),
|
|
4552
|
-
!effectiveHideFooter && /* @__PURE__ */ jsx49(
|
|
4581
|
+
!effectiveHideFooter && /* @__PURE__ */ jsx49(Fragment15, { children: /* @__PURE__ */ jsx49(HDivider, {}) })
|
|
4553
4582
|
] }) : null,
|
|
4554
4583
|
!effectiveHideFooter && !toggleInProfile && /* @__PURE__ */ jsx49("div", { className: "shrink-0 w-full", children: /* @__PURE__ */ jsx49("div", { className: "flex flex-row items-center size-full", children: /* @__PURE__ */ jsxs40(
|
|
4555
4584
|
"div",
|
|
@@ -4624,7 +4653,7 @@ function StreamoidSidebar({
|
|
|
4624
4653
|
}
|
|
4625
4654
|
}
|
|
4626
4655
|
),
|
|
4627
|
-
hasSwitchCard ? /* @__PURE__ */ jsxs40(
|
|
4656
|
+
hasSwitchCard ? /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4628
4657
|
/* @__PURE__ */ jsx49(
|
|
4629
4658
|
"div",
|
|
4630
4659
|
{
|
|
@@ -4677,7 +4706,7 @@ function StreamoidSidebar({
|
|
|
4677
4706
|
},
|
|
4678
4707
|
children: [
|
|
4679
4708
|
collapsedLogo,
|
|
4680
|
-
!!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs40(
|
|
4709
|
+
!!(topItems?.length || config.topItem) ? /* @__PURE__ */ jsxs40(Fragment15, { children: [
|
|
4681
4710
|
/* @__PURE__ */ jsx49(HDivider, { edgeToEdge: true }),
|
|
4682
4711
|
/* @__PURE__ */ jsx49(
|
|
4683
4712
|
"div",
|
|
@@ -4883,7 +4912,7 @@ var ScSidebarShell_default = {
|
|
|
4883
4912
|
};
|
|
4884
4913
|
|
|
4885
4914
|
// src/SC-SidebarShell/ScSidebarShell.tsx
|
|
4886
|
-
import { Fragment as
|
|
4915
|
+
import { Fragment as Fragment16, jsx as jsx50, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
4887
4916
|
function ScSidebarWorkspaceTrigger({
|
|
4888
4917
|
workspaceName,
|
|
4889
4918
|
workspaceImage,
|
|
@@ -4914,7 +4943,7 @@ function ScSidebarWorkspaceTrigger({
|
|
|
4914
4943
|
size: expanded ? 32 : 40
|
|
4915
4944
|
}
|
|
4916
4945
|
),
|
|
4917
|
-
expanded ? /* @__PURE__ */ jsxs41(
|
|
4946
|
+
expanded ? /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
4918
4947
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.workspaceName, children: workspaceName }),
|
|
4919
4948
|
/* @__PURE__ */ jsx50(
|
|
4920
4949
|
SiconDoubleArrow,
|
|
@@ -4951,7 +4980,7 @@ function ScSidebarSearchTrigger({
|
|
|
4951
4980
|
color: "var(--alias-text---icons-muted)"
|
|
4952
4981
|
}
|
|
4953
4982
|
),
|
|
4954
|
-
expanded ? /* @__PURE__ */ jsxs41(
|
|
4983
|
+
expanded ? /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
4955
4984
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.searchLabel, children: label }),
|
|
4956
4985
|
shortcut ? /* @__PURE__ */ jsx50("kbd", { className: ScSidebarShell_default.shortcut, children: shortcut }) : null
|
|
4957
4986
|
] }) : null
|
|
@@ -4962,9 +4991,16 @@ function ScSidebarSearchTrigger({
|
|
|
4962
4991
|
function AppGridIcon() {
|
|
4963
4992
|
return /* @__PURE__ */ jsx50("span", { "aria-hidden": true, className: ScSidebarShell_default.appGridIcon, children: Array.from({ length: 9 }, (_, index) => /* @__PURE__ */ jsx50("span", {}, index)) });
|
|
4964
4993
|
}
|
|
4994
|
+
var COMPACT_APP_LABELS = {
|
|
4995
|
+
tactix: "Ta",
|
|
4996
|
+
artifax: "Ar",
|
|
4997
|
+
catalogix: "Ca",
|
|
4998
|
+
photogenix: "Ph"
|
|
4999
|
+
};
|
|
4965
5000
|
function ScSidebarAppIdentity({
|
|
4966
5001
|
expanded,
|
|
4967
5002
|
product = "streamoid",
|
|
5003
|
+
collapsedLabel,
|
|
4968
5004
|
collapsedMark,
|
|
4969
5005
|
label,
|
|
4970
5006
|
className
|
|
@@ -4976,10 +5012,16 @@ function ScSidebarAppIdentity({
|
|
|
4976
5012
|
"aria-label": `Switch Apps. Current app: ${appLabel}`,
|
|
4977
5013
|
title: "Switch Apps",
|
|
4978
5014
|
className: `${ScSidebarShell_default.appIdentity} ${expanded ? ScSidebarShell_default.appIdentityExpanded : ScSidebarShell_default.appIdentityCollapsed}${className ? ` ${className}` : ""}`,
|
|
4979
|
-
children: expanded ? /* @__PURE__ */ jsxs41(
|
|
4980
|
-
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ jsx50(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ jsx50(
|
|
5015
|
+
children: expanded ? /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
5016
|
+
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.appWordmark, children: product === "streamoid" ? /* @__PURE__ */ jsx50(ScStreamoidWordmark, { width: 110, height: 16 }) : /* @__PURE__ */ jsx50(
|
|
5017
|
+
ScAppcardLogos,
|
|
5018
|
+
{
|
|
5019
|
+
product,
|
|
5020
|
+
style: { width: 110, height: 16 }
|
|
5021
|
+
}
|
|
5022
|
+
) }),
|
|
4981
5023
|
/* @__PURE__ */ jsx50(AppGridIcon, {})
|
|
4982
|
-
] }) : collapsedMark ?? (product === "streamoid" ? /* @__PURE__ */ jsx50(ScStreamoidMascot, { size: 40 }) : /* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.collapsedProductMark, children:
|
|
5024
|
+
] }) : collapsedMark ?? (product === "streamoid" ? /* @__PURE__ */ jsx50(ScStreamoidMascot, { size: 40 }) : /* @__PURE__ */ jsx50("span", { "aria-hidden": true, className: ScSidebarShell_default.collapsedProductMark, children: collapsedLabel ?? COMPACT_APP_LABELS[product] }))
|
|
4983
5025
|
}
|
|
4984
5026
|
);
|
|
4985
5027
|
}
|
|
@@ -4991,7 +5033,7 @@ function MenuActionRow({
|
|
|
4991
5033
|
trailing,
|
|
4992
5034
|
ariaLabel
|
|
4993
5035
|
}) {
|
|
4994
|
-
const content = /* @__PURE__ */ jsxs41(
|
|
5036
|
+
const content = /* @__PURE__ */ jsxs41(Fragment16, { children: [
|
|
4995
5037
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.rowIcon, children: icon }),
|
|
4996
5038
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.rowLabel, children: label }),
|
|
4997
5039
|
value != null ? /* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.rowValue, children: value }) : null,
|
|
@@ -5425,7 +5467,7 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5425
5467
|
window.innerHeight - bounds.bottom + inset
|
|
5426
5468
|
)
|
|
5427
5469
|
};
|
|
5428
|
-
|
|
5470
|
+
const next = {
|
|
5429
5471
|
position: "fixed",
|
|
5430
5472
|
left,
|
|
5431
5473
|
width: panelWidth,
|
|
@@ -5433,7 +5475,10 @@ function useStreamoidSidebarPopoverPosition(sidebarRef, {
|
|
|
5433
5475
|
maxHeight: `calc(100dvh - ${VIEWPORT_INSET * 2}px)`,
|
|
5434
5476
|
visibility: "visible",
|
|
5435
5477
|
...vertical
|
|
5436
|
-
}
|
|
5478
|
+
};
|
|
5479
|
+
setPosition(
|
|
5480
|
+
(prev) => prev.left === next.left && prev.width === next.width && prev.visibility === next.visibility && prev.top === next.top && prev.bottom === next.bottom ? prev : next
|
|
5481
|
+
);
|
|
5437
5482
|
};
|
|
5438
5483
|
resizeObserver = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
5439
5484
|
measure();
|
|
@@ -5490,7 +5535,7 @@ var ScArtifaxSidebar_default = {
|
|
|
5490
5535
|
|
|
5491
5536
|
// src/SC-Artifax-Sidebar/ScArtifaxSidebar.tsx
|
|
5492
5537
|
import { SiconCollapse as SiconCollapse3, SiconDown, SiconUp } from "@streamoid/icons";
|
|
5493
|
-
import { Fragment as
|
|
5538
|
+
import { Fragment as Fragment17, jsx as jsx51, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
5494
5539
|
function ArtifaxPlaceholderIcon() {
|
|
5495
5540
|
return /* @__PURE__ */ jsx51("span", { "aria-hidden": "true", className: ScArtifaxSidebar_default.placeholderIcon });
|
|
5496
5541
|
}
|
|
@@ -5498,9 +5543,9 @@ function resolveIcon2(iconMap, item, active, expanded) {
|
|
|
5498
5543
|
const renderer = iconMap?.[item.iconKey];
|
|
5499
5544
|
if (renderer == null) return /* @__PURE__ */ jsx51(ArtifaxPlaceholderIcon, {});
|
|
5500
5545
|
if (typeof renderer === "function") {
|
|
5501
|
-
return /* @__PURE__ */ jsx51(
|
|
5546
|
+
return /* @__PURE__ */ jsx51(Fragment17, { children: renderer({ item, active, expanded }) });
|
|
5502
5547
|
}
|
|
5503
|
-
return /* @__PURE__ */ jsx51(
|
|
5548
|
+
return /* @__PURE__ */ jsx51(Fragment17, { children: renderer });
|
|
5504
5549
|
}
|
|
5505
5550
|
function resolveToggleIcon2(toggleIcon, expanded) {
|
|
5506
5551
|
if (toggleIcon == null)
|
|
@@ -5795,7 +5840,7 @@ var ScSidebarSwitchMenu_default = {
|
|
|
5795
5840
|
};
|
|
5796
5841
|
|
|
5797
5842
|
// src/SC-Sidebar Switch menu/ScSidebarSwitchMenu.tsx
|
|
5798
|
-
import { Fragment as
|
|
5843
|
+
import { Fragment as Fragment18, jsx as jsx52, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
5799
5844
|
var ScSidebarSwitchMenu = ({
|
|
5800
5845
|
icon,
|
|
5801
5846
|
state = "default",
|
|
@@ -5815,7 +5860,7 @@ var ScSidebarSwitchMenu = ({
|
|
|
5815
5860
|
...props,
|
|
5816
5861
|
children: [
|
|
5817
5862
|
icon ? /* @__PURE__ */ jsx52("div", { className: ScSidebarSwitchMenu_default.iconWrapper, children: icon }) : null,
|
|
5818
|
-
variant === "expanded" && /* @__PURE__ */ jsxs43(
|
|
5863
|
+
variant === "expanded" && /* @__PURE__ */ jsxs43(Fragment18, { children: [
|
|
5819
5864
|
/* @__PURE__ */ jsxs43("div", { className: ScSidebarSwitchMenu_default.content, children: [
|
|
5820
5865
|
/* @__PURE__ */ jsx52("div", { className: ScSidebarSwitchMenu_default.text, children: text }),
|
|
5821
5866
|
/* @__PURE__ */ jsx52("div", { className: ScSidebarSwitchMenu_default.description, children: description })
|
|
@@ -7407,7 +7452,7 @@ var ScOnlyField = ({
|
|
|
7407
7452
|
|
|
7408
7453
|
// src/SC-catalogixInvite/ScCatalogixInvite.tsx
|
|
7409
7454
|
import { SiconHome as SiconHome9 } from "@streamoid/icons";
|
|
7410
|
-
import { Fragment as
|
|
7455
|
+
import { Fragment as Fragment19, jsx as jsx67, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
7411
7456
|
var ScCatalogixInvite = ({
|
|
7412
7457
|
active = "false",
|
|
7413
7458
|
appName = "Catalogix",
|
|
@@ -7454,7 +7499,7 @@ var ScCatalogixInvite = ({
|
|
|
7454
7499
|
}
|
|
7455
7500
|
)
|
|
7456
7501
|
] }),
|
|
7457
|
-
isEnabled && /* @__PURE__ */ jsx67(
|
|
7502
|
+
isEnabled && /* @__PURE__ */ jsx67(Fragment19, { children: /* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessContainer, children: [
|
|
7458
7503
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessHeader, children: [
|
|
7459
7504
|
/* @__PURE__ */ jsxs57("div", { className: ScCatalogixInvite_default.storeAccessTitle, children: [
|
|
7460
7505
|
storeAccessTitle,
|
|
@@ -7493,7 +7538,7 @@ var ScCatalogixInvite = ({
|
|
|
7493
7538
|
fontFamily: "var(--font-family-font-family-body, Inter, sans-serif)",
|
|
7494
7539
|
fontSize: "var(--font-size-font-size-sm, 14px)",
|
|
7495
7540
|
lineHeight: "var(--line-height-line-height-sm, 20px)"
|
|
7496
|
-
}, children: "No stores found" }) : /* @__PURE__ */ jsxs57(
|
|
7541
|
+
}, children: "No stores found" }) : /* @__PURE__ */ jsxs57(Fragment19, { children: [
|
|
7497
7542
|
/* @__PURE__ */ jsx67(
|
|
7498
7543
|
ScPairtext,
|
|
7499
7544
|
{
|
|
@@ -7668,7 +7713,7 @@ var ScCheckField_default = {
|
|
|
7668
7713
|
|
|
7669
7714
|
// src/SC-checkField/ScCheckField.tsx
|
|
7670
7715
|
import { SiconHome as SiconHome10 } from "@streamoid/icons";
|
|
7671
|
-
import { Fragment as
|
|
7716
|
+
import { Fragment as Fragment20, jsx as jsx70, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
7672
7717
|
var ScCheckField = ({
|
|
7673
7718
|
label = "Label",
|
|
7674
7719
|
className,
|
|
@@ -7690,7 +7735,7 @@ var ScCheckField = ({
|
|
|
7690
7735
|
className: ScCheckField_default.scPairtextInstance
|
|
7691
7736
|
},
|
|
7692
7737
|
i
|
|
7693
|
-
)) : /* @__PURE__ */ jsxs60(
|
|
7738
|
+
)) : /* @__PURE__ */ jsxs60(Fragment20, { children: [
|
|
7694
7739
|
/* @__PURE__ */ jsx70(
|
|
7695
7740
|
ScPairtext,
|
|
7696
7741
|
{
|
|
@@ -7723,7 +7768,7 @@ var ScFieldButton_default = {
|
|
|
7723
7768
|
|
|
7724
7769
|
// src/SC-fieldButton/ScFieldButton.tsx
|
|
7725
7770
|
import { SiconHome as SiconHome11 } from "@streamoid/icons";
|
|
7726
|
-
import { Fragment as
|
|
7771
|
+
import { Fragment as Fragment21, jsx as jsx71, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
7727
7772
|
var ScFieldButton = ({
|
|
7728
7773
|
icon = /* @__PURE__ */ jsx71(SiconHome11, { className: ScFieldButton_default.siconHomeInstance }),
|
|
7729
7774
|
type = "default",
|
|
@@ -7739,12 +7784,12 @@ var ScFieldButton = ({
|
|
|
7739
7784
|
className: ScFieldButton_default.scFieldButton + " " + className + " " + variantsClassName,
|
|
7740
7785
|
...props,
|
|
7741
7786
|
children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.container, children: [
|
|
7742
|
-
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx71(
|
|
7743
|
-
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx71(
|
|
7787
|
+
(type === "icon-right" || type === "only-icon") && /* @__PURE__ */ jsx71(Fragment21, { children: icon }),
|
|
7788
|
+
(type === "icon-left" || type === "default" || type === "icon-right") && /* @__PURE__ */ jsx71(Fragment21, { children: /* @__PURE__ */ jsxs61("div", { className: ScFieldButton_default.label, children: [
|
|
7744
7789
|
text,
|
|
7745
7790
|
" "
|
|
7746
7791
|
] }) }),
|
|
7747
|
-
type === "icon-left" && /* @__PURE__ */ jsx71(
|
|
7792
|
+
type === "icon-left" && /* @__PURE__ */ jsx71(Fragment21, { children: icon })
|
|
7748
7793
|
] })
|
|
7749
7794
|
}
|
|
7750
7795
|
);
|
|
@@ -8032,7 +8077,7 @@ var ScTableHeader_default = {
|
|
|
8032
8077
|
};
|
|
8033
8078
|
|
|
8034
8079
|
// src/SC-tableHeader/ScTableHeader.tsx
|
|
8035
|
-
import { Fragment as
|
|
8080
|
+
import { Fragment as Fragment22, jsx as jsx78, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
8036
8081
|
var ScTableHeader = ({
|
|
8037
8082
|
type = "default",
|
|
8038
8083
|
className,
|
|
@@ -8076,7 +8121,7 @@ var ScTableHeader = ({
|
|
|
8076
8121
|
className: ScTableHeader_default.scHeaderInstance4
|
|
8077
8122
|
}
|
|
8078
8123
|
),
|
|
8079
|
-
type === "pending" && /* @__PURE__ */ jsx78(
|
|
8124
|
+
type === "pending" && /* @__PURE__ */ jsx78(Fragment22, { children: /* @__PURE__ */ jsx78(
|
|
8080
8125
|
ScHeader,
|
|
8081
8126
|
{
|
|
8082
8127
|
text: "Invite action",
|
|
@@ -8084,7 +8129,7 @@ var ScTableHeader = ({
|
|
|
8084
8129
|
className: ScTableHeader_default.scHeaderInstance5
|
|
8085
8130
|
}
|
|
8086
8131
|
) }),
|
|
8087
|
-
type === "default" && /* @__PURE__ */ jsx78(
|
|
8132
|
+
type === "default" && /* @__PURE__ */ jsx78(Fragment22, { children: /* @__PURE__ */ jsx78(
|
|
8088
8133
|
ScHeader,
|
|
8089
8134
|
{
|
|
8090
8135
|
text: "Signed On",
|
|
@@ -8118,7 +8163,7 @@ var ScTableList_default = {
|
|
|
8118
8163
|
// src/SC-tableList/ScTableList.tsx
|
|
8119
8164
|
import { SiconArtifacts as SiconArtifacts6, SiconPhotogenix as SiconPhotogenix3 } from "@streamoid/icons";
|
|
8120
8165
|
import { SiconUserAdd, SiconCoins } from "@streamoid/icons";
|
|
8121
|
-
import { Fragment as
|
|
8166
|
+
import { Fragment as Fragment23, jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
8122
8167
|
var ScTableList = ({
|
|
8123
8168
|
invitedBy = "Rohan",
|
|
8124
8169
|
signedOn = "Nov 9th, 2025",
|
|
@@ -8168,13 +8213,13 @@ var ScTableList = ({
|
|
|
8168
8213
|
invitedBy,
|
|
8169
8214
|
" "
|
|
8170
8215
|
] }),
|
|
8171
|
-
variant === "pending" && /* @__PURE__ */ jsx79(
|
|
8216
|
+
variant === "pending" && /* @__PURE__ */ jsx79(Fragment23, { children: /* @__PURE__ */ jsx79(
|
|
8172
8217
|
ScPendingAction,
|
|
8173
8218
|
{
|
|
8174
8219
|
className: ScTableList_default.scPendingActionInstance
|
|
8175
8220
|
}
|
|
8176
8221
|
) }),
|
|
8177
|
-
variant === "active" && /* @__PURE__ */ jsx79(
|
|
8222
|
+
variant === "active" && /* @__PURE__ */ jsx79(Fragment23, { children: /* @__PURE__ */ jsxs69("div", { className: ScTableList_default.date, children: [
|
|
8178
8223
|
signedOn,
|
|
8179
8224
|
" "
|
|
8180
8225
|
] }) })
|
|
@@ -8522,7 +8567,7 @@ var ScDrawer_default = {
|
|
|
8522
8567
|
};
|
|
8523
8568
|
|
|
8524
8569
|
// src/SC-Drawer/ScDrawer.tsx
|
|
8525
|
-
import { Fragment as
|
|
8570
|
+
import { Fragment as Fragment24, jsx as jsx83, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
8526
8571
|
var ScDrawer = ({
|
|
8527
8572
|
children,
|
|
8528
8573
|
onClose,
|
|
@@ -8557,7 +8602,7 @@ var ScDrawer = ({
|
|
|
8557
8602
|
}, [open, closeOnEsc, closeOnOutside, onClose]);
|
|
8558
8603
|
if (!open || typeof document === "undefined") return null;
|
|
8559
8604
|
return createPortal2(
|
|
8560
|
-
/* @__PURE__ */ jsxs72(
|
|
8605
|
+
/* @__PURE__ */ jsxs72(Fragment24, { children: [
|
|
8561
8606
|
backdrop && /* @__PURE__ */ jsx83(
|
|
8562
8607
|
"div",
|
|
8563
8608
|
{
|
|
@@ -9046,7 +9091,7 @@ var ScTaxonomyPill_default = {
|
|
|
9046
9091
|
|
|
9047
9092
|
// src/SC-TaxonomyPill/ScTaxonomyPill.tsx
|
|
9048
9093
|
import { SiconDown as SiconDown2, SiconUp as SiconUp2 } from "@streamoid/icons";
|
|
9049
|
-
import { Fragment as
|
|
9094
|
+
import { Fragment as Fragment25, jsx as jsx93, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
9050
9095
|
var ScTaxonomyPill = ({
|
|
9051
9096
|
type = "pill",
|
|
9052
9097
|
state = "default",
|
|
@@ -9063,7 +9108,7 @@ var ScTaxonomyPill = ({
|
|
|
9063
9108
|
].filter(Boolean).join(" ");
|
|
9064
9109
|
return /* @__PURE__ */ jsx93("div", { className: cls, ...props, children: /* @__PURE__ */ jsxs81("div", { className: ScTaxonomyPill_default.inner, children: [
|
|
9065
9110
|
type === "pill" && /* @__PURE__ */ jsx93("span", { className: ScTaxonomyPill_default.label, children: label }),
|
|
9066
|
-
type === "expand" && /* @__PURE__ */ jsxs81(
|
|
9111
|
+
type === "expand" && /* @__PURE__ */ jsxs81(Fragment25, { children: [
|
|
9067
9112
|
/* @__PURE__ */ jsx93("span", { className: ScTaxonomyPill_default.label, children: count }),
|
|
9068
9113
|
/* @__PURE__ */ jsx93(SiconDown2, { className: ScTaxonomyPill_default.icon, color: "currentColor" })
|
|
9069
9114
|
] }),
|
|
@@ -9191,7 +9236,7 @@ var ScMappingCard_default = {
|
|
|
9191
9236
|
};
|
|
9192
9237
|
|
|
9193
9238
|
// src/SC-MappingCard/ScMappingCard.tsx
|
|
9194
|
-
import { Fragment as
|
|
9239
|
+
import { Fragment as Fragment26, jsx as jsx96, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
9195
9240
|
var ScMappingCard = ({
|
|
9196
9241
|
badge,
|
|
9197
9242
|
columnName,
|
|
@@ -9278,7 +9323,7 @@ var ScMappingCard = ({
|
|
|
9278
9323
|
] })
|
|
9279
9324
|
] }),
|
|
9280
9325
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actions, children: [
|
|
9281
|
-
isDefault && /* @__PURE__ */ jsxs82(
|
|
9326
|
+
isDefault && /* @__PURE__ */ jsxs82(Fragment26, { children: [
|
|
9282
9327
|
/* @__PURE__ */ jsxs82("div", { className: ScMappingCard_default.actionRow, children: [
|
|
9283
9328
|
/* @__PURE__ */ jsx96(
|
|
9284
9329
|
"button",
|
|
@@ -10137,7 +10182,7 @@ var ScMediaApproval_default = {
|
|
|
10137
10182
|
};
|
|
10138
10183
|
|
|
10139
10184
|
// src/SC-mediaApproval/ScMediaApproval.tsx
|
|
10140
|
-
import { Fragment as
|
|
10185
|
+
import { Fragment as Fragment27, jsx as jsx106, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
10141
10186
|
var VIDEO_EXT = /\.(mp4|webm|ogg|mov|m4v)(\?.*)?$/i;
|
|
10142
10187
|
var isVideoUrl = (url, mediaType) => {
|
|
10143
10188
|
if (mediaType === "video") return true;
|
|
@@ -10219,7 +10264,7 @@ var ScMediaApproval = (props) => {
|
|
|
10219
10264
|
)
|
|
10220
10265
|
}
|
|
10221
10266
|
) }),
|
|
10222
|
-
total > 1 && /* @__PURE__ */ jsxs90(
|
|
10267
|
+
total > 1 && /* @__PURE__ */ jsxs90(Fragment27, { children: [
|
|
10223
10268
|
/* @__PURE__ */ jsx106(
|
|
10224
10269
|
"button",
|
|
10225
10270
|
{
|
|
@@ -10962,7 +11007,7 @@ var ScMobileTopNav_default = {
|
|
|
10962
11007
|
};
|
|
10963
11008
|
|
|
10964
11009
|
// src/SC-MobileTopNav/ScMobileTopNav.tsx
|
|
10965
|
-
import { Fragment as
|
|
11010
|
+
import { Fragment as Fragment28, jsx as jsx114, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
10966
11011
|
var ScMobileTopNav = ({
|
|
10967
11012
|
type = "home",
|
|
10968
11013
|
searchIcon = false,
|
|
@@ -10992,12 +11037,12 @@ var ScMobileTopNav = ({
|
|
|
10992
11037
|
...props,
|
|
10993
11038
|
children: [
|
|
10994
11039
|
type === "home" && /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
10995
|
-
type === "chat" && /* @__PURE__ */ jsxs97(
|
|
11040
|
+
type === "chat" && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
10996
11041
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
10997
11042
|
/* @__PURE__ */ jsx114("p", { className: ScMobileTopNav_default.chatTitle, children: chatTitle }),
|
|
10998
11043
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMoreClick, children: moreIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
10999
11044
|
] }),
|
|
11000
|
-
showSearch && /* @__PURE__ */ jsxs97(
|
|
11045
|
+
showSearch && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11001
11046
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.searchRow, children: /* @__PURE__ */ jsxs97("div", { className: ScMobileTopNav_default.searchInputContainer, children: [
|
|
11002
11047
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onSearchClick, children: searchIconElement || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11003
11048
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.searchInput, children: /* @__PURE__ */ jsx114(
|
|
@@ -11013,7 +11058,7 @@ var ScMobileTopNav = ({
|
|
|
11013
11058
|
] }) }),
|
|
11014
11059
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onCloseClick, children: closeIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) })
|
|
11015
11060
|
] }),
|
|
11016
|
-
type === "inApp" && !search && /* @__PURE__ */ jsxs97(
|
|
11061
|
+
type === "inApp" && !search && /* @__PURE__ */ jsxs97(Fragment28, { children: [
|
|
11017
11062
|
/* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconContainer, onClick: onMenuClick, children: menuIcon || /* @__PURE__ */ jsx114("div", { className: ScMobileTopNav_default.iconPlaceholder }) }),
|
|
11018
11063
|
/* @__PURE__ */ jsx114("p", { className: ScMobileTopNav_default.heading, children: heading }),
|
|
11019
11064
|
/* @__PURE__ */ jsx114(
|
|
@@ -11501,7 +11546,7 @@ var ScPlanDetailsCardMobile_default = {
|
|
|
11501
11546
|
|
|
11502
11547
|
// src/SC-Plan details card-Mobile/ScPlanDetailsCardMobile.tsx
|
|
11503
11548
|
import { SiconBilling as SiconBilling5 } from "@streamoid/icons";
|
|
11504
|
-
import { Fragment as
|
|
11549
|
+
import { Fragment as Fragment29, jsx as jsx124, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
11505
11550
|
var ScPlanDetailsCardMobile = ({
|
|
11506
11551
|
planName = "Pro",
|
|
11507
11552
|
planCredits = "30,000 credits",
|
|
@@ -11527,7 +11572,7 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11527
11572
|
),
|
|
11528
11573
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.headerLabel, children: currentPlanLabel })
|
|
11529
11574
|
] }),
|
|
11530
|
-
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs106(
|
|
11575
|
+
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.badgeGroup, children: isLoading ? /* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.badgeSkeleton}` }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11531
11576
|
/* @__PURE__ */ jsx124(
|
|
11532
11577
|
ScBadges,
|
|
11533
11578
|
{
|
|
@@ -11537,20 +11582,20 @@ var ScPlanDetailsCardMobile = ({
|
|
|
11537
11582
|
className: ScPlanDetailsCardMobile_default.scBadgesInstance
|
|
11538
11583
|
}
|
|
11539
11584
|
),
|
|
11540
|
-
badgeSubText && /* @__PURE__ */ jsxs106(
|
|
11585
|
+
badgeSubText && /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11541
11586
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.badgeDot }),
|
|
11542
11587
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.badgeSubText, children: badgeSubText })
|
|
11543
11588
|
] })
|
|
11544
11589
|
] }) })
|
|
11545
11590
|
] }),
|
|
11546
11591
|
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.divider }),
|
|
11547
|
-
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs106(
|
|
11592
|
+
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.planInfo, children: isLoading ? /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11548
11593
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, "aria-label": "Loading plan details", children: [
|
|
11549
11594
|
/* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.planNameSkeleton}` }),
|
|
11550
11595
|
/* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.creditsSkeleton}` })
|
|
11551
11596
|
] }),
|
|
11552
11597
|
/* @__PURE__ */ jsx124("span", { className: `${ScPlanDetailsCardMobile_default.skeletonPill} ${ScPlanDetailsCardMobile_default.priceSkeleton}` })
|
|
11553
|
-
] }) : /* @__PURE__ */ jsxs106(
|
|
11598
|
+
] }) : /* @__PURE__ */ jsxs106(Fragment29, { children: [
|
|
11554
11599
|
/* @__PURE__ */ jsxs106("div", { className: ScPlanDetailsCardMobile_default.planNameRow, children: [
|
|
11555
11600
|
/* @__PURE__ */ jsx124("span", { className: ScPlanDetailsCardMobile_default.planName, children: planName }),
|
|
11556
11601
|
/* @__PURE__ */ jsx124("div", { className: ScPlanDetailsCardMobile_default.dot }),
|
|
@@ -11610,7 +11655,7 @@ import {
|
|
|
11610
11655
|
SiconLight as SiconLight3,
|
|
11611
11656
|
SiconDark as SiconDark3
|
|
11612
11657
|
} from "@streamoid/icons";
|
|
11613
|
-
import { Fragment as
|
|
11658
|
+
import { Fragment as Fragment30, jsx as jsx125, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
11614
11659
|
var activateOnKey = (handler) => (event) => {
|
|
11615
11660
|
if (!handler) return;
|
|
11616
11661
|
if (event.key === "Enter" || event.key === " ") {
|
|
@@ -11733,7 +11778,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11733
11778
|
)
|
|
11734
11779
|
] })
|
|
11735
11780
|
] }),
|
|
11736
|
-
hasWorkspaceBlock && /* @__PURE__ */ jsxs107(
|
|
11781
|
+
hasWorkspaceBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
11737
11782
|
/* @__PURE__ */ jsx125(ScHDivider, { className: "" }),
|
|
11738
11783
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.profileDetails, children: [
|
|
11739
11784
|
showWorkspace && /* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.workspaceInfo, children: [
|
|
@@ -11768,7 +11813,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11768
11813
|
] })
|
|
11769
11814
|
] })
|
|
11770
11815
|
] }),
|
|
11771
|
-
hasMenuBlock && /* @__PURE__ */ jsxs107(
|
|
11816
|
+
hasMenuBlock && /* @__PURE__ */ jsxs107(Fragment30, { children: [
|
|
11772
11817
|
/* @__PURE__ */ jsx125(ScHDivider, { className: "" }),
|
|
11773
11818
|
/* @__PURE__ */ jsxs107("div", { className: ScProfilePopup_default.settingsOptions, children: [
|
|
11774
11819
|
showTeams && menuRow(/* @__PURE__ */ jsx125(SiconTeam8, { size: 24 }), teamsLabel, onTeams),
|