diff --git a/.github/workflows/ExportPluto.yml b/.github/workflows/ExportPluto.yml index b203204f..f33156d4 100644 --- a/.github/workflows/ExportPluto.yml +++ b/.github/workflows/ExportPluto.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Julia diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index 3439e08c..3e3c4edd 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -23,7 +23,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 with: diff --git a/Project.toml b/Project.toml index 6178c8a0..d4ce449f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PlutoUI" uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" authors = ["Fons van der Plas "] -version = "0.7.56" +version = "0.7.60" [deps] AbstractPlutoDingetjes = "6e696c72-6542-2067-7265-42206c756150" diff --git a/src/Builtins.jl b/src/Builtins.jl index 20ca49c1..5966472c 100644 --- a/src/Builtins.jl +++ b/src/Builtins.jl @@ -1,5 +1,5 @@ ### A Pluto.jl notebook ### -# v0.19.32 +# v0.19.38 using Markdown using InteractiveUtils @@ -667,7 +667,7 @@ begin Base.get(select::Select) = ismissing(select.default) ? first(select.options).first : select.default Bonds.initial_value(select::Select) = ismissing(select.default) ? first(select.options).first : select.default - Bonds.possible_values(select::Select) = (string(i) for i in 1:length(select.options)) + Bonds.possible_values(select::Select) = ("puiselect-$(i)" for i in 1:length(select.options)) function Bonds.transform_value(select::Select, val_from_js) if startswith(val_from_js, "puiselect-") diff --git a/src/Confirm.jl b/src/Confirm.jl index 6608367a..7853c632 100644 --- a/src/Confirm.jl +++ b/src/Confirm.jl @@ -1,5 +1,5 @@ ### A Pluto.jl notebook ### -# v0.19.12 +# v0.19.38 using Markdown using InteractiveUtils @@ -114,6 +114,7 @@ begin Base.@kwdef struct ConfirmBond element::Any secret_key::String=String(rand('a':'z', 10)) + label::Union{String, Nothing}=nothing end function Base.show(io::IO, m::MIME"text/html", cb::ConfirmBond) @@ -121,9 +122,10 @@ begin return Base.show(io, m, HTML("❌ You need to update Pluto to use this PlutoUI element.")) end output = @htl( - """$( - cb.element - )