* Corrected for stricter length checking in R 4.2.0
* Update R/bootstrap-layout.R
Fine! I had thought of that case, but could not find that elegant solution
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
* Allow trailing commas in more places
I grepped for list(...) and replaced with rlang::list2(...). This also enables !!! which is generally not important for Shiny because it automatically splices lists/tagLists, but I doubt it will affect any existing code.
* update news; no need to rlang::
* missed one
* Update NEWS.md
Co-authored-by: Hadley Wickham <h.wickham@gmail.com>
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
* Cleaner logic for conditional CSS styles
It's really only plotOutput() that behaves differently;
previously it was not possible to specify a NULL width
or height and not get broken styles
* require dev version of htmltools
Co-authored-by: Joe Cheng <joe@rstudio.com>
* Update roxygen and regenerate.
Mostly just whitespace changes and `code` -> `verb`.
* R6 documentation for MockShinySession
* Install roxygen from GH
* % are now auto-escaped
(We still need to go find the rest)
* Fixed the ramining \% in roxygen
Found looking for ^#'.*\\% in all R files, so I believe this is all of them.
* Regenerate docs
* Decreate indent in roxygen so paragraphs don't get interpreted as code blocks.
https://github.com/r-lib/roxygen2/issues/948#issuecomment-546386172
* Namespace
* Add MockShinySession reference to pkgdown.
* Clean up test warnings
* Export session
The css function is in htmltools 0.2.11, which isn't on CRAN
yet. Due to a perfect storm of release scheduling we need to
get fillPage onto shiny master before we have a chance to
put htmltools on CRAN.
I decided against the name flexRow/flexCol as the "flex" prefix
is too general for these implementations, which are mostly just
useful for filling the space with the children. Flex box has a
lot more features than that, such as centering, wrapping,
justifying, etc., but I don't currently know how to design an
API that presents the full power of flex box without also
presenting the full complexity of it as well.
This commit also includes some tweaks to the impl of flexfill
to fix the behavior of children with 100% size along the main
axis, and also introduces support for NA flex values, which
sizes the flex item according to its contents.