Skip to content

Commit

Permalink
Merge branch 'release/2.0.0-RC5'
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Dec 10, 2023
2 parents 41d8cc6 + f06d1f0 commit ba8b160
Show file tree
Hide file tree
Showing 457 changed files with 4,673 additions and 743 deletions.
2 changes: 1 addition & 1 deletion domino-ui-shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>domino-ui-parent</artifactId>
<groupId>org.dominokit</groupId>
<version>2.0.0-RC4</version>
<version>2.0.0-RC5</version>
</parent>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ public interface DominoStyle<E extends Element, R> {
/**
* Sets the z-index property of the element.
*
* @param zIndex The value for the z-index property.
* @param zindex The value for the z-index property.
* @return The updated style with the set z-index property.
*/
R setZIndex(int zindex);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,8 @@ public interface SpacingCss {

CssClass dui_h_full = () -> "dui-h-full";

CssClass dui_h_inherit = () -> "dui-h-inherit";

CssClass dui_h_px = () -> "dui-h-px";

CssClass dui_inset_0_5 = () -> "dui-inset-0_5";
Expand Down Expand Up @@ -3034,6 +3036,8 @@ public interface SpacingCss {

CssClass dui_w_full = () -> "dui-w-full";

CssClass dui_w_inherit = () -> "dui-w-inherit";

CssClass dui_w_px = () -> "dui-w-px";

CssClass dui_z_0 = () -> "dui-z-0";
Expand Down Expand Up @@ -3774,6 +3778,10 @@ public interface SpacingCss {

CssClass dui_whitespace_pre_wrap = () -> "dui-whitespace-pre-wrap";

CssClass dui_whitespace_unset = () -> "dui-whitespace-unset";

CssClass dui_whitespace_break_spaces = () -> "dui-whitespace-break-spaces";

CssClass dui_break_normal = () -> "dui-break-normal";

CssClass dui_break_words = () -> "dui-break-words";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public static <E extends Element> Style<E> of(E element) {
* Creates a new Style instance for the given IsElement.
*
* @param <E> The type of the HTML element.
* @param <T> The type of the component
* @param isElement The IsElement interface representing the HTML element.
* @return A new Style instance.
*/
Expand Down Expand Up @@ -370,9 +371,9 @@ public Style<E> replaceCss(String cssClass, String replacementClass) {
}

/**
* Sets the CSS `border` property of the HTML element.
* Sets the CSS <b>border</b> property of the HTML element.
*
* @param border The value to set for the `border` property.
* @param border The value to set for the <b>border</b> property.
* @return This Style instance for method chaining.
*/
@Override
Expand All @@ -382,9 +383,9 @@ public Style<E> setBorder(String border) {
}

/**
* Sets the CSS `border-color` property of the HTML element.
* Sets the CSS border-color property of the HTML element.
*
* @param borderColor The value to set for the `border-color` property.
* @param borderColor The value to set for the border-color property.
* @return This Style instance for method chaining.
*/
@Override
Expand Down Expand Up @@ -469,7 +470,7 @@ public Style<E> setMaxWidth(String width, boolean important) {
}

/**
* Sets the CSS `height` property of the HTML element.
* Sets the CSS height property of the HTML element.
*
* @param height The height value.
* @return This Style instance for method chaining.
Expand All @@ -481,7 +482,7 @@ public Style<E> setHeight(String height) {
}

/**
* Sets the CSS `height` property of the HTML element with optional importance.
* Sets the CSS height property of the HTML element with optional importance.
*
* @param height The height value.
* @param important If true, the property is marked as important.
Expand All @@ -494,7 +495,7 @@ public Style<E> setHeight(String height, boolean important) {
}

/**
* Sets the CSS `min-height` property of the HTML element.
* Sets the CSS min-height property of the HTML element.
*
* @param height The minimum height value.
* @return This Style instance for method chaining.
Expand All @@ -506,7 +507,7 @@ public Style<E> setMinHeight(String height) {
}

/**
* Sets the CSS `min-height` property of the HTML element with optional importance.
* Sets the CSS min-height` property of the HTML element with optional importance.
*
* @param height The minimum height value.
* @param important If true, the property is marked as important.
Expand Down Expand Up @@ -1146,7 +1147,7 @@ public Style<E> setBottom(String bottom, boolean important) {
/**
* Sets the CSS `z-index` property of the HTML element.
*
* @param zIndex The z-index value.
* @param zindex The z-index value.
* @return This Style instance for method chaining.
*/
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ public class SwapCssClass implements CssClass {
private CssClass current = CssClass.NONE;
private CssClass replacement = CssClass.NONE;

/** Creates a new instance of SwapCssClass with no initial styles. */
/**
* Creates a new instance of SwapCssClass with no initial styles.
*
* @return new SwapCssClass instance
*/
public static SwapCssClass of() {
return new SwapCssClass();
}
Expand All @@ -34,6 +38,7 @@ public static SwapCssClass of() {
* Creates a new instance of SwapCssClass with the given initial style.
*
* @param initialStyle The initial CSS class to apply.
* @return new SwapCssClass instance
*/
public static SwapCssClass of(CssClass initialStyle) {
return new SwapCssClass(initialStyle);
Expand All @@ -44,6 +49,7 @@ public static SwapCssClass of(CssClass initialStyle) {
* instance.
*
* @param initialStyle The initial HasCssClass instance.
* @return new SwapCssClass instance
*/
public static SwapCssClass of(HasCssClass initialStyle) {
return new SwapCssClass(initialStyle.getCssClass());
Expand All @@ -53,6 +59,7 @@ public static SwapCssClass of(HasCssClass initialStyle) {
* Creates a new instance of SwapCssClass with the given CSS class.
*
* @param cssClass The initial CSS class to apply.
* @return new SwapCssClass instance
*/
public static SwapCssClass of(String cssClass) {
return new SwapCssClass(cssClass);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class ToggleCssClass implements CssClass {
* Creates a new instance of ToggleCssClass with the given CSS class.
*
* @param cssClass The CSS class to toggle.
* @return new ToggleCssClass instance
*/
public static ToggleCssClass of(CssClass cssClass) {
return new ToggleCssClass(cssClass);
Expand All @@ -37,6 +38,7 @@ public static ToggleCssClass of(CssClass cssClass) {
* instance.
*
* @param cssClass The HasCssClass instance containing the CSS class to toggle.
* @return new ToggleCssClass instance
*/
public static ToggleCssClass of(HasCssClass cssClass) {
return new ToggleCssClass(cssClass.getCssClass());
Expand All @@ -46,6 +48,7 @@ public static ToggleCssClass of(HasCssClass cssClass) {
* Creates a new instance of ToggleCssClass with the given CSS class.
*
* @param cssClass The CSS class to toggle.
* @return new ToggleCssClass instance
*/
public static ToggleCssClass of(String cssClass) {
return new ToggleCssClass(() -> cssClass);
Expand Down
2 changes: 1 addition & 1 deletion domino-ui-tools/mdi-icons-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>domino-ui-tools</artifactId>
<groupId>org.dominokit</groupId>
<version>2.0.0-RC4</version>
<version>2.0.0-RC5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion domino-ui-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>domino-ui-parent</artifactId>
<groupId>org.dominokit</groupId>
<version>2.0.0-RC4</version>
<version>2.0.0-RC5</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion domino-ui-webjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>domino-ui-parent</artifactId>
<groupId>org.dominokit</groupId>
<version>2.0.0-RC4</version>
<version>2.0.0-RC5</version>
</parent>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>
Expand Down
6 changes: 5 additions & 1 deletion domino-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.dominokit</groupId>
<artifactId>domino-ui-parent</artifactId>
<version>2.0.0-RC4</version>
<version>2.0.0-RC5</version>
</parent>

<artifactId>domino-ui</artifactId>
Expand All @@ -18,6 +18,10 @@
<artifactId>domino-ui-shared</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.dominokit</groupId>
<artifactId>gwt-validation-api</artifactId>
</dependency>
<dependency>
<groupId>org.gwtproject.core</groupId>
<artifactId>gwt-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@

import static org.dominokit.domino.ui.alerts.AlertStyles.dui_alert;
import static org.dominokit.domino.ui.alerts.AlertStyles.dui_alert_body;
import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.Element;
import elemental2.dom.HTMLDivElement;
import org.dominokit.domino.ui.button.RemoveButton;
import org.dominokit.domino.ui.elements.DivElement;
import org.dominokit.domino.ui.utils.*;
import org.dominokit.domino.ui.utils.BaseDominoElement;
import org.dominokit.domino.ui.utils.ChildHandler;
import org.dominokit.domino.ui.utils.LazyChild;

/**
* Displays a none floating message anywhere in the page, the message can be permanent or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.dominokit.domino.ui.animations;

import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;

import elemental2.dom.Element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.dominokit.domino.ui.animations;

import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;

import elemental2.dom.Element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package org.dominokit.domino.ui.badges;

import static org.dominokit.domino.ui.badges.BadgeStyles.dui_badge;
import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLElement;
import elemental2.dom.Text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import static java.util.Objects.nonNull;
import static org.dominokit.domino.ui.breadcrumbs.BreadcrumbStyles.dui_breadcrumb;
import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.EventListener;
import elemental2.dom.HTMLOListElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.breadcrumbs;

import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLAnchorElement;
import elemental2.dom.HTMLLIElement;
import elemental2.dom.Text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
package org.dominokit.domino.ui.button;

import static java.util.Objects.nonNull;
import static org.dominokit.domino.ui.button.ButtonStyles.dui_button;
import static org.dominokit.domino.ui.button.ButtonStyles.dui_button_body;
import static org.dominokit.domino.ui.button.ButtonStyles.dui_button_icon;
import static org.dominokit.domino.ui.button.ButtonStyles.dui_button_reversed;
import static org.dominokit.domino.ui.button.ButtonStyles.dui_button_text;
import static org.dominokit.domino.ui.button.ButtonStyles.*;
import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.Domino.div;
import static org.dominokit.domino.ui.utils.Domino.span;

import elemental2.dom.Element;
import elemental2.dom.Event;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.button;

import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLButtonElement;
import org.dominokit.domino.ui.elements.ButtonElement;
import org.dominokit.domino.ui.icons.Icon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ public interface ButtonStyles {
/** Constant <code>dui_button_toolbar</code> */
CssClass dui_button_toolbar = () -> "dui-btn-toolbar";
/** Constant <code>dui_vertical</code> */
CssClass dui_vertical = () -> "dui-vertical";
/** Constant <code>dui_circle</code> */
CssClass dui_circle = () -> "dui-circle";
/** Constant <code>dui_button_reversed</code> */
CssClass dui_button_reversed = () -> "dui-btn-reverse";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.button;

import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLDivElement;
import java.util.Arrays;
import org.dominokit.domino.ui.button.group.ButtonsGroup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.button;

import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLElement;
import org.dominokit.domino.ui.menu.Menu;
import org.dominokit.domino.ui.utils.BaseDominoElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.button;

import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLAnchorElement;
import org.dominokit.domino.ui.elements.AnchorElement;
import org.dominokit.domino.ui.icons.Icon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.button;

import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLButtonElement;
import org.dominokit.domino.ui.elements.ButtonElement;
import org.dominokit.domino.ui.style.GenericCss;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package org.dominokit.domino.ui.button.group;

import static org.dominokit.domino.ui.button.ButtonStyles.*;
import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLElement;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
package org.dominokit.domino.ui.cards;

import static java.util.Objects.nonNull;
import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.Domino.div;
import static org.dominokit.domino.ui.utils.Domino.dui_order_last;

import elemental2.dom.Element;
import elemental2.dom.HTMLDivElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package org.dominokit.domino.ui.cards;

import static org.dominokit.domino.ui.cards.CardStyles.*;
import static org.dominokit.domino.ui.utils.Domino.*;

import elemental2.dom.HTMLDivElement;
import elemental2.dom.HTMLImageElement;
Expand Down
Loading

0 comments on commit ba8b160

Please sign in to comment.