projview 0.8.1 → 0.8.2
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 +1 -1
- package/public/comments.js +8 -1
package/package.json
CHANGED
package/public/comments.js
CHANGED
|
@@ -29,7 +29,14 @@ const cre = (tag, cls, html) => {
|
|
|
29
29
|
return e;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
const
|
|
32
|
+
const FAB_ICON =
|
|
33
|
+
`<svg class="cmt-fab-ico" viewBox="0 0 24 24" width="23" height="23" fill="none" aria-hidden="true">
|
|
34
|
+
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/>
|
|
35
|
+
<circle cx="8" cy="10" r="1.05" fill="currentColor"/>
|
|
36
|
+
<circle cx="12" cy="10" r="1.05" fill="currentColor"/>
|
|
37
|
+
<circle cx="16" cy="10" r="1.05" fill="currentColor"/>
|
|
38
|
+
</svg>`;
|
|
39
|
+
const fab = cre('button', 'cmt-fab', `${FAB_ICON}<span class="cmt-badge" hidden>0</span>`);
|
|
33
40
|
fab.title = 'comments';
|
|
34
41
|
fab.hidden = true;
|
|
35
42
|
|