-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge and pre-update to Version 2.7.0 of htwoo-core
- Loading branch information
Showing
76 changed files
with
21,023 additions
and
426 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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,4 +1,4 @@ | ||
{{#checkbox}} | ||
<input type="checkbox" name="{{ id }}" id="{{ id }}" value="" class="hoo-checkbox" {{#if disabled }} disabled="{{ disabled }}" | ||
aria-disabled="{{ disabled }}" {{/if}}><label for="{{ id }}">{{ label }}</label> | ||
aria-disabled="{{ disabled }}" {{/if}}><label for="{{ id }}">{{{ label }}}</label> | ||
{{/checkbox}} |
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 +1 @@ | ||
<input class="hoo-input-color" type="color" value="#000" hsla> | ||
<input class="hoo-input-color" type="color" value="#000" hsla {{{ html-props }}}> |
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,3 +1,3 @@ | ||
{{#input.date}} | ||
<input type="month" class="hoo-input-date" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input type="month" class="hoo-input-date" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.date}} |
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,3 +1,3 @@ | ||
{{#input.date}} | ||
<input type="week" class="hoo-input-date" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input type="week" class="hoo-input-date" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.date}} |
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,3 +1,3 @@ | ||
{{#input.date}} | ||
<input type="date" class="hoo-input-date" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input type="date" class="hoo-input-date" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.date}} |
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,3 +1,3 @@ | ||
{{#input.date}} | ||
<input type="datetime-local" class="hoo-input-date" name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input type="datetime-local" class="hoo-input-date" name="{{ name }}" value="{{ value }}" min="2018-01-01" max="2030-12-31" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.date}} |
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 @@ | ||
{{#input.description}} | ||
<p class="hoo-input-description" {{#if descRef}}id="{{ descRef }}-{{ getLastNumericId }}"{{/if}}> | ||
{{ text }} | ||
{{{ text }}} | ||
</p> | ||
{{/input.description}} |
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,18 @@ | ||
{{#input.file-upload}} | ||
<section class="hoo-input-file"> | ||
<label class="hoo-infile-label" name="file-upload" tabIndex="-1" for="{{ getId "file-upload" }}" draggable="true"> | ||
<div class="hoo-infile-icon"> | ||
{{> atoms-icon }} | ||
</div> | ||
<div> | ||
{{label}} | ||
{{#description }} | ||
<p class="hoo-infile-description">{{ this }} | ||
</p> | ||
{{/description }} | ||
</div> | ||
</label> | ||
<input type="file" id="{{ getLastId }}" name="{{name}}" class="hoo-infile-context" multiple aria-describedby="{{ getLastId }}-content" /> | ||
<output class="hoo-infile-output" id="{{ getLastNumericId }}-content" aria-live="polite" title="Current selection"></output> | ||
{{/input.file-upload}} | ||
</section> |
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,3 +1,7 @@ | ||
{{#input.number}} | ||
<input class="hoo-input-text" type="number" min="{{ min }}" max="{{ max }}" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input class="hoo-input-text" type="number" min="{{ min }}" max="{{ max }}" {{#if disabled}} disabled="{{ disabled }}" | ||
aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' | ||
errorRef}} | ||
aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}" | ||
{{/ifCond}} {{{ html-props }}}> | ||
{{/input.number}} |
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,3 +1,3 @@ | ||
{{#input.email}} | ||
<input class="hoo-input-text" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} type="email" {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input class="hoo-input-text" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} type="email" {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#if disabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} {{#if readonly}} readonly="{{ readonly }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.email}} |
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,3 +1,3 @@ | ||
{{#input.url}} | ||
<input class="hoo-input-text" type="password" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input class="hoo-input-text" type="password" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.url}} |
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,3 +1,3 @@ | ||
{{#input.phone}} | ||
<input class="hoo-input-text" type="phone" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input class="hoo-input-text" type="phone" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.phone}} |
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,7 +1,9 @@ | ||
{{#input.text}} | ||
<div class="hoo-input-group"> | ||
<div class="hoo-input-prefix">{{ inputPrefix }}</div> | ||
<input class="hoo-input-text" type="text" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} data-prefix="https://" | ||
placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<div id="suffix-label-{{ getLastId }}" class="hoo-input-prefix">{{ inputPrefix }}</div> | ||
<input class="hoo-input-text" {{#type}}type="{{this}}" {{/type}} {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} | ||
placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-labelledby="suffix-label-{{ getLastId }}" | ||
aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} | ||
{{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}" {{/ifCond}} {{{ html-props }}}> | ||
</div> | ||
{{/input.text}} |
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,6 +1,9 @@ | ||
{{#input.text}} | ||
<div class="hoo-input-group"> | ||
<input class="hoo-input-text" type="text" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} placeholder="{{ placeholder }}" data-suffix="{{inputSuffix}}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<div class="hoo-input-suffix">{{inputSuffix}}</div> | ||
<input class="hoo-input-text" {{#type}}type="{{this}}" {{/type}} {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} | ||
placeholder="{{ placeholder }}" data-suffix="{{inputSuffix}}" {{#ifCond descRef '||' errorRef}} | ||
aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}" | ||
{{/ifCond}} aria-labelledby="suffix-label-{{getLastId}}" {{{ html-props }}}> | ||
<div id="suffix-label-{{getLastId}}" class="hoo-input-suffix">{{inputSuffix}}</div> | ||
</div> | ||
{{/input.text}} |
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,3 +1,3 @@ | ||
{{#input.url}} | ||
<input class="hoo-input-text" type="url" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input class="hoo-input-text" type="url" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#if diabled}} disabled="{{ disabled }}" aria-disabled="{{ disabled }}" {{/if}} placeholder="{{ placeholder }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> | ||
{{/input.url}} |
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
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 +1 @@ | ||
<textarea class="hoo-input-text" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}></textarea> | ||
<textarea class="hoo-input-text" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}></textarea> |
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 +1 @@ | ||
<input type="time" class="hoo-input-time" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="{{ min-value }}" max="{{ max-value }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}}> | ||
<input type="time" class="hoo-input-time" {{#if (getLastId)}}id="{{ getLastId }}" {{/if}} name="{{ name }}" value="{{ value }}" min="{{ min-value }}" max="{{ max-value }}" {{#ifCond descRef '||' errorRef}} aria-describedby="{{#if descRef}}{{descRef}}-{{getLastId}}{{/if}} {{#if errorRef}}{{errorRef}}-{{ getLastId }}{{/if}}"{{/ifCond}} {{{ html-props }}}> |
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,3 +1,3 @@ | ||
{{#input.label}} | ||
<label class="hoo-label {{stateStyle}}" for="{{ getId for }}">{{ label }}</label> | ||
<label class="hoo-label {{stateStyle}}" for="{{ getLastId }}">{{ label }}</label> | ||
{{/input.label}} |
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,5 @@ | ||
{{#legend }} | ||
<legend class="hoo-legend {{ modifier}}" {{{ html-props }}} {{ aria-tags}}> | ||
{{ text }} | ||
</legend> | ||
{{/legend}} |
Oops, something went wrong.