@mantine/dropzone
Advanced tools
Comparing version 7.1.0 to 7.1.1-alpha.0
@@ -0,1 +1,2 @@ | ||
'use client'; | ||
'use strict'; | ||
@@ -2,0 +3,0 @@ |
@@ -0,1 +1,2 @@ | ||
'use client'; | ||
'use strict'; | ||
@@ -6,3 +7,3 @@ | ||
var React = require('react'); | ||
var reactDropzone = require('react-dropzone'); | ||
var reactDropzoneEsm = require('react-dropzone-esm'); | ||
var core = require('@mantine/core'); | ||
@@ -172,3 +173,3 @@ var hooks = require('@mantine/hooks'); | ||
}); | ||
const { getRootProps, getInputProps, isDragAccept, isDragReject, open } = reactDropzone.useDropzone(__spreadValues({ | ||
const { getRootProps, getInputProps, isDragAccept, isDragReject, open } = reactDropzoneEsm.useDropzone(__spreadValues({ | ||
onDrop: onDropAny, | ||
@@ -175,0 +176,0 @@ onDropAccepted: onDrop, |
@@ -0,1 +1,2 @@ | ||
'use client'; | ||
'use strict'; | ||
@@ -2,0 +3,0 @@ |
@@ -0,1 +1,2 @@ | ||
'use client'; | ||
'use strict'; | ||
@@ -2,0 +3,0 @@ |
@@ -0,1 +1,2 @@ | ||
'use client'; | ||
'use strict'; | ||
@@ -2,0 +3,0 @@ |
@@ -1,2 +0,1 @@ | ||
'use client'; | ||
'use strict'; | ||
@@ -3,0 +2,0 @@ |
@@ -0,1 +1,2 @@ | ||
'use client'; | ||
'use strict'; | ||
@@ -2,0 +3,0 @@ |
import React from 'react'; | ||
import { FileRejection, Accept, FileWithPath, DropEvent, FileError } from 'react-dropzone'; | ||
import { FileRejection, Accept, FileWithPath, DropEvent, FileError } from 'react-dropzone-esm'; | ||
import { BoxProps, StylesApiProps, ElementProps, Factory, MantineRadius, MantineColor } from '@mantine/core'; | ||
@@ -4,0 +4,0 @@ import { DropzoneAccept, DropzoneIdle, DropzoneReject } from './DropzoneStatus'; |
@@ -26,3 +26,3 @@ /// <reference types="react" /> | ||
export type { DropzoneAcceptProps, DropzoneRejectProps, DropzoneIdleProps } from './DropzoneStatus'; | ||
export type { FileWithPath, FileRejection } from 'react-dropzone'; | ||
export type { FileWithPath, FileRejection } from 'react-dropzone-esm'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@mantine/dropzone", | ||
"description": "Dropzone component built with Mantine theme and components", | ||
"version": "7.1.0", | ||
"version": "7.1.1-alpha.0", | ||
"main": "./cjs/index.js", | ||
@@ -47,4 +47,4 @@ "types": "./lib/index.d.ts", | ||
"peerDependencies": { | ||
"@mantine/core": "7.1.0", | ||
"@mantine/hooks": "7.1.0", | ||
"@mantine/core": "7.1.1-alpha.0", | ||
"@mantine/hooks": "7.1.1-alpha.0", | ||
"react": "^18.2.0", | ||
@@ -54,5 +54,5 @@ "react-dom": "^18.2.0" | ||
"dependencies": { | ||
"react-dropzone": "14.2.3" | ||
"react-dropzone-esm": "15.0.0" | ||
}, | ||
"devDependencies": {} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121051
1141
1
+ Addedreact-dropzone-esm@15.0.0
+ Added@mantine/core@7.1.1-alpha.0(transitive)
+ Added@mantine/hooks@7.1.1-alpha.0(transitive)
+ Addedreact-dropzone-esm@15.0.0(transitive)
+ Addedreact-textarea-autosize@8.5.3(transitive)
- Removedreact-dropzone@14.2.3
- Removed@mantine/core@7.1.0(transitive)
- Removed@mantine/hooks@7.1.0(transitive)
- Removedreact-dropzone@14.2.3(transitive)
- Removedreact-textarea-autosize@8.5.2(transitive)