@lambda-development/erp-core 0.6.19 → 0.6.21

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.
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Set the browser tab title to `"<title> — <appName>"` while the calling
3
+ * component is mounted (just the app name when `title` is empty/null), and reset
4
+ * it to the app name on unmount so pages that don't set a title fall back
5
+ * cleanly.
6
+ *
7
+ * Convention:
8
+ * - detail pages pass the record's human name — a customer's name, a document
9
+ * id (e.g. "Plus Medica AG", "SINV-0042");
10
+ * - list / overview pages pass the section label ("Leads", "Kunden").
11
+ * The app name comes from branding, so white-label deployments show their own.
12
+ */
13
+ export declare function usePageTitle(title?: string | null): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambda-development/erp-core",
3
- "version": "0.6.19",
3
+ "version": "0.6.21",
4
4
  "description": "Frontend core of Lambda ERP — app shell, document/master pages, chat UI, reports, and extension registries.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {