Skip to content

Revamp Demo and Minor fixes

Choose a tag to compare

@almothafar almothafar released this 02 Jun 22:57
· 169 commits to master since this release
de3b62d

[18.5.0] — 2026-06-03

Fixed

  • Scoped NguiAutoCompleteService per-component instance (was a module singleton — multiple simultaneous
    <ngui-auto-complete> components overwrote each other's source property causing a runtime crash)
  • isLoading no longer stays stuck true after a failed HTTP request — error handler now resets it
  • ngOnDestroy subscription teardown: replaced invalid EventEmitter.unsubscribe() calls with proper
    RxJS Subscription management via dropdownSubs
  • Replaced UntypedFormControl / UntypedFormGroup with typed FormControl / FormGroup
  • Root .eslintrc.json referenced non-existent e2e/tsconfig.json — removed
  • Project ESLint configs used file-relative tsconfig paths — changed to workspace-root-relative
  • demo:prefix in angular.json was docs instead of app
  • Removed broken ct Cypress component-test target from the library angular.json entry
    (referenced non-existent auto-complete:serve target)
  • auto-select-first-item demo was missing [auto-select-first-item]="true" — feature was never active

Changed

  • Replaced deprecated karma-coverage-istanbul-reporter with karma-coverage
  • Removed unused @types/jasminewd2 (Protractor artefact, not needed with Cypress)
  • Pinned cypress to ^13.0.0 instead of "latest"
  • Demo Observable source example replaced from Marvel API (broken auth) to Open Library (free, no key)
  • Demo HTTP source examples replaced from Google Maps (requires key) to Nominatim/OpenStreetMap (free, no key)
  • RTL demo updated to use Arabic city names with dir="rtl" scoped to the demo area only

Added

  • Angular Material toolbar in demo app with library title and links to GitHub / npm
  • Demo examples use <mat-card> layout in a responsive CSS grid (2-column desktop, 1-column mobile)
  • Collapsible "View Template" expansion panel per demo example
  • MatToolbarModule, MatCardModule, MatExpansionModule, MatButtonModule added to demo module
  • Revamped styles.scss: indigo-pink Material theme, global typography, dark code-block styling
  • Descriptive subtitles and usage hints on all directive and component demo examples
  • Restructured README: badges, API reference table, version-compatibility table, updated dev instructions

What's Changed

Full Changelog: 18.0.0...18.5.0