Skip to content

wytten/domino-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Maven Central Sonatype Nexus (Snapshots)

Domino-ui

A type safe material design with bootstrap builder for java developer with GWT without dependencies on external JavaScript.

Demo app

Domino-ui Demo app

Setup

Maven dependency

<dependency>
  <groupId>org.dominokit</groupId>
  <artifactId>domino-ui</artifactId>
  <version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
  <groupId>org.dominokit</groupId>
  <artifactId>domino-ui</artifactId>
  <version>1.0-SNAPSHOT</version>
  <classifier>sources</classifier>
</dependency>

To use the snapshot version without building locally, configure the snapshot repository

<repository>
   <id>sonatype-snapshots-repo</id>
   <url>https://oss.sonatype.org/content/repositories/snapshots</url>
   <snapshots>
      <enabled>true</enabled>
      <updatePolicy>always</updatePolicy>
      <checksumPolicy>fail</checksumPolicy>
   </snapshots>
</repository>

GWT module interitence

<inherits name="org.dominokit.domino.ui.DominoUI"/>

Css

<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

<link type="text/css" rel="stylesheet" href="/static/font/material-icons.css">
<link type="text/css" rel="stylesheet" href="/static/plugins/bootstrap/css/bootstrap.css">
<link type="text/css" rel="stylesheet" href="/static/plugins/node-waves/waves.css">
<link type="text/css" rel="stylesheet" href="/static/plugins/animate-css/animate.css">
<link type="text/css" rel="stylesheet" href="/static/plugins/waitme/waitMe.css">
<link type="text/css" rel="stylesheet" href="/static/plugins/bootstrap-select/css/bootstrap-select.css">
<link type="text/css" rel="stylesheet" href="/static/css/materialize.css">
<link type="text/css" rel="stylesheet" href="/static/css/style.css">
<link type="text/css" rel="stylesheet" href="/static/css/themes/all-themes.css">

Domino-ui Release 1.0 Road map

Checked item are already completed

Build All basic components :

  • Cards
  • Info box
  • Buttons
  • Alerts
  • Badges
  • Labels
  • Modals
  • Lists
  • Loaders
  • Icons
  • Breadcrumbs
  • Collapse
  • Notifications
  • Media Objects
  • Pagination
  • Preloaders
  • Progress bars
  • Tabs
  • Thumbnails
  • Dialogs
  • Tooltips and Popovers
  • Waves
  • Typography
  • Helper classes
  • Colors
  • Animations
  • File upload
  • Date picker
  • Time picker
  • Date time picker - in progress
  • Inputs decorations : Labels, Helper text, validation, Icons - in progress
  • Advanced Select
  • Multi-Select
  • Tag field
  • Spinners
  • Field masking
  • Simple grids - Table based -
  • Form wizards / Steppers
  • Carousel
  • Sliders

Third Party libs and tools integration

  • make sure that domino-ui can be used with other third party tools and libs, this might indicate a standarized API and split between the builders and actual element class.

Sample of third party tools and frameworks:

  • Editors framework.
  • UI Binder

Restructure CSS and Themeing

  • Restructure the CSS allowing easy themeing, writing a new theme by the uusers should be easy.

  • Simplify the injection of the css resources.

Java docs

  • Make sure all domino-ui classes has the proper JavaDocs.

Documentation

  • Create a full documentation describing how to use domino-ui, setup a project, and document each element/component on its own, this could be in github pages.

Build Samples

  • Implement a 3 different samples with different types of contents, the samples should try to use most of the avialable components.

Sample

Column column = Column.create()
        .onLarge(Column.OnLarge.four)
        .onMedium(Column.OnMedium.four)
        .onSmall(Column.OnSmall.twelve)
        .onXSmall(Column.OnXSmall.twelve);

DomGlobal.document.body.appendChild(Row.create()
        .addColumn(column.copy()
                .addElement(Card.create("CARD TITLE", "Card description")
                        .appendContent(Paragraph.create("I love domino-ui, domino-ui does not use jquery or js and is typesafe, I love domino-ui, domino-ui does not use jquery or js and is typesafe, I love domino-ui, domino-ui does not use jquery or js and is typesafe")
                                .asElement())
                        .setHeaderBackground(Color.BLUE)
                        .setBodyBackground(Color.LIGHT_BLUE)
                        .asElement()))
        .addColumn(column.copy()
                .addElement(Card.create("CARD TITLE", "Card description")
                        .appendContent(Paragraph.create("I love domino-ui, domino-ui does not use jquery or js and is typesafe, I love domino-ui, domino-ui does not use jquery or js and is typesafe, I love domino-ui, domino-ui does not use jquery or js and is typesafe")
                                .asElement())
                        .setHeaderBackground(Color.GREEN)
                        .setBodyBackground(Color.LIGHT_GREEN)
                        .asElement()))
        .addColumn(column.copy()
                .addElement(Card.create("CARD TITLE", "Card description")
                        .appendContent(Paragraph.create("I love domino-ui, domino-ui does not use jquery or js and is typesafe, I love domino-ui, domino-ui does not use jquery or js and is typesafe, I love domino-ui, domino-ui does not use jquery or js and is typesafe")
                                .asElement())
                        .setHeaderBackground(Color.ORANGE)
                        .setBodyBackground(Color.AMBER)
                        .asElement()))
        .asElement());

Imgur

Releases

No releases published

Packages

No packages published

Languages

  • Java 56.1%
  • CSS 42.6%
  • HTML 1.3%