@opencxh/domain 1.145.0 → 1.146.0

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.
@@ -52,10 +52,14 @@ export interface HelpCenterTheme {
52
52
  }
53
53
  export interface HelpCenterHeader {
54
54
  /**
55
- * Show the help centre's name beside the logo.
55
+ * Show the name beside the logo — {@link HelpCenterText.headerName}, or the
56
+ * title when that is empty.
56
57
  *
57
- * Only a question when there is a logo — without one the name is the only
58
- * thing in the header. A wordmark already says the name; a symbol does not.
58
+ * Only a question when there is a logo; without one the name is the only
59
+ * thing in the header. A wordmark already says the name, a symbol does not.
60
+ *
61
+ * Still called `showTitle` because rows in the wild carry that key, and
62
+ * renaming it for accuracy would silently reset everyone who set it.
59
63
  */
60
64
  showTitle?: boolean;
61
65
  heroStyle?: "solid" | "gradient" | "image";
@@ -104,6 +108,14 @@ export interface HelpCenterText {
104
108
  locale: KbLocale;
105
109
  /** Browser tab and the `<h1>` of the home page. */
106
110
  title?: string;
111
+ /**
112
+ * The wordmark in the header. Falls back to {@link title}.
113
+ *
114
+ * Its own field because the two are rarely the same sentence: a header says
115
+ * "Acme" and a home page says "How can we help?". They shared one string
116
+ * until someone had to write a title that worked in both places.
117
+ */
118
+ headerName?: string;
107
119
  tagline?: string;
108
120
  searchPlaceholder?: string;
109
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.145.0",
3
+ "version": "1.146.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",