All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.3.10 (2023-12-21)
1.3.9 (2023-10-18)
- only inits form association if element is form associated (a3e742b)
1.3.8 (2023-09-07)
- only run document observer if document exists (7bf53f5)
1.3.7 (2023-08-07)
1.3.6 (2023-08-07)
- remove :is in submit selector to prevent error in non-supporting browsers (f3cb74a)
1.3.5 (2023-05-04)
- form submit: change submit button selector for jsdom compatibility (ee1269d)
1.3.4 (2023-04-26)
- custom states will delay if removed in constructor (74d9ae2)
1.3.3 (2023-04-26)
- update src import paths (35ac8d3)
1.3.2 (2023-04-26)
- custom states will delay if added in constructor (f81ef5e)
1.3.1 (2023-04-24)
- respond to changes to the name attribute and naive jsdom tests (9af08e9)
1.3.0 (2023-04-14)
- works with SSR (bc68c1f)
1.2.6 (2023-03-06)
- fix typeof check for HTMLFormElement (27c0006)
1.2.5 (2023-03-06)
- only attempt to patch HTMLFormElement if it is defined (7dd1998)
1.2.4 (2023-03-03)
- update how polyfill patches customElements.define (c478d3e)
1.2.3 (2023-02-03)
- rollback use of ?? and ?. operators to maintain compatibility with legacy build systems, such as those used in storybook (#107) (3fad9fb)
1.2.2 (2023-01-26)
1.2.1 (2023-01-26)
- filtering native elements out of setFormValidity#nativeControlValidity (80442ed)
1.2.0 (2023-01-26)
1.1.22 (2023-01-26)
1.1.21 (2023-01-26)
- ensure polyfill generates attributes (ca506cd)
- polyfill respects setting disabled on fieldset elements (ca90197)
1.1.20 (2023-01-21)
- polyfill respects setting disabled on fieldset elements (ca90197)
1.1.19 (2023-01-15)
1.1.18 (2023-01-05)
- add missing aria attributes (01bc332)
1.1.17 (2022-12-09)
- click references in label click (89967dd), closes #85
- element internals in the LitSSR environment (5bc5e3e)
- fixes condition in mutation observer (3b8ece9)
1.1.16 (2022-10-31)
- click references in label click (89967dd), closes #85
- element internals in the LitSSR environment (5bc5e3e)
- fixes condition in mutation observer (3b8ece9)
1.1.15 (2022-10-18)
- element internals in the LitSSR environment (5bc5e3e)
1.1.14 (2022-09-22)
- fix feature detection (0775126)
1.1.13 (2022-09-15)
- fix nodes added in a tree in Safari (d72172c)
- issue with compiled target (d32d8b2)
- update types on CustomStateSet (5d5a7f9)
1.1.12 (2022-09-09)
- fix nodes added in a tree in Safari (d72172c)
- issue with compiled target (62f07a9)
- update types on CustomStateSet (0075ceb)
1.1.11 (2022-08-24)
- issue with compiled target (25bb106)
1.1.10 (2022-08-23)
- fix nodes added in a tree in Safari (d72172c)
1.1.9 (2022-08-18)
1.1.8 (2022-08-18)
- fix nodes added in a tree in Safari (980fa98)
1.1.7 (2022-08-17)
- don't append FormData element in reverse order (7f9cd4c)
1.1.6 (2022-07-15)
1.1.5 (2022-07-15)
- add aria-disabled to disabled elements (9eb22d2)
1.1.4 (2022-05-04)
- fix error message (f216022)
- fix form initialization (6cd1b6d)
- fix types for labels (574ff66)
- fix typo in variable name (d2552e7)
1.1.3 (2022-04-23)
- attach observers to this if window.ShadyDOM exists (4bb51bb)
1.1.2 (2022-03-24)
1.1.1 (2022-03-24)
1.1.0 (2022-03-24)
- removing most polyfilled features due to Firefox support, adding only CustomStateSet to Firefox (b4b0dee)
1.0.4 (2022-03-24)
- fixed setFormValidity (2f58bbb)
1.0.3 (2022-02-27)
- readOnly changes checkValidity (14b0698)
1.0.2 (2022-02-22)
- polyfill now respects willValidate for check and report validity (366c43c)
1.0.1 (2022-02-22)
1.0.0 (2022-02-21)
0.1.55 (2022-02-21)
0.1.54 (2022-01-27)
- fix global declaration (078ae5e)
0.1.53 (2022-01-26)
- polyfill: change attachInternals to not be a getter (b249f36)
0.1.52 (2022-01-18)
- findParentForm: fixed inconsistency with how Chrome finds forms outside of closed custom elements (ec7c394)
0.1.51 (2021-12-23)
- respect novalidate (ff33b37)
0.1.50 (2021-12-23)
- update form validity check algorithm to not call checkValidity on all changes (97c3567)
0.1.49 (2021-12-07)
0.1.48 (2021-12-06)
0.1.47 (2021-11-26)
- add ariaSetSize to AomMixin (c11fcae)
- correct typescript@^4.5.0 types (68d41a4)
- fix reconcileValidity spelling error (2d2ca18)
- update project to work with built-in ElementInternals types (392703b)
0.1.46 (2021-10-11)
- add role to aom (16a1f6c)
0.1.45 (2021-10-11)
0.1.44 (2021-09-01)
- add internals-disabled attribute and test (30b5b41)
0.1.43 (2021-07-30)
- polyfill manages onsubmit attributes set before form is initialized (0e333a2)
0.1.42 (2021-07-25)
- remove lit-specific code which is unneeded after a previous fix (d819cef)
0.1.41 (2021-07-25)
- ensure form has elements before trying to process data (65a51a2)
0.1.40 (2021-06-28)
- fix typing discrepency (4db7c23)
0.1.39 (2021-06-07)
0.1.38 (2021-06-07)
- add attribute filter to disabled observer (329a620)
0.1.37 (2021-05-27)
- add states to interface (f800756)
0.1.36 (2021-05-23)
- CustomStateSet: added to window and will throw illegal constructor by default (73821d8)
0.1.35 (2021-05-23)
- add CustomStateSet (2e4c1ad)
0.1.34 (2021-05-08)
- form-associated elements inserted from DocumentFragment now upgrade properly (cc6e690)
0.1.33 (2021-05-07)
- polyfill: polyfill now updates form checkValidity and reportValidity methods (9830aba)
0.1.32 (2021-05-01)
0.1.31 (2021-05-01)
0.1.30 (2021-04-06)
- fix types (7c90479)
0.1.29 (2021-03-16)
0.1.28 (2021-03-16)
- update types (c2e8fe3)
0.1.27 (2021-03-15)
- types: update types (060814d)
0.1.26 (2021-03-12)
0.1.25 (2021-03-12)
0.1.24 (2021-03-12)
0.1.23 (2021-03-12)
0.1.22 (2021-03-12)
0.1.21 (2021-03-12)
0.1.20 (2021-03-12)
0.1.19 (2021-03-12)
0.1.18 (2021-03-12)
0.1.17 (2021-03-12)
0.1.16 (2021-03-12)
0.1.15 (2021-03-12)
0.1.14 (2021-03-08)
0.1.13 (2021-03-08)
0.1.12 (2021-03-08)
0.1.11 (2021-03-08)
0.1.10 (2021-03-08)
- add hidden input for lit-element after render completes (0b93a0a)
0.1.9 (2021-02-23)
- add error messages (1d7c716)
- anchor element focus order on form submission reversed compared to Chrome (#24) (8346b2f)
- setValidity: Added support for setting ValidityState from a native input as Chrome allows this (#25) (dbb3c1a)
0.1.8 (2021-02-19)
0.1.7 (2021-02-11)
- polyfill accepts non-string values like Chrome (9ac948e)
0.1.6 (2021-02-10)
- formSubmitCallback: elements now report validity when a form is submitted (01b2499)
0.1.5 (2021-02-10)
- validation anchor: add validation anchor behavior (4cc4631)
0.1.4 (2021-02-09)
- add shadowRoot to internals (2477eb2)
0.1.3 (2021-02-09)
- setFormValue: Add support for FormData to allow settings multiple form values (a0b2890)
0.1.2 (2021-02-06)
- formAssociatedCallback: make sure internals are available when formAssociatedCallback is called (df9effa)
- setValidity: added missing anchor in method signature. (0290325)
0.1.1 (2020-11-18)
- remove console.log() (b7292b5)
0.1.0 (2020-10-15)
- update how input references are added to forms
- add hidden inputs back to polyfill (9898822)
0.0.23 (2020-10-14)
0.0.22 (2020-07-09)
0.0.21 (2020-06-02)
- polyfill: correct labels reference (9d326d1)
0.0.20 (2020-06-02)
0.0.19 (2020-06-02)
- polyfill: small improvements and refactor of tests (846f19d)
0.0.18 (2020-05-27)
- polyfill: now uses correct event names for validity events (a2fb8d6)
0.0.17 (2020-05-27)
- polyfill: setValidity no longer calls reportValidity (52d51b6)
0.0.16 (2020-05-19)
- polyfill: element's register self with forms under the prop [el.name] (c01d1c7)
0.0.15 (2020-04-28)
- polyfill: add basic aom support (a2696c2)
0.0.14 (2020-04-27)
0.0.13 (2020-04-27)
0.0.12 (2020-04-27)
- polyfill: fix typo (df0b2e6)
0.0.11 (2020-04-27)
0.0.10 (2020-04-27)
- remove hidden input: work to remove hidden input (bc1345f)
0.0.9 (2020-04-26)
- polyfill: change aria-descrbedby to aria-labelledby (3cc5cd3)
0.0.8 (2020-04-26)
- polyfill: add support for formAssociatedCallback (7988907)
0.0.7 (2020-04-16)
- polyfill: now fires invalid and valid events (1e05937)
0.0.6 (2020-04-14)
- polyfill: fix setValidity (ee18f41)
0.0.5 (2019-11-16)
- structure: Fix file structure (5f4cad4)
0.0.4 (2019-11-16)
0.0.3 (2019-11-15)
0.0.2 (2019-11-15)
- polyfill: Include built files in npm (ca45513)
- polyfill: Initial commit (385cb42)