@fluid-topics/ft-reader-navigation-button 0.3.24 → 0.3.25

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 +9 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -10,11 +10,19 @@ yarn add @fluid-topics/ft-reader-navigation-button
10
10
 
11
11
  ## Usage
12
12
 
13
+ See [@fluid-topics/ft-reader-context](https://www.npmjs.com/package/@fluid-topics/ft-reader-context) for more information integrated readers for Fluid Topics.
14
+
13
15
  ```typescript
14
16
  import { html } from "lit"
17
+ import "@fluid-topics/ft-reader-context"
15
18
  import "@fluid-topics/ft-reader-navigation-button"
16
19
 
17
20
  function render() {
18
- return html` <ft-reader-navigation-button foo="bar"></ft-reader-navigation-button> `
21
+ return html`
22
+ <ft-reader-context baseUrl="https://my.fluidtopics.com" mapId="<Map ID>">
23
+ <ft-reader-navigation-button target="previous"></ft-reader-navigation-button>
24
+ <ft-reader-navigation-button target="next"></ft-reader-navigation-button>
25
+ </ft-reader-context>
26
+ `
19
27
  }
20
28
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-navigation-button",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "Button used to navigate between pages in an integrated reader context.",
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-button": "0.3.24",
23
- "@fluid-topics/ft-reader-context": "0.3.24",
24
- "@fluid-topics/ft-reader-internal-link": "0.3.24",
25
- "@fluid-topics/ft-tooltip": "0.3.24",
26
- "@fluid-topics/ft-wc-utils": "0.3.24",
22
+ "@fluid-topics/ft-button": "0.3.25",
23
+ "@fluid-topics/ft-reader-context": "0.3.25",
24
+ "@fluid-topics/ft-reader-internal-link": "0.3.25",
25
+ "@fluid-topics/ft-tooltip": "0.3.25",
26
+ "@fluid-topics/ft-wc-utils": "0.3.25",
27
27
  "lit": "2.2.8"
28
28
  },
29
- "gitHead": "3f70221d4cdc1d629200913a3f0d083e703388dd"
29
+ "gitHead": "4f5efdb713b2fcbb605b0dbd69feb6a86442c228"
30
30
  }