@aurodesignsystem/auro-formkit 2.0.0-beta.4 → 2.0.0-beta.6
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/06845874cc82b186-meta.json +1 -0
- package/.turbo/cache/06845874cc82b186.tar.zst +0 -0
- package/.turbo/cache/0a96f136af026d57-meta.json +1 -0
- package/.turbo/cache/0a96f136af026d57.tar.zst +0 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
- package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
- package/.turbo/cache/0ca9c5ccf3e90704-meta.json +1 -0
- package/.turbo/cache/0ca9c5ccf3e90704.tar.zst +0 -0
- package/.turbo/cache/14f6c585a8504aed-meta.json +1 -0
- package/.turbo/cache/14f6c585a8504aed.tar.zst +0 -0
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
- package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
- package/.turbo/cache/1a8d6e4cab38121a-meta.json +1 -0
- package/.turbo/cache/1a8d6e4cab38121a.tar.zst +0 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
- package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
- package/.turbo/cache/2ec1b6d23563659e-meta.json +1 -0
- package/.turbo/cache/2ec1b6d23563659e.tar.zst +0 -0
- package/.turbo/cache/3afc5b2ea7c1bf51-meta.json +1 -0
- package/.turbo/cache/3afc5b2ea7c1bf51.tar.zst +0 -0
- package/.turbo/cache/3cd8fc5f388323db-meta.json +1 -0
- package/.turbo/cache/3cd8fc5f388323db.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
- package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
- package/.turbo/cache/40de011abc31c0cf-meta.json +1 -0
- package/.turbo/cache/40de011abc31c0cf.tar.zst +0 -0
- package/.turbo/cache/426c825f57054f5f-meta.json +1 -0
- package/.turbo/cache/426c825f57054f5f.tar.zst +0 -0
- package/.turbo/cache/4524aae614598308-meta.json +1 -0
- package/.turbo/cache/4524aae614598308.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
- package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/577d86e4072c01f5-meta.json +1 -0
- package/.turbo/cache/577d86e4072c01f5.tar.zst +0 -0
- package/.turbo/cache/5aadae8d3f94202e-meta.json +1 -0
- package/.turbo/cache/5aadae8d3f94202e.tar.zst +0 -0
- package/.turbo/cache/5d770c787aa78d4d-meta.json +1 -0
- package/.turbo/cache/5d770c787aa78d4d.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
- package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
- package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
- package/.turbo/cache/624bf5350aacae42-meta.json +1 -0
- package/.turbo/cache/624bf5350aacae42.tar.zst +0 -0
- package/.turbo/cache/66333b75c8f57565-meta.json +1 -0
- package/.turbo/cache/66333b75c8f57565.tar.zst +0 -0
- package/.turbo/cache/66e9cca767930b1d-meta.json +1 -0
- package/.turbo/cache/66e9cca767930b1d.tar.zst +0 -0
- package/.turbo/cache/68060c79df03f45a-meta.json +1 -0
- package/.turbo/cache/68060c79df03f45a.tar.zst +0 -0
- package/.turbo/cache/68e3afb31feab4e9-meta.json +1 -0
- package/.turbo/cache/68e3afb31feab4e9.tar.zst +0 -0
- package/.turbo/cache/6a1c28febca6163f-meta.json +1 -0
- package/.turbo/cache/6a1c28febca6163f.tar.zst +0 -0
- package/.turbo/cache/6bc4e2d881af6ffb-meta.json +1 -0
- package/.turbo/cache/6bc4e2d881af6ffb.tar.zst +0 -0
- package/.turbo/cache/6c8ea74dc3b07640-meta.json +1 -0
- package/.turbo/cache/6c8ea74dc3b07640.tar.zst +0 -0
- package/.turbo/cache/71dbeaf0706c12fe-meta.json +1 -0
- package/.turbo/cache/71dbeaf0706c12fe.tar.zst +0 -0
- package/.turbo/cache/7445df6e7feed2a7-meta.json +1 -0
- package/.turbo/cache/7445df6e7feed2a7.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/7a6ef918375d4010-meta.json +1 -0
- package/.turbo/cache/7a6ef918375d4010.tar.zst +0 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
- package/.turbo/cache/7f3b42ddf36d0158-meta.json +1 -0
- package/.turbo/cache/7f3b42ddf36d0158.tar.zst +0 -0
- package/.turbo/cache/83e1029b14af6545-meta.json +1 -0
- package/.turbo/cache/83e1029b14af6545.tar.zst +0 -0
- package/.turbo/cache/98936c69a55361fc-meta.json +1 -0
- package/.turbo/cache/98936c69a55361fc.tar.zst +0 -0
- package/.turbo/cache/9a9b4e449cd84be4-meta.json +1 -0
- package/.turbo/cache/9a9b4e449cd84be4.tar.zst +0 -0
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
- package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
- package/.turbo/cache/a275406512608e45-meta.json +1 -0
- package/.turbo/cache/a275406512608e45.tar.zst +0 -0
- package/.turbo/cache/a3db8f78e018a955-meta.json +1 -0
- package/.turbo/cache/a3db8f78e018a955.tar.zst +0 -0
- package/.turbo/cache/a50fe73cdcf0b30b-meta.json +1 -0
- package/.turbo/cache/a50fe73cdcf0b30b.tar.zst +0 -0
- package/.turbo/cache/ad2b775dd9172ae8-meta.json +1 -0
- package/.turbo/cache/ad2b775dd9172ae8.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/b91d2888e699c76a-meta.json +1 -0
- package/.turbo/cache/b91d2888e699c76a.tar.zst +0 -0
- package/.turbo/cache/bdc6aadfdbb6feb9-meta.json +1 -0
- package/.turbo/cache/bdc6aadfdbb6feb9.tar.zst +0 -0
- package/.turbo/cache/be128506a9bcaa65-meta.json +1 -0
- package/.turbo/cache/be128506a9bcaa65.tar.zst +0 -0
- package/.turbo/cache/c114d428251f56a5-meta.json +1 -0
- package/.turbo/cache/c114d428251f56a5.tar.zst +0 -0
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
- package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c7338727efbc457a-meta.json +1 -0
- package/.turbo/cache/c7338727efbc457a.tar.zst +0 -0
- package/.turbo/cache/cf235df1ef8d90b0-meta.json +1 -0
- package/.turbo/cache/cf235df1ef8d90b0.tar.zst +0 -0
- package/.turbo/cache/d3a05e38449c9b24-meta.json +1 -0
- package/.turbo/cache/d3a05e38449c9b24.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d9331772756d3d94-meta.json +1 -0
- package/.turbo/cache/d9331772756d3d94.tar.zst +0 -0
- package/.turbo/cache/db4ea5071b44ee8c-meta.json +1 -0
- package/.turbo/cache/db4ea5071b44ee8c.tar.zst +0 -0
- package/.turbo/cache/dc6fbe2a8d5b9d9b-meta.json +1 -0
- package/.turbo/cache/dc6fbe2a8d5b9d9b.tar.zst +0 -0
- package/.turbo/cache/e1e2582a7131011f-meta.json +1 -0
- package/.turbo/cache/e1e2582a7131011f.tar.zst +0 -0
- package/.turbo/cache/e3214a79be4093fc-meta.json +1 -0
- package/.turbo/cache/e3214a79be4093fc.tar.zst +0 -0
- package/.turbo/cache/e6271174c00888fe-meta.json +1 -0
- package/.turbo/cache/e6271174c00888fe.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/e86451b8f88594b2-meta.json +1 -0
- package/.turbo/cache/e86451b8f88594b2.tar.zst +0 -0
- package/.turbo/cache/e9872ba002963dd3-meta.json +1 -0
- package/.turbo/cache/e9872ba002963dd3.tar.zst +0 -0
- package/.turbo/cache/ed18f3189ffb1fae-meta.json +1 -0
- package/.turbo/cache/ed18f3189ffb1fae.tar.zst +0 -0
- package/CHANGELOG.md +15 -0
- package/README.md +10 -10
- 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 +62 -64
- package/components/checkbox/demo/api.min.js +79 -33
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +79 -33
- package/components/checkbox/dist/auro-checkbox-group.d.ts +35 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +20 -11
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +79 -33
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox-group.js +45 -16
- package/components/checkbox/src/auro-checkbox.js +29 -12
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build$colon$version.log +10 -0
- package/components/combobox/.turbo/turbo-build.log +16 -17
- package/components/combobox/.turbo/turbo-bundler.log +24 -0
- 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/.turbo/turbo-types.log +4 -0
- package/components/combobox/README.md +21 -26
- package/components/combobox/demo/api.min.js +53 -53
- package/components/combobox/demo/index.min.js +53 -53
- package/components/combobox/dist/index.js +52 -52
- 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 +5 -5
- package/components/counter/.turbo/turbo-build$colon$sass.log +7 -7
- package/components/counter/.turbo/turbo-build.log +13 -13
- package/components/counter/.turbo/turbo-bundler.log +4 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +3 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/demo/api.min.js +5 -5
- package/components/counter/demo/index.min.js +5 -5
- package/components/counter/dist/index.js +5 -5
- package/components/counter/package.json +1 -1
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build$colon$version.log +13 -0
- package/components/datepicker/.turbo/turbo-build.log +45 -46
- package/components/datepicker/.turbo/turbo-bundler.log +17 -0
- 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/.turbo/turbo-types.log +4 -0
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.md +20 -20
- package/components/datepicker/demo/api.min.js +311 -268
- package/components/datepicker/demo/index.min.js +311 -268
- package/components/datepicker/dist/auro-datepicker.d.ts +91 -73
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +311 -268
- package/components/datepicker/package.json +1 -1
- package/components/datepicker/src/auro-datepicker.js +113 -70
- 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/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.min.js +39 -39
- package/components/dropdown/demo/index.min.js +39 -39
- package/components/dropdown/dist/index.js +39 -39
- package/components/dropdown/package.json +1 -1
- 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 +18 -26
- package/components/form/demo/api.min.js +4 -4
- package/components/form/demo/index.min.js +4 -4
- package/components/form/dist/index.js +4 -4
- package/components/form/package.json +1 -1
- package/components/input/.turbo/turbo-build$colon$sass.log +20 -20
- package/components/input/.turbo/turbo-build$colon$version.log +1 -1
- package/components/input/.turbo/turbo-build.log +31 -34
- package/components/input/.turbo/turbo-bundler.log +4 -4
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/input/.turbo/turbo-types.log +1 -1
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +80 -247
- package/components/input/demo/api.min.js +8 -8
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +8 -8
- package/components/input/dist/index.js +8 -8
- package/components/input/package.json +1 -1
- 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 +19 -20
- 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.min.js +6 -6
- package/components/menu/demo/index.min.js +6 -6
- package/components/menu/dist/index.js +6 -6
- package/components/menu/package.json +1 -1
- 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.min.js +6 -6
- package/components/radio/demo/index.min.js +6 -6
- package/components/radio/dist/index.js +6 -6
- package/components/radio/package.json +1 -1
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build$colon$version.log +7 -0
- package/components/select/.turbo/turbo-build.log +23 -24
- package/components/select/.turbo/turbo-bundler.log +22 -0
- 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/.turbo/turbo-types.log +4 -0
- package/components/select/README.md +21 -42
- package/components/select/demo/api.min.js +45 -45
- package/components/select/demo/index.md +1 -16
- package/components/select/demo/index.min.js +45 -45
- package/components/select/dist/index.js +45 -45
- package/components/select/package.json +1 -1
- package/package.json +21 -21
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
- package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
- package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/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/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
- package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
- package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
- package/.turbo/cache/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/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
- package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/f817d89688cefca8-meta.json +0 -1
- package/.turbo/cache/f817d89688cefca8.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
- package/.turbo/cache/fc57c17867dcac3d.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
|
|
|
@@ -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,7 +295,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
322
295
|
<!-- The below code snippet is automatically added from ../apiExamples/maxNumber.html -->
|
|
323
296
|
|
|
324
297
|
```html
|
|
325
|
-
<auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum.">
|
|
298
|
+
<auro-input type="number" max="10" setCustomValidityRangeOverflow="The selected value is above the defined maximum." bordered>
|
|
326
299
|
<span slot="label">Choose a number</span>
|
|
327
300
|
</auro-input>
|
|
328
301
|
```
|
|
@@ -339,7 +312,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
339
312
|
<div class="exampleWrapper">
|
|
340
313
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minDate.html) -->
|
|
341
314
|
<!-- The below content is automatically added from ../apiExamples/minDate.html -->
|
|
342
|
-
<auro-input type="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>
|
|
343
316
|
<span slot="label">Choose a date</span>
|
|
344
317
|
</auro-input>
|
|
345
318
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -350,7 +323,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
350
323
|
<!-- The below code snippet is automatically added from ../apiExamples/minDate.html -->
|
|
351
324
|
|
|
352
325
|
```html
|
|
353
|
-
<auro-input type="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>
|
|
354
327
|
<span slot="label">Choose a date</span>
|
|
355
328
|
</auro-input>
|
|
356
329
|
```
|
|
@@ -362,7 +335,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
362
335
|
<div class="exampleWrapper">
|
|
363
336
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minNumber.html) -->
|
|
364
337
|
<!-- The below content is automatically added from ../apiExamples/minNumber.html -->
|
|
365
|
-
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
|
|
338
|
+
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
|
|
366
339
|
<span slot="label">Choose a number</span>
|
|
367
340
|
</auro-input>
|
|
368
341
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -373,7 +346,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
373
346
|
<!-- The below code snippet is automatically added from ../apiExamples/minNumber.html -->
|
|
374
347
|
|
|
375
348
|
```html
|
|
376
|
-
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum.">
|
|
349
|
+
<auro-input type="number" min="10" setCustomValidityRangeUnderflow="The selected value is below the defined minimum." bordered>
|
|
377
350
|
<span slot="label">Choose a number</span>
|
|
378
351
|
</auro-input>
|
|
379
352
|
```
|
|
@@ -385,14 +358,10 @@ Use the `maxlength` attribute to control the length of the input entered.
|
|
|
385
358
|
|
|
386
359
|
The `setCustomValidityTooLong` attribute may optionally be used in combination with the `maxLength` attribute to define custom help text used when the length of the input is too long.
|
|
387
360
|
|
|
388
|
-
<div class="exampleWrapper
|
|
361
|
+
<div class="exampleWrapper">
|
|
389
362
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
|
|
390
363
|
<!-- The below content is automatically added from ../apiExamples/maxLength.html -->
|
|
391
|
-
<auro-input
|
|
392
|
-
<slot slot="label">Voucher Code</slot>
|
|
393
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
394
|
-
</auro-input>
|
|
395
|
-
<auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
364
|
+
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
396
365
|
<slot slot="label">Voucher Code</slot>
|
|
397
366
|
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
398
367
|
</auro-input>
|
|
@@ -404,11 +373,7 @@ The `setCustomValidityTooLong` attribute may optionally be used in combination w
|
|
|
404
373
|
<!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
|
|
405
374
|
|
|
406
375
|
```html
|
|
407
|
-
<auro-input
|
|
408
|
-
<slot slot="label">Voucher Code</slot>
|
|
409
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
410
|
-
</auro-input>
|
|
411
|
-
<auro-input bordered required maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered.">
|
|
376
|
+
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
412
377
|
<slot slot="label">Voucher Code</slot>
|
|
413
378
|
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
414
379
|
</auro-input>
|
|
@@ -421,14 +386,10 @@ Use the `minlength` attribute to control the length of the input entered.
|
|
|
421
386
|
|
|
422
387
|
The `setCustomValidityTooShort` attribute may optionally be used in combination with the `minLength` attribute to define custom help text used when the length of the input is not long enough.
|
|
423
388
|
|
|
424
|
-
<div class="exampleWrapper
|
|
389
|
+
<div class="exampleWrapper">
|
|
425
390
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minLength.html) -->
|
|
426
391
|
<!-- The below content is automatically added from ../apiExamples/minLength.html -->
|
|
427
|
-
<auro-input
|
|
428
|
-
<slot slot="label">Voucher Code</slot>
|
|
429
|
-
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
430
|
-
</auro-input>
|
|
431
|
-
<auro-input bordered required minlength="4" setCustomValidityTooShort="Please enter a full voucher code.">
|
|
392
|
+
<auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
|
|
432
393
|
<slot slot="label">Voucher Code</slot>
|
|
433
394
|
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
434
395
|
</auro-input>
|
|
@@ -440,11 +401,7 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
|
|
|
440
401
|
<!-- The below code snippet is automatically added from ../apiExamples/minLength.html -->
|
|
441
402
|
|
|
442
403
|
```html
|
|
443
|
-
<auro-input
|
|
444
|
-
<slot slot="label">Voucher Code</slot>
|
|
445
|
-
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
446
|
-
</auro-input>
|
|
447
|
-
<auro-input bordered required minlength="4" setCustomValidityTooShort="Please enter a full voucher code.">
|
|
404
|
+
<auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
|
|
448
405
|
<slot slot="label">Voucher Code</slot>
|
|
449
406
|
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
450
407
|
</auro-input>
|
|
@@ -457,14 +414,10 @@ Use the `pattern` attribute to set custom input validation. This example also us
|
|
|
457
414
|
|
|
458
415
|
The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityPatternMismatch` attribute.
|
|
459
416
|
|
|
460
|
-
<div class="exampleWrapper
|
|
417
|
+
<div class="exampleWrapper">
|
|
461
418
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/pattern.html) -->
|
|
462
419
|
<!-- The below content is automatically added from ../apiExamples/pattern.html -->
|
|
463
|
-
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
464
|
-
<span slot="label">Username</span>
|
|
465
|
-
<span slot="helptext">Please enter a username.</span>
|
|
466
|
-
</auro-input>
|
|
467
|
-
<auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
420
|
+
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
|
|
468
421
|
<span slot="label">Username</span>
|
|
469
422
|
<span slot="helptext">Please enter a username.</span>
|
|
470
423
|
</auro-input>
|
|
@@ -476,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" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
432
|
+
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces" bordered>
|
|
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" setCustomValidityPatternMismatch="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>
|
|
@@ -643,12 +552,9 @@ When present, the `required` attribute specifies that an input field must be fil
|
|
|
643
552
|
|
|
644
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 erro
|
|
|
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,13 +578,9 @@ When the validity check fails, the validityState equals `valueMissing`. The erro
|
|
|
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-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
682
|
-
<span slot="label">Full Name</span>
|
|
683
|
-
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
684
|
-
</auro-input>
|
|
685
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>
|
|
@@ -694,10 +593,6 @@ 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-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
698
|
-
<span slot="label">Full Name</span>
|
|
699
|
-
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
700
|
-
</auro-input>
|
|
701
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>
|
|
@@ -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>
|
|
@@ -751,8 +638,9 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
751
638
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/error.html) -->
|
|
752
639
|
<!-- The below content is automatically added from ../apiExamples/error.html -->
|
|
753
640
|
<auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
|
|
754
|
-
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
755
|
-
<
|
|
641
|
+
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
642
|
+
<br /><br />
|
|
643
|
+
<auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
|
|
756
644
|
<span slot="label">Name</span>
|
|
757
645
|
<span slot="helptext">Please enter your full name.</span>
|
|
758
646
|
</auro-input>
|
|
@@ -765,8 +653,9 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
765
653
|
|
|
766
654
|
```html
|
|
767
655
|
<auro-button id="setCustomErrorBtn">Set Custom Error</auro-button>
|
|
768
|
-
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
769
|
-
<
|
|
656
|
+
<auro-button id="setCustomErrorClearBtn">Clear Custom Error</auro-button>
|
|
657
|
+
<br /><br />
|
|
658
|
+
<auro-input id="setCustomErrorExample" error="Initial error attribute value" bordered>
|
|
770
659
|
<span slot="label">Name</span>
|
|
771
660
|
<span slot="helptext">Please enter your full name.</span>
|
|
772
661
|
</auro-input>
|
|
@@ -800,12 +689,9 @@ Use the `type="password"` attribute for a password style input. The hide/show pa
|
|
|
800
689
|
|
|
801
690
|
Default help text will be added to the input `type="password"` if custom help text is not provided. See the example below.
|
|
802
691
|
|
|
803
|
-
<div class="exampleWrapper
|
|
692
|
+
<div class="exampleWrapper">
|
|
804
693
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/password.html) -->
|
|
805
694
|
<!-- The below content is automatically added from ../apiExamples/password.html -->
|
|
806
|
-
<auro-input type="password" required>
|
|
807
|
-
<span slot="label">Password</span>
|
|
808
|
-
</auro-input>
|
|
809
695
|
<auro-input type="password" required bordered>
|
|
810
696
|
<span slot="label">Password</span>
|
|
811
697
|
<span slot="helptext">Please enter a secure password.</span>
|
|
@@ -818,9 +704,6 @@ Default help text will be added to the input `type="password"` if custom help te
|
|
|
818
704
|
<!-- The below code snippet is automatically added from ../apiExamples/password.html -->
|
|
819
705
|
|
|
820
706
|
```html
|
|
821
|
-
<auro-input type="password" required>
|
|
822
|
-
<span slot="label">Password</span>
|
|
823
|
-
</auro-input>
|
|
824
707
|
<auro-input type="password" required bordered>
|
|
825
708
|
<span slot="label">Password</span>
|
|
826
709
|
<span slot="helptext">Please enter a secure password.</span>
|
|
@@ -835,13 +718,10 @@ Use the `type="email"` attribute for a email style input. These examples illustr
|
|
|
835
718
|
|
|
836
719
|
Default help text will be added to the input `type="email"` if custom help text is not provided. See the example below.
|
|
837
720
|
|
|
838
|
-
<div class="exampleWrapper
|
|
721
|
+
<div class="exampleWrapper">
|
|
839
722
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/email.html) -->
|
|
840
723
|
<!-- The below content is automatically added from ../apiExamples/email.html -->
|
|
841
|
-
<auro-input
|
|
842
|
-
<slot slot="label">Email address</slot>
|
|
843
|
-
</auro-input>
|
|
844
|
-
<auro-input bordered required type="email">
|
|
724
|
+
<auro-input type="email" bordered required>
|
|
845
725
|
<slot slot="label">Email address</slot>
|
|
846
726
|
<slot slot="helptext">Please enter your email address.</slot>
|
|
847
727
|
</auro-input>
|
|
@@ -853,10 +733,7 @@ Default help text will be added to the input `type="email"` if custom help text
|
|
|
853
733
|
<!-- The below code snippet is automatically added from ../apiExamples/email.html -->
|
|
854
734
|
|
|
855
735
|
```html
|
|
856
|
-
<auro-input
|
|
857
|
-
<slot slot="label">Email address</slot>
|
|
858
|
-
</auro-input>
|
|
859
|
-
<auro-input bordered required type="email">
|
|
736
|
+
<auro-input type="email" bordered required>
|
|
860
737
|
<slot slot="label">Email address</slot>
|
|
861
738
|
<slot slot="helptext">Please enter your email address.</slot>
|
|
862
739
|
</auro-input>
|
|
@@ -870,14 +747,10 @@ Use the `type="number"` attribute for a numeric style input and invoke a numeric
|
|
|
870
747
|
|
|
871
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.
|
|
872
749
|
|
|
873
|
-
<div class="exampleWrapper
|
|
750
|
+
<div class="exampleWrapper">
|
|
874
751
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/number.html) -->
|
|
875
752
|
<!-- The below content is automatically added from ../apiExamples/number.html -->
|
|
876
|
-
<auro-input
|
|
877
|
-
<slot slot="label">Number of Passengers</slot>
|
|
878
|
-
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
879
|
-
</auro-input>
|
|
880
|
-
<auro-input bordered required type="number">
|
|
753
|
+
<auro-input type="number" bordered required>
|
|
881
754
|
<slot slot="label">Number of Passengers</slot>
|
|
882
755
|
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
883
756
|
</auro-input>
|
|
@@ -889,11 +762,7 @@ This `number` input type should only be used for incremental numeric values, mea
|
|
|
889
762
|
<!-- The below code snippet is automatically added from ../apiExamples/number.html -->
|
|
890
763
|
|
|
891
764
|
```html
|
|
892
|
-
<auro-input
|
|
893
|
-
<slot slot="label">Number of Passengers</slot>
|
|
894
|
-
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
895
|
-
</auro-input>
|
|
896
|
-
<auro-input bordered required type="number">
|
|
765
|
+
<auro-input type="number" bordered required>
|
|
897
766
|
<slot slot="label">Number of Passengers</slot>
|
|
898
767
|
<slot slot="helptext">Please enter the number of passengers.</slot>
|
|
899
768
|
</auro-input>
|
|
@@ -907,13 +776,10 @@ Use the `type="credit-card"` attribute for a credit card formatted input.
|
|
|
907
776
|
|
|
908
777
|
Default help text will be added to the input `type="credit-card"` if custom help text is not provided. See the example below.
|
|
909
778
|
|
|
910
|
-
<div class="exampleWrapper
|
|
779
|
+
<div class="exampleWrapper">
|
|
911
780
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCard.html) -->
|
|
912
781
|
<!-- The below content is automatically added from ../apiExamples/creditCard.html -->
|
|
913
|
-
<auro-input
|
|
914
|
-
<slot slot="label">Card number</slot>
|
|
915
|
-
</auro-input>
|
|
916
|
-
<auro-input bordered required type="credit-card">
|
|
782
|
+
<auro-input type="credit-card" bordered required>
|
|
917
783
|
<slot slot="label">Card number</slot>
|
|
918
784
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
919
785
|
</auro-input>
|
|
@@ -925,10 +791,7 @@ Default help text will be added to the input `type="credit-card"` if custom help
|
|
|
925
791
|
<!-- The below code snippet is automatically added from ../apiExamples/creditCard.html -->
|
|
926
792
|
|
|
927
793
|
```html
|
|
928
|
-
<auro-input
|
|
929
|
-
<slot slot="label">Card number</slot>
|
|
930
|
-
</auro-input>
|
|
931
|
-
<auro-input bordered required type="credit-card">
|
|
794
|
+
<auro-input type="credit-card" bordered required>
|
|
932
795
|
<slot slot="label">Card number</slot>
|
|
933
796
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
934
797
|
</auro-input>
|
|
@@ -939,13 +802,10 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
939
802
|
|
|
940
803
|
**Dependency**: Please be sure to also install [auro-icon](https://auro.alaskaair.com/components/auro/icon/install) as a peer dependency.
|
|
941
804
|
|
|
942
|
-
<div class="exampleWrapper
|
|
805
|
+
<div class="exampleWrapper">
|
|
943
806
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCardIcon.html) -->
|
|
944
807
|
<!-- The below content is automatically added from ../apiExamples/creditCardIcon.html -->
|
|
945
|
-
<auro-input
|
|
946
|
-
<slot slot="label">Card number</slot>
|
|
947
|
-
</auro-input>
|
|
948
|
-
<auro-input bordered required icon type="credit-card">
|
|
808
|
+
<auro-input icon type="credit-card" bordered required>
|
|
949
809
|
<slot slot="label">Card number</slot>
|
|
950
810
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
951
811
|
</auro-input>
|
|
@@ -958,10 +818,7 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
958
818
|
<!-- The below code snippet is automatically added from ../apiExamples/creditCardIcon.html -->
|
|
959
819
|
|
|
960
820
|
```html
|
|
961
|
-
<auro-input
|
|
962
|
-
<slot slot="label">Card number</slot>
|
|
963
|
-
</auro-input>
|
|
964
|
-
<auro-input bordered required icon type="credit-card">
|
|
821
|
+
<auro-input icon type="credit-card" bordered required>
|
|
965
822
|
<slot slot="label">Card number</slot>
|
|
966
823
|
<slot slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</slot>
|
|
967
824
|
</auro-input>
|
|
@@ -973,13 +830,10 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
973
830
|
|
|
974
831
|
Use the `type="month-day-year"` attribute for a date formatted input.
|
|
975
832
|
|
|
976
|
-
<div class="exampleWrapper
|
|
833
|
+
<div class="exampleWrapper">
|
|
977
834
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthDayYear.html) -->
|
|
978
835
|
<!-- The below content is automatically added from ../apiExamples/monthDayYear.html -->
|
|
979
|
-
<auro-input type="month-day-year"
|
|
980
|
-
<slot slot="label">Departure date</slot>
|
|
981
|
-
</auro-input>
|
|
982
|
-
<auro-input bordered type="month-day-year">
|
|
836
|
+
<auro-input type="month-day-year" bordered>
|
|
983
837
|
<slot slot="label">Arrival date</slot>
|
|
984
838
|
</auro-input>
|
|
985
839
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -990,10 +844,7 @@ Use the `type="month-day-year"` attribute for a date formatted input.
|
|
|
990
844
|
<!-- The below code snippet is automatically added from ../apiExamples/monthDayYear.html -->
|
|
991
845
|
|
|
992
846
|
```html
|
|
993
|
-
<auro-input type="month-day-year"
|
|
994
|
-
<slot slot="label">Departure date</slot>
|
|
995
|
-
</auro-input>
|
|
996
|
-
<auro-input bordered type="month-day-year">
|
|
847
|
+
<auro-input type="month-day-year" bordered>
|
|
997
848
|
<slot slot="label">Arrival date</slot>
|
|
998
849
|
</auro-input>
|
|
999
850
|
```
|
|
@@ -1001,13 +852,10 @@ Use the `type="month-day-year"` attribute for a date formatted input.
|
|
|
1001
852
|
</auro-accordion>
|
|
1002
853
|
Use the `type="month-year"` attribute for a date formatted input.
|
|
1003
854
|
|
|
1004
|
-
<div class="exampleWrapper
|
|
855
|
+
<div class="exampleWrapper">
|
|
1005
856
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthYear.html) -->
|
|
1006
857
|
<!-- The below content is automatically added from ../apiExamples/monthYear.html -->
|
|
1007
|
-
<auro-input type="month-year">
|
|
1008
|
-
<slot slot="label">Departure date</slot>
|
|
1009
|
-
</auro-input>
|
|
1010
|
-
<auro-input bordered type="month-year" required>
|
|
858
|
+
<auro-input type="month-year" bordered>
|
|
1011
859
|
<slot slot="label">Arrival date</slot>
|
|
1012
860
|
</auro-input>
|
|
1013
861
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1018,10 +866,7 @@ Use the `type="month-year"` attribute for a date formatted input.
|
|
|
1018
866
|
<!-- The below code snippet is automatically added from ../apiExamples/monthYear.html -->
|
|
1019
867
|
|
|
1020
868
|
```html
|
|
1021
|
-
<auro-input type="month-year">
|
|
1022
|
-
<slot slot="label">Departure date</slot>
|
|
1023
|
-
</auro-input>
|
|
1024
|
-
<auro-input bordered type="month-year" required>
|
|
869
|
+
<auro-input type="month-year" bordered>
|
|
1025
870
|
<slot slot="label">Arrival date</slot>
|
|
1026
871
|
</auro-input>
|
|
1027
872
|
```
|
|
@@ -1029,13 +874,10 @@ Use the `type="month-year"` attribute for a date formatted input.
|
|
|
1029
874
|
</auro-accordion>
|
|
1030
875
|
Use the `type="month-fullYear"` attribute for a date formatted input.
|
|
1031
876
|
|
|
1032
|
-
<div class="exampleWrapper
|
|
877
|
+
<div class="exampleWrapper">
|
|
1033
878
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthFullYear.html) -->
|
|
1034
879
|
<!-- The below content is automatically added from ../apiExamples/monthFullYear.html -->
|
|
1035
|
-
<auro-input type="month-fullYear">
|
|
1036
|
-
<slot slot="label">Departure date</slot>
|
|
1037
|
-
</auro-input>
|
|
1038
|
-
<auro-input bordered type="month-fullYear" required>
|
|
880
|
+
<auro-input type="month-fullYear" bordered>
|
|
1039
881
|
<slot slot="label">Arrival date</slot>
|
|
1040
882
|
</auro-input>
|
|
1041
883
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1046,10 +888,7 @@ Use the `type="month-fullYear"` attribute for a date formatted input.
|
|
|
1046
888
|
<!-- The below code snippet is automatically added from ../apiExamples/monthFullYear.html -->
|
|
1047
889
|
|
|
1048
890
|
```html
|
|
1049
|
-
<auro-input type="month-fullYear">
|
|
1050
|
-
<slot slot="label">Departure date</slot>
|
|
1051
|
-
</auro-input>
|
|
1052
|
-
<auro-input bordered type="month-fullYear" required>
|
|
891
|
+
<auro-input type="month-fullYear" bordered>
|
|
1053
892
|
<slot slot="label">Arrival date</slot>
|
|
1054
893
|
</auro-input>
|
|
1055
894
|
```
|
|
@@ -1057,13 +896,10 @@ Use the `type="month-fullYear"` attribute for a date formatted input.
|
|
|
1057
896
|
</auro-accordion>
|
|
1058
897
|
Use the `type="year-month-day"` attribute for a date formatted input.
|
|
1059
898
|
|
|
1060
|
-
<div class="exampleWrapper
|
|
899
|
+
<div class="exampleWrapper">
|
|
1061
900
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/yearMonthDay.html) -->
|
|
1062
901
|
<!-- The below content is automatically added from ../apiExamples/yearMonthDay.html -->
|
|
1063
|
-
<auro-input type="year-month-day"
|
|
1064
|
-
<slot slot="label">Departure date</slot>
|
|
1065
|
-
</auro-input>
|
|
1066
|
-
<auro-input bordered type="year-month-day">
|
|
902
|
+
<auro-input type="year-month-day" bordered>
|
|
1067
903
|
<slot slot="label">Arrival date</slot>
|
|
1068
904
|
</auro-input>
|
|
1069
905
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1074,10 +910,7 @@ Use the `type="year-month-day"` attribute for a date formatted input.
|
|
|
1074
910
|
<!-- The below code snippet is automatically added from ../apiExamples/yearMonthDay.html -->
|
|
1075
911
|
|
|
1076
912
|
```html
|
|
1077
|
-
<auro-input type="year-month-day"
|
|
1078
|
-
<slot slot="label">Departure date</slot>
|
|
1079
|
-
</auro-input>
|
|
1080
|
-
<auro-input bordered type="year-month-day">
|
|
913
|
+
<auro-input type="year-month-day" bordered>
|
|
1081
914
|
<slot slot="label">Arrival date</slot>
|
|
1082
915
|
</auro-input>
|
|
1083
916
|
```
|
|
@@ -1085,10 +918,10 @@ Use the `type="year-month-day"` attribute for a date formatted input.
|
|
|
1085
918
|
</auro-accordion>
|
|
1086
919
|
Use the `type="month"` attribute for a date formatted input.
|
|
1087
920
|
|
|
1088
|
-
<div class="exampleWrapper
|
|
921
|
+
<div class="exampleWrapper">
|
|
1089
922
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/month.html) -->
|
|
1090
923
|
<!-- The below content is automatically added from ../apiExamples/month.html -->
|
|
1091
|
-
<auro-input type="month">
|
|
924
|
+
<auro-input type="month" bordered>
|
|
1092
925
|
<slot slot="label">Month</slot>
|
|
1093
926
|
</auro-input>
|
|
1094
927
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1099,7 +932,7 @@ Use the `type="month"` attribute for a date formatted input.
|
|
|
1099
932
|
<!-- The below code snippet is automatically added from ../apiExamples/month.html -->
|
|
1100
933
|
|
|
1101
934
|
```html
|
|
1102
|
-
<auro-input type="month">
|
|
935
|
+
<auro-input type="month" bordered>
|
|
1103
936
|
<slot slot="label">Month</slot>
|
|
1104
937
|
</auro-input>
|
|
1105
938
|
```
|
|
@@ -1107,10 +940,10 @@ Use the `type="month"` attribute for a date formatted input.
|
|
|
1107
940
|
</auro-accordion>
|
|
1108
941
|
Use the `type="year"` attribute for a date formatted input.
|
|
1109
942
|
|
|
1110
|
-
<div class="exampleWrapper
|
|
943
|
+
<div class="exampleWrapper">
|
|
1111
944
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/year.html) -->
|
|
1112
945
|
<!-- The below content is automatically added from ../apiExamples/year.html -->
|
|
1113
|
-
<auro-input type="year">
|
|
946
|
+
<auro-input type="year" bordered>
|
|
1114
947
|
<slot slot="label">Year</slot>
|
|
1115
948
|
</auro-input>
|
|
1116
949
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1121,7 +954,7 @@ Use the `type="year"` attribute for a date formatted input.
|
|
|
1121
954
|
<!-- The below code snippet is automatically added from ../apiExamples/year.html -->
|
|
1122
955
|
|
|
1123
956
|
```html
|
|
1124
|
-
<auro-input type="year">
|
|
957
|
+
<auro-input type="year" bordered>
|
|
1125
958
|
<slot slot="label">Year</slot>
|
|
1126
959
|
</auro-input>
|
|
1127
960
|
```
|
|
@@ -1129,10 +962,10 @@ Use the `type="year"` attribute for a date formatted input.
|
|
|
1129
962
|
</auro-accordion>
|
|
1130
963
|
Use the `type="fullYear"` attribute for a date formatted input.
|
|
1131
964
|
|
|
1132
|
-
<div class="exampleWrapper
|
|
965
|
+
<div class="exampleWrapper">
|
|
1133
966
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/fullYear.html) -->
|
|
1134
967
|
<!-- The below content is automatically added from ../apiExamples/fullYear.html -->
|
|
1135
|
-
<auro-input type="fullYear">
|
|
968
|
+
<auro-input type="fullYear" bordered>
|
|
1136
969
|
<slot slot="label">Full Year</slot>
|
|
1137
970
|
</auro-input>
|
|
1138
971
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -1143,7 +976,7 @@ Use the `type="fullYear"` attribute for a date formatted input.
|
|
|
1143
976
|
<!-- The below code snippet is automatically added from ../apiExamples/fullYear.html -->
|
|
1144
977
|
|
|
1145
978
|
```html
|
|
1146
|
-
<auro-input type="fullYear">
|
|
979
|
+
<auro-input type="fullYear" bordered>
|
|
1147
980
|
<slot slot="label">Full Year</slot>
|
|
1148
981
|
</auro-input>
|
|
1149
982
|
```
|
|
@@ -1160,7 +993,7 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
1160
993
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/resetState.html) -->
|
|
1161
994
|
<!-- The below content is automatically added from ../apiExamples/resetState.html -->
|
|
1162
995
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
1163
|
-
<br /><br />
|
|
996
|
+
<br /><br />
|
|
1164
997
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1165
998
|
<slot slot="label">Full Name</slot>
|
|
1166
999
|
<slot slot="helptext">Please enter your full name.</slot>
|
|
@@ -1174,7 +1007,7 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
1174
1007
|
|
|
1175
1008
|
```html
|
|
1176
1009
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
1177
|
-
<br /><br />
|
|
1010
|
+
<br /><br />
|
|
1178
1011
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1179
1012
|
<slot slot="label">Full Name</slot>
|
|
1180
1013
|
<slot slot="helptext">Please enter your full name.</slot>
|
|
@@ -1200,7 +1033,7 @@ export function resetStateExample() {
|
|
|
1200
1033
|
|
|
1201
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.
|
|
1202
1035
|
|
|
1203
|
-
<div class="exampleWrapper
|
|
1036
|
+
<div class="exampleWrapper">
|
|
1204
1037
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/swapValue.html) -->
|
|
1205
1038
|
<!-- The below content is automatically added from ../apiExamples/swapValue.html -->
|
|
1206
1039
|
<auro-input id="swapExampleLeft" bordered>
|