-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,778 additions
and
873 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
src/main/java/nl/nldesignsystem/candidate/CandidateParagraph.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<wicket:panel xmlns:wicket="http://wicket.apache.org"> | ||
<p wicket:id="paragraph" class="nl-paragraph"> | ||
<b wicket:id="lead" class="nl-paragraph__lead"></span> | ||
</button> | ||
<b wicket:id="lead" class="nl-paragraph__lead"></b> | ||
</p> | ||
</wicket:panel> |
4 changes: 1 addition & 3 deletions
4
src/main/java/nl/nldesignsystem/candidate/CandidateParagraph.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
package nl.nldesignsystem.candidate; | ||
|
||
public class CandidateParagraph { | ||
|
||
} | ||
public class CandidateParagraph {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package nl.rotterdam.wicket; | ||
|
||
import java.util.Arrays; | ||
import java.util.stream.Collectors; | ||
|
||
public class HTMLUtil { | ||
|
||
public static String className(String... classes) { | ||
return joinTokens(classes); | ||
} | ||
|
||
public static String idRefs(String... classes) { | ||
return joinTokens(classes); | ||
} | ||
|
||
public static String joinTokens(String... classes) { | ||
return Arrays.asList(classes) | ||
.stream() | ||
.filter(className -> className != null && !className.trim().isEmpty()) | ||
.collect(Collectors.joining(" ")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
package nl.rotterdam.wicket.docs; | ||
|
||
import nl.utrecht.components.UtrechtCodeBlock; | ||
|
||
import org.apache.wicket.markup.html.basic.Label; | ||
import org.apache.wicket.model.Model; | ||
|
||
public class Changelog extends EmptyPage | ||
{ | ||
public Changelog() | ||
{ | ||
add( new Label( TITLE_ID, "Changelog · Apache Wicket · Rotterdam Design System")); | ||
public class Changelog extends EmptyPage { | ||
|
||
public Changelog() { | ||
add(new Label(TITLE_ID, "Changelog · Apache Wicket · Rotterdam Design System")); | ||
|
||
add( new UtrechtCodeBlock( "changelog", Model.of("Reload Page"))); | ||
} | ||
add(new UtrechtCodeBlock("changelog", Model.of("Reload Page"))); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
<html xmlns="http://www.w3.org/1999/html"> | ||
<body> | ||
<wicket:extend> | ||
<h1>Components 2</h1> | ||
<h2>Code</h2> | ||
<div class="example-story" wicket:id="code-example"></div> | ||
<h2>Code Block</h2> | ||
<div class="example-story" wicket:id="code-block-example"></div> | ||
<h2>Heading</h2> | ||
<h3>Heading 1</h3> | ||
<div class="example-story" wicket:id="heading-1-example"></div> | ||
<h3>Heading 2</h3> | ||
<div class="example-story" wicket:id="heading-2-example"></div> | ||
<h3>Heading 3</h3> | ||
<div class="example-story" wicket:id="heading-3-example"></div> | ||
<h3>Heading 4</h3> | ||
<div class="example-story" wicket:id="heading-4-example"></div> | ||
<h3>Heading 5</h3> | ||
<div class="example-story" wicket:id="heading-5-example"></div> | ||
<h3>Heading 6</h3> | ||
<div class="example-story" wicket:id="heading-6-example"></div> | ||
<h3>Heading level 1</h3> | ||
<div class="example-story" wicket:id="heading-level-1-example"></div> | ||
<!-- | ||
<h3>Heading level 2</h3> | ||
<div class="example-story" wicket:id="heading-level-2-example"></div> | ||
<h3>Heading level 3</h3> | ||
<div class="example-story" wicket:id="heading-level-3-example"></div> | ||
<h3>Heading level 4</h3> | ||
<div class="example-story" wicket:id="heading-level-4-example"></div> | ||
<h3>Heading level 5</h3> | ||
<div class="example-story" wicket:id="heading-level-5-example"></div> | ||
<h3>Heading level 6</h3> | ||
<div class="example-story" wicket:id="heading-level-6-example"></div> | ||
--> | ||
<h3>Action Group</h3> | ||
<div class="example-story" wicket:id="action-group-example"></div> | ||
<h3>Form Field with Checkbox</h3> | ||
<div class="example-story" wicket:id="form-field-checkbox-example"></div> | ||
<h3>Form Field with Checkbox (checked)</h3> | ||
<div class="example-story" wicket:id="form-field-checkbox-checked-example"></div> | ||
<h3>Form Field with Checkbox (required)</h3> | ||
<div class="example-story" wicket:id="form-field-checkbox-required-example"></div> | ||
<h3>Form Field with Checkbox (invalid)</h3> | ||
<div class="example-story" wicket:id="form-field-checkbox-invalid-example"></div> | ||
<h3>Form Field with Checkbox (description)</h3> | ||
<div class="example-story" wicket:id="form-field-checkbox-description-example"></div> | ||
<div style="margin-inline: auto; max-width: 40em"> | ||
<h1>Components 2</h1> | ||
<h2>Code</h2> | ||
<div class="example-story" wicket:id="code-example"></div> | ||
<h2>Code Block</h2> | ||
<div class="example-story" wicket:id="code-block-example"></div> | ||
<h2>Heading</h2> | ||
<h3>Heading 1</h3> | ||
<div class="example-story" wicket:id="heading-1-example"></div> | ||
<h3>Heading 2</h3> | ||
<div class="example-story" wicket:id="heading-2-example"></div> | ||
<h3>Heading 3</h3> | ||
<div class="example-story" wicket:id="heading-3-example"></div> | ||
<h3>Heading 4</h3> | ||
<div class="example-story" wicket:id="heading-4-example"></div> | ||
<h3>Heading 5</h3> | ||
<div class="example-story" wicket:id="heading-5-example"></div> | ||
<h3>Heading 6</h3> | ||
<div class="example-story" wicket:id="heading-6-example"></div> | ||
<h3>Heading level 1</h3> | ||
<div class="example-story" wicket:id="heading-level-1-example"></div> | ||
<h3>Heading level 2</h3> | ||
<div class="example-story" wicket:id="heading-level-2-example"></div> | ||
<h3>Heading level 3</h3> | ||
<div class="example-story" wicket:id="heading-level-3-example"></div> | ||
<h3>Heading level 4</h3> | ||
<div class="example-story" wicket:id="heading-level-4-example"></div> | ||
<h3>Heading level 5</h3> | ||
<div class="example-story" wicket:id="heading-level-5-example"></div> | ||
<h3>Heading level 6</h3> | ||
<div class="example-story" wicket:id="heading-level-6-example"></div> | ||
<h3>Action Group</h3> | ||
<div class="example-story" wicket:id="action-group-example"></div> | ||
<h3>Form Field with Checkbox</h3> | ||
<div class="example-story"><div wicket:id="form-field-checkbox-example"></div></div> | ||
<h3>Form Field with Checkbox (checked)</h3> | ||
<div class="example-story"><div wicket:id="form-field-checkbox-checked-example"></div></div> | ||
<h3>Form Field with Checkbox (required)</h3> | ||
<div class="example-story"><div wicket:id="form-field-checkbox-required-example"></div></div> | ||
<h3>Form Field with Checkbox (invalid)</h3> | ||
<div class="example-story"><div wicket:id="form-field-checkbox-invalid-example"></div></div> | ||
<h3>Form Field with Checkbox (description)</h3> | ||
<div class="example-story"><div wicket:id="form-field-checkbox-description-example"></div></div> | ||
</div> | ||
</wicket:extend> | ||
</body> | ||
</html> |
Oops, something went wrong.