@brillout/docpress 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "exports": {
5
5
  ".": "./src/index.ts",
6
6
  "./client/initFeatureList": {
@@ -6,7 +6,7 @@ export { RepoLink }
6
6
  export { isRepoLink }
7
7
 
8
8
  function isRepoLink(href: string) {
9
- return ['/examples/', '/docs/', '/boilerplates/', '.github/'].some((start) => href.startsWith(start))
9
+ return ['/examples/', '/docs/', '/boilerplates/', '.github/', '/test/'].some((start) => href.startsWith(start))
10
10
  }
11
11
 
12
12
  function RepoLink({ path, text, editMode }: { path: string; text?: string | JSX.Element; editMode?: true }) {
@@ -6,3 +6,7 @@
6
6
  --background-color: #f0f0f0;
7
7
  padding-bottom: 70px;
8
8
  }
9
+
10
+ html.navigation-fullscreen #detached-note {
11
+ display: none;
12
+ }
@@ -200,6 +200,7 @@ function ScrollOverlay() {
200
200
  function DetachedPageNote() {
201
201
  return (
202
202
  <div
203
+ id="detached-note"
203
204
  style={{
204
205
  backgroundColor: 'var(--background-color)',
205
206
  textAlign: 'left',