@panneau/medias 4.0.22 → 4.0.24
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.js +6 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1123,13 +1123,18 @@ function MediasBrowser(_ref) {
|
|
|
1123
1123
|
onUploadedMediaChanged(rawMedias);
|
|
1124
1124
|
}
|
|
1125
1125
|
}, [onMediaUploaded, setUploadedMedias, setUploadProcessing, onUploadedMediaChanged]);
|
|
1126
|
+
var onClickPage = useCallback(function (e, pageNumber) {
|
|
1127
|
+
e.preventDefault();
|
|
1128
|
+
e.stopPropagation();
|
|
1129
|
+
onPageChange(pageNumber);
|
|
1130
|
+
}, [onPageChange]);
|
|
1126
1131
|
var pagination = /*#__PURE__*/jsx(Pagination, {
|
|
1127
1132
|
page: page,
|
|
1128
1133
|
lastPage: lastPage,
|
|
1129
1134
|
total: total,
|
|
1130
1135
|
url: baseUrl,
|
|
1131
1136
|
query: query,
|
|
1132
|
-
onClickPage:
|
|
1137
|
+
onClickPage: onClickPage,
|
|
1133
1138
|
theme: theme,
|
|
1134
1139
|
loading: loading && pages !== null,
|
|
1135
1140
|
selectable: selectable,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/medias",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.24",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@panneau/element-icon": "^4.0.21",
|
|
67
67
|
"@panneau/element-media-card": "^4.0.21",
|
|
68
68
|
"@panneau/element-media-player": "^4.0.21",
|
|
69
|
-
"@panneau/element-pagination": "^4.0.
|
|
69
|
+
"@panneau/element-pagination": "^4.0.23",
|
|
70
70
|
"@panneau/element-table": "^4.0.21",
|
|
71
|
-
"@panneau/field-upload": "^4.0.
|
|
71
|
+
"@panneau/field-upload": "^4.0.24",
|
|
72
72
|
"@panneau/filter-filters": "^4.0.21",
|
|
73
73
|
"classnames": "^2.5.1",
|
|
74
74
|
"lodash": "^4.17.21",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "b065a46ee48cfeab97033267dc64dc89b5b1fdd6"
|
|
81
81
|
}
|