@ztwoint/z-ui 0.1.98 → 0.1.99

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.
@@ -10,4 +10,5 @@ export interface ColumnReOrderProps {
10
10
  onRemove?: (columnId: string) => void;
11
11
  renderAction?: (column: ColumnType, onRemove: ((columnId: string) => void) | undefined) => React.ReactNode;
12
12
  className?: string;
13
+ disabled?: boolean;
13
14
  }
@@ -1,7 +1,7 @@
1
1
  import { ColumnType } from '../../column-reorder.type';
2
2
  import { ColumnItemState } from './column-item.type';
3
3
  export declare const idle: ColumnItemState;
4
- export declare const useColumnItemDragAndDrop: (column: ColumnType, index: number) => {
4
+ export declare const useColumnItemDragAndDrop: (column: ColumnType, index: number, disabled?: boolean) => {
5
5
  ref: import("react").RefObject<HTMLDivElement | null>;
6
6
  state: ColumnItemState;
7
7
  };
@@ -17,4 +17,5 @@ export interface ColumnItemProps {
17
17
  index: number;
18
18
  onRemove?: (columnId: string) => void;
19
19
  renderAction?: (column: ColumnType, onRemove?: (columnId: string) => void) => ReactNode;
20
+ disabled?: boolean;
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztwoint/z-ui",
3
- "version": "0.1.98",
3
+ "version": "0.1.99",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",