refactor: thaw directory (#62)

This commit is contained in:
luoxiaozero 2023-12-30 17:29:44 +08:00 committed by GitHub
parent 3df65a4e26
commit 9c6c5aed9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
159 changed files with 56 additions and 55 deletions

View file

@ -1,54 +1,4 @@
[package]
name = "thaw"
version = "0.1.5"
edition = "2021"
keywords = ["web", "leptos", "ui", "thaw", "component"]
authors = ["luoxiaozero"]
description = "An easy to use leptos component library"
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
[dependencies]
leptos = { version = "0.5.4" }
leptos_meta = { version = "0.5.4", optional = true }
web-sys = { version = "0.3.63", features = [
"DomRect",
"File",
"FileList",
"DataTransfer",
] }
wasm-bindgen = "0.2.89"
icondata = { version = "0.1.0", features = [
"AiCloseOutlined",
"AiCheckOutlined",
"AiLeftOutlined",
"AiLoadingOutlined",
"AiCheckCircleFilled",
"AiExclamationCircleFilled",
"AiCloseCircleFilled",
"AiPlusOutlined",
"AiPlusOutlined",
"AiMinusOutlined",
"AiRightOutlined",
"AiClockCircleOutlined",
"AiCalendarOutlined",
"AiArrowLeftOutlined",
"AiArrowRightOutlined",
] }
icondata_core = "0.0.2"
uuid = { version = "1.5.0", features = ["v4"] }
cfg-if = "1.0.0"
chrono = "0.4.31"
[features]
default = ["csr"]
csr = ["leptos/csr"]
ssr = ["leptos/ssr", "leptos_meta/ssr"]
hydrate = ["leptos/hydrate"]
[workspace]
members = ["demo", "demo_markdown", "examples/*"]
resolver = "2"
members = ["thaw", "demo", "demo_markdown"]
exclude = ["examples"]

View file

@ -11,7 +11,7 @@ leptos = { version = "0.5.4" }
leptos_meta = { version = "0.5.4" }
leptos_router = { version = "0.5.4" }
leptos_devtools = "0.0.1"
thaw = { path = "../", default-features = false }
thaw = { path = "../thaw", default-features = false }
icondata = { version = "0.1.0", features = [
"AiCloseOutlined",
"AiCheckOutlined",

View file

@ -5,7 +5,7 @@ public_url = "/thaw/"
filehash = false
[watch]
watch = ["../src", "./src", "../demo_markdown"]
watch = ["../thaw", "./src", "../demo_markdown"]
[serve]
address = "127.0.0.1"

51
thaw/Cargo.toml Normal file
View file

@ -0,0 +1,51 @@
[package]
name = "thaw"
version = "0.1.5"
edition = "2021"
keywords = ["web", "leptos", "ui", "thaw", "component"]
authors = ["luoxiaozero"]
description = "An easy to use leptos component library"
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
[dependencies]
leptos = { version = "0.5.4" }
leptos_meta = { version = "0.5.4", optional = true }
web-sys = { version = "0.3.63", features = [
"DomRect",
"File",
"FileList",
"DataTransfer",
] }
wasm-bindgen = "0.2.89"
icondata = { version = "0.1.0", features = [
"AiCloseOutlined",
"AiCheckOutlined",
"AiLeftOutlined",
"AiLoadingOutlined",
"AiCheckCircleFilled",
"AiExclamationCircleFilled",
"AiCloseCircleFilled",
"AiPlusOutlined",
"AiPlusOutlined",
"AiMinusOutlined",
"AiRightOutlined",
"AiClockCircleOutlined",
"AiCalendarOutlined",
"AiArrowLeftOutlined",
"AiArrowRightOutlined",
] }
icondata_core = "0.0.2"
uuid = { version = "1.5.0", features = ["v4"] }
cfg-if = "1.0.0"
chrono = "0.4.31"
[features]
default = ["csr"]
csr = ["leptos/csr"]
ssr = ["leptos/ssr", "leptos_meta/ssr"]
hydrate = ["leptos/hydrate"]

Some files were not shown because too many files have changed in this diff Show more