Libera la versión de desarrollo 0.0.7

This commit is contained in:
Manuel Cillero 2022-04-01 19:15:01 +02:00
parent cc579add5f
commit 69139f2a62
12 changed files with 0 additions and 21 deletions

View file

@ -11,7 +11,6 @@ pub struct Block {
}
impl PageComponent for Block {
fn new() -> Self {
Block {
renderable: always,
@ -51,7 +50,6 @@ impl PageComponent for Block {
}
impl Block {
pub fn with(html: Markup) -> Self {
Block::new().add(html)
}

View file

@ -8,7 +8,6 @@ pub struct Chunck {
}
impl PageComponent for Chunck {
fn new() -> Self {
Chunck {
renderable: always,
@ -36,7 +35,6 @@ impl PageComponent for Chunck {
}
impl Chunck {
pub fn with(html: Markup) -> Self {
Chunck::new().add(html)
}

View file

@ -13,7 +13,6 @@ pub struct Container {
}
impl PageComponent for Container {
fn new() -> Self {
Container {
renderable: always,
@ -74,7 +73,6 @@ impl PageComponent for Container {
}
impl Container {
pub fn header() -> Self {
let mut c = Container::new();
c.container = ContainerType::Header;

View file

@ -15,7 +15,6 @@ pub struct Button {
}
impl PageComponent for Button {
fn new() -> Self {
Button {
renderable : always,
@ -68,7 +67,6 @@ impl PageComponent for Button {
}
impl Button {
pub fn button(value: &str) -> Self {
Button::new().with_value(value)
}

View file

@ -18,7 +18,6 @@ pub struct Date {
}
impl PageComponent for Date {
fn new() -> Self {
Date {
renderable : always,

View file

@ -15,7 +15,6 @@ pub struct Form {
}
impl PageComponent for Form {
fn new() -> Self {
Form {
renderable: always,

View file

@ -7,7 +7,6 @@ pub struct Hidden {
}
impl PageComponent for Hidden {
fn new() -> Self {
Hidden {
weight: 0,
@ -32,7 +31,6 @@ impl PageComponent for Hidden {
}
impl Hidden {
pub fn set(name: &str, value: &str) -> Self {
Hidden::new().with_name(name).with_value(value)
}

View file

@ -24,7 +24,6 @@ pub struct Input {
}
impl PageComponent for Input {
fn new() -> Self {
Input {
renderable : always,
@ -114,7 +113,6 @@ impl PageComponent for Input {
}
impl Input {
pub fn textfield() -> Self {
Input::new()
}

View file

@ -10,7 +10,6 @@ pub struct Column {
}
impl PageComponent for Column {
fn new() -> Self {
Column {
renderable: always,

View file

@ -10,7 +10,6 @@ pub struct Row {
}
impl PageComponent for Row {
fn new() -> Self {
Row {
renderable: always,

View file

@ -10,7 +10,6 @@ pub struct Image {
}
impl PageComponent for Image {
fn new() -> Self {
Image {
renderable: always,
@ -41,7 +40,6 @@ impl PageComponent for Image {
}
impl Image {
pub fn image(source: &str) -> Self {
Image::new().with_source(source)
}

View file

@ -21,7 +21,6 @@ pub struct MenuItem {
}
impl PageComponent for MenuItem {
fn new() -> Self {
MenuItem {
renderable: always,
@ -71,7 +70,6 @@ impl PageComponent for MenuItem {
}
impl MenuItem {
pub fn label(label: &str) -> Self {
MenuItem {
renderable: always,
@ -162,7 +160,6 @@ pub struct Menu {
}
impl PageComponent for Menu {
fn new() -> Self {
Menu {
renderable: always,