@axium/notes 0.1.6 → 0.1.7

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/lib/Note.svelte +4 -1
  2. package/package.json +1 -1
package/lib/Note.svelte CHANGED
@@ -34,7 +34,10 @@
34
34
  <Icon i="trash" /> Delete
35
35
  </div>
36
36
  <div class="menu-item" onclick={() => download(note.title + '.txt', note.content ?? '')}>
37
- <Icon i="file-arrow-down" /> Download
37
+ <Icon i="download" /> Download
38
+ </div>
39
+ <div class="menu-item" onclick={() => copy('text/plain', `${location.origin}/notes/${note.id}`)}>
40
+ <Icon i="link-horizontal" /> Copy Link
38
41
  </div>
39
42
  {#if notes}
40
43
  <div class="menu-item" onclick={() => open(`/notes/${note.id}`)}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/notes",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "description": "Notes for Axium",
6
6
  "funding": {