@axium/storage 0.18.11 → 0.18.12

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.
@@ -11,5 +11,5 @@ export function copyShortURL(item) {
11
11
  export function formatItemName(item) {
12
12
  if (!item?.name)
13
13
  return text('storage.generic.no_name_in_dialog');
14
- return `<strong>${item.name.length > 23 ? item.name.slice(0, 20) + '...' : item.name}</strong>`;
14
+ return item.name.length > 23 ? item.name.slice(0, 20) + '...' : item.name;
15
15
  }
package/lib/List.svelte CHANGED
@@ -142,7 +142,7 @@
142
142
  items.splice(activeIndex, 1);
143
143
  }}
144
144
  >
145
- <p>{@html text('storage.List.trash_confirm', { $html: true, name: activeItemName })}</p>
145
+ <p>{text('storage.List.trash_confirm', { name: activeItemName })}</p>
146
146
  </FormDialog>
147
147
  <FormDialog
148
148
  bind:dialog={dialogs.download}
@@ -155,7 +155,7 @@
155
155
  } else open(activeItem!.dataURL, '_blank');
156
156
  }}
157
157
  >
158
- <p>{@html text('storage.generic.download_confirm', { $html: true, name: activeItemName })}</p>
158
+ <p>{text('storage.generic.download_confirm', { name: activeItemName })}</p>
159
159
  </FormDialog>
160
160
 
161
161
  <style>
@@ -133,7 +133,7 @@
133
133
  if (index !== -1) items.splice(index, 1);
134
134
  }}
135
135
  >
136
- <p>{@html text('storage.SidebarItem.delete_confirm', { $html: true, name: itemName })}</p>
136
+ <p>{text('storage.SidebarItem.delete_confirm', { name: itemName })}</p>
137
137
  </FormDialog>
138
138
  <FormDialog
139
139
  bind:dialog={dialogs.download}
@@ -144,7 +144,7 @@
144
144
  >
145
145
  <p>
146
146
  {text('storage.SidebarItem.download_disclaimer')} <br />
147
- {@html text('storage.generic.download_confirm', { $html: true, name: itemName })}
147
+ {text('storage.generic.download_confirm', { name: itemName })}
148
148
  </p>
149
149
  </FormDialog>
150
150
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/storage",
3
- "version": "0.18.11",
3
+ "version": "0.18.12",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "User file storage for Axium",
6
6
  "funding": {
@@ -65,7 +65,7 @@
65
65
  items.splice(activeIndex, 1);
66
66
  }}
67
67
  >
68
- <p>{@html text('page.files.trash_page.restore_confirm', { $html: true, name: activeItemName })}</p>
68
+ <p>{text('page.files.trash_page.restore_confirm', { name: activeItemName })}</p>
69
69
  </FormDialog>
70
70
  <FormDialog
71
71
  bind:dialog={deleteDialog}
@@ -78,7 +78,7 @@
78
78
  }}
79
79
  >
80
80
  <p>
81
- {@html text('page.files.trash_page.delete_confirm', { $html: true, name: activeItemName })}
81
+ {text('page.files.trash_page.delete_confirm', { name: activeItemName })}
82
82
  </p>
83
83
  </FormDialog>
84
84