Commit Graph

166 Commits

Author SHA1 Message Date
Carlos Esteban Lopez 2f660eb573 fix(search): Fix SearchBar styles & update StoryBook stories for custom styles for notchedOutline class
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-05-19 11:03:49 -05:00
github-actions[bot] 73e7820731 Version Packages 2023-05-16 09:38:40 +00:00
Gabriel Testault 2dc75f3262 fix(plugin-search-react): update api-report.md
Signed-off-by: Gabriel Testault <gabriel.testault@goto.com>
2023-05-11 11:39:57 +02:00
Gabriel Testault 76153fa9e9 fix(plugin-search-react): add regression test
Signed-off-by: Gabriel Testault <gabriel.testault@goto.com>
2023-05-11 11:39:57 +02:00
Gabriel Testault f9114941c9 fix(plugin-search-react): reset page cursor when page limit changes
Signed-off-by: Gabriel Testault <gabriel.testault@goto.com>
2023-05-11 11:39:57 +02:00
Gabriel Testault 6ca4123ce6 fix(plugin-search-react): hide unexposed prop from SearchPaginationBaseProps
Signed-off-by: Gabriel Testault <gabriel.testault@goto.com>
2023-05-11 11:39:57 +02:00
github-actions[bot] 4f3076700a Version Packages (next) 2023-05-09 09:49:35 +00:00
Renan Mendes Carvalho 1ce7f84b2e feature(plugin-search-react): Extend InputProps on <SearchBar/>
In the current implementation of <SearchBar/> it is possible to
overwrite the default <TextField/> InputProps by passing a prop of the
same name. But sometimes is necessary to extend only, for example when
one is interested on changing the clear button only.
The clear button is supplied in the endAdornment, part of the
InputProps, but at the same time the startAdornment is also on it.
To be able to replace the clear button implementation without affecting
the rest, this patch proposes a change where `InputProps` is exposed in
the same manner as `inputProps` (notice the change from capital I to i).
Where the received object may overwrite keys using the spread operator.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-05-08 14:13:33 +02:00
Renan Mendes Carvalho 326cdb42da lint(plugin-search-react): Fix prettier issues
Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-05-03 15:00:51 +02:00
Renan Mendes Carvalho 48181827dc fix(plugin-search-react): Fix tsc errors and use classes prop
This patch intends to fix the tsc errors in the build and change the usage of FormControlLabel to use the classes property to inject the new styles.

Signed-off-by: Renan Mendes Carvalho <aitherios@gmail.com>
2023-05-03 15:00:51 +02:00
Kenny Johnson 603ed96a25 Fix Lifecyce text-overlow issue in SearchFilter component.
Signed-off-by: Kenny Johnson <105308787+papercircuit@users.noreply.github.com>
2023-05-03 15:00:51 +02:00
github-actions[bot] 8b05da0912 Version Packages (next) 2023-05-02 13:41:12 +00:00
github-actions[bot] e04bb20bdc Version Packages (next) 2023-04-25 15:53:19 +00:00
Carlos Esteban Lopez 9b644e5603 tests(search): Revert autocomplete test changes
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 18:55:24 -05:00
Carlos Esteban Lopez a87f98b385 fix(search): Revert placeholder & sync label & aria-label
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 18:52:03 -05:00
Carlos Esteban Lopez 9e0f486ac2 fix(search): Fix broken tests
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez 87efd07490 fix(search): Address Github PR comments
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez 46310ee03f fix(search): Stop clear enter propagation
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez cba74e9f9d fix(search): Remove unused bar class & swap clear icon for clear text in search bar
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez b9db68aba2 fix(storybook): Fix styles of SearcBar Paper in StoryBook
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez 718ef60638 tests(search): Fix tests broken by change from placeholder to label
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez 750e45539a chore(search): Add changeset & update API reports
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
Carlos Esteban Lopez e22f74f421 feat(search): Improve search dialog's & page's bar UI
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-04-19 13:14:47 -05:00
github-actions[bot] 6141c31839 Version Packages 2023-04-18 12:36:06 +00:00
github-actions[bot] ab75a16da7 Version Packages (next) 2023-04-11 14:21:21 +00:00
github-actions[bot] 9a5a1c4ba2 Version Packages (next) 2023-04-04 13:14:06 +00:00
github-actions[bot] e32dc5e79d Version Packages (next) 2023-03-28 16:01:25 +00:00
Fredrik Adelöw 2cd810c414 @types/react to its right place in dependencies
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-27 14:46:31 +02:00
Fredrik Adelöw e0c6e8b9c3 get rid of majority of peer dependency warnings in yarn
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-03-27 12:26:23 +02:00
github-actions[bot] 5af2c4f412 Version Packages (next) 2023-03-21 13:38:30 +00:00
Morgan Bentell f11f42b8e1 Merge pull request #16659 from agentbellnorm/techdocs/remove-warnings
[TechDocs] remove warnings
2023-03-20 14:43:11 +01:00
Morgan Bentell 2bf94911a4 Merge pull request #16776 from scsinha/ssinha/fix-search-result-item-font
Fix font size and color in search result item
2023-03-16 16:38:39 +01:00
Morgan Bentell 103f5e2793 Merge branch 'master' into techdocs/remove-warnings
Signed-off-by: Morgan Bentell <morgan.bentell@gmail.com>
2023-03-16 16:18:32 +01:00
github-actions[bot] 24632ad94b Version Packages 2023-03-14 14:31:40 +00:00
Sudeep Sinha b2e182cdfa Fix font size and color in search result item
Signed-off-by: Sudeep Sinha <ssinha@squarespace.com>
2023-03-08 14:08:47 -05:00
github-actions[bot] 0eceadb950 Version Packages (next) 2023-03-07 17:21:48 +00:00
Emma Indal 905141aa08 Merge pull request #16576 from kuangp/fix/searchPagination
fix(SearchPagination): disable next button on last page
2023-03-03 11:28:02 +01:00
Fredrik Adelöw d06fc3f3e3 Merge pull request #16614 from backstage/freben/unpack-props
🧹 unpack props inside component bodies
2023-03-02 10:50:51 +01:00
Morgan Bentell cef1a238a9 bump mui labs to remove warnings
Signed-off-by: Morgan Bentell <mbentell@spotify.com>
2023-02-28 17:35:09 +01:00
github-actions[bot] b19b95fc09 Version Packages (next) 2023-02-28 13:04:36 +00:00
Fredrik Adelöw 65454876fb unpack props inside component bodies
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-27 15:31:15 +01:00
Phil Kuang 553f3c9501 fix(SearchPagination): disable next button on last page
Signed-off-by: Phil Kuang <pkuang@factset.com>
2023-02-23 15:53:30 -05:00
Fredrik Adelöw c10384a923 Get rid of usages of the old Button
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-22 14:29:31 +01:00
github-actions[bot] b4627f23b2 Version Packages (next) 2023-02-21 15:40:30 +00:00
github-actions[bot] 25b57cc07f Version Packages 2023-02-14 13:41:52 +00:00
github-actions[bot] b2a73c984a Version Packages (next) 2023-02-07 15:03:45 +00:00
Emma Indal ce1220a4b8 support custom list item props on search extensions
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-02 09:36:30 +01:00
Emma Indal c3798fd6bd update api reports
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-01 15:40:21 +01:00
Emma Indal f7e698636a updates based on result list items extension changes
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-01 15:40:21 +01:00
Emma Indal a0619a5b49 make sure result list is structured with list elements only
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-02-01 15:40:21 +01:00