Skip to content

Releases: yiisoft/html

Version 2.5.0

09 Jul 12:55
Compare
Choose a tag to compare
  • New #122: Add Tag::addAttributes(), ButtonGroup::addButtonAttributes(), RadioList::addRadioAttributes(),
    RadioList::addIndividualInputAttributes(), CheckboxList::addCheckboxAttributes(),
    CheckboxList::addIndividualInputAttributes(), File::addUncheckInputAttributes(), Range::addOutputAttributes() and
    deprecate Tag::attributes(), ButtonGroup::buttonAttributes(), RadioList::radioAttributes(),
    RadioList::individualInputAttributes(), CheckboxList::checkboxAttributes(),
    CheckboxList::individualInputAttributes(), File::uncheckInputAttributes(), Range::outputAttributes() (@vjik)
  • New #123: Add Tag::addClass() and deprecate Tag::class() (@vjik)
  • New #129: Add methods enctypeApplicationXWwwFormUrlencoded(), enctypeMultipartFormData() and enctypeTextPlain()
    to Form tag class (@vjik)

Version 2.4.0

19 May 08:05
2.4.0
b12c2e9
Compare
Choose a tag to compare
  • New #97: Add classes for tags Body, Article, Section, Nav, Aside, Hgroup, Header, Footer, Address
    and methods Html::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 method Html::form() (vjik)
  • New #105: Add specialized class File for an input tag with type file and methods Html::file() and
    Input::fileControl() (vjik)
  • New #109: Add class for tag Datalist and method Html::datalist() (vjik)
  • New #109, #117: Add specialized class for input tag with type Range and methods Html::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 tag Fieldset, methods Html::legend() and Html::fieldset() (vjik)
  • Enh #102: Remove psalm type HtmlAttributes, too obsessive for package users (vjik)
  • Enh #104: Add parameter $attributes to methods Html::input(), Html::buttonInput(), Html::submitInput()
    and Html::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() and RadioList::name() (vjik)