@dnd-kit/dom 0.4.0-beta-20260412020809 → 0.4.0
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/index.cjs +2 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +3 -2
- package/index.d.ts +3 -2
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +5 -5
package/index.cjs
CHANGED
|
@@ -912,7 +912,8 @@ render_fn = function() {
|
|
|
912
912
|
if (!source) return;
|
|
913
913
|
const { element } = source;
|
|
914
914
|
const entityOptions = source.pluginConfig(_Feedback);
|
|
915
|
-
const
|
|
915
|
+
const feedbackOption = (_b2 = (_a5 = entityOptions == null ? void 0 : entityOptions.feedback) != null ? _a5 : options == null ? void 0 : options.feedback) != null ? _b2 : "default";
|
|
916
|
+
const feedback = typeof feedbackOption === "function" ? feedbackOption(source, manager) : feedbackOption;
|
|
916
917
|
if (!element || feedback === "none" || !status.initialized || status.initializing) {
|
|
917
918
|
return;
|
|
918
919
|
}
|