feat: remove wave and teleport component

This commit is contained in:
luoxiao 2023-11-13 16:17:41 +08:00
parent 2f800017c8
commit bd59ef5d47
10 changed files with 16 additions and 15 deletions

View file

@ -1,11 +1,10 @@
mod theme; mod theme;
use crate::{ use crate::{
components::*, components::{OptionComp, Wave, WaveRef},
icon::*, icon::*,
theme::*, theme::*,
utils::{mount_style::mount_style, ComponentRef}, utils::{mount_style::mount_style, ComponentRef},
wave::{Wave, WaveRef},
}; };
use leptos::*; use leptos::*;
pub use theme::ButtonTheme; pub use theme::ButtonTheme;

View file

@ -1,8 +1,8 @@
mod get_placement_style; mod get_placement_style;
use crate::{ use crate::{
components::Teleport,
mount_style, mount_style,
teleport::Teleport,
utils::{add_event_listener, EventListenerHandle}, utils::{add_event_listener, EventListenerHandle},
}; };
use get_placement_style::get_follower_placement_style; use get_placement_style::get_follower_placement_style;

View file

@ -1,11 +1,15 @@
mod binder; mod binder;
mod if_comp; mod if_comp;
mod option_comp; mod option_comp;
mod teleport;
mod wave;
pub use binder::*; pub(crate) use binder::*;
pub use if_comp::*; pub(crate) use if_comp::*;
use leptos::*; use leptos::*;
pub use option_comp::*; pub(crate) use option_comp::*;
pub(crate) use teleport::*;
pub(crate) use wave::*;
#[slot] #[slot]
pub struct Fallback { pub struct Fallback {

View file

@ -32,11 +32,9 @@ mod switch;
mod table; mod table;
mod tabs; mod tabs;
mod tag; mod tag;
mod teleport;
mod theme; mod theme;
mod upload; mod upload;
mod utils; mod utils;
mod wave;
pub use alert::*; pub use alert::*;
pub use auto_complete::*; pub use auto_complete::*;

View file

@ -1,5 +1,5 @@
use super::{LoadingBar, LoadingBarRef}; use super::{LoadingBar, LoadingBarRef};
use crate::{teleport::Teleport, utils::ComponentRef}; use crate::{components::Teleport, utils::ComponentRef};
use leptos::*; use leptos::*;
#[component] #[component]

View file

@ -1,7 +1,7 @@
use std::time::Duration; use std::time::Duration;
use super::{message_environment::MessageEnvironment, MessageVariant}; use super::{message_environment::MessageEnvironment, MessageVariant};
use crate::{mount_style, teleport::Teleport}; use crate::{components::Teleport, mount_style};
use leptos::*; use leptos::*;
use uuid::Uuid; use uuid::Uuid;

View file

@ -1,9 +1,9 @@
use crate::card::*;
use crate::components::OptionComp;
use crate::icon::*; use crate::icon::*;
use crate::teleport::*; use crate::{
use crate::utils::mount_style::mount_style; components::{OptionComp, Teleport},
use crate::utils::StoredMaybeSignal; utils::{mount_style::mount_style, StoredMaybeSignal},
Card, CardFooter, CardHeader, CardHeaderExtra,
};
use leptos::*; use leptos::*;
#[slot] #[slot]