dui_button_toolbar
*/
CssClass dui_button_toolbar = () -> "dui-btn-toolbar";
/** Constant dui_vertical
*/
- CssClass dui_vertical = () -> "dui-vertical";
- /** Constant dui_circle
*/
CssClass dui_circle = () -> "dui-circle";
/** Constant dui_button_reversed
*/
CssClass dui_button_reversed = () -> "dui-btn-reverse";
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/button/ButtonsToolbar.java b/domino-ui/src/main/java/org/dominokit/domino/ui/button/ButtonsToolbar.java
index db7ef7ba8..b6a53b810 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/button/ButtonsToolbar.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/button/ButtonsToolbar.java
@@ -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;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/button/DropdownButton.java b/domino-ui/src/main/java/org/dominokit/domino/ui/button/DropdownButton.java
index 7bd8a0033..82e83ea66 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/button/DropdownButton.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/button/DropdownButton.java
@@ -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;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/button/LinkButton.java b/domino-ui/src/main/java/org/dominokit/domino/ui/button/LinkButton.java
index d4be49445..f7231fc92 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/button/LinkButton.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/button/LinkButton.java
@@ -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;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/button/RemoveButton.java b/domino-ui/src/main/java/org/dominokit/domino/ui/button/RemoveButton.java
index aa3b0aacf..0192502c5 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/button/RemoveButton.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/button/RemoveButton.java
@@ -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;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/button/group/ButtonsGroup.java b/domino-ui/src/main/java/org/dominokit/domino/ui/button/group/ButtonsGroup.java
index 36ea569cb..4702e3f1f 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/button/group/ButtonsGroup.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/button/group/ButtonsGroup.java
@@ -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;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/cards/Card.java b/domino-ui/src/main/java/org/dominokit/domino/ui/cards/Card.java
index 5d63c8153..9fb5eab33 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/cards/Card.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/cards/Card.java
@@ -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;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/cards/CardHeader.java b/domino-ui/src/main/java/org/dominokit/domino/ui/cards/CardHeader.java
index 73a74916d..63e8944b1 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/cards/CardHeader.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/cards/CardHeader.java
@@ -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;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Carousel.java b/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Carousel.java
index c41aeeab4..470b24dc1 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Carousel.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Carousel.java
@@ -16,6 +16,7 @@
package org.dominokit.domino.ui.carousel;
import static org.dominokit.domino.ui.carousel.CarouselStyles.*;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.HTMLDivElement;
import java.util.ArrayList;
@@ -39,10 +40,6 @@
* @see BaseDominoElement
*/
public class Carousel extends BaseDominoElementNEXT="next"
*/
- public static final String NEXT = "next";
- /** CSS class for previous indicator */
- public static final String PREV = "prev";
private final OListElement indicatorsElement;
private final DivElement slidesElement;
@@ -61,6 +58,15 @@ public class Carousel extends BaseDominoElementNEXT="next"
*/
+ NEXT
+ }
}
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Slide.java b/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Slide.java
index 3bef9c483..1dfc91a92 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Slide.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/carousel/Slide.java
@@ -18,6 +18,7 @@
import static org.dominokit.domino.ui.carousel.CarouselStyles.slide;
import static org.dominokit.domino.ui.carousel.CarouselStyles.slide_caption;
import static org.dominokit.domino.ui.carousel.CarouselStyles.slide_indicator;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.HTMLDivElement;
import elemental2.dom.HTMLElement;
@@ -73,7 +74,7 @@ private Slide(HTMLElement element) {
* attribute.
*/
public Slide(String imageSrc) {
- this(elements.img(imageSrc).element());
+ this(img(imageSrc).element());
}
/**
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/chips/Chip.java b/domino-ui/src/main/java/org/dominokit/domino/ui/chips/Chip.java
index 1f61ff856..92084d7a4 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/chips/Chip.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/chips/Chip.java
@@ -15,12 +15,10 @@
*/
package org.dominokit.domino.ui.chips;
-import static org.dominokit.domino.ui.chips.ChipStyles.dui_chip;
-import static org.dominokit.domino.ui.chips.ChipStyles.dui_chip_addon;
-import static org.dominokit.domino.ui.chips.ChipStyles.dui_chip_has_addon;
-import static org.dominokit.domino.ui.chips.ChipStyles.dui_chip_remove;
-import static org.dominokit.domino.ui.chips.ChipStyles.dui_chip_selected;
-import static org.dominokit.domino.ui.chips.ChipStyles.dui_chip_value;
+import static org.dominokit.domino.ui.chips.ChipStyles.*;
+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.HTMLDivElement;
import elemental2.dom.HTMLImageElement;
@@ -32,13 +30,7 @@
import org.dominokit.domino.ui.elements.ImageElement;
import org.dominokit.domino.ui.elements.SpanElement;
import org.dominokit.domino.ui.style.BooleanCssClass;
-import org.dominokit.domino.ui.utils.AcceptDisable;
-import org.dominokit.domino.ui.utils.BaseDominoElement;
-import org.dominokit.domino.ui.utils.ChildHandler;
-import org.dominokit.domino.ui.utils.HasSelectionListeners;
-import org.dominokit.domino.ui.utils.LazyChild;
-import org.dominokit.domino.ui.utils.PrefixAddOn;
-import org.dominokit.domino.ui.utils.Selectable;
+import org.dominokit.domino.ui.utils.*;
/**
* A component for a Tag that can have a text and icon or image and can be set to be removable.
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/chips/ChipsGroup.java b/domino-ui/src/main/java/org/dominokit/domino/ui/chips/ChipsGroup.java
index 65074dc50..2f1b33b74 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/chips/ChipsGroup.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/chips/ChipsGroup.java
@@ -15,10 +15,15 @@
*/
package org.dominokit.domino.ui.chips;
+import static org.dominokit.domino.ui.utils.Domino.*;
+import static org.dominokit.domino.ui.utils.Domino.div;
+
import elemental2.dom.HTMLDivElement;
import java.util.*;
import org.dominokit.domino.ui.elements.DivElement;
-import org.dominokit.domino.ui.utils.*;
+import org.dominokit.domino.ui.utils.AcceptDisable;
+import org.dominokit.domino.ui.utils.BaseDominoElement;
+import org.dominokit.domino.ui.utils.HasSelectionListeners;
/**
* This component groups a set of {@link org.dominokit.domino.ui.chips.Chip}s and controls the
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/code/Code.java b/domino-ui/src/main/java/org/dominokit/domino/ui/code/Code.java
index e4399459f..b8983de3a 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/code/Code.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/code/Code.java
@@ -18,6 +18,9 @@
import static java.util.Objects.nonNull;
import static org.dominokit.domino.ui.style.DisplayCss.dui_overflow_x_scroll;
import static org.dominokit.domino.ui.style.SpacingCss.dui_whitespace_pre;
+import static org.dominokit.domino.ui.utils.Domino.*;
+import static org.dominokit.domino.ui.utils.Domino.code;
+import static org.dominokit.domino.ui.utils.Domino.elementOf;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;
import elemental2.dom.HTMLElement;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Accordion.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Accordion.java
index bb8499c24..9608d7dde 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Accordion.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Accordion.java
@@ -16,6 +16,7 @@
package org.dominokit.domino.ui.collapsible;
import static java.util.Objects.nonNull;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.HTMLDivElement;
import java.util.ArrayList;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AccordionPanel.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AccordionPanel.java
index e3313f1dd..00fc6e158 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AccordionPanel.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AccordionPanel.java
@@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.collapsible;
+import static org.dominokit.domino.ui.utils.Domino.*;
+
import elemental2.dom.*;
import org.dominokit.domino.ui.config.AccordionConfig;
import org.dominokit.domino.ui.config.HasComponentConfig;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AnimationCollapseStrategy.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AnimationCollapseStrategy.java
index 8acc54586..a11b6f833 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AnimationCollapseStrategy.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/AnimationCollapseStrategy.java
@@ -17,6 +17,7 @@
import static java.util.Objects.nonNull;
import static org.dominokit.domino.ui.style.DisplayCss.dui_hidden;
+import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;
import elemental2.dom.Element;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/CollapseStrategy.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/CollapseStrategy.java
index a1c7c73ce..893257cff 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/CollapseStrategy.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/CollapseStrategy.java
@@ -15,6 +15,8 @@
*/
package org.dominokit.domino.ui.collapsible;
+import static org.dominokit.domino.ui.utils.Domino.*;
+
import elemental2.dom.Element;
/** CollapseStrategy interface. */
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Collapsible.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Collapsible.java
index 3279fe0e9..e90b29a76 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Collapsible.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/Collapsible.java
@@ -17,6 +17,7 @@
import static java.util.Objects.isNull;
import static java.util.Objects.nonNull;
+import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;
import elemental2.dom.Element;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/DisplayCollapseStrategy.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/DisplayCollapseStrategy.java
index de1c5a893..3d3ce2779 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/DisplayCollapseStrategy.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/DisplayCollapseStrategy.java
@@ -16,6 +16,7 @@
package org.dominokit.domino.ui.collapsible;
import static org.dominokit.domino.ui.collapsible.Collapsible.DUI_COLLAPSED;
+import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;
import elemental2.dom.Element;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/HeightCollapseStrategy.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/HeightCollapseStrategy.java
index 4e602dda5..65b9af5a0 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/HeightCollapseStrategy.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/HeightCollapseStrategy.java
@@ -17,6 +17,7 @@
import static org.dominokit.domino.ui.collapsible.Collapsible.DUI_COLLAPSED;
import static org.dominokit.domino.ui.style.GenericCss.dui_transition_none;
+import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;
import elemental2.dom.AddEventListenerOptions;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/TreeHeightCollapseStrategy.java b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/TreeHeightCollapseStrategy.java
index 2b7774a2f..2573f64bc 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/TreeHeightCollapseStrategy.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/collapsible/TreeHeightCollapseStrategy.java
@@ -17,6 +17,7 @@
import static org.dominokit.domino.ui.collapsible.Collapsible.DUI_COLLAPSED;
import static org.dominokit.domino.ui.style.GenericCss.dui_transition_none;
+import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;
import elemental2.dom.AddEventListenerOptions;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/config/FormsFieldsConfig.java b/domino-ui/src/main/java/org/dominokit/domino/ui/config/FormsFieldsConfig.java
index e1972bc1e..5c329a1f6 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/config/FormsFieldsConfig.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/config/FormsFieldsConfig.java
@@ -15,6 +15,7 @@
*/
package org.dominokit.domino.ui.config;
+import static org.dominokit.domino.ui.utils.Domino.*;
import static org.dominokit.domino.ui.utils.ElementsFactory.elements;
import elemental2.dom.HTMLElement;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/CellRenderer.java b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/CellRenderer.java
index d697494dd..9f59b3d16 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/CellRenderer.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/CellRenderer.java
@@ -16,6 +16,7 @@
package org.dominokit.domino.ui.datatable;
import static java.util.Objects.nonNull;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.HTMLTableCellElement;
import elemental2.dom.Node;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/ColumnConfig.java b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/ColumnConfig.java
index 0a205abba..490b9116c 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/ColumnConfig.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/datatable/ColumnConfig.java
@@ -18,6 +18,7 @@
import static java.util.Objects.isNull;
import static java.util.Objects.nonNull;
import static org.dominokit.domino.ui.datatable.ColumnUtils.fixElementWidth;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.Element;
import elemental2.dom.HTMLTableCellElement;
@@ -1007,6 +1008,10 @@ private ColumnHeader createColumnElement(TableConfigUsage Example: * diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/CustomInputBox.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/CustomInputBox.java index acf73e93a..c7a5ba1bf 100644 --- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/CustomInputBox.java +++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/CustomInputBox.java @@ -16,6 +16,7 @@ package org.dominokit.domino.ui.forms; import static java.util.Objects.nonNull; +import static org.dominokit.domino.ui.utils.Domino.*; import elemental2.dom.HTMLInputElement; import java.util.HashMap; diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/DateBox.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/DateBox.java index 1bd6b10e6..7c4bda3a4 100644 --- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/DateBox.java +++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/DateBox.java @@ -17,6 +17,7 @@ import static java.util.Objects.nonNull; import static org.dominokit.domino.ui.menu.direction.DropDirection.BEST_MIDDLE_DOWN_UP; +import static org.dominokit.domino.ui.utils.Domino.*; import elemental2.dom.DomGlobal; import elemental2.dom.HTMLInputElement; diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/EmailBox.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/EmailBox.java index 425d25a5c..a548b9122 100644 --- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/EmailBox.java +++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/EmailBox.java @@ -15,6 +15,8 @@ */ package org.dominokit.domino.ui.forms; +import static org.dominokit.domino.ui.utils.Domino.*; + import java.util.HashMap; import java.util.Map; import org.dominokit.domino.ui.elements.DataListElement; diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FieldsGrouping.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FieldsGrouping.java index 21a9acf24..6fa567cc4 100644 --- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FieldsGrouping.java +++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FieldsGrouping.java @@ -16,6 +16,7 @@ package org.dominokit.domino.ui.forms; import static java.util.Objects.nonNull; +import static org.dominokit.domino.ui.utils.Domino.*; import elemental2.dom.HTMLElement; import java.util.*; @@ -23,11 +24,10 @@ import org.dominokit.domino.ui.forms.validations.ValidationResult; import org.dominokit.domino.ui.keyboard.KeyEventsConsumer; import org.dominokit.domino.ui.utils.*; -import org.dominokit.domino.ui.utils.ApplyFunction; /** - * The `FieldsGrouping` class is responsible for grouping and managing a collection of form - * elements. It provides various validation and manipulation functions for the grouped elements. + * The FieldsGrouping class is responsible for grouping and managing a collection of form elements. + * It provides various validation and manipulation functions for the grouped elements. * *
Usage Example:
*
@@ -57,9 +57,9 @@ public class FieldsGrouping
private boolean focusValidationsPaused = false;
/**
- * Constructs a new `FieldsGrouping` instance.
+ * Constructs a new FieldsGrouping instance.
*
- * @return A new `FieldsGrouping` instance.
+ * @return A new FieldsGrouping instance.
*/
public static FieldsGrouping create() {
return new FieldsGrouping();
@@ -69,7 +69,7 @@ public static FieldsGrouping create() {
* Adds a form element to the group.
*
* @param formElement The form element to add to the group.
- * @return The current `FieldsGrouping` instance for method chaining.
+ * @return The current FieldsGrouping instance for method chaining.
*/
public FieldsGrouping addFormElement(HasGrouping> formElement) {
formElements.add(formElement);
@@ -80,7 +80,7 @@ public FieldsGrouping addFormElement(HasGrouping> formElement) {
* Groups multiple form elements together.
*
* @param formElements The form elements to group together.
- * @return The current `FieldsGrouping` instance for method chaining.
+ * @return The current FieldsGrouping instance for method chaining.
*/
public FieldsGrouping group(HasGrouping>... formElements) {
if (nonNull(formElements) && formElements.length > 0) {
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FormsStyles.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FormsStyles.java
index 68db56667..876c06102 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FormsStyles.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/FormsStyles.java
@@ -18,7 +18,7 @@
import org.dominokit.domino.ui.style.CssClass;
/**
- * The `FormsStyles` interface provides a set of CSS classes that can be used to style form elements
+ * The FormsStyles interface provides a set of CSS classes that can be used to style form elements
* and components within Domino UI forms.
*/
public interface FormsStyles {
@@ -83,6 +83,8 @@ public interface FormsStyles {
/** CSS class for a hidden input element within a form field. */
CssClass dui_hidden_input = () -> "dui-field-input-hidden";
+ CssClass dui_auto_type_input = () -> "dui-auto-type-input";
+
/** CSS class for a form switch component. */
CssClass dui_switch = () -> "dui-form-switch";
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/HasInputElement.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/HasInputElement.java
index 8d5bdbc1d..064292ae9 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/HasInputElement.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/HasInputElement.java
@@ -15,8 +15,12 @@
*/
package org.dominokit.domino.ui.forms;
+import static org.dominokit.domino.ui.utils.Domino.*;
+
import elemental2.dom.HTMLElement;
-import org.dominokit.domino.ui.utils.*;
+import org.dominokit.domino.ui.utils.CanChange;
+import org.dominokit.domino.ui.utils.DominoElement;
+import org.dominokit.domino.ui.utils.Focusable;
/**
* The {@code HasInputElement} interface provides methods for working with input elements within a
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/InputFieldInitializer.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/InputFieldInitializer.java
index a269e7e30..055a3f513 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/InputFieldInitializer.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/InputFieldInitializer.java
@@ -16,6 +16,7 @@
package org.dominokit.domino.ui.forms;
import static org.dominokit.domino.ui.forms.FormsStyles.dui_form_field;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.Element;
import elemental2.dom.HTMLElement;
@@ -30,7 +31,7 @@
import org.dominokit.domino.ui.utils.HasMinMaxLength;
/**
- * The `InputFieldInitializer` class provides initialization and event handling for input fields
+ * The InputFieldInitializer class provides initialization and event handling for input fields
* within Domino UI forms.
*
* @param Radio buttons are typically used to allow users to make a single selection from a list of
* options. A radio button can have a label and optional helper text.
@@ -70,7 +71,7 @@ public class Radio Usage Example:
*
@@ -54,6 +58,7 @@ public class TextAreaBox extends CountableInputFormField Usage Example:
*
@@ -80,7 +82,7 @@ private void addTypeMismatchValidator() {
});
}
- /** Creates a new `TextInputFormField` instance with default values. */
+ /** Creates a new TextInputFormField instance with default values. */
public TextInputFormField() {
prefixElement = LazyChild.of(div().addCss(dui_field_prefix), wrapperElement);
postfixElement = LazyChild.of(div().addCss(dui_field_postfix), wrapperElement);
@@ -92,7 +94,7 @@ public TextInputFormField() {
* Sets a postfix element for the text input field.
*
* @param postfix The postfix text or content.
- * @return This `TextInputFormField` instance.
+ * @return This TextInputFormField instance.
*/
@Override
public T setPostfix(String postfix) {
@@ -117,7 +119,7 @@ public String getPostfix() {
* Sets a prefix element for the text input field.
*
* @param prefix The prefix text or content.
- * @return This `TextInputFormField` instance.
+ * @return This TextInputFormField` instance.
*/
@Override
public T setPrefix(String prefix) {
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/TimeBox.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/TimeBox.java
index 72f7f535c..fc622922a 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/TimeBox.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/TimeBox.java
@@ -17,6 +17,7 @@
import static java.util.Objects.nonNull;
import static org.dominokit.domino.ui.menu.direction.DropDirection.BEST_MIDDLE_DOWN_UP;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.DomGlobal;
import elemental2.dom.HTMLInputElement;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/UploadBox.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/UploadBox.java
index 2287e3825..03fc43049 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/UploadBox.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/UploadBox.java
@@ -16,6 +16,7 @@
package org.dominokit.domino.ui.forms;
import static java.util.Objects.nonNull;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.File;
import elemental2.dom.HTMLInputElement;
diff --git a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/suggest/AbstractSelect.java b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/suggest/AbstractSelect.java
index 4af1abf1f..9ed020c2a 100644
--- a/domino-ui/src/main/java/org/dominokit/domino/ui/forms/suggest/AbstractSelect.java
+++ b/domino-ui/src/main/java/org/dominokit/domino/ui/forms/suggest/AbstractSelect.java
@@ -17,10 +17,13 @@
import static java.util.Objects.isNull;
import static java.util.Objects.nonNull;
+import static org.dominokit.domino.ui.utils.Domino.*;
import elemental2.dom.DomGlobal;
+import elemental2.dom.Event;
import elemental2.dom.HTMLElement;
import elemental2.dom.HTMLInputElement;
+import elemental2.dom.KeyboardEvent;
import java.util.*;
import java.util.function.Consumer;
import java.util.function.Function;
@@ -28,6 +31,7 @@
import jsinterop.base.Js;
import org.dominokit.domino.ui.IsElement;
import org.dominokit.domino.ui.elements.DivElement;
+import org.dominokit.domino.ui.elements.InputElement;
import org.dominokit.domino.ui.elements.SpanElement;
import org.dominokit.domino.ui.forms.AbstractFormElement;
import org.dominokit.domino.ui.forms.AutoValidator;
@@ -74,7 +78,8 @@ public abstract class AbstractSelect<
protected Menu