@aurodesignsystem/auro-formkit 2.0.0-beta.2 → 2.0.0-beta.21
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/.turbo/cache/048c5061758f42d5-meta.json +1 -0
- package/.turbo/cache/048c5061758f42d5.tar.zst +0 -0
- package/.turbo/cache/09d2311fd6562076-meta.json +1 -0
- package/.turbo/cache/09d2311fd6562076.tar.zst +0 -0
- package/.turbo/cache/0ada3342350716d5-meta.json +1 -0
- package/.turbo/cache/0ada3342350716d5.tar.zst +0 -0
- package/.turbo/cache/226476fa9e61cc81-meta.json +1 -0
- package/.turbo/cache/226476fa9e61cc81.tar.zst +0 -0
- package/.turbo/cache/26b534ba7ee176e5-meta.json +1 -0
- package/.turbo/cache/26b534ba7ee176e5.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
- package/.turbo/cache/2d21d0e971f28291-meta.json +1 -0
- package/.turbo/cache/2d21d0e971f28291.tar.zst +0 -0
- package/.turbo/cache/3a60640aa3aedd8a-meta.json +1 -0
- package/.turbo/cache/3a60640aa3aedd8a.tar.zst +0 -0
- package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -0
- package/.turbo/cache/45cd32cd38eacbcb.tar.zst +0 -0
- package/.turbo/cache/45fbe2fe40c2302a-meta.json +1 -0
- package/.turbo/cache/45fbe2fe40c2302a.tar.zst +0 -0
- package/.turbo/cache/46147a707109af3e-meta.json +1 -0
- package/.turbo/cache/46147a707109af3e.tar.zst +0 -0
- package/.turbo/cache/4699bc5f16a9eb63-meta.json +1 -0
- package/.turbo/cache/4699bc5f16a9eb63.tar.zst +0 -0
- package/.turbo/cache/4d9d8b6a169d8272-meta.json +1 -0
- package/.turbo/cache/4d9d8b6a169d8272.tar.zst +0 -0
- package/.turbo/cache/4f1f59ef262afdb7-meta.json +1 -0
- package/.turbo/cache/4f1f59ef262afdb7.tar.zst +0 -0
- package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -0
- package/.turbo/cache/50cd7dcfc9f820c5.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/5b3e6d7fcbed91d7-meta.json +1 -0
- package/.turbo/cache/5b3e6d7fcbed91d7.tar.zst +0 -0
- package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -0
- package/.turbo/cache/5b57cc0e26e1fd5d.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
- package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
- package/.turbo/cache/631d441eebe7e4ac-meta.json +1 -0
- package/.turbo/cache/631d441eebe7e4ac.tar.zst +0 -0
- package/.turbo/cache/6af0cfb35a4d9b50-meta.json +1 -0
- package/.turbo/cache/6af0cfb35a4d9b50.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/783a19e6c1e36dc4-meta.json +1 -0
- package/.turbo/cache/783a19e6c1e36dc4.tar.zst +0 -0
- package/.turbo/cache/78418f9089673a21-meta.json +1 -0
- package/.turbo/cache/78418f9089673a21.tar.zst +0 -0
- package/.turbo/cache/7964d1656e9e702a-meta.json +1 -0
- package/.turbo/cache/7964d1656e9e702a.tar.zst +0 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
- package/.turbo/cache/80ebd4b1fa5c1e3a-meta.json +1 -0
- package/.turbo/cache/80ebd4b1fa5c1e3a.tar.zst +0 -0
- package/.turbo/cache/81b950588f7d83f6-meta.json +1 -0
- package/.turbo/cache/81b950588f7d83f6.tar.zst +0 -0
- package/.turbo/cache/81e86c62df3233f1-meta.json +1 -0
- package/.turbo/cache/81e86c62df3233f1.tar.zst +0 -0
- package/.turbo/cache/82400c31013ddb91-meta.json +1 -0
- package/.turbo/cache/82400c31013ddb91.tar.zst +0 -0
- package/.turbo/cache/949113644726bb55-meta.json +1 -0
- package/.turbo/cache/949113644726bb55.tar.zst +0 -0
- package/.turbo/cache/9b6f6cd2350f80bc-meta.json +1 -0
- package/.turbo/cache/9b6f6cd2350f80bc.tar.zst +0 -0
- package/.turbo/cache/9d99fa3ab31d272f-meta.json +1 -0
- package/.turbo/cache/9d99fa3ab31d272f.tar.zst +0 -0
- package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -0
- package/.turbo/cache/a779ea8b78ce9d59.tar.zst +0 -0
- package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -0
- package/.turbo/cache/a9c36a3534c5496b.tar.zst +0 -0
- package/.turbo/cache/b0a6287f373e6400-meta.json +1 -0
- package/.turbo/cache/b0a6287f373e6400.tar.zst +0 -0
- package/.turbo/cache/b289ab794336616f-meta.json +1 -0
- package/.turbo/cache/b289ab794336616f.tar.zst +0 -0
- package/.turbo/cache/b2fd4dae3a507bc0-meta.json +1 -0
- package/.turbo/cache/b2fd4dae3a507bc0.tar.zst +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
- package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
- package/.turbo/cache/b6fd9dd7003776ae-meta.json +1 -0
- package/.turbo/cache/b6fd9dd7003776ae.tar.zst +0 -0
- package/.turbo/cache/b89dab696f5a8270-meta.json +1 -0
- package/.turbo/cache/b89dab696f5a8270.tar.zst +0 -0
- package/.turbo/cache/b8a40e55bb47f55f-meta.json +1 -0
- package/.turbo/cache/b8a40e55bb47f55f.tar.zst +0 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
- package/.turbo/cache/c03a12ff38ba1e02-meta.json +1 -0
- package/.turbo/cache/c03a12ff38ba1e02.tar.zst +0 -0
- package/.turbo/cache/c0ac4be01e1e8afd-meta.json +1 -0
- package/.turbo/cache/c0ac4be01e1e8afd.tar.zst +0 -0
- package/.turbo/cache/c5b9fac10bc33f4b-meta.json +1 -0
- package/.turbo/cache/c5b9fac10bc33f4b.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c7a029745c0280b7-meta.json +1 -0
- package/.turbo/cache/c7a029745c0280b7.tar.zst +0 -0
- package/.turbo/cache/cacc097c013aa1ff-meta.json +1 -0
- package/.turbo/cache/cacc097c013aa1ff.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
- package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
- package/.turbo/cache/db6efe0245a870a5-meta.json +1 -0
- package/.turbo/cache/db6efe0245a870a5.tar.zst +0 -0
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -0
- package/.turbo/cache/dc597b3ea4f61ec8.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/e84d01ebc415199c-meta.json +1 -0
- package/.turbo/cache/e84d01ebc415199c.tar.zst +0 -0
- package/.turbo/cache/f45bc65c58664d47-meta.json +1 -0
- package/.turbo/cache/f45bc65c58664d47.tar.zst +0 -0
- package/.turbo/cache/f6808644dc687b2c-meta.json +1 -0
- package/.turbo/cache/f6808644dc687b2c.tar.zst +0 -0
- package/.turbo/cache/ffdabdf92e6ad537-meta.json +1 -0
- package/.turbo/cache/ffdabdf92e6ad537.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +210 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +20 -21
- package/components/checkbox/.turbo/turbo-bundler.log +4 -4
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/.turbo/turbo-types.log +1 -1
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.md +70 -68
- package/components/checkbox/demo/api.min.js +196 -84
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +196 -84
- package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +19 -6
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +196 -84
- package/components/checkbox/package.json +2 -2
- package/components/checkbox/src/auro-checkbox-group.js +57 -20
- package/components/checkbox/src/auro-checkbox.js +30 -9
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +22 -23
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/README.md +23 -28
- package/components/combobox/demo/api.md +30 -26
- package/components/combobox/demo/api.min.js +3224 -948
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3221 -945
- package/components/combobox/dist/auro-combobox.d.ts +75 -73
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +2590 -628
- package/components/combobox/dist/inputVersion.d.ts +3 -0
- package/components/combobox/dist/inputVersion.d.ts.map +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
- package/components/combobox/node_modules/chalk/package.json +3 -3
- package/components/combobox/node_modules/chalk/readme.md +25 -53
- package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
- package/components/combobox/package.json +10 -11
- package/components/combobox/src/auro-combobox.js +222 -164
- package/components/combobox/src/dropdownVersion.js +1 -0
- package/components/combobox/src/inputVersion.js +1 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +325 -14
- package/components/counter/.turbo/turbo-bundler.log +10 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +104 -1014
- package/components/counter/demo/api.min.js +4773 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +190 -0
- package/components/counter/demo/index.min.js +4801 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +112 -5
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +89 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/dropdownVersion.d.ts +3 -0
- package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +4773 -36
- package/components/counter/dist/styles/color-css.d.ts +3 -0
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +9 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +229 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +287 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +25 -0
- package/components/counter/src/styles/color.scss +44 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +14 -0
- package/components/counter/src/styles/counter-button-color.scss +29 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +7 -0
- package/components/counter/src/styles/counter-button-tokens.scss +9 -0
- package/components/counter/src/styles/counter-button.css +187 -0
- package/components/counter/src/styles/counter-button.scss +83 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +9 -1
- package/components/counter/src/styles/counter-group.scss +10 -1
- package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper-color.css +4 -0
- package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
- package/components/counter/src/styles/counter-wrapper-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper.css +15 -0
- package/components/counter/src/styles/counter-wrapper.scss +29 -0
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +43 -1
- package/components/counter/src/styles/style.scss +48 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +11 -0
- package/components/counter/src/styles/tokens.scss +24 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +57 -57
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.md +182 -135
- package/components/datepicker/demo/api.min.js +1013 -569
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1013 -569
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +94 -78
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +1013 -569
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
- package/components/datepicker/package.json +3 -3
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +153 -107
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-bundler.log +4 -4
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/.turbo/turbo-types.log +1 -1
- package/components/dropdown/README.md +18 -26
- package/components/dropdown/demo/api.md +4 -4
- package/components/dropdown/demo/api.min.js +205 -81
- package/components/dropdown/demo/index.min.js +205 -81
- package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +205 -81
- package/components/dropdown/package.json +1 -1
- package/components/dropdown/src/auro-dropdown.js +154 -39
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +4 -0
- package/components/dropdown/src/styles/style.scss +5 -0
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +28 -34
- package/components/form/demo/api.min.js +338 -25
- package/components/form/demo/index.min.js +338 -25
- package/components/form/demo/registerDemoDeps.js +6 -0
- package/components/form/demo/working.html +108 -0
- package/components/form/dist/auro-form.d.ts +137 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +338 -25
- package/components/form/package.json +4 -2
- package/components/form/src/auro-form.js +335 -25
- package/components/input/.turbo/turbo-build$colon$sass.log +66 -16
- package/components/input/.turbo/turbo-build$colon$version.log +1 -1
- package/components/input/.turbo/turbo-build.log +78 -31
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
- package/components/input/.turbo/turbo-types.log +1 -1
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +151 -316
- package/components/input/demo/api.min.js +370 -150
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +370 -150
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +158 -87
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +370 -150
- package/components/input/dist/styles/mixins-css.d.ts +3 -0
- package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
- package/components/input/package.json +1 -1
- package/components/input/src/auro-input.js +0 -1
- package/components/input/src/base-input.js +257 -90
- package/components/input/src/styles/borders.scss +3 -19
- package/components/input/src/styles/color.css +1 -2
- package/components/input/src/styles/color.scss +3 -10
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +1 -1
- package/components/input/src/styles/input.scss +4 -1
- package/components/input/src/styles/label-css.js +1 -1
- package/components/input/src/styles/label.css +1 -1
- package/components/input/src/styles/label.scss +4 -7
- package/components/input/src/styles/mixins-css.js +2 -0
- package/components/input/src/styles/mixins.css +1 -0
- package/components/input/src/styles/mixins.scss +45 -0
- package/components/input/src/styles/notificationIcons-css.js +1 -1
- package/components/input/src/styles/notificationIcons.css +13 -12
- package/components/input/src/styles/notificationIcons.scss +17 -25
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +15 -17
- package/components/input/src/styles/style.scss +0 -4
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +22 -21
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +18 -26
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +626 -312
- package/components/menu/demo/index.min.js +624 -310
- package/components/menu/dist/auro-menu-utils.d.ts +43 -0
- package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
- package/components/menu/dist/auro-menu.d.ts +97 -81
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/index.d.ts +1 -0
- package/components/menu/dist/index.js +625 -311
- package/components/menu/package.json +1 -1
- package/components/menu/src/auro-menu-utils.js +131 -0
- package/components/menu/src/auro-menu.js +492 -303
- package/components/menu/src/index.js +7 -0
- package/components/menu/src/styles/color-menuoption-css.js +1 -1
- package/components/menu/src/styles/color-menuoption.css +3 -0
- package/components/menu/src/styles/color-menuoption.scss +4 -0
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +23 -24
- package/components/radio/.turbo/turbo-bundler.log +4 -4
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/.turbo/turbo-types.log +1 -1
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.md +7 -4
- package/components/radio/demo/api.min.js +120 -58
- package/components/radio/demo/index.min.js +120 -58
- package/components/radio/dist/auro-radio-group.d.ts +5 -0
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +120 -58
- package/components/radio/package.json +1 -1
- package/components/radio/src/auro-radio-group.js +10 -2
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +32 -33
- package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
- package/components/select/README.md +21 -42
- package/components/select/demo/api.md +92 -121
- package/components/select/demo/api.min.js +2723 -711
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +2722 -706
- package/components/select/dist/auro-select.d.ts +77 -48
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/dropdownVersion.d.ts +3 -0
- package/components/select/dist/dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.js +2082 -367
- package/components/select/package.json +3 -3
- package/components/select/src/auro-select.js +148 -129
- package/components/select/src/dropdownVersion.js +1 -0
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +14 -0
- package/components/select/src/styles/style.scss +24 -1
- package/package.json +21 -21
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/form-validation/src/validation.js +104 -50
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/turbo.json +13 -8
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
- package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
- package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
- package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
- package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
- package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
- package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
- package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
- package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
- package/.turbo/cache/6ef81cf9a66f982a.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/784c03fe9fd5ac05-meta.json +0 -1
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
- package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
- package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
- package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
- package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
- package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
- package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
- package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.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/bf85bc040b7e64db-meta.json +0 -1
- package/.turbo/cache/bf85bc040b7e64db.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/cd5f6987783fb56d-meta.json +0 -1
- package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
- package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
- package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
- package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
- package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
- package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
- package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
- package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
|
@@ -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
|
|
|
@@ -33,49 +16,49 @@ Generate unique names for dependency components.
|
|
|
33
16
|
|
|
34
17
|
| Property | Attribute | Type | Default | Description |
|
|
35
18
|
|-----------------------------------|-----------------------------------|-----------|-------------|--------------------------------------------------|
|
|
36
|
-
| [activeLabel](#activeLabel) | `activeLabel` | `
|
|
37
|
-
| [autocapitalize](#autocapitalize) | `autocapitalize` | `
|
|
38
|
-
| [autocomplete](#autocomplete) | `autocomplete` | `
|
|
39
|
-
| [autocorrect](#autocorrect) | `autocorrect` | `
|
|
40
|
-
| [customValidityTypeEmail](#customValidityTypeEmail) | `customValidityTypeEmail` | `string` | |
|
|
41
|
-
| [disabled](#disabled) | `disabled` | `
|
|
42
|
-
| [error](#error) | `error` | `
|
|
43
|
-
| [errorMessage](#errorMessage) | `errorMessage` | `
|
|
44
|
-
| [icon](#icon) | `icon` | `
|
|
45
|
-
| [id](#id) | `id` | `
|
|
46
|
-
| [lang](#lang) | `lang` | `
|
|
47
|
-
| [max](#max) | `max` | `
|
|
48
|
-
| [maxLength](#maxLength) | `maxLength` | `
|
|
49
|
-
| [min](#min) | `min` | `
|
|
50
|
-
| [minLength](#minLength) | `minLength` | `
|
|
51
|
-
| [name](#name) | `name` | `
|
|
52
|
-
| [noValidate](#noValidate) | `noValidate` | `
|
|
53
|
-
| [pattern](#pattern) | `pattern` | `
|
|
54
|
-
| [placeholder](#placeholder) | `placeholder` | `
|
|
55
|
-
| [readonly](#readonly) | `readonly` | `
|
|
56
|
-
| [required](#required) | `required` | `
|
|
57
|
-
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `
|
|
58
|
-
| [setCustomValidityBadInput](#setCustomValidityBadInput) | `setCustomValidityBadInput` | `
|
|
59
|
-
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `
|
|
60
|
-
| [setCustomValidityForType](#setCustomValidityForType) | `setCustomValidityForType` | `
|
|
61
|
-
| [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `
|
|
62
|
-
| [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `
|
|
63
|
-
| [setCustomValidityTooLong](#setCustomValidityTooLong) | `setCustomValidityTooLong` | `
|
|
64
|
-
| [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `
|
|
65
|
-
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `
|
|
66
|
-
| [spellcheck](#spellcheck) | `spellcheck` | `
|
|
67
|
-
| [type](#type) | `type` | `
|
|
68
|
-
| [validateOnInput](#validateOnInput) | `validateOnInput` | `
|
|
69
|
-
| [validity](#validity) | `validity` | `
|
|
70
|
-
| [value](#value) | `value` | `
|
|
19
|
+
| [activeLabel](#activeLabel) | `activeLabel` | `boolean` | false | If set, the label will remain fixed in the active position. |
|
|
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] |
|
|
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. |
|
|
22
|
+
| [autocorrect](#autocorrect) | `autocorrect` | `string` | | When set to `off`, stops iOS from auto-correcting words when typed into a text box. |
|
|
23
|
+
| [customValidityTypeEmail](#customValidityTypeEmail) | `customValidityTypeEmail` | `string` | | Custom help text message for email type validity. |
|
|
24
|
+
| [disabled](#disabled) | `disabled` | `boolean` | false | If set, disables the input. |
|
|
25
|
+
| [error](#error) | `error` | `string` | | |
|
|
26
|
+
| [errorMessage](#errorMessage) | `errorMessage` | `string` | | Contains the help text message for the current validity error. |
|
|
27
|
+
| [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. |
|
|
28
|
+
| [id](#id) | `id` | `string` | | Sets the unique ID of the element. |
|
|
29
|
+
| [lang](#lang) | `lang` | `string` | | Defines the language of an element. |
|
|
30
|
+
| [max](#max) | `max` | `string` | "undefined" | The maximum value allowed. This only applies for inputs with a type of `number` and all date formats. |
|
|
31
|
+
| [maxLength](#maxLength) | `maxLength` | `number` | "undefined" | The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher. |
|
|
32
|
+
| [min](#min) | `min` | `string` | "undefined" | The minimum value allowed. This only applies for inputs with a type of `number` and all date formats. |
|
|
33
|
+
| [minLength](#minLength) | `minLength` | `number` | "undefined" | The minimum number of characters the user can enter into the text input. This must be a non-negative integer value smaller than or equal to the value specified by `maxlength`. |
|
|
34
|
+
| [name](#name) | `name` | `string` | | Populates the `name` attribute on the input. |
|
|
35
|
+
| [noValidate](#noValidate) | `noValidate` | `boolean` | false | If set, disables auto-validation on blur. |
|
|
36
|
+
| [pattern](#pattern) | `pattern` | `string` | | Specifies a regular expression the form control's value should match. |
|
|
37
|
+
| [placeholder](#placeholder) | `placeholder` | `string` | | Define custom placeholder text, only supported by date input formats. |
|
|
38
|
+
| [readonly](#readonly) | `readonly` | `boolean` | | Makes the input read-only, but can be set programmatically. |
|
|
39
|
+
| [required](#required) | `required` | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
40
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
41
|
+
| [setCustomValidityBadInput](#setCustomValidityBadInput) | `setCustomValidityBadInput` | `string` | | Custom help text message to display when validity = `badInput`. |
|
|
42
|
+
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
43
|
+
| [setCustomValidityForType](#setCustomValidityForType) | `setCustomValidityForType` | `string` | "undefined" | Custom help text message to display for the declared element `type` and type validity fails. |
|
|
44
|
+
| [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
|
|
45
|
+
| [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
|
|
46
|
+
| [setCustomValidityTooLong](#setCustomValidityTooLong) | `setCustomValidityTooLong` | `string` | | Custom help text message to display when validity = `tooLong`. |
|
|
47
|
+
| [setCustomValidityTooShort](#setCustomValidityTooShort) | `setCustomValidityTooShort` | `string` | | Custom help text message to display when validity = `tooShort`. |
|
|
48
|
+
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
49
|
+
| [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`. |
|
|
50
|
+
| [type](#type) | `type` | `string` | | Populates the `type` attribute on the input. Allowed values are `password`, `email`, `credit-card`, `month-day-year`, `month-year`, `year-month-day` or `text`. If given value is not allowed or set, defaults to `text`. |
|
|
51
|
+
| [validateOnInput](#validateOnInput) | `validateOnInput` | `boolean` | | Sets validation mode to re-eval with each input. |
|
|
52
|
+
| [validity](#validity) | `validity` | `string` | | Specifies the `validityState` this element is in. |
|
|
53
|
+
| [value](#value) | `value` | `string` | | Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input. |
|
|
71
54
|
|
|
72
55
|
## Methods
|
|
73
56
|
|
|
74
|
-
| Method | Type
|
|
75
|
-
|
|
76
|
-
| [isDateType](#isDateType) | `(): boolean`
|
|
77
|
-
| [reset](#reset) | `(): void`
|
|
78
|
-
| [validate](#validate) | `(): void`
|
|
57
|
+
| Method | Type | Description |
|
|
58
|
+
|--------------|----------------------------------------|--------------------------------------------------|
|
|
59
|
+
| [isDateType](#isDateType) | `(): boolean` | |
|
|
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,12 +124,9 @@ 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="month-day-year" required>
|
|
148
|
-
<slot slot="label">Departure date</slot>
|
|
149
|
-
</auro-input>
|
|
150
130
|
<auro-input disabled bordered type="month-day-year">
|
|
151
131
|
<slot slot="label">Arrival date</slot>
|
|
152
132
|
</auro-input>
|
|
@@ -158,9 +138,6 @@ 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="month-day-year" required>
|
|
162
|
-
<slot slot="label">Departure date</slot>
|
|
163
|
-
</auro-input>
|
|
164
141
|
<auro-input disabled bordered type="month-day-year">
|
|
165
142
|
<slot slot="label">Arrival date</slot>
|
|
166
143
|
</auro-input>
|
|
@@ -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="month-day-year" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date.">
|
|
264
|
+
<auro-input type="month-day-year" 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="month-day-year" max="03/25/2023" setCustomValidityRangeOverflow="The selected date is past the defined maximum date.">
|
|
275
|
+
<auro-input type="month-day-year" 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,49 +295,13 @@ 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
|
```
|
|
329
302
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
330
303
|
</auro-accordion>
|
|
331
304
|
|
|
332
|
-
#### Max Length <a name="maxLength"></a>
|
|
333
|
-
Use the `maxlength` attribute to control the length of the input entered.
|
|
334
|
-
|
|
335
|
-
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.
|
|
336
|
-
|
|
337
|
-
<div class="exampleWrapper exampleWrapper--flex">
|
|
338
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
|
|
339
|
-
<!-- The below content is automatically added from ../apiExamples/maxLength.html -->
|
|
340
|
-
<auro-input required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
341
|
-
<slot slot="label">Voucher Code</slot>
|
|
342
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
343
|
-
</auro-input>
|
|
344
|
-
<auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
345
|
-
<slot slot="label">Voucher Code</slot>
|
|
346
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
347
|
-
</auro-input>
|
|
348
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
349
|
-
</div>
|
|
350
|
-
<auro-accordion alignRight>
|
|
351
|
-
<span slot="trigger">See code</span>
|
|
352
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxLength.html) -->
|
|
353
|
-
<!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
|
|
354
|
-
|
|
355
|
-
```html
|
|
356
|
-
<auro-input required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
357
|
-
<slot slot="label">Voucher Code</slot>
|
|
358
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
359
|
-
</auro-input>
|
|
360
|
-
<auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
361
|
-
<slot slot="label">Voucher Code</slot>
|
|
362
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
363
|
-
</auro-input>
|
|
364
|
-
```
|
|
365
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
366
|
-
</auro-accordion>
|
|
367
|
-
|
|
368
305
|
### Min <a name="min"></a>
|
|
369
306
|
Use the `min` attribute to define a minimum value used during validation. The attribute will only apply when `<auro-input>` also has a `type` attribute for `number` or any date format.
|
|
370
307
|
|
|
@@ -375,7 +312,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
375
312
|
<div class="exampleWrapper">
|
|
376
313
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minDate.html) -->
|
|
377
314
|
<!-- The below content is automatically added from ../apiExamples/minDate.html -->
|
|
378
|
-
<auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date.">
|
|
315
|
+
<auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
|
|
379
316
|
<span slot="label">Choose a date</span>
|
|
380
317
|
</auro-input>
|
|
381
318
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -386,7 +323,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
386
323
|
<!-- The below code snippet is automatically added from ../apiExamples/minDate.html -->
|
|
387
324
|
|
|
388
325
|
```html
|
|
389
|
-
<auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date.">
|
|
326
|
+
<auro-input type="month-day-year" min="03/25/2023" setCustomValidityRangeUnderflow="The selected date is before the defined minimum date." bordered>
|
|
390
327
|
<span slot="label">Choose a date</span>
|
|
391
328
|
</auro-input>
|
|
392
329
|
```
|
|
@@ -398,7 +335,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
398
335
|
<div class="exampleWrapper">
|
|
399
336
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minNumber.html) -->
|
|
400
337
|
<!-- The below content is automatically added from ../apiExamples/minNumber.html -->
|
|
401
|
-
<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>
|
|
402
339
|
<span slot="label">Choose a number</span>
|
|
403
340
|
</auro-input>
|
|
404
341
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -409,26 +346,50 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
409
346
|
<!-- The below code snippet is automatically added from ../apiExamples/minNumber.html -->
|
|
410
347
|
|
|
411
348
|
```html
|
|
412
|
-
<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>
|
|
413
350
|
<span slot="label">Choose a number</span>
|
|
414
351
|
</auro-input>
|
|
415
352
|
```
|
|
416
353
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
417
354
|
</auro-accordion>
|
|
418
355
|
|
|
356
|
+
### Max Length <a name="maxLength"></a>
|
|
357
|
+
Use the `maxlength` attribute to control the length of the input entered.
|
|
358
|
+
|
|
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.
|
|
360
|
+
|
|
361
|
+
<div class="exampleWrapper">
|
|
362
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
|
|
363
|
+
<!-- The below content is automatically added from ../apiExamples/maxLength.html -->
|
|
364
|
+
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
365
|
+
<slot slot="label">Voucher Code</slot>
|
|
366
|
+
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
367
|
+
</auro-input>
|
|
368
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
369
|
+
</div>
|
|
370
|
+
<auro-accordion alignRight>
|
|
371
|
+
<span slot="trigger">See code</span>
|
|
372
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/maxLength.html) -->
|
|
373
|
+
<!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
|
|
374
|
+
|
|
375
|
+
```html
|
|
376
|
+
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
377
|
+
<slot slot="label">Voucher Code</slot>
|
|
378
|
+
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
379
|
+
</auro-input>
|
|
380
|
+
```
|
|
381
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
382
|
+
</auro-accordion>
|
|
383
|
+
|
|
419
384
|
### Min Length <a name="minLength"></a>
|
|
420
385
|
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>
|
|
@@ -455,16 +412,12 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
|
|
|
455
412
|
### Pattern <a name="pattern"></a>
|
|
456
413
|
Use the `pattern` attribute to set custom input validation. This example also uses the `spellcheck` attribute set to `false` which in turn sets `autocorrect` to `off` and `autocapitalize` to `none`. Additionally the `maxlength` attribute sets the maximum length of characters that can be entered.
|
|
457
414
|
|
|
458
|
-
The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `
|
|
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"
|
|
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" setCustomValidityBadInput="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,40 +429,10 @@ 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"
|
|
432
|
+
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
|
|
480
433
|
<span slot="label">Username</span>
|
|
481
434
|
<span slot="helptext">Please enter a username.</span>
|
|
482
435
|
</auro-input>
|
|
483
|
-
<auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityBadInput="Only contain lowercase letters w/no spaces">
|
|
484
|
-
<span slot="label">Username</span>
|
|
485
|
-
<span slot="helptext">Please enter a username.</span>
|
|
486
|
-
</auro-input>
|
|
487
|
-
```
|
|
488
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
489
|
-
</auro-accordion>
|
|
490
|
-
|
|
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
436
|
```
|
|
514
437
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
515
438
|
</auro-accordion>
|
|
@@ -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>
|
|
@@ -641,14 +550,11 @@ The `<auro-input>` component follows the HTML5 input `validity` and `validitySta
|
|
|
641
550
|
### Required <a name="required"></a>
|
|
642
551
|
When present, the `required` attribute specifies that an input field must be filled out before submitting the form.
|
|
643
552
|
|
|
644
|
-
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`.
|
|
553
|
+
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
554
|
|
|
646
|
-
<div class="exampleWrapper
|
|
555
|
+
<div class="exampleWrapper">
|
|
647
556
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/required.html) -->
|
|
648
557
|
<!-- 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
558
|
<auro-input required bordered placeholder="John Doe">
|
|
653
559
|
<span slot="label">Full name</span>
|
|
654
560
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -661,9 +567,6 @@ When the validity check fails the validityState equals `valueMissing`. The error
|
|
|
661
567
|
<!-- The below code snippet is automatically added from ../apiExamples/required.html -->
|
|
662
568
|
|
|
663
569
|
```html
|
|
664
|
-
<auro-input required placeholder="John Doe">
|
|
665
|
-
<span slot="label">Full name</span>
|
|
666
|
-
</auro-input>
|
|
667
570
|
<auro-input required bordered placeholder="John Doe">
|
|
668
571
|
<span slot="label">Full name</span>
|
|
669
572
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -675,14 +578,10 @@ When the validity check fails the validityState equals `valueMissing`. The error
|
|
|
675
578
|
### Validation on input <a name="validateOnInput"></a>
|
|
676
579
|
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
580
|
|
|
678
|
-
<div class="exampleWrapper
|
|
581
|
+
<div class="exampleWrapper">
|
|
679
582
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/validateOnInput.html) -->
|
|
680
583
|
<!-- The below content is automatically added from ../apiExamples/validateOnInput.html -->
|
|
681
|
-
<auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+"
|
|
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
|
-
<auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
|
|
584
|
+
<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
585
|
<span slot="label">Full Name</span>
|
|
687
586
|
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
688
587
|
</auro-input>
|
|
@@ -694,11 +593,7 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
|
|
|
694
593
|
<!-- The below code snippet is automatically added from ../apiExamples/validateOnInput.html -->
|
|
695
594
|
|
|
696
595
|
```html
|
|
697
|
-
<auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+"
|
|
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
|
-
<auro-input validateOnInput bordered required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityBadInput="Full name requires two or more names with at least one space.">
|
|
596
|
+
<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
597
|
<span slot="label">Full Name</span>
|
|
703
598
|
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
704
599
|
</auro-input>
|
|
@@ -711,13 +606,9 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
|
|
|
711
606
|
|
|
712
607
|
**NOTE:** Custom strings are NOT localized. It is the responsibility of the element consumer to provide localized strings when using this element property.
|
|
713
608
|
|
|
714
|
-
<div class="exampleWrapper
|
|
609
|
+
<div class="exampleWrapper">
|
|
715
610
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/setCustomValidity.html) -->
|
|
716
611
|
<!-- 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
612
|
<auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
722
613
|
<span slot="label">Full Name</span>
|
|
723
614
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -730,10 +621,6 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
|
|
|
730
621
|
<!-- The below code snippet is automatically added from ../apiExamples/setCustomValidity.html -->
|
|
731
622
|
|
|
732
623
|
```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
624
|
<auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
738
625
|
<span slot="label">Full Name</span>
|
|
739
626
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -745,12 +632,15 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
|
|
|
745
632
|
### Error <a name="error"></a>
|
|
746
633
|
Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
|
|
747
634
|
|
|
635
|
+
A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
|
|
636
|
+
|
|
748
637
|
<div class="exampleWrapper">
|
|
749
638
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/error.html) -->
|
|
750
639
|
<!-- The below content is automatically added from ../apiExamples/error.html -->
|
|
751
640
|
<auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
|
|
752
|
-
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
753
|
-
<
|
|
641
|
+
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
642
|
+
<br /><br />
|
|
643
|
+
<auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
|
|
754
644
|
<span slot="label">Name</span>
|
|
755
645
|
<span slot="helptext">Please enter your full name.</span>
|
|
756
646
|
</auro-input>
|
|
@@ -763,8 +653,9 @@ Use the `error` attribute to apply a persistent custom error that supersedes the
|
|
|
763
653
|
|
|
764
654
|
```html
|
|
765
655
|
<auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
|
|
766
|
-
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
767
|
-
<
|
|
656
|
+
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
657
|
+
<br /><br />
|
|
658
|
+
<auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
|
|
768
659
|
<span slot="label">Name</span>
|
|
769
660
|
<span slot="helptext">Please enter your full name.</span>
|
|
770
661
|
</auro-input>
|
|
@@ -798,12 +689,9 @@ Use the `type="password"` attribute for a password style input. The hide/show pa
|
|
|
798
689
|
|
|
799
690
|
Default help text will be added to the input `type="password"` if custom help text is not provided. See the example below.
|
|
800
691
|
|
|
801
|
-
<div class="exampleWrapper
|
|
692
|
+
<div class="exampleWrapper">
|
|
802
693
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/password.html) -->
|
|
803
694
|
<!-- The below content is automatically added from ../apiExamples/password.html -->
|
|
804
|
-
<auro-input type="password" required>
|
|
805
|
-
<span slot="label">Password</span>
|
|
806
|
-
</auro-input>
|
|
807
695
|
<auro-input type="password" required bordered>
|
|
808
696
|
<span slot="label">Password</span>
|
|
809
697
|
<span slot="helptext">Please enter a secure password.</span>
|
|
@@ -816,9 +704,6 @@ Default help text will be added to the input `type="password"` if custom help te
|
|
|
816
704
|
<!-- The below code snippet is automatically added from ../apiExamples/password.html -->
|
|
817
705
|
|
|
818
706
|
```html
|
|
819
|
-
<auro-input type="password" required>
|
|
820
|
-
<span slot="label">Password</span>
|
|
821
|
-
</auro-input>
|
|
822
707
|
<auro-input type="password" required bordered>
|
|
823
708
|
<span slot="label">Password</span>
|
|
824
709
|
<span slot="helptext">Please enter a secure password.</span>
|
|
@@ -833,13 +718,10 @@ Use the `type="email"` attribute for a email style input. These examples illustr
|
|
|
833
718
|
|
|
834
719
|
Default help text will be added to the input `type="email"` if custom help text is not provided. See the example below.
|
|
835
720
|
|
|
836
|
-
<div class="exampleWrapper
|
|
721
|
+
<div class="exampleWrapper">
|
|
837
722
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/email.html) -->
|
|
838
723
|
<!-- The below content is automatically added from ../apiExamples/email.html -->
|
|
839
|
-
<auro-input
|
|
840
|
-
<slot slot="label">Email address</slot>
|
|
841
|
-
</auro-input>
|
|
842
|
-
<auro-input bordered required type="email">
|
|
724
|
+
<auro-input type="email" bordered required>
|
|
843
725
|
<slot slot="label">Email address</slot>
|
|
844
726
|
<slot slot="helptext">Please enter your email address.</slot>
|
|
845
727
|
</auro-input>
|
|
@@ -851,10 +733,7 @@ Default help text will be added to the input `type="email"` if custom help text
|
|
|
851
733
|
<!-- The below code snippet is automatically added from ../apiExamples/email.html -->
|
|
852
734
|
|
|
853
735
|
```html
|
|
854
|
-
<auro-input
|
|
855
|
-
<slot slot="label">Email address</slot>
|
|
856
|
-
</auro-input>
|
|
857
|
-
<auro-input bordered required type="email">
|
|
736
|
+
<auro-input type="email" bordered required>
|
|
858
737
|
<slot slot="label">Email address</slot>
|
|
859
738
|
<slot slot="helptext">Please enter your email address.</slot>
|
|
860
739
|
</auro-input>
|
|
@@ -868,14 +747,10 @@ Use the `type="number"` attribute for a numeric style input and invoke a numeric
|
|
|
868
747
|
|
|
869
748
|
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.
|
|
870
749
|
|
|
871
|
-
<div class="exampleWrapper
|
|
750
|
+
<div class="exampleWrapper">
|
|
872
751
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/number.html) -->
|
|
873
752
|
<!-- The below content is automatically added from ../apiExamples/number.html -->
|
|
874
|
-
<auro-input
|
|
875
|
-
<slot slot="label">Number of Passengers</slot>
|
|
876
|
-
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
877
|
-
</auro-input>
|
|
878
|
-
<auro-input bordered required type="number">
|
|
753
|
+
<auro-input type="number" bordered required>
|
|
879
754
|
<slot slot="label">Number of Passengers</slot>
|
|
880
755
|
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
881
756
|
</auro-input>
|
|
@@ -887,11 +762,7 @@ This `number` input type should only be used for incremental numeric values, mea
|
|
|
887
762
|
<!-- The below code snippet is automatically added from ../apiExamples/number.html -->
|
|
888
763
|
|
|
889
764
|
```html
|
|
890
|
-
<auro-input
|
|
891
|
-
<slot slot="label">Number of Passengers</slot>
|
|
892
|
-
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
893
|
-
</auro-input>
|
|
894
|
-
<auro-input bordered required type="number">
|
|
765
|
+
<auro-input type="number" bordered required>
|
|
895
766
|
<slot slot="label">Number of Passengers</slot>
|
|
896
767
|
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
897
768
|
</auro-input>
|
|
@@ -905,13 +776,10 @@ Use the `type="credit-card"` attribute for a credit card formatted input.
|
|
|
905
776
|
|
|
906
777
|
Default help text will be added to the input `type="credit-card"` if custom help text is not provided. See the example below.
|
|
907
778
|
|
|
908
|
-
<div class="exampleWrapper
|
|
779
|
+
<div class="exampleWrapper">
|
|
909
780
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCard.html) -->
|
|
910
781
|
<!-- The below content is automatically added from ../apiExamples/creditCard.html -->
|
|
911
|
-
<auro-input
|
|
912
|
-
<slot slot="label">Card number</slot>
|
|
913
|
-
</auro-input>
|
|
914
|
-
<auro-input bordered required type="credit-card">
|
|
782
|
+
<auro-input type="credit-card" bordered required>
|
|
915
783
|
<slot slot="label">Card number</slot>
|
|
916
784
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
917
785
|
</auro-input>
|
|
@@ -923,10 +791,7 @@ Default help text will be added to the input `type="credit-card"` if custom help
|
|
|
923
791
|
<!-- The below code snippet is automatically added from ../apiExamples/creditCard.html -->
|
|
924
792
|
|
|
925
793
|
```html
|
|
926
|
-
<auro-input
|
|
927
|
-
<slot slot="label">Card number</slot>
|
|
928
|
-
</auro-input>
|
|
929
|
-
<auro-input bordered required type="credit-card">
|
|
794
|
+
<auro-input type="credit-card" bordered required>
|
|
930
795
|
<slot slot="label">Card number</slot>
|
|
931
796
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
932
797
|
</auro-input>
|
|
@@ -937,13 +802,10 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
937
802
|
|
|
938
803
|
**Dependency**: Please be sure to also install [auro-icon](https://auro.alaskaair.com/components/auro/icon/install) as a peer dependency.
|
|
939
804
|
|
|
940
|
-
<div class="exampleWrapper
|
|
805
|
+
<div class="exampleWrapper">
|
|
941
806
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCardIcon.html) -->
|
|
942
807
|
<!-- The below content is automatically added from ../apiExamples/creditCardIcon.html -->
|
|
943
|
-
<auro-input
|
|
944
|
-
<slot slot="label">Card number</slot>
|
|
945
|
-
</auro-input>
|
|
946
|
-
<auro-input bordered required icon type="credit-card">
|
|
808
|
+
<auro-input icon type="credit-card" bordered required>
|
|
947
809
|
<slot slot="label">Card number</slot>
|
|
948
810
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
949
811
|
</auro-input>
|
|
@@ -956,10 +818,7 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
956
818
|
<!-- The below code snippet is automatically added from ../apiExamples/creditCardIcon.html -->
|
|
957
819
|
|
|
958
820
|
```html
|
|
959
|
-
<auro-input
|
|
960
|
-
<slot slot="label">Card number</slot>
|
|
961
|
-
</auro-input>
|
|
962
|
-
<auro-input bordered required icon type="credit-card">
|
|
821
|
+
<auro-input icon type="credit-card" bordered required>
|
|
963
822
|
<slot slot="label">Card number</slot>
|
|
964
823
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
965
824
|
</auro-input>
|
|
@@ -971,13 +830,10 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
971
830
|
|
|
972
831
|
Use the `type="month-day-year"` attribute for a date formatted input.
|
|
973
832
|
|
|
974
|
-
<div class="exampleWrapper
|
|
833
|
+
<div class="exampleWrapper">
|
|
975
834
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthDayYear.html) -->
|
|
976
835
|
<!-- The below content is automatically added from ../apiExamples/monthDayYear.html -->
|
|
977
|
-
<auro-input type="month-day-year"
|
|
978
|
-
<slot slot="label">Departure date</slot>
|
|
979
|
-
</auro-input>
|
|
980
|
-
<auro-input bordered type="month-day-year">
|
|
836
|
+
<auro-input type="month-day-year" bordered>
|
|
981
837
|
<slot slot="label">Arrival date</slot>
|
|
982
838
|
</auro-input>
|
|
983
839
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -988,10 +844,7 @@ Use the `type="month-day-year"` attribute for a date formatted input.
|
|
|
988
844
|
<!-- The below code snippet is automatically added from ../apiExamples/monthDayYear.html -->
|
|
989
845
|
|
|
990
846
|
```html
|
|
991
|
-
<auro-input type="month-day-year"
|
|
992
|
-
<slot slot="label">Departure date</slot>
|
|
993
|
-
</auro-input>
|
|
994
|
-
<auro-input bordered type="month-day-year">
|
|
847
|
+
<auro-input type="month-day-year" bordered>
|
|
995
848
|
<slot slot="label">Arrival date</slot>
|
|
996
849
|
</auro-input>
|
|
997
850
|
```
|
|
@@ -999,13 +852,10 @@ Use the `type="month-day-year"` attribute for a date formatted input.
|
|
|
999
852
|
</auro-accordion>
|
|
1000
853
|
Use the `type="month-year"` attribute for a date formatted input.
|
|
1001
854
|
|
|
1002
|
-
<div class="exampleWrapper
|
|
855
|
+
<div class="exampleWrapper">
|
|
1003
856
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthYear.html) -->
|
|
1004
857
|
<!-- The below content is automatically added from ../apiExamples/monthYear.html -->
|
|
1005
|
-
<auro-input type="month-year">
|
|
1006
|
-
<slot slot="label">Departure date</slot>
|
|
1007
|
-
</auro-input>
|
|
1008
|
-
<auro-input bordered type="month-year" required>
|
|
858
|
+
<auro-input type="month-year" bordered>
|
|
1009
859
|
<slot slot="label">Arrival date</slot>
|
|
1010
860
|
</auro-input>
|
|
1011
861
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1016,10 +866,7 @@ Use the `type="month-year"` attribute for a date formatted input.
|
|
|
1016
866
|
<!-- The below code snippet is automatically added from ../apiExamples/monthYear.html -->
|
|
1017
867
|
|
|
1018
868
|
```html
|
|
1019
|
-
<auro-input type="month-year">
|
|
1020
|
-
<slot slot="label">Departure date</slot>
|
|
1021
|
-
</auro-input>
|
|
1022
|
-
<auro-input bordered type="month-year" required>
|
|
869
|
+
<auro-input type="month-year" bordered>
|
|
1023
870
|
<slot slot="label">Arrival date</slot>
|
|
1024
871
|
</auro-input>
|
|
1025
872
|
```
|
|
@@ -1027,13 +874,10 @@ Use the `type="month-year"` attribute for a date formatted input.
|
|
|
1027
874
|
</auro-accordion>
|
|
1028
875
|
Use the `type="month-fullYear"` attribute for a date formatted input.
|
|
1029
876
|
|
|
1030
|
-
<div class="exampleWrapper
|
|
877
|
+
<div class="exampleWrapper">
|
|
1031
878
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthFullYear.html) -->
|
|
1032
879
|
<!-- The below content is automatically added from ../apiExamples/monthFullYear.html -->
|
|
1033
|
-
<auro-input type="month-fullYear">
|
|
1034
|
-
<slot slot="label">Departure date</slot>
|
|
1035
|
-
</auro-input>
|
|
1036
|
-
<auro-input bordered type="month-fullYear" required>
|
|
880
|
+
<auro-input type="month-fullYear" bordered>
|
|
1037
881
|
<slot slot="label">Arrival date</slot>
|
|
1038
882
|
</auro-input>
|
|
1039
883
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1044,10 +888,7 @@ Use the `type="month-fullYear"` attribute for a date formatted input.
|
|
|
1044
888
|
<!-- The below code snippet is automatically added from ../apiExamples/monthFullYear.html -->
|
|
1045
889
|
|
|
1046
890
|
```html
|
|
1047
|
-
<auro-input type="month-fullYear">
|
|
1048
|
-
<slot slot="label">Departure date</slot>
|
|
1049
|
-
</auro-input>
|
|
1050
|
-
<auro-input bordered type="month-fullYear" required>
|
|
891
|
+
<auro-input type="month-fullYear" bordered>
|
|
1051
892
|
<slot slot="label">Arrival date</slot>
|
|
1052
893
|
</auro-input>
|
|
1053
894
|
```
|
|
@@ -1055,13 +896,10 @@ Use the `type="month-fullYear"` attribute for a date formatted input.
|
|
|
1055
896
|
</auro-accordion>
|
|
1056
897
|
Use the `type="year-month-day"` attribute for a date formatted input.
|
|
1057
898
|
|
|
1058
|
-
<div class="exampleWrapper
|
|
899
|
+
<div class="exampleWrapper">
|
|
1059
900
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/yearMonthDay.html) -->
|
|
1060
901
|
<!-- The below content is automatically added from ../apiExamples/yearMonthDay.html -->
|
|
1061
|
-
<auro-input type="year-month-day"
|
|
1062
|
-
<slot slot="label">Departure date</slot>
|
|
1063
|
-
</auro-input>
|
|
1064
|
-
<auro-input bordered type="year-month-day">
|
|
902
|
+
<auro-input type="year-month-day" bordered>
|
|
1065
903
|
<slot slot="label">Arrival date</slot>
|
|
1066
904
|
</auro-input>
|
|
1067
905
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1072,10 +910,7 @@ Use the `type="year-month-day"` attribute for a date formatted input.
|
|
|
1072
910
|
<!-- The below code snippet is automatically added from ../apiExamples/yearMonthDay.html -->
|
|
1073
911
|
|
|
1074
912
|
```html
|
|
1075
|
-
<auro-input type="year-month-day"
|
|
1076
|
-
<slot slot="label">Departure date</slot>
|
|
1077
|
-
</auro-input>
|
|
1078
|
-
<auro-input bordered type="year-month-day">
|
|
913
|
+
<auro-input type="year-month-day" bordered>
|
|
1079
914
|
<slot slot="label">Arrival date</slot>
|
|
1080
915
|
</auro-input>
|
|
1081
916
|
```
|
|
@@ -1083,10 +918,10 @@ Use the `type="year-month-day"` attribute for a date formatted input.
|
|
|
1083
918
|
</auro-accordion>
|
|
1084
919
|
Use the `type="month"` attribute for a date formatted input.
|
|
1085
920
|
|
|
1086
|
-
<div class="exampleWrapper
|
|
921
|
+
<div class="exampleWrapper">
|
|
1087
922
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/month.html) -->
|
|
1088
923
|
<!-- The below content is automatically added from ../apiExamples/month.html -->
|
|
1089
|
-
<auro-input type="month">
|
|
924
|
+
<auro-input type="month" bordered>
|
|
1090
925
|
<slot slot="label">Month</slot>
|
|
1091
926
|
</auro-input>
|
|
1092
927
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1097,7 +932,7 @@ Use the `type="month"` attribute for a date formatted input.
|
|
|
1097
932
|
<!-- The below code snippet is automatically added from ../apiExamples/month.html -->
|
|
1098
933
|
|
|
1099
934
|
```html
|
|
1100
|
-
<auro-input type="month">
|
|
935
|
+
<auro-input type="month" bordered>
|
|
1101
936
|
<slot slot="label">Month</slot>
|
|
1102
937
|
</auro-input>
|
|
1103
938
|
```
|
|
@@ -1105,10 +940,10 @@ Use the `type="month"` attribute for a date formatted input.
|
|
|
1105
940
|
</auro-accordion>
|
|
1106
941
|
Use the `type="year"` attribute for a date formatted input.
|
|
1107
942
|
|
|
1108
|
-
<div class="exampleWrapper
|
|
943
|
+
<div class="exampleWrapper">
|
|
1109
944
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/year.html) -->
|
|
1110
945
|
<!-- The below content is automatically added from ../apiExamples/year.html -->
|
|
1111
|
-
<auro-input type="year">
|
|
946
|
+
<auro-input type="year" bordered>
|
|
1112
947
|
<slot slot="label">Year</slot>
|
|
1113
948
|
</auro-input>
|
|
1114
949
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1119,7 +954,7 @@ Use the `type="year"` attribute for a date formatted input.
|
|
|
1119
954
|
<!-- The below code snippet is automatically added from ../apiExamples/year.html -->
|
|
1120
955
|
|
|
1121
956
|
```html
|
|
1122
|
-
<auro-input type="year">
|
|
957
|
+
<auro-input type="year" bordered>
|
|
1123
958
|
<slot slot="label">Year</slot>
|
|
1124
959
|
</auro-input>
|
|
1125
960
|
```
|
|
@@ -1127,10 +962,10 @@ Use the `type="year"` attribute for a date formatted input.
|
|
|
1127
962
|
</auro-accordion>
|
|
1128
963
|
Use the `type="fullYear"` attribute for a date formatted input.
|
|
1129
964
|
|
|
1130
|
-
<div class="exampleWrapper
|
|
965
|
+
<div class="exampleWrapper">
|
|
1131
966
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/fullYear.html) -->
|
|
1132
967
|
<!-- The below content is automatically added from ../apiExamples/fullYear.html -->
|
|
1133
|
-
<auro-input type="fullYear">
|
|
968
|
+
<auro-input type="fullYear" bordered>
|
|
1134
969
|
<slot slot="label">Full Year</slot>
|
|
1135
970
|
</auro-input>
|
|
1136
971
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1141,7 +976,7 @@ Use the `type="fullYear"` attribute for a date formatted input.
|
|
|
1141
976
|
<!-- The below code snippet is automatically added from ../apiExamples/fullYear.html -->
|
|
1142
977
|
|
|
1143
978
|
```html
|
|
1144
|
-
<auro-input type="fullYear">
|
|
979
|
+
<auro-input type="fullYear" bordered>
|
|
1145
980
|
<slot slot="label">Full Year</slot>
|
|
1146
981
|
</auro-input>
|
|
1147
982
|
```
|
|
@@ -1158,7 +993,7 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
1158
993
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/resetState.html) -->
|
|
1159
994
|
<!-- The below content is automatically added from ../apiExamples/resetState.html -->
|
|
1160
995
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
1161
|
-
<br /><br />
|
|
996
|
+
<br /><br />
|
|
1162
997
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1163
998
|
<slot slot="label">Full Name</slot>
|
|
1164
999
|
<slot slot="helptext">Please enter your full name.</slot>
|
|
@@ -1172,7 +1007,7 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
1172
1007
|
|
|
1173
1008
|
```html
|
|
1174
1009
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
1175
|
-
<br /><br />
|
|
1010
|
+
<br /><br />
|
|
1176
1011
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1177
1012
|
<slot slot="label">Full Name</slot>
|
|
1178
1013
|
<slot slot="helptext">Please enter your full name.</slot>
|
|
@@ -1198,7 +1033,7 @@ export function resetStateExample() {
|
|
|
1198
1033
|
|
|
1199
1034
|
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.
|
|
1200
1035
|
|
|
1201
|
-
<div class="exampleWrapper
|
|
1036
|
+
<div class="exampleWrapper">
|
|
1202
1037
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/swapValue.html) -->
|
|
1203
1038
|
<!-- The below content is automatically added from ../apiExamples/swapValue.html -->
|
|
1204
1039
|
<auro-input id="swapExampleLeft" bordered>
|