@streamoid/settings 0.12.3 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -15220,7 +15220,7 @@ function SettingsContentInner({
15220
15220
  const organizationScopeName = organization.current?.name ?? null;
15221
15221
  const hasOrganization = !!organization.current;
15222
15222
  const activeScope = TAB_SCOPE[activeTab];
15223
- const scopeCrumb = activeScope === "workspace" ? workspaceScopeName ? overviewDetail ? `Workspace \xB7 ${workspaceScopeName}` : workspaceScopeName : SCOPE_LABELS.workspace : activeScope === "organization" && hasOrganization ? organizationScopeName ? overviewDetail ? `Organization \xB7 ${organizationScopeName}` : organizationScopeName : SCOPE_LABELS.organization : null;
15223
+ const scopeCrumb = activeScope === "workspace" ? workspaceScopeName ? overviewDetail ? `Workspace \xB7 ${workspaceScopeName}` : workspaceScopeName : SCOPE_LABELS.workspace : activeScope === "organization" && hasOrganization ? organizationScopeName ? overviewDetail ? `Organization \xB7 ${organizationScopeName}` : organizationScopeName : SCOPE_LABELS.organization : activeScope === "account" && overviewDetail ? SCOPE_LABELS.account : null;
15224
15224
  const leafLabel = activeScope === "organization" && !hasOrganization ? SCOPE_LABELS.organization : TAB_LABELS[activeTab];
15225
15225
  async function handleSaveCurrentWorkspace(name, imageFile, imageRemoved) {
15226
15226
  if (!currentWorkspaceData || updatingWorkspace) return false;
@@ -15466,9 +15466,10 @@ function SettingsContentInner({
15466
15466
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center flex-1 min-w-0", style: { gap: 8, paddingLeft: 20 }, children: [
15467
15467
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_icons18.SiconSettings, { className: "w-6 h-6 shrink-0", color: "var(--alias-text---icons-primary)" }),
15468
15468
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
15469
- "span",
15469
+ "h1",
15470
15470
  {
15471
15471
  style: {
15472
+ margin: 0,
15472
15473
  fontFamily: "var(--font-family-font-family-body)",
15473
15474
  fontSize: "var(--font-size-font-size-xl)",
15474
15475
  fontWeight: 500,
@@ -15478,7 +15479,7 @@ function SettingsContentInner({
15478
15479
  children: overviewDetail ? "Account and workspace settings" : "Settings"
15479
15480
  }
15480
15481
  ),
15481
- !isOverview && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
15482
+ !isOverview && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("nav", { "aria-label": "Breadcrumb", className: "flex items-center min-w-0", style: { gap: 8 }, children: [
15482
15483
  scopeCrumb && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
15483
15484
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_icons18.SiconRight, { className: "w-6 h-6 shrink-0", color: "var(--alias-text---icons-primary)" }),
15484
15485
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
package/dist/index.mjs CHANGED
@@ -15172,7 +15172,7 @@ function SettingsContentInner({
15172
15172
  const organizationScopeName = organization.current?.name ?? null;
15173
15173
  const hasOrganization = !!organization.current;
15174
15174
  const activeScope = TAB_SCOPE[activeTab];
15175
- const scopeCrumb = activeScope === "workspace" ? workspaceScopeName ? overviewDetail ? `Workspace \xB7 ${workspaceScopeName}` : workspaceScopeName : SCOPE_LABELS.workspace : activeScope === "organization" && hasOrganization ? organizationScopeName ? overviewDetail ? `Organization \xB7 ${organizationScopeName}` : organizationScopeName : SCOPE_LABELS.organization : null;
15175
+ const scopeCrumb = activeScope === "workspace" ? workspaceScopeName ? overviewDetail ? `Workspace \xB7 ${workspaceScopeName}` : workspaceScopeName : SCOPE_LABELS.workspace : activeScope === "organization" && hasOrganization ? organizationScopeName ? overviewDetail ? `Organization \xB7 ${organizationScopeName}` : organizationScopeName : SCOPE_LABELS.organization : activeScope === "account" && overviewDetail ? SCOPE_LABELS.account : null;
15176
15176
  const leafLabel = activeScope === "organization" && !hasOrganization ? SCOPE_LABELS.organization : TAB_LABELS[activeTab];
15177
15177
  async function handleSaveCurrentWorkspace(name, imageFile, imageRemoved) {
15178
15178
  if (!currentWorkspaceData || updatingWorkspace) return false;
@@ -15418,9 +15418,10 @@ function SettingsContentInner({
15418
15418
  /* @__PURE__ */ jsxs30("div", { className: "flex items-center flex-1 min-w-0", style: { gap: 8, paddingLeft: 20 }, children: [
15419
15419
  /* @__PURE__ */ jsx33(SiconSettings2, { className: "w-6 h-6 shrink-0", color: "var(--alias-text---icons-primary)" }),
15420
15420
  /* @__PURE__ */ jsx33(
15421
- "span",
15421
+ "h1",
15422
15422
  {
15423
15423
  style: {
15424
+ margin: 0,
15424
15425
  fontFamily: "var(--font-family-font-family-body)",
15425
15426
  fontSize: "var(--font-size-font-size-xl)",
15426
15427
  fontWeight: 500,
@@ -15430,7 +15431,7 @@ function SettingsContentInner({
15430
15431
  children: overviewDetail ? "Account and workspace settings" : "Settings"
15431
15432
  }
15432
15433
  ),
15433
- !isOverview && /* @__PURE__ */ jsxs30(Fragment16, { children: [
15434
+ !isOverview && /* @__PURE__ */ jsxs30("nav", { "aria-label": "Breadcrumb", className: "flex items-center min-w-0", style: { gap: 8 }, children: [
15434
15435
  scopeCrumb && /* @__PURE__ */ jsxs30(Fragment16, { children: [
15435
15436
  /* @__PURE__ */ jsx33(SiconRight3, { className: "w-6 h-6 shrink-0", color: "var(--alias-text---icons-primary)" }),
15436
15437
  /* @__PURE__ */ jsx33(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/settings",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",