@axium/notes 0.1.1 → 0.1.3

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 +3 -1
  2. package/package.json +1 -1
package/lib/Note.svelte CHANGED
@@ -14,6 +14,7 @@
14
14
  <input
15
15
  type="text"
16
16
  bind:value={note.title}
17
+ placeholder="Unnamed Note"
17
18
  class="editable-text"
18
19
  onchange={e => {
19
20
  note.title = e.currentTarget.value;
@@ -45,7 +46,7 @@
45
46
  </div>
46
47
  {/if}
47
48
  {#if page.data.session?.user.preferences.debug}
48
- <div class="menu--item" onclick={() => copy('text/plain', note.id)}>
49
+ <div class="menu-item" onclick={() => copy('text/plain', note.id)}>
49
50
  <Icon i="copy" --size="14px" />
50
51
  Copy ID
51
52
  </div>
@@ -55,6 +56,7 @@
55
56
  <textarea
56
57
  name="content"
57
58
  class="editable-text"
59
+ placeholder="It's a beautiful day outside..."
58
60
  onchange={e => {
59
61
  note.content = e.currentTarget.value;
60
62
  fetchAPI('PATCH', 'notes/:id', note, note.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/notes",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "description": "Notes for Axium",
6
6
  "funding": {