@aurodesignsystem/auro-formkit 2.0.0-beta.42 → 2.0.0-beta.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/NOTICE +2 -0
- package/README.md +116 -48
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -1
- package/components/bibtemplate/dist/headerVersion.d.ts +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +0 -1
- package/components/bibtemplate/dist/index.d.ts +0 -1
- package/components/bibtemplate/dist/index.js +8 -10
- package/components/bibtemplate/dist/registered.js +790 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts +0 -1
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +0 -1
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +38 -229
- package/components/checkbox/demo/index.html +49 -0
- package/components/checkbox/demo/index.min.js +38 -229
- package/components/checkbox/dist/auro-checkbox-group.d.ts +0 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +0 -1
- package/components/checkbox/dist/index.d.ts +0 -1
- package/components/checkbox/dist/index.js +38 -232
- package/components/checkbox/dist/registered.js +1032 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.js +1 -1
- package/components/combobox/demo/api.min.js +409 -2166
- package/components/combobox/demo/index.html +57 -0
- package/components/combobox/demo/index.js +1 -1
- package/components/combobox/demo/index.min.js +409 -2166
- package/components/combobox/dist/auro-combobox.d.ts +0 -1
- package/components/combobox/dist/bibtemplateVersion.d.ts +0 -1
- package/components/combobox/dist/dropdownVersion.d.ts +0 -1
- package/components/combobox/dist/index.d.ts +0 -1
- package/components/combobox/dist/index.js +452 -2211
- package/components/combobox/dist/inputVersion.d.ts +0 -1
- package/components/combobox/dist/registered.js +9716 -0
- package/components/combobox/dist/styles/style-css.d.ts +0 -1
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.js +1 -1
- package/components/counter/demo/api.min.js +128 -321
- package/components/counter/demo/index.html +53 -0
- package/components/counter/demo/index.min.js +128 -321
- package/components/counter/dist/auro-counter-button.d.ts +0 -1
- package/components/counter/dist/auro-counter-group.d.ts +0 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +0 -1
- package/components/counter/dist/auro-counter.d.ts +0 -1
- package/components/counter/dist/dropdownVersion.d.ts +0 -1
- package/components/counter/dist/iconVersion.d.ts +0 -1
- package/components/counter/dist/index.d.ts +0 -1
- package/components/counter/dist/index.js +128 -324
- package/components/counter/dist/registered.js +5158 -0
- package/components/counter/dist/styles/color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +0 -1
- package/components/counter/dist/styles/style-css.d.ts +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts +0 -1
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.js +1 -1
- package/components/datepicker/demo/api.min.js +338 -728
- package/components/datepicker/demo/index.html +57 -0
- package/components/datepicker/demo/index.min.js +338 -728
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar.d.ts +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +0 -1
- package/components/datepicker/dist/index.d.ts +0 -1
- package/components/datepicker/dist/index.js +338 -730
- package/components/datepicker/dist/inputVersion.d.ts +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts +0 -1
- package/components/datepicker/dist/registered.js +18935 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
- package/components/datepicker/dist/utilities.d.ts +0 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +0 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.js +1 -1
- package/components/dropdown/demo/api.min.js +76 -267
- package/components/dropdown/demo/index.html +53 -0
- package/components/dropdown/demo/index.min.js +76 -267
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +0 -1
- package/components/dropdown/dist/dropdownVersion.d.ts +0 -1
- package/components/dropdown/dist/iconVersion.d.ts +0 -1
- package/components/dropdown/dist/index.d.ts +0 -1
- package/components/dropdown/dist/index.js +76 -269
- package/components/dropdown/dist/registered.js +3167 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/api.js +1 -1
- package/components/form/demo/api.min.js +42 -5
- package/components/form/demo/index.html +48 -0
- package/components/form/demo/index.min.js +42 -5
- package/components/form/dist/auro-form.d.ts +16 -2
- package/components/form/dist/index.d.ts +0 -1
- package/components/form/dist/index.js +42 -7
- package/components/form/dist/registered.d.ts +1 -0
- package/components/form/dist/registered.js +632 -0
- package/components/form/dist/styles/style-css.d.ts +0 -1
- package/components/helptext/dist/auro-helptext.d.ts +0 -1
- package/components/helptext/dist/index.d.ts +0 -1
- package/components/helptext/dist/index.js +4 -6
- package/components/helptext/dist/registered.js +222 -0
- package/components/helptext/dist/styles/color-css.d.ts +0 -1
- package/components/helptext/dist/styles/style-css.d.ts +0 -1
- package/components/helptext/dist/styles/tokens-css.d.ts +0 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +57 -248
- package/components/input/demo/index.html +41 -0
- package/components/input/demo/index.min.js +57 -248
- package/components/input/dist/auro-input.d.ts +0 -1
- package/components/input/dist/base-input.d.ts +0 -1
- package/components/input/dist/buttonVersion.d.ts +0 -1
- package/components/input/dist/i18n.d.ts +0 -1
- package/components/input/dist/iconVersion.d.ts +0 -1
- package/components/input/dist/index.d.ts +0 -1
- package/components/input/dist/index.js +57 -250
- package/components/input/dist/registered.js +4254 -0
- package/components/input/dist/styles/borders-css.d.ts +0 -1
- package/components/input/dist/styles/color-css.d.ts +0 -1
- package/components/input/dist/styles/input-css.d.ts +0 -1
- package/components/input/dist/styles/label-css.d.ts +0 -1
- package/components/input/dist/styles/mixins-css.d.ts +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
- package/components/input/dist/styles/style-css.d.ts +0 -1
- package/components/input/dist/styles/tokens-css.d.ts +0 -1
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.js +1 -1
- package/components/menu/demo/api.min.js +9 -9
- package/components/menu/demo/index.html +50 -0
- package/components/menu/demo/index.min.js +9 -9
- package/components/menu/dist/auro-menu-utils.d.ts +0 -1
- package/components/menu/dist/auro-menu.d.ts +0 -1
- package/components/menu/dist/auro-menuoption.d.ts +0 -1
- package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → menu/dist/dropdownVersion.d.ts} +0 -1
- package/components/menu/dist/iconVersion.d.ts +0 -1
- package/components/menu/dist/index.d.ts +0 -1
- package/components/menu/dist/index.js +9 -12
- package/components/menu/dist/registered.js +1510 -0
- package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts +0 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +34 -225
- package/components/radio/demo/index.html +48 -0
- package/components/radio/demo/index.min.js +34 -225
- package/components/radio/dist/auro-radio-group.d.ts +0 -1
- package/components/radio/dist/auro-radio.d.ts +0 -1
- package/components/radio/dist/index.d.ts +0 -1
- package/components/radio/dist/index.js +34 -228
- package/components/radio/dist/registered.js +1149 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
- package/components/radio/dist/styles/color-css.d.ts +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
- package/components/radio/dist/styles/style-css.d.ts +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts +0 -1
- package/components/select/README.md +3 -3
- package/components/select/demo/api.js +1 -1
- package/components/select/demo/api.min.js +234 -1796
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.min.js +234 -1796
- package/components/select/dist/auro-select.d.ts +0 -1
- package/components/select/dist/dropdownVersion.d.ts +0 -1
- package/components/select/dist/index.d.ts +0 -1
- package/components/select/dist/index.js +206 -1770
- package/components/select/dist/registered.js +4367 -0
- package/components/select/dist/styles/color-css.d.ts +0 -1
- package/components/select/dist/styles/style-css.d.ts +0 -1
- package/components/select/dist/styles/tokens-css.d.ts +0 -1
- package/package.json +112 -44
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -3
- package/.turbo/cache/04e52430125e8954-meta.json +0 -1
- package/.turbo/cache/04e52430125e8954.tar.zst +0 -0
- package/.turbo/cache/0593ea8b5b3ed321-meta.json +0 -1
- package/.turbo/cache/0593ea8b5b3ed321.tar.zst +0 -0
- package/.turbo/cache/068b8eef3688b4e2-meta.json +0 -1
- package/.turbo/cache/068b8eef3688b4e2.tar.zst +0 -0
- package/.turbo/cache/06c6468593bc10ab-meta.json +0 -1
- package/.turbo/cache/06c6468593bc10ab.tar.zst +0 -0
- package/.turbo/cache/0c48a4d7b5aac928-meta.json +0 -1
- package/.turbo/cache/0c48a4d7b5aac928.tar.zst +0 -0
- package/.turbo/cache/1959dd19c8cca5b3-meta.json +0 -1
- package/.turbo/cache/1959dd19c8cca5b3.tar.zst +0 -0
- package/.turbo/cache/1c16e59f30927b15-meta.json +0 -1
- package/.turbo/cache/1c16e59f30927b15.tar.zst +0 -0
- package/.turbo/cache/29ac8c4304c43ba8-meta.json +0 -1
- package/.turbo/cache/29ac8c4304c43ba8.tar.zst +0 -0
- package/.turbo/cache/2b46337c7a6faa1f-meta.json +0 -1
- package/.turbo/cache/2b46337c7a6faa1f.tar.zst +0 -0
- package/.turbo/cache/33b12bddab905466-meta.json +0 -1
- package/.turbo/cache/33b12bddab905466.tar.zst +0 -0
- package/.turbo/cache/3e068f9ea52e35fd-meta.json +0 -1
- package/.turbo/cache/3e068f9ea52e35fd.tar.zst +0 -0
- package/.turbo/cache/3f6725da0ddcb57a-meta.json +0 -1
- package/.turbo/cache/3f6725da0ddcb57a.tar.zst +0 -0
- package/.turbo/cache/3fa3b39e63c49920-meta.json +0 -1
- package/.turbo/cache/3fa3b39e63c49920.tar.zst +0 -0
- package/.turbo/cache/3fbb4335136fe72b-meta.json +0 -1
- package/.turbo/cache/3fbb4335136fe72b.tar.zst +0 -0
- package/.turbo/cache/4d32cb975704a7bc-meta.json +0 -1
- package/.turbo/cache/4d32cb975704a7bc.tar.zst +0 -0
- package/.turbo/cache/504dc5478398bc23-meta.json +0 -1
- package/.turbo/cache/504dc5478398bc23.tar.zst +0 -0
- package/.turbo/cache/5736b4ba6916fd8d-meta.json +0 -1
- package/.turbo/cache/5736b4ba6916fd8d.tar.zst +0 -0
- package/.turbo/cache/5aae6a716a40ac0d-meta.json +0 -1
- package/.turbo/cache/5aae6a716a40ac0d.tar.zst +0 -0
- package/.turbo/cache/618b3075ce2d9a61-meta.json +0 -1
- package/.turbo/cache/618b3075ce2d9a61.tar.zst +0 -0
- package/.turbo/cache/67c13dfc4fd939fc-meta.json +0 -1
- package/.turbo/cache/67c13dfc4fd939fc.tar.zst +0 -0
- package/.turbo/cache/68fe65245fb34e68-meta.json +0 -1
- package/.turbo/cache/68fe65245fb34e68.tar.zst +0 -0
- package/.turbo/cache/6a25a3c0fc92f44d-meta.json +0 -1
- package/.turbo/cache/6a25a3c0fc92f44d.tar.zst +0 -0
- package/.turbo/cache/6cd6d76ac166da16-meta.json +0 -1
- package/.turbo/cache/6cd6d76ac166da16.tar.zst +0 -0
- package/.turbo/cache/71cd21072abc2990-meta.json +0 -1
- package/.turbo/cache/71cd21072abc2990.tar.zst +0 -0
- package/.turbo/cache/7b4e0f3ba43fedf0-meta.json +0 -1
- package/.turbo/cache/7b4e0f3ba43fedf0.tar.zst +0 -0
- package/.turbo/cache/7b9897d3439462f4-meta.json +0 -1
- package/.turbo/cache/7b9897d3439462f4.tar.zst +0 -0
- package/.turbo/cache/80a42a1ee43a7b11-meta.json +0 -1
- package/.turbo/cache/80a42a1ee43a7b11.tar.zst +0 -0
- package/.turbo/cache/80bda930b819e4e5-meta.json +0 -1
- package/.turbo/cache/80bda930b819e4e5.tar.zst +0 -0
- package/.turbo/cache/826ecc96865e3b2b-meta.json +0 -1
- package/.turbo/cache/826ecc96865e3b2b.tar.zst +0 -0
- package/.turbo/cache/8a66291a4385f56d-meta.json +0 -1
- package/.turbo/cache/8a66291a4385f56d.tar.zst +0 -0
- package/.turbo/cache/8b33dd53ac78ffcb-meta.json +0 -1
- package/.turbo/cache/8b33dd53ac78ffcb.tar.zst +0 -0
- package/.turbo/cache/922ac9eb482cf470-meta.json +0 -1
- package/.turbo/cache/922ac9eb482cf470.tar.zst +0 -0
- package/.turbo/cache/939cf3ccc40e9ab0-meta.json +0 -1
- package/.turbo/cache/939cf3ccc40e9ab0.tar.zst +0 -0
- package/.turbo/cache/997795fcad6346cf-meta.json +0 -1
- package/.turbo/cache/997795fcad6346cf.tar.zst +0 -0
- package/.turbo/cache/9d39077f59442e6d-meta.json +0 -1
- package/.turbo/cache/9d39077f59442e6d.tar.zst +0 -0
- package/.turbo/cache/9f33c2699df2acc2-meta.json +0 -1
- package/.turbo/cache/9f33c2699df2acc2.tar.zst +0 -0
- package/.turbo/cache/a95cdb7b2836627c-meta.json +0 -1
- package/.turbo/cache/a95cdb7b2836627c.tar.zst +0 -0
- package/.turbo/cache/aa7a71eea03e0057-meta.json +0 -1
- package/.turbo/cache/aa7a71eea03e0057.tar.zst +0 -0
- package/.turbo/cache/ac01a85fedf6d42a-meta.json +0 -1
- package/.turbo/cache/ac01a85fedf6d42a.tar.zst +0 -0
- package/.turbo/cache/b0b5371ee9e6fd7b-meta.json +0 -1
- package/.turbo/cache/b0b5371ee9e6fd7b.tar.zst +0 -0
- package/.turbo/cache/b21472a210e5d253-meta.json +0 -1
- package/.turbo/cache/b21472a210e5d253.tar.zst +0 -0
- package/.turbo/cache/ba6844de212fdfc5-meta.json +0 -1
- package/.turbo/cache/ba6844de212fdfc5.tar.zst +0 -0
- package/.turbo/cache/bb95b8c7cc483fe7-meta.json +0 -1
- package/.turbo/cache/bb95b8c7cc483fe7.tar.zst +0 -0
- package/.turbo/cache/be89ec729b2d7aa1-meta.json +0 -1
- package/.turbo/cache/be89ec729b2d7aa1.tar.zst +0 -0
- package/.turbo/cache/c0c0f7ab71b548fe-meta.json +0 -1
- package/.turbo/cache/c0c0f7ab71b548fe.tar.zst +0 -0
- package/.turbo/cache/c4b442aa3a612c5a-meta.json +0 -1
- package/.turbo/cache/c4b442aa3a612c5a.tar.zst +0 -0
- package/.turbo/cache/c833fd369811f0b3-meta.json +0 -1
- package/.turbo/cache/c833fd369811f0b3.tar.zst +0 -0
- package/.turbo/cache/cc1bb0ba75999fd5-meta.json +0 -1
- package/.turbo/cache/cc1bb0ba75999fd5.tar.zst +0 -0
- package/.turbo/cache/cc999fcae80b9892-meta.json +0 -1
- package/.turbo/cache/cc999fcae80b9892.tar.zst +0 -0
- package/.turbo/cache/cf739f73c4d81043-meta.json +0 -1
- package/.turbo/cache/cf739f73c4d81043.tar.zst +0 -0
- package/.turbo/cache/cf87272227a0d544-meta.json +0 -1
- package/.turbo/cache/cf87272227a0d544.tar.zst +0 -0
- package/.turbo/cache/d09e82feba2c48a3-meta.json +0 -1
- package/.turbo/cache/d09e82feba2c48a3.tar.zst +0 -0
- package/.turbo/cache/d264bb58130e3915-meta.json +0 -1
- package/.turbo/cache/d264bb58130e3915.tar.zst +0 -0
- package/.turbo/cache/d4fda50b9aa326d9-meta.json +0 -1
- package/.turbo/cache/d4fda50b9aa326d9.tar.zst +0 -0
- package/.turbo/cache/da0461631780f1e1-meta.json +0 -1
- package/.turbo/cache/da0461631780f1e1.tar.zst +0 -0
- package/.turbo/cache/dbdfe30495790f74-meta.json +0 -1
- package/.turbo/cache/dbdfe30495790f74.tar.zst +0 -0
- package/.turbo/cache/dea41fd4a13eb241-meta.json +0 -1
- package/.turbo/cache/dea41fd4a13eb241.tar.zst +0 -0
- package/.turbo/cache/e229b033acee0336-meta.json +0 -1
- package/.turbo/cache/e229b033acee0336.tar.zst +0 -0
- package/.turbo/cache/ed401f9a734e292c-meta.json +0 -1
- package/.turbo/cache/ed401f9a734e292c.tar.zst +0 -0
- package/.turbo/cache/efafac21cf262b2c-meta.json +0 -1
- package/.turbo/cache/efafac21cf262b2c.tar.zst +0 -0
- package/.turbo/cache/f20df212682f7978-meta.json +0 -1
- package/.turbo/cache/f20df212682f7978.tar.zst +0 -0
- package/.turbo/cache/f272ad05432871ac-meta.json +0 -1
- package/.turbo/cache/f272ad05432871ac.tar.zst +0 -0
- package/.vscode/settings.json +0 -3
- package/components/bibtemplate/.stylelintrc.json +0 -3
- package/components/bibtemplate/.turbo/turbo-build$colon$sass.log +0 -24
- package/components/bibtemplate/.turbo/turbo-build$colon$version.log +0 -10
- package/components/bibtemplate/.turbo/turbo-build.log +0 -49
- package/components/bibtemplate/.turbo/turbo-bundler.log +0 -7
- package/components/bibtemplate/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/bibtemplate/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/bibtemplate/.turbo/turbo-types.log +0 -4
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts.map +0 -1
- package/components/bibtemplate/dist/headerVersion.d.ts.map +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts.map +0 -1
- package/components/bibtemplate/dist/index.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/color-css.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/bibtemplate/node_modules/chalk/package.json +0 -83
- package/components/bibtemplate/node_modules/chalk/readme.md +0 -297
- package/components/bibtemplate/node_modules/chalk/source/index.d.ts +0 -325
- package/components/bibtemplate/node_modules/chalk/source/index.js +0 -225
- package/components/bibtemplate/node_modules/chalk/source/utilities.js +0 -33
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/bibtemplate/package.json +0 -60
- package/components/bibtemplate/src/auro-bibtemplate.js +0 -137
- package/components/bibtemplate/src/headerVersion.js +0 -1
- package/components/bibtemplate/src/iconVersion.js +0 -1
- package/components/bibtemplate/src/index.js +0 -6
- package/components/bibtemplate/src/styles/color-css.js +0 -2
- package/components/bibtemplate/src/styles/color.css +0 -1
- package/components/bibtemplate/src/styles/color.scss +0 -0
- package/components/bibtemplate/src/styles/style-css.js +0 -2
- package/components/bibtemplate/src/styles/style.css +0 -58
- package/components/bibtemplate/src/styles/style.scss +0 -62
- package/components/bibtemplate/src/styles/tokens-css.js +0 -2
- package/components/bibtemplate/src/styles/tokens.css +0 -3
- package/components/bibtemplate/src/styles/tokens.scss +0 -5
- package/components/checkbox/.stylelintrc.json +0 -3
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
- package/components/checkbox/.turbo/turbo-build.log +0 -184
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
- package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
- package/components/checkbox/dist/index.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/checkbox/node_modules/chalk/package.json +0 -83
- package/components/checkbox/node_modules/chalk/readme.md +0 -325
- package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
- package/components/checkbox/node_modules/chalk/source/index.js +0 -225
- package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/checkbox/package.json +0 -69
- package/components/checkbox/src/auro-checkbox-group.js +0 -370
- package/components/checkbox/src/auro-checkbox.js +0 -214
- package/components/checkbox/src/index.js +0 -8
- package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
- package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
- package/components/checkbox/src/styles/auro-checkbox.css +0 -123
- package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
- package/components/checkbox/src/styles/color-css.js +0 -2
- package/components/checkbox/src/styles/color.css +0 -84
- package/components/checkbox/src/styles/color.scss +0 -118
- package/components/checkbox/src/styles/colorGroup-css.js +0 -2
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -16
- package/components/checkbox/src/styles/tokens-css.js +0 -2
- package/components/checkbox/src/styles/tokens.css +0 -8
- package/components/checkbox/src/styles/tokens.scss +0 -10
- package/components/combobox/.stylelintrc.json +0 -3
- package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
- package/components/combobox/.turbo/turbo-build.log +0 -167
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
- package/components/combobox/dist/bibtemplateVersion.d.ts.map +0 -1
- package/components/combobox/dist/dropdownVersion.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts +0 -3
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/combobox/dist/index.d.ts.map +0 -1
- package/components/combobox/dist/inputVersion.d.ts.map +0 -1
- package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +0 -1
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +0 -863
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +0 -109
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +0 -86
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +0 -45
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +0 -38
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +0 -38
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +0 -110
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +0 -106
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +0 -8
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +0 -813
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +0 -134
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +0 -39
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +0 -30
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +0 -46
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +0 -155
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +0 -25
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +0 -267
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +0 -36
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +0 -50
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +0 -395
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +0 -255
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +0 -663
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +0 -31
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +0 -22
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +0 -19
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +0 -18
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +0 -32
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +0 -26
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +0 -59
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +0 -54
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +0 -37
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +0 -5
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +0 -18
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +0 -123
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +0 -16
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +0 -42
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +0 -142
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +0 -151
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +0 -188
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +0 -75
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +0 -176
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +0 -249
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +0 -49
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +0 -20
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +0 -26
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +0 -29
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +0 -76
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +0 -86
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +0 -9
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +0 -75
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +0 -96
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +0 -20
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +0 -13
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +0 -293
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +0 -1377
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +0 -1370
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +0 -1
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +0 -89
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +0 -115
- package/components/combobox/node_modules/chalk/package.json +0 -83
- package/components/combobox/node_modules/chalk/readme.md +0 -297
- package/components/combobox/node_modules/chalk/source/index.d.ts +0 -325
- package/components/combobox/node_modules/chalk/source/index.js +0 -225
- package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/combobox/package.json +0 -67
- package/components/combobox/src/auro-combobox.js +0 -925
- package/components/combobox/src/bibtemplateVersion.js +0 -1
- package/components/combobox/src/dropdownVersion.js +0 -1
- package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
- package/components/combobox/src/index.js +0 -6
- package/components/combobox/src/inputVersion.js +0 -1
- package/components/combobox/src/styles/style-css.js +0 -2
- package/components/combobox/src/styles/style.css +0 -56
- package/components/combobox/src/styles/style.scss +0 -38
- package/components/counter/.stylelintrc.json +0 -3
- package/components/counter/.turbo/turbo-build$colon$sass.log +0 -269
- package/components/counter/.turbo/turbo-build$colon$version.log +0 -10
- package/components/counter/.turbo/turbo-build.log +0 -402
- package/components/counter/.turbo/turbo-bundler.log +0 -22
- package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/counter/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/counter/.turbo/turbo-types.log +0 -4
- package/components/counter/dist/auro-counter-button.d.ts.map +0 -1
- package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +0 -1
- package/components/counter/dist/auro-counter.d.ts.map +0 -1
- package/components/counter/dist/dropdownVersion.d.ts.map +0 -1
- package/components/counter/dist/iconVersion.d.ts.map +0 -1
- package/components/counter/dist/index.d.ts.map +0 -1
- package/components/counter/dist/styles/color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +0 -1
- package/components/counter/dist/styles/style-css.d.ts.map +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/counter/node_modules/chalk/package.json +0 -83
- package/components/counter/node_modules/chalk/readme.md +0 -325
- package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
- package/components/counter/node_modules/chalk/source/index.js +0 -225
- package/components/counter/node_modules/chalk/source/utilities.js +0 -33
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/counter/package.json +0 -59
- package/components/counter/src/auro-counter-button.js +0 -42
- package/components/counter/src/auro-counter-group.js +0 -333
- package/components/counter/src/auro-counter-wrapper.js +0 -54
- package/components/counter/src/auro-counter.js +0 -342
- package/components/counter/src/dropdownVersion.js +0 -1
- package/components/counter/src/iconVersion.js +0 -1
- package/components/counter/src/index.js +0 -8
- package/components/counter/src/styles/color-css.js +0 -2
- package/components/counter/src/styles/color.css +0 -29
- package/components/counter/src/styles/color.scss +0 -49
- package/components/counter/src/styles/counter-button-color-css.js +0 -2
- package/components/counter/src/styles/counter-button-color.css +0 -11
- package/components/counter/src/styles/counter-button-color.scss +0 -23
- package/components/counter/src/styles/counter-button-css.js +0 -2
- package/components/counter/src/styles/counter-button-tokens-css.js +0 -2
- package/components/counter/src/styles/counter-button-tokens.css +0 -6
- package/components/counter/src/styles/counter-button-tokens.scss +0 -8
- package/components/counter/src/styles/counter-button.css +0 -186
- package/components/counter/src/styles/counter-button.scss +0 -84
- package/components/counter/src/styles/counter-group-css.js +0 -2
- package/components/counter/src/styles/counter-group.css +0 -18
- package/components/counter/src/styles/counter-group.scss +0 -32
- package/components/counter/src/styles/counter-wrapper-color-css.js +0 -2
- package/components/counter/src/styles/counter-wrapper-color.css +0 -4
- package/components/counter/src/styles/counter-wrapper-color.scss +0 -19
- package/components/counter/src/styles/counter-wrapper-css.js +0 -2
- package/components/counter/src/styles/counter-wrapper.css +0 -15
- package/components/counter/src/styles/counter-wrapper.scss +0 -29
- package/components/counter/src/styles/style-css.js +0 -2
- package/components/counter/src/styles/style.css +0 -53
- package/components/counter/src/styles/style.scss +0 -73
- package/components/counter/src/styles/tokens-css.js +0 -2
- package/components/counter/src/styles/tokens.css +0 -12
- package/components/counter/src/styles/tokens.scss +0 -25
- package/components/datepicker/.stylelintrc.json +0 -3
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
- package/components/datepicker/.turbo/turbo-build.log +0 -492
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
- package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts +0 -3
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts +0 -3
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/datepicker/dist/index.d.ts.map +0 -1
- package/components/datepicker/dist/inputVersion.d.ts.map +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/datepicker/dist/utilities.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
- package/components/datepicker/node_modules/chalk/package.json +0 -83
- package/components/datepicker/node_modules/chalk/readme.md +0 -325
- package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
- package/components/datepicker/node_modules/chalk/source/index.js +0 -225
- package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
- package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
- package/components/datepicker/package.json +0 -79
- package/components/datepicker/src/auro-calendar-cell.js +0 -381
- package/components/datepicker/src/auro-calendar-month.js +0 -128
- package/components/datepicker/src/auro-calendar.js +0 -329
- package/components/datepicker/src/auro-datepicker.js +0 -1040
- package/components/datepicker/src/dropdownVersion.js +0 -1
- package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
- package/components/datepicker/src/index.js +0 -6
- package/components/datepicker/src/inputVersion.js +0 -1
- package/components/datepicker/src/popoverVersion.js +0 -1
- package/components/datepicker/src/styles/color-calendar-css.js +0 -2
- package/components/datepicker/src/styles/color-calendar.css +0 -35
- package/components/datepicker/src/styles/color-calendar.scss +0 -51
- package/components/datepicker/src/styles/color-cell-css.js +0 -2
- package/components/datepicker/src/styles/color-cell.css +0 -45
- package/components/datepicker/src/styles/color-cell.scss +0 -73
- package/components/datepicker/src/styles/color-css.js +0 -2
- package/components/datepicker/src/styles/color-month-css.js +0 -2
- package/components/datepicker/src/styles/color-month.css +0 -34
- package/components/datepicker/src/styles/color-month.scss +0 -27
- package/components/datepicker/src/styles/color.css +0 -43
- package/components/datepicker/src/styles/color.scss +0 -30
- package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
- package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
- package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
- package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
- package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
- package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
- package/components/datepicker/src/styles/style-css.js +0 -2
- package/components/datepicker/src/styles/style.css +0 -131
- package/components/datepicker/src/styles/style.scss +0 -139
- package/components/datepicker/src/styles/tokens-css.js +0 -2
- package/components/datepicker/src/styles/tokens.css +0 -22
- package/components/datepicker/src/styles/tokens.scss +0 -25
- package/components/datepicker/src/utilities.js +0 -87
- package/components/datepicker/src/utilitiesCalendar.js +0 -138
- package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
- package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
- package/components/dropdown/.stylelintrc.json +0 -3
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
- package/components/dropdown/.turbo/turbo-build.log +0 -208
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
- package/components/dropdown/dist/dropdownVersion.d.ts.map +0 -1
- package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
- package/components/dropdown/dist/index.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/dropdown/node_modules/chalk/package.json +0 -83
- package/components/dropdown/node_modules/chalk/readme.md +0 -325
- package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
- package/components/dropdown/node_modules/chalk/source/index.js +0 -225
- package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/dropdown/package.json +0 -58
- package/components/dropdown/src/auro-dropdown.js +0 -586
- package/components/dropdown/src/auro-dropdownBib.js +0 -128
- package/components/dropdown/src/dropdownVersion.js +0 -1
- package/components/dropdown/src/iconVersion.js +0 -1
- package/components/dropdown/src/index.js +0 -6
- package/components/dropdown/src/styles/bibColors-css.js +0 -2
- package/components/dropdown/src/styles/bibColors.css +0 -6
- package/components/dropdown/src/styles/bibColors.scss +0 -18
- package/components/dropdown/src/styles/bibStyles-css.js +0 -2
- package/components/dropdown/src/styles/bibStyles.css +0 -44
- package/components/dropdown/src/styles/bibStyles.scss +0 -61
- package/components/dropdown/src/styles/color-css.js +0 -2
- package/components/dropdown/src/styles/color.css +0 -56
- package/components/dropdown/src/styles/color.scss +0 -76
- package/components/dropdown/src/styles/style-css.js +0 -2
- package/components/dropdown/src/styles/style.css +0 -91
- package/components/dropdown/src/styles/style.scss +0 -122
- package/components/dropdown/src/styles/tokens-css.js +0 -2
- package/components/dropdown/src/styles/tokens.css +0 -13
- package/components/dropdown/src/styles/tokens.scss +0 -15
- package/components/form/.stylelintrc.json +0 -3
- package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
- package/components/form/.turbo/turbo-build$colon$version.log +0 -4
- package/components/form/.turbo/turbo-build.log +0 -112
- package/components/form/.turbo/turbo-bundler.log +0 -13
- package/components/form/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/form/.turbo/turbo-types.log +0 -4
- package/components/form/dist/auro-form.d.ts.map +0 -1
- package/components/form/dist/index.d.ts.map +0 -1
- package/components/form/dist/styles/style-css.d.ts.map +0 -1
- package/components/form/node_modules/chalk/package.json +0 -83
- package/components/form/node_modules/chalk/readme.md +0 -325
- package/components/form/node_modules/chalk/source/index.d.ts +0 -320
- package/components/form/node_modules/chalk/source/index.js +0 -225
- package/components/form/node_modules/chalk/source/utilities.js +0 -33
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/form/package.json +0 -74
- package/components/form/src/auro-form.js +0 -506
- package/components/form/src/index.js +0 -6
- package/components/form/src/styles/style-css.js +0 -2
- package/components/form/src/styles/style.css +0 -36
- package/components/form/src/styles/style.scss +0 -37
- package/components/helptext/.stylelintrc.json +0 -3
- package/components/helptext/.turbo/turbo-build$colon$sass.log +0 -34
- package/components/helptext/.turbo/turbo-build.log +0 -49
- package/components/helptext/.turbo/turbo-bundler.log +0 -7
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/helptext/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/helptext/.turbo/turbo-types.log +0 -4
- package/components/helptext/dist/auro-helptext.d.ts.map +0 -1
- package/components/helptext/dist/index.d.ts.map +0 -1
- package/components/helptext/dist/styles/color-css.d.ts.map +0 -1
- package/components/helptext/dist/styles/style-css.d.ts.map +0 -1
- package/components/helptext/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/helptext/node_modules/chalk/package.json +0 -83
- package/components/helptext/node_modules/chalk/readme.md +0 -297
- package/components/helptext/node_modules/chalk/source/index.d.ts +0 -325
- package/components/helptext/node_modules/chalk/source/index.js +0 -225
- package/components/helptext/node_modules/chalk/source/utilities.js +0 -33
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/helptext/package.json +0 -57
- package/components/helptext/src/auro-helptext.js +0 -127
- package/components/helptext/src/index.js +0 -6
- package/components/helptext/src/styles/color-css.js +0 -2
- package/components/helptext/src/styles/color.css +0 -8
- package/components/helptext/src/styles/color.scss +0 -11
- package/components/helptext/src/styles/style-css.js +0 -2
- package/components/helptext/src/styles/style.css +0 -23
- package/components/helptext/src/styles/style.scss +0 -33
- package/components/helptext/src/styles/tokens-css.js +0 -2
- package/components/helptext/src/styles/tokens.css +0 -3
- package/components/helptext/src/styles/tokens.scss +0 -5
- package/components/input/.stylelintrc.json +0 -3
- package/components/input/.turbo/turbo-build$colon$sass.log +0 -188
- package/components/input/.turbo/turbo-build.log +0 -340
- package/components/input/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -52
- package/components/input/dist/auro-input.d.ts.map +0 -1
- package/components/input/dist/base-input.d.ts.map +0 -1
- package/components/input/dist/buttonVersion.d.ts.map +0 -1
- package/components/input/dist/i18n.d.ts.map +0 -1
- package/components/input/dist/iconVersion.d.ts.map +0 -1
- package/components/input/dist/index.d.ts.map +0 -1
- package/components/input/dist/styles/borders-css.d.ts.map +0 -1
- package/components/input/dist/styles/color-css.d.ts.map +0 -1
- package/components/input/dist/styles/input-css.d.ts.map +0 -1
- package/components/input/dist/styles/label-css.d.ts.map +0 -1
- package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
- package/components/input/dist/styles/style-css.d.ts.map +0 -1
- package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/input/node_modules/chalk/package.json +0 -83
- package/components/input/node_modules/chalk/readme.md +0 -325
- package/components/input/node_modules/chalk/source/index.d.ts +0 -320
- package/components/input/node_modules/chalk/source/index.js +0 -225
- package/components/input/node_modules/chalk/source/utilities.js +0 -33
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/input/package.json +0 -76
- package/components/input/src/auro-input.js +0 -249
- package/components/input/src/base-input.js +0 -1103
- package/components/input/src/buttonVersion.js +0 -1
- package/components/input/src/i18n.js +0 -102
- package/components/input/src/iconVersion.js +0 -1
- package/components/input/src/index.js +0 -6
- package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
- package/components/input/src/styles/borders-css.js +0 -2
- package/components/input/src/styles/borders.css +0 -35
- package/components/input/src/styles/borders.scss +0 -49
- package/components/input/src/styles/color-css.js +0 -2
- package/components/input/src/styles/color.css +0 -57
- package/components/input/src/styles/color.scss +0 -84
- package/components/input/src/styles/input-css.js +0 -2
- package/components/input/src/styles/input.css +0 -35
- package/components/input/src/styles/input.scss +0 -53
- package/components/input/src/styles/label-css.js +0 -2
- package/components/input/src/styles/label.css +0 -45
- package/components/input/src/styles/label.scss +0 -71
- package/components/input/src/styles/mixins-css.js +0 -2
- package/components/input/src/styles/mixins.css +0 -1
- package/components/input/src/styles/mixins.scss +0 -45
- package/components/input/src/styles/notificationIcons-css.js +0 -2
- package/components/input/src/styles/notificationIcons.css +0 -84
- package/components/input/src/styles/notificationIcons.scss +0 -109
- package/components/input/src/styles/style-css.js +0 -2
- package/components/input/src/styles/style.css +0 -283
- package/components/input/src/styles/style.scss +0 -52
- package/components/input/src/styles/tokens-css.js +0 -2
- package/components/input/src/styles/tokens.css +0 -8
- package/components/input/src/styles/tokens.scss +0 -10
- package/components/menu/.stylelintrc.json +0 -3
- package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
- package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
- package/components/menu/.turbo/turbo-build.log +0 -185
- package/components/menu/.turbo/turbo-bundler.log +0 -13
- package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/menu/.turbo/turbo-types.log +0 -4
- package/components/menu/dist/auro-menu-utils.d.ts.map +0 -1
- package/components/menu/dist/auro-menu.d.ts.map +0 -1
- package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
- package/components/menu/dist/iconVersion.d.ts.map +0 -1
- package/components/menu/dist/index.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/menu/node_modules/chalk/package.json +0 -83
- package/components/menu/node_modules/chalk/readme.md +0 -325
- package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
- package/components/menu/node_modules/chalk/source/index.js +0 -225
- package/components/menu/node_modules/chalk/source/utilities.js +0 -33
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
- package/components/menu/node_modules/mime/Mime.js +0 -97
- package/components/menu/node_modules/mime/README.md +0 -187
- package/components/menu/node_modules/mime/cli.js +0 -46
- package/components/menu/node_modules/mime/index.js +0 -4
- package/components/menu/node_modules/mime/lite.js +0 -4
- package/components/menu/node_modules/mime/package.json +0 -52
- package/components/menu/node_modules/mime/types/other.js +0 -1
- package/components/menu/node_modules/mime/types/standard.js +0 -1
- package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/menu/package.json +0 -70
- package/components/menu/src/auro-menu-utils.js +0 -131
- package/components/menu/src/auro-menu.js +0 -728
- package/components/menu/src/auro-menuoption.js +0 -147
- package/components/menu/src/iconVersion.js +0 -1
- package/components/menu/src/index.js +0 -15
- package/components/menu/src/styles/color-menu-css.js +0 -2
- package/components/menu/src/styles/color-menu.css +0 -4
- package/components/menu/src/styles/color-menu.scss +0 -12
- package/components/menu/src/styles/color-menuoption-css.js +0 -2
- package/components/menu/src/styles/color-menuoption.css +0 -26
- package/components/menu/src/styles/color-menuoption.scss +0 -37
- package/components/menu/src/styles/style-menu-css.js +0 -2
- package/components/menu/src/styles/style-menu.css +0 -2061
- package/components/menu/src/styles/style-menu.scss +0 -80
- package/components/menu/src/styles/style-menuoption-css.js +0 -2
- package/components/menu/src/styles/style-menuoption.css +0 -45
- package/components/menu/src/styles/style-menuoption.scss +0 -66
- package/components/menu/src/styles/tokens-css.js +0 -2
- package/components/menu/src/styles/tokens.css +0 -6
- package/components/menu/src/styles/tokens.scss +0 -6
- package/components/radio/.stylelintrc.json +0 -3
- package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
- package/components/radio/.turbo/turbo-build.log +0 -215
- package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
- package/components/radio/dist/auro-radio.d.ts.map +0 -1
- package/components/radio/dist/index.d.ts.map +0 -1
- package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
- package/components/radio/dist/styles/color-css.d.ts.map +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
- package/components/radio/dist/styles/style-css.d.ts.map +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/radio/node_modules/chalk/package.json +0 -83
- package/components/radio/node_modules/chalk/readme.md +0 -325
- package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
- package/components/radio/node_modules/chalk/source/index.js +0 -225
- package/components/radio/node_modules/chalk/source/utilities.js +0 -33
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/radio/package.json +0 -69
- package/components/radio/src/auro-radio-group.js +0 -451
- package/components/radio/src/auro-radio.js +0 -256
- package/components/radio/src/index.js +0 -8
- package/components/radio/src/styles/auro-radio-group-css.js +0 -2
- package/components/radio/src/styles/auro-radio-group.css +0 -23
- package/components/radio/src/styles/auro-radio-group.scss +0 -36
- package/components/radio/src/styles/color-css.js +0 -2
- package/components/radio/src/styles/color.css +0 -45
- package/components/radio/src/styles/color.scss +0 -56
- package/components/radio/src/styles/groupColor-css.js +0 -2
- package/components/radio/src/styles/groupColor.css +0 -13
- package/components/radio/src/styles/groupColor.scss +0 -25
- package/components/radio/src/styles/style-css.js +0 -2
- package/components/radio/src/styles/style.css +0 -113
- package/components/radio/src/styles/style.scss +0 -99
- package/components/radio/src/styles/tokens-css.js +0 -2
- package/components/radio/src/styles/tokens.css +0 -8
- package/components/radio/src/styles/tokens.scss +0 -11
- package/components/select/.stylelintrc.json +0 -3
- package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
- package/components/select/.turbo/turbo-build.log +0 -242
- package/components/select/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/select/dist/auro-select.d.ts.map +0 -1
- package/components/select/dist/dropdownVersion.d.ts.map +0 -1
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts +0 -3
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/select/dist/index.d.ts.map +0 -1
- package/components/select/dist/styles/color-css.d.ts.map +0 -1
- package/components/select/dist/styles/style-css.d.ts.map +0 -1
- package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/select/node_modules/chalk/package.json +0 -83
- package/components/select/node_modules/chalk/readme.md +0 -325
- package/components/select/node_modules/chalk/source/index.d.ts +0 -320
- package/components/select/node_modules/chalk/source/index.js +0 -225
- package/components/select/node_modules/chalk/source/utilities.js +0 -33
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/select/node_modules/mime/CHANGELOG.md +0 -296
- package/components/select/node_modules/mime/Mime.js +0 -97
- package/components/select/node_modules/mime/README.md +0 -187
- package/components/select/node_modules/mime/cli.js +0 -46
- package/components/select/node_modules/mime/index.js +0 -4
- package/components/select/node_modules/mime/lite.js +0 -4
- package/components/select/node_modules/mime/package.json +0 -52
- package/components/select/node_modules/mime/types/other.js +0 -1
- package/components/select/node_modules/mime/types/standard.js +0 -1
- package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/select/package.json +0 -70
- package/components/select/packageScripts/postinstall.mjs +0 -28
- package/components/select/src/auro-select.js +0 -604
- package/components/select/src/dropdownVersion.js +0 -1
- package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/select/src/index.js +0 -6
- package/components/select/src/styles/color-css.js +0 -2
- package/components/select/src/styles/color.css +0 -63
- package/components/select/src/styles/color.scss +0 -33
- package/components/select/src/styles/style-css.js +0 -2
- package/components/select/src/styles/style.css +0 -105
- package/components/select/src/styles/style.scss +0 -83
- package/components/select/src/styles/tokens-css.js +0 -2
- package/components/select/src/styles/tokens.css +0 -3
- package/components/select/src/styles/tokens.scss +0 -5
- package/packages/build-tools/package.json +0 -15
- package/packages/build-tools/src/docProcessor.mjs +0 -133
- package/packages/build-tools/src/formVersionWriter.mjs +0 -75
- package/packages/build-tools/src/index.js +0 -1
- package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
- package/packages/form-validation/package.json +0 -12
- package/packages/form-validation/src/index.js +0 -1
- package/packages/form-validation/src/validation.js +0 -318
- package/packages/typescript/base.json +0 -19
- package/packages/typescript/package.json +0 -20
- package/packages/utils/package.json +0 -12
- package/packages/utils/src/iconUtil.js +0 -25
- package/packages/utils/src/index.js +0 -1
- package/turbo.json +0 -134
|
@@ -1,1103 +0,0 @@
|
|
|
1
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
|
-
// See LICENSE in the project root for license information.
|
|
3
|
-
|
|
4
|
-
// ---------------------------------------------------------------------
|
|
5
|
-
|
|
6
|
-
/* eslint-disable max-lines, no-magic-numbers, dot-location */
|
|
7
|
-
/* eslint no-magic-numbers: ["error", { "ignore": [0] }] */
|
|
8
|
-
|
|
9
|
-
import { LitElement, css } from "lit";
|
|
10
|
-
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
11
|
-
|
|
12
|
-
import styleCss from "./styles/style-css.js";
|
|
13
|
-
import colorCss from "./styles/color-css.js";
|
|
14
|
-
import tokensCss from "./styles/tokens-css.js";
|
|
15
|
-
|
|
16
|
-
import Cleave from 'cleave.js';
|
|
17
|
-
import i18n, {notifyOnLangChange, stopNotifyingOnLangChange} from './i18n.js';
|
|
18
|
-
|
|
19
|
-
import AuroFormValidation from '@auro-formkit/form-validation';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Auro-input provides users a way to enter data into a text field.
|
|
23
|
-
*
|
|
24
|
-
* @attr {Boolean} bordered - Applies bordered UI variant.
|
|
25
|
-
* @attr {Boolean} borderless - Applies borderless UI variant.
|
|
26
|
-
*
|
|
27
|
-
* @slot helptext - Sets the help text displayed below the input.
|
|
28
|
-
* @slot label - Sets the label text for the input.
|
|
29
|
-
*
|
|
30
|
-
* @csspart wrapper - Use for customizing the style of the root element
|
|
31
|
-
* @csspart label - Use for customizing the style of the label element
|
|
32
|
-
* @csspart helpText - Use for customizing the style of the helpText element
|
|
33
|
-
* @csspart accentIcon - Use for customizing the style of the accentIcon element (e.g. credit card icon, calendar icon)
|
|
34
|
-
* @csspart iconContainer - Use for customizing the style of the iconContainer (e.g. X icon for clearing input value)
|
|
35
|
-
* @event input - Event fires when the value of an `auro-input` has been changed.
|
|
36
|
-
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` value has changed.
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
export default class BaseInput extends LitElement {
|
|
40
|
-
|
|
41
|
-
constructor() {
|
|
42
|
-
super();
|
|
43
|
-
|
|
44
|
-
this.icon = false;
|
|
45
|
-
this.disabled = false;
|
|
46
|
-
this.required = false;
|
|
47
|
-
this.noValidate = false;
|
|
48
|
-
this.max = undefined;
|
|
49
|
-
this.min = undefined;
|
|
50
|
-
this.maxLength = undefined;
|
|
51
|
-
this.minLength = undefined;
|
|
52
|
-
this.activeLabel = false;
|
|
53
|
-
this.setCustomValidityForType = undefined;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Internal Defaults.
|
|
58
|
-
* @private
|
|
59
|
-
* @returns {void}
|
|
60
|
-
*/
|
|
61
|
-
privateDefaults() {
|
|
62
|
-
this.validation = new AuroFormValidation();
|
|
63
|
-
this.inputIconName = undefined;
|
|
64
|
-
this.showPassword = false;
|
|
65
|
-
this.validationCCLength = undefined;
|
|
66
|
-
this.hasValue = false;
|
|
67
|
-
this.label = 'Input label is undefined';
|
|
68
|
-
|
|
69
|
-
this.allowedInputTypes = [
|
|
70
|
-
"text",
|
|
71
|
-
"number",
|
|
72
|
-
"email",
|
|
73
|
-
"password",
|
|
74
|
-
"credit-card",
|
|
75
|
-
"month-day-year",
|
|
76
|
-
"year-month-day",
|
|
77
|
-
"month-year"
|
|
78
|
-
];
|
|
79
|
-
|
|
80
|
-
this.dateInputTypes = [
|
|
81
|
-
"month-day-year",
|
|
82
|
-
"year-month-day",
|
|
83
|
-
"month-year",
|
|
84
|
-
"month-fullYear",
|
|
85
|
-
"month",
|
|
86
|
-
"year",
|
|
87
|
-
"fullYear"
|
|
88
|
-
];
|
|
89
|
-
|
|
90
|
-
this.autoFormattingTypes = [
|
|
91
|
-
'credit-card',
|
|
92
|
-
'month-day-year',
|
|
93
|
-
'month-year',
|
|
94
|
-
'month-fullyear',
|
|
95
|
-
'year-month-day'
|
|
96
|
-
];
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Credit Card is not included as this caused cursor placement issues.
|
|
100
|
-
* The Safari issue.
|
|
101
|
-
*/
|
|
102
|
-
this.setSelectionInputTypes = [
|
|
103
|
-
"text",
|
|
104
|
-
"password",
|
|
105
|
-
"email",
|
|
106
|
-
];
|
|
107
|
-
|
|
108
|
-
const idLength = 36;
|
|
109
|
-
const idSubstrEnd = 8;
|
|
110
|
-
const idSubstrStart = 2;
|
|
111
|
-
|
|
112
|
-
this.uniqueId = Math.random()
|
|
113
|
-
.toString(idLength)
|
|
114
|
-
.substring(idSubstrStart, idSubstrEnd);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// function to define props used within the scope of this componentstatic
|
|
118
|
-
static get properties() {
|
|
119
|
-
return {
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* If set, the label will remain fixed in the active position.
|
|
123
|
-
*/
|
|
124
|
-
activeLabel: {
|
|
125
|
-
type: Boolean,
|
|
126
|
-
reflect: true
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* An enumerated attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. [off/none, on/sentences, words, characters]
|
|
131
|
-
*/
|
|
132
|
-
autocapitalize: {
|
|
133
|
-
type: String
|
|
134
|
-
},
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
138
|
-
*/
|
|
139
|
-
autocomplete: {
|
|
140
|
-
type: String,
|
|
141
|
-
reflect: true
|
|
142
|
-
},
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* When set to `off`, stops iOS from auto-correcting words when typed into a text box.
|
|
146
|
-
*/
|
|
147
|
-
autocorrect: {
|
|
148
|
-
type: String
|
|
149
|
-
},
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* If set, disables the input.
|
|
153
|
-
*/
|
|
154
|
-
disabled: {
|
|
155
|
-
type: Boolean
|
|
156
|
-
},
|
|
157
|
-
|
|
158
|
-
error: {
|
|
159
|
-
type: String,
|
|
160
|
-
reflect: true
|
|
161
|
-
},
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Contains the help text message for the current validity error.
|
|
165
|
-
*/
|
|
166
|
-
errorMessage: {
|
|
167
|
-
type: String
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
|
|
172
|
-
*/
|
|
173
|
-
icon: {
|
|
174
|
-
type: Boolean
|
|
175
|
-
},
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Sets the unique ID of the element.
|
|
179
|
-
*/
|
|
180
|
-
id: {
|
|
181
|
-
type: String
|
|
182
|
-
},
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Defines the language of an element.
|
|
186
|
-
*/
|
|
187
|
-
lang: {
|
|
188
|
-
type: String
|
|
189
|
-
},
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
193
|
-
*/
|
|
194
|
-
max: {
|
|
195
|
-
type: String
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
200
|
-
*/
|
|
201
|
-
maxLength: {
|
|
202
|
-
type: Number
|
|
203
|
-
},
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
207
|
-
*/
|
|
208
|
-
min: {
|
|
209
|
-
type: String
|
|
210
|
-
},
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`.
|
|
214
|
-
*/
|
|
215
|
-
minLength: {
|
|
216
|
-
type: Number
|
|
217
|
-
},
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Populates the `name` attribute on the input.
|
|
221
|
-
*/
|
|
222
|
-
name: {
|
|
223
|
-
type: String
|
|
224
|
-
},
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* If set, disables auto-validation on blur.
|
|
228
|
-
*/
|
|
229
|
-
noValidate: {
|
|
230
|
-
type: Boolean
|
|
231
|
-
},
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Specifies a regular expression the form control's value should match.
|
|
235
|
-
*/
|
|
236
|
-
pattern: {
|
|
237
|
-
type: String,
|
|
238
|
-
reflect: true
|
|
239
|
-
},
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Define custom placeholder text, only supported by date input formats.
|
|
243
|
-
*/
|
|
244
|
-
placeholder: {
|
|
245
|
-
type: String
|
|
246
|
-
},
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Makes the input read-only, but can be set programmatically.
|
|
250
|
-
*/
|
|
251
|
-
readonly: {
|
|
252
|
-
type: Boolean
|
|
253
|
-
},
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
257
|
-
*/
|
|
258
|
-
required: {
|
|
259
|
-
type: Boolean
|
|
260
|
-
},
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* @ignore
|
|
264
|
-
*/
|
|
265
|
-
showPassword: {
|
|
266
|
-
state: true
|
|
267
|
-
},
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Sets a custom help text message to display for all validityStates.
|
|
271
|
-
*/
|
|
272
|
-
setCustomValidity: {
|
|
273
|
-
type: String
|
|
274
|
-
},
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Custom help text message to display when validity = `badInput`.
|
|
278
|
-
*/
|
|
279
|
-
setCustomValidityBadInput: {
|
|
280
|
-
type: String
|
|
281
|
-
},
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* Custom help text message to display when validity = `customError`.
|
|
285
|
-
*/
|
|
286
|
-
setCustomValidityCustomError: {
|
|
287
|
-
type: String
|
|
288
|
-
},
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Custom help text message to display for the declared element `type` and type validity fails.
|
|
292
|
-
*/
|
|
293
|
-
setCustomValidityForType: {
|
|
294
|
-
type: String
|
|
295
|
-
},
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* Custom help text message to display when validity = `rangeOverflow`.
|
|
299
|
-
*/
|
|
300
|
-
setCustomValidityRangeOverflow: {
|
|
301
|
-
type: String
|
|
302
|
-
},
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Custom help text message to display when validity = `rangeUnderflow`.
|
|
306
|
-
*/
|
|
307
|
-
setCustomValidityRangeUnderflow: {
|
|
308
|
-
type: String
|
|
309
|
-
},
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Custom help text message to display when validity = `tooLong`.
|
|
313
|
-
*/
|
|
314
|
-
setCustomValidityTooLong: {
|
|
315
|
-
type: String
|
|
316
|
-
},
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Custom help text message to display when validity = `tooShort`.
|
|
320
|
-
*/
|
|
321
|
-
setCustomValidityTooShort: {
|
|
322
|
-
type: String
|
|
323
|
-
},
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Custom help text message to display when validity = `valueMissing`.
|
|
327
|
-
*/
|
|
328
|
-
setCustomValidityValueMissing: {
|
|
329
|
-
type: String
|
|
330
|
-
},
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Custom help text message for email type validity.
|
|
334
|
-
*/
|
|
335
|
-
customValidityTypeEmail: {
|
|
336
|
-
type: String
|
|
337
|
-
},
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* An enumerated attribute defines whether the element may be checked for spelling errors. [true, false]. When set to `false` the attribute `autocorrect` is set to `off` and `autocapitalize` is set to `none`.
|
|
341
|
-
*/
|
|
342
|
-
spellcheck: {
|
|
343
|
-
type: String
|
|
344
|
-
},
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`.
|
|
348
|
-
*/
|
|
349
|
-
type: {
|
|
350
|
-
type: String,
|
|
351
|
-
reflect: true
|
|
352
|
-
},
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
356
|
-
*/
|
|
357
|
-
value: {
|
|
358
|
-
type: String
|
|
359
|
-
},
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* Sets validation mode to re-eval with each input.
|
|
363
|
-
*/
|
|
364
|
-
validateOnInput: {
|
|
365
|
-
type: Boolean
|
|
366
|
-
},
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* Specifies the `validityState` this element is in.
|
|
370
|
-
*/
|
|
371
|
-
validity: {
|
|
372
|
-
type: String,
|
|
373
|
-
reflect: true
|
|
374
|
-
}
|
|
375
|
-
};
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
static get styles() {
|
|
380
|
-
return [
|
|
381
|
-
css`${colorCss}`,
|
|
382
|
-
css`${styleCss}`,
|
|
383
|
-
css`${tokensCss}`
|
|
384
|
-
];
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
connectedCallback() {
|
|
388
|
-
super.connectedCallback();
|
|
389
|
-
|
|
390
|
-
this.privateDefaults();
|
|
391
|
-
|
|
392
|
-
notifyOnLangChange(this);
|
|
393
|
-
|
|
394
|
-
// Process auto-formatting if defined for CleaveJS
|
|
395
|
-
if (this.type) {
|
|
396
|
-
let config = null;
|
|
397
|
-
|
|
398
|
-
// Set config for credit card
|
|
399
|
-
switch (this.type) {
|
|
400
|
-
case 'number':
|
|
401
|
-
config = {
|
|
402
|
-
numeral: true,
|
|
403
|
-
delimiter: ''
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
this.inputMode = 'numeric';
|
|
407
|
-
|
|
408
|
-
break;
|
|
409
|
-
|
|
410
|
-
case 'credit-card':
|
|
411
|
-
config = {
|
|
412
|
-
creditCard: true
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
this.inputMode = 'numeric';
|
|
416
|
-
|
|
417
|
-
break;
|
|
418
|
-
|
|
419
|
-
case 'month-day-year':
|
|
420
|
-
config = {
|
|
421
|
-
date: true,
|
|
422
|
-
delimiter: '/',
|
|
423
|
-
datePattern: [
|
|
424
|
-
'm',
|
|
425
|
-
'd',
|
|
426
|
-
'Y'
|
|
427
|
-
]
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
this.inputMode = 'numeric';
|
|
431
|
-
|
|
432
|
-
break;
|
|
433
|
-
|
|
434
|
-
case 'year-month-day':
|
|
435
|
-
config = {
|
|
436
|
-
date: true,
|
|
437
|
-
delimiter: '/',
|
|
438
|
-
datePattern: [
|
|
439
|
-
'Y',
|
|
440
|
-
'm',
|
|
441
|
-
'd'
|
|
442
|
-
]
|
|
443
|
-
};
|
|
444
|
-
|
|
445
|
-
this.inputMode = 'numeric';
|
|
446
|
-
|
|
447
|
-
break;
|
|
448
|
-
|
|
449
|
-
case 'month-year':
|
|
450
|
-
config = {
|
|
451
|
-
date: true,
|
|
452
|
-
datePattern: [
|
|
453
|
-
'm',
|
|
454
|
-
'y'
|
|
455
|
-
]
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
this.inputMode = 'numeric';
|
|
459
|
-
|
|
460
|
-
break;
|
|
461
|
-
|
|
462
|
-
case 'month-fullYear':
|
|
463
|
-
config = {
|
|
464
|
-
date: true,
|
|
465
|
-
datePattern: [
|
|
466
|
-
'm',
|
|
467
|
-
'Y'
|
|
468
|
-
]
|
|
469
|
-
};
|
|
470
|
-
|
|
471
|
-
this.inputMode = 'numeric';
|
|
472
|
-
|
|
473
|
-
break;
|
|
474
|
-
|
|
475
|
-
case 'fullYear':
|
|
476
|
-
config = {
|
|
477
|
-
date: true,
|
|
478
|
-
datePattern: ['Y']
|
|
479
|
-
};
|
|
480
|
-
|
|
481
|
-
this.inputMode = 'numeric';
|
|
482
|
-
|
|
483
|
-
break;
|
|
484
|
-
|
|
485
|
-
case 'year':
|
|
486
|
-
config = {
|
|
487
|
-
date: true,
|
|
488
|
-
datePattern: ['y']
|
|
489
|
-
};
|
|
490
|
-
|
|
491
|
-
this.inputMode = 'numeric';
|
|
492
|
-
|
|
493
|
-
break;
|
|
494
|
-
|
|
495
|
-
case 'month':
|
|
496
|
-
config = {
|
|
497
|
-
date: true,
|
|
498
|
-
datePattern: ['m']
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
this.inputMode = 'numeric';
|
|
502
|
-
|
|
503
|
-
break;
|
|
504
|
-
|
|
505
|
-
default:
|
|
506
|
-
// Do nothing
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
// initialize CleaveJS if we have a defined config for the requested format
|
|
510
|
-
if (config) {
|
|
511
|
-
// eslint-disable-next-line no-unused-vars
|
|
512
|
-
const cleave = new Cleave(this, config);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
disconnectedCallback() {
|
|
518
|
-
super.disconnectedCallback();
|
|
519
|
-
stopNotifyingOnLangChange(this);
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
firstUpdated() {
|
|
523
|
-
// add attribute for query selectors when auro-input is registered under a custom name
|
|
524
|
-
if (this.tagName.toLowerCase() !== 'auro-input') {
|
|
525
|
-
this.setAttribute('auro-input', true);
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
this.inputElement = this.renderRoot.querySelector('input');
|
|
529
|
-
this.labelElement = this.shadowRoot.querySelector('label');
|
|
530
|
-
|
|
531
|
-
// use validity message override if declared when initializing the component
|
|
532
|
-
if (this.hasAttribute('setCustomValidity')) {
|
|
533
|
-
this.ValidityMessageOverride = this.setCustomValidity;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
// if setCustomValidityForType is not set, use our default
|
|
537
|
-
if (!this.setCustomValidityForType) {
|
|
538
|
-
if (this.type === 'password') {
|
|
539
|
-
this.setCustomValidityForType = i18n(this.lang, 'password');
|
|
540
|
-
} else if (this.type === 'credit-card') {
|
|
541
|
-
this.setCustomValidityForType = i18n(this.lang, 'creditcard');
|
|
542
|
-
} else if (this.type === 'email') {
|
|
543
|
-
this.setCustomValidityForType = i18n(this.lang, 'email');
|
|
544
|
-
} else if (this.type === 'month-day-year') {
|
|
545
|
-
this.setCustomValidityForType = i18n(this.lang, 'dateMMDDYYYY');
|
|
546
|
-
} else if (this.type === 'month-year') {
|
|
547
|
-
this.setCustomValidityForType = i18n(this.lang, 'dateMMYY');
|
|
548
|
-
} else if (this.type === 'month-fullyear') {
|
|
549
|
-
this.setCustomValidityForType = i18n(this.lang, 'dateMMYYYY');
|
|
550
|
-
} else if (this.type === 'year-month-day') {
|
|
551
|
-
this.setCustomValidityForType = i18n(this.lang, 'dateYYYYMMDD');
|
|
552
|
-
} else if (this.type === 'year') {
|
|
553
|
-
this.setCustomValidityForType = i18n(this.lang, 'dateYY');
|
|
554
|
-
} else if (this.type === 'fullYear') {
|
|
555
|
-
this.setCustomValidityForType = i18n(this.lang, 'dateYYYY');
|
|
556
|
-
} else if (this.type === 'month') {
|
|
557
|
-
this.setCustomValidityForType = i18n(this.lang, 'dateMM');
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
this.addEventListener('keydown', (evt) => {
|
|
562
|
-
if (this.autoFormattingTypes.includes(this.type)) {
|
|
563
|
-
if (evt.key.length === 1 || evt.key === 'Backspace' || evt.key === 'Delete') {
|
|
564
|
-
if (evt.key.length === 1) {
|
|
565
|
-
const numCharSelected = this.inputElement.selectionEnd - this.inputElement.selectionStart;
|
|
566
|
-
|
|
567
|
-
if (numCharSelected > 1) {
|
|
568
|
-
this.cursorPosition = this.inputElement.selectionStart + 1;
|
|
569
|
-
} else if (numCharSelected === 1) {
|
|
570
|
-
this.cursorPosition = this.inputElement.selectionEnd;
|
|
571
|
-
} else {
|
|
572
|
-
this.cursorPosition = this.inputElement.selectionEnd + 1;
|
|
573
|
-
}
|
|
574
|
-
} else if (evt.key === 'Backspace') {
|
|
575
|
-
this.cursorPosition = this.inputElement.selectionEnd - 1;
|
|
576
|
-
} else if (evt.key === 'Delete') {
|
|
577
|
-
this.cursorPosition = this.inputElement.selectionEnd;
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
if (evt.key === "ArrowUp" || evt.key === "ArrowDown" || evt.key === "ArrowLeft" || evt.key === "ArrowRight") {
|
|
582
|
-
if (evt.key === 'ArrowUp') {
|
|
583
|
-
this.cursorPosition = 0;
|
|
584
|
-
} else if (evt.key === 'ArrowDown') {
|
|
585
|
-
this.cursorPosition = this.value.length;
|
|
586
|
-
} else if (evt.key === 'ArrowLeft') {
|
|
587
|
-
this.cursorPosition = this.inputElement.selectionEnd - 1;
|
|
588
|
-
} else if (evt.key === 'ArrowRight') {
|
|
589
|
-
this.cursorPosition = this.inputElement.selectionEnd + 1;
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
});
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* LitElement lifecycle method. Called after the DOM has been updated.
|
|
598
|
-
* @param {Map<string, any>} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
|
|
599
|
-
* @returns {void}
|
|
600
|
-
*/
|
|
601
|
-
updated(changedProperties) {
|
|
602
|
-
if (this.type === 'password') {
|
|
603
|
-
this.spellcheck = 'false';
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
if (this.spellcheck === 'false') {
|
|
607
|
-
this.autocorrect = 'off';
|
|
608
|
-
this.autocapitalize = 'none';
|
|
609
|
-
} else {
|
|
610
|
-
this.autocorrect = this.autocorrect ? this.autocorrect : undefined;
|
|
611
|
-
this.autocapitalize = undefined;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
if (changedProperties.has('readonly')) {
|
|
615
|
-
if (this.readonly) {
|
|
616
|
-
this.inputElement.setAttribute('readonly', true);
|
|
617
|
-
this.inputElement.setAttribute('aria-readonly', true);
|
|
618
|
-
} else {
|
|
619
|
-
this.inputElement.removeAttribute('readonly');
|
|
620
|
-
this.inputElement.removeAttribute('aria-readonly');
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
if (changedProperties.has('type')) {
|
|
625
|
-
this.configureDataForType();
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
if (changedProperties.has('value')) {
|
|
629
|
-
if (this.value && this.value.length > 0) {
|
|
630
|
-
this.hasValue = true;
|
|
631
|
-
this.requestUpdate();
|
|
632
|
-
} else {
|
|
633
|
-
this.hasValue = false;
|
|
634
|
-
this.requestUpdate();
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
if (this.value !== this.inputElement.value) {
|
|
638
|
-
if (this.value) {
|
|
639
|
-
this.inputElement.value = this.value;
|
|
640
|
-
} else {
|
|
641
|
-
this.inputElement.value = '';
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
if (!this.shadowRoot.contains(this.getActiveElement())) {
|
|
645
|
-
this.validation.validate(this);
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
this.notifyValueChanged();
|
|
649
|
-
}
|
|
650
|
-
this.autoFormatHandling();
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
if (changedProperties.has('error')) {
|
|
654
|
-
this.validate(true);
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
if (changedProperties.has('validity')) {
|
|
658
|
-
this.notifyValidityChange();
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* @private
|
|
664
|
-
* @returns {void} Handles cursor position when input auto-formats.
|
|
665
|
-
*/
|
|
666
|
-
autoFormatHandling() {
|
|
667
|
-
if (this.cursorPosition >= 0 && this.autoFormattingTypes.includes(this.type)) {
|
|
668
|
-
if (this.type === 'credit-card' && this.inputElement.value.charAt(this.cursorPosition) === ' ') {
|
|
669
|
-
this.cursorPosition += 1;
|
|
670
|
-
} else if (this.dateInputTypes.includes(this.type)) {
|
|
671
|
-
const divider = '/';
|
|
672
|
-
const dividerNextChar = this.inputElement.value.charAt(this.cursorPosition) === divider;
|
|
673
|
-
|
|
674
|
-
if (this.cursorPosition > 1 && dividerNextChar && this.inputElement.value.charAt(this.cursorPosition - 2) !== divider) {
|
|
675
|
-
this.cursorPosition += 1;
|
|
676
|
-
} else if (this.cursorPosition > 0 && this.inputElement.value.charAt(this.cursorPosition + 1) === divider
|
|
677
|
-
&& this.inputElement.value.charAt(this.cursorPosition - 1) === '0') { // eslint-disable-line operator-linebreak
|
|
678
|
-
this.cursorPosition += 2;
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
this.inputElement.setSelectionRange(this.cursorPosition, this.cursorPosition);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/**
|
|
687
|
-
* @private
|
|
688
|
-
* @returns {void} Notify validity state changed via event.
|
|
689
|
-
*/
|
|
690
|
-
notifyValidityChange() {
|
|
691
|
-
this.dispatchEvent(new CustomEvent('auroInput-validityChange', {
|
|
692
|
-
bubbles: true,
|
|
693
|
-
cancelable: false,
|
|
694
|
-
composed: true,
|
|
695
|
-
}));
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* @private
|
|
700
|
-
* @returns {string}
|
|
701
|
-
*/
|
|
702
|
-
definePattern() {
|
|
703
|
-
if (this.type === 'credit-card' && !this.noValidate && this.maxLength) {
|
|
704
|
-
return `.{${this.maxLength},${this.maxLength}}`;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
return this.pattern;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
/**
|
|
711
|
-
* Function to set element focus.
|
|
712
|
-
* @private
|
|
713
|
-
* @return {void}
|
|
714
|
-
*/
|
|
715
|
-
focus() {
|
|
716
|
-
this.inputElement.focus();
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* Required to convert SVG icons from data to HTML string.
|
|
721
|
-
* @private
|
|
722
|
-
* @param {string} icon HTML string for requested icon.
|
|
723
|
-
* @returns {object} Appended HTML for SVG.
|
|
724
|
-
*/
|
|
725
|
-
getIconAsHtml(icon) {
|
|
726
|
-
const dom = new DOMParser().parseFromString(icon.svg, 'text/html');
|
|
727
|
-
|
|
728
|
-
return dom.body.firstChild;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* Sends event notifying that the input has changed it's value.
|
|
733
|
-
* @private
|
|
734
|
-
* @returns {void}
|
|
735
|
-
*/
|
|
736
|
-
notifyValueChanged() {
|
|
737
|
-
let inputEvent = null;
|
|
738
|
-
|
|
739
|
-
inputEvent = new Event('input', {
|
|
740
|
-
bubbles: true,
|
|
741
|
-
composed: true,
|
|
742
|
-
});
|
|
743
|
-
|
|
744
|
-
// Dispatched event to alert outside shadow DOM context of event firing.
|
|
745
|
-
this.dispatchEvent(inputEvent);
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* Handles event of clearing input content by clicking the X icon.
|
|
750
|
-
* @private
|
|
751
|
-
* @return {void}
|
|
752
|
-
*/
|
|
753
|
-
handleClickClear() {
|
|
754
|
-
this.inputElement.value = "";
|
|
755
|
-
this.value = "";
|
|
756
|
-
this.labelElement.classList.remove('inputElement-label--sticky');
|
|
757
|
-
this.focus();
|
|
758
|
-
this.validation.validate(this);
|
|
759
|
-
this.notifyValueChanged();
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* @private
|
|
764
|
-
* @return {void}
|
|
765
|
-
*/
|
|
766
|
-
handleInput() {
|
|
767
|
-
// Prevent non-number characters from being entered on credit card fields.
|
|
768
|
-
if (this.type === 'credit-card') {
|
|
769
|
-
this.inputElement.value = this.inputElement.value.replace(/[\D]/gu, '');
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
// Sets value property to value of element value (el.value).
|
|
773
|
-
this.value = this.inputElement.value;
|
|
774
|
-
|
|
775
|
-
// Validation on blur or input.
|
|
776
|
-
if (this.validateOnInput) {
|
|
777
|
-
this.validation.validate(this);
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
// Prevents cursor jumping in Safari.
|
|
781
|
-
const { selectionStart } = this.inputElement;
|
|
782
|
-
|
|
783
|
-
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
784
|
-
this.updateComplete.then(() => {
|
|
785
|
-
try {
|
|
786
|
-
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
787
|
-
} catch (error) { // eslint-disable-line
|
|
788
|
-
// do nothing
|
|
789
|
-
}
|
|
790
|
-
});
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* Function to support @focusin event.
|
|
796
|
-
* @private
|
|
797
|
-
* @return {void}
|
|
798
|
-
*/
|
|
799
|
-
handleFocusin() {
|
|
800
|
-
|
|
801
|
-
/**
|
|
802
|
-
* The input is considered to be in it's initial state based on
|
|
803
|
-
* if this.value === undefined. The first time we interact with the
|
|
804
|
-
* input manually, by applying focusin, we need to flag the
|
|
805
|
-
* input as no longer in the initial state.
|
|
806
|
-
*/
|
|
807
|
-
if (this.value === undefined) {
|
|
808
|
-
this.value = '';
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* Function to support @blur event.
|
|
814
|
-
* @private
|
|
815
|
-
* @return {void}
|
|
816
|
-
*/
|
|
817
|
-
handleBlur() {
|
|
818
|
-
this.inputElement.scrollLeft = 100;
|
|
819
|
-
|
|
820
|
-
if (!this.noValidate) {
|
|
821
|
-
this.validation.validate(this);
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Returns focused element, even if it's in the shadow DOM.
|
|
827
|
-
* @private
|
|
828
|
-
* @param {Object} root - Element to check for focus.
|
|
829
|
-
* @returns {Object}
|
|
830
|
-
*/
|
|
831
|
-
getActiveElement(root = document) {
|
|
832
|
-
const activeEl = root.activeElement;
|
|
833
|
-
|
|
834
|
-
if (!activeEl) {
|
|
835
|
-
return null;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
if (activeEl.shadowRoot) {
|
|
839
|
-
return this.getActiveElement(activeEl.shadowRoot);
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
return activeEl;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* Validates value.
|
|
847
|
-
* @param {boolean} [force=false] - Whether to force validation.
|
|
848
|
-
*/
|
|
849
|
-
validate(force = false) {
|
|
850
|
-
this.validation.validate(this, force);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* Resets component to initial state.
|
|
855
|
-
* @returns {void}
|
|
856
|
-
*/
|
|
857
|
-
reset() {
|
|
858
|
-
this.validation.reset(this);
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
* Sets configuration data used elsewhere based on the `type` attribute.
|
|
863
|
-
* @private
|
|
864
|
-
* @returns {void}
|
|
865
|
-
*/
|
|
866
|
-
configureDataForType() {
|
|
867
|
-
if (this.type === 'month-day-year' || this.type === 'year-month-day') {
|
|
868
|
-
this.dateStrLength = 10;
|
|
869
|
-
} else if (this.type === 'month-year') {
|
|
870
|
-
this.dateStrLength = 5;
|
|
871
|
-
} else if (this.type === 'month-fullYear') {
|
|
872
|
-
this.dateStrLength = 7;
|
|
873
|
-
} else if (this.type === 'month' || this.type === 'year') {
|
|
874
|
-
this.dateStrLength = 2;
|
|
875
|
-
} else if (this.type === 'fullYear') {
|
|
876
|
-
this.dateStrLength = 4;
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
/**
|
|
881
|
-
* Validates against list of supported this.allowedInputTypes; return type=text if invalid request.
|
|
882
|
-
* @private
|
|
883
|
-
* @param {string} type Value entered into component prop.
|
|
884
|
-
* @returns {string} Iterates over allowed types array.
|
|
885
|
-
*/
|
|
886
|
-
getInputType(type) {
|
|
887
|
-
if (this.allowedInputTypes.includes(type)) {
|
|
888
|
-
return type;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
return "text";
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
* Determines default help text string.
|
|
896
|
-
* @private
|
|
897
|
-
* @param {string} type Value entered into component prop.
|
|
898
|
-
* @returns {string} Evaluates pre-determined help text.
|
|
899
|
-
*/
|
|
900
|
-
getHelpText(type) {
|
|
901
|
-
if (type === 'password') {
|
|
902
|
-
return i18n(this.lang, 'password');
|
|
903
|
-
} else if (type === 'email') {
|
|
904
|
-
return i18n(this.lang, 'email');
|
|
905
|
-
} else if (type === 'credit-card') {
|
|
906
|
-
return i18n(this.lang, 'creditcard');
|
|
907
|
-
} else if (type === 'month-day-year') {
|
|
908
|
-
return i18n(this.lang, 'dateMMDDYYYY');
|
|
909
|
-
} else if (type === 'month-year') {
|
|
910
|
-
return i18n(this.lang, 'dateMMYY');
|
|
911
|
-
} else if (type === 'month-fullyear') {
|
|
912
|
-
return i18n(this.lang, 'dateMMYYYY');
|
|
913
|
-
} else if (type === 'year-month-day') {
|
|
914
|
-
return i18n(this.lang, 'dateYYYYMMDD');
|
|
915
|
-
} else if (type === 'month') {
|
|
916
|
-
return i18n(this.lang, 'dateMM');
|
|
917
|
-
} else if (type === 'year') {
|
|
918
|
-
return i18n(this.lang, 'dateYY');
|
|
919
|
-
} else if (type === 'fullYear') {
|
|
920
|
-
return i18n(this.lang, 'dateYYYY');
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
return '';
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* Function to support show-password feature.
|
|
928
|
-
* @private
|
|
929
|
-
* @returns {void}
|
|
930
|
-
*/
|
|
931
|
-
handleClickShowPassword() {
|
|
932
|
-
this.showPassword = !this.showPassword;
|
|
933
|
-
this.focus();
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* Support placeholder text.
|
|
938
|
-
* @private
|
|
939
|
-
* @returns {string}
|
|
940
|
-
*/
|
|
941
|
-
getPlaceholder() {
|
|
942
|
-
if (this.type === 'month-day-year') {
|
|
943
|
-
return !this.placeholder ? 'MM/DD/YYYY' : this.placeholder;
|
|
944
|
-
} else if (this.type === 'month-year') {
|
|
945
|
-
return !this.placeholder ? 'MM/YY' : this.placeholder;
|
|
946
|
-
} else if (this.type === 'month-fullYear') {
|
|
947
|
-
return !this.placeholder ? 'MM/YYYY' : this.placeholder;
|
|
948
|
-
} else if (this.type === 'year-month-day') {
|
|
949
|
-
return !this.placeholder ? 'YYYY/MM/DD' : this.placeholder;
|
|
950
|
-
} else if (this.type === 'year') {
|
|
951
|
-
return !this.placeholder ? 'YY' : this.placeholder;
|
|
952
|
-
} else if (this.type === 'fullYear') {
|
|
953
|
-
return !this.placeholder ? 'YYYY' : this.placeholder;
|
|
954
|
-
} else if (this.type === 'month') {
|
|
955
|
-
return !this.placeholder ? 'MM' : this.placeholder;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
return ifDefined(this.placeholder);
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
* Defines placement of input icon based on type, used with classMap.
|
|
963
|
-
* @private
|
|
964
|
-
* @returns {boolean}
|
|
965
|
-
*/
|
|
966
|
-
defineInputIcon() {
|
|
967
|
-
if (this.icon && this.type === 'credit-card') {
|
|
968
|
-
return true;
|
|
969
|
-
} else if (this.dateInputTypes.includes(this.type)) {
|
|
970
|
-
return true;
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
return false;
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* Defines padding of input label based on type, used with classMap.
|
|
978
|
-
* @private
|
|
979
|
-
* @returns {boolean}
|
|
980
|
-
*/
|
|
981
|
-
defineLabelPadding() {
|
|
982
|
-
if (this.icon && this.type === 'credit-card' && (this.value === "" || this.value === undefined)) {
|
|
983
|
-
return true;
|
|
984
|
-
} else if (this.dateInputTypes.includes(this.type)) {
|
|
985
|
-
return true;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
return false;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
// Functions specific to Credit Card component support
|
|
992
|
-
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* Function to support credit-card feature type.
|
|
996
|
-
* @private
|
|
997
|
-
* @returns {void}
|
|
998
|
-
*/
|
|
999
|
-
processCreditCard() {
|
|
1000
|
-
const card = this.matchInputValueToCreditCard();
|
|
1001
|
-
|
|
1002
|
-
this.maxLength = card.formatLength;
|
|
1003
|
-
this.minLength = card.formatMinLength;
|
|
1004
|
-
|
|
1005
|
-
this.errorMessage = card.errorMessage;
|
|
1006
|
-
|
|
1007
|
-
if (this.icon) {
|
|
1008
|
-
this.inputIconName = card.cardIcon;
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* Function to support credit-card feature type.
|
|
1014
|
-
* @private
|
|
1015
|
-
* @returns {object} JSON with data for credit card formatting.
|
|
1016
|
-
*/
|
|
1017
|
-
matchInputValueToCreditCard() {
|
|
1018
|
-
const CreditCardValidationMessage = `${i18n(this.lang, 'validCard')}`;
|
|
1019
|
-
|
|
1020
|
-
const creditCardTypes = [
|
|
1021
|
-
{
|
|
1022
|
-
name: 'Airlines',
|
|
1023
|
-
regex: /^(?<num>1|2)\d{0}/u,
|
|
1024
|
-
formatMinLength: 17,
|
|
1025
|
-
errorMessage: CreditCardValidationMessage,
|
|
1026
|
-
cardIcon: 'credit-card'
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
name: 'Commercial',
|
|
1030
|
-
regex: /^(?<num>2)\d{0}/u,
|
|
1031
|
-
formatMinLength: 8,
|
|
1032
|
-
errorMessage: CreditCardValidationMessage,
|
|
1033
|
-
cardIcon: 'credit-card'
|
|
1034
|
-
},
|
|
1035
|
-
{
|
|
1036
|
-
name: 'Alaska Commercial',
|
|
1037
|
-
regex: /^(?<num>27)\d{0}/u,
|
|
1038
|
-
formatMinLength: 8,
|
|
1039
|
-
errorMessage: CreditCardValidationMessage,
|
|
1040
|
-
cardIcon: 'cc-alaska'
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
name: 'American Express',
|
|
1044
|
-
regex: /^(?<num>34|37)\d{0}/u,
|
|
1045
|
-
formatLength: 17,
|
|
1046
|
-
errorMessage: CreditCardValidationMessage,
|
|
1047
|
-
cardIcon: 'cc-amex'
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
name: 'Diners club',
|
|
1051
|
-
regex: /^(?<num>36|38)\d{0}/u,
|
|
1052
|
-
formatLength: 16,
|
|
1053
|
-
errorMessage: CreditCardValidationMessage,
|
|
1054
|
-
cardIcon: 'credit-card'
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
name: 'Visa',
|
|
1058
|
-
regex: /^(?<num>4)\d{0}/u,
|
|
1059
|
-
formatLength: 19,
|
|
1060
|
-
errorMessage: CreditCardValidationMessage,
|
|
1061
|
-
cardIcon: 'cc-visa'
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
name: 'Alaska Airlines Visa',
|
|
1065
|
-
regex: /^(?<num>4147\s34|4888\s93|4800\s11|4313\s51|4313\s07)\d{0}/u,
|
|
1066
|
-
formatLength: 19,
|
|
1067
|
-
errorMessage: CreditCardValidationMessage,
|
|
1068
|
-
cardIcon: 'cc-alaska'
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
name: 'Master Card',
|
|
1072
|
-
regex: /^(?<num>5)\d{0}/u,
|
|
1073
|
-
formatLength: 19,
|
|
1074
|
-
errorMessage: CreditCardValidationMessage,
|
|
1075
|
-
cardIcon: 'cc-mastercard'
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
name: 'Discover Card',
|
|
1079
|
-
regex: /^(?<num>6)\d{0}/u,
|
|
1080
|
-
formatLength: 19,
|
|
1081
|
-
errorMessage: CreditCardValidationMessage,
|
|
1082
|
-
cardIcon: 'cc-discover'
|
|
1083
|
-
}
|
|
1084
|
-
];
|
|
1085
|
-
|
|
1086
|
-
let type = {
|
|
1087
|
-
name: 'Default Card',
|
|
1088
|
-
formatLength: 19,
|
|
1089
|
-
errorMessage: CreditCardValidationMessage,
|
|
1090
|
-
cardIcon: 'credit-card'
|
|
1091
|
-
};
|
|
1092
|
-
|
|
1093
|
-
creditCardTypes.forEach((cardType) => {
|
|
1094
|
-
if (cardType.regex.exec(this.value)) {
|
|
1095
|
-
type = cardType;
|
|
1096
|
-
}
|
|
1097
|
-
});
|
|
1098
|
-
|
|
1099
|
-
this.validationCCLength = type.formatLength;
|
|
1100
|
-
|
|
1101
|
-
return type;
|
|
1102
|
-
}
|
|
1103
|
-
}
|