@fluid-app/portal-sdk 0.1.260 → 0.1.261

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.
@@ -5,7 +5,6 @@ import "./store-api-context-C1lXT_3d.mjs";
5
5
  import "./api-context-3GmfqvIB.mjs";
6
6
  import "./mysite-api-context-5-qpKHWA.mjs";
7
7
  import "./countries-api-context-CMh13cfX.mjs";
8
- import "./PortalTenantClientProvider-4ZmY6hac.mjs";
9
8
  import "./registry-context-BSJeDI2A.mjs";
10
9
  import "./WidgetInteractionContext-I716c8kj.mjs";
11
10
  import "./EmbedWidget-Czn_RJbm.mjs";
@@ -5,7 +5,6 @@ import "./store-api-context-C1lXT_3d.mjs";
5
5
  import "./api-context-3GmfqvIB.mjs";
6
6
  import "./mysite-api-context-5-qpKHWA.mjs";
7
7
  import "./countries-api-context-CMh13cfX.mjs";
8
- import "./PortalTenantClientProvider-4ZmY6hac.mjs";
9
8
  import "./registry-context-BSJeDI2A.mjs";
10
9
  import "./WidgetInteractionContext-I716c8kj.mjs";
11
10
  import "./EmbedWidget-Czn_RJbm.mjs";
@@ -1,7 +1,6 @@
1
1
  import "./account-api-context-BIZ_aibJ.mjs";
2
2
  import "./store-api-context-C1lXT_3d.mjs";
3
3
  import "./mysite-api-context-5-qpKHWA.mjs";
4
- import "./PortalTenantClientProvider-4ZmY6hac.mjs";
5
4
  import "./src-B3W228vu.mjs";
6
5
  import "./ScreenHeaderContext-kG_zh0zW.mjs";
7
6
  import "./use-mysite-portal-B7N48vKo.mjs";
@@ -5,7 +5,6 @@ import "./store-api-context-C1lXT_3d.mjs";
5
5
  import "./api-context-3GmfqvIB.mjs";
6
6
  import "./mysite-api-context-5-qpKHWA.mjs";
7
7
  import "./countries-api-context-CMh13cfX.mjs";
8
- import "./PortalTenantClientProvider-4ZmY6hac.mjs";
9
8
  import "./registry-context-BSJeDI2A.mjs";
10
9
  import "./WidgetInteractionContext-I716c8kj.mjs";
11
10
  import "./EmbedWidget-Czn_RJbm.mjs";
package/dist/index.cjs CHANGED
@@ -1293,10 +1293,10 @@ function SdkBottomNav({ navItems, currentSlug, onNavigate, appDefinitionId = 0,
1293
1293
  type: "button",
1294
1294
  onClick: () => handleItemClick(item),
1295
1295
  className: `flex flex-1 flex-col items-center justify-center gap-0.5 py-2 text-[10px] font-medium transition-colors ${isInSection(item, currentSlug) ? "text-primary" : "text-muted-foreground"}`,
1296
- children: [item.icon ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, {
1297
- name: item.icon,
1296
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, {
1297
+ name: item.icon || "file",
1298
1298
  className: "size-5"
1299
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: "size-5" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1299
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1300
1300
  className: "max-w-[72px] truncate",
1301
1301
  children: item.label
1302
1302
  })]
@@ -1334,8 +1334,8 @@ function SdkBottomNav({ navItems, currentSlug, onNavigate, appDefinitionId = 0,
1334
1334
  type: "button",
1335
1335
  onClick: () => handleItemClick(item),
1336
1336
  className: `flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors ${isInSection(item, currentSlug) ? "bg-sidebar-primary text-sidebar-primary-foreground" : "text-sidebar-foreground hover:bg-sidebar-accent"}`,
1337
- children: [item.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, {
1338
- name: item.icon,
1337
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, {
1338
+ name: item.icon || "file",
1339
1339
  className: "size-5"
1340
1340
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: item.label })]
1341
1341
  }, item.id ?? item.slug ?? item.label);
@@ -1610,7 +1610,7 @@ function CollapsibleNavItem({ item, isActive, currentSlug, onNavigate }) {
1610
1610
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SidebarMenuItem, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.CollapsibleTrigger, {
1611
1611
  asChild: true,
1612
1612
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SidebarMenuButton, { children: [
1613
- item.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, { name: item.icon }),
1613
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, { name: item.icon || "file" }),
1614
1614
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1615
1615
  className: "truncate",
1616
1616
  children: item.label
@@ -1647,7 +1647,7 @@ function SdkNavigation({ navItems, currentSlug, onNavigate }) {
1647
1647
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SidebarMenuButton, {
1648
1648
  isActive,
1649
1649
  onClick: () => onNavigate(itemSlug),
1650
- children: [item.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, { name: item.icon }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1650
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepIcon, { name: item.icon || "file" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
1651
1651
  className: "truncate",
1652
1652
  children: item.label
1653
1653
  })]