@streamoid/settings 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +32 -32
- package/dist/index.mjs +32 -32
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2175,7 +2175,7 @@ function OrganizationAffiliationCard({
|
|
|
2175
2175
|
"Failed to change visibility"
|
|
2176
2176
|
);
|
|
2177
2177
|
},
|
|
2178
|
-
children: opt === "private" ? "Only
|
|
2178
|
+
children: opt === "private" ? "Only workspace members" : "Everyone in the organization"
|
|
2179
2179
|
},
|
|
2180
2180
|
opt
|
|
2181
2181
|
);
|
|
@@ -10335,25 +10335,25 @@ function SettingsNavGroupHeader({
|
|
|
10335
10335
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
10336
10336
|
"div",
|
|
10337
10337
|
{
|
|
10338
|
-
className: "flex
|
|
10339
|
-
style: { gap:
|
|
10338
|
+
className: "flex flex-col w-full min-w-0",
|
|
10339
|
+
style: { gap: 2, padding: "2px var(--spacing-xl) var(--spacing-sm)" },
|
|
10340
10340
|
children: [
|
|
10341
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
),
|
|
10341
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
10342
|
+
"span",
|
|
10343
|
+
{
|
|
10344
|
+
style: {
|
|
10345
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
10346
|
+
fontSize: "var(--font-size-font-size-xxs, 10px)",
|
|
10347
|
+
fontWeight: 500,
|
|
10348
|
+
letterSpacing: "0.08em",
|
|
10349
|
+
textTransform: "uppercase",
|
|
10350
|
+
color: MUTED_COLOR2
|
|
10351
|
+
},
|
|
10352
|
+
children: eyebrow
|
|
10353
|
+
}
|
|
10354
|
+
),
|
|
10355
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex items-center min-w-0", style: { gap: "var(--spacing-md)" }, children: [
|
|
10356
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "shrink-0 flex items-center", children: icon }),
|
|
10357
10357
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
10358
10358
|
"span",
|
|
10359
10359
|
{
|
|
@@ -10395,26 +10395,26 @@ function SettingsNav({
|
|
|
10395
10395
|
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
10396
10396
|
"div",
|
|
10397
10397
|
{
|
|
10398
|
-
className: "flex flex-col items-start shrink-0 relative",
|
|
10398
|
+
className: "flex flex-col items-start shrink-0 relative overflow-y-auto",
|
|
10399
10399
|
style: {
|
|
10400
10400
|
backgroundColor: "var(--alias-surface-base)",
|
|
10401
10401
|
borderRadius: "var(--radius-3xl)",
|
|
10402
10402
|
padding: "var(--spacing-md)",
|
|
10403
10403
|
width: 216,
|
|
10404
|
-
|
|
10404
|
+
maxHeight: "100%",
|
|
10405
|
+
/* A REAL BORDER, not the absolutely-positioned overlay that used to
|
|
10406
|
+
* sit inside this box. Now that the nav scrolls, an `absolute inset-0`
|
|
10407
|
+
* child is positioned against the scrolled CONTENT, so the outline
|
|
10408
|
+
* would slide up out of view and leave the card unbounded. `border`
|
|
10409
|
+
* belongs to the box itself and cannot drift; `box-sizing: border-box`
|
|
10410
|
+
* keeps the 216px width. */
|
|
10411
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
10412
|
+
/* Was `--spacing-xl` (12). The groups and the rules between them sat
|
|
10413
|
+
* closer to each other than the rows inside a group did to their own
|
|
10414
|
+
* heading, so the divisions read as weaker than what they divided. */
|
|
10415
|
+
gap: "var(--spacing-5xl)"
|
|
10405
10416
|
},
|
|
10406
10417
|
children: [
|
|
10407
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
10408
|
-
"div",
|
|
10409
|
-
{
|
|
10410
|
-
"aria-hidden": "true",
|
|
10411
|
-
className: "absolute inset-0 pointer-events-none",
|
|
10412
|
-
style: {
|
|
10413
|
-
border: "1px solid var(--alias-border-subtle)",
|
|
10414
|
-
borderRadius: "var(--radius-3xl)"
|
|
10415
|
-
}
|
|
10416
|
-
}
|
|
10417
|
-
),
|
|
10418
10418
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "flex flex-col w-full", style: { gap: "var(--spacing-md)" }, children: item("profile", (color) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_icons12.SiconUser, { className: "w-6 h-6", color })) }),
|
|
10419
10419
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_ui11.ScHDivider, {}),
|
|
10420
10420
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col w-full", style: { gap: "var(--spacing-md)" }, children: [
|
package/dist/index.mjs
CHANGED
|
@@ -2139,7 +2139,7 @@ function OrganizationAffiliationCard({
|
|
|
2139
2139
|
"Failed to change visibility"
|
|
2140
2140
|
);
|
|
2141
2141
|
},
|
|
2142
|
-
children: opt === "private" ? "Only
|
|
2142
|
+
children: opt === "private" ? "Only workspace members" : "Everyone in the organization"
|
|
2143
2143
|
},
|
|
2144
2144
|
opt
|
|
2145
2145
|
);
|
|
@@ -10343,25 +10343,25 @@ function SettingsNavGroupHeader({
|
|
|
10343
10343
|
return /* @__PURE__ */ jsxs18(
|
|
10344
10344
|
"div",
|
|
10345
10345
|
{
|
|
10346
|
-
className: "flex
|
|
10347
|
-
style: { gap:
|
|
10346
|
+
className: "flex flex-col w-full min-w-0",
|
|
10347
|
+
style: { gap: 2, padding: "2px var(--spacing-xl) var(--spacing-sm)" },
|
|
10348
10348
|
children: [
|
|
10349
|
-
/* @__PURE__ */ jsx20(
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
),
|
|
10349
|
+
/* @__PURE__ */ jsx20(
|
|
10350
|
+
"span",
|
|
10351
|
+
{
|
|
10352
|
+
style: {
|
|
10353
|
+
fontFamily: "var(--font-family-font-family-body)",
|
|
10354
|
+
fontSize: "var(--font-size-font-size-xxs, 10px)",
|
|
10355
|
+
fontWeight: 500,
|
|
10356
|
+
letterSpacing: "0.08em",
|
|
10357
|
+
textTransform: "uppercase",
|
|
10358
|
+
color: MUTED_COLOR2
|
|
10359
|
+
},
|
|
10360
|
+
children: eyebrow
|
|
10361
|
+
}
|
|
10362
|
+
),
|
|
10363
|
+
/* @__PURE__ */ jsxs18("div", { className: "flex items-center min-w-0", style: { gap: "var(--spacing-md)" }, children: [
|
|
10364
|
+
/* @__PURE__ */ jsx20("span", { className: "shrink-0 flex items-center", children: icon }),
|
|
10365
10365
|
/* @__PURE__ */ jsx20(
|
|
10366
10366
|
"span",
|
|
10367
10367
|
{
|
|
@@ -10403,26 +10403,26 @@ function SettingsNav({
|
|
|
10403
10403
|
return /* @__PURE__ */ jsxs18(
|
|
10404
10404
|
"div",
|
|
10405
10405
|
{
|
|
10406
|
-
className: "flex flex-col items-start shrink-0 relative",
|
|
10406
|
+
className: "flex flex-col items-start shrink-0 relative overflow-y-auto",
|
|
10407
10407
|
style: {
|
|
10408
10408
|
backgroundColor: "var(--alias-surface-base)",
|
|
10409
10409
|
borderRadius: "var(--radius-3xl)",
|
|
10410
10410
|
padding: "var(--spacing-md)",
|
|
10411
10411
|
width: 216,
|
|
10412
|
-
|
|
10412
|
+
maxHeight: "100%",
|
|
10413
|
+
/* A REAL BORDER, not the absolutely-positioned overlay that used to
|
|
10414
|
+
* sit inside this box. Now that the nav scrolls, an `absolute inset-0`
|
|
10415
|
+
* child is positioned against the scrolled CONTENT, so the outline
|
|
10416
|
+
* would slide up out of view and leave the card unbounded. `border`
|
|
10417
|
+
* belongs to the box itself and cannot drift; `box-sizing: border-box`
|
|
10418
|
+
* keeps the 216px width. */
|
|
10419
|
+
border: "1px solid var(--alias-border-subtle)",
|
|
10420
|
+
/* Was `--spacing-xl` (12). The groups and the rules between them sat
|
|
10421
|
+
* closer to each other than the rows inside a group did to their own
|
|
10422
|
+
* heading, so the divisions read as weaker than what they divided. */
|
|
10423
|
+
gap: "var(--spacing-5xl)"
|
|
10413
10424
|
},
|
|
10414
10425
|
children: [
|
|
10415
|
-
/* @__PURE__ */ jsx20(
|
|
10416
|
-
"div",
|
|
10417
|
-
{
|
|
10418
|
-
"aria-hidden": "true",
|
|
10419
|
-
className: "absolute inset-0 pointer-events-none",
|
|
10420
|
-
style: {
|
|
10421
|
-
border: "1px solid var(--alias-border-subtle)",
|
|
10422
|
-
borderRadius: "var(--radius-3xl)"
|
|
10423
|
-
}
|
|
10424
|
-
}
|
|
10425
|
-
),
|
|
10426
10426
|
/* @__PURE__ */ jsx20("div", { className: "flex flex-col w-full", style: { gap: "var(--spacing-md)" }, children: item("profile", (color) => /* @__PURE__ */ jsx20(SiconUser, { className: "w-6 h-6", color })) }),
|
|
10427
10427
|
/* @__PURE__ */ jsx20(ScHDivider, {}),
|
|
10428
10428
|
/* @__PURE__ */ jsxs18("div", { className: "flex flex-col w-full", style: { gap: "var(--spacing-md)" }, children: [
|