* chore: Enable return of dependency CSS as Sass files
Makes it possible to extract the Sass files prior to compilation for the following CSS:
* shiny
* selectize
* ionrangeslider
* daterange picker
* refactor: Take a more functional approach
* fix: missing selectizeDir
* rename: __SassLayer --> __Sass
* 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>
* Get rid of the bootstraplib option and simply use bootstraplib when a theme is active
* Restore previous bootstraplib theme when exiting a file/dir based runApp
* wip use latest htmltools+bootstraplib to sketch out local theme API
* Don't do anything with bootstraplib's global state and make sure bs_theme is an expected value
* typo
* better docs
* bugfix
* Use the new, more general, tagFunction() instead
* Set the theme object as a part of the page layout (instead of in shinyApp())
* rollback the structural changes to selectizeIt() to avoid breaking code that makes assumptions about the return value of selectInput()
* set shinyOption() in bootstrapLib(), not bootstrapPage()
* Add a helper for checking whether theme is a bs_theme
* Make theme a required arg in bootstrapSass
* Have bootstrapLib() call shinyOption() at render-time, and document why it works
* Have bootstrapPage() always place bootstrapLib(theme) at the top of the tagList()
* Only set shinyOption() when an application is running at render-time (otherwise; throw a warning)
* code review
* Export a new getCurrentTheme() for Shiny developers to access the theme's Sass code
* bump version
* Add option to use bootstraplib and have selectInput() theming variables
* Use getShinyOption()
* Have useBsTheme() error out with informative messages if a theme isn't active
* Better Sass variables defaults that account for both bootswatch themes and bs_theme_base_colors()
* Add Carson as an author
* Provide better BS3/BS4 selectize sass variable defaults as a patch to the source files
* tidy up tools script
* add sass to suggests
* yarn install && yarn build
* Wrap sass compilation into reusable function
* Bring -color-item closer to -color-input
* Leverage the new sass::output_file()
* naming change
* Sync up with other PRs
* Sync up DESCRIPTION
* Forgot to update CSS output file logic
* document
* More themable sliderInput()
* Slider's accent color default should derive from primary theme color
* Remove custom theming args (skin, accentColor, sassVars) but still support theming via bootstraplib
* Wrap sass compilation into reusable function
* remove check warning
* Make font-family configurable; auto-contrast fromto handle text color; increase color contrasting (for accessbility)
* Sync up with other PRs
* Sync up DESCRIPTION
* Forgot to update CSS output file logic
* document
* code review
* adding section to roxygen docs for server value of input funcs
* add more server values to roxygen docs
* add more server values
* update more server values in documentation
* Address PR feedback
I reflowed the comments to have a max width of 80 on some files, so there were a flurry of line changes, but the only substantive changes were around Joe's comments.
* Update R/input-slider.R
Co-Authored-By: Hadley Wickham <h.wickham@gmail.com>
* Apply suggestions from code review
Co-Authored-By: Carson Sievert <cpsievert1@gmail.com>
* PR feedback, regenerate docs.
* PR Feedback
* Eliminate extra newline
* passwordInput()'s server value
* varSelectInput()'s server value
* document