@brillout/docpress 0.5.19 → 0.5.20

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/dist/index.d.ts CHANGED
@@ -81,7 +81,9 @@ type Config = {
81
81
  headings: HeadingDefinition[];
82
82
  headingsDetached: HeadingDetachedDefinition[];
83
83
  navHeaderMobile: React.ReactNode;
84
+ navHeaderMobileWrapperStyle?: React.CSSProperties;
84
85
  navHeader: React.ReactNode;
86
+ navHeaderWrapperStyle?: React.CSSProperties;
85
87
  titleNormalCase: boolean;
86
88
  tagline: string;
87
89
  websiteUrl: string;
@@ -69,7 +69,8 @@ function NavigationHeader() {
69
69
  justifyContent: "left",
70
70
  textDecoration: "none",
71
71
  paddingTop: 12,
72
- paddingBottom: 7
72
+ paddingBottom: 7,
73
+ ...pageContext.config.navHeaderWrapperStyle
73
74
  },
74
75
  href: "/"
75
76
  }, pageContext.config.navHeader), /* @__PURE__ */ React.createElement(Links, null));
@@ -355,7 +356,8 @@ function MobileHeader() {
355
356
  display: "flex",
356
357
  alignItems: "center",
357
358
  justifyContent: "left",
358
- textDecoration: "none"
359
+ textDecoration: "none",
360
+ ...pageContext.config.navHeaderMobileWrapperStyle
359
361
  }
360
362
  }, pageContext.config.navHeaderMobile)));
361
363
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.5.19",
3
+ "version": "0.5.20",
4
4
  "scripts": {
5
5
  "// Check types while developing": "",
6
6
  "types": "tsc --noEmit --watch",