Skip to content

Commit

Permalink
(textproc/R-htmltools) Updated 0.5.4 to 0.5.8.1
Browse files Browse the repository at this point in the history
# htmltools 0.5.8.1

* `capturePlot()`s examples are now only run when `interactive()`. (#429)

# htmltools 0.5.8

## Improvements

* .The fill CSS attached to fillable containers and fill items with
  `bindFillRole()` now uses a [CSS cascade
  layer](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Cascade_layers)
  named `htmltools` to reduce the precedence order of the fill
  CSS. (#425)

* Improved documentation for boolean attributes in
  `tagAppendAttributes()` to note that they can be set via an `NA`
  value, e.g. `tagAppendAttributes(div(), contenteditable = NA)`
  creates `<div contenteditable></div>`. (thanks @russHyde, #427)

## Bug fixes

* `bindFillRole()` now attaches its `HTMLDependency()` to fill items,
  thus reducing the possibility of filling layout breaking due to
  missing CSS. (#421)


# htmltools 0.5.7

## New Features

* `save_html()` is now an S3 generic, allowing for more customization
  over how certain classes are saved to an HTML file. (#411)

## Improvements

* Fill items no longer set `overflow: auto` or `width: 100%` by default. (#401)

* `css()` now fully supports setting custom CSS properties (or CSS
  variables) via inline styles. When the name of a value passed to
  `css()` starts with `--`, it will be treated as a custom CSS
  property and absolutely no changes will be made to the variable. For
  example, `css("--font_size" = "3em")` returns `--font_size:3em;`
  while `css(font_size = "3em")` will return `font-size:3em`. (#402)

## Bug fixes

* `{htmltools}` now requires `{rlang}` version 1.0.0 or higher. (#403)

# htmltools 0.5.6.1

## Improvements

* `tagQuery()` no longer throws an error when attempting to traverse a
  NULL value with r-devel. (#407)

# htmltools 0.5.6

## Possibly breaking changes

* Closed #386: Fillable containers no longer set `overflow: auto` by
  default. Instead, they set `min-width` and `min-height` to `0` to
  ensure that fill items a constrained in the fillable container
  without clipping their direct children. (#387)

* Closed #370: Non-fill items in fillable containers no longer grow or
  shrink and instead respect their intrinsic size. Use `height` to
  control the height of non-fill items in fillable containers and
  `min-height` and `max-height` on fill items to limit how much they
  are allowed to grow or shrink within a fillable container. (#391)

## Minor improvements

* Closed #375: calling `htmlDependency()` or a function that returns
  an `htmlDependency()` object (e.g.,
  `fontawesome::fa_html_dependency()`) in an R chunk in an R Markdown
  or knitr-powered Quarto document will now include the dependency
  rather than printing the object structure. If you want to print the
  object structure, you can use `print()` or `str()`. (#376)

* Closed #124: `includeHTML()` will now issue a warning if it detects
  that the file passed to it contains a complete HTML
  document. `includeHTML()` is designed to include HTML fragments
  where the contents of the file can be written directly into the
  current app or document, but subtle errors can occur when the file
  contains a complete HTML document. In most cases, you should instead
  use `tags$iframe()` to embed external documents. (#382)

# htmltools 0.5.5

## Bug fixes

* Closed #355: `tagQuery()` was failing to select elements with tag
  names that contained hyphens. (@slodge, #302)

* Closed #366: `tagQuery()`'s `find()` method no longer errors out
  when tags contain language objects. (#366)
  • Loading branch information
mef committed Dec 15, 2024
1 parent 119521f commit 950671a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
13 changes: 10 additions & 3 deletions textproc/R-htmltools/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.9 2023/03/12 05:40:48 mef Exp $
# $NetBSD: Makefile,v 1.10 2024/12/15 07:39:53 mef Exp $

R_PKGNAME= htmltools
R_PKGVER= 0.5.4
R_PKGVER= 0.5.8.1
CATEGORIES= textproc

MAINTAINER= [email protected]
Expand All @@ -17,11 +17,18 @@ DEPENDS+= R-ellipsis-[0-9]*:../../math/R-ellipsis
# Packages suggested but not available: 'ragg'
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
TEST_DEPENDS+= R-Cairo-[0-9]*:../../graphics/R-Cairo
#EST_DEPENDS+= R-ragg-[0-9]*:../../graphics/R-ragg
TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny
TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
TEST_DEPENDS+= R-ragg-[0-9]*:../../graphics/R-ragg

# !pdfTeX error: pdflatex (file tctt0900): Font tctt0900 at 600 not found

TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval

USE_LANGUAGES+= c c++

.include "../../math/R/Makefile.extension"
Expand Down
8 changes: 4 additions & 4 deletions textproc/R-htmltools/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2023/03/12 05:40:48 mef Exp $
$NetBSD: distinfo,v 1.7 2024/12/15 07:39:53 mef Exp $

BLAKE2s (R/htmltools_0.5.4.tar.gz) = 0cbda8a01afe8ead7cbfc369d61b1c1fccc0cce673c75bd5c171c1e8637c6ee4
SHA512 (R/htmltools_0.5.4.tar.gz) = a3ea84deacd1dc3f7813f89268e1f540d51d97e61271437f2e6587f28ffdab8936421473fd5b17639237f70f5f491638d20148c5866cca72e887f89b9b2e92a7
Size (R/htmltools_0.5.4.tar.gz) = 131047 bytes
BLAKE2s (R/htmltools_0.5.8.1.tar.gz) = 0119856bc781676e4b529c0e309fe4208fc9191b551a78d8ede33e646685fbcc
SHA512 (R/htmltools_0.5.8.1.tar.gz) = 6f1a089abd81d64a8a525b31e9d1edef92899c66b364cbebf2a97a56b2edce38429851f60f5bd006a125ef0f03fe8312d4325709e4108f7850f52b804f76fb57
Size (R/htmltools_0.5.8.1.tar.gz) = 135134 bytes

0 comments on commit 950671a

Please sign in to comment.