Commit 1e04e20
Add navigation menu component from Base UI (#25)
* Add navigation menu component from Base UI
- Implement NavigationMenuBaseComponent extending BaseUIComponent
- Add all navigation menu sub-components following existing patterns
- Create HighLevelNavigationMenu wrapper for simple usage
- Add to lazy loading system in __init__.py
- Include example in demo application
- Component renders and functions correctly with clickable buttons
Co-Authored-By: Carlos Cutillas <[email protected]>
* Remove HighLevelNavigationMenu component and update demo to use granular API
- Removed HighLevelNavigationMenu class as requested
- Updated demo to use ui.navigation_menu.root(), ui.navigation_menu.list(), etc.
- Removed unused imports (foreach, button)
- Fixed linting issues
Co-Authored-By: Carlos Cutillas <[email protected]>
* Enhance navigation menu demo to match Base UI example
- Add missing props to NavigationMenuRoot (delay, close_delay, actions_ref, on_open_change_complete)
- Update all component prop descriptions to match Base UI documentation exactly
- Create comprehensive demo with Overview and Handbook dropdowns
- Add rich content with links, titles, and descriptions
- Update ClassNames for better styling and transitions
- Include Portal structure for proper positioning
- Fix syntax error: use rx.el instead of rx.html for HTML elements
Co-Authored-By: Carlos Cutillas <[email protected]>
* fixes
* comment pre
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Carlos Cutillas <[email protected]>
Co-authored-by: carlosabadia <[email protected]>1 parent 892c9c3 commit 1e04e20
File tree
9 files changed
+987
-8
lines changed- reflex_ui
- components
- base
- icons
9 files changed
+987
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments