@opencxh/ui-kit 3.147.0 → 3.153.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.
@@ -32,10 +32,14 @@ export interface PageProps {
32
32
  /** Called with the trimmed new title. Only fires when it actually changed. */
33
33
  onTitleChange?: (title: string) => void;
34
34
  /**
35
- * Draws the rule under the header. Defaults to `scroll`, because a header
36
- * that stays put while the body scrolls needs an edge without it the first
37
- * row slides up against the title with nothing between them. A page that
38
- * scrolls as a whole does not, so the rule would just be a stray line.
35
+ * Draws the rule under the header. Off by default: inside the content card
36
+ * the header shares the card's surface, and the card's own edge already ends
37
+ * the page a second line right under the title reads as a divider between
38
+ * two panes that are not there.
39
+ *
40
+ * Turn it on for a header that has to stay legible over content moving
41
+ * underneath it: a dense grid, a feed, anything where the first row would
42
+ * otherwise scroll up flush against the title.
39
43
  */
40
44
  surface?: boolean;
41
45
  /** Full-width row at the bottom of the header — a filter strip, a tab bar. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/ui-kit",
3
- "version": "3.147.0",
3
+ "version": "3.153.0",
4
4
  "description": "Theme-aware UI component library for OpenCXH platform",
5
5
  "type": "module",
6
6
  "exports": {