digitinary-ui 1.0.4 → 1.0.5

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.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Size, TableLayout } from './enums';
2
+ import { Size } from './enums';
3
3
  import { AlertColorType, AlertVariantType, ButtonColorType, ButtonType, ButtonVariantType, InputType, PlacementType, SizeType, SwitchColorType, PositionType, ChipColorType, ChipVariantType, RadioColorType, RadioOption, HelperTextColorType } from './types';
4
4
  interface BaseProps {
5
5
  id?: string;
@@ -97,22 +97,16 @@ export interface PaginationProps extends BaseProps {
97
97
  };
98
98
  }
99
99
  export interface TableProps extends BaseProps {
100
- tableLayout?: TableLayout;
101
- minWidthThreshold?: number;
102
100
  headCells: HeadCellProps[];
103
- setHeadCells: (headCells: HeadCellProps[]) => void;
104
101
  data: Record<string, any>[];
105
102
  sort: string;
106
103
  setSort: (prev: any) => void;
107
104
  currentHeadCell: string;
108
- setCurrentHeadCell: (currentHeadCell: string) => void;
109
105
  fallback?: JSX.Element;
110
106
  footer?: JSX.Element;
111
107
  onRowClick?: (rowId: string | number) => void;
112
108
  selectableRow?: boolean;
113
109
  selectedRowId?: string;
114
- resizeAndRearrange?: boolean;
115
- tableHeader?: string;
116
110
  rowDataId?: string;
117
111
  }
118
112
  export interface SwitchProps {
@@ -252,9 +246,7 @@ export interface HeadCellProps {
252
246
  id: string;
253
247
  label: string;
254
248
  classes?: string;
255
- draggable?: boolean;
256
249
  sortable?: boolean;
257
- resizable?: boolean;
258
250
  tooltip?: boolean;
259
251
  width?: string;
260
252
  minWidth?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digitinary-ui",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Digitinary UI Library",
5
5
  "author": "Digitinary Company",
6
6
  "repository": {