Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(compiler): attr to props for custom LWC elements (#102)
* Template compiler * Fixing broken tests * test failures * First pass * Using existing attribute to prop name map * Cleanup * Cleanup in class transform * Removing error when defining getter that matches html global attribute * Updaing observedAttributes validation * Adding integration test * Adding more validation * Removing unnecessary prop and attribute error messages * Fixing linting * Fixing unit tests * Removing data- attribtues from observed attributes callback * observedAttributes error in compiler * Adding proper prop name to ambigious warning * Updating invalid attribute errors * Pulling out attributeChangedCallback * Updated error boundary tests * new line * Adding html getters * tests * Adding createAttributeSetter method * Some test cleanup * dir tests * Wiring * Getting defs working * cleaning up some error messages for dom attributes/props * Props * reverting yarn lock * feat(engine): add support for AOM properties on ShadowRoot (#119) * Adding tests * All tests passing * Aria * Aria * Remove public prop check * Adding ownPropertyDescriptor check for wire, track and public methods * Updating compiler * Removing unused type * Fixing issue for ie11 id descriptor * Using reduce to build default configs * cleanup * Adding back assertPublicAttributeColission * Removing tabIndex' * Fixing polyfill * PR changes * ponyfilling the AOM props in dom.ts * consolidation of PR #102 * Remove attribute * Adding accessibility tests * AOM fixes in compiler. Integration tests * Cleaning up hostAttrs * Linting * Remove extra hostAttrs=0 line * Fix failing compiler test * typos and error messages to be more explicits * Adding minlength to props transform * Adding some missing attributes * removing accept-charset
- Loading branch information
1 parent
0514227
commit 02a1320
Showing
69 changed files
with
2,415 additions
and
715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.