Component: more NavBar variants (centered, floating, mega menu, sidebar, minimal, search)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react, tailwindcss, typescript
- Ambito
- frontend, internationalization
Direzione di ricerca
Start by reading the existing NavBar component and its shared locale data, then review issues #44–#46 for the keyboard, RTL, and preview requirements. The issue asks for one separately claimed variant per PR; choose a variant and identify its registry, barrel export, docs, demo, and test entry points. Done when that variant meets the listed requirements and its acceptance checks pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
NavBar is the only navigation component. Add more navbar variants so users can pick a layout without restyling the base one. Each variant is a separate component and a separate PR; comment below to claim one.
Proposed variants
| Component | Description |
|---|---|
NavBarCentered |
Logo centered, links split left/right, language selector and CTA at the end. |
NavBarFloating |
Detached, rounded "pill" bar that floats over content with a blurred backdrop, and shrinks on scroll. |
NavBarMega |
Links can open a mega-menu panel with grouped sub-links and descriptions. |
NavBarSidebar |
Vertical side navigation for docs and dashboards, collapsible to icons, with the language selector in the footer. |
NavBarMinimal |
Logo plus language selector only, using LanguageSwitcherPill as the inline locale control. |
NavBarWithSearch |
Base bar plus a search field / command-palette trigger (⌘K). |
Requirements (every variant)
- Same conventions as
NavBar:value/defaultValue/onValueChangefor the locale.locales: Locale[]from./types.linkComponentfor router links.- Ref forwarding and passthrough of extra props to the root element.
- Locale labels and flags from the shared
./locale-datamodule. No local copies. - Language menus use
useListboxNavigation(#44) for keyboard support. - RTL:
dirderived from the active locale, logical utilities only (start/end,ms/me,text-start). See #45. - Responsive with a mobile menu at narrow widths; dark mode.
- Registry entry with correct
registryDependencies(npm run test:registrymust pass), a barrel export, a docs page with Installation / Usage / Props / Examples, a live demo, and tests. - Docs preview tall enough for the variant's popups (see #46).
Acceptance per PR
- One variant per PR, linked to this issue.
-
lint,format:check,typecheck,test,build:lib,test:packpass. - Screenshots: LTR and RTL, desktop and ~390px, light and dark.
- Lingua principale
- TypeScript
- Stelle
- 39
- Fork
- 16
- Merge medio
- 2g 12h
- PR unite (30g)
- 10
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di babelize/babelize-elements
-
bug website
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
babelize/babelize-elements#46 ·
I maintainer di solito rispondono entro 1 giorno
-
bug language-switcher priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
babelize/babelize-elements#26 ·
I maintainer di solito rispondono entro 1 giorno
-
bug component rtl-layout
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
babelize/babelize-elements#45 ·
I maintainer di solito rispondono entro 1 giorno
-
Website: revamp and improve the landing pageForse già presa @anjalinayak01 l’ha presa 5 giorni fa. Apertaenhancement help wanted priority: medium website
Difficoltà 4/5 Più di una settimana Idoneità per principianti 30/100
babelize/babelize-elements#37 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue priority: low website
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
babelize/babelize-elements#36 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di babelize/babelize-elements
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dsh-market/dsh-market#877 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
stellar/stellar-dev-skill#151 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Trial & Error: guided Blind offer squeezes on phones and sits under the touch toolbar on iPadApertaarea:arcade game ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
fderuiter/deruiter.dev#2281 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
scope: data grid type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni