@nkhang1902/strapi-plugin-export-import-clsx 1.1.15 → 1.1.151

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.
@@ -1,9 +1,6 @@
1
1
  import { useState, useRef } from "react";
2
2
  import {
3
- ModalLayout,
4
- ModalHeader,
5
- ModalBody,
6
- ModalFooter,
3
+ Modal,
7
4
  Typography,
8
5
  Box,
9
6
  Button,
@@ -277,17 +274,18 @@ const ExportImportButtons = (props) => {
277
274
  </Button>
278
275
  </div>
279
276
  {showErrorModal && (
280
- <ModalLayout
277
+ <Modal.Root
281
278
  onClose={() => setShowErrorModal(false)}
282
279
  labelledBy="import-errors-title"
283
280
  >
284
- <ModalHeader>
281
+ <Modal.Content>
282
+ <Modal.Header>
285
283
  <Typography id="import-errors-title" fontWeight="bold">
286
284
  Import Errors ({importErrors.length})
287
285
  </Typography>
288
- </ModalHeader>
286
+ </Modal.Header>
289
287
 
290
- <ModalBody>
288
+ <Modal.Body>
291
289
  <Box padding={4}>
292
290
  {importErrors.map((err, index) => (
293
291
  <Box key={index} paddingBottom={2}>
@@ -297,16 +295,17 @@ const ExportImportButtons = (props) => {
297
295
  </Box>
298
296
  ))}
299
297
  </Box>
300
- </ModalBody>
298
+ </Modal.Body>
301
299
 
302
- <ModalFooter
300
+ <Modal.Footer
303
301
  endActions={
304
302
  <Button onClick={() => setShowErrorModal(false)}>
305
303
  Close
306
304
  </Button>
307
305
  }
308
306
  />
309
- </ModalLayout>
307
+ </Modal.Content>
308
+ </Modal.Root>
310
309
  )}
311
310
  </>
312
311
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nkhang1902/strapi-plugin-export-import-clsx",
3
- "version": "1.1.15",
3
+ "version": "1.1.151",
4
4
  "description": "A powerful Strapi plugin for exporting and importing data with Excel support and advanced filtering",
5
5
  "main": "./strapi-server.js",
6
6
  "scripts": {