@aurodesignsystem/auro-formkit 2.0.0-beta.5 → 2.0.0-beta.50
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 +510 -0
- package/NOTICE +2 -0
- package/README.md +83 -15
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
- package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
- package/components/bibtemplate/dist/index.d.ts +2 -0
- package/components/bibtemplate/dist/index.js +790 -0
- package/components/bibtemplate/dist/registered.js +790 -0
- package/components/{input/dist/styles/helpText-css.d.ts → bibtemplate/dist/styles/color-css.d.ts} +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
- package/components/checkbox/README.md +27 -35
- package/components/checkbox/demo/api.md +67 -68
- package/components/checkbox/demo/api.min.js +498 -102
- package/components/checkbox/demo/index.html +49 -0
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +498 -102
- package/components/checkbox/dist/auro-checkbox-group.d.ts +45 -18
- package/components/checkbox/dist/auro-checkbox.d.ts +19 -7
- package/components/checkbox/dist/helptextVersion.d.ts +2 -0
- package/components/checkbox/dist/index.d.ts +0 -1
- package/components/checkbox/dist/index.js +498 -105
- package/components/checkbox/dist/registered.js +1279 -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 +25 -28
- package/components/combobox/demo/api.js +1 -1
- package/components/combobox/demo/api.md +116 -32
- package/components/combobox/demo/api.min.js +8211 -3863
- package/components/combobox/demo/index.html +57 -0
- package/components/combobox/demo/index.js +1 -1
- package/components/combobox/demo/index.md +19 -3
- package/components/combobox/demo/index.min.js +8208 -3860
- package/components/combobox/dist/auro-combobox.d.ts +123 -76
- package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
- package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → combobox/dist/dropdownVersion.d.ts} +0 -1
- package/components/combobox/dist/index.d.ts +0 -1
- package/components/combobox/dist/index.js +7848 -3816
- package/components/combobox/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
- package/components/combobox/dist/registered.js +12269 -0
- package/components/combobox/dist/styles/style-css.d.ts +0 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.js +3 -2
- package/components/counter/demo/api.md +185 -1018
- package/components/counter/demo/api.min.js +6190 -40
- package/components/counter/demo/index.html +53 -0
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +298 -0
- package/components/counter/demo/index.min.js +6187 -19
- package/components/counter/dist/auro-counter-button.d.ts +12 -0
- package/components/counter/dist/auro-counter-group.d.ts +168 -5
- package/components/counter/dist/auro-counter-wrapper.d.ts +22 -0
- package/components/counter/dist/auro-counter.d.ts +91 -1
- package/components/counter/dist/bibtemplateVersion.d.ts +2 -0
- package/components/{datepicker/dist/formkit/auro-dropdownVersion.d.ts → counter/dist/dropdownVersion.d.ts} +0 -1
- package/components/counter/dist/iconVersion.d.ts +2 -0
- package/components/counter/dist/index.d.ts +0 -1
- package/components/counter/dist/index.js +6158 -38
- package/components/counter/dist/registered.js +6231 -0
- package/components/counter/dist/styles/color-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +2 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +2 -0
- package/components/counter/dist/styles/style-css.d.ts +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts +2 -0
- package/components/datepicker/README.md +25 -28
- package/components/datepicker/demo/api.js +3 -3
- package/components/datepicker/demo/api.md +219 -105
- package/components/datepicker/demo/api.min.js +6367 -2448
- package/components/datepicker/demo/index.html +57 -0
- package/components/datepicker/demo/index.md +7 -1
- package/components/datepicker/demo/index.min.js +6355 -2435
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts +15 -1
- package/components/datepicker/dist/auro-calendar.d.ts +25 -2
- package/components/datepicker/dist/auro-datepicker.d.ts +41 -12
- package/components/datepicker/dist/bibtemplateVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -1
- package/components/datepicker/dist/index.d.ts +0 -1
- package/components/datepicker/dist/index.js +6353 -2435
- package/components/datepicker/dist/{formkit/auro-inputVersion.d.ts → inputVersion.d.ts} +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts +0 -1
- package/components/datepicker/dist/registered.js +22466 -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 +25 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +2 -2
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -3
- 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 +19 -27
- package/components/dropdown/demo/api.js +1 -1
- package/components/dropdown/demo/api.md +43 -29
- package/components/dropdown/demo/api.min.js +525 -124
- package/components/dropdown/demo/index.html +53 -0
- package/components/dropdown/demo/index.js +0 -3
- package/components/dropdown/demo/index.min.js +525 -127
- package/components/dropdown/dist/auro-dropdown.d.ts +38 -7
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -2
- package/components/dropdown/dist/dropdownVersion.d.ts +2 -0
- package/components/dropdown/dist/helptextVersion.d.ts +2 -0
- package/components/dropdown/dist/iconVersion.d.ts +0 -1
- package/components/dropdown/dist/index.d.ts +0 -1
- package/components/dropdown/dist/index.js +525 -126
- package/components/dropdown/dist/registered.js +3365 -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 +29 -35
- package/components/form/demo/api.js +1 -1
- package/components/form/demo/api.min.js +497 -25
- package/components/form/demo/index.html +48 -0
- package/components/form/demo/index.min.js +497 -25
- package/components/form/demo/registerDemoDeps.js +22 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +194 -3
- package/components/form/dist/index.d.ts +0 -1
- package/components/form/dist/index.js +497 -27
- 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 +53 -0
- package/components/helptext/dist/index.d.ts +2 -0
- package/components/helptext/dist/index.js +224 -0
- package/components/helptext/dist/registered.js +224 -0
- package/components/helptext/dist/styles/color-css.d.ts +2 -0
- package/components/helptext/dist/styles/style-css.d.ts +2 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +2 -0
- package/components/input/README.md +19 -29
- package/components/input/demo/api.md +152 -318
- package/components/input/demo/api.min.js +4214 -1780
- package/components/input/demo/index.html +41 -0
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +4214 -1780
- package/components/input/dist/auro-input.d.ts +4 -2
- package/components/input/dist/base-input.d.ts +49 -16
- package/components/input/dist/buttonVersion.d.ts +0 -1
- package/components/input/dist/helptextVersion.d.ts +2 -0
- 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 +4214 -1782
- package/components/input/dist/registered.js +6591 -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/input/dist/utilities.d.ts +25 -0
- package/components/menu/README.md +19 -27
- package/components/menu/demo/api.js +1 -1
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +628 -314
- package/components/menu/demo/index.html +50 -0
- package/components/menu/demo/index.min.js +626 -312
- package/components/menu/dist/auro-menu-utils.d.ts +42 -0
- package/components/menu/dist/auro-menu.d.ts +97 -82
- package/components/menu/dist/auro-menuoption.d.ts +0 -1
- package/components/menu/dist/dropdownVersion.d.ts +2 -0
- package/components/menu/dist/iconVersion.d.ts +0 -1
- package/components/menu/dist/index.d.ts +1 -1
- package/components/menu/dist/index.js +627 -316
- 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 +19 -27
- package/components/radio/demo/api.md +9 -8
- package/components/radio/demo/api.min.js +429 -75
- package/components/radio/demo/index.html +48 -0
- package/components/radio/demo/index.min.js +429 -75
- package/components/radio/dist/auro-radio-group.d.ts +12 -3
- package/components/radio/dist/auro-radio.d.ts +0 -1
- package/components/radio/dist/helptextVersion.d.ts +2 -0
- package/components/radio/dist/index.d.ts +0 -1
- package/components/radio/dist/index.js +429 -78
- package/components/radio/dist/registered.js +1396 -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 +22 -43
- package/components/select/demo/api.js +1 -1
- package/components/select/demo/api.md +52 -15
- package/components/select/demo/api.min.js +1564 -613
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.md +1 -16
- package/components/select/demo/index.min.js +1563 -612
- package/components/select/dist/auro-select.d.ts +23 -7
- package/components/select/dist/dropdownVersion.d.ts +2 -0
- package/components/select/dist/index.d.ts +0 -1
- package/components/select/dist/index.js +848 -213
- package/components/select/dist/registered.js +4562 -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 +138 -66
- package/packages/build-tools/src/postinstall.mjs +8 -0
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -3
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
- package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
- package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/68e5c7af799e011d-meta.json +0 -1
- package/.turbo/cache/68e5c7af799e011d.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
- package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
- package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
- package/.turbo/cache/b4c851d4bebf3b47-meta.json +0 -1
- package/.turbo/cache/b4c851d4bebf3b47.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
- package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/dfe1f17e7fce890d-meta.json +0 -1
- package/.turbo/cache/dfe1f17e7fce890d.tar.zst +0 -0
- package/.turbo/cache/e3a224a17cf55bdb-meta.json +0 -1
- package/.turbo/cache/e3a224a17cf55bdb.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
- package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
- 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 -185
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- 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 -68
- package/components/checkbox/src/auro-checkbox-group.js +0 -331
- package/components/checkbox/src/auro-checkbox.js +0 -193
- 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 -16
- package/components/checkbox/src/styles/colorGroup.scss +0 -24
- package/components/checkbox/src/styles/tokens-css.js +0 -2
- package/components/checkbox/src/styles/tokens.css +0 -9
- package/components/checkbox/src/styles/tokens.scss +0 -11
- 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 -163
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -5
- 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/formkit/auro-dropdownVersion.d.ts.map +0 -1
- 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/styles/style-css.d.ts.map +0 -1
- package/components/combobox/node_modules/chalk/package.json +0 -83
- package/components/combobox/node_modules/chalk/readme.md +0 -325
- package/components/combobox/node_modules/chalk/source/index.d.ts +0 -320
- 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 -30
- 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 -724
- 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/styles/style-css.js +0 -2
- package/components/combobox/src/styles/style.css +0 -60
- package/components/combobox/src/styles/style.scss +0 -46
- package/components/counter/.stylelintrc.json +0 -3
- package/components/counter/.turbo/turbo-build$colon$sass.log +0 -66
- package/components/counter/.turbo/turbo-build.log +0 -87
- package/components/counter/.turbo/turbo-bundler.log +0 -13
- package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/counter/.turbo/turbo-sass$colon$render.log +0 -16
- package/components/counter/.turbo/turbo-types.log +0 -4
- package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
- package/components/counter/dist/auro-counter.d.ts.map +0 -1
- package/components/counter/dist/index.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
- package/components/counter/dist/styles/style-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 -50
- package/components/counter/src/auro-counter-group.js +0 -48
- package/components/counter/src/auro-counter.js +0 -29
- package/components/counter/src/index.js +0 -8
- package/components/counter/src/styles/counter-group-css.js +0 -2
- package/components/counter/src/styles/counter-group.css +0 -4
- package/components/counter/src/styles/counter-group.scss +0 -17
- package/components/counter/src/styles/style-css.js +0 -2
- package/components/counter/src/styles/style.css +0 -4
- package/components/counter/src/styles/style.scss +0 -17
- 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 -493
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -5
- 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.map +0 -1
- 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/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 -1002
- package/components/datepicker/src/dropdownVersion.js +0 -0
- 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/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 -111
- package/components/datepicker/src/styles/style.scss +0 -107
- 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$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-build.log +0 -206
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- 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/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 -57
- package/components/dropdown/src/auro-dropdown.js +0 -474
- package/components/dropdown/src/auro-dropdownBib.js +0 -106
- 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 -43
- package/components/dropdown/src/styles/bibStyles.scss +0 -60
- package/components/dropdown/src/styles/color-css.js +0 -2
- package/components/dropdown/src/styles/color.css +0 -59
- package/components/dropdown/src/styles/color.scss +0 -79
- package/components/dropdown/src/styles/style-css.js +0 -2
- package/components/dropdown/src/styles/style.css +0 -92
- 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 -113
- package/components/form/.turbo/turbo-bundler.log +0 -13
- package/components/form/.turbo/turbo-postCss$colon$component.log +0 -5
- 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 -72
- package/components/form/src/auro-form.js +0 -74
- 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/input/.stylelintrc.json +0 -3
- package/components/input/.turbo/turbo-build$colon$sass.log +0 -198
- package/components/input/.turbo/turbo-build$colon$version.log +0 -10
- package/components/input/.turbo/turbo-build.log +0 -353
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/input/.turbo/turbo-types.log +0 -4
- 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/helpText-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 -75
- package/components/input/src/auro-input.js +0 -241
- 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 -62
- package/components/input/src/styles/color.scss +0 -89
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- 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 -290
- package/components/input/src/styles/style.scss +0 -53
- package/components/input/src/styles/tokens-css.js +0 -2
- package/components/input/src/styles/tokens.css +0 -9
- package/components/input/src/styles/tokens.scss +0 -11
- 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 -184
- package/components/menu/.turbo/turbo-bundler.log +0 -13
- package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -5
- 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.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.js +0 -539
- package/components/menu/src/auro-menuoption.js +0 -147
- package/components/menu/src/iconVersion.js +0 -1
- package/components/menu/src/index.js +0 -8
- 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 -23
- package/components/menu/src/styles/color-menuoption.scss +0 -33
- 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 -216
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -5
- package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/radio/.turbo/turbo-types.log +0 -4
- 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 -433
- 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 -21
- package/components/radio/src/styles/groupColor.scss +0 -33
- 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 -9
- package/components/radio/src/styles/tokens.scss +0 -12
- 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 -241
- package/components/select/.turbo/turbo-postCss$colon$component.log +0 -5
- 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/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 -559
- 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 -104
- package/components/select/src/styles/style.scss +0 -76
- 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 -104
- 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 -259
- package/packages/typescript/base.json +0 -19
- package/packages/typescript/package.json +0 -20
- package/turbo.json +0 -100
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
<style>
|
|
2
|
-
.exampleWrapper--flex * {
|
|
3
|
-
margin-bottom: 1rem;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@media screen and (min-width: 660px) {
|
|
7
|
-
.exampleWrapper--flex {
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.exampleWrapper--flex * {
|
|
13
|
-
width: 45%;
|
|
14
|
-
margin-bottom: unset;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
</style>
|
|
18
1
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../docs/api.md) -->
|
|
19
2
|
<!-- The below content is automatically added from ../docs/api.md -->
|
|
20
3
|
|
|
@@ -34,13 +17,14 @@ Generate unique names for dependency components.
|
|
|
34
17
|
| Property | Attribute | Type | Default | Description |
|
|
35
18
|
|-----------------------------------|-----------------------------------|-----------|-------------|--------------------------------------------------|
|
|
36
19
|
| [activeLabel](#activeLabel) | `activeLabel` | `boolean` | false | If set, the label will remain fixed in the active position. |
|
|
37
|
-
| [autocapitalize](#autocapitalize) | `autocapitalize` | `string` | | 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] |
|
|
20
|
+
| [autocapitalize](#autocapitalize) | `autocapitalize` | `string` | | 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]. |
|
|
38
21
|
| [autocomplete](#autocomplete) | `autocomplete` | `string` | | An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported. |
|
|
39
22
|
| [autocorrect](#autocorrect) | `autocorrect` | `string` | | When set to `off`, stops iOS from auto-correcting words when typed into a text box. |
|
|
40
23
|
| [customValidityTypeEmail](#customValidityTypeEmail) | `customValidityTypeEmail` | `string` | | Custom help text message for email type validity. |
|
|
41
24
|
| [disabled](#disabled) | `disabled` | `boolean` | false | If set, disables the input. |
|
|
42
|
-
| [error](#error) | `error` | `string` | |
|
|
25
|
+
| [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
|
|
43
26
|
| [errorMessage](#errorMessage) | `errorMessage` | `string` | | Contains the help text message for the current validity error. |
|
|
27
|
+
| [format](#format) | `format` | `string` | | Specifies the input mask format. |
|
|
44
28
|
| [icon](#icon) | `icon` | `boolean` | false | 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. |
|
|
45
29
|
| [id](#id) | `id` | `string` | | Sets the unique ID of the element. |
|
|
46
30
|
| [lang](#lang) | `lang` | `string` | | Defines the language of an element. |
|
|
@@ -64,18 +48,17 @@ Generate unique names for dependency components.
|
|
|
64
48
|
| [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `string` | | Custom help text message to display when validity = `tooShort`. |
|
|
65
49
|
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
66
50
|
| [spellcheck](#spellcheck) | `spellcheck` | `string` | | 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`. |
|
|
67
|
-
| [type](#type) | `type` | `string` | | Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `
|
|
51
|
+
| [type](#type) | `type` | `string` | | Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `date`, `tel` or `text`. If given value is not allowed or set, defaults to `text`. |
|
|
68
52
|
| [validateOnInput](#validateOnInput) | `validateOnInput` | `boolean` | | Sets validation mode to re-eval with each input. |
|
|
69
53
|
| [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
70
54
|
| [value](#value) | `value` | `string` | | Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input. |
|
|
71
55
|
|
|
72
56
|
## Methods
|
|
73
57
|
|
|
74
|
-
| Method
|
|
75
|
-
|
|
76
|
-
| [
|
|
77
|
-
| [
|
|
78
|
-
| [validate](#validate) | `(): void` | Public method force validation of input. |
|
|
58
|
+
| Method | Type | Description |
|
|
59
|
+
|------------|----------------------------------------|--------------------------------------------------|
|
|
60
|
+
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
61
|
+
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
79
62
|
|
|
80
63
|
## Events
|
|
81
64
|
|
|
@@ -117,10 +100,11 @@ The `auro-input` element supports the localization of all content managed within
|
|
|
117
100
|
|
|
118
101
|
## Basic
|
|
119
102
|
|
|
120
|
-
|
|
103
|
+
The default component supports the basic input `type="text"` structure. The `(optional)` label is provided to instruct the user that their input is not required. Use the `bordered` attribute for a bordered `<auro-input>`.
|
|
104
|
+
|
|
105
|
+
<div class="exampleWrapper">
|
|
121
106
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/basic.html) -->
|
|
122
107
|
<!-- The below content is automatically added from ../apiExamples/basic.html -->
|
|
123
|
-
<auro-input></auro-input>
|
|
124
108
|
<auro-input bordered></auro-input>
|
|
125
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
126
110
|
</div>
|
|
@@ -130,7 +114,6 @@ The `auro-input` element supports the localization of all content managed within
|
|
|
130
114
|
<!-- The below code snippet is automatically added from ../apiExamples/basic.html -->
|
|
131
115
|
|
|
132
116
|
```html
|
|
133
|
-
<auro-input></auro-input>
|
|
134
117
|
<auro-input bordered></auro-input>
|
|
135
118
|
```
|
|
136
119
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -141,13 +124,10 @@ The `auro-input` element supports the localization of all content managed within
|
|
|
141
124
|
### Disabled <a name="disabled"></a>
|
|
142
125
|
Use the `disable` attribute to prevent the user from interacting with the input.
|
|
143
126
|
|
|
144
|
-
<div class="exampleWrapper
|
|
127
|
+
<div class="exampleWrapper">
|
|
145
128
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/disabled.html) -->
|
|
146
129
|
<!-- The below content is automatically added from ../apiExamples/disabled.html -->
|
|
147
|
-
<auro-input disabled type="
|
|
148
|
-
<slot slot="label">Departure date</slot>
|
|
149
|
-
</auro-input>
|
|
150
|
-
<auro-input disabled bordered type="month-day-year">
|
|
130
|
+
<auro-input disabled bordered type="date">
|
|
151
131
|
<slot slot="label">Arrival date</slot>
|
|
152
132
|
</auro-input>
|
|
153
133
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -158,10 +138,7 @@ Use the `disable` attribute to prevent the user from interacting with the input.
|
|
|
158
138
|
<!-- The below code snippet is automatically added from ../apiExamples/disabled.html -->
|
|
159
139
|
|
|
160
140
|
```html
|
|
161
|
-
<auro-input disabled type="
|
|
162
|
-
<slot slot="label">Departure date</slot>
|
|
163
|
-
</auro-input>
|
|
164
|
-
<auro-input disabled bordered type="month-day-year">
|
|
141
|
+
<auro-input disabled bordered type="date">
|
|
165
142
|
<slot slot="label">Arrival date</slot>
|
|
166
143
|
</auro-input>
|
|
167
144
|
```
|
|
@@ -171,13 +148,10 @@ Use the `disable` attribute to prevent the user from interacting with the input.
|
|
|
171
148
|
### Placeholder <a name="placeholder"></a>
|
|
172
149
|
Use the `placeholder` attribute to add a custom placeholder message within the element.
|
|
173
150
|
|
|
174
|
-
<div class="exampleWrapper
|
|
151
|
+
<div class="exampleWrapper">
|
|
175
152
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/placeholder.html) -->
|
|
176
153
|
<!-- The below content is automatically added from ../apiExamples/placeholder.html -->
|
|
177
|
-
<auro-input
|
|
178
|
-
<span slot="label">Full name</span>
|
|
179
|
-
</auro-input>
|
|
180
|
-
<auro-input required bordered placeholder="John Doe">
|
|
154
|
+
<auro-input placeholder="John Doe" bordered required>
|
|
181
155
|
<span slot="label">Full name</span>
|
|
182
156
|
<span slot="helptext">Please enter your full name.</span>
|
|
183
157
|
</auro-input>
|
|
@@ -189,10 +163,7 @@ Use the `placeholder` attribute to add a custom placeholder message within the e
|
|
|
189
163
|
<!-- The below code snippet is automatically added from ../apiExamples/placeholder.html -->
|
|
190
164
|
|
|
191
165
|
```html
|
|
192
|
-
<auro-input
|
|
193
|
-
<span slot="label">Full name</span>
|
|
194
|
-
</auro-input>
|
|
195
|
-
<auro-input required bordered placeholder="John Doe">
|
|
166
|
+
<auro-input placeholder="John Doe" bordered required>
|
|
196
167
|
<span slot="label">Full name</span>
|
|
197
168
|
<span slot="helptext">Please enter your full name.</span>
|
|
198
169
|
</auro-input>
|
|
@@ -236,7 +207,8 @@ Note: Setting the `value` to `undefined` will also reset the element.
|
|
|
236
207
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/value.html) -->
|
|
237
208
|
<!-- The below content is automatically added from ../apiExamples/value.html -->
|
|
238
209
|
<auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
|
|
239
|
-
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
210
|
+
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
211
|
+
<br /><br />
|
|
240
212
|
<auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
|
|
241
213
|
<span slot="label">Name</span>
|
|
242
214
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -250,7 +222,8 @@ Note: Setting the `value` to `undefined` will also reset the element.
|
|
|
250
222
|
|
|
251
223
|
```html
|
|
252
224
|
<auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
|
|
253
|
-
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
225
|
+
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
226
|
+
<br /><br />
|
|
254
227
|
<auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
|
|
255
228
|
<span slot="label">Name</span>
|
|
256
229
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -288,7 +261,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
288
261
|
<div class="exampleWrapper">
|
|
289
262
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxDate.html) -->
|
|
290
263
|
<!-- The below content is automatically added from ../apiExamples/maxDate.html -->
|
|
291
|
-
<auro-input type="
|
|
264
|
+
<auro-input type="date" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date." bordered>
|
|
292
265
|
<span slot="label">Choose a date</span>
|
|
293
266
|
</auro-input>
|
|
294
267
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -299,7 +272,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
299
272
|
<!-- The below code snippet is automatically added from ../apiExamples/maxDate.html -->
|
|
300
273
|
|
|
301
274
|
```html
|
|
302
|
-
<auro-input type="
|
|
275
|
+
<auro-input type="date" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date." bordered>
|
|
303
276
|
<span slot="label">Choose a date</span>
|
|
304
277
|
</auro-input>
|
|
305
278
|
```
|
|
@@ -311,7 +284,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
311
284
|
<div class="exampleWrapper">
|
|
312
285
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxNumber.html) -->
|
|
313
286
|
<!-- The below content is automatically added from ../apiExamples/maxNumber.html -->
|
|
314
|
-
<auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
|
|
287
|
+
<auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum." bordered>
|
|
315
288
|
<span slot="label">Choose a number</span>
|
|
316
289
|
</auro-input>
|
|
317
290
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -322,7 +295,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
322
295
|
<!-- The below code snippet is automatically added from ../apiExamples/maxNumber.html -->
|
|
323
296
|
|
|
324
297
|
```html
|
|
325
|
-
<auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
|
|
298
|
+
<auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum." bordered>
|
|
326
299
|
<span slot="label">Choose a number</span>
|
|
327
300
|
</auro-input>
|
|
328
301
|
```
|
|
@@ -339,7 +312,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
339
312
|
<div class="exampleWrapper">
|
|
340
313
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minDate.html) -->
|
|
341
314
|
<!-- The below content is automatically added from ../apiExamples/minDate.html -->
|
|
342
|
-
<auro-input type="
|
|
315
|
+
<auro-input type="date" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
|
|
343
316
|
<span slot="label">Choose a date</span>
|
|
344
317
|
</auro-input>
|
|
345
318
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -350,7 +323,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
350
323
|
<!-- The below code snippet is automatically added from ../apiExamples/minDate.html -->
|
|
351
324
|
|
|
352
325
|
```html
|
|
353
|
-
<auro-input type="
|
|
326
|
+
<auro-input type="date" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
|
|
354
327
|
<span slot="label">Choose a date</span>
|
|
355
328
|
</auro-input>
|
|
356
329
|
```
|
|
@@ -362,7 +335,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
362
335
|
<div class="exampleWrapper">
|
|
363
336
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minNumber.html) -->
|
|
364
337
|
<!-- The below content is automatically added from ../apiExamples/minNumber.html -->
|
|
365
|
-
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
|
|
338
|
+
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
|
|
366
339
|
<span slot="label">Choose a number</span>
|
|
367
340
|
</auro-input>
|
|
368
341
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -373,7 +346,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
373
346
|
<!-- The below code snippet is automatically added from ../apiExamples/minNumber.html -->
|
|
374
347
|
|
|
375
348
|
```html
|
|
376
|
-
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
|
|
349
|
+
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
|
|
377
350
|
<span slot="label">Choose a number</span>
|
|
378
351
|
</auro-input>
|
|
379
352
|
```
|
|
@@ -385,14 +358,10 @@ Use the `maxlength` attribute to control the length of the input entered.
|
|
|
385
358
|
|
|
386
359
|
The `setCustomValidityTooLong` attribute may optionally be used in combination with the `maxLength` attribute to define custom help text used when the length of the input is too long.
|
|
387
360
|
|
|
388
|
-
<div class="exampleWrapper
|
|
361
|
+
<div class="exampleWrapper">
|
|
389
362
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
|
|
390
363
|
<!-- The below content is automatically added from ../apiExamples/maxLength.html -->
|
|
391
|
-
<auro-input
|
|
392
|
-
<slot slot="label">Voucher Code</slot>
|
|
393
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
394
|
-
</auro-input>
|
|
395
|
-
<auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
364
|
+
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
396
365
|
<slot slot="label">Voucher Code</slot>
|
|
397
366
|
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
398
367
|
</auro-input>
|
|
@@ -404,11 +373,7 @@ The `setCustomValidityTooLong` attribute may optionally be used in combination w
|
|
|
404
373
|
<!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
|
|
405
374
|
|
|
406
375
|
```html
|
|
407
|
-
<auro-input
|
|
408
|
-
<slot slot="label">Voucher Code</slot>
|
|
409
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
410
|
-
</auro-input>
|
|
411
|
-
<auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
376
|
+
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
412
377
|
<slot slot="label">Voucher Code</slot>
|
|
413
378
|
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
414
379
|
</auro-input>
|
|
@@ -421,14 +386,10 @@ Use the `minlength` attribute to control the length of the input entered.
|
|
|
421
386
|
|
|
422
387
|
The `setCustomValidityTooShort` attribute may optionally be used in combination with the `minLength` attribute to define custom help text used when the length of the input is not long enough.
|
|
423
388
|
|
|
424
|
-
<div class="exampleWrapper
|
|
389
|
+
<div class="exampleWrapper">
|
|
425
390
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minLength.html) -->
|
|
426
391
|
<!-- The below content is automatically added from ../apiExamples/minLength.html -->
|
|
427
|
-
<auro-input
|
|
428
|
-
<slot slot="label">Voucher Code</slot>
|
|
429
|
-
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
430
|
-
</auro-input>
|
|
431
|
-
<auro-input bordered required minlength="4" setCustomValidityTooShort="Please enter a full voucher code.">
|
|
392
|
+
<auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
|
|
432
393
|
<slot slot="label">Voucher Code</slot>
|
|
433
394
|
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
434
395
|
</auro-input>
|
|
@@ -440,11 +401,7 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
|
|
|
440
401
|
<!-- The below code snippet is automatically added from ../apiExamples/minLength.html -->
|
|
441
402
|
|
|
442
403
|
```html
|
|
443
|
-
<auro-input
|
|
444
|
-
<slot slot="label">Voucher Code</slot>
|
|
445
|
-
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
446
|
-
</auro-input>
|
|
447
|
-
<auro-input bordered required minlength="4" setCustomValidityTooShort="Please enter a full voucher code.">
|
|
404
|
+
<auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
|
|
448
405
|
<slot slot="label">Voucher Code</slot>
|
|
449
406
|
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
450
407
|
</auro-input>
|
|
@@ -457,14 +414,10 @@ Use the `pattern` attribute to set custom input validation. This example also us
|
|
|
457
414
|
|
|
458
415
|
The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityPatternMismatch` attribute.
|
|
459
416
|
|
|
460
|
-
<div class="exampleWrapper
|
|
417
|
+
<div class="exampleWrapper">
|
|
461
418
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/pattern.html) -->
|
|
462
419
|
<!-- The below content is automatically added from ../apiExamples/pattern.html -->
|
|
463
|
-
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
464
|
-
<span slot="label">Username</span>
|
|
465
|
-
<span slot="helptext">Please enter a username.</span>
|
|
466
|
-
</auro-input>
|
|
467
|
-
<auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
420
|
+
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
|
|
468
421
|
<span slot="label">Username</span>
|
|
469
422
|
<span slot="helptext">Please enter a username.</span>
|
|
470
423
|
</auro-input>
|
|
@@ -476,11 +429,7 @@ The `<auro-input>` component supports setting a custom validity message specific
|
|
|
476
429
|
<!-- The below code snippet is automatically added from ../apiExamples/pattern.html -->
|
|
477
430
|
|
|
478
431
|
```html
|
|
479
|
-
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
480
|
-
<span slot="label">Username</span>
|
|
481
|
-
<span slot="helptext">Please enter a username.</span>
|
|
482
|
-
</auro-input>
|
|
483
|
-
<auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
432
|
+
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
|
|
484
433
|
<span slot="label">Username</span>
|
|
485
434
|
<span slot="helptext">Please enter a username.</span>
|
|
486
435
|
</auro-input>
|
|
@@ -488,32 +437,6 @@ The `<auro-input>` component supports setting a custom validity message specific
|
|
|
488
437
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
489
438
|
</auro-accordion>
|
|
490
439
|
|
|
491
|
-
### Borderless <a name="borderless"></a>
|
|
492
|
-
Use the `borderless` attribute to remove the bottom border. This attribute is intended for use when input is wrapped in a container that already handles the different state displays, e.g. [auro-dropdown](http://auro.alaskaair.com/components/auro/dropdown).
|
|
493
|
-
|
|
494
|
-
<div class="exampleWrapper">
|
|
495
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/borderless.html) -->
|
|
496
|
-
<!-- The below content is automatically added from ../apiExamples/borderless.html -->
|
|
497
|
-
<auro-input borderless>
|
|
498
|
-
<span slot="label">Name</span>
|
|
499
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
500
|
-
</auro-input>
|
|
501
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
502
|
-
</div>
|
|
503
|
-
<auro-accordion alignRight>
|
|
504
|
-
<span slot="trigger">See code</span>
|
|
505
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/borderless.html) -->
|
|
506
|
-
<!-- The below code snippet is automatically added from ../apiExamples/borderless.html -->
|
|
507
|
-
|
|
508
|
-
```html
|
|
509
|
-
<auro-input borderless>
|
|
510
|
-
<span slot="label">Name</span>
|
|
511
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
512
|
-
</auro-input>
|
|
513
|
-
```
|
|
514
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
515
|
-
</auro-accordion>
|
|
516
|
-
|
|
517
440
|
### Readonly <a name="readonly"></a>
|
|
518
441
|
Use the `readonly` attribute to prevent the user from editing the value of the input.
|
|
519
442
|
|
|
@@ -523,7 +446,8 @@ In this example, the user is able to programmatically change the value of the in
|
|
|
523
446
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/readonly.html) -->
|
|
524
447
|
<!-- The below content is automatically added from ../apiExamples/readonly.html -->
|
|
525
448
|
<auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
|
|
526
|
-
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
449
|
+
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
450
|
+
<br /><br />
|
|
527
451
|
<auro-input readonly bordered id="readonlyExample">
|
|
528
452
|
<span slot="label">Name</span>
|
|
529
453
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -537,7 +461,8 @@ In this example, the user is able to programmatically change the value of the in
|
|
|
537
461
|
|
|
538
462
|
```html
|
|
539
463
|
<auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
|
|
540
|
-
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
464
|
+
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
465
|
+
<br /><br />
|
|
541
466
|
<auro-input readonly bordered id="readonlyExample">
|
|
542
467
|
<span slot="label">Name</span>
|
|
543
468
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -567,13 +492,9 @@ export function setReadonlyValue() {
|
|
|
567
492
|
### Active Label <a name="activeLabel"></a>
|
|
568
493
|
Example use cases for auro-input support the `activeLabel` attribute. If set, the label will stay fixed in the active position.
|
|
569
494
|
|
|
570
|
-
<div class="exampleWrapper
|
|
495
|
+
<div class="exampleWrapper">
|
|
571
496
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/activeLabel.html) -->
|
|
572
497
|
<!-- The below content is automatically added from ../apiExamples/activeLabel.html -->
|
|
573
|
-
<auro-input activeLabel>
|
|
574
|
-
<slot slot="label">Address</slot>
|
|
575
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
576
|
-
</auro-input>
|
|
577
498
|
<auro-input activeLabel bordered>
|
|
578
499
|
<slot slot="label">Address</slot>
|
|
579
500
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -586,10 +507,6 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
586
507
|
<!-- The below code snippet is automatically added from ../apiExamples/activeLabel.html -->
|
|
587
508
|
|
|
588
509
|
```html
|
|
589
|
-
<auro-input activeLabel>
|
|
590
|
-
<slot slot="label">Address</slot>
|
|
591
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
592
|
-
</auro-input>
|
|
593
510
|
<auro-input activeLabel bordered>
|
|
594
511
|
<slot slot="label">Address</slot>
|
|
595
512
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -601,13 +518,9 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
601
518
|
### Disable auto-validation <a name="noValidate"></a>
|
|
602
519
|
For use cases where the field is `required`, but live validation is not wanted, use the `noValidate` attribute.
|
|
603
520
|
|
|
604
|
-
<div class="exampleWrapper
|
|
521
|
+
<div class="exampleWrapper">
|
|
605
522
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/noValidate.html) -->
|
|
606
523
|
<!-- The below content is automatically added from ../apiExamples/noValidate.html -->
|
|
607
|
-
<auro-input noValidate required>
|
|
608
|
-
<slot slot="label">Address</slot>
|
|
609
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
610
|
-
</auro-input>
|
|
611
524
|
<auro-input noValidate required bordered>
|
|
612
525
|
<slot slot="label">Address</slot>
|
|
613
526
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -620,10 +533,6 @@ For use cases where the field is `required`, but live validation is not wanted,
|
|
|
620
533
|
<!-- The below code snippet is automatically added from ../apiExamples/noValidate.html -->
|
|
621
534
|
|
|
622
535
|
```html
|
|
623
|
-
<auro-input noValidate required>
|
|
624
|
-
<slot slot="label">Address</slot>
|
|
625
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
626
|
-
</auro-input>
|
|
627
536
|
<auro-input noValidate required bordered>
|
|
628
537
|
<slot slot="label">Address</slot>
|
|
629
538
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -632,6 +541,33 @@ For use cases where the field is `required`, but live validation is not wanted,
|
|
|
632
541
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
633
542
|
</auro-accordion>
|
|
634
543
|
|
|
544
|
+
### Format <a name="format"></a>
|
|
545
|
+
Use the `format` attribute to set the format of the IMask.
|
|
546
|
+
|
|
547
|
+
Default masking definitions:
|
|
548
|
+
- 0 : number
|
|
549
|
+
- a : letter
|
|
550
|
+
- \* : any character
|
|
551
|
+
|
|
552
|
+
See [IMask](https://imask.js.org/) for more information on how to configure a mask.
|
|
553
|
+
|
|
554
|
+
<div class="exampleWrapper">
|
|
555
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/format.html) -->
|
|
556
|
+
<!-- The below content is automatically added from ../apiExamples/format.html -->
|
|
557
|
+
<auro-input bordered format="47440000"></auro-input>
|
|
558
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
559
|
+
</div>
|
|
560
|
+
<auro-accordion alignRight>
|
|
561
|
+
<span slot="trigger">See code</span>
|
|
562
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/format.html) -->
|
|
563
|
+
<!-- The below code snippet is automatically added from ../apiExamples/format.html -->
|
|
564
|
+
|
|
565
|
+
```html
|
|
566
|
+
<auro-input bordered format="47440000"></auro-input>
|
|
567
|
+
```
|
|
568
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
569
|
+
</auro-accordion>
|
|
570
|
+
|
|
635
571
|
## Error support and HTML5 Validity
|
|
636
572
|
|
|
637
573
|
The `<auro-input>` component follows the HTML5 input `validity` and `validityState` [specification](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#client-side_validation).
|
|
@@ -643,12 +579,9 @@ When present, the `required` attribute specifies that an input field must be fil
|
|
|
643
579
|
|
|
644
580
|
When the validity check fails, the validityState equals `valueMissing`. The error message for the `valueMissing` validityState can be changed to a custom string using the `setCustomValidityValueMissing`.
|
|
645
581
|
|
|
646
|
-
<div class="exampleWrapper
|
|
582
|
+
<div class="exampleWrapper">
|
|
647
583
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/required.html) -->
|
|
648
584
|
<!-- The below content is automatically added from ../apiExamples/required.html -->
|
|
649
|
-
<auro-input required placeholder="John Doe">
|
|
650
|
-
<span slot="label">Full name</span>
|
|
651
|
-
</auro-input>
|
|
652
585
|
<auro-input required bordered placeholder="John Doe">
|
|
653
586
|
<span slot="label">Full name</span>
|
|
654
587
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -661,9 +594,6 @@ When the validity check fails, the validityState equals `valueMissing`. The erro
|
|
|
661
594
|
<!-- The below code snippet is automatically added from ../apiExamples/required.html -->
|
|
662
595
|
|
|
663
596
|
```html
|
|
664
|
-
<auro-input required placeholder="John Doe">
|
|
665
|
-
<span slot="label">Full name</span>
|
|
666
|
-
</auro-input>
|
|
667
597
|
<auro-input required bordered placeholder="John Doe">
|
|
668
598
|
<span slot="label">Full name</span>
|
|
669
599
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -675,13 +605,9 @@ When the validity check fails, the validityState equals `valueMissing`. The erro
|
|
|
675
605
|
### Validation on input <a name="validateOnInput"></a>
|
|
676
606
|
Use the `validateOnInput` attribute to enable live validation on the `input` event. Recommended use is with setting a custom `pattern` and validation is required prior to a `blur` event.
|
|
677
607
|
|
|
678
|
-
<div class="exampleWrapper
|
|
608
|
+
<div class="exampleWrapper">
|
|
679
609
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/validateOnInput.html) -->
|
|
680
610
|
<!-- The below content is automatically added from ../apiExamples/validateOnInput.html -->
|
|
681
|
-
<auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
682
|
-
<span slot="label">Full Name</span>
|
|
683
|
-
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
684
|
-
</auro-input>
|
|
685
611
|
<auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
686
612
|
<span slot="label">Full Name</span>
|
|
687
613
|
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
@@ -694,10 +620,6 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
|
|
|
694
620
|
<!-- The below code snippet is automatically added from ../apiExamples/validateOnInput.html -->
|
|
695
621
|
|
|
696
622
|
```html
|
|
697
|
-
<auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
698
|
-
<span slot="label">Full Name</span>
|
|
699
|
-
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
700
|
-
</auro-input>
|
|
701
623
|
<auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
702
624
|
<span slot="label">Full Name</span>
|
|
703
625
|
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
@@ -711,13 +633,9 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
|
|
|
711
633
|
|
|
712
634
|
**NOTE:** Custom strings are NOT localized. It is the responsibility of the element consumer to provide localized strings when using this element property.
|
|
713
635
|
|
|
714
|
-
<div class="exampleWrapper
|
|
636
|
+
<div class="exampleWrapper">
|
|
715
637
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/setCustomValidity.html) -->
|
|
716
638
|
<!-- The below content is automatically added from ../apiExamples/setCustomValidity.html -->
|
|
717
|
-
<auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
718
|
-
<span slot="label">Full Name</span>
|
|
719
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
720
|
-
</auro-input>
|
|
721
639
|
<auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
722
640
|
<span slot="label">Full Name</span>
|
|
723
641
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -730,10 +648,6 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
|
|
|
730
648
|
<!-- The below code snippet is automatically added from ../apiExamples/setCustomValidity.html -->
|
|
731
649
|
|
|
732
650
|
```html
|
|
733
|
-
<auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
734
|
-
<span slot="label">Full Name</span>
|
|
735
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
736
|
-
</auro-input>
|
|
737
651
|
<auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
738
652
|
<span slot="label">Full Name</span>
|
|
739
653
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -751,8 +665,9 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
751
665
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/error.html) -->
|
|
752
666
|
<!-- The below content is automatically added from ../apiExamples/error.html -->
|
|
753
667
|
<auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
|
|
754
|
-
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
755
|
-
<
|
|
668
|
+
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
669
|
+
<br /><br />
|
|
670
|
+
<auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
|
|
756
671
|
<span slot="label">Name</span>
|
|
757
672
|
<span slot="helptext">Please enter your full name.</span>
|
|
758
673
|
</auro-input>
|
|
@@ -765,8 +680,9 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
765
680
|
|
|
766
681
|
```html
|
|
767
682
|
<auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
|
|
768
|
-
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
769
|
-
<
|
|
683
|
+
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
684
|
+
<br /><br />
|
|
685
|
+
<auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
|
|
770
686
|
<span slot="label">Name</span>
|
|
771
687
|
<span slot="helptext">Please enter your full name.</span>
|
|
772
688
|
</auro-input>
|
|
@@ -800,12 +716,9 @@ Use the `type="password"` attribute for a password style input. The hide/show pa
|
|
|
800
716
|
|
|
801
717
|
Default help text will be added to the input `type="password"` if custom help text is not provided. See the example below.
|
|
802
718
|
|
|
803
|
-
<div class="exampleWrapper
|
|
719
|
+
<div class="exampleWrapper">
|
|
804
720
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/password.html) -->
|
|
805
721
|
<!-- The below content is automatically added from ../apiExamples/password.html -->
|
|
806
|
-
<auro-input type="password" required>
|
|
807
|
-
<span slot="label">Password</span>
|
|
808
|
-
</auro-input>
|
|
809
722
|
<auro-input type="password" required bordered>
|
|
810
723
|
<span slot="label">Password</span>
|
|
811
724
|
<span slot="helptext">Please enter a secure password.</span>
|
|
@@ -818,9 +731,6 @@ Default help text will be added to the input `type="password"` if custom help te
|
|
|
818
731
|
<!-- The below code snippet is automatically added from ../apiExamples/password.html -->
|
|
819
732
|
|
|
820
733
|
```html
|
|
821
|
-
<auro-input type="password" required>
|
|
822
|
-
<span slot="label">Password</span>
|
|
823
|
-
</auro-input>
|
|
824
734
|
<auro-input type="password" required bordered>
|
|
825
735
|
<span slot="label">Password</span>
|
|
826
736
|
<span slot="helptext">Please enter a secure password.</span>
|
|
@@ -835,13 +745,10 @@ Use the `type="email"` attribute for a email style input. These examples illustr
|
|
|
835
745
|
|
|
836
746
|
Default help text will be added to the input `type="email"` if custom help text is not provided. See the example below.
|
|
837
747
|
|
|
838
|
-
<div class="exampleWrapper
|
|
748
|
+
<div class="exampleWrapper">
|
|
839
749
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/email.html) -->
|
|
840
750
|
<!-- The below content is automatically added from ../apiExamples/email.html -->
|
|
841
|
-
<auro-input
|
|
842
|
-
<slot slot="label">Email address</slot>
|
|
843
|
-
</auro-input>
|
|
844
|
-
<auro-input bordered required type="email">
|
|
751
|
+
<auro-input type="email" bordered required>
|
|
845
752
|
<slot slot="label">Email address</slot>
|
|
846
753
|
<slot slot="helptext">Please enter your email address.</slot>
|
|
847
754
|
</auro-input>
|
|
@@ -853,10 +760,7 @@ Default help text will be added to the input `type="email"` if custom help text
|
|
|
853
760
|
<!-- The below code snippet is automatically added from ../apiExamples/email.html -->
|
|
854
761
|
|
|
855
762
|
```html
|
|
856
|
-
<auro-input
|
|
857
|
-
<slot slot="label">Email address</slot>
|
|
858
|
-
</auro-input>
|
|
859
|
-
<auro-input bordered required type="email">
|
|
763
|
+
<auro-input type="email" bordered required>
|
|
860
764
|
<slot slot="label">Email address</slot>
|
|
861
765
|
<slot slot="helptext">Please enter your email address.</slot>
|
|
862
766
|
</auro-input>
|
|
@@ -870,14 +774,10 @@ Use the `type="number"` attribute for a numeric style input and invoke a numeric
|
|
|
870
774
|
|
|
871
775
|
This `number` input type should only be used for incremental numeric values, meaning values with decimals will be considered invalid. The `number` input type is not appropriate for values that happen to only consist of but aren't strictly speaking a number, such as postal codes in many countries or credit card numbers. See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number) for more information.
|
|
872
776
|
|
|
873
|
-
<div class="exampleWrapper
|
|
777
|
+
<div class="exampleWrapper">
|
|
874
778
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/number.html) -->
|
|
875
779
|
<!-- The below content is automatically added from ../apiExamples/number.html -->
|
|
876
|
-
<auro-input
|
|
877
|
-
<slot slot="label">Number of Passengers</slot>
|
|
878
|
-
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
879
|
-
</auro-input>
|
|
880
|
-
<auro-input bordered required type="number">
|
|
780
|
+
<auro-input type="number" bordered required>
|
|
881
781
|
<slot slot="label">Number of Passengers</slot>
|
|
882
782
|
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
883
783
|
</auro-input>
|
|
@@ -889,11 +789,7 @@ This `number` input type should only be used for incremental numeric values, mea
|
|
|
889
789
|
<!-- The below code snippet is automatically added from ../apiExamples/number.html -->
|
|
890
790
|
|
|
891
791
|
```html
|
|
892
|
-
<auro-input
|
|
893
|
-
<slot slot="label">Number of Passengers</slot>
|
|
894
|
-
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
895
|
-
</auro-input>
|
|
896
|
-
<auro-input bordered required type="number">
|
|
792
|
+
<auro-input type="number" bordered required>
|
|
897
793
|
<slot slot="label">Number of Passengers</slot>
|
|
898
794
|
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
899
795
|
</auro-input>
|
|
@@ -907,13 +803,10 @@ Use the `type="credit-card"` attribute for a credit card formatted input.
|
|
|
907
803
|
|
|
908
804
|
Default help text will be added to the input `type="credit-card"` if custom help text is not provided. See the example below.
|
|
909
805
|
|
|
910
|
-
<div class="exampleWrapper
|
|
806
|
+
<div class="exampleWrapper">
|
|
911
807
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCard.html) -->
|
|
912
808
|
<!-- The below content is automatically added from ../apiExamples/creditCard.html -->
|
|
913
|
-
<auro-input
|
|
914
|
-
<slot slot="label">Card number</slot>
|
|
915
|
-
</auro-input>
|
|
916
|
-
<auro-input bordered required type="credit-card">
|
|
809
|
+
<auro-input type="credit-card" bordered required>
|
|
917
810
|
<slot slot="label">Card number</slot>
|
|
918
811
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
919
812
|
</auro-input>
|
|
@@ -925,10 +818,7 @@ Default help text will be added to the input `type="credit-card"` if custom help
|
|
|
925
818
|
<!-- The below code snippet is automatically added from ../apiExamples/creditCard.html -->
|
|
926
819
|
|
|
927
820
|
```html
|
|
928
|
-
<auro-input
|
|
929
|
-
<slot slot="label">Card number</slot>
|
|
930
|
-
</auro-input>
|
|
931
|
-
<auro-input bordered required type="credit-card">
|
|
821
|
+
<auro-input type="credit-card" bordered required>
|
|
932
822
|
<slot slot="label">Card number</slot>
|
|
933
823
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
934
824
|
</auro-input>
|
|
@@ -939,13 +829,10 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
939
829
|
|
|
940
830
|
**Dependency**: Please be sure to also install [auro-icon](https://auro.alaskaair.com/components/auro/icon/install) as a peer dependency.
|
|
941
831
|
|
|
942
|
-
<div class="exampleWrapper
|
|
832
|
+
<div class="exampleWrapper">
|
|
943
833
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCardIcon.html) -->
|
|
944
834
|
<!-- The below content is automatically added from ../apiExamples/creditCardIcon.html -->
|
|
945
|
-
<auro-input
|
|
946
|
-
<slot slot="label">Card number</slot>
|
|
947
|
-
</auro-input>
|
|
948
|
-
<auro-input bordered required icon type="credit-card">
|
|
835
|
+
<auro-input icon type="credit-card" bordered required>
|
|
949
836
|
<slot slot="label">Card number</slot>
|
|
950
837
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
951
838
|
</auro-input>
|
|
@@ -958,10 +845,7 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
958
845
|
<!-- The below code snippet is automatically added from ../apiExamples/creditCardIcon.html -->
|
|
959
846
|
|
|
960
847
|
```html
|
|
961
|
-
<auro-input
|
|
962
|
-
<slot slot="label">Card number</slot>
|
|
963
|
-
</auro-input>
|
|
964
|
-
<auro-input bordered required icon type="credit-card">
|
|
848
|
+
<auro-input icon type="credit-card" bordered required>
|
|
965
849
|
<slot slot="label">Card number</slot>
|
|
966
850
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
967
851
|
</auro-input>
|
|
@@ -969,101 +853,81 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
969
853
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
970
854
|
</auro-accordion>
|
|
971
855
|
|
|
972
|
-
###
|
|
856
|
+
### Phone Number
|
|
973
857
|
|
|
974
|
-
Use the `type="
|
|
858
|
+
Use the `type="tel"` attribute for a phone number formatted input. The default format is `+1 (000) 000-0000`.
|
|
975
859
|
|
|
976
|
-
<div class="exampleWrapper
|
|
977
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/
|
|
978
|
-
<!-- The below content is automatically added from ../apiExamples/
|
|
979
|
-
<auro-input type="
|
|
980
|
-
<slot slot="label">Departure date</slot>
|
|
981
|
-
</auro-input>
|
|
982
|
-
<auro-input bordered type="month-day-year">
|
|
983
|
-
<slot slot="label">Arrival date</slot>
|
|
984
|
-
</auro-input>
|
|
860
|
+
<div class="exampleWrapper">
|
|
861
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/tel.html) -->
|
|
862
|
+
<!-- The below content is automatically added from ../apiExamples/tel.html -->
|
|
863
|
+
<auro-input type="tel" bordered></auro-input>
|
|
985
864
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
986
865
|
</div>
|
|
987
866
|
<auro-accordion alignRight>
|
|
988
867
|
<span slot="trigger">See code</span>
|
|
989
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/
|
|
990
|
-
<!-- The below code snippet is automatically added from ../apiExamples/
|
|
868
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/tel.html) -->
|
|
869
|
+
<!-- The below code snippet is automatically added from ../apiExamples/tel.html -->
|
|
991
870
|
|
|
992
871
|
```html
|
|
993
|
-
<auro-input type="
|
|
994
|
-
<slot slot="label">Departure date</slot>
|
|
995
|
-
</auro-input>
|
|
996
|
-
<auro-input bordered type="month-day-year">
|
|
997
|
-
<slot slot="label">Arrival date</slot>
|
|
998
|
-
</auro-input>
|
|
872
|
+
<auro-input type="tel" bordered></auro-input>
|
|
999
873
|
```
|
|
1000
874
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1001
875
|
</auro-accordion>
|
|
1002
|
-
|
|
876
|
+
|
|
877
|
+
#### Formatting
|
|
1003
878
|
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
<auro-input bordered type="month-year" required>
|
|
1011
|
-
<slot slot="label">Arrival date</slot>
|
|
1012
|
-
</auro-input>
|
|
879
|
+
Use the `format` attribute to set a custom phone number format.
|
|
880
|
+
|
|
881
|
+
<div class="exampleWrapper">
|
|
882
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/telFormat.html) -->
|
|
883
|
+
<!-- The below content is automatically added from ../apiExamples/telFormat.html -->
|
|
884
|
+
<auro-input type="tel" format="+22 999 99 9999" bordered></auro-input>
|
|
1013
885
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1014
886
|
</div>
|
|
1015
887
|
<auro-accordion alignRight>
|
|
1016
888
|
<span slot="trigger">See code</span>
|
|
1017
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/
|
|
1018
|
-
<!-- The below code snippet is automatically added from ../apiExamples/
|
|
889
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/telFormat.html) -->
|
|
890
|
+
<!-- The below code snippet is automatically added from ../apiExamples/telFormat.html -->
|
|
1019
891
|
|
|
1020
892
|
```html
|
|
1021
|
-
<auro-input type="
|
|
1022
|
-
<slot slot="label">Departure date</slot>
|
|
1023
|
-
</auro-input>
|
|
1024
|
-
<auro-input bordered type="month-year" required>
|
|
1025
|
-
<slot slot="label">Arrival date</slot>
|
|
1026
|
-
</auro-input>
|
|
893
|
+
<auro-input type="tel" format="+22 999 99 9999" bordered></auro-input>
|
|
1027
894
|
```
|
|
1028
895
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1029
896
|
</auro-accordion>
|
|
1030
|
-
|
|
897
|
+
|
|
898
|
+
### Date
|
|
1031
899
|
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
<auro-input bordered type="month-fullYear" required>
|
|
900
|
+
Use the `type="date"` attribute for a date formatted input. The default date format is `mm/dd/yyyy`.
|
|
901
|
+
|
|
902
|
+
<div class="exampleWrapper">
|
|
903
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthDayYear.html) -->
|
|
904
|
+
<!-- The below content is automatically added from ../apiExamples/monthDayYear.html -->
|
|
905
|
+
<auro-input type="date" bordered>
|
|
1039
906
|
<slot slot="label">Arrival date</slot>
|
|
1040
907
|
</auro-input>
|
|
1041
908
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1042
909
|
</div>
|
|
1043
910
|
<auro-accordion alignRight>
|
|
1044
911
|
<span slot="trigger">See code</span>
|
|
1045
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/
|
|
1046
|
-
<!-- The below code snippet is automatically added from ../apiExamples/
|
|
912
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/monthDayYear.html) -->
|
|
913
|
+
<!-- The below code snippet is automatically added from ../apiExamples/monthDayYear.html -->
|
|
1047
914
|
|
|
1048
915
|
```html
|
|
1049
|
-
<auro-input type="
|
|
1050
|
-
<slot slot="label">Departure date</slot>
|
|
1051
|
-
</auro-input>
|
|
1052
|
-
<auro-input bordered type="month-fullYear" required>
|
|
916
|
+
<auro-input type="date" bordered>
|
|
1053
917
|
<slot slot="label">Arrival date</slot>
|
|
1054
918
|
</auro-input>
|
|
1055
919
|
```
|
|
1056
920
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1057
921
|
</auro-accordion>
|
|
1058
|
-
|
|
922
|
+
|
|
923
|
+
#### Formatting
|
|
924
|
+
|
|
925
|
+
Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyyy` or `yy`.
|
|
1059
926
|
|
|
1060
|
-
<div class="exampleWrapper
|
|
927
|
+
<div class="exampleWrapper">
|
|
1061
928
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/yearMonthDay.html) -->
|
|
1062
929
|
<!-- The below content is automatically added from ../apiExamples/yearMonthDay.html -->
|
|
1063
|
-
<auro-input type="
|
|
1064
|
-
<slot slot="label">Departure date</slot>
|
|
1065
|
-
</auro-input>
|
|
1066
|
-
<auro-input bordered type="year-month-day">
|
|
930
|
+
<auro-input type="date" format="yyyy/mm/dd" bordered>
|
|
1067
931
|
<slot slot="label">Arrival date</slot>
|
|
1068
932
|
</auro-input>
|
|
1069
933
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1074,77 +938,48 @@ Use the `type="year-month-day"` attribute for a date formatted input.
|
|
|
1074
938
|
<!-- The below code snippet is automatically added from ../apiExamples/yearMonthDay.html -->
|
|
1075
939
|
|
|
1076
940
|
```html
|
|
1077
|
-
<auro-input type="
|
|
1078
|
-
<slot slot="label">Departure date</slot>
|
|
1079
|
-
</auro-input>
|
|
1080
|
-
<auro-input bordered type="year-month-day">
|
|
941
|
+
<auro-input type="date" format="yyyy/mm/dd" bordered>
|
|
1081
942
|
<slot slot="label">Arrival date</slot>
|
|
1082
943
|
</auro-input>
|
|
1083
944
|
```
|
|
1084
945
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1085
946
|
</auro-accordion>
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
<auro-input type="month">
|
|
1092
|
-
<slot slot="label">Month</slot>
|
|
1093
|
-
</auro-input>
|
|
1094
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1095
|
-
</div>
|
|
1096
|
-
<auro-accordion alignRight>
|
|
1097
|
-
<span slot="trigger">See code</span>
|
|
1098
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/month.html) -->
|
|
1099
|
-
<!-- The below code snippet is automatically added from ../apiExamples/month.html -->
|
|
1100
|
-
|
|
1101
|
-
```html
|
|
1102
|
-
<auro-input type="month">
|
|
1103
|
-
<slot slot="label">Month</slot>
|
|
1104
|
-
</auro-input>
|
|
1105
|
-
```
|
|
1106
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1107
|
-
</auro-accordion>
|
|
1108
|
-
Use the `type="year"` attribute for a date formatted input.
|
|
1109
|
-
|
|
1110
|
-
<div class="exampleWrapper exampleWrapper--flex">
|
|
1111
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/year.html) -->
|
|
1112
|
-
<!-- The below content is automatically added from ../apiExamples/year.html -->
|
|
1113
|
-
<auro-input type="year">
|
|
1114
|
-
<slot slot="label">Year</slot>
|
|
947
|
+
<div class="exampleWrapper">
|
|
948
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthYear.html) -->
|
|
949
|
+
<!-- The below content is automatically added from ../apiExamples/monthYear.html -->
|
|
950
|
+
<auro-input type="date" format="mm/yy" bordered>
|
|
951
|
+
<slot slot="label">Expiration date</slot>
|
|
1115
952
|
</auro-input>
|
|
1116
953
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1117
954
|
</div>
|
|
1118
955
|
<auro-accordion alignRight>
|
|
1119
956
|
<span slot="trigger">See code</span>
|
|
1120
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/
|
|
1121
|
-
<!-- The below code snippet is automatically added from ../apiExamples/
|
|
957
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/monthYear.html) -->
|
|
958
|
+
<!-- The below code snippet is automatically added from ../apiExamples/monthYear.html -->
|
|
1122
959
|
|
|
1123
960
|
```html
|
|
1124
|
-
<auro-input type="
|
|
1125
|
-
<slot slot="label">
|
|
961
|
+
<auro-input type="date" format="mm/yy" bordered>
|
|
962
|
+
<slot slot="label">Expiration date</slot>
|
|
1126
963
|
</auro-input>
|
|
1127
964
|
```
|
|
1128
965
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1129
966
|
</auro-accordion>
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
<auro-input type="fullYear">
|
|
1136
|
-
<slot slot="label">Full Year</slot>
|
|
967
|
+
<div class="exampleWrapper">
|
|
968
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/day.html) -->
|
|
969
|
+
<!-- The below content is automatically added from ../apiExamples/day.html -->
|
|
970
|
+
<auro-input type="date" format="dd" bordered>
|
|
971
|
+
<slot slot="label">Day</slot>
|
|
1137
972
|
</auro-input>
|
|
1138
973
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1139
974
|
</div>
|
|
1140
975
|
<auro-accordion alignRight>
|
|
1141
976
|
<span slot="trigger">See code</span>
|
|
1142
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/
|
|
1143
|
-
<!-- The below code snippet is automatically added from ../apiExamples/
|
|
977
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/day.html) -->
|
|
978
|
+
<!-- The below code snippet is automatically added from ../apiExamples/day.html -->
|
|
1144
979
|
|
|
1145
980
|
```html
|
|
1146
|
-
<auro-input type="
|
|
1147
|
-
<slot slot="label">
|
|
981
|
+
<auro-input type="date" format="dd" bordered>
|
|
982
|
+
<slot slot="label">Day</slot>
|
|
1148
983
|
</auro-input>
|
|
1149
984
|
```
|
|
1150
985
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1160,7 +995,7 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
1160
995
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/resetState.html) -->
|
|
1161
996
|
<!-- The below content is automatically added from ../apiExamples/resetState.html -->
|
|
1162
997
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
1163
|
-
<br /><br />
|
|
998
|
+
<br /><br />
|
|
1164
999
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1165
1000
|
<slot slot="label">Full Name</slot>
|
|
1166
1001
|
<slot slot="helptext">Please enter your full name.</slot>
|
|
@@ -1174,7 +1009,7 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
1174
1009
|
|
|
1175
1010
|
```html
|
|
1176
1011
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
1177
|
-
<br /><br />
|
|
1012
|
+
<br /><br />
|
|
1178
1013
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1179
1014
|
<slot slot="label">Full Name</slot>
|
|
1180
1015
|
<slot slot="helptext">Please enter your full name.</slot>
|
|
@@ -1200,7 +1035,7 @@ export function resetStateExample() {
|
|
|
1200
1035
|
|
|
1201
1036
|
Example illustrates using a JavaScript function attached to an `auro-button` component `click` event to swap the values of two `auro-input` elements. An example of this use case would be swapping the departure and arrival airports in a flight search form.
|
|
1202
1037
|
|
|
1203
|
-
<div class="exampleWrapper
|
|
1038
|
+
<div class="exampleWrapper">
|
|
1204
1039
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/swapValue.html) -->
|
|
1205
1040
|
<!-- The below content is automatically added from ../apiExamples/swapValue.html -->
|
|
1206
1041
|
<auro-input id="swapExampleLeft" bordered>
|
|
@@ -1292,7 +1127,6 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1292
1127
|
--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #{$ds-color-border-secondary-default});
|
|
1293
1128
|
--ds-auro-input-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
|
|
1294
1129
|
--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #{$ds-color-text-ui-focus-default});
|
|
1295
|
-
--ds-auro-input-help-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
|
|
1296
1130
|
--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
|
|
1297
1131
|
--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|
|
1298
1132
|
--ds-auro-input-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|