hplx-react-elements-dev 1.2.56 → 1.2.58

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.
@@ -39,6 +39,8 @@ export interface ITableColDef<T> {
39
39
  filterValues?: ITableDropdown[];
40
40
  onFilterCheck?: (value: string) => void;
41
41
  filterClassName?: string;
42
+ showApplyFilter?: boolean;
43
+ onApplyFilter?: (field: string) => void;
42
44
  }
43
45
  export declare const PinnableValues: {
44
46
  Left: string;
@@ -1,10 +1,15 @@
1
- /// <reference types="react" />
1
+ import { SetStateAction } from "react";
2
2
  import { ITableDropdown } from "../ReusableTableTypes";
3
- interface FilterDropdown {
3
+ interface FilterDropdownProps {
4
4
  options: ITableDropdown[];
5
5
  onCheck: (name: string) => void;
6
6
  dropdownRef: React.Ref<HTMLUListElement>;
7
7
  filterclassname: string;
8
+ showApplyFilter?: boolean;
9
+ onApplyFilter?: (field: string) => void;
10
+ field: string;
11
+ filterButtonRef: React.Ref<HTMLButtonElement>;
12
+ closeDropdown: React.Dispatch<SetStateAction<string | null>>;
8
13
  }
9
- declare function FilterDropdown(props: FilterDropdown): JSX.Element;
14
+ declare function FilterDropdown(props: FilterDropdownProps): JSX.Element;
10
15
  export default FilterDropdown;
@@ -311,6 +311,7 @@ export interface DropdownFieldProps<IsMulti extends boolean> {
311
311
  prefixLabel?: string;
312
312
  labelClassName?: string;
313
313
  placeholderClassName?: string;
314
+ valueTextType?: typographyTextType;
314
315
  }
315
316
  export type Select = <IsMulti extends boolean = false>(props: DropdownFieldProps<IsMulti>) => ReactElement;
316
317
  export interface CardType {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.2.56",
12
+ "version": "1.2.58",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",