diff --git a/.github/workflows/get-melt-changed.yml b/.github/workflows/get-melt-changed.yml index 6172a5d..9b4bda4 100644 --- a/.github/workflows/get-melt-changed.yml +++ b/.github/workflows/get-melt-changed.yml @@ -1,18 +1,18 @@ -name: Get Melt Changed Call +name: Get Thaw Changed Call on: workflow_call: outputs: - melt_changed: - description: "Melt Changed" - value: ${{ jobs.create.outputs.melt_changed }} + thaw_changed: + description: "Thaw Changed" + value: ${{ jobs.create.outputs.thaw_changed }} jobs: create: name: Detect Source Change runs-on: ubuntu-latest outputs: - melt_changed: ${{ steps.set-source-changed.outputs.melt_changed }} + thaw_changed: ${{ steps.set-source-changed.outputs.thaw_changed }} steps: - name: Checkout uses: actions/checkout@v4 @@ -29,7 +29,7 @@ jobs: - name: List source files that changed run: echo '${{ steps.changed-source.outputs.all_changed_files }}' - - name: Set melt_changed + - name: Set thaw_changed id: set-source-changed run: | - echo "melt_changed=${{ steps.changed-source.outputs.any_changed }}" >> "$GITHUB_OUTPUT" + echo "thaw_changed=${{ steps.changed-source.outputs.any_changed }}" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index fa4e494..2193171 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -5,12 +5,12 @@ on: - cron: "0 23 * * *" jobs: - get-melt-changed: - uses: ./.github/workflows/get-melt-changed.yml + get-thaw-changed: + uses: ./.github/workflows/get-thaw-changed.yml deploy: runs-on: ubuntu-latest - needs: [get-melt-changed] - if: needs.get-melt-changed.outputs.melt_changed == 'true' + needs: [get-thaw-changed] + if: needs.get-thaw-changed.outputs.thaw_changed == 'true' permissions: contents: write # To push a branch pull-requests: write # To create a PR from that branch diff --git a/Cargo.toml b/Cargo.toml index 6a65fc2..a91f7e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] -name = "melt-ui" +name = "thaw" version = "0.0.6" edition = "2021" -keywords = ["web", "leptos", "ui", "melt-ui"] +keywords = ["web", "leptos", "ui", "thaw"] -authors = ["luoxiaozero "] +authors = ["luoxiaozero"] description = "An easy to use leptos component library" -homepage = "https://github.com/luoxiaozero/melt-ui" -repository = "https://github.com/luoxiaozero/melt-ui" +homepage = "https://github.com/thaw-ui/thaw" +repository = "https://github.com/thaw-ui/thaw" license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 4720749..f481a65 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- Melt Logo + Thaw Logo

-

Melt UI

+

Thaw UI

An easy to use leptos component library

**melt was renamed [thaw](https://github.com/thaw-ui/thaw)** diff --git a/demo/Cargo.toml b/demo/Cargo.toml index eba34a1..26db529 100644 --- a/demo/Cargo.toml +++ b/demo/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] leptos = { version = "0.5.1", features = ["csr"] } -melt-ui = { path = "../" } +thaw = { path = "../" } icondata = { version = "0.1.0", features = [ "AiCloseOutlined", "AiCheckOutlined", diff --git a/demo/README.md b/demo/README.md index 51063f2..6bb9cd2 100644 --- a/demo/README.md +++ b/demo/README.md @@ -1,3 +1,3 @@ ## Used -Run the `trunk serve` command and then open the `http://127.0.0.1:6421/melt-ui` URL +Run the `trunk serve` command and then open the `http://127.0.0.1:6421/thaw` URL diff --git a/demo/Trunk.toml b/demo/Trunk.toml index d9e0ddb..9ccd33e 100644 --- a/demo/Trunk.toml +++ b/demo/Trunk.toml @@ -1,6 +1,6 @@ [build] target = "index.html" -public_url = "/melt-ui/" +public_url = "/thaw/" # release = true [watch] diff --git a/demo/index.html b/demo/index.html index 631cb5d..af64a68 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,10 +4,10 @@ - Melt UI + Thaw UI diff --git a/demo/src/app.rs b/demo/src/app.rs index 33aef7e..937521d 100644 --- a/demo/src/app.rs +++ b/demo/src/app.rs @@ -1,7 +1,7 @@ use crate::pages::*; use leptos::*; use leptos_router::*; -use melt_ui::*; +use thaw::*; #[component] pub fn App() -> impl IntoView { @@ -24,8 +24,8 @@ pub fn App() -> impl IntoView { provide_context(theme); view! { - - + + diff --git a/demo/src/components/demo.rs b/demo/src/components/demo.rs index 88fd860..796a1a9 100644 --- a/demo/src/components/demo.rs +++ b/demo/src/components/demo.rs @@ -1,5 +1,5 @@ use leptos::*; -use melt_ui::*; +use thaw::*; #[slot] pub struct DemoCode { @@ -13,7 +13,7 @@ pub fn Demo(demo_code: DemoCode, children: Children) -> impl IntoView { mount_style("demo", prisms::prism_css!()); let theme = use_theme(Theme::light); let style = create_memo(move |_| { - let mut style = String::from("background-image: url(/melt-ui/grid_dot.svg); background-repeat: repeat; background-size: 1.5rem; margin-top: 1rem; padding: 1rem; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem;"); + let mut style = String::from("background-image: url(/thaw/grid_dot.svg); background-repeat: repeat; background-size: 1.5rem; margin-top: 1rem; padding: 1rem; border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem;"); theme.with(|theme| { if theme.common.color_scheme == "dark" { style.push_str("border: 1px solid #383f52;"); diff --git a/demo/src/components/site_header.rs b/demo/src/components/site_header.rs index 2a7dada..7fbfa76 100644 --- a/demo/src/components/site_header.rs +++ b/demo/src/components/site_header.rs @@ -1,6 +1,6 @@ use leptos::*; use leptos_router::use_navigate; -use melt_ui::*; +use thaw::*; #[component] pub fn SiteHeader() -> impl IntoView { @@ -29,7 +29,7 @@ pub fn SiteHeader() -> impl IntoView { view! { - +
impl IntoView { } > - "Melt UI" + "Thaw UI"
@@ -51,7 +51,7 @@ pub fn SiteHeader() -> impl IntoView {