Skip to content

docs: add explicit breadcrumbs i18n property to typings#11968

Merged
web-padawan merged 1 commit into
mainfrom
docs/breadcrumbs-i18n-type
Jun 23, 2026
Merged

docs: add explicit breadcrumbs i18n property to typings#11968
web-padawan merged 1 commit into
mainfrom
docs/breadcrumbs-i18n-type

Conversation

@web-padawan

Copy link
Copy Markdown
Member

Description

  • Changed to use I18nMixin<typeof HTMLElement, BreadcrumbsI18n> to align with vaadin-dashboard.d.ts
    • I18nMixin needs to be innermost, otherwise it will suppress other mixins due to typeof HTMLElement
  • Added i18n property to vaadin-breadcrumbs.d.ts to show correct defaults in IDE code completion:
i18n

Type of change

  • Documentation

@web-padawan web-padawan removed the request for review from vursen June 23, 2026 11:51
@web-padawan web-padawan merged commit 1513f55 into main Jun 23, 2026
10 checks passed
@web-padawan web-padawan deleted the docs/breadcrumbs-i18n-type branch June 23, 2026 11:51
@sonarqubecloud

Copy link
Copy Markdown

sissbruecker pushed a commit that referenced this pull request Jun 23, 2026
… 25.2) (#11969)

This PR cherry-picks changes from the original PR #11968 to branch 25.2.

---

#### Original PR description
> ## Description
> 
> - Changed to use `I18nMixin<typeof HTMLElement, BreadcrumbsI18n>` to
align with `vaadin-dashboard.d.ts`
> - `I18nMixin` needs to be innermost, otherwise it will suppress other
mixins due to `typeof HTMLElement`
> - Added `i18n` property to `vaadin-breadcrumbs.d.ts` to show correct
defaults in IDE code completion:
> 
> <img width="704" height="194" alt="i18n"
src="https://github.com/user-attachments/assets/133df8c5-4e5d-405e-b6fc-09f632f55645"
/>
> 
> 
> 
> ## Type of change
> 
> - Documentation

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants