@panneau/medias 4.0.62 → 4.0.64
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/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { ReactNode, Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import * as _panneau_core from '@panneau/core';
|
|
4
4
|
import { Media, Field, MediaType, Filter, Column, Resource } from '@panneau/core';
|
|
5
|
+
import { UseUppyOptions } from '@panneau/uppy';
|
|
5
6
|
import * as _panneau_data from '@panneau/data';
|
|
6
7
|
import { UseItemsResponse } from '@panneau/data';
|
|
7
8
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
@@ -53,7 +54,7 @@ interface MediasBrowserProps {
|
|
|
53
54
|
selectedItems?: Media[] | null;
|
|
54
55
|
onSelectionChange?: ((items: Media[] | null) => void) | null;
|
|
55
56
|
multipleSelection?: boolean;
|
|
56
|
-
uppyConfig?:
|
|
57
|
+
uppyConfig?: UseUppyOptions | null;
|
|
57
58
|
withDelete?: boolean;
|
|
58
59
|
withTrash?: boolean;
|
|
59
60
|
withReplace?: boolean;
|
|
@@ -559,4 +560,4 @@ interface MediasResourcePickerProps extends MediasPickerContainerProps {
|
|
|
559
560
|
declare function MediasResourcePicker({ resource: resourceId, ...props }: MediasResourcePickerProps): react.JSX.Element;
|
|
560
561
|
|
|
561
562
|
export { MediaForm, MediaProvider, MediasApiProvider, MediasBrowser, MediasBrowserContainer, MediasPicker, MediasPickerContainer, MediasResourceBrowser, MediasResourcePicker, _default$2 as columns, _default$1 as fields, _default as filters, useCurrentMedia, useMedia, useMediaCreate, useMediaDestroy, useMediaReplace, useMediaRestore, useMediaUpdate, useMedias, useMediasApi };
|
|
562
|
-
export type { MediaContextValue, MediasApi, MediasBrowserContainerProps, MediasBrowserProps, MediasPickerContainerProps, MediasPickerProps };
|
|
563
|
+
export type { MediaContextValue, MediasApi, MediasBrowserContainerProps, MediasBrowserProps, MediasPickerContainerProps, MediasPickerProps, MediasResourceBrowserProps, MediasResourcePickerProps };
|
package/dist/index.js
CHANGED
|
@@ -1890,9 +1890,9 @@ function MediasBrowser(t0) {
|
|
|
1890
1890
|
withButton: true,
|
|
1891
1891
|
withoutMedia: true,
|
|
1892
1892
|
className: "w-auto ms-auto",
|
|
1893
|
-
|
|
1893
|
+
uppyConfig: uppyConfig,
|
|
1894
1894
|
types: types,
|
|
1895
|
-
|
|
1895
|
+
multiple: true,
|
|
1896
1896
|
onChange: onUploadComplete,
|
|
1897
1897
|
disabled: uploadProcessing,
|
|
1898
1898
|
loading: uploadProcessing,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/medias",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.64",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@babel/runtime": "^7.28.6",
|
|
54
54
|
"@panneau/core": "^4.0.58",
|
|
55
|
-
"@panneau/data": "^4.0.
|
|
55
|
+
"@panneau/data": "^4.0.63",
|
|
56
56
|
"@panneau/display-image": "^4.0.58",
|
|
57
57
|
"@panneau/element-button": "^4.0.62",
|
|
58
58
|
"@panneau/element-buttons": "^4.0.62",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"@panneau/element-form-status": "^4.0.58",
|
|
61
61
|
"@panneau/element-grid": "^4.0.62",
|
|
62
62
|
"@panneau/element-icon": "^4.0.58",
|
|
63
|
-
"@panneau/element-media-card": "^4.0.
|
|
63
|
+
"@panneau/element-media-card": "^4.0.63",
|
|
64
64
|
"@panneau/element-media-player": "^4.0.58",
|
|
65
65
|
"@panneau/element-pagination": "^4.0.62",
|
|
66
66
|
"@panneau/element-table": "^4.0.62",
|
|
67
|
-
"@panneau/field-upload": "^4.0.
|
|
67
|
+
"@panneau/field-upload": "^4.0.64",
|
|
68
68
|
"@panneau/filter-filters": "^4.0.62",
|
|
69
69
|
"classnames": "^2.5.1",
|
|
70
70
|
"lodash": "^4.17.21",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "989601b7dc15b368b6b5f12970aaa60f8e1aa132"
|
|
85
85
|
}
|