Skip to content

Commit

Permalink
Update filter icon (opensearch-project#1435)
Browse files Browse the repository at this point in the history
Signed-off-by: Viraj Sanghvi <[email protected]>
  • Loading branch information
virajsanghvi authored Oct 9, 2024
1 parent ed8dbe5 commit f7aec3e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
27 changes: 19 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@

### Deprecations

- Deprecate Query.toESQuery and Query.toESQueryString in favor of Query.toOpenSearchQuery and Query.toOpenSearchQueryString ([#1426](https://github.com/opensearch-project/oui/pull/1426))

### 🛡 Security


### 📈 Features/Enhancements

- Reduce the gap between the elements of a compressed OuiSearchBar ([#1426](https://github.com/opensearch-project/oui/pull/1426))
- Update colors for v9 theme ([#1430](https://github.com/opensearch-project/oui/pull/1430))
- Update filter icon ([#1435](https://github.com/opensearch-project/oui/pull/1435))

### 🐛 Bug Fixes

- Fix naming conventions in OuiSearchBar code and docs ([#1426](https://github.com/opensearch-project/oui/pull/1426))
- Revert button background color configurability ([#1430](https://github.com/opensearch-project/oui/pull/1430))

### 🚞 Infrastructure

Expand All @@ -34,8 +28,25 @@
### 🔩 Tests


## [`1.14.0`](https://github.com/opensearch-project/oui/tree/1.14)
## [`1.15.0`](https://github.com/opensearch-project/oui/tree/1.15)

### Deprecations

- Deprecate Query.toESQuery and Query.toESQueryString in favor of Query.toOpenSearchQuery and Query.toOpenSearchQueryString ([#1426](https://github.com/opensearch-project/oui/pull/1426))

### 📈 Features/Enhancements

- Reduce the gap between the elements of a compressed OuiSearchBar ([#1426](https://github.com/opensearch-project/oui/pull/1426))
- Update colors for v9 theme ([#1430](https://github.com/opensearch-project/oui/pull/1430))

### 🐛 Bug Fixes

- Fix naming conventions in OuiSearchBar code and docs ([#1426](https://github.com/opensearch-project/oui/pull/1426))
- Revert button background color configurability ([#1430](https://github.com/opensearch-project/oui/pull/1430))


## [`1.14.0`](https://github.com/opensearch-project/oui/tree/1.14)

### 🐛 Bug Fixes

- Add Temporary fix for Chrome's problem with rendering mask images ([#1414](https://github.com/opensearch-project/oui/pull/1414))
Expand Down
2 changes: 1 addition & 1 deletion src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2827,7 +2827,7 @@ exports[`OuiIcon props type filter is rendered 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.999 15.999a8 8 0 1 1 0-16 8 8 0 0 1 0 16ZM8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM3.5 5h9a.5.5 0 1 1 0 1h-9a.5.5 0 0 1 0-1Zm2 3h5a.5.5 0 1 1 0 1h-5a.5.5 0 0 1 0-1Zm2 3h1a.5.5 0 1 1 0 1h-1a.5.5 0 1 1 0-1Z"
d="m9.759 12.652-1.8 2.25-.78-.625 1.8-2.25A.1.1 0 0 0 9 11.965V8.362a1 1 0 0 1 .232-.64l4.631-5.558A.1.1 0 0 0 13.787 2H2.213a.1.1 0 0 0-.077.164l4.631 5.558a1 1 0 0 1 .232.64v5.853a.1.1 0 0 0 .178.062l.781.625c-.65.812-1.959.353-1.959-.687V8.362L1.368 2.804C.771 2.088 1.281 1 2.214 1h11.573c.932 0 1.442 1.088.845 1.804L10 8.362v3.603a1.1 1.1 0 0 1-.241.687Z"
fill-rule="evenodd"
/>
</svg>
Expand Down
2 changes: 1 addition & 1 deletion src/components/icon/assets/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const OuiIconFilter = ({ title, titleId, ...props }) => (
{title ? <title id={titleId}>{title}</title> : null}
<path
fillRule="evenodd"
d="M7.999 15.999a8 8 0 1 1 0-16 8 8 0 0 1 0 16ZM8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM3.5 5h9a.5.5 0 1 1 0 1h-9a.5.5 0 0 1 0-1Zm2 3h5a.5.5 0 1 1 0 1h-5a.5.5 0 0 1 0-1Zm2 3h1a.5.5 0 1 1 0 1h-1a.5.5 0 1 1 0-1Z"
d="m9.759 12.652-1.8 2.25-.78-.625 1.8-2.25A.1.1 0 0 0 9 11.965V8.362a1 1 0 0 1 .232-.64l4.631-5.558A.1.1 0 0 0 13.787 2H2.213a.1.1 0 0 0-.077.164l4.631 5.558a1 1 0 0 1 .232.64v5.853a.1.1 0 0 0 .178.062l.781.625c-.65.812-1.959.353-1.959-.687V8.362L1.368 2.804C.771 2.088 1.281 1 2.214 1h11.573c.932 0 1.442 1.088.845 1.804L10 8.362v3.603a1.1 1.1 0 0 1-.241.687Z"
/>
</svg>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/icon/assets/filter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f7aec3e

Please sign in to comment.