@fluid-topics/ft-reader-toc 0.3.24 → 0.3.26

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.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -9,11 +9,18 @@ yarn add @fluid-topics/ft-reader-toc
9
9
 
10
10
  ## Usage
11
11
 
12
+ See [@fluid-topics/ft-reader-context](https://www.npmjs.com/package/@fluid-topics/ft-reader-context) for more information integrated readers for Fluid Topics.
13
+
12
14
  ```typescript
13
15
  import { html } from "lit"
16
+ import "@fluid-topics/ft-reader-context"
14
17
  import "@fluid-topics/ft-reader-toc"
15
18
 
16
19
  function render() {
17
- return html` <ft-reader-toc foo="bar"></ft-reader-toc> `
20
+ return html`
21
+ <ft-reader-context baseUrl="https://my.fluidtopics.com" mapId="<Map ID>">
22
+ <ft-reader-toc></ft-reader-toc>
23
+ </ft-reader-context>
24
+ `
18
25
  }
19
26
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "description": "Main table of content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "0.3.24",
23
- "@fluid-topics/ft-reader-context": "0.3.24",
24
- "@fluid-topics/ft-size-watcher": "0.3.24",
25
- "@fluid-topics/ft-typography": "0.3.24",
26
- "@fluid-topics/ft-wc-utils": "0.3.24",
22
+ "@fluid-topics/ft-icon": "0.3.26",
23
+ "@fluid-topics/ft-reader-context": "0.3.26",
24
+ "@fluid-topics/ft-size-watcher": "0.3.26",
25
+ "@fluid-topics/ft-typography": "0.3.26",
26
+ "@fluid-topics/ft-wc-utils": "0.3.26",
27
27
  "lit": "2.2.8"
28
28
  },
29
- "gitHead": "3f70221d4cdc1d629200913a3f0d083e703388dd"
29
+ "gitHead": "884009a2cb2864c90c654932d720d56bdcffe75b"
30
30
  }