Skip to content

Commit

Permalink
(www/R-htmlwidgets) Updated 1.5.4 to 1.6.1
Browse files Browse the repository at this point in the history
htmlwidgets 1.6.1
------------------------------------------------------

### Bug fixes

* Closed #456: Fixed an issue where widgets were no longer being
  resized properly when rendered in a standalone fashion. (#458)

htmlwidgets 1.6.0
-------------------------------------------------------

### Potentially breaking changes

* `shinyWidgetOutput()` and `sizingPolicy()` both gain a new `fill`
  parameter. When `TRUE` (the default), the widget's container element
  is allowed to grow/shrink to fit it's parent container so long as
  that parent is opinionated about its height and has been marked with
  `htmltools::bindFillRole(x, container = TRUE)`. (#442)

  * The primary motivation for this is to allow widgets to grow/shrink
    by default [inside
    `bslib::card_body_fill()`](https://rstudio.github.io/bslib/articles/cards.html#responsive-sizing)

  * Widgets that aren't designed to fill their container in this way
    should consider setting `sizingPolicy(fill =
    FALSE)`/`shinyWidgetOutput(fill = FALSE)` and/or allowing users to
    customize these settings (i.e., add a `fill` argument to the
    `customWidgetOutput()` function signature).

* `shinyWidgetOutput()`'s `reportSize` argument now defaults to
  `TRUE`. This way, calling `shiny::getCurrentOutputInfo()` inside a
  `shinyRenderWidget()` context will report the current height and
  width of the widget.

### Improvements

* Closed #433 and #440: `saveWidget(selfcontained=TRUE)` now uses the
  `{rmarkdown}` package to discover and call pandoc, which fixes a
  couple existing issues and helps "future proof" this code path from
  future changes to pandoc.

* Closed #257 and #358: `saveWidget(selfcontained=TRUE)` now correctly
  prevents HTML from being interpreted as markdown. (#401)
  • Loading branch information
mef committed Mar 12, 2023
1 parent 6280152 commit d4f8409
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions www/R-htmlwidgets/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.4 2021/09/11 01:49:06 mef Exp $
# $NetBSD: Makefile,v 1.5 2023/03/12 05:51:48 mef Exp $

R_PKGNAME= htmlwidgets
R_PKGVER= 1.5.4
R_PKGVER= 1.6.1
CATEGORIES= www

MAINTAINER= [email protected]
Expand All @@ -11,9 +11,10 @@ LICENSE= mit
DEPENDS+= R-htmltools>=0.3:../../textproc/R-htmltools
DEPENDS+= R-jsonlite>=0.9.16:../../textproc/R-jsonlite
DEPENDS+= R-yaml>=2.2.0:../../textproc/R-yaml
DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown

TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
TEST_DEPENDS+= R-markdown>=1.3:../../textproc/R-markdown
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat

USE_LANGUAGES= # none
Expand Down
8 changes: 4 additions & 4 deletions www/R-htmlwidgets/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2021/10/26 11:29:14 nia Exp $
$NetBSD: distinfo,v 1.6 2023/03/12 05:51:48 mef Exp $

BLAKE2s (R/htmlwidgets_1.5.4.tar.gz) = 4260b0db3694eca45fc1823dc6352bdc7f6efccf18016386ba0ae80b54b14842
SHA512 (R/htmlwidgets_1.5.4.tar.gz) = 80f647dd3c71497a2dc2fc7d9ff7c743912cdd3678f02e4b320623a7b16aebebfa4d782aedd2eeb1b9d3fd172e6d322da9b7ae0ca52b4c8155a1c6e907be329d
Size (R/htmlwidgets_1.5.4.tar.gz) = 956850 bytes
BLAKE2s (R/htmlwidgets_1.6.1.tar.gz) = 7ff25cf22fe004c2ed241298913eb089225e5eee0c273c2e9a1f8b1d25ae61aa
SHA512 (R/htmlwidgets_1.6.1.tar.gz) = ac1a174e1e2abd0d0cd704f2e6d5ee8a831867cac677ac201a652b24ad6eeba448602864b86d0a14eca22cc40c01868bf71e3cab741feadfcab90178b27d0ddd
Size (R/htmlwidgets_1.6.1.tar.gz) = 868433 bytes

0 comments on commit d4f8409

Please sign in to comment.