Skip to content

Commit

Permalink
feat: ability to return like statements from filter bar; minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-y committed Feb 27, 2024
1 parent 086ceb1 commit e1302dc
Show file tree
Hide file tree
Showing 4 changed files with 347 additions and 128 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- FilterBar - minor refactor

### Added

- FilterBar - ability to return `LIKE` statements

## [1.21.2] - 2023-12-29

### Changed

- TimeRangePicker - return timestamp for `begin_time` and `end_time`

## [1.21.1] - 2023-12-18
Expand Down
9 changes: 8 additions & 1 deletion src/components/filter-bar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ The FilterBar component accepts the following props:

- `option` (string) - the title for the option
- `type` (string) - option type - either `string` or `numeric`
- `values` (array) - array of values for the option
- `isNotMatch` (bool) - when true, returns a not match
- `textMatch` (string) - if present return a `LIKE TEXT_MATCH` query
- `values` (array) - array of values object (see details below) for the option

#### `values` object

- `value` (string|number) - the value
- `isSelected` (bool) - is value selected

#### `getValues`

Expand Down
Loading

0 comments on commit e1302dc

Please sign in to comment.