Skip to content

Commit

Permalink
Small fixes dates, support for new DEPS injection
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Salceanu committed Nov 20, 2021
1 parent 1b908d2 commit ef8a228
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StippleUI"
uuid = "a3c5d34a-b254-4859-a8fa-b86abb7e84a3"
authors = ["Adrian Salceanu <[email protected]>"]
version = "0.10.1"
version = "0.11"

[deps]
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Expand All @@ -14,7 +14,7 @@ Stipple = "4acbeb90-81a0-11ea-1966-bdaff8155998"
Colors = "0.12"
DataFrames = "1.0"
Genie = "4"
Stipple = "0.16"
Stipple = "0.17"
julia = "1.6"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion src/DatePickers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Base.string(dp::DatePicker) = datepicker(dp.fieldname, dp.args...; dp.wrap, dp.m

# internals

function Base.convert(::Type{Date}, d::String) :: Date
function Base.parse(::Type{Date}, d::String) :: Date
Date(d)
end

Expand Down
4 changes: 3 additions & 1 deletion src/PopupProxies.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Genie.Renderer.Html: HTMLString, normal_element, template, register_norma

using Stipple

export popup_proxy, PopupProxy
export popup_proxy, PopupProxy, popupproxy

register_normal_element("q__popup__proxy", context = @__MODULE__)

Expand Down Expand Up @@ -34,6 +34,8 @@ popup_proxy(content::Union{Vector,Function},
args...;
kwargs...) = popup_proxy(fieldname, args...; content, kwargs...)

const popupproxy = popup_proxy

mutable struct PopupProxy
fieldname
args
Expand Down
2 changes: 1 addition & 1 deletion src/StippleUI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ end

function __init__()
push!(Stipple.Layout.THEMES, theme)
push!(Stipple.DEPS, deps)
Stipple.DEPS[@__MODULE__] = deps
end

end

0 comments on commit ef8a228

Please sign in to comment.