Skip to content

Releases: webcomponents/custom-elements-manifest

v2.1.0

06 May 18:26
676c483
Compare
Choose a tag to compare

Added

  • Added readonly flag to PropertyLike, the common interface of variables, class fields, and function parameters. (#118)

  • Added support for describing the CSS Custom State of an element. (#128)

Fixed

  • Clarified that all attributes of a CustomElement must be listed in the the attributes array, even those reflected from a CustomElementField. (#126)

v2.0.0

06 May 18:07
e44378d
Compare
Choose a tag to compare

Added

  • Added an optional "syntax" field to CSSCustomProperty to describe the property syntax using CSS Properties and Values API's syntax strings. Fixes
    #68

  • Added CustomElementField that extends ClassField with the ability to describe associated attributes. Fixes #36 (#75)

  • Added a "deprecated" field to all declarations (functions and methods) (#89, #105)

  • Added a "rest" field to parameters. (#83)

  • Added an optional summary field to Function and Method return types. (#109)

Fixed

  • Fixed how custom element declarations extend class declarations. Previously CustomElementDeclaration didn't include CustomElement properties, and MixinDeclaration required some CustomElement properties. Added new CustomElementMixinDeclaration interface. Fixes #69 (#103)

  • Clarified that module paths should point to importable files in the package. (#104)