* Follow up to #3315: reduce complexity and 'black-boxed' nature of tab panel logic
* asTags(selected = FALSE) is now root()
* tagAddRenderHook
* Add bslib to remotes
* Document (GitHub Actions)
* root() was recently changed to allTags()
* code review
* tagQuery() doesn't necessarily preserve order of attributes
* place href attribute before data attributes
* add nav-item/nav-link to BS4+ dropdowns
* Make sure .nav-item is removed in .dropdown-menu
Co-authored-by: cpsievert <cpsievert@users.noreply.github.com>
* 'Native' Bootstrap 4 tabset panel support
* downgrade error to warning; improve the messaging
* Make tab anchor selectors more a bit more sensible and consistent across versions
* More of the same
* fix silly bug
* Be more careful about unpacking a .nav-item into a .dropdown-item
* Keep refactoring R logic to make it cleaner and easier to reuse elsewhere
* Go back to the purely class based CSS selectors for BS4 tab input
* Keep supporting off-label behavior of shiny.tag getting transformed into 'empty' nav/tab
* Add header and footer args to tabsetPanel()/navlistPanel() since there is precedence in navbarPage() and mention them in the warning
* Drop NULLs instead of creating an empty nav from them, closes#1928
* Remove tabPanelMenu() alias
* Add a card argument for wrapping content in a card
* Throw an error if card=T is used outside of a BS4+ context
* No more tabPanelMenu() alias
* Document (GitHub Actions)
* Port JS changes to TypeScript
* Allow liTag to be assigned a new value
* abort() is no longer being used
* Add some unit tests
* Document the new card argument
* Get tests passing on older R versions
* Get tests passing on older R versions
* Get tests passing on older R versions
* Skip snapshots on R < 3.6
* require dev version of htmltools
* remove card argument (at least for now)
* Document (GitHub Actions)
* Update tests/testthat/test-tabPanel.R
Co-authored-by: Winston Chang <winston@stdout.org>
* Have processDeps() call renderTags() on tagFunction() objects
Co-authored-by: cpsievert <cpsievert@users.noreply.github.com>
Co-authored-by: Winston Chang <winston@stdout.org>
* Close#3235: Don't change the return value of bootstrapPage() if bslib isn't relevant
Also, improved error message if theme is a character vector with 2 or more elements
* yarn build (GitHub Actions)
* bump version
* yarn build (GitHub Actions)
* Don't add an additional level to the returned tree structure
* More straightforward use of do.call()
Co-authored-by: cpsievert <cpsievert@users.noreply.github.com>
Co-authored-by: Winston Chang <winston@stdout.org>
* disable stylesheet on next tick to avoid FOUC
* fix regex matching logic
* Avoid regex and remove stylesheet's ownerNode after disabling
* Use inline <style> as opposed to <link> tags when restyling for IE11 compatibility
* Be more careful to avoid possibility of removal modifying styleSheets
* Use inline <style> for IE; otherwise update the <link>
* Update srcjs/output_binding_html.js
Co-authored-by: Winston Chang <winston@stdout.org>
* Update browser.js to correctly detect IE11
* remove redundant if statements
Co-authored-by: Winston Chang <winston@stdout.org>