- Bug #232: Render
loading
attribute beforesrc
(@samdark) - Enh #223: Make
$content
parameter optional inButton
factories (@FrankiFixx)
- Enh #230: Add backed enumeration value support to
Html::addCssClass()
,Tag::addClass()
andTag::class()
methods (@terabytesoftw)
- New #224: Add optional
wrap
parameter toBooleanInputTag::label()
method that controls whether to wrap input tag with label tag or place them aside (@vjik) - New #225: Add
CheckboxList::checkboxLabelWrap()
andRadioList::radioLabelWrap()
methods (@vjik) - New #227, #228: Add ability to wrap items in checkbox and radio lists by using methods
CheckboxList::checkboxWrapTag()
,CheckboxList::checkboxWrapAttributes()
,CheckboxList::checkboxWrapClass()
,
CheckboxList::addCheckboxWrapClass()
,RadioList::radioWrapTag()
,RadioList::radioWrapAttributes()
,RadioList::radioWrapClass()
andRadioList::addRadioWrapClass()
(@vjik) - Enh #220: Add
non-empty-string
psalm type ofHtml::generateId()
method result (@vjik) - Enh #220: Add
non-empty-string|null
psalm type ofTag::id()
method parameter (@vjik) - Enh #222: Bump minimal PHP version to 8.1 and refactor (@vjik)
- New #218: Add methods
Script::nonce()
andScript::getNonce()
for CSP (@Gerych1984, @vjik) - Enh #219: Add backed enumeration value support to
Select
tag (@vjik)
- Enh #212: Throw
InvalidArgumentException
inHtml::renderAttribute()
when attribute name is empty or contains forbidden symbols (@es-sayers, @vjik) - Enh #214: Add
Stringable
and array values support to textarea tag (@vjik) - Enh #217: Add backed enumeration value support to
CheckboxList
andRadioList
widgets (@vjik) - Bug #208: Fix output of
null
value attributes inHtml::renderTagAttributes()
(@es-sayers)
- New #192: Add class for tag
hr
and methodHtml::hr()
(@abdulmannans) - Enh #200: Add support for multiple elements in
aria-describedby
attribute (@arogachev)
- New #182: Add ability set attributes for label of items in widgets
CheckboxList
andRadioList
(@vjik)
- New #173: Add class for tag
html
and methodHtml::html()
(@dood-) - Chg #179: Replace constant
PHP_EOL
to"\n"
(@vjik) - Enh #180: Don't add "class" attribute in
Html::addCssClass()
if passed array contains null classes only (@vjik)
- New #174: Add
$attributes
parameter toHtml::ul()
andHtml::ol()
(@AmolKumarGupta) - Enh #176: Allow pass
null
as class toHtml::addCssClass()
, nulled classes will be ignored (@vjik) - Bug #171: Fix loss of keys for named class in
Html::addCssClass()
when class in passed options is a string (@vjik)
- New #137: Add
$attributes
parameter toHtml::img()
(@alien-art) - New #150: Add class for tag
small
and methodHtml::small()
(@dood-) - Enh #153: Add support of
yiisoft/arrays
version^3.0
(@vjik)
- New #139: Add
loading()
method toImg
tag (@jacobbudin) - Chg #135: Raise
yiisoft/arrays
version to^2.0
(@vjik) - Chg #136: Remove
Tag::class()
and renameTag::replaceClass()
toTag::class()
(@vjik) - Chg #140: Remove
Html::fileInput()
andInput::file()
, renameInput::fileControl()
toInput::file()
(@vjik) - Chg #141:
Tag
class: removeattributes()
method and renamereplaceAttributes()
toattributes()
(@vjik) - Chg #141:
Range
class: removeoutputAttributes()
method and renamereplaceOutputAttributes()
tooutputAttributes()
(@vjik) - Chg #141:
File
class: removeuncheckInputAttributes()
method and renamereplaceUncheckInputAttributes()
touncheckInputAttributes()
(@vjik) - Chg #141:
ButtonGroup
class: removebuttonAttributes()
method and renamereplaceButtonAttributes()
tobuttonAttributes()
(@vjik) - Chg #141:
CheckboxList
: removeindividualInputAttributes()
andcheckboxAttributes()
methods, renamereplaceIndividualInputAttributes()
toindividualInputAttributes()
andreplaceCheckboxAttributes()
tocheckboxAttributes()
(@vjik) - Chg #141:
RadioList
class: removeindividualInputAttributes()
andradioAttributes()
methods, renamereplaceIndividualInputAttributes()
toindividualInputAttributes()
andreplaceRadioAttributes()
toradioAttributes()
(@vjik) - Enh #133: Raise minimum PHP version to 8.0 and refactor code (@xepozz, @vjik)
- Enh #142: Make
NoEncodeStringableInterface
extend fromStringable
interface (@vjik) - Enh #143: Minor type hinting improvements (@vjik)
- Bug #143: Fix a typo in the message of exception that thrown on invalid buttons' data in
ButtonGroup
widget (@vjik)
- New #122: Add
Tag::addAttributes()
,ButtonGroup::addButtonAttributes()
,RadioList::addRadioAttributes()
,RadioList::addIndividualInputAttributes()
,CheckboxList::addCheckboxAttributes()
,CheckboxList::addIndividualInputAttributes()
,File::addUncheckInputAttributes()
,Range::addOutputAttributes()
and deprecateTag::attributes()
,ButtonGroup::buttonAttributes()
,RadioList::radioAttributes()
,RadioList::individualInputAttributes()
,CheckboxList::checkboxAttributes()
,CheckboxList::individualInputAttributes()
,File::uncheckInputAttributes()
,Range::outputAttributes()
(@vjik) - New #123: Add
Tag::addClass()
and deprecateTag::class()
(@vjik) - New #129: Add methods
enctypeApplicationXWwwFormUrlencoded()
,enctypeMultipartFormData()
andenctypeTextPlain()
toForm
tag class (@vjik)
- New #97: Add classes for tags
Body
,Article
,Section
,Nav
,Aside
,Hgroup
,Header
,Footer
,Address
and methodsHtml::body()
,Html::article()
,Html::section()
,Html::nav()
,Html::aside()
,Html::hgroup()
,Html::header()
,Html::footer()
,Html::address()
(@soodssr) - New #103: Add class for tag
Form
and methodHtml::form()
(@vjik) - New #105: Add specialized class
File
for an input tag with typefile
and methodsHtml::file()
andInput::fileControl()
(@vjik) - New #109: Add class for tag
Datalist
and methodHtml::datalist()
(@vjik) - New #109, #117: Add specialized class for input tag with type
Range
and methodsHtml::range()
,Input::range()
(@vjik) - New #111: Add widget
ButtonGroup
(@vjik) - New #111: Add method
Tag::unionAttributes()
that available for all tags (@vjik) - New #113: Add class for tag
Legend
, class for tagFieldset
, methodsHtml::legend()
andHtml::fieldset()
(@vjik) - Enh #102: Remove psalm type
HtmlAttributes
, too obsessive for package users (@vjik) - Enh #104: Add parameter
$attributes
to methodsHtml::input()
,Html::buttonInput()
,Html::submitInput()
andHtml::resetInput()
(@vjik) - Enh #106: Add option groups support to method
Select::optionsData()
(@vjik) - Enh #108: Add individual attributes of options and option groups support to method
Select::optionsData()
(@vjik) - Enh #115: Add methods
CheckboxList::name()
andRadioList::name()
(@vjik)
- New #95: Add class for tag
Title
and methodHtml::title()
(@vjik) - New #96: Add classes for heading tags
H1-6
and methodsHtml::h1()
,Html::h2()
,Html::h3()
,Html::h4()
,Html::h5()
,Html::h6()
(@vjik) - New #100: Add classes for tags
Picture
,Audio
,Video
,Source
andTrack
(@Gerych1984, @vjik)
- Enh #93: Add support for
yiisoft/arrays
version^2.0
(@vjik)
- New #89: Add method
nofollow()
to theA
tag (@soodssr) - New #90: Add method
itemsFromValues()
to widgetsRadioList
andCheckboxList
that set items with labels equal to values (@vjik) - New #92: A third optional argument
$attributes
containing tag attributes in terms of name-value pairs has been added to methodsHtml::textInput()
,Html::hiddenInput()
,Html::passwordInput()
,Html::fileInput()
,Html::radio()
,Html::checkbox()
,Html::textarea()
(@vjik)
- New #88: Add
Noscript
tag support and shortcuts forScript
tag via methodsScript::noscript()
andScript::noscriptTag()
(@vjik)
- New #74: Add classes for tags
Em
,Strong
,B
andI
(@vjik) - New #75: Add methods
as()
andpreload()
to theLink
tag (@vjik) - New #76: Add
NoEncode
class designed to wrap content that should not be encoded in HTML tags (@vjik) - New #78: Allow pass
null
argument to methodsTag::class()
,Tag::replaceClass()
,BooleanInputTag::label()
andBooleanInputTag::sideLabel()
(@vjik) - New #82: Add support individual attributes for inputs in
CheckboxList
andRadioList
widgets via methodsCheckboxList::individualInputAttributes()
,CheckboxList::replaceIndividualInputAttributes()
,RadioList::individualInputAttributes()
andRadioList::replaceIndividualInputAttributes()
(@vjik) - Chg #79: Do not add empty attribute value for empty strings (@vjik)
- Bug #83: Fix
Html::ATTRIBUTE_ORDER
values (@terabytesoftw)
- New #70: Add support
\Stringable
as content in methodsHtml::tag()
,Html::normalTag()
,Html::a()
,Html::label()
,Html::option()
,Html::div()
,Html::span()
,Html::p()
,Html::li()
,Html::caption()
,Html::td()
,Html::th()
(@vjik) - New #71: Add methods
Script::getContent()
andStyle::getContent()
(@vjik)
- New #65: Add classes for table tags
Table
,Caption
,Colgroup
,Col
,Thead
,Tbody
,Tfoot
,Tr
,Th
,Td
(@vjik) - New #69: Add class for tag
Br
(@vjik)
- Bug #68: Fix
TagContentTrait::content()
andTagContentTrait::addContent()
when used with named parameters (@vjik)
- Initial release.