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;
use crate::{
components::*,
components::{OptionComp, Wave, WaveRef},
icon::*,
theme::*,
utils::{mount_style::mount_style, ComponentRef},
wave::{Wave, WaveRef},
};
use leptos::*;
pub use theme::ButtonTheme;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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