@dxos/plugin-wnfs 0.8.1-main.ae460ac → 0.8.1-staging.391c573
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/dist/types/src/components/FileContainer.d.ts +2 -1
- package/dist/types/src/components/FileContainer.d.ts.map +1 -1
- package/dist/types/src/components/FileInput.d.ts +2 -1
- package/dist/types/src/components/FileInput.d.ts.map +1 -1
- package/dist/types/src/components/FilePreview.d.ts +2 -1
- package/dist/types/src/components/FilePreview.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/extensions/image.stories.d.ts +2 -1
- package/dist/types/src/extensions/image.stories.d.ts.map +1 -1
- package/package.json +23 -23
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type FileType } from '../types';
|
|
2
3
|
declare const FileContainer: ({ file, role }: {
|
|
3
4
|
file: FileType;
|
|
4
5
|
role: string;
|
|
5
|
-
}) =>
|
|
6
|
+
}) => React.JSX.Element | null;
|
|
6
7
|
export default FileContainer;
|
|
7
8
|
//# sourceMappingURL=FileContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/FileContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FileContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/FileContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,QAAA,MAAM,aAAa,mBAAoB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,6BA2BtE,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type Schema as S } from 'effect';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export type FileInputProps = {
|
|
3
4
|
schema: S.Schema.Any;
|
|
4
5
|
onChange: (file: File) => void;
|
|
5
6
|
};
|
|
6
|
-
export declare const FileInput: ({ schema, onChange }: FileInputProps) =>
|
|
7
|
+
export declare const FileInput: ({ schema, onChange }: FileInputProps) => React.JSX.Element;
|
|
7
8
|
//# sourceMappingURL=FileInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../../src/components/FileInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../../src/components/FileInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,KAAsB,MAAM,OAAO,CAAC;AAU3C,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC;IACrB,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,SAAS,yBAA0B,cAAc,sBA0B7D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
2
3
|
export type FilePreviewProps = ThemedClassName<{
|
|
3
4
|
type: string;
|
|
@@ -6,5 +7,5 @@ export type FilePreviewProps = ThemedClassName<{
|
|
|
6
7
|
/**
|
|
7
8
|
* File/content preview iframe.
|
|
8
9
|
*/
|
|
9
|
-
export declare const FilePreview: ({ type, url, classNames }: FilePreviewProps) =>
|
|
10
|
+
export declare const FilePreview: ({ type, url, classNames }: FilePreviewProps) => React.JSX.Element;
|
|
10
11
|
//# sourceMappingURL=FilePreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePreview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FilePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePreview.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,WAAW,8BAA+B,gBAAgB,sBAQtE,CAAC"}
|
|
@@ -2,6 +2,6 @@ import React from 'react';
|
|
|
2
2
|
export declare const FileContainer: React.LazyExoticComponent<({ file, role }: {
|
|
3
3
|
file: import("../types").FileType;
|
|
4
4
|
role: string;
|
|
5
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element | null>;
|
|
6
6
|
export * from './FileInput';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,aAAa;;;+BAA8C,CAAC;AAEzE,cAAc,aAAa,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
render: () =>
|
|
5
|
+
render: () => React.JSX.Element;
|
|
5
6
|
decorators: import("@storybook/react").Decorator[];
|
|
6
7
|
};
|
|
7
8
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.stories.d.ts","sourceRoot":"","sources":["../../../../src/extensions/image.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"image.stories.d.ts","sourceRoot":"","sources":["../../../../src/extensions/image.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAA8B,MAAM,OAAO,CAAC;;;;;;AAsFnD,wBAIE;AAEF,eAAO,MAAM,OAAO,IAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-wnfs",
|
|
3
|
-
"version": "0.8.1-
|
|
3
|
+
"version": "0.8.1-staging.391c573",
|
|
4
4
|
"description": "WNFS file management plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"blockstore-core": "^5.0.1",
|
|
38
38
|
"blockstore-idb": "^2.0.0",
|
|
39
39
|
"debounce": "^2.2.0",
|
|
40
|
-
"effect": "
|
|
40
|
+
"effect": "3.13.3",
|
|
41
41
|
"idb-keyval": "^6.2.1",
|
|
42
42
|
"interface-blockstore": "^5.2.10",
|
|
43
43
|
"it-all": "^3.0.6",
|
|
@@ -45,22 +45,22 @@
|
|
|
45
45
|
"react-dropzone": "^14.2.3",
|
|
46
46
|
"uint8arrays": "^5.1.0",
|
|
47
47
|
"wnfs": "0.2.2",
|
|
48
|
-
"@dxos/app-framework": "0.8.1-
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/local-storage": "0.8.1-
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/plugin-
|
|
56
|
-
"@dxos/plugin-
|
|
57
|
-
"@dxos/plugin-space": "0.8.1-
|
|
58
|
-
"@dxos/react-client": "0.8.1-
|
|
59
|
-
"@dxos/react-ui
|
|
60
|
-
"@dxos/react-ui": "0.8.1-
|
|
61
|
-
"@dxos/react-ui-form": "0.8.1-
|
|
62
|
-
"@dxos/react-ui-stack": "0.8.1-
|
|
63
|
-
"@dxos/util": "0.8.1-
|
|
48
|
+
"@dxos/app-framework": "0.8.1-staging.391c573",
|
|
49
|
+
"@dxos/crypto": "0.8.1-staging.391c573",
|
|
50
|
+
"@dxos/echo-schema": "0.8.1-staging.391c573",
|
|
51
|
+
"@dxos/invariant": "0.8.1-staging.391c573",
|
|
52
|
+
"@dxos/local-storage": "0.8.1-staging.391c573",
|
|
53
|
+
"@dxos/log": "0.8.1-staging.391c573",
|
|
54
|
+
"@dxos/effect": "0.8.1-staging.391c573",
|
|
55
|
+
"@dxos/plugin-markdown": "0.8.1-staging.391c573",
|
|
56
|
+
"@dxos/plugin-client": "0.8.1-staging.391c573",
|
|
57
|
+
"@dxos/plugin-space": "0.8.1-staging.391c573",
|
|
58
|
+
"@dxos/react-client": "0.8.1-staging.391c573",
|
|
59
|
+
"@dxos/react-ui": "0.8.1-staging.391c573",
|
|
60
|
+
"@dxos/react-ui-editor": "0.8.1-staging.391c573",
|
|
61
|
+
"@dxos/react-ui-form": "0.8.1-staging.391c573",
|
|
62
|
+
"@dxos/react-ui-stack": "0.8.1-staging.391c573",
|
|
63
|
+
"@dxos/util": "0.8.1-staging.391c573"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -69,16 +69,16 @@
|
|
|
69
69
|
"react": "~18.2.0",
|
|
70
70
|
"react-dom": "~18.2.0",
|
|
71
71
|
"vite": "5.4.7",
|
|
72
|
-
"@dxos/random": "0.8.1-
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/
|
|
72
|
+
"@dxos/random": "0.8.1-staging.391c573",
|
|
73
|
+
"@dxos/react-ui-theme": "0.8.1-staging.391c573",
|
|
74
|
+
"@dxos/storybook-utils": "0.8.1-staging.391c573"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"@phosphor-icons/react": "^2.0.5",
|
|
78
78
|
"react": "~18.2.0",
|
|
79
79
|
"react-dom": "~18.2.0",
|
|
80
|
-
"@dxos/react-ui": "0.8.1-
|
|
81
|
-
"@dxos/react-ui-theme": "0.8.1-
|
|
80
|
+
"@dxos/react-ui": "0.8.1-staging.391c573",
|
|
81
|
+
"@dxos/react-ui-theme": "0.8.1-staging.391c573"
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|