From 0d072fc3379b5b19c3aff930408e7edbaa566764 Mon Sep 17 00:00:00 2001 From: Adrian Salceanu Date: Tue, 20 Apr 2021 19:15:17 +0200 Subject: [PATCH] v0.5 (support for Stipple v0.11 new reactive API) --- Project.toml | 4 ++-- src/Dashboard.jl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index 8e042fcf..3f71a8d7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "StippleUI" uuid = "a3c5d34a-b254-4859-a8fa-b86abb7e84a3" authors = ["Adrian Salceanu "] -version = "0.4.1" +version = "0.5" [deps] Stipple = "4acbeb90-81a0-11ea-1966-bdaff8155998" @@ -13,7 +13,7 @@ DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" DataFrames = "0.20, 0.21, 0.22" Genie = "1" JSON = "0.21" -Stipple = "0.5, 0.6, 0.7, 0.8, 0.9, 0.10" +Stipple = "0.11" julia = "1.3" [extras] diff --git a/src/Dashboard.jl b/src/Dashboard.jl index 44df23d8..49e515b6 100644 --- a/src/Dashboard.jl +++ b/src/Dashboard.jl @@ -27,8 +27,8 @@ function dashboard(elemid, content::Union{String,Vector}; partial::Bool = true, string("<$tagname>", content, "") end - kwargs = NamedTuple(delete!(Dict{Symbol,Any}(kwargs...), :id), :id, elemid) - # kwargs = NamedTuple(delete!(Stipple.OptDict(kwargs...), :id), :id, elemid) # todo: reenable + # kwargs = NamedTuple(delete!(Dict{Symbol,Any}(kwargs...), :id), :id, elemid) + kwargs = NamedTuple(delete!(Stipple.OptDict(kwargs...), :id), :id, elemid) Stipple.layout(Genie.Renderer.Html.div(content; kwargs...); partial=partial, title=title, class=class, head_content=head_content, style=style, channel=channel)