Skip to content

(#21) Add Autocomplete search-box features and fix style packaging#74

Merged
adriancofie merged 1 commit into
developfrom
ticket/21-autocomplete-css
Jun 8, 2026
Merged

(#21) Add Autocomplete search-box features and fix style packaging#74
adriancofie merged 1 commit into
developfrom
ticket/21-autocomplete-css

Conversation

@adriancofie

Copy link
Copy Markdown
Contributor
  • Replace the broken CSS-module (Autocomplete.module.scss compiled to var styles = undefined and shipped no CSS) with a plain SCSS partial (_autocomplete.scss) forwarded into the bundled stylesheet, using static nci-autocomplete* class names so styles ship in dist/styles/index.css.
  • Add minChars + minCharsMessage (below-threshold hint).
  • Add onSubmit + a search button; Enter submits when no option is highlighted.
  • Add highlightMatch to bold the matched substring, and searchButtonLabel.
  • Tests (46) and a SearchBox story; add changeset (minor).

Closes #21

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Storybook Preview

This PR includes component changes. A Storybook build was verified successfully.

Once merged, the updated Storybook will be deployed to GitHub Pages automatically.

- Replace the broken CSS-module (Autocomplete.module.scss compiled to
  `var styles = undefined` and shipped no CSS) with a plain SCSS partial
  (_autocomplete.scss) forwarded into the bundled stylesheet, using static
  nci-autocomplete* class names so styles ship in dist/styles/index.css.
- Add minChars + minCharsMessage (below-threshold hint).
- Add onSubmit + a search button; Enter submits when no option is highlighted.
- Add highlightMatch to bold the matched substring, and searchButtonLabel.
- Tests (46) and a SearchBox story; add changeset (minor).

Closes #21
@adriancofie adriancofie force-pushed the ticket/21-autocomplete-css branch from bb21e0c to 0de0270 Compare June 8, 2026 20:36
@adriancofie adriancofie merged commit 8691300 into develop Jun 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.3] Story: Implement Autocomplete Component

1 participant