Skip to content
Open
Changes from 2 commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
c0f79b1
[stories] fixed visible setting for autosuggest after clear query and…
ilyabrower May 25, 2026
fce5816
Merge branch 'release/v17' into UIK-3428/autosuggest-visible-fix
Valeria-Zimnitskaya Jun 1, 2026
1a93246
[select] added new AutoSuggest component
ilyabrower Jun 3, 2026
b70ae70
[chore] Merge remote-tracking branch 'origin/release/v17' into UIK-34…
ilyabrower Jun 5, 2026
1f60ee5
[docs] updated illustration
sheila-semrush Jun 9, 2026
b931767
[stories] limited width for autosuggest example
sheila-semrush Jun 9, 2026
c61673a
[select] added states to autosuggest
ilyabrower Jun 10, 2026
09e1830
[chore] Merge branch 'release/v17' into UIK-3428/autosuggest-visible-fix
ilyabrower Jun 10, 2026
dfe133d
[select] added StatusItem to autoSuggest
ilyabrower Jun 10, 2026
724c98b
Merge branch 'release/v17' into UIK-3428/autosuggest-visible-fix
ilyabrower Jun 11, 2026
4e66d2d
Merge branch 'release/v17' into UIK-3428/autosuggest-visible-fix
Valeria-Zimnitskaya Jun 12, 2026
d37bcef
[select] fixed build
ilyabrower Jun 12, 2026
5b0fa1d
[select] fixed visual issue with empty suggestions list
ilyabrower Jun 12, 2026
2f0ef63
[dropdown, dropdown-menu, select] don't set focus to trigger with int…
ilyabrower Jun 12, 2026
ecd678e
[select] fixed types
ilyabrower Jun 15, 2026
61ddbd5
[stories] add auto suggest test story
Valeria-Zimnitskaya Jun 15, 2026
93dc274
[select] fixed onClick handler
ilyabrower Jun 15, 2026
c126193
[chore] Merge branch 'UIK-3428/autosuggest-visible-fix' of github.com…
ilyabrower Jun 15, 2026
ac2d11b
[select] added case-insensitive to Highlight regexp
ilyabrower Jun 15, 2026
24a735f
[select] improved highlight component to prevent xss and match case s…
ilyabrower Jun 16, 2026
b3b695f
Merge branch 'release/v17' into UIK-3428/autosuggest-visible-fix
Valeria-Zimnitskaya Jun 16, 2026
12d6a31
[select] fixed autosuggest selection
ilyabrower Jun 16, 2026
77e4192
[chore] Merge branch 'UIK-3428/autosuggest-visible-fix' of github.com…
ilyabrower Jun 16, 2026
c90c7fd
[select] added escape to regexp in highlight
ilyabrower Jun 16, 2026
fbd881d
[stories] update test story
Valeria-Zimnitskaya Jun 16, 2026
a383383
[stories] fixed autosuggest layout
ilyabrower Jun 16, 2026
b781ef0
[chore] Merge branch 'UIK-3428/autosuggest-visible-fix' of github.com…
ilyabrower Jun 16, 2026
43489f3
[select] open autosuggest on focus
ilyabrower Jun 16, 2026
fa3a077
[select] fixed matching after close-opean and fixed auto highlight fi…
ilyabrower Jun 16, 2026
3f2af56
[select] added description for props, fixed props
ilyabrower Jun 16, 2026
e10a1b5
[select] fixed arrow keypress
ilyabrower Jun 17, 2026
060a811
[select] fixed empty state
ilyabrower Jun 17, 2026
93fb2cd
[stories] update test story
Valeria-Zimnitskaya Jun 17, 2026
80e0461
[select] added size for autosuggest
ilyabrower Jun 17, 2026
e44b433
[chore] update tests
Valeria-Zimnitskaya Jun 17, 2026
d070b85
[select] fixed spin size in autosuggest
ilyabrower Jun 17, 2026
e4a1b24
[select] added addons for autosuggest
ilyabrower Jun 17, 2026
1997485
[stories] fixed typo in import
sheila-semrush Jun 17, 2026
b9e9e3a
[stories] update test story
Valeria-Zimnitskaya Jun 18, 2026
ccaff5d
[select] added a11y
ilyabrower Jun 18, 2026
5e9c959
[chore] Merge branch 'UIK-3428/autosuggest-visible-fix' of github.com…
ilyabrower Jun 18, 2026
5a37f01
[select] added extractable logic
ilyabrower Jun 19, 2026
34f6ddb
[flex-box] fixed SROnly type
ilyabrower Jun 19, 2026
893c750
Merge branch 'release/v17' into UIK-3428/autosuggest-visible-fix
Valeria-Zimnitskaya Jun 19, 2026
351a750
[select] fixed tests for autosuggest
ilyabrower Jun 19, 2026
69144a9
[select] fixed tests for autosuggest
ilyabrower Jun 19, 2026
2bdbfb5
[dropdown] fixed tests for StatusItem
ilyabrower Jun 19, 2026
1a43105
[stories] update test story
Valeria-Zimnitskaya Jun 19, 2026
9e0cba2
[select] no highlighted after focus
ilyabrower Jun 19, 2026
7919eaf
[select] some fixes after extraction
ilyabrower Jun 19, 2026
a1b0589
[select] fixed a11y error
ilyabrower Jun 19, 2026
26b702c
[select,dropdown-menu] fixed focus order and some axe issues
ilyabrower Jun 22, 2026
196816a
[dropdown-menu] prevent focus popper by click on item
ilyabrower Jun 22, 2026
5c58f2f
[select] added Children to loading state
ilyabrower Jun 22, 2026
0704027
[select] fixed onChange test
ilyabrower Jun 22, 2026
f8f638b
[chore] Merge remote-tracking branch 'origin/release/v17' into UIK-34…
ilyabrower Jun 22, 2026
4ba02a7
[select] update some tests
Valeria-Zimnitskaya Jun 22, 2026
94ad9bb
[select] fixed types
ilyabrower Jun 22, 2026
4851a5b
[stories] update select story and snapshots
Valeria-Zimnitskaya Jun 22, 2026
928a437
[select] fixed padding for L size
ilyabrower Jun 22, 2026
1d7f68f
[chore] Merge branch 'UIK-3428/autosuggest-visible-fix' of github.com…
ilyabrower Jun 22, 2026
aad8a32
[stories] fixed SERP filter
ilyabrower Jun 22, 2026
ce060ce
[select] fixed default text for loading
ilyabrower Jun 22, 2026
10315b4
[select] set Root for autosuggest
ilyabrower Jun 22, 2026
88ee61a
[select] fixed blink in loading in autosuggest
ilyabrower Jun 23, 2026
5d3a376
[chore] update tests
Valeria-Zimnitskaya Jun 23, 2026
675b1fa
[select] fixed blink in loading in autosugges UIK-5373
ilyabrower Jun 24, 2026
8090157
[select] fixed a11y
ilyabrower Jun 24, 2026
299a83e
[select] fixed a11y
ilyabrower Jun 24, 2026
c539eb2
[select] fixed options filtering example
ilyabrower Jun 24, 2026
f9848d2
[select] fixed states in autosuggest
ilyabrower Jun 24, 2026
1e7e761
[select] fixed states in autosuggest
ilyabrower Jun 25, 2026
9ae3779
[select] upadte auto suggest test
Valeria-Zimnitskaya Jun 25, 2026
4685a30
[select] fixed states in autosuggest
ilyabrower Jun 26, 2026
3018d41
[stories] fixed SR in StatusItem
ilyabrower Jun 26, 2026
80d38b2
[select] fixed types
ilyabrower Jun 26, 2026
2890162
[chore] Merge remote-tracking branch 'origin/release/v17' into UIK-34…
ilyabrower Jun 26, 2026
a217225
[select] added initial loading for async autosuggest with not empty v…
ilyabrower Jun 26, 2026
fb3b839
[chore] updated lock file
ilyabrower Jun 26, 2026
7f8939c
[select] added initial loading for async autosuggest with not empty v…
ilyabrower Jun 26, 2026
0f94ce7
[chore] update test
Valeria-Zimnitskaya Jun 30, 2026
e4f59e3
[docs] updated shortcuts and text on example page
sheila-semrush Jun 30, 2026
9b6c4fa
[select] fixed states in autosuggest
ilyabrower Jul 2, 2026
177ab30
[select, website] fixed states in autosuggest, added api and changelogs
ilyabrower Jul 2, 2026
792ff8f
[select] fixed states in autosuggest
ilyabrower Jul 2, 2026
4fcc820
[select] fixed states in autosuggest
ilyabrower Jul 2, 2026
aed3130
[select] update auto-suggest test
Valeria-Zimnitskaya Jul 2, 2026
961f383
[select] fixed states in autosuggest
ilyabrower Jul 2, 2026
382adeb
[select] update auto-suggest test
Valeria-Zimnitskaya Jul 2, 2026
998fc5c
[select] abort async on escape
ilyabrower Jul 3, 2026
37666d7
[select] fixed clearing value logic
ilyabrower Jul 3, 2026
8f1f325
[chore] Merge branch 'UIK-3428/autosuggest-visible-fix' of github.com…
ilyabrower Jul 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const Demo = () => {
const [visible, setVisible] = React.useState(false);
const [query, setQuery] = React.useState('');
const [suggestions, setSuggestions] = React.useState<Suggestion[]>([]);
const [isEmptyQuery, setIsEmptyQuery] = React.useState(true);
const loadSuggestions = React.useCallback(
debounce(
(query: string) => fakeFetch(query).then((suggestions) => setSuggestions(suggestions)),
Expand All @@ -75,8 +76,17 @@ const Demo = () => {
[],
);
React.useEffect(() => {
loadSuggestions(query);
}, [query]);
if (query === '') {
setSuggestions([]);
setIsEmptyQuery(true);
} else {
if (isEmptyQuery) {
setVisible(true);
setIsEmptyQuery(false);
}
loadSuggestions(query);
}
}, [query, isEmptyQuery]);
const handleSelect = React.useCallback((x: string) => {
setQuery(x);
setVisible(false);
Comment thread
ilyabrower marked this conversation as resolved.
Outdated
Expand Down
Loading