@brillout/docpress 0.5.18 → 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.
Binary file
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;
@@ -90,6 +92,7 @@ type Config = {
90
92
  globalNote?: React.ReactNode;
91
93
  i18n?: true;
92
94
  pressKit?: true;
95
+ sponsorGithubAccount?: string;
93
96
  };
94
97
 
95
98
  declare function Link({ href, text, noBreadcrumb, doNotInferSectionTitle, titleNormalCase, children }: {
package/dist/index.js CHANGED
@@ -305,6 +305,9 @@ var mfqs_default = "/assets/mfqs-2EAEE7N6.svg";
305
305
  // src/components/Sponsors/companyLogos/optimizers.svg
306
306
  var optimizers_default = "/assets/optimizers-SFEZF3NW.svg";
307
307
 
308
+ // src/components/Sponsors/companyLogos/burdaforward.png
309
+ var burdaforward_default = "/assets/burdaforward-EUGURYZY.png";
310
+
308
311
  // src/components/Sponsors/companyLogos/inlang.png
309
312
  var inlang_default = "/assets/inlang-GFRWND6X.png";
310
313
 
@@ -316,11 +319,11 @@ var alignable_default = "/assets/alignable-B4QZV4X7.svg";
316
319
 
317
320
  // src/components/Sponsors/sponsorsList.ts
318
321
  var individuals = [
322
+ { username: "ChristophP" },
319
323
  { username: "msiegenthaler" },
320
324
  { username: "linkyard" },
321
325
  { username: "AnukarOP" },
322
326
  { username: "RoyMcCrain" },
323
- { username: "BurdaForward" },
324
327
  { username: "chrisvander" },
325
328
  { username: "EralChen" },
326
329
  { username: "3dyuval" },
@@ -391,6 +394,13 @@ var companies = [
391
394
  },
392
395
  github: "OptimizersGroup"
393
396
  },
397
+ {
398
+ companyName: "BurdaFoward",
399
+ companyLogo: burdaforward_default,
400
+ plan: "bronze",
401
+ website: "https://www.burda-forward.de",
402
+ github: "BurdaForward"
403
+ },
394
404
  {
395
405
  companyName: "My Favorite Quilt Store",
396
406
  companyLogo: mfqs_default,
@@ -419,13 +429,14 @@ var sponsorsList = [...companies, ...individuals];
419
429
  function Sponsors() {
420
430
  const pageContext = usePageContext();
421
431
  const { projectInfo } = pageContext.config;
432
+ const sponsorGithubAccount = pageContext.config.sponsorGithubAccount || "brillout";
422
433
  const sponsorsCompanies = sponsorsList.filter(isCompany);
423
434
  const sponsorsIndividuals = sponsorsList.filter(isIndividual);
424
435
  return /* @__PURE__ */ React7.createElement("div", {
425
436
  style: { textAlign: "center", marginTop: 19 }
426
437
  }, /* @__PURE__ */ React7.createElement("a", {
427
438
  className: "button",
428
- href: "https://github.com/sponsors/brillout",
439
+ href: `https://github.com/sponsors/${sponsorGithubAccount}`,
429
440
  style: {
430
441
  color: "inherit",
431
442
  display: "inline-flex",
@@ -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.18",
3
+ "version": "0.5.20",
4
4
  "scripts": {
5
5
  "// Check types while developing": "",
6
6
  "types": "tsc --noEmit --watch",