diff --git a/components/lib/api/api.d.ts b/components/lib/api/api.d.ts index 0ae2a96a39..34a4531797 100644 --- a/components/lib/api/api.d.ts +++ b/components/lib/api/api.d.ts @@ -1446,6 +1446,7 @@ export declare enum FilterMatchMode { EQUALS = 'equals', NOT_EQUALS = 'notEquals', IN = 'in', + NOT_IN = 'notIn', LESS_THAN = 'lt', LESS_THAN_OR_EQUAL_TO = 'lte', GREATER_THAN = 'gt', diff --git a/components/lib/column/column.d.ts b/components/lib/column/column.d.ts index 5f51fab3ed..504b6b6219 100644 --- a/components/lib/column/column.d.ts +++ b/components/lib/column/column.d.ts @@ -680,9 +680,9 @@ interface ColumnFilterMetaData { */ value: any; /** - * Type of filter match. + * Type of filter match; "startsWith", "contains", "endsWith", "equals", "notEquals", "in", "notIn", "lt", "lte", "gt", "gte" and "custom". */ - matchMode: 'startsWith' | 'contains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'notIn' | 'lt' | 'lte' | 'gt' | 'gte' | 'custom'; + matchMode: FilterMatchMode | string; } interface ColumnFilterMetaDataWithConstraint { @@ -723,9 +723,9 @@ interface ColumnFilterMatchModeChangeEvent { */ field: string; /** - * Type of filter match. + * Type of filter match; "startsWith", "contains", "endsWith", "equals", "notEquals", "in", "notIn", "lt", "lte", "gt", "gte" and "custom". */ - matchMode: FilterMatchMode; + matchMode: FilterMatchMode | string; } /** @@ -818,9 +818,9 @@ interface ColumnFilterMatchModeOptions { */ label: string; /** - * The match mode type + * Type of filter match; "startsWith", "contains", "endsWith", "equals", "notEquals", "in", "notIn", "lt", "lte", "gt", "gte" and "custom". */ - value: FilterMatchMode | string; + matchMode: FilterMatchMode | string; } /** @@ -962,9 +962,9 @@ export interface ColumnProps { */ filterHeaderStyle?: React.CSSProperties | undefined; /** - * Defines filterMatchMode; "startsWith", "contains", "endsWith", "equals", "notEquals", "in", "lt", "lte", "gt", "gte" and "custom". + * Defines filterMatchMode; "startsWith", "contains", "endsWith", "equals", "notEquals", "in", "notIn", "lt", "lte", "gt", "gte" and "custom". */ - filterMatchMode?: FilterMatchMode | undefined; + filterMatchMode?: FilterMatchMode | string | undefined; /** * An array of label-value pairs to override the global match mode options. */ diff --git a/components/lib/dropdown/dropdown.d.ts b/components/lib/dropdown/dropdown.d.ts index ff0feb297f..9283c03ff3 100644 --- a/components/lib/dropdown/dropdown.d.ts +++ b/components/lib/dropdown/dropdown.d.ts @@ -329,7 +329,7 @@ export interface DropdownProps extends Omit