@opencxh/ui-kit 3.147.0 → 3.154.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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/src/content/Page.d.ts +8 -4
- package/package.json +1 -1
|
@@ -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.
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
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. */
|