@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.
package/dist/index.mjs CHANGED
@@ -1291,10 +1291,10 @@ function SdkBottomNav({ navItems, currentSlug, onNavigate, appDefinitionId = 0,
1291
1291
  type: "button",
1292
1292
  onClick: () => handleItemClick(item),
1293
1293
  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"}`,
1294
- children: [item.icon ? /* @__PURE__ */ jsx(RepIcon, {
1295
- name: item.icon,
1294
+ children: [/* @__PURE__ */ jsx(RepIcon, {
1295
+ name: item.icon || "file",
1296
1296
  className: "size-5"
1297
- }) : /* @__PURE__ */ jsx("span", { className: "size-5" }), /* @__PURE__ */ jsx("span", {
1297
+ }), /* @__PURE__ */ jsx("span", {
1298
1298
  className: "max-w-[72px] truncate",
1299
1299
  children: item.label
1300
1300
  })]
@@ -1332,8 +1332,8 @@ function SdkBottomNav({ navItems, currentSlug, onNavigate, appDefinitionId = 0,
1332
1332
  type: "button",
1333
1333
  onClick: () => handleItemClick(item),
1334
1334
  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"}`,
1335
- children: [item.icon && /* @__PURE__ */ jsx(RepIcon, {
1336
- name: item.icon,
1335
+ children: [/* @__PURE__ */ jsx(RepIcon, {
1336
+ name: item.icon || "file",
1337
1337
  className: "size-5"
1338
1338
  }), /* @__PURE__ */ jsx("span", { children: item.label })]
1339
1339
  }, item.id ?? item.slug ?? item.label);
@@ -1608,7 +1608,7 @@ function CollapsibleNavItem({ item, isActive, currentSlug, onNavigate }) {
1608
1608
  children: /* @__PURE__ */ jsxs(SidebarMenuItem, { children: [/* @__PURE__ */ jsx(CollapsibleTrigger, {
1609
1609
  asChild: true,
1610
1610
  children: /* @__PURE__ */ jsxs(SidebarMenuButton, { children: [
1611
- item.icon && /* @__PURE__ */ jsx(RepIcon, { name: item.icon }),
1611
+ /* @__PURE__ */ jsx(RepIcon, { name: item.icon || "file" }),
1612
1612
  /* @__PURE__ */ jsx("span", {
1613
1613
  className: "truncate",
1614
1614
  children: item.label
@@ -1645,7 +1645,7 @@ function SdkNavigation({ navItems, currentSlug, onNavigate }) {
1645
1645
  return /* @__PURE__ */ jsx(SidebarMenuItem, { children: /* @__PURE__ */ jsxs(SidebarMenuButton, {
1646
1646
  isActive,
1647
1647
  onClick: () => onNavigate(itemSlug),
1648
- children: [item.icon && /* @__PURE__ */ jsx(RepIcon, { name: item.icon }), /* @__PURE__ */ jsx("span", {
1648
+ children: [/* @__PURE__ */ jsx(RepIcon, { name: item.icon || "file" }), /* @__PURE__ */ jsx("span", {
1649
1649
  className: "truncate",
1650
1650
  children: item.label
1651
1651
  })]
@@ -2066,14 +2066,14 @@ function BuilderScreenViewImpl({ screen, className }) {
2066
2066
  const BuilderScreenView = memo(BuilderScreenViewImpl);
2067
2067
  //#endregion
2068
2068
  //#region src/shell/system-screen-map.ts
2069
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-Cs_Zq3au.mjs").then((m) => ({ default: m.ProfileScreen })));
2069
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-90-Jf8IH.mjs").then((m) => ({ default: m.ProfileScreen })));
2070
2070
  const OrdersScreen$1 = lazy(() => import("./OrdersScreen-Dh35_Wzs.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
2071
2071
  const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-BJyYFRGI.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
2072
- const MessagingScreen$1 = lazy(() => import("./MessagingScreen-B8BIzgvw.mjs").then((m) => ({ default: m.MessagingScreen })));
2072
+ const MessagingScreen$1 = lazy(() => import("./MessagingScreen-DgS_ZEzO.mjs").then((m) => ({ default: m.MessagingScreen })));
2073
2073
  const ContactsScreen$1 = lazy(() => import("./ContactsScreen-Cg_PgwAi.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
2074
- const ShopScreen$1 = lazy(() => import("./ShopScreen-DC8Mka7r.mjs").then((m) => ({ default: m.ShopScreen })));
2074
+ const ShopScreen$1 = lazy(() => import("./ShopScreen-BhYkCXLT.mjs").then((m) => ({ default: m.ShopScreen })));
2075
2075
  const CustomersScreen$1 = lazy(() => import("./CustomersScreen-COYZv9YJ.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
2076
- const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-BwBHXkls.mjs").then((m) => ({ default: m.ShareablesScreen })));
2076
+ const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-C13NYElH.mjs").then((m) => ({ default: m.ShareablesScreen })));
2077
2077
  const MySiteScreen$1 = lazy(() => import("./MySiteScreen-df8ObSwg.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
2078
2078
  const UpgradeScreen = lazy(() => import("./UpgradeScreen-DjMwPwgb.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
2079
2079
  const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-vGjPjT4Q.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
@@ -3726,15 +3726,15 @@ z.object({
3726
3726
  //#endregion
3727
3727
  //#region src/screens/index.ts
3728
3728
  const screenPropertySchemas = {
3729
- ProfileScreen: () => import("./ProfileScreen-Cs_Zq3au.mjs").then((m) => m.profileScreenPropertySchema),
3730
- MessagingScreen: () => import("./MessagingScreen-B8BIzgvw.mjs").then((m) => m.messagingScreenPropertySchema),
3729
+ ProfileScreen: () => import("./ProfileScreen-90-Jf8IH.mjs").then((m) => m.profileScreenPropertySchema),
3730
+ MessagingScreen: () => import("./MessagingScreen-DgS_ZEzO.mjs").then((m) => m.messagingScreenPropertySchema),
3731
3731
  ContactsScreen: () => import("./ContactsScreen-Cg_PgwAi.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
3732
3732
  OrdersScreen: () => import("./OrdersScreen-Dh35_Wzs.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
3733
3733
  SubscriptionsScreen: () => import("./SubscriptionsScreen-BJyYFRGI.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
3734
3734
  CustomersScreen: () => import("./CustomersScreen-COYZv9YJ.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
3735
3735
  MySiteScreen: () => import("./MySiteScreen-df8ObSwg.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
3736
- ShareablesScreen: () => import("./ShareablesScreen-BwBHXkls.mjs").then((m) => m.shareablesScreenPropertySchema),
3737
- ShopScreen: () => import("./ShopScreen-DC8Mka7r.mjs").then((m) => m.shopScreenPropertySchema),
3736
+ ShareablesScreen: () => import("./ShareablesScreen-C13NYElH.mjs").then((m) => m.shareablesScreenPropertySchema),
3737
+ ShopScreen: () => import("./ShopScreen-BhYkCXLT.mjs").then((m) => m.shopScreenPropertySchema),
3738
3738
  UpgradeScreen: () => import("./UpgradeScreen-DjMwPwgb.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
3739
3739
  AppDownloadScreen: () => import("./AppDownloadScreen-vGjPjT4Q.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
3740
3740
  };