@proveanything/smartlinks-utils-ui 0.3.4 → 0.3.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.
@@ -219,6 +219,13 @@ interface RecordsAdminI18n {
219
219
  newItem: string;
220
220
  noItemsTitle: string;
221
221
  noItemsBody: string;
222
+ /**
223
+ * Empty-state copy for the LEFT browse rail (the list itself is empty).
224
+ * Defaults to a friendly "no records exist yet" message — distinct from
225
+ * `emptyTitle/emptyBody` which is the RIGHT pane "pick something" prompt.
226
+ */
227
+ railEmptyTitle: string;
228
+ railEmptyBody: string;
222
229
  }
223
230
  declare const DEFAULT_I18N: RecordsAdminI18n;
224
231
 
@@ -89,7 +89,9 @@ var DEFAULT_I18N = {
89
89
  presentationCompact: "Compact",
90
90
  newItem: "New item",
91
91
  noItemsTitle: "No items yet",
92
- noItemsBody: "Create your first item to get started."
92
+ noItemsBody: "Create your first item to get started.",
93
+ railEmptyTitle: "No records yet",
94
+ railEmptyBody: "Records you create will appear here."
93
95
  };
94
96
 
95
97
  // src/components/RecordsAdmin/types/presentation.ts
@@ -2698,8 +2700,8 @@ function RecordsAdminShell(props) {
2698
2700
  EmptyState,
2699
2701
  {
2700
2702
  icon: search ? icons.empty.search : icons.empty.default,
2701
- title: search ? i18n.noResults : i18n.emptyTitle,
2702
- body: search ? void 0 : i18n.emptyBody
2703
+ title: search ? i18n.noResults : i18n.railEmptyTitle,
2704
+ body: search ? void 0 : i18n.railEmptyBody
2703
2705
  }
2704
2706
  )),
2705
2707
  !leftLoading && !leftError && leftItems.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [