Skip to content

Commit

Permalink
Intersection element
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Aug 17, 2021
1 parent b08fbbb commit 7a134a6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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.8"
version = "0.8.1"

[deps]
Stipple = "4acbeb90-81a0-11ea-1966-bdaff8155998"
Expand Down
19 changes: 19 additions & 0 deletions src/Intersection.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module Intersection

using Genie, Stipple, StippleUI, StippleUI.API
import Genie.Renderer.Html: HTMLString, normal_element

export intersection

Genie.Renderer.Html.register_normal_element("q__intersection", context = @__MODULE__)

function intersection(args...;
wrap::Function = StippleUI.DEFAULT_WRAPPER,
kwargs...)

wrap() do
q__intersection(args...; attributes([kwargs...], StippleUI.API.ATTRIBUTES_MAPPINGS)...)
end
end

end
2 changes: 2 additions & 0 deletions src/StippleUI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ include("Form.jl")
include("FormInput.jl")
include("Heading.jl")
include("Icon.jl")
include("Intersection.jl")
include("Layout.jl")
include("List.jl")
include("Menu.jl")
Expand Down Expand Up @@ -84,6 +85,7 @@ export quasar, quasar_pure, vue, vue_pure, xelem, xelem_pure, @click
@reexport using .FormInput
@reexport using .Heading
@reexport using .Icon
@reexport using .Intersection
@reexport using .List
@reexport using .Menu
@reexport using .Radio
Expand Down

2 comments on commit 7a134a6

@essenciary
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/43030

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.1 -m "<description of version>" 7a134a638da9b4cad755df35e365999c9753e554
git push origin v0.8.1

Please sign in to comment.