-
Notifications
You must be signed in to change notification settings - Fork 116
Description
In rstudio/bslib#546, we renamed many of the nav_*() and navset_*() functions in the R API. Many of these now align with the Python naming, but there are some notable differences. Here's a summary table:
| bslib (new) | Python (current) | Changes? |
|---|---|---|
nav_panel() |
ui.nav | 👀 |
nav_panel_hidden() |
ui.nav_content | 👀 ❗ |
navset_tab() |
ui.navset_tab | |
navset_pill() |
ui.navset_pill | |
navset_pill_list() |
ui.navset_pill_list | |
navset_hidden() |
ui.navset_hidden | ❗ |
navset_bar() |
ui.navset_bar | ❗ |
navset_card_tab() |
ui.navset_tab_card | 👀 |
navset_card_pill() |
ui.navset_pill_card | 👀 |
👀 new R name is different from current Python
❗ not in API refs
Note that this research also uncovered that ui.navset_bar and ui.navset_tab_card are exported but don't appear in the API reference.
### Tasks
- [x] `navset_pill_card` -> `navset_card_pill`
- [x] `navset_tab_card` -> `navset_card_tab`
- [x] ~~`nav_content` -> `nav_panel_hidden`~~
- [ ] `nav` -> `nav_panel`
- [x] document `navset_bar`
- [x] document `navset_hidden`
- [x] ~~document `nav_panel_hidden`~~