@availity/mui-page-header 0.1.2 → 0.1.4

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
@@ -2,13 +2,21 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.1.4](https://github.com/Availity/element/compare/@availity/mui-page-header@0.1.3...@availity/mui-page-header@0.1.4) (2023-11-07)
6
+
7
+ ## [0.1.3](https://github.com/Availity/element/compare/@availity/mui-page-header@0.1.2...@availity/mui-page-header@0.1.3) (2023-10-25)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **mui-page-header:** add top and bottom margin ([12586f8](https://github.com/Availity/element/commit/12586f85c83b4527e28fc695f3598d805f8c9fe0))
13
+
5
14
  ## [0.1.2](https://github.com/Availity/element/compare/@availity/mui-page-header@0.1.1...@availity/mui-page-header@0.1.2) (2023-10-06)
6
15
 
7
16
  ## [0.1.1](https://github.com/Availity/element/compare/@availity/mui-page-header@0.1.0...@availity/mui-page-header@0.1.1) (2023-09-07)
8
17
 
9
18
  ## 0.1.0 (2023-09-06)
10
19
 
11
-
12
20
  ### Features
13
21
 
14
- * **mui-page-header:** add PageHeader package ([8401f4b](https://github.com/Availity/element/commit/8401f4ba1ca200824b0542d411ed9d0496bad6ae))
22
+ - **mui-page-header:** add PageHeader package ([8401f4b](https://github.com/Availity/element/commit/8401f4ba1ca200824b0542d411ed9d0496bad6ae))
package/dist/index.js CHANGED
@@ -37,6 +37,8 @@ var PageHeader = ({ breadcrumbs, buttons, headerText, helpLink }) => {
37
37
  component: import_material.Container,
38
38
  container: true,
39
39
  direction: "column",
40
+ marginTop: "1rem",
41
+ marginBottom: "1.25rem",
40
42
  children: [
41
43
  breadcrumbs || helpLink ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Grid, {
42
44
  direction: "row",
package/dist/index.mjs CHANGED
@@ -11,6 +11,8 @@ var PageHeader = ({ breadcrumbs, buttons, headerText, helpLink }) => {
11
11
  component: Container,
12
12
  container: true,
13
13
  direction: "column",
14
+ marginTop: "1rem",
15
+ marginBottom: "1.25rem",
14
16
  children: [
15
17
  breadcrumbs || helpLink ? /* @__PURE__ */ jsxs(Grid, {
16
18
  direction: "row",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-page-header",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Availity MUI PageHeader Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -28,16 +28,15 @@
28
28
  "dev": "tsup src/index.ts --format esm,cjs --watch --dts",
29
29
  "clean": "rm -rf dist",
30
30
  "clean:nm": "rm -rf node_modules",
31
- "bundlesize": "bundlesize",
32
31
  "publish": "yarn npm publish --tolerate-republish --access public",
33
32
  "publish:canary": "yarn npm publish --access public --tag canary"
34
33
  },
35
34
  "devDependencies": {
36
- "@availity/mui-breadcrumbs": "^0.1.4",
37
- "@availity/mui-button": "^0.4.2",
38
- "@availity/mui-divider": "^0.3.2",
39
- "@availity/mui-link": "^0.2.1",
40
- "@availity/mui-typography": "^0.1.2",
35
+ "@availity/mui-breadcrumbs": "^0.1.7",
36
+ "@availity/mui-button": "^0.4.3",
37
+ "@availity/mui-divider": "^0.3.3",
38
+ "@availity/mui-link": "^0.2.2",
39
+ "@availity/mui-typography": "^0.1.3",
41
40
  "@mui/material": "^5.14.12",
42
41
  "react": "18.2.0",
43
42
  "react-dom": "18.2.0",
@@ -45,11 +44,11 @@
45
44
  "typescript": "^4.6.4"
46
45
  },
47
46
  "peerDependencies": {
48
- "@availity/mui-breadcrumbs": "^0.1.4",
49
- "@availity/mui-button": "^0.4.2",
50
- "@availity/mui-divider": "^0.3.2",
51
- "@availity/mui-link": "^0.2.1",
52
- "@availity/mui-typography": "^0.1.2",
47
+ "@availity/mui-breadcrumbs": "^0.1.7",
48
+ "@availity/mui-button": "^0.4.3",
49
+ "@availity/mui-divider": "^0.3.3",
50
+ "@availity/mui-link": "^0.2.2",
51
+ "@availity/mui-typography": "^0.1.3",
53
52
  "@mui/material": "^5.11.9",
54
53
  "react": ">=16.3.0"
55
54
  },
@@ -18,7 +18,7 @@ export interface PageHeaderProps {
18
18
 
19
19
  export const PageHeader = ({ breadcrumbs, buttons, headerText, helpLink }: PageHeaderProps): JSX.Element => {
20
20
  return (
21
- <Grid component={Container} container direction="column">
21
+ <Grid component={Container} container direction="column" marginTop="1rem" marginBottom="1.25rem">
22
22
  {breadcrumbs || helpLink ? (
23
23
  <Grid direction="row" item container justifyContent="space-between" marginBottom={4}>
24
24
  {breadcrumbs && (