[Feat] Rimuovere l'input mode "nav" dal componente <it-dropdown>

Open
#814 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
angular, typescript
Domain
frontend

Research direction

Start with the <it-dropdown> component and the "nav" input mode it exposes, plus the CSS classes that mode applies. The proposal is to drop the input and scope those rules by a <nav> ancestor instead, so check the existing rules and any demos or docs that set the mode. Done means the mode is gone, the styling still works inside a <nav>, and the component renders the same elsewhere. The issue does not settle the exact selector, so confirm the approach with maintainers first.

Written by the indexing model from the issue text.

Description

Esiste già una discussione sul tema che ti interessa, o su un tema simile?
  • Ho verificato e non esiste
Versione della libreria

v20.3.0

Cosa

La modalità "nav" va semplicemente ad applicare determinate classi al componente <it-dropdown>

Perché

Semplificherebbe l'utilizzo del componente senza forzare gli sviluppatori a ricordarsi di impostare la suddetta modalità

Contesto

No response

Altro

Al posto della suddetta modalità si potrebbe modificare la specificità del CSS in moda da "Applicare certe regole solo se il dropdown si trova all'interno di un <nav>"

Dominant language
TypeScript
Stars
88
Forks
47
Avg merge
19h 31m
Merged PRs (30d)
18

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from italia/design-angular-kit

All issues in italia/design-angular-kit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.