Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- Enh #41: Add `InputImage` class for HTML `<input type="image">` element with attributes and rendering capabilities (@terabytesoftw)
- Bug #42: Fix messages in `assert()` methods and code style (@terabytesoftw)
- Bug #43: Update `ui-awesome/html-helper` to version `^0.7` and `ui-awesome/html-mixin` to version `^0.4` in `composer.json` and apply necessary changes to `src` and `tests` directories (@terabytesoftw)
- Bug #44: Update last modified from `ui-awesome/html-attribute` in related classes (@terabytesoftw)

## 0.3.0 March 31, 2024

Expand Down
4 changes: 2 additions & 2 deletions src/Form/Base/BaseChoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace UIAwesome\Html\Form\Base;

use UIAwesome\Html\Attribute\Form\HasRequired;
use UIAwesome\Html\Attribute\Form\CanBeRequired;
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
use UIAwesome\Html\Core\Element\BaseInput;
Expand All @@ -20,10 +20,10 @@ abstract class BaseChoice extends BaseInput
{
use CanBeAutofocus;
use CanBeEnclosedByLabel;
use CanBeRequired;
use CanBeUnchecked;
use HasCheckedState;
use HasLabelCollection;
use HasRequired;
use HasTabindex;
use HasValue;

Expand Down
8 changes: 4 additions & 4 deletions src/Form/InputMonth.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasForm,
HasList,
HasMax,
HasMin,
HasReadonly,
HasRequired,
HasStep,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasTabindex};
Expand Down Expand Up @@ -52,13 +52,13 @@
final class InputMonth extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasForm;
use HasList;
use HasMax;
use HasMin;
use HasReadonly;
use HasRequired;
use HasStep;
use HasTabindex;
use HasValue;
Expand Down
10 changes: 5 additions & 5 deletions src/Form/InputNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasForm,
HasList,
HasMax,
HasMin,
HasPlaceholder,
HasReadonly,
HasRequired,
HasStep
HasStep,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
Expand Down Expand Up @@ -44,14 +44,14 @@
final class InputNumber extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasForm;
use HasList;
use HasMax;
use HasMin;
use HasPlaceholder;
use HasReadonly;
use HasRequired;
use HasStep;
use HasTabindex;
use HasValue;
Expand Down
10 changes: 5 additions & 5 deletions src/Form/InputPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasForm,
HasMaxlength,
HasMinlength,
HasPattern,
HasPlaceholder,
HasReadonly,
HasRequired,
HasSize
HasSize,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasInputMode, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
Expand Down Expand Up @@ -44,15 +44,15 @@
final class InputPassword extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasForm;
use HasInputMode;
use HasMaxlength;
use HasMinlength;
use HasPattern;
use HasPlaceholder;
use HasReadonly;
use HasRequired;
use HasSize;
use HasTabindex;
use HasValue;
Expand Down
10 changes: 5 additions & 5 deletions src/Form/InputSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasDirname,
HasForm,
Expand All @@ -13,9 +15,7 @@
HasMinlength,
HasPattern,
HasPlaceholder,
HasReadonly,
HasRequired,
HasSize
HasSize,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasSpellcheck, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
Expand Down Expand Up @@ -49,6 +49,8 @@
final class InputSearch extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasDirname;
use HasForm;
Expand All @@ -57,8 +59,6 @@ final class InputSearch extends BaseInput
use HasMinlength;
use HasPattern;
use HasPlaceholder;
use HasReadonly;
use HasRequired;
use HasSize;
use HasSpellcheck;
use HasTabindex;
Expand Down
10 changes: 5 additions & 5 deletions src/Form/InputTel.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasForm,
HasList,
HasMaxlength,
HasMinlength,
HasPattern,
HasPlaceholder,
HasReadonly,
HasRequired,
HasSize
HasSize,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasSpellcheck, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
Expand Down Expand Up @@ -46,15 +46,15 @@
final class InputTel extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasForm;
use HasList;
use HasMaxlength;
use HasMinlength;
use HasPattern;
use HasPlaceholder;
use HasReadonly;
use HasRequired;
use HasSize;
use HasSpellcheck;
use HasTabindex;
Expand Down
10 changes: 5 additions & 5 deletions src/Form/InputText.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasDirname,
HasForm,
Expand All @@ -13,9 +15,7 @@
HasMinlength,
HasPattern,
HasPlaceholder,
HasReadonly,
HasRequired,
HasSize
HasSize,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasSpellcheck, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
Expand Down Expand Up @@ -45,6 +45,8 @@
final class InputText extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasDirname;
use HasForm;
Expand All @@ -53,8 +55,6 @@ final class InputText extends BaseInput
use HasMinlength;
use HasPattern;
use HasPlaceholder;
use HasReadonly;
use HasRequired;
use HasSize;
use HasSpellcheck;
use HasTabindex;
Expand Down
10 changes: 5 additions & 5 deletions src/Form/InputTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasForm,
HasList,
HasMax,
HasMin,
HasReadonly,
HasRequired,
HasStep
HasStep,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
Expand Down Expand Up @@ -51,13 +51,13 @@
final class InputTime extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasForm;
use HasList;
use HasMax;
use HasMin;
use HasReadonly;
use HasRequired;
use HasStep;
use HasTabindex;
use HasValue;
Expand Down
10 changes: 5 additions & 5 deletions src/Form/InputUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasForm,
HasList,
HasMaxlength,
HasMinlength,
HasPattern,
HasPlaceholder,
HasReadonly,
HasRequired,
HasSize
HasSize,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasSpellcheck, HasTabindex};
use UIAwesome\Html\Attribute\HasValue;
Expand Down Expand Up @@ -46,15 +46,15 @@
final class InputUrl extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasForm;
use HasList;
use HasMaxlength;
use HasMinlength;
use HasPattern;
use HasPlaceholder;
use HasReadonly;
use HasRequired;
use HasSize;
use HasSpellcheck;
use HasTabindex;
Expand Down
8 changes: 4 additions & 4 deletions src/Form/InputWeek.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
namespace UIAwesome\Html\Form;

use UIAwesome\Html\Attribute\Form\{
CanBeReadonly,
CanBeRequired,
HasAutocomplete,
HasForm,
HasList,
HasMax,
HasMin,
HasReadonly,
HasRequired,
HasStep,
};
use UIAwesome\Html\Attribute\Global\{CanBeAutofocus, HasTabindex};
Expand Down Expand Up @@ -51,13 +51,13 @@
final class InputWeek extends BaseInput
{
use CanBeAutofocus;
use CanBeReadonly;
use CanBeRequired;
use HasAutocomplete;
use HasForm;
use HasList;
use HasMax;
use HasMin;
use HasReadonly;
use HasRequired;
use HasStep;
use HasTabindex;
use HasValue;
Expand Down
4 changes: 2 additions & 2 deletions src/Metadata/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
namespace UIAwesome\Html\Metadata;

use UIAwesome\Html\Attribute\{
CanBeDisabled,
HasAs,
HasBlocking,
HasCrossorigin,
HasDisabled,
HasFetchpriority,
HasHreflang,
HasImagesizes,
Expand Down Expand Up @@ -43,10 +43,10 @@
*/
final class Link extends BaseVoid
{
use CanBeDisabled;
use HasAs;
use HasBlocking;
use HasCrossorigin;
use HasDisabled;
use HasFetchpriority;
use HasHref;
use HasHreflang;
Expand Down
Loading