@streamoid/ui 0.6.19 → 0.6.20
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 +6 -0
- package/dist/index.js +8 -4
- package/dist/index.mjs +14 -11
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -4031,6 +4031,12 @@ button.ScSidebarShell_actionRow:hover {
|
|
|
4031
4031
|
width: 20px;
|
|
4032
4032
|
height: 20px;
|
|
4033
4033
|
}
|
|
4034
|
+
.ScSidebarShell_chevronRight {
|
|
4035
|
+
color: var(--alias-text---icons-muted, #7a7a7a);
|
|
4036
|
+
font-size: 22px;
|
|
4037
|
+
font-weight: 300;
|
|
4038
|
+
line-height: 18px;
|
|
4039
|
+
}
|
|
4034
4040
|
.ScSidebarShell_rowLabel {
|
|
4035
4041
|
min-width: 0;
|
|
4036
4042
|
flex: 1;
|
package/dist/index.js
CHANGED
|
@@ -4951,6 +4951,7 @@ var ScSidebarShell_default = {
|
|
|
4951
4951
|
actionRowStatic: "ScSidebarShell_actionRowStatic",
|
|
4952
4952
|
rowIcon: "ScSidebarShell_rowIcon",
|
|
4953
4953
|
rowTrailing: "ScSidebarShell_rowTrailing",
|
|
4954
|
+
chevronRight: "ScSidebarShell_chevronRight",
|
|
4954
4955
|
themePicker: "ScSidebarShell_themePicker",
|
|
4955
4956
|
themeButton: "ScSidebarShell_themeButton",
|
|
4956
4957
|
themeButtonSelected: "ScSidebarShell_themeButtonSelected"
|
|
@@ -5085,6 +5086,9 @@ function MenuActionRow({
|
|
|
5085
5086
|
function SectionTitle({ children }) {
|
|
5086
5087
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("h2", { className: ScSidebarShell_default.sectionTitle, children });
|
|
5087
5088
|
}
|
|
5089
|
+
function ChevronRight() {
|
|
5090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { "aria-hidden": true, className: ScSidebarShell_default.chevronRight, children: "\u203A" });
|
|
5091
|
+
}
|
|
5088
5092
|
function ScWorkspaceAccountMenu({
|
|
5089
5093
|
workspaceName,
|
|
5090
5094
|
workspaceRole = "Member",
|
|
@@ -5149,7 +5153,7 @@ function ScWorkspaceAccountMenu({
|
|
|
5149
5153
|
" \xB7 Switch or create"
|
|
5150
5154
|
] })
|
|
5151
5155
|
] }),
|
|
5152
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5156
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {})
|
|
5153
5157
|
]
|
|
5154
5158
|
}
|
|
5155
5159
|
),
|
|
@@ -5177,11 +5181,11 @@ function ScWorkspaceAccountMenu({
|
|
|
5177
5181
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5178
5182
|
MenuActionRow,
|
|
5179
5183
|
{
|
|
5180
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons37.
|
|
5184
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_icons37.SiconWorkspace, { size: 20, color: primaryIcon }),
|
|
5181
5185
|
label: organizationName || "No organization",
|
|
5182
5186
|
value: organizationName && organizationRole ? organizationRole : void 0,
|
|
5183
5187
|
ariaLabel: organizationName ? `Open ${organizationName} organization settings` : void 0,
|
|
5184
|
-
trailing: organizationName ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5188
|
+
trailing: organizationName ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {}) : void 0,
|
|
5185
5189
|
onClick: organizationName ? onOrganizationClick : void 0
|
|
5186
5190
|
}
|
|
5187
5191
|
)
|
|
@@ -5211,7 +5215,7 @@ function ScWorkspaceAccountMenu({
|
|
|
5211
5215
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.identityName, children: accountName }),
|
|
5212
5216
|
accountEmail ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: ScSidebarShell_default.identitySubtitle, children: accountEmail }) : null
|
|
5213
5217
|
] }),
|
|
5214
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
5218
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {})
|
|
5215
5219
|
]
|
|
5216
5220
|
}
|
|
5217
5221
|
),
|
package/dist/index.mjs
CHANGED
|
@@ -4756,14 +4756,13 @@ function StreamoidSidebar({
|
|
|
4756
4756
|
// src/SC-SidebarShell/ScSidebarShell.tsx
|
|
4757
4757
|
import {
|
|
4758
4758
|
SiconBilling as SiconBilling4,
|
|
4759
|
-
SiconBuilding,
|
|
4760
|
-
SiconChevronRight,
|
|
4761
4759
|
SiconDark as SiconDark2,
|
|
4762
4760
|
SiconDoubleArrow,
|
|
4763
4761
|
SiconLight as SiconLight2,
|
|
4764
4762
|
SiconSearch,
|
|
4765
4763
|
SiconSystem as SiconSystem2,
|
|
4766
|
-
SiconTeam as SiconTeam4
|
|
4764
|
+
SiconTeam as SiconTeam4,
|
|
4765
|
+
SiconWorkspace
|
|
4767
4766
|
} from "@streamoid/icons";
|
|
4768
4767
|
|
|
4769
4768
|
// src/SC-SidebarShell/ScSidebarShell.module.css
|
|
@@ -4797,6 +4796,7 @@ var ScSidebarShell_default = {
|
|
|
4797
4796
|
actionRowStatic: "ScSidebarShell_actionRowStatic",
|
|
4798
4797
|
rowIcon: "ScSidebarShell_rowIcon",
|
|
4799
4798
|
rowTrailing: "ScSidebarShell_rowTrailing",
|
|
4799
|
+
chevronRight: "ScSidebarShell_chevronRight",
|
|
4800
4800
|
themePicker: "ScSidebarShell_themePicker",
|
|
4801
4801
|
themeButton: "ScSidebarShell_themeButton",
|
|
4802
4802
|
themeButtonSelected: "ScSidebarShell_themeButtonSelected"
|
|
@@ -4931,6 +4931,9 @@ function MenuActionRow({
|
|
|
4931
4931
|
function SectionTitle({ children }) {
|
|
4932
4932
|
return /* @__PURE__ */ jsx50("h2", { className: ScSidebarShell_default.sectionTitle, children });
|
|
4933
4933
|
}
|
|
4934
|
+
function ChevronRight() {
|
|
4935
|
+
return /* @__PURE__ */ jsx50("span", { "aria-hidden": true, className: ScSidebarShell_default.chevronRight, children: "\u203A" });
|
|
4936
|
+
}
|
|
4934
4937
|
function ScWorkspaceAccountMenu({
|
|
4935
4938
|
workspaceName,
|
|
4936
4939
|
workspaceRole = "Member",
|
|
@@ -4995,7 +4998,7 @@ function ScWorkspaceAccountMenu({
|
|
|
4995
4998
|
" \xB7 Switch or create"
|
|
4996
4999
|
] })
|
|
4997
5000
|
] }),
|
|
4998
|
-
/* @__PURE__ */ jsx50(
|
|
5001
|
+
/* @__PURE__ */ jsx50(ChevronRight, {})
|
|
4999
5002
|
]
|
|
5000
5003
|
}
|
|
5001
5004
|
),
|
|
@@ -5023,11 +5026,11 @@ function ScWorkspaceAccountMenu({
|
|
|
5023
5026
|
/* @__PURE__ */ jsx50(
|
|
5024
5027
|
MenuActionRow,
|
|
5025
5028
|
{
|
|
5026
|
-
icon: /* @__PURE__ */ jsx50(
|
|
5029
|
+
icon: /* @__PURE__ */ jsx50(SiconWorkspace, { size: 20, color: primaryIcon }),
|
|
5027
5030
|
label: organizationName || "No organization",
|
|
5028
5031
|
value: organizationName && organizationRole ? organizationRole : void 0,
|
|
5029
5032
|
ariaLabel: organizationName ? `Open ${organizationName} organization settings` : void 0,
|
|
5030
|
-
trailing: organizationName ? /* @__PURE__ */ jsx50(
|
|
5033
|
+
trailing: organizationName ? /* @__PURE__ */ jsx50(ChevronRight, {}) : void 0,
|
|
5031
5034
|
onClick: organizationName ? onOrganizationClick : void 0
|
|
5032
5035
|
}
|
|
5033
5036
|
)
|
|
@@ -5057,7 +5060,7 @@ function ScWorkspaceAccountMenu({
|
|
|
5057
5060
|
/* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.identityName, children: accountName }),
|
|
5058
5061
|
accountEmail ? /* @__PURE__ */ jsx50("span", { className: ScSidebarShell_default.identitySubtitle, children: accountEmail }) : null
|
|
5059
5062
|
] }),
|
|
5060
|
-
/* @__PURE__ */ jsx50(
|
|
5063
|
+
/* @__PURE__ */ jsx50(ChevronRight, {})
|
|
5061
5064
|
]
|
|
5062
5065
|
}
|
|
5063
5066
|
),
|
|
@@ -7736,7 +7739,7 @@ var ScSettingsNav_default = {
|
|
|
7736
7739
|
|
|
7737
7740
|
// src/SC-settingsNav/ScSettingsNav.tsx
|
|
7738
7741
|
import { SiconTeam as SiconTeam6 } from "@streamoid/icons";
|
|
7739
|
-
import { SiconWorkspace, SiconReferral } from "@streamoid/icons";
|
|
7742
|
+
import { SiconWorkspace as SiconWorkspace2, SiconReferral } from "@streamoid/icons";
|
|
7740
7743
|
import { jsx as jsx76, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
7741
7744
|
var ScSettingsNav = ({
|
|
7742
7745
|
className,
|
|
@@ -7755,7 +7758,7 @@ var ScSettingsNav = ({
|
|
|
7755
7758
|
/* @__PURE__ */ jsx76(
|
|
7756
7759
|
ScSidebarMenu,
|
|
7757
7760
|
{
|
|
7758
|
-
icon: /* @__PURE__ */ jsx76(
|
|
7761
|
+
icon: /* @__PURE__ */ jsx76(SiconWorkspace2, { className: ScSettingsNav_default.siconWorkspaceInstance }),
|
|
7759
7762
|
text: "Workspace",
|
|
7760
7763
|
className: ScSettingsNav_default.scSidebarMenuInstance
|
|
7761
7764
|
}
|
|
@@ -11405,7 +11408,7 @@ var ScProfilePopup_default = {
|
|
|
11405
11408
|
import {
|
|
11406
11409
|
SiconLogout as SiconLogout4,
|
|
11407
11410
|
SiconCredits as SiconCredits3,
|
|
11408
|
-
SiconWorkspace as
|
|
11411
|
+
SiconWorkspace as SiconWorkspace3,
|
|
11409
11412
|
SiconTeam as SiconTeam8,
|
|
11410
11413
|
SiconBilling as SiconBilling6,
|
|
11411
11414
|
SiconSettings as SiconSettings4,
|
|
@@ -11560,7 +11563,7 @@ var ScProfilePopup = forwardRef2(
|
|
|
11560
11563
|
ScButton,
|
|
11561
11564
|
{
|
|
11562
11565
|
text: switchWorkspaceLabel,
|
|
11563
|
-
icon: /* @__PURE__ */ jsx125(
|
|
11566
|
+
icon: /* @__PURE__ */ jsx125(SiconWorkspace3, { size: 20 }),
|
|
11564
11567
|
styleVariant: "icon-left",
|
|
11565
11568
|
variant: "outline",
|
|
11566
11569
|
size: "md",
|