diff --git a/src/components/tables/DataTable/DataTableEager.stories.tsx b/src/components/tables/DataTable/DataTableEager.stories.tsx index d8598fe0..7528402d 100644 --- a/src/components/tables/DataTable/DataTableEager.stories.tsx +++ b/src/components/tables/DataTable/DataTableEager.stories.tsx @@ -2,7 +2,6 @@ |* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of |* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -import cx from '../../../../util/componentUtil.ts'; import { differenceInDays } from 'date-fns'; import * as React from 'react'; diff --git a/src/components/tables/DataTable/pagination/PaginationStream.tsx b/src/components/tables/DataTable/pagination/PaginationStream.tsx index e3e76c34..05658658 100644 --- a/src/components/tables/DataTable/pagination/PaginationStream.tsx +++ b/src/components/tables/DataTable/pagination/PaginationStream.tsx @@ -2,7 +2,7 @@ |* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of |* the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -import cx from '../../../../util/componentUtil.ts'; +import { classNames as cx } from '../../../../util/componentUtil.ts'; import type * as React from 'react'; import { Icon } from '../../../graphics/Icon/Icon.tsx'; diff --git a/src/components/tables/MultiSearch/MultiSearch.tsx b/src/components/tables/MultiSearch/MultiSearch.tsx index c3892ee3..5f84b0c4 100644 --- a/src/components/tables/MultiSearch/MultiSearch.tsx +++ b/src/components/tables/MultiSearch/MultiSearch.tsx @@ -346,7 +346,7 @@ export const Filters = (props: FiltersProps) => { tabIndex={0} className="clear-all" onKeyDown={onRemoveAllFilters} - onPress={onRemoveAllFilters} + onClick={onRemoveAllFilters} > Clear all @@ -561,7 +561,7 @@ export const SearchInput = (props: SearchInputProps) => { role="button" tabIndex={0} className={cx('bk-search-input', className, { 'bk-search-input--active': isFocused })} - onPress={onWrapperClick} + onClick={onWrapperClick} onKeyDown={onWrapperKeyDown} > @@ -1350,7 +1350,7 @@ export const MultiSearch = (props: MultiSearchProps) => { onKeyDown={onInputKeyDown} onChange={onInputChange} onFocus={onSearchInputFocus} - onPress={onClick} + onClick={onClick} disabled={disabled} /> ); @@ -1395,7 +1395,7 @@ export const MultiSearch = (props: MultiSearchProps) => { inputRef={inputRef} fields={fields} // popperOptions={popperOptions} - onPress={onFieldClick} + onClick={onFieldClick} onOutsideClick={onOutsideClick} /> ); @@ -1594,7 +1594,7 @@ export const MultiSearch = (props: MultiSearchProps) => { inputRef={inputRef} operators={field.operators} // popperOptions={popperOptions} - onPress={onOperatorClick} + onClick={onOperatorClick} onOutsideClick={onOutsideClick} operatorInfo={field.operatorInfo} />