@uidu/page-header 1.1.7 → 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,14 @@
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
+
3
12
  ## 1.1.7
4
13
 
5
14
  ### 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.7",
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.7",
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.2",
14
- "@uidu/theme": "^0.12.2",
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.2",
19
- "@uidu/button": "^1.9.2",
20
- "@uidu/docs": "^0.11.2",
21
- "@uidu/field-text": "^2.6.2",
22
- "@uidu/form": "^3.2.2",
23
- "@uidu/inline-edit": "0.10.2",
24
- "@uidu/select": "^2.13.3",
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"