vrfi-design-system 1.1.12 → 1.1.13

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/dist/index.d.ts CHANGED
@@ -17,8 +17,11 @@ import { default as Col } from 'antd/lib/col';
17
17
  import { CollapseProps } from 'antd';
18
18
  import { Colors } from '../../enums/colors.enum';
19
19
  import { ColProps } from 'antd/lib/col';
20
+ import { ColumnGroupType } from 'antd/lib/table';
21
+ import { ColumnProps } from 'antd/lib/table';
20
22
  import { ColumnSortOrder } from './../../enums/columnSortOrder.enum';
21
- import { ColumnsType } from 'antd/es/table/InternalTable';
23
+ import { ColumnsType } from 'antd/lib/table';
24
+ import { ColumnsType as ColumnsType_2 } from 'antd/es/table/InternalTable';
22
25
  import { ColumnType } from 'antd/lib/table';
23
26
  import { Control } from 'react-hook-form';
24
27
  import { ControllerRenderProps } from 'react-hook-form';
@@ -78,6 +81,8 @@ import { ReactNode } from 'react';
78
81
  import { RegisterOptions } from 'react-hook-form';
79
82
  import { default as Row } from 'antd/lib/row';
80
83
  import { RowProps } from 'antd/lib/row';
84
+ import { SegmentedProps as SegmentedProps_2 } from 'antd';
85
+ import { SegmentedValue } from 'rc-segmented';
81
86
  import { SelectProps } from 'antd';
82
87
  import { SelectType } from './../../enums/selectType.enum';
83
88
  import { SelectType as SelectType_2 } from '../../../../enums/selectType.enum';
@@ -99,10 +104,13 @@ import { default as Switch } from 'antd/lib/switch';
99
104
  import { SwitchProps } from 'antd/lib/switch';
100
105
  import { SwitchProps as SwitchProps_2 } from 'antd';
101
106
  import { TableCurrentDataSource } from 'antd/lib/table/interface';
107
+ import { TableLayout } from '../../enums/tableType.enum';
102
108
  import { TablePaginationConfig } from 'antd/lib/table/interface';
103
109
  import { TablePaginationConfig as TablePaginationConfig_2 } from 'antd';
104
- import { TableProps } from 'antd';
105
- import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
110
+ import { TableProps } from 'antd/lib/table';
111
+ import { TableProps as TableProps_2 } from 'antd';
112
+ import { TableProps as TableProps_3 } from 'rc-table/lib/Table';
113
+ import { TableRef } from 'antd/lib/table';
106
114
  import { TableType } from '../../enums/tableType.enum';
107
115
  import { TableType as TableType_2 } from '../../../enums/tableType.enum';
108
116
  import { TabsProps as TabsProps_2 } from 'antd';
@@ -328,8 +336,14 @@ export { Colors }
328
336
 
329
337
  export { ColProps }
330
338
 
339
+ export { ColumnGroupType }
340
+
341
+ export { ColumnProps }
342
+
331
343
  export { ColumnSortOrder }
332
344
 
345
+ export { ColumnsType }
346
+
333
347
  export { ColumnType }
334
348
 
335
349
  export declare type CommonSliderProps = Omit<SliderSingleProps, "range" | "defaultValue"> & Omit<SliderRangeProps, "range" | "defaultValue">;
@@ -874,6 +888,13 @@ export declare interface SearchComponentProps {
874
888
 
875
889
  export declare const SearchField: FC<SearchComponentProps>;
876
890
 
891
+ export declare const Segmented: FC<SegmentedProps>;
892
+
893
+ export declare interface SegmentedProps extends SegmentedProps_2 {
894
+ }
895
+
896
+ export { SegmentedValue }
897
+
877
898
  export declare const Select: ({ name, label, required, customOnChange, options, size, type, customInput, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
878
899
 
879
900
  declare interface SelectPropsBase extends SelectProps {
@@ -948,7 +969,7 @@ export declare interface Stats {
948
969
 
949
970
  export declare const StatsBanner: default_2.FC<StatsBannerProps>;
950
971
 
951
- export declare interface StatsBannerProps {
972
+ export declare interface StatsBannerProps extends HTMLAttributes<HTMLDivElement> {
952
973
  stats: Stats[];
953
974
  }
954
975
 
@@ -982,16 +1003,16 @@ declare interface TabItems {
982
1003
 
983
1004
  export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onTableRowEvents, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, hoverColumn: HoverColumn, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
984
1005
 
985
- export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
1006
+ export declare interface TableComponentProps<T> extends Omit<TableProps_2<T>, "onRow"> {
986
1007
  dataSource?: T[];
987
- columns: ColumnsType<T>;
1008
+ columns: ColumnsType_2<T>;
988
1009
  type?: TableType_2;
989
1010
  pagination?: false | TablePaginationConfig_2;
990
1011
  loading?: boolean;
991
- onTableRowEvents?: TableProps<T>["onRow"];
1012
+ onTableRowEvents?: TableProps_2<T>["onRow"];
992
1013
  onRow?: (record: T) => void;
993
1014
  rowClassName?: (record: T) => string;
994
- scroll?: TableProps_2<T>["scroll"] & {
1015
+ scroll?: TableProps_3<T>["scroll"] & {
995
1016
  scrollToFirstRowOnChange?: boolean;
996
1017
  };
997
1018
  onChange?: (pagination?: TablePaginationConfig_2, filters?: Record<string, FilterValue | null>, sorter?: SorterResult<T> | SorterResult<T>[], extra?: TableCurrentDataSource<T>) => void;
@@ -1003,8 +1024,14 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
1003
1024
  }>;
1004
1025
  }
1005
1026
 
1027
+ export { TableLayout }
1028
+
1006
1029
  export { TablePaginationConfig }
1007
1030
 
1031
+ export { TableProps }
1032
+
1033
+ export { TableRef }
1034
+
1008
1035
  export { TableType }
1009
1036
 
1010
1037
  export declare const Tabs: FC<TabsProps>;