@uidu/page-header 1.1.4 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -0
- package/dist/package.json +1 -1
- package/dist/uidu-page-header.cjs.d.ts +1 -1
- package/dist/uidu-page-header.cjs.dev.js +10 -21
- package/dist/uidu-page-header.cjs.prod.js +10 -21
- package/package.json +11 -10
- package/dist/declarations/src/PageHeader/index.d.ts +0 -4
- package/dist/declarations/src/index.d.ts +0 -1
- package/dist/declarations/src/types.d.ts +0 -18
- package/dist/uidu-page-header.cjs.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# @uidu/page-header
|
2
2
|
|
3
|
+
## 1.1.6
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 0524a19: Bump dependencies
|
8
|
+
- Updated dependencies [0524a19]
|
9
|
+
- @uidu/shell@2.10.1
|
10
|
+
- @uidu/theme@0.12.1
|
11
|
+
|
12
|
+
## 1.1.5
|
13
|
+
|
14
|
+
### Patch Changes
|
15
|
+
|
16
|
+
- Updated dependencies [6569f35]
|
17
|
+
- @uidu/shell@2.9.0
|
18
|
+
- @uidu/theme@0.12.0
|
19
|
+
|
3
20
|
## 1.1.4
|
4
21
|
|
5
22
|
### Patch Changes
|
package/dist/package.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
export * from "./declarations/src/index";
|
2
2
|
export { default } from "./declarations/src/index";
|
3
|
-
//# sourceMappingURL=
|
3
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWlkdS1wYWdlLWhlYWRlci5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
+
var _taggedTemplateLiteral = require('@babel/runtime/helpers/taggedTemplateLiteral');
|
5
6
|
var _styled = require('styled-components');
|
6
7
|
require('react');
|
7
8
|
var jsxRuntime = require('react/jsx-runtime');
|
@@ -10,7 +11,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
|
|
10
11
|
|
11
12
|
var _styled__default = /*#__PURE__*/_interopDefault(_styled);
|
12
13
|
|
13
|
-
var
|
14
|
+
var _templateObject;
|
15
|
+
function PageHeader(_ref) {
|
14
16
|
var innerRef = _ref.innerRef,
|
15
17
|
breadcrumbs = _ref.breadcrumbs,
|
16
18
|
actions = _ref.actions,
|
@@ -47,12 +49,8 @@ var PageHeader = function PageHeader(_ref) {
|
|
47
49
|
})]
|
48
50
|
})]
|
49
51
|
});
|
50
|
-
}
|
51
|
-
var
|
52
|
-
var _StyledDiv = _styled__default["default"]("div").withConfig({
|
53
|
-
displayName: "PageHeader___StyledDiv",
|
54
|
-
componentId: "sc-9i9mq4-0"
|
55
|
-
})({
|
52
|
+
}
|
53
|
+
var _StyledDiv = _styled__default["default"]("div")({
|
56
54
|
"display": "flex",
|
57
55
|
"minWidth": "0px",
|
58
56
|
"flexGrow": "1",
|
@@ -60,10 +58,7 @@ var _StyledDiv = _styled__default["default"]("div").withConfig({
|
|
60
58
|
"paddingTop": "1.5rem",
|
61
59
|
"paddingBottom": "1.5rem"
|
62
60
|
});
|
63
|
-
var _StyledDiv2 = _styled__default["default"]("div")
|
64
|
-
displayName: "PageHeader___StyledDiv2",
|
65
|
-
componentId: "sc-9i9mq4-1"
|
66
|
-
})({
|
61
|
+
var _StyledDiv2 = _styled__default["default"]("div")({
|
67
62
|
"marginTop": "0.25rem",
|
68
63
|
"display": "flex",
|
69
64
|
"justifyContent": "space-between",
|
@@ -71,24 +66,18 @@ var _StyledDiv2 = _styled__default["default"]("div").withConfig({
|
|
71
66
|
"alignItems": "center"
|
72
67
|
}
|
73
68
|
});
|
74
|
-
var _StyledDiv3 = _styled__default["default"]("div")
|
75
|
-
displayName: "PageHeader___StyledDiv3",
|
76
|
-
componentId: "sc-9i9mq4-2"
|
77
|
-
})({
|
69
|
+
var _StyledDiv3 = _styled__default["default"]("div")({
|
78
70
|
"minWidth": "0px",
|
79
71
|
"flex": "1 1 0%"
|
80
72
|
});
|
81
|
-
var _StyledH = _styled__default["default"]("h2")
|
82
|
-
displayName: "PageHeader___StyledH",
|
83
|
-
componentId: "sc-9i9mq4-3"
|
84
|
-
})(["", ""], function (p) {
|
73
|
+
var _StyledH = _styled__default["default"]("h2")(_templateObject || (_templateObject = _taggedTemplateLiteral(["", ""])), function (p) {
|
85
74
|
return p.$_css;
|
86
75
|
});
|
87
76
|
var _StyledDiv4 = _styled__default["default"]("div").withConfig({
|
88
77
|
displayName: "PageHeader___StyledDiv4",
|
89
|
-
componentId: "sc-9i9mq4-
|
78
|
+
componentId: "sc-9i9mq4-0"
|
90
79
|
})({
|
91
80
|
"marginLeft": "1rem"
|
92
81
|
});
|
93
82
|
|
94
|
-
exports["default"] = PageHeader
|
83
|
+
exports["default"] = PageHeader;
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
+
var _taggedTemplateLiteral = require('@babel/runtime/helpers/taggedTemplateLiteral');
|
5
6
|
var _styled = require('styled-components');
|
6
7
|
require('react');
|
7
8
|
var jsxRuntime = require('react/jsx-runtime');
|
@@ -10,7 +11,8 @@ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e };
|
|
10
11
|
|
11
12
|
var _styled__default = /*#__PURE__*/_interopDefault(_styled);
|
12
13
|
|
13
|
-
var
|
14
|
+
var _templateObject;
|
15
|
+
function PageHeader(_ref) {
|
14
16
|
var innerRef = _ref.innerRef,
|
15
17
|
breadcrumbs = _ref.breadcrumbs,
|
16
18
|
actions = _ref.actions,
|
@@ -47,12 +49,8 @@ var PageHeader = function PageHeader(_ref) {
|
|
47
49
|
})]
|
48
50
|
})]
|
49
51
|
});
|
50
|
-
}
|
51
|
-
var
|
52
|
-
var _StyledDiv = _styled__default["default"]("div").withConfig({
|
53
|
-
displayName: "PageHeader___StyledDiv",
|
54
|
-
componentId: "sc-9i9mq4-0"
|
55
|
-
})({
|
52
|
+
}
|
53
|
+
var _StyledDiv = _styled__default["default"]("div")({
|
56
54
|
"display": "flex",
|
57
55
|
"minWidth": "0px",
|
58
56
|
"flexGrow": "1",
|
@@ -60,10 +58,7 @@ var _StyledDiv = _styled__default["default"]("div").withConfig({
|
|
60
58
|
"paddingTop": "1.5rem",
|
61
59
|
"paddingBottom": "1.5rem"
|
62
60
|
});
|
63
|
-
var _StyledDiv2 = _styled__default["default"]("div")
|
64
|
-
displayName: "PageHeader___StyledDiv2",
|
65
|
-
componentId: "sc-9i9mq4-1"
|
66
|
-
})({
|
61
|
+
var _StyledDiv2 = _styled__default["default"]("div")({
|
67
62
|
"marginTop": "0.25rem",
|
68
63
|
"display": "flex",
|
69
64
|
"justifyContent": "space-between",
|
@@ -71,24 +66,18 @@ var _StyledDiv2 = _styled__default["default"]("div").withConfig({
|
|
71
66
|
"alignItems": "center"
|
72
67
|
}
|
73
68
|
});
|
74
|
-
var _StyledDiv3 = _styled__default["default"]("div")
|
75
|
-
displayName: "PageHeader___StyledDiv3",
|
76
|
-
componentId: "sc-9i9mq4-2"
|
77
|
-
})({
|
69
|
+
var _StyledDiv3 = _styled__default["default"]("div")({
|
78
70
|
"minWidth": "0px",
|
79
71
|
"flex": "1 1 0%"
|
80
72
|
});
|
81
|
-
var _StyledH = _styled__default["default"]("h2")
|
82
|
-
displayName: "PageHeader___StyledH",
|
83
|
-
componentId: "sc-9i9mq4-3"
|
84
|
-
})(["", ""], function (p) {
|
73
|
+
var _StyledH = _styled__default["default"]("h2")(_templateObject || (_templateObject = _taggedTemplateLiteral(["", ""])), function (p) {
|
85
74
|
return p.$_css;
|
86
75
|
});
|
87
76
|
var _StyledDiv4 = _styled__default["default"]("div").withConfig({
|
88
77
|
displayName: "PageHeader___StyledDiv4",
|
89
|
-
componentId: "sc-9i9mq4-
|
78
|
+
componentId: "sc-9i9mq4-0"
|
90
79
|
})({
|
91
80
|
"marginLeft": "1rem"
|
92
81
|
});
|
93
82
|
|
94
|
-
exports["default"] = PageHeader
|
83
|
+
exports["default"] = PageHeader;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uidu/page-header",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.6",
|
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",
|
@@ -9,18 +9,19 @@
|
|
9
9
|
"main": "dist/uidu-page-header.cjs.js",
|
10
10
|
"types": "dist/uidu-page-header.cjs.d.ts",
|
11
11
|
"dependencies": {
|
12
|
-
"@
|
13
|
-
"@uidu/
|
12
|
+
"@babel/runtime": "^7.24.4",
|
13
|
+
"@uidu/shell": "^2.10.1",
|
14
|
+
"@uidu/theme": "^0.12.1",
|
14
15
|
"tslib": "^2.6.2"
|
15
16
|
},
|
16
17
|
"devDependencies": {
|
17
|
-
"@uidu/breadcrumbs": "^1.
|
18
|
-
"@uidu/button": "^1.
|
19
|
-
"@uidu/docs": "^0.
|
20
|
-
"@uidu/field-text": "^2.
|
21
|
-
"@uidu/form": "^2.
|
22
|
-
"@uidu/inline-edit": "0.
|
23
|
-
"@uidu/select": "^2.
|
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",
|
24
25
|
"react": "^18.2.0",
|
25
26
|
"react-dom": "^18.2.0",
|
26
27
|
"styled-components": "^5.3.11"
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from "./PageHeader/index.js";
|
@@ -1,18 +0,0 @@
|
|
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
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"uidu-page-header.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
|