Skip to content

Commit

Permalink
updated phosphoricons icons
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Jun 7, 2023
1 parent f2d8446 commit 919f35d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinytreeview
Title: Tree View for 'shiny' Applications
Version: 0.1.4
Version: 0.1.5
Authors@R:
c(person(given = "Victor",
family = "Perrier",
Expand Down Expand Up @@ -30,6 +30,6 @@ Imports:
htmltools,
shiny,
jsonlite,
phosphoricons
phosphoricons (>= 0.2.0)
Depends:
R (>= 2.10)
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# shinytreeview 0.1.5

* Updated icons to works with [phosphoricons](https://github.com/dreamRs/phosphoricons) v0.2.0 release.


# shinytreeview 0.1.4

* `expandTreeview()` : expand a specific node now expand its parent.
Expand Down
10 changes: 5 additions & 5 deletions R/input-treecheck.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ treecheckInput <- function(inputId,
highlightSelected = FALSE,
propagateCheckEvent = hierarchical,
hierarchicalCheck = hierarchical,
uncheckedIcon = "ph-square-light ph-shinytreeview",
partiallyCheckedIcon = "ph-square-logo-light ph-shinytreeview",
checkedIcon = "ph-check-square-light ph-shinytreeview",
expandIcon = "ph-caret-right-light ph-shinytreeview",
collapseIcon = "ph-caret-down-light ph-shinytreeview",
uncheckedIcon = "ph-square ph-light ph-shinytreeview",
partiallyCheckedIcon = "ph-square-logo ph-light ph-shinytreeview",
checkedIcon = "ph-check-square ph-light ph-shinytreeview",
expandIcon = "ph-caret-right ph-light ph-shinytreeview",
collapseIcon = "ph-caret-down ph-light ph-shinytreeview",
...
)
options <- dropNulls(list(
Expand Down
4 changes: 2 additions & 2 deletions R/input-treeview.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ treeviewInput <- function(inputId,
preventUnselect = prevent_unselect,
levels = levels,
showBorder = borders,
expandIcon = "ph-plus-light ph-shinytreeview",
collapseIcon = "ph-minus-light ph-shinytreeview",
expandIcon = "ph-plus ph-light ph-shinytreeview",
collapseIcon = "ph-minus ph-light ph-shinytreeview",
...
)
options <- dropNulls(list(
Expand Down
3 changes: 2 additions & 1 deletion man/tree-server.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 919f35d

Please sign in to comment.