@aurodesignsystem/auro-formkit 2.0.0-beta.3 → 2.0.0-beta.30
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/019608f754b4fd0c-meta.json +1 -0
- package/.turbo/cache/019608f754b4fd0c.tar.zst +0 -0
- package/.turbo/cache/111ea1a7d5e86aac-meta.json +1 -0
- package/.turbo/cache/111ea1a7d5e86aac.tar.zst +0 -0
- package/.turbo/cache/18ce0cc67c14e0c9-meta.json +1 -0
- package/.turbo/cache/18ce0cc67c14e0c9.tar.zst +0 -0
- package/.turbo/cache/1d4280429ff4222f-meta.json +1 -0
- package/.turbo/cache/1d4280429ff4222f.tar.zst +0 -0
- package/.turbo/cache/251ba344c6338ba3-meta.json +1 -0
- package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
- package/.turbo/cache/298b6ff0272e6226-meta.json +1 -0
- package/.turbo/cache/298b6ff0272e6226.tar.zst +0 -0
- package/.turbo/cache/2abb5400a01a1694-meta.json +1 -0
- package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
- package/.turbo/cache/30fda91ef83677e4-meta.json +1 -0
- package/.turbo/cache/30fda91ef83677e4.tar.zst +0 -0
- package/.turbo/cache/3221d91a94756c26-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26.tar.zst +0 -0
- package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -0
- package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
- package/.turbo/cache/3d05fb6e2d593287-meta.json +1 -0
- package/.turbo/cache/3d05fb6e2d593287.tar.zst +0 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
- package/.turbo/cache/3f1b3db13386acdc.tar.zst +0 -0
- package/.turbo/cache/430c124614841675-meta.json +1 -0
- package/.turbo/cache/430c124614841675.tar.zst +0 -0
- package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
- package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
- package/.turbo/cache/4e9c9a5dd62c50a4.tar.zst +0 -0
- package/.turbo/cache/559b052d8150dd3f-meta.json +1 -0
- package/.turbo/cache/559b052d8150dd3f.tar.zst +0 -0
- package/.turbo/cache/5748467be5ef9c07-meta.json +1 -0
- package/.turbo/cache/5748467be5ef9c07.tar.zst +0 -0
- package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
- package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
- package/.turbo/cache/5a78bd07d371dd47-meta.json +1 -0
- package/.turbo/cache/5a78bd07d371dd47.tar.zst +0 -0
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
- package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
- package/.turbo/cache/63f832b4947ecf9d-meta.json +1 -0
- package/.turbo/cache/63f832b4947ecf9d.tar.zst +0 -0
- package/.turbo/cache/6a5dc307d8619c06-meta.json +1 -0
- package/.turbo/cache/6a5dc307d8619c06.tar.zst +0 -0
- package/.turbo/cache/6ed764f60d634993-meta.json +1 -0
- package/.turbo/cache/6ed764f60d634993.tar.zst +0 -0
- package/.turbo/cache/753b119a389426be-meta.json +1 -0
- package/.turbo/cache/753b119a389426be.tar.zst +0 -0
- package/.turbo/cache/80ece7354266e40f-meta.json +1 -0
- package/.turbo/cache/80ece7354266e40f.tar.zst +0 -0
- package/.turbo/cache/846bade4a9a3eba9-meta.json +1 -0
- package/.turbo/cache/846bade4a9a3eba9.tar.zst +0 -0
- package/.turbo/cache/8ac38d70a60381cb-meta.json +1 -0
- package/.turbo/cache/8ac38d70a60381cb.tar.zst +0 -0
- package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -0
- package/.turbo/cache/8c637a8d4c2166c5.tar.zst +0 -0
- package/.turbo/cache/8cd5a06a396632cf-meta.json +1 -0
- package/.turbo/cache/8cd5a06a396632cf.tar.zst +0 -0
- package/.turbo/cache/970ba88c4c4092cd-meta.json +1 -0
- package/.turbo/cache/970ba88c4c4092cd.tar.zst +0 -0
- package/.turbo/cache/9db5147195c32672-meta.json +1 -0
- package/.turbo/cache/9db5147195c32672.tar.zst +0 -0
- package/.turbo/cache/a002bc214179bedc-meta.json +1 -0
- package/.turbo/cache/a002bc214179bedc.tar.zst +0 -0
- package/.turbo/cache/a02c2bc2a4638817-meta.json +1 -0
- package/.turbo/cache/a02c2bc2a4638817.tar.zst +0 -0
- package/.turbo/cache/a7004571f6307848-meta.json +1 -0
- package/.turbo/cache/a7004571f6307848.tar.zst +0 -0
- package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
- package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
- package/.turbo/cache/a8307dcc447702ad-meta.json +1 -0
- package/.turbo/cache/a8307dcc447702ad.tar.zst +0 -0
- package/.turbo/cache/a9dc1069fcd851ff-meta.json +1 -0
- package/.turbo/cache/a9dc1069fcd851ff.tar.zst +0 -0
- package/.turbo/cache/b4de0d19f9eeaceb-meta.json +1 -0
- package/.turbo/cache/b4de0d19f9eeaceb.tar.zst +0 -0
- package/.turbo/cache/b682d4cec0741fa1-meta.json +1 -0
- package/.turbo/cache/b682d4cec0741fa1.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
- package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
- package/.turbo/cache/c27d47351838ceb1-meta.json +1 -0
- package/.turbo/cache/c27d47351838ceb1.tar.zst +0 -0
- package/.turbo/cache/c7d435ade46f3c1e-meta.json +1 -0
- package/.turbo/cache/c7d435ade46f3c1e.tar.zst +0 -0
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
- package/.turbo/cache/cbcd9db8ac9a2d52.tar.zst +0 -0
- package/.turbo/cache/d0c4bf3a3a3840fd-meta.json +1 -0
- package/.turbo/cache/d0c4bf3a3a3840fd.tar.zst +0 -0
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
- package/.turbo/cache/d8ecdff9c663c38e.tar.zst +0 -0
- package/.turbo/cache/de494df6a3006101-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
- package/.turbo/cache/e06dedab4c19ae2a-meta.json +1 -0
- package/.turbo/cache/e06dedab4c19ae2a.tar.zst +0 -0
- package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -0
- package/.turbo/cache/e56a9865641ec3e8.tar.zst +0 -0
- package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -0
- package/.turbo/cache/e7ed9e7056d80938.tar.zst +0 -0
- package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
- package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
- package/.turbo/cache/e9ff93179777aa26.tar.zst +0 -0
- package/.turbo/cache/f6220a9af06bee74-meta.json +1 -0
- package/.turbo/cache/f6220a9af06bee74.tar.zst +0 -0
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
- package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +276 -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-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.md +67 -68
- package/components/checkbox/demo/api.min.js +429 -89
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +429 -89
- 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 +429 -89
- package/components/checkbox/package.json +4 -3
- package/components/checkbox/src/auro-checkbox-group.js +62 -23
- package/components/checkbox/src/auro-checkbox.js +30 -9
- package/components/checkbox/src/styles/colorGroup-css.js +1 -1
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -8
- package/components/checkbox/src/styles/tokens-css.js +1 -1
- package/components/checkbox/src/styles/tokens.css +0 -1
- package/components/checkbox/src/styles/tokens.scss +0 -1
- 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 +27 -25
- package/components/combobox/demo/api.min.js +3681 -943
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3678 -940
- package/components/combobox/dist/auro-combobox.d.ts +74 -79
- 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 +3047 -623
- 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 +11 -12
- package/components/combobox/src/auro-combobox.js +215 -159
- 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/{input → counter}/.turbo/turbo-build$colon$version.log +5 -5
- package/components/counter/.turbo/turbo-build.log +338 -14
- package/components/counter/.turbo/turbo-bundler.log +13 -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 +107 -1014
- package/components/counter/demo/api.min.js +1815 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +292 -0
- package/components/counter/demo/index.min.js +1842 -18
- 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 +115 -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 +82 -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 +1815 -36
- package/components/{input/dist/styles/helpText-css.d.ts → counter/dist/styles/color-css.d.ts} +1 -1
- 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 +11 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +236 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +285 -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 +12 -1
- package/components/counter/src/styles/counter-group.scss +12 -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 +52 -53
- 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 +85 -57
- package/components/datepicker/demo/api.min.js +1643 -693
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1643 -693
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +101 -73
- 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 +1643 -693
- 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 +5 -5
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +170 -82
- 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/styles/style-css.js +1 -1
- package/components/datepicker/src/styles/style.css +0 -6
- package/components/datepicker/src/styles/style.scss +0 -6
- 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.log +19 -20
- 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/README.md +18 -26
- package/components/dropdown/demo/api.md +4 -5
- package/components/dropdown/demo/api.min.js +467 -122
- package/components/dropdown/demo/index.min.js +467 -122
- 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 +467 -122
- package/components/dropdown/package.json +4 -3
- package/components/dropdown/src/auro-dropdown.js +157 -43
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +0 -5
- package/components/dropdown/src/styles/color.scss +0 -5
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +4 -6
- package/components/dropdown/src/styles/style.scss +5 -6
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +0 -1
- package/components/dropdown/src/styles/tokens.scss +0 -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 +28 -34
- package/components/form/demo/api.min.js +405 -25
- package/components/form/demo/index.min.js +405 -25
- package/components/form/demo/registerDemoDeps.js +6 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +160 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +405 -25
- package/components/form/package.json +6 -4
- package/components/form/src/auro-form.js +402 -25
- package/components/form/src/styles/style.css +1 -1
- package/components/helptext/.stylelintrc.json +3 -0
- package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
- package/components/helptext/.turbo/turbo-build.log +49 -0
- package/components/helptext/.turbo/turbo-bundler.log +7 -0
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/helptext/.turbo/turbo-types.log +4 -0
- package/components/helptext/dist/auro-helptext.d.ts +54 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
- package/components/helptext/dist/index.d.ts +3 -0
- package/components/helptext/dist/index.d.ts.map +1 -0
- package/components/helptext/dist/index.js +224 -0
- package/components/helptext/dist/styles/color-css.d.ts +3 -0
- package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/style-css.d.ts +3 -0
- package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
- package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/helptext/node_modules/chalk/package.json +83 -0
- package/components/helptext/node_modules/chalk/readme.md +297 -0
- package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
- package/components/helptext/node_modules/chalk/source/index.js +225 -0
- package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/helptext/package.json +57 -0
- package/components/helptext/src/auro-helptext.js +127 -0
- package/components/helptext/src/index.js +6 -0
- package/components/helptext/src/styles/color-css.js +2 -0
- package/components/helptext/src/styles/color.css +8 -0
- package/components/helptext/src/styles/color.scss +11 -0
- package/components/helptext/src/styles/style-css.js +2 -0
- package/components/helptext/src/styles/style.css +20 -0
- package/components/helptext/src/styles/style.scss +30 -0
- package/components/helptext/src/styles/tokens-css.js +2 -0
- package/components/helptext/src/styles/tokens.css +3 -0
- package/components/helptext/src/styles/tokens.scss +5 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +22 -32
- package/components/input/.turbo/turbo-build.log +33 -46
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +9 -15
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +122 -288
- package/components/input/demo/api.min.js +653 -195
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +653 -195
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +160 -82
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +653 -195
- package/components/input/package.json +4 -3
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/base-input.js +246 -76
- package/components/input/src/styles/color-css.js +1 -1
- package/components/input/src/styles/color.css +0 -5
- package/components/input/src/styles/color.scss +0 -5
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +2 -2
- package/components/input/src/styles/input.scss +2 -2
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +2 -9
- package/components/input/src/styles/style.scss +0 -1
- package/components/input/src/styles/tokens-css.js +1 -1
- package/components/input/src/styles/tokens.css +0 -1
- package/components/input/src/styles/tokens.scss +0 -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 +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 +3 -3
- 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/menu/src/styles/style-menu.css +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-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.md +4 -4
- package/components/radio/demo/api.min.js +350 -61
- package/components/radio/demo/index.min.js +350 -61
- 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 +350 -61
- package/components/radio/package.json +4 -3
- package/components/radio/src/auro-radio-group.js +14 -5
- package/components/radio/src/styles/groupColor-css.js +1 -1
- package/components/radio/src/styles/groupColor.css +0 -8
- package/components/radio/src/styles/groupColor.scss +0 -8
- package/components/radio/src/styles/tokens-css.js +1 -1
- package/components/radio/src/styles/tokens.css +0 -1
- package/components/radio/src/styles/tokens.scss +0 -1
- 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 +86 -111
- package/components/select/demo/api.min.js +2961 -701
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +2960 -700
- 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 +2421 -462
- package/components/select/package.json +5 -5
- package/components/select/src/auro-select.js +157 -120
- 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 +12 -4
- package/components/select/src/styles/style.scss +22 -5
- package/package.json +27 -23
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/build-tools/src/postinstall.mjs +8 -0
- package/packages/form-validation/src/validation.js +79 -20
- 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 +42 -9
- 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/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/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1ab37ce15d9be440-meta.json +0 -1
- package/.turbo/cache/1ab37ce15d9be440.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/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/2110a4d14e0d11b2-meta.json +0 -1
- package/.turbo/cache/2110a4d14e0d11b2.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/2fd056afdf4eb39d-meta.json +0 -1
- package/.turbo/cache/2fd056afdf4eb39d.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.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/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.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/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/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/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.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/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/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.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/a63cbfecf0f78586-meta.json +0 -1
- package/.turbo/cache/a63cbfecf0f78586.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/b2c66328fdd78093-meta.json +0 -1
- package/.turbo/cache/b2c66328fdd78093.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/d39e6ef95ebc4cc0-meta.json +0 -1
- package/.turbo/cache/d39e6ef95ebc4cc0.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/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/f411e2deb0676959-meta.json +0 -1
- package/.turbo/cache/f411e2deb0676959.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/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-types.log +0 -4
|
@@ -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
|
|
|
@@ -31,49 +14,51 @@ Generate unique names for dependency components.
|
|
|
31
14
|
|
|
32
15
|
## Properties
|
|
33
16
|
|
|
34
|
-
| Property
|
|
35
|
-
|
|
36
|
-
| [activeLabel](#activeLabel)
|
|
37
|
-
| [autocapitalize](#autocapitalize)
|
|
38
|
-
| [autocomplete](#autocomplete)
|
|
39
|
-
| [autocorrect](#autocorrect)
|
|
40
|
-
| [
|
|
41
|
-
| [
|
|
42
|
-
| [
|
|
43
|
-
| [
|
|
44
|
-
| [
|
|
45
|
-
| [
|
|
46
|
-
| [
|
|
47
|
-
| [
|
|
48
|
-
| [
|
|
49
|
-
| [
|
|
50
|
-
| [
|
|
51
|
-
| [
|
|
52
|
-
| [
|
|
53
|
-
| [
|
|
54
|
-
| [
|
|
55
|
-
| [
|
|
56
|
-
| [
|
|
57
|
-
| [
|
|
58
|
-
| [
|
|
59
|
-
| [
|
|
60
|
-
| [
|
|
61
|
-
| [
|
|
62
|
-
| [
|
|
63
|
-
| [
|
|
64
|
-
| [
|
|
65
|
-
| [
|
|
66
|
-
| [
|
|
67
|
-
| [
|
|
68
|
-
| [
|
|
17
|
+
| Property | Attribute | Type | Default | Description |
|
|
18
|
+
|-----------------------------------|-----------------------------------|-----------|-------------|--------------------------------------------------|
|
|
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. |
|
|
69
54
|
|
|
70
55
|
## Methods
|
|
71
56
|
|
|
72
|
-
| Method | Type
|
|
73
|
-
|
|
74
|
-
| [isDateType](#isDateType) | `(): boolean`
|
|
75
|
-
| [reset](#reset) | `(): void`
|
|
76
|
-
| [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. |
|
|
77
62
|
|
|
78
63
|
## Events
|
|
79
64
|
|
|
@@ -115,10 +100,11 @@ The `auro-input` element supports the localization of all content managed within
|
|
|
115
100
|
|
|
116
101
|
## Basic
|
|
117
102
|
|
|
118
|
-
|
|
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">
|
|
119
106
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/basic.html) -->
|
|
120
107
|
<!-- The below content is automatically added from ../apiExamples/basic.html -->
|
|
121
|
-
<auro-input></auro-input>
|
|
122
108
|
<auro-input bordered></auro-input>
|
|
123
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
124
110
|
</div>
|
|
@@ -128,7 +114,6 @@ The `auro-input` element supports the localization of all content managed within
|
|
|
128
114
|
<!-- The below code snippet is automatically added from ../apiExamples/basic.html -->
|
|
129
115
|
|
|
130
116
|
```html
|
|
131
|
-
<auro-input></auro-input>
|
|
132
117
|
<auro-input bordered></auro-input>
|
|
133
118
|
```
|
|
134
119
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -139,12 +124,9 @@ The `auro-input` element supports the localization of all content managed within
|
|
|
139
124
|
### Disabled <a name="disabled"></a>
|
|
140
125
|
Use the `disable` attribute to prevent the user from interacting with the input.
|
|
141
126
|
|
|
142
|
-
<div class="exampleWrapper
|
|
127
|
+
<div class="exampleWrapper">
|
|
143
128
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/disabled.html) -->
|
|
144
129
|
<!-- The below content is automatically added from ../apiExamples/disabled.html -->
|
|
145
|
-
<auro-input disabled type="month-day-year" required>
|
|
146
|
-
<slot slot="label">Departure date</slot>
|
|
147
|
-
</auro-input>
|
|
148
130
|
<auro-input disabled bordered type="month-day-year">
|
|
149
131
|
<slot slot="label">Arrival date</slot>
|
|
150
132
|
</auro-input>
|
|
@@ -156,9 +138,6 @@ Use the `disable` attribute to prevent the user from interacting with the input.
|
|
|
156
138
|
<!-- The below code snippet is automatically added from ../apiExamples/disabled.html -->
|
|
157
139
|
|
|
158
140
|
```html
|
|
159
|
-
<auro-input disabled type="month-day-year" required>
|
|
160
|
-
<slot slot="label">Departure date</slot>
|
|
161
|
-
</auro-input>
|
|
162
141
|
<auro-input disabled bordered type="month-day-year">
|
|
163
142
|
<slot slot="label">Arrival date</slot>
|
|
164
143
|
</auro-input>
|
|
@@ -169,13 +148,10 @@ Use the `disable` attribute to prevent the user from interacting with the input.
|
|
|
169
148
|
### Placeholder <a name="placeholder"></a>
|
|
170
149
|
Use the `placeholder` attribute to add a custom placeholder message within the element.
|
|
171
150
|
|
|
172
|
-
<div class="exampleWrapper
|
|
151
|
+
<div class="exampleWrapper">
|
|
173
152
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/placeholder.html) -->
|
|
174
153
|
<!-- The below content is automatically added from ../apiExamples/placeholder.html -->
|
|
175
|
-
<auro-input
|
|
176
|
-
<span slot="label">Full name</span>
|
|
177
|
-
</auro-input>
|
|
178
|
-
<auro-input required bordered placeholder="John Doe">
|
|
154
|
+
<auro-input placeholder="John Doe" bordered required>
|
|
179
155
|
<span slot="label">Full name</span>
|
|
180
156
|
<span slot="helptext">Please enter your full name.</span>
|
|
181
157
|
</auro-input>
|
|
@@ -187,10 +163,7 @@ Use the `placeholder` attribute to add a custom placeholder message within the e
|
|
|
187
163
|
<!-- The below code snippet is automatically added from ../apiExamples/placeholder.html -->
|
|
188
164
|
|
|
189
165
|
```html
|
|
190
|
-
<auro-input
|
|
191
|
-
<span slot="label">Full name</span>
|
|
192
|
-
</auro-input>
|
|
193
|
-
<auro-input required bordered placeholder="John Doe">
|
|
166
|
+
<auro-input placeholder="John Doe" bordered required>
|
|
194
167
|
<span slot="label">Full name</span>
|
|
195
168
|
<span slot="helptext">Please enter your full name.</span>
|
|
196
169
|
</auro-input>
|
|
@@ -234,7 +207,8 @@ Note: Setting the `value` to `undefined` will also reset the element.
|
|
|
234
207
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/value.html) -->
|
|
235
208
|
<!-- The below content is automatically added from ../apiExamples/value.html -->
|
|
236
209
|
<auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
|
|
237
|
-
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
210
|
+
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
211
|
+
<br /><br />
|
|
238
212
|
<auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
|
|
239
213
|
<span slot="label">Name</span>
|
|
240
214
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -248,7 +222,8 @@ Note: Setting the `value` to `undefined` will also reset the element.
|
|
|
248
222
|
|
|
249
223
|
```html
|
|
250
224
|
<auro-button id="setValidValueBtn">Set Value to Alaska</auro-button>
|
|
251
|
-
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
225
|
+
<auro-button id="setUndefinedValueBtn">Set Value to Undefined</auro-button>
|
|
226
|
+
<br /><br />
|
|
252
227
|
<auro-input id="setProgrammaticValueExample" value="Press one of the buttons above!" bordered>
|
|
253
228
|
<span slot="label">Name</span>
|
|
254
229
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -286,7 +261,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
286
261
|
<div class="exampleWrapper">
|
|
287
262
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxDate.html) -->
|
|
288
263
|
<!-- The below content is automatically added from ../apiExamples/maxDate.html -->
|
|
289
|
-
<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>
|
|
290
265
|
<span slot="label">Choose a date</span>
|
|
291
266
|
</auro-input>
|
|
292
267
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -297,7 +272,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
297
272
|
<!-- The below code snippet is automatically added from ../apiExamples/maxDate.html -->
|
|
298
273
|
|
|
299
274
|
```html
|
|
300
|
-
<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>
|
|
301
276
|
<span slot="label">Choose a date</span>
|
|
302
277
|
</auro-input>
|
|
303
278
|
```
|
|
@@ -309,7 +284,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
309
284
|
<div class="exampleWrapper">
|
|
310
285
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxNumber.html) -->
|
|
311
286
|
<!-- The below content is automatically added from ../apiExamples/maxNumber.html -->
|
|
312
|
-
<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>
|
|
313
288
|
<span slot="label">Choose a number</span>
|
|
314
289
|
</auro-input>
|
|
315
290
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -320,7 +295,7 @@ The `setCustomValidityRangeOverflow` attribute may optionally be used in combina
|
|
|
320
295
|
<!-- The below code snippet is automatically added from ../apiExamples/maxNumber.html -->
|
|
321
296
|
|
|
322
297
|
```html
|
|
323
|
-
<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>
|
|
324
299
|
<span slot="label">Choose a number</span>
|
|
325
300
|
</auro-input>
|
|
326
301
|
```
|
|
@@ -337,7 +312,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
337
312
|
<div class="exampleWrapper">
|
|
338
313
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minDate.html) -->
|
|
339
314
|
<!-- The below content is automatically added from ../apiExamples/minDate.html -->
|
|
340
|
-
<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>
|
|
341
316
|
<span slot="label">Choose a date</span>
|
|
342
317
|
</auro-input>
|
|
343
318
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -348,7 +323,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
348
323
|
<!-- The below code snippet is automatically added from ../apiExamples/minDate.html -->
|
|
349
324
|
|
|
350
325
|
```html
|
|
351
|
-
<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>
|
|
352
327
|
<span slot="label">Choose a date</span>
|
|
353
328
|
</auro-input>
|
|
354
329
|
```
|
|
@@ -360,7 +335,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
360
335
|
<div class="exampleWrapper">
|
|
361
336
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minNumber.html) -->
|
|
362
337
|
<!-- The below content is automatically added from ../apiExamples/minNumber.html -->
|
|
363
|
-
<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>
|
|
364
339
|
<span slot="label">Choose a number</span>
|
|
365
340
|
</auro-input>
|
|
366
341
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -371,7 +346,7 @@ The `setCustomValidityRangeUnderflow` attribute may optionally be used in combin
|
|
|
371
346
|
<!-- The below code snippet is automatically added from ../apiExamples/minNumber.html -->
|
|
372
347
|
|
|
373
348
|
```html
|
|
374
|
-
<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>
|
|
375
350
|
<span slot="label">Choose a number</span>
|
|
376
351
|
</auro-input>
|
|
377
352
|
```
|
|
@@ -383,14 +358,10 @@ Use the `maxlength` attribute to control the length of the input entered.
|
|
|
383
358
|
|
|
384
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.
|
|
385
360
|
|
|
386
|
-
<div class="exampleWrapper
|
|
361
|
+
<div class="exampleWrapper">
|
|
387
362
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
|
|
388
363
|
<!-- The below content is automatically added from ../apiExamples/maxLength.html -->
|
|
389
|
-
<auro-input
|
|
390
|
-
<slot slot="label">Voucher Code</slot>
|
|
391
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
392
|
-
</auro-input>
|
|
393
|
-
<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>
|
|
394
365
|
<slot slot="label">Voucher Code</slot>
|
|
395
366
|
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
396
367
|
</auro-input>
|
|
@@ -402,11 +373,7 @@ The `setCustomValidityTooLong` attribute may optionally be used in combination w
|
|
|
402
373
|
<!-- The below code snippet is automatically added from ../apiExamples/maxLength.html -->
|
|
403
374
|
|
|
404
375
|
```html
|
|
405
|
-
<auro-input
|
|
406
|
-
<slot slot="label">Voucher Code</slot>
|
|
407
|
-
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
408
|
-
</auro-input>
|
|
409
|
-
<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>
|
|
410
377
|
<slot slot="label">Voucher Code</slot>
|
|
411
378
|
<slot slot="helptext">Please enter your 12 character voucher code.</slot>
|
|
412
379
|
</auro-input>
|
|
@@ -419,14 +386,10 @@ Use the `minlength` attribute to control the length of the input entered.
|
|
|
419
386
|
|
|
420
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.
|
|
421
388
|
|
|
422
|
-
<div class="exampleWrapper
|
|
389
|
+
<div class="exampleWrapper">
|
|
423
390
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minLength.html) -->
|
|
424
391
|
<!-- The below content is automatically added from ../apiExamples/minLength.html -->
|
|
425
|
-
<auro-input
|
|
426
|
-
<slot slot="label">Voucher Code</slot>
|
|
427
|
-
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
428
|
-
</auro-input>
|
|
429
|
-
<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>
|
|
430
393
|
<slot slot="label">Voucher Code</slot>
|
|
431
394
|
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
432
395
|
</auro-input>
|
|
@@ -438,11 +401,7 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
|
|
|
438
401
|
<!-- The below code snippet is automatically added from ../apiExamples/minLength.html -->
|
|
439
402
|
|
|
440
403
|
```html
|
|
441
|
-
<auro-input
|
|
442
|
-
<slot slot="label">Voucher Code</slot>
|
|
443
|
-
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
444
|
-
</auro-input>
|
|
445
|
-
<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>
|
|
446
405
|
<slot slot="label">Voucher Code</slot>
|
|
447
406
|
<slot slot="helptext">Please enter your 4 character voucher code.</slot>
|
|
448
407
|
</auro-input>
|
|
@@ -455,14 +414,10 @@ Use the `pattern` attribute to set custom input validation. This example also us
|
|
|
455
414
|
|
|
456
415
|
The `<auro-input>` component supports setting a custom validity message specific to the pattern validation by using the `setCustomValidityPatternMismatch` attribute.
|
|
457
416
|
|
|
458
|
-
<div class="exampleWrapper
|
|
417
|
+
<div class="exampleWrapper">
|
|
459
418
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/pattern.html) -->
|
|
460
419
|
<!-- The below content is automatically added from ../apiExamples/pattern.html -->
|
|
461
|
-
<auro-input pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
462
|
-
<span slot="label">Username</span>
|
|
463
|
-
<span slot="helptext">Please enter a username.</span>
|
|
464
|
-
</auro-input>
|
|
465
|
-
<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>
|
|
466
421
|
<span slot="label">Username</span>
|
|
467
422
|
<span slot="helptext">Please enter a username.</span>
|
|
468
423
|
</auro-input>
|
|
@@ -474,40 +429,10 @@ The `<auro-input>` component supports setting a custom validity message specific
|
|
|
474
429
|
<!-- The below code snippet is automatically added from ../apiExamples/pattern.html -->
|
|
475
430
|
|
|
476
431
|
```html
|
|
477
|
-
<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>
|
|
478
433
|
<span slot="label">Username</span>
|
|
479
434
|
<span slot="helptext">Please enter a username.</span>
|
|
480
435
|
</auro-input>
|
|
481
|
-
<auro-input bordered pattern="[a-z]{1,15}" spellcheck="false" setCustomValidityPatternMismatch="Only contain lowercase letters w/no spaces">
|
|
482
|
-
<span slot="label">Username</span>
|
|
483
|
-
<span slot="helptext">Please enter a username.</span>
|
|
484
|
-
</auro-input>
|
|
485
|
-
```
|
|
486
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
487
|
-
</auro-accordion>
|
|
488
|
-
|
|
489
|
-
### Borderless <a name="borderless"></a>
|
|
490
|
-
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).
|
|
491
|
-
|
|
492
|
-
<div class="exampleWrapper">
|
|
493
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/borderless.html) -->
|
|
494
|
-
<!-- The below content is automatically added from ../apiExamples/borderless.html -->
|
|
495
|
-
<auro-input borderless>
|
|
496
|
-
<span slot="label">Name</span>
|
|
497
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
498
|
-
</auro-input>
|
|
499
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
500
|
-
</div>
|
|
501
|
-
<auro-accordion alignRight>
|
|
502
|
-
<span slot="trigger">See code</span>
|
|
503
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/borderless.html) -->
|
|
504
|
-
<!-- The below code snippet is automatically added from ../apiExamples/borderless.html -->
|
|
505
|
-
|
|
506
|
-
```html
|
|
507
|
-
<auro-input borderless>
|
|
508
|
-
<span slot="label">Name</span>
|
|
509
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
510
|
-
</auro-input>
|
|
511
436
|
```
|
|
512
437
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
513
438
|
</auro-accordion>
|
|
@@ -521,7 +446,8 @@ In this example, the user is able to programmatically change the value of the in
|
|
|
521
446
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/readonly.html) -->
|
|
522
447
|
<!-- The below content is automatically added from ../apiExamples/readonly.html -->
|
|
523
448
|
<auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
|
|
524
|
-
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
449
|
+
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
450
|
+
<br /><br />
|
|
525
451
|
<auro-input readonly bordered id="readonlyExample">
|
|
526
452
|
<span slot="label">Name</span>
|
|
527
453
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -535,7 +461,8 @@ In this example, the user is able to programmatically change the value of the in
|
|
|
535
461
|
|
|
536
462
|
```html
|
|
537
463
|
<auro-button id="setReadonlyValueBtn">Set Value to Auro Alaska</auro-button>
|
|
538
|
-
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
464
|
+
<auro-button id="resetReadonlyValueBtn">Reset</auro-button>
|
|
465
|
+
<br /><br />
|
|
539
466
|
<auro-input readonly bordered id="readonlyExample">
|
|
540
467
|
<span slot="label">Name</span>
|
|
541
468
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -565,13 +492,9 @@ export function setReadonlyValue() {
|
|
|
565
492
|
### Active Label <a name="activeLabel"></a>
|
|
566
493
|
Example use cases for auro-input support the `activeLabel` attribute. If set, the label will stay fixed in the active position.
|
|
567
494
|
|
|
568
|
-
<div class="exampleWrapper
|
|
495
|
+
<div class="exampleWrapper">
|
|
569
496
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/activeLabel.html) -->
|
|
570
497
|
<!-- The below content is automatically added from ../apiExamples/activeLabel.html -->
|
|
571
|
-
<auro-input activeLabel>
|
|
572
|
-
<slot slot="label">Address</slot>
|
|
573
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
574
|
-
</auro-input>
|
|
575
498
|
<auro-input activeLabel bordered>
|
|
576
499
|
<slot slot="label">Address</slot>
|
|
577
500
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -584,10 +507,6 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
584
507
|
<!-- The below code snippet is automatically added from ../apiExamples/activeLabel.html -->
|
|
585
508
|
|
|
586
509
|
```html
|
|
587
|
-
<auro-input activeLabel>
|
|
588
|
-
<slot slot="label">Address</slot>
|
|
589
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
590
|
-
</auro-input>
|
|
591
510
|
<auro-input activeLabel bordered>
|
|
592
511
|
<slot slot="label">Address</slot>
|
|
593
512
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -599,13 +518,9 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
599
518
|
### Disable auto-validation <a name="noValidate"></a>
|
|
600
519
|
For use cases where the field is `required`, but live validation is not wanted, use the `noValidate` attribute.
|
|
601
520
|
|
|
602
|
-
<div class="exampleWrapper
|
|
521
|
+
<div class="exampleWrapper">
|
|
603
522
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/noValidate.html) -->
|
|
604
523
|
<!-- The below content is automatically added from ../apiExamples/noValidate.html -->
|
|
605
|
-
<auro-input noValidate required>
|
|
606
|
-
<slot slot="label">Address</slot>
|
|
607
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
608
|
-
</auro-input>
|
|
609
524
|
<auro-input noValidate required bordered>
|
|
610
525
|
<slot slot="label">Address</slot>
|
|
611
526
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -618,10 +533,6 @@ For use cases where the field is `required`, but live validation is not wanted,
|
|
|
618
533
|
<!-- The below code snippet is automatically added from ../apiExamples/noValidate.html -->
|
|
619
534
|
|
|
620
535
|
```html
|
|
621
|
-
<auro-input noValidate required>
|
|
622
|
-
<slot slot="label">Address</slot>
|
|
623
|
-
<slot slot="helptext">Please enter your home address.</slot>
|
|
624
|
-
</auro-input>
|
|
625
536
|
<auro-input noValidate required bordered>
|
|
626
537
|
<slot slot="label">Address</slot>
|
|
627
538
|
<slot slot="helptext">Please enter your home address.</slot>
|
|
@@ -641,12 +552,9 @@ When present, the `required` attribute specifies that an input field must be fil
|
|
|
641
552
|
|
|
642
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`.
|
|
643
554
|
|
|
644
|
-
<div class="exampleWrapper
|
|
555
|
+
<div class="exampleWrapper">
|
|
645
556
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/required.html) -->
|
|
646
557
|
<!-- The below content is automatically added from ../apiExamples/required.html -->
|
|
647
|
-
<auro-input required placeholder="John Doe">
|
|
648
|
-
<span slot="label">Full name</span>
|
|
649
|
-
</auro-input>
|
|
650
558
|
<auro-input required bordered placeholder="John Doe">
|
|
651
559
|
<span slot="label">Full name</span>
|
|
652
560
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -659,9 +567,6 @@ When the validity check fails, the validityState equals `valueMissing`. The erro
|
|
|
659
567
|
<!-- The below code snippet is automatically added from ../apiExamples/required.html -->
|
|
660
568
|
|
|
661
569
|
```html
|
|
662
|
-
<auro-input required placeholder="John Doe">
|
|
663
|
-
<span slot="label">Full name</span>
|
|
664
|
-
</auro-input>
|
|
665
570
|
<auro-input required bordered placeholder="John Doe">
|
|
666
571
|
<span slot="label">Full name</span>
|
|
667
572
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -673,13 +578,9 @@ When the validity check fails, the validityState equals `valueMissing`. The erro
|
|
|
673
578
|
### Validation on input <a name="validateOnInput"></a>
|
|
674
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.
|
|
675
580
|
|
|
676
|
-
<div class="exampleWrapper
|
|
581
|
+
<div class="exampleWrapper">
|
|
677
582
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/validateOnInput.html) -->
|
|
678
583
|
<!-- The below content is automatically added from ../apiExamples/validateOnInput.html -->
|
|
679
|
-
<auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
680
|
-
<span slot="label">Full Name</span>
|
|
681
|
-
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
682
|
-
</auro-input>
|
|
683
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.">
|
|
684
585
|
<span slot="label">Full Name</span>
|
|
685
586
|
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
@@ -692,10 +593,6 @@ Use the `validateOnInput` attribute to enable live validation on the `input` eve
|
|
|
692
593
|
<!-- The below code snippet is automatically added from ../apiExamples/validateOnInput.html -->
|
|
693
594
|
|
|
694
595
|
```html
|
|
695
|
-
<auro-input validateOnInput required pattern="[a-zA-Z-.']+( +[a-zA-Z-.']+)+" setCustomValidityPatternMismatch="Full name requires two or more names with at least one space.">
|
|
696
|
-
<span slot="label">Full Name</span>
|
|
697
|
-
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
698
|
-
</auro-input>
|
|
699
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.">
|
|
700
597
|
<span slot="label">Full Name</span>
|
|
701
598
|
<span slot="helptext">Please enter your full name as it appears on the card.</span>
|
|
@@ -709,13 +606,9 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
|
|
|
709
606
|
|
|
710
607
|
**NOTE:** Custom strings are NOT localized. It is the responsibility of the element consumer to provide localized strings when using this element property.
|
|
711
608
|
|
|
712
|
-
<div class="exampleWrapper
|
|
609
|
+
<div class="exampleWrapper">
|
|
713
610
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/setCustomValidity.html) -->
|
|
714
611
|
<!-- The below content is automatically added from ../apiExamples/setCustomValidity.html -->
|
|
715
|
-
<auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
716
|
-
<span slot="label">Full Name</span>
|
|
717
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
718
|
-
</auro-input>
|
|
719
612
|
<auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
720
613
|
<span slot="label">Full Name</span>
|
|
721
614
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -728,10 +621,6 @@ The `setCustomValidity` attribute can be used to set a custom string for all val
|
|
|
728
621
|
<!-- The below code snippet is automatically added from ../apiExamples/setCustomValidity.html -->
|
|
729
622
|
|
|
730
623
|
```html
|
|
731
|
-
<auro-input required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
732
|
-
<span slot="label">Full Name</span>
|
|
733
|
-
<span slot="helptext">Please enter your full name.</span>
|
|
734
|
-
</auro-input>
|
|
735
624
|
<auro-input bordered required minlength="3" setCustomValidity="Sorry, please enter your first and last name (one space required).">
|
|
736
625
|
<span slot="label">Full Name</span>
|
|
737
626
|
<span slot="helptext">Please enter your full name.</span>
|
|
@@ -749,8 +638,9 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
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 @@ A custom error message can be set using the `error` attribute, or it can be used
|
|
|
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>
|
|
@@ -1290,7 +1125,6 @@ The component may be restyled using the following code sample and changing the v
|
|
|
1290
1125
|
--ds-auro-input-border-color: var(--ds-color-border-secondary-default, #{$ds-color-border-secondary-default});
|
|
1291
1126
|
--ds-auro-input-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
|
|
1292
1127
|
--ds-auro-input-caret-color: var(--ds-color-text-ui-focus-default, #{$ds-color-text-ui-focus-default});
|
|
1293
|
-
--ds-auro-input-help-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
|
|
1294
1128
|
--ds-auro-input-label-text-color: var(--ds-color-text-tertiary-default, #{$ds-color-text-tertiary-default});
|
|
1295
1129
|
--ds-auro-input-placeholder-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|
|
1296
1130
|
--ds-auro-input-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
|