@uidu/page-header 1.1.6 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @uidu/page-header
2
2
 
3
+ ## 1.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 14523bd: Added declarations back"
8
+ - Updated dependencies [14523bd]
9
+ - @uidu/theme@0.12.3
10
+ - @uidu/shell@2.10.3
11
+
12
+ ## 1.1.7
13
+
14
+ ### Patch Changes
15
+
16
+ - 7b5a4ad: Bump versions
17
+ - Updated dependencies [7b5a4ad]
18
+ - @uidu/shell@2.10.2
19
+ - @uidu/theme@0.12.2
20
+
3
21
  ## 1.1.6
4
22
 
5
23
  ### Patch Changes
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PageHeaderProps } from "../types.js";
3
+ declare function PageHeader({ innerRef, breadcrumbs, actions, children, disableTitleStyles, truncateTitle, className, }: PageHeaderProps): React.JSX.Element;
4
+ export default PageHeader;
@@ -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
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@uidu/page-header",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uidu/page-header",
3
- "version": "1.1.6",
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,20 +10,20 @@
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.1",
14
- "@uidu/theme": "^0.12.1",
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.1",
19
- "@uidu/button": "^1.9.1",
20
- "@uidu/docs": "^0.11.1",
21
- "@uidu/field-text": "^2.6.1",
22
- "@uidu/form": "^3.2.1",
23
- "@uidu/inline-edit": "0.10.1",
24
- "@uidu/select": "^2.13.2",
25
- "react": "^18.2.0",
26
- "react-dom": "^18.2.0",
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
+ "react": "^18.3.1",
26
+ "react-dom": "^18.3.1",
27
27
  "styled-components": "^5.3.11"
28
28
  },
29
29
  "peerDependencies": {