Skip to content

[UIK-3428][select] added autosuggest component#2949

Open
ilyabrower wants to merge 41 commits into
release/v17from
UIK-3428/autosuggest-visible-fix
Open

[UIK-3428][select] added autosuggest component#2949
ilyabrower wants to merge 41 commits into
release/v17from
UIK-3428/autosuggest-visible-fix

Conversation

@ilyabrower

@ilyabrower ilyabrower commented May 25, 2026

Copy link
Copy Markdown
Contributor

Changelog

@semcore/select

Added

  • AutoSuggest component.

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

@ilyabrower ilyabrower self-assigned this May 25, 2026
Comment thread stories/patterns/ux-patterns/auto-suggest/docs/examples/autosuggest_example.tsx Outdated
@ilyabrower ilyabrower force-pushed the UIK-3428/autosuggest-visible-fix branch from 4072385 to 1a93246 Compare June 3, 2026 11:51
@ilyabrower ilyabrower changed the title [UIK-3428][stories] fixed visible setting for autosuggest after clear query and typing the new one [UIK-3428][select] added autosuggest component Jun 5, 2026
@ilyabrower ilyabrower force-pushed the UIK-3428/autosuggest-visible-fix branch from 1c3bd5b to ac2d11b Compare June 15, 2026 19:27

import type { NSAutoSuggest } from './AutoSuggest.type';
import { Highlight } from './Highlight';
import Select from '../../index';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to import Select from './Select' rather that index file just to prevent potential issues with cycle dependencies.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering why this component is a part of Select rather AutoSuggest....

class AutoSuggestRoot extends Component<
Intergalactic.InternalTypings.InferComponentProps<NSAutoSuggest.Component>,
typeof AutoSuggestRoot.enhance,
{ value: (value: string) => string },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move it to NSAutoSuggest namespace if you don't mind :)

)
: null}
<Root
neighborLocation={neigborLocation}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{neigborLocation} - here is a typo? i suppose here should be neighborLocation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment