- Fix missing type for
initialize
hook
- Apply inheritance for
slots
,cssParts
andcssProperties
- Correctly remove
resolveInitializer
s from attributes when usinglitPlugin
- Adds support for
initialize
hook for plugins. This also fixes a initialization issue when previously using TS's typechecker in combination withoverrideModuleCreation
- Support
globalThis.customElements.define
- Added support for
@default
jsdoc
- Fixed a bug where an
@internal
field was being accessed, causing the analyzer to error
- Fixed bug that crashes analyzer when using
{@link foo}
in a JSDoc comment
- Add support for
readonly
which has just been standardized in the schema
- Collect side-effectul imports during
collectPhase
, e.g.:import 'foo';
- Add support for
@part
jsdoc
- Detect types from lits static properties
- Fix
@internal
bug on decorated Lit properties
- Fix incorrect release
- Fix attr decorator for Catalyst
- Add catalyst-major-2
- Reexport TS for programmatic usage/module generation
- Filter out internal manifests
- Add --quiet cli parameter
- Re-add
#!/usr/bin/env node
to bin file
- Allow inclusion of third party
custom-elements.json
s fromnode_modules
- If a package has an export map, add the
./customElements
key in the export map- This feature can be disabled with the
--packagejson
flag, but make sure to include the path to thecustom-elements.json
in yourpackage.json
so that tools can find it.
- This feature can be disabled with the
- Only remove unexported declarations after applying inheritance. Usecase as described in #145.
- Log analyzer version number to default CLI message. Via #144
- Added support for
@ignore
and@internal
jsdoc for events
- Pick up
@property
decorator in mixins as well
- Fix bug in mixin discovery
- Ignore default value for class fields that are arrow functions
- Events dont have privacy
- Fix parsing bug in functions with an expressionless return
- Allow passing config paths in CLI/config file
- Fix bug wrt to
.bind
calls in class constructors - Fix some bugs in resolving of variable assignments of class properties
- when assigned in constructor
- improve handling for imports from
.ts
files
- Fixed resolving type from PrefixUnaryExpressions
- Added support for comma separated properties (handles minified code)
- Improve check on
customElements.define
calls - handle optional properties in TS, e.g.
foo?: string
becomes typestring | undefined
- Avoid adding fields that are methods as
.bind
calls in class constructors
- Fix comment-parser dependency
- Add support for class expressions in
customElements.define
calls, e.g.:customElements.define('m-e', class extends HTMLElement{})
- Fixed bug in lit-plugin to avoid duplicate attributes
- Handle
@ignore
and@internal
jsdoc
- Merge together getter/setter pairs when possible
- Fix inheritance default/type bug
- Improved error logging
- Recognize
PrefixUnaryExpression
as beingnumber
when handling type inferrence
- Fixed bug to correctly apply default values on overridden inherited fields
- Added support for
reflect
andattribute
on class members, according to new addition to schema webcomponents/custom-elements-manifest#75
- Add support for non-primitive default values
- Resolve values/types of variables when being assigned to class fields
- Fixed misconception about classes that are default exported, a class that is a default export should still have the class's name in the declaration, and the export should be named
'default'
but have a reference to its declaration, which is the name of the class
- Removed logs from
getClassMemberDoc
- Added check to see if
outdir
exists, if not, create it - Fixed bug wrt globs