@axium/tasks 0.3.0 → 0.3.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.
@@ -50,7 +50,7 @@
50
50
  fetchAPI('PATCH', 'tasks/:id', { summary: task.summary }, task.id);
51
51
  }}
52
52
  />
53
- <Popover>
53
+ <Popover showToggle="hover">
54
54
  <div
55
55
  class="menu-item"
56
56
  onclick={() =>
@@ -187,14 +187,6 @@
187
187
  }
188
188
  }
189
189
 
190
- .task :global(.popover-toggle) {
191
- visibility: hidden;
192
- }
193
-
194
- .task:hover :global(.popover-toggle) {
195
- visibility: visible;
196
- }
197
-
198
190
  .task-list {
199
191
  display: flex;
200
192
  flex-direction: column;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/tasks",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "Tasks for Axium",
6
6
  "funding": {
@@ -35,7 +35,7 @@
35
35
  "build": "tsc"
36
36
  },
37
37
  "peerDependencies": {
38
- "@axium/client": ">=0.9.0",
38
+ "@axium/client": ">=0.9.6",
39
39
  "@axium/core": ">=0.12.0",
40
40
  "@axium/server": ">=0.28.0",
41
41
  "@sveltejs/kit": "^2.27.3",
@@ -56,6 +56,7 @@
56
56
  "name": "Tasks",
57
57
  "icon": "list-check"
58
58
  }
59
- ]
59
+ ],
60
+ "update_checks": true
60
61
  }
61
62
  }
@@ -17,11 +17,11 @@
17
17
 
18
18
  <div class="tasks-main">
19
19
  <h1>Tasks</h1>
20
- <span>
21
- <button class="icon-text" onclick={() => dialog!.showModal()}>
22
- <Icon i="plus" /> New List
23
- </button>
24
- </span>
20
+
21
+ <button id="create-task-list" class="icon-text mobile-float-right" onclick={() => dialog!.showModal()}>
22
+ <Icon i="plus" /> New List
23
+ </button>
24
+
25
25
  <div class="lists-container">
26
26
  {#each lists as list}
27
27
  <TaskList {list} bind:lists />
@@ -58,6 +58,10 @@
58
58
  gap: 1em;
59
59
  }
60
60
 
61
+ #create-task-list {
62
+ width: fit-content;
63
+ }
64
+
61
65
  .lists-container {
62
66
  display: grid;
63
67
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));