@mantine/dropzone
Advanced tools
Comparing version 7.1.1 to 7.1.2
@@ -122,3 +122,4 @@ 'use client'; | ||
rejectColor, | ||
acceptColor | ||
acceptColor, | ||
enablePointerEvents | ||
} = _a, others = __objRest(_a, [ | ||
@@ -159,3 +160,4 @@ "classNames", | ||
"rejectColor", | ||
"acceptColor" | ||
"acceptColor", | ||
"enablePointerEvents" | ||
]); | ||
@@ -212,3 +214,3 @@ const getStyles = core.useStyles({ | ||
/* @__PURE__ */ React__default.createElement("input", __spreadProps(__spreadValues({}, getInputProps()), { name })), | ||
/* @__PURE__ */ React__default.createElement("div", __spreadProps(__spreadValues({}, getStyles("inner")), { "data-disable-pointer-events": !activateOnClick || void 0 }), children) | ||
/* @__PURE__ */ React__default.createElement("div", __spreadProps(__spreadValues({}, getStyles("inner")), { "data-enable-pointer-events": enablePointerEvents || void 0 }), children) | ||
)); | ||
@@ -215,0 +217,0 @@ }); |
@@ -68,2 +68,4 @@ import React from 'react'; | ||
validator?: <T extends File>(file: T) => FileError | FileError[] | null; | ||
/** Determines whether pointer events should be enabled on the inner element, `false` by default */ | ||
enablePointerEvents?: boolean; | ||
} | ||
@@ -70,0 +72,0 @@ export type DropzoneFactory = Factory<{ |
{ | ||
"name": "@mantine/dropzone", | ||
"description": "Dropzone component built with Mantine theme and components", | ||
"version": "7.1.1", | ||
"version": "7.1.2", | ||
"main": "./cjs/index.js", | ||
@@ -47,4 +47,4 @@ "types": "./lib/index.d.ts", | ||
"peerDependencies": { | ||
"@mantine/core": "7.1.1", | ||
"@mantine/hooks": "7.1.1", | ||
"@mantine/core": "7.1.2", | ||
"@mantine/hooks": "7.1.2", | ||
"react": "^18.2.0", | ||
@@ -54,5 +54,5 @@ "react-dom": "^18.2.0" | ||
"dependencies": { | ||
"react-dropzone-esm": "15.0.0" | ||
"react-dropzone-esm": "15.0.1" | ||
}, | ||
"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
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
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
121717
1147
+ Added@mantine/core@7.1.2(transitive)
+ Added@mantine/hooks@7.1.2(transitive)
+ Addedreact-dropzone-esm@15.0.1(transitive)
- Removed@mantine/core@7.1.1(transitive)
- Removed@mantine/hooks@7.1.1(transitive)
- Removedattr-accept@2.2.4(transitive)
- Removedfile-selector@0.6.0(transitive)
- Removedreact-dropzone-esm@15.0.0(transitive)
Updatedreact-dropzone-esm@15.0.1