@uidu/page-header 1.1.7 → 1.1.8
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/CHANGELOG.md
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from "./PageHeader/index.js";
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
2
|
+
export declare type PageHeaderProps = {
|
3
|
+
/** Returns the inner ref of the component. This is exposed so the focus can be set. */
|
4
|
+
innerRef?: (element: HTMLElement) => void;
|
5
|
+
/** Page breadcrumbs to be rendered above the title. */
|
6
|
+
breadcrumbs?: ReactElement;
|
7
|
+
/** Contents of the action bar to be rendered next to the page title. */
|
8
|
+
actions?: ReactElement;
|
9
|
+
/** Classnames applied to PageHeader wrapper */
|
10
|
+
className?: string;
|
11
|
+
/** Content of the page title. The text would be trimmed if it doesn't fit the
|
12
|
+
header width and end with an ellipsis */
|
13
|
+
children?: ReactNode;
|
14
|
+
/** Disable default styles for page title */
|
15
|
+
disableTitleStyles?: boolean;
|
16
|
+
/** Prevent the title from wrapping across lines */
|
17
|
+
truncateTitle?: boolean;
|
18
|
+
};
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uidu/page-header",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.8",
|
4
4
|
"description": "A React component that represents Header of an application page",
|
5
5
|
"repository": "https://github.com/uidu-org/guidu/tree/main/packages/navigation/page-header",
|
6
6
|
"license": "MIT",
|
@@ -10,18 +10,18 @@
|
|
10
10
|
"types": "dist/uidu-page-header.cjs.d.ts",
|
11
11
|
"dependencies": {
|
12
12
|
"@babel/runtime": "^7.24.4",
|
13
|
-
"@uidu/shell": "^2.10.
|
14
|
-
"@uidu/theme": "^0.12.
|
13
|
+
"@uidu/shell": "^2.10.3",
|
14
|
+
"@uidu/theme": "^0.12.3",
|
15
15
|
"tslib": "^2.6.2"
|
16
16
|
},
|
17
17
|
"devDependencies": {
|
18
|
-
"@uidu/breadcrumbs": "^1.6.
|
19
|
-
"@uidu/button": "^1.9.
|
20
|
-
"@uidu/docs": "^0.11.
|
21
|
-
"@uidu/field-text": "^2.6.
|
22
|
-
"@uidu/form": "^3.2.
|
23
|
-
"@uidu/inline-edit": "0.10.
|
24
|
-
"@uidu/select": "^2.13.
|
18
|
+
"@uidu/breadcrumbs": "^1.6.3",
|
19
|
+
"@uidu/button": "^1.9.3",
|
20
|
+
"@uidu/docs": "^0.11.3",
|
21
|
+
"@uidu/field-text": "^2.6.3",
|
22
|
+
"@uidu/form": "^3.2.3",
|
23
|
+
"@uidu/inline-edit": "0.10.3",
|
24
|
+
"@uidu/select": "^2.13.4",
|
25
25
|
"react": "^18.3.1",
|
26
26
|
"react-dom": "^18.3.1",
|
27
27
|
"styled-components": "^5.3.11"
|