@sunggang/ui-lib 0.3.21 → 0.3.22

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.esm2.js CHANGED
@@ -17779,12 +17779,13 @@ function _object_spread_props$k(target, source) {
17779
17779
  return target;
17780
17780
  }
17781
17781
  var PrimaryDragDropImage = function(param) {
17782
- var imageUrls = param.imageUrls, onDragEnd = param.onDragEnd, handleRemove = param.handleRemove;
17782
+ var imageUrls = param.imageUrls, onDragEnd = param.onDragEnd, handleRemove = param.handleRemove, isDropDisabled = param.isDropDisabled;
17783
17783
  return /*#__PURE__*/ jsx(DragDropContext, {
17784
17784
  onDragEnd: onDragEnd,
17785
17785
  children: /*#__PURE__*/ jsx(ConnectedDroppable, {
17786
17786
  droppableId: "droppable-imageUrls",
17787
17787
  direction: "horizontal",
17788
+ isDropDisabled: isDropDisabled || false,
17788
17789
  children: function(provided) {
17789
17790
  return /*#__PURE__*/ jsx("div", _object_spread_props$k(_object_spread$o({
17790
17791
  ref: provided.innerRef
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "dependencies": {
5
5
  "@emotion/react": "^11.14.0",
6
6
  "@emotion/styled": "^11.14.0",
@@ -8,6 +8,7 @@ interface PrimaryDragDropImagesProps {
8
8
  imageUrls: ImageItem[];
9
9
  onDragEnd: () => void;
10
10
  handleRemove: (item: ImageItem) => void;
11
+ isDropDisabled?: boolean;
11
12
  }
12
13
  export declare const PrimaryDragDropImage: React.FC<PrimaryDragDropImagesProps>;
13
14
  export {};