Skip to content

Commit

Permalink
Revert "deprecate classes"
Browse files Browse the repository at this point in the history
This reverts commit fbedec8.
  • Loading branch information
vegegoku committed Sep 4, 2024
1 parent fbedec8 commit 7ea0c24
Show file tree
Hide file tree
Showing 410 changed files with 0 additions and 433 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@
* @see HasBackground
* @see Color
*/
@Deprecated
public class Alert extends BaseDominoElement<HTMLDivElement, Alert>
implements HasBackground<Alert> {

/** Alert severity levels */
@Deprecated
public enum AlertType {
/** Success severity */
SUCCESS(AlertStyles.SUCCESS),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* @see Alert
* @see BaseDominoElement
*/
@Deprecated
public class AlertLink extends BaseDominoElement<HTMLAnchorElement, AlertLink> {

private final HTMLAnchorElement element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.alerts;

/** Default CSS classes for {@link Alert} */
@Deprecated
public class AlertStyles {

/** CSS class for alert */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
*
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/animation">Animation on MDN</a>
*/
@Deprecated
public class Animation {

private final CompleteCallback DEFAULT_CALLBACK = element -> {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
* An enum that lists all the available built in animations each enum value represent an animation
* and provide both the name and the css class name for that animation
*/
@Deprecated
public enum Transition {
BOUNCE("bounce", "BOUNCE"),
FLASH("flash", "FLASH"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
* @see BaseDominoElement
* @see HasBackground
*/
@Deprecated
public class Badge extends BaseDominoElement<HTMLElement, Badge> implements HasBackground<Badge> {

private final DominoElement<HTMLElement> badgeElement =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.badges;

/** Default CSS classes for {@link Badge} */
@Deprecated
public class BadgeStyles {

/** CSS class for badge */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
* @see HasBackground
* @see BreadcrumbItem
*/
@Deprecated
public class Breadcrumb extends BaseDominoElement<HTMLOListElement, Breadcrumb>
implements HasBackground<Breadcrumb>, HasChangeHandlers<Breadcrumb, BreadcrumbItem> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
* @see BaseDominoElement
* @see HasClickableElement
*/
@Deprecated
public class BreadcrumbItem extends BaseDominoElement<HTMLLIElement, BreadcrumbItem>
implements HasClickableElement {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.breadcrumbs;

/** Default CSS classes for {@link Breadcrumb} */
@Deprecated
public class BreadcrumbStyles {

/** CSS class for breadcrumb */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ private void applyCircleWaves() {
applyWaveStyle(WaveStyle.FLOAT);
}

@Deprecated
public enum IconPosition {
LEFT(10),
RIGHT(30);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
* .addClickListener(evt-&gt; //handle the event);
* </pre>
*/
@Deprecated
public class Button extends BaseButton<Button> {

/** creates a Button without a text and with {@link Elevation#LEVEL_1} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
* An enum that lists all predefined button sizes. each enum value represent one css class that
* changes the button height.
*/
@Deprecated
public enum ButtonSize {
/** Large height */
LARGE("lg"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.button;

/** A constants class to reference css classes used in Button components */
@Deprecated
public class ButtonStyles {
/** The main css class for a button */
public static final String BUTTON = "btn";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
* );
* </pre>
*/
@Deprecated
public class ButtonsToolbar extends BaseDominoElement<HTMLElement, ButtonsToolbar> {

private HTMLElement toolbarElement =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
* .setPosition(DropDownPosition.TOP)
* </pre>
*/
@Deprecated
public class DropdownButton extends BaseButton<DropdownButton> {

private Icon caretIcon = Icons.ALL.keyboard_arrow_down();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
* <p>This class is works like a button group but it will be always initialized with a default
* simple button. and only allow appending DropdownButton(s)
*/
@Deprecated
public class SplitButton extends BaseDominoElement<HTMLElement, SplitButton> {

private HTMLElement groupElement = ButtonsGroup.create().element();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
* .setSize(ButtonSize.LARGE);
* </pre>
*/
@Deprecated
public class ButtonsGroup extends WavesElement<HTMLElement, ButtonsGroup>
implements IsGroup<ButtonsGroup>, Sizable<ButtonsGroup> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

/** to be removed */
@Deprecated
@Deprecated
public class JustifiedGroup extends BaseDominoElement<HTMLElement, JustifiedGroup>
implements IsGroup<JustifiedGroup>, Sizable<JustifiedGroup> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
* @see BaseDominoElement
* @see HasBackground
*/
@Deprecated
public class Card extends BaseDominoElement<HTMLDivElement, Card> implements HasBackground<Card> {

private final FlexItem<HTMLDivElement> logoContainer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.cards;

/** Default CSS classes for {@link Card} */
@Deprecated
public class CardStyles {

/** CSS class for card */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
* @see Card
* @see Card#addHeaderAction(HeaderAction)
*/
@Deprecated
public class HeaderAction extends BaseDominoElement<HTMLLIElement, HeaderAction> {

private final HTMLLIElement element = li().element();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
* @see BaseDominoElement
* @see CarouselStyles
*/
@Deprecated
public class Carousel extends BaseDominoElement<HTMLDivElement, Carousel> {

private final HTMLOListElement indicatorsElement =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.carousel;

/** Default CSS classes for {@link Carousel} */
@Deprecated
public class CarouselStyles {
/** CSS class for carousel indicator */
public static final String CAROUSEL_INDICATORS = "carousel-indicators";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* @see BaseDominoElement
* @see Carousel
*/
@Deprecated
public class Slide extends BaseDominoElement<HTMLDivElement, Slide> {

private final HTMLLIElement indicatorElement = li().element();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
* @see Switchable
* @see HasRemoveHandler
*/
@Deprecated
public class Chip extends BaseDominoElement<HTMLDivElement, Chip>
implements HasSelectionHandler<Chip, String>,
HasDeselectionHandler<Chip>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.chips;

/** Default CSS classes for {@link Chip} */
@Deprecated
public class ChipStyles {
/** CSS class for chip */
public static final String CHIP = "chip";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
* @see HasDeselectionHandler
* @see Switchable
*/
@Deprecated
public class ChipsGroup extends BaseDominoElement<HTMLDivElement, ChipsGroup>
implements Switchable<ChipsGroup>,
HasSelectionHandler<ChipsGroup, Chip>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
*
* element
*/
@Deprecated
public class Code {

private static final String CODE_STYLE = "overflow-x: scroll; white-space: pre;";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
*
* @see AccordionPanel
*/
@Deprecated
public class Accordion extends BaseDominoElement<HTMLDivElement, Accordion> {

private final DominoElement<HTMLDivElement> element =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
*
* @see Accordion
*/
@Deprecated
public class AccordionPanel extends BaseDominoElement<HTMLDivElement, AccordionPanel>
implements IsCollapsible<AccordionPanel> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import org.dominokit.domino.ui.animations.Transition;

@Deprecated
public class AnimationCollapseOptions {

private Transition showTransition;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* An implementation of {@link CollapseStrategy} that uses the css display property to hide/show the
* collapsible element
*/
@Deprecated
public class AnimationCollapseStrategy implements CollapseStrategy {
private final AnimationCollapseOptions options;
private Animation hideAnimation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package org.dominokit.domino.ui.collapsible;

@Deprecated
public enum CollapseDuration {
_100ms("height-collapsed-trans-100", 100),
_200ms("height-collapsed-trans-200", 200),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
* .addHideHandler(() -&gt; DomGlobal.console.info("Div visible"));
* </pre>
*/
@Deprecated
public class Collapsible implements IsElement<HTMLElement>, IsCollapsible<Collapsible> {

public static final String DOM_UI_SCROLL_HEIGHT = "dom-ui-scroll-height";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.collapsible;

/** CSS style names for {@link Accordion} and {@link AccordionPanel} */
@Deprecated
public class CollapsibleStyles {

public static final String PANEL_GROUP = "panel-group";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* An implementation of {@link CollapseStrategy} that uses the css display property to hide/show the
* collapsible element
*/
@Deprecated
public class DisplayCollapseStrategy implements CollapseStrategy {

private CollapsibleHandlers handlers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* An implementation of {@link CollapseStrategy} that uses the css display property to hide/show the
* collapsible element
*/
@Deprecated
public class HeightCollapseStrategy implements CollapseStrategy {

public static final String D_COLLAPSED = "d-collapsed";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
* An implementation of {@link CollapseStrategy} that uses the css display property to hide/show the
* collapsible element
*/
@Deprecated
public class TreeHeightCollapseStrategy implements CollapseStrategy {

public static final String D_COLLAPSED = "d-collapsed";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
* .startCounting();
* </pre>
*/
@Deprecated
public class Counter {

private Timer timer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
*
* @param <T> the type of the data table records
*/
@Deprecated
public class ColumnConfig<T> {

private final String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import org.dominokit.domino.ui.utils.DominoCSSRule;

@Deprecated
public class ColumnCssRule {

private final String key;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.dominokit.domino.ui.utils.DominoCSSRule;
import org.dominokit.domino.ui.utils.DynamicStyleSheet;

@Deprecated
public class ColumnCssRuleMeta<T> implements ComponentMeta {

public static final String COLUMN_CSS_RULE_META = "column-css-rule-meta";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.dominokit.domino.ui.utils.ComponentMeta;
import org.dominokit.domino.ui.utils.DominoElement;

@Deprecated
public class ColumnHeaderMeta implements ComponentMeta {

public static final String DOMINO_COLUMN_HEADER_META = "domino-column-header-meta";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.dominokit.domino.ui.utils.DominoCSSRule;
import org.dominokit.domino.ui.utils.DominoElement;

@Deprecated
public class ColumnUtils {

public static <T> void fixElementWidth(ColumnConfig<T> column, HTMLElement element) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
*
* @param <T> the type of the data table records
*/
@Deprecated
public class DataTable<T> extends BaseDominoElement<HTMLDivElement, DataTable<T>>
implements HasSelectionSupport<TableRow<T>> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package org.dominokit.domino.ui.datatable;

/** constants class for DataTable css classes names */
@Deprecated
public class DataTableStyles {
public static final String TABLE_RESPONSIVE = "table-responsive";
public static final String TABLE = "table";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*
* <p>e.g remove the column name a from a list of columns
*/
@Deprecated
public class DefaultColumnShowHideListener implements ColumnShowHideListener {

private HTMLElement element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import java.util.Optional;
import org.dominokit.domino.ui.utils.ComponentMeta;

@Deprecated
public class RowAppenderMeta<T> implements ComponentMeta {

public static final String TABLE_ROW_APPENDER_META = "table-row-appender-meta";
Expand Down
Loading

0 comments on commit 7ea0c24

Please sign in to comment.