@axium/storage 0.6.9 → 0.6.10

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/lib/Add.svelte CHANGED
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { forMime } from '@axium/core/icons';
3
- import { FormDialog, Icon, Popover, Upload } from '@axium/server/components';
3
+ import { FormDialog, Icon, Popover, Upload } from '@axium/client/components';
4
4
  import { uploadItem } from '@axium/storage/client';
5
5
  import type { StorageItemMetadata } from '@axium/storage/common';
6
6
 
package/lib/List.svelte CHANGED
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { formatBytes } from '@axium/core/format';
3
3
  import { forMime as iconForMime } from '@axium/core/icons';
4
- import { FormDialog, Icon } from '@axium/server/components';
4
+ import { FormDialog, Icon } from '@axium/client/components';
5
5
  import { getDirectoryMetadata, updateItemMetadata } from '@axium/storage/client';
6
6
  import type { StorageItemMetadata } from '@axium/storage/common';
7
7
  import '../styles/list.css';
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import * as icon from '@axium/core/icons';
3
- import { ClipboardCopy, FormDialog, Icon } from '@axium/server/components';
3
+ import { ClipboardCopy, FormDialog, Icon } from '@axium/client/components';
4
4
  import { deleteItem, updateItemMetadata } from '@axium/storage/client';
5
5
  import type { StorageItemMetadata } from '@axium/storage/common';
6
6
  import { debug, getDirectory, selection, toggle, toggleRange } from '@axium/storage/sidebar';
package/lib/Usage.svelte CHANGED
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { formatBytes } from '@axium/core/format';
3
- import { NumberBar } from '@axium/server/components';
3
+ import { NumberBar } from '@axium/client/components';
4
4
  import { getUserStorageInfo } from '@axium/storage/client';
5
5
  import type { UserStorageInfo } from '@axium/storage/common';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/storage",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "description": "User file storage for Axium",
6
6
  "funding": {
@@ -38,7 +38,7 @@
38
38
  "build": "tsc"
39
39
  },
40
40
  "peerDependencies": {
41
- "@axium/client": ">=0.1.0",
41
+ "@axium/client": ">=0.2.0",
42
42
  "@axium/core": ">=0.5.4",
43
43
  "@axium/server": ">=0.22.5",
44
44
  "@sveltejs/kit": "^2.27.3",
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Icon } from '@axium/server/components';
2
+ import { Icon } from '@axium/client/components';
3
3
  import { StorageUsage } from '@axium/storage/components';
4
4
  import { capitalize } from 'utilium';
5
5
 
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { Icon } from '@axium/server/components';
2
+ import { Icon } from '@axium/client/components';
3
3
  import { StorageAdd, StorageList } from '@axium/storage/components';
4
4
  import type { PageProps } from './$types';
5
5
  import { updateItemMetadata } from '@axium/storage/client';
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { formatBytes } from '@axium/core/format';
3
3
  import { forMime as iconForMime } from '@axium/core/icons';
4
- import { Icon } from '@axium/server/components';
4
+ import { Icon } from '@axium/client/components';
5
5
  import '@axium/storage/styles/list';
6
6
  import type { PageProps } from './$types';
7
7
 
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { formatBytes } from '@axium/core/format';
3
3
  import { forMime as iconForMime } from '@axium/core/icons';
4
- import { FormDialog, Icon } from '@axium/server/components';
4
+ import { FormDialog, Icon } from '@axium/client/components';
5
5
  import { deleteItem, updateItemMetadata } from '@axium/storage/client';
6
6
  import '@axium/storage/styles/list';
7
7
  import type { PageProps } from './$types';
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { formatBytes } from '@axium/core/format';
3
3
  import { forMime } from '@axium/core/icons';
4
- import { FormDialog, Icon, NumberBar } from '@axium/server/components';
4
+ import { FormDialog, Icon, NumberBar } from '@axium/client/components';
5
5
  import { deleteItem, updateItemMetadata } from '@axium/storage/client';
6
6
  import type { StorageItemUpdate } from '@axium/storage/common';
7
7
  import { StorageList } from '@axium/storage/components';