@access-ci/ui 0.8.0-beta2 → 0.8.0
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/README.md +7 -0
- package/dist/access-ci-ui.bundle.js +56 -3
- package/dist/access-ci-ui.js +9 -8
- package/dist/access-ci-ui.umd.cjs +65 -12
- package/dist/access-qa-bot-DT5Eikre.js +1898 -0
- package/dist/{icon-l_WXz3VS.js → icon-DO5WLkIr.js} +1 -1
- package/dist/{index-7DUt41Pg.js → index-CGLHL48j.js} +685 -617
- package/dist/{resource-group-detail-BWQAjklP.js → resource-group-detail-px8JUvEX.js} +2 -2
- package/dist/{resource-home-itrfiwmu.js → resource-home-CI6IFYKT.js} +2 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ The library includes functions for rendering common ACCESS user interface compon
|
|
|
29
29
|
- `footerMenus`: Site-specific navigation menus above the footer
|
|
30
30
|
- `footer`: Universal footer
|
|
31
31
|
- `resourceCatalog`: ACCESS resource catalog
|
|
32
|
+
- `qaBot`: Question/answer bot
|
|
32
33
|
|
|
33
34
|
## Example
|
|
34
35
|
|
|
@@ -47,6 +48,7 @@ The library includes functions for rendering common ACCESS user interface compon
|
|
|
47
48
|
</div>
|
|
48
49
|
<div id="footer-menus"></div>
|
|
49
50
|
<div id="footer"></div>
|
|
51
|
+
<div id="qa-bot"></div>
|
|
50
52
|
<script type="module">
|
|
51
53
|
import {
|
|
52
54
|
footer,
|
|
@@ -125,5 +127,10 @@ The library includes functions for rendering common ACCESS user interface compon
|
|
|
125
127
|
});
|
|
126
128
|
|
|
127
129
|
footer({ target: document.getElementById("footer") });
|
|
130
|
+
|
|
131
|
+
qaBot({
|
|
132
|
+
target: document.getElementById("qa-bot"),
|
|
133
|
+
apiKey: "my-api-key",
|
|
134
|
+
});
|
|
128
135
|
</script>
|
|
129
136
|
```
|