@aurodesignsystem/auro-formkit 1.6.0-beta.9 → 2.0.0-beta.10
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/026e4d886ba97e63-meta.json +1 -0
- package/.turbo/cache/026e4d886ba97e63.tar.zst +0 -0
- package/.turbo/cache/080ca6155e637d5d-meta.json +1 -0
- package/.turbo/cache/080ca6155e637d5d.tar.zst +0 -0
- package/.turbo/cache/0b115e30ff606299-meta.json +1 -0
- package/.turbo/cache/0b115e30ff606299.tar.zst +0 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
- package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
- package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
- package/.turbo/cache/1c630fb3411e4a41-meta.json +1 -0
- package/.turbo/cache/1c630fb3411e4a41.tar.zst +0 -0
- package/.turbo/cache/24b19ac5895e5dd6-meta.json +1 -0
- package/.turbo/cache/24b19ac5895e5dd6.tar.zst +0 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
- package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
- package/.turbo/cache/29b72c73cbccb53d-meta.json +1 -0
- package/.turbo/cache/29b72c73cbccb53d.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
- package/.turbo/cache/3e647c5863d32e6f-meta.json +1 -0
- package/.turbo/cache/3e647c5863d32e6f.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
- package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
- package/.turbo/cache/43f5206cc4e69b44-meta.json +1 -0
- package/.turbo/cache/43f5206cc4e69b44.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
- package/.turbo/cache/4a85ec226b585fd5-meta.json +1 -0
- package/.turbo/cache/4a85ec226b585fd5.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
- package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
- package/.turbo/cache/50a29c70b93c57dd-meta.json +1 -0
- package/.turbo/cache/50a29c70b93c57dd.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/56455145cd768755-meta.json +1 -0
- package/.turbo/cache/56455145cd768755.tar.zst +0 -0
- package/.turbo/cache/5c06332cf9f132da-meta.json +1 -0
- package/.turbo/cache/5c06332cf9f132da.tar.zst +0 -0
- package/.turbo/cache/5e613afc6868d0e2-meta.json +1 -0
- package/.turbo/cache/5e613afc6868d0e2.tar.zst +0 -0
- package/.turbo/cache/6081837e8943b62e-meta.json +1 -0
- package/.turbo/cache/6081837e8943b62e.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
- package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
- package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
- package/.turbo/cache/639dac15b979bedc-meta.json +1 -0
- package/.turbo/cache/639dac15b979bedc.tar.zst +0 -0
- package/.turbo/cache/664c2e08614fd212-meta.json +1 -0
- package/.turbo/cache/664c2e08614fd212.tar.zst +0 -0
- package/.turbo/cache/6c51b0ebfc086faa-meta.json +1 -0
- package/.turbo/cache/6c51b0ebfc086faa.tar.zst +0 -0
- package/.turbo/cache/7216d994164825fb-meta.json +1 -0
- package/.turbo/cache/7216d994164825fb.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
- package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
- package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
- package/.turbo/cache/83a167e135cb431a-meta.json +1 -0
- package/.turbo/cache/83a167e135cb431a.tar.zst +0 -0
- package/.turbo/cache/8af27c076dc010c3-meta.json +1 -0
- package/.turbo/cache/8af27c076dc010c3.tar.zst +0 -0
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
- package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
- package/.turbo/cache/953c8216249d3509-meta.json +1 -0
- package/.turbo/cache/953c8216249d3509.tar.zst +0 -0
- package/.turbo/cache/95a5e76ffd8c5110-meta.json +1 -0
- package/.turbo/cache/95a5e76ffd8c5110.tar.zst +0 -0
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
- package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
- package/.turbo/cache/a8b0fa0a9aa707c5-meta.json +1 -0
- package/.turbo/cache/a8b0fa0a9aa707c5.tar.zst +0 -0
- package/.turbo/cache/b22ca87b2f7f9cc2-meta.json +1 -0
- package/.turbo/cache/b22ca87b2f7f9cc2.tar.zst +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
- package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
- package/.turbo/cache/b7bbe2e7d44b77f0-meta.json +1 -0
- package/.turbo/cache/b7bbe2e7d44b77f0.tar.zst +0 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
- package/.turbo/cache/c2b51643f886a493-meta.json +1 -0
- package/.turbo/cache/c2b51643f886a493.tar.zst +0 -0
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
- package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c74d369a0475b124-meta.json +1 -0
- package/.turbo/cache/c74d369a0475b124.tar.zst +0 -0
- package/.turbo/cache/c7f5a276ddb73cf7-meta.json +1 -0
- package/.turbo/cache/c7f5a276ddb73cf7.tar.zst +0 -0
- package/.turbo/cache/c96933d40404e4c8-meta.json +1 -0
- package/.turbo/cache/c96933d40404e4c8.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
- package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
- package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
- package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -0
- package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -0
- package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
- package/.turbo/cache/eb1dbe885532c1dc-meta.json +1 -0
- package/.turbo/cache/eb1dbe885532c1dc.tar.zst +0 -0
- package/.turbo/cache/f1f6744948f1b18f-meta.json +1 -0
- package/.turbo/cache/f1f6744948f1b18f.tar.zst +0 -0
- package/.turbo/cache/feefbc25d550c1cd-meta.json +1 -0
- package/.turbo/cache/feefbc25d550c1cd.tar.zst +0 -0
- package/.turbo/cache/ff4dbfffc29255ab-meta.json +1 -0
- package/.turbo/cache/ff4dbfffc29255ab.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +175 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +23 -21
- package/components/checkbox/.turbo/turbo-bundler.log +4 -4
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/.turbo/turbo-types.log +1 -1
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.html +6 -1
- package/components/checkbox/demo/api.js +16 -0
- package/components/checkbox/demo/api.md +120 -61
- package/components/checkbox/demo/api.min.js +261 -90
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +236 -90
- package/components/checkbox/dist/auro-checkbox-group.d.ts +41 -17
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +25 -11
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +236 -90
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox-group.js +64 -23
- package/components/checkbox/src/auro-checkbox.js +38 -12
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +25 -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 +21 -26
- package/components/combobox/demo/api.js +4 -2
- package/components/combobox/demo/api.md +77 -16
- package/components/combobox/demo/api.min.js +890 -447
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +881 -447
- package/components/combobox/dist/auro-combobox.d.ts +16 -5
- 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 +874 -408
- 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 +8 -8
- package/components/combobox/src/auro-combobox.js +85 -75
- 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 +179 -7
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +288 -14
- package/components/counter/.turbo/turbo-bundler.log +4 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +39 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +98 -1016
- package/components/counter/demo/api.min.js +1670 -32
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +194 -0
- package/components/counter/demo/index.min.js +1702 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +77 -6
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter.d.ts +78 -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/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/counter/dist/formkit/auro-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 +1670 -32
- package/components/counter/dist/styles/color-css.d.ts +3 -0
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-group-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-group-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +9 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +150 -21
- package/components/counter/src/auro-counter.js +272 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/formkit/auro-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-color-css.js +2 -0
- package/components/counter/src/styles/counter-group-color.css +4 -0
- package/components/counter/src/styles/counter-group-color.scss +19 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +13 -1
- package/components/counter/src/styles/counter-group.scss +14 -1
- 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 +62 -59
- 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.js +2 -0
- package/components/datepicker/demo/api.md +216 -125
- package/components/datepicker/demo/api.min.js +1111 -598
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1102 -598
- package/components/datepicker/dist/auro-datepicker.d.ts +94 -80
- 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 +1102 -598
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/package.json +4 -4
- package/components/datepicker/src/auro-datepicker.js +154 -106
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/popoverVersion.js +1 -1
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-bundler.log +4 -4
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/.turbo/turbo-types.log +1 -1
- package/components/dropdown/README.md +18 -26
- package/components/dropdown/demo/api.md +4 -4
- package/components/dropdown/demo/api.min.js +241 -105
- package/components/dropdown/demo/index.min.js +241 -105
- 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/iconVersion.d.ts +1 -1
- package/components/dropdown/dist/index.js +241 -105
- package/components/dropdown/package.json +2 -2
- package/components/dropdown/src/auro-dropdown.js +156 -41
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/iconVersion.js +1 -1
- package/components/dropdown/src/styles/bibStyles-css.js +1 -1
- package/components/dropdown/src/styles/bibStyles.css +0 -5
- package/components/dropdown/src/styles/bibStyles.scss +0 -7
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +6 -7
- package/components/dropdown/src/styles/color.scss +7 -7
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +5 -0
- package/components/dropdown/src/styles/style.scss +6 -0
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +18 -26
- package/components/form/demo/api.min.js +4 -4
- package/components/form/demo/index.min.js +4 -4
- package/components/form/dist/index.js +4 -4
- package/components/form/package.json +1 -1
- package/components/input/.turbo/turbo-build$colon$sass.log +68 -18
- package/components/input/.turbo/turbo-build$colon$version.log +1 -1
- package/components/input/.turbo/turbo-build.log +90 -40
- package/components/input/.turbo/turbo-bundler.log +4 -4
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
- package/components/input/.turbo/turbo-types.log +1 -1
- package/components/input/README.md +18 -28
- package/components/input/demo/api.js +2 -0
- package/components/input/demo/api.md +234 -351
- package/components/input/demo/api.min.js +428 -178
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +416 -175
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +158 -97
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +416 -175
- package/components/input/dist/styles/mixins-css.d.ts +3 -0
- package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
- package/components/input/package.json +3 -3
- package/components/input/src/auro-input.js +0 -1
- package/components/input/src/base-input.js +272 -111
- package/components/input/src/buttonVersion.js +1 -1
- package/components/input/src/iconVersion.js +1 -1
- package/components/input/src/styles/borders.scss +3 -19
- package/components/input/src/styles/color.css +1 -2
- package/components/input/src/styles/color.scss +3 -10
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +14 -1
- package/components/input/src/styles/input.scss +25 -1
- package/components/input/src/styles/label-css.js +1 -1
- package/components/input/src/styles/label.css +4 -4
- package/components/input/src/styles/label.scss +4 -8
- package/components/input/src/styles/mixins-css.js +2 -0
- package/components/input/src/styles/mixins.css +1 -0
- package/components/input/src/styles/mixins.scss +45 -0
- package/components/input/src/styles/notificationIcons-css.js +1 -1
- package/components/input/src/styles/notificationIcons.css +13 -5
- package/components/input/src/styles/notificationIcons.scss +17 -11
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +31 -13
- package/components/input/src/styles/style.scss +0 -4
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +20 -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 +1 -5
- package/components/menu/demo/api.min.js +12 -44
- package/components/menu/demo/index.min.js +12 -44
- package/components/menu/dist/auro-menu.d.ts +1 -5
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/auro-menuoption.d.ts +0 -1
- package/components/menu/dist/auro-menuoption.d.ts.map +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +12 -44
- package/components/menu/package.json +2 -2
- package/components/menu/src/auro-menu.js +1 -33
- package/components/menu/src/auro-menuoption.js +1 -2
- package/components/menu/src/iconVersion.js +1 -1
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +26 -24
- package/components/radio/.turbo/turbo-bundler.log +4 -4
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/.turbo/turbo-types.log +1 -1
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.html +1 -0
- package/components/radio/demo/api.js +2 -0
- package/components/radio/demo/api.md +60 -4
- package/components/radio/demo/api.min.js +159 -62
- package/components/radio/demo/index.min.js +150 -62
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +5 -0
- package/components/radio/dist/auro-radio.d.ts.map +1 -1
- package/components/radio/dist/index.js +150 -62
- package/components/radio/package.json +1 -1
- package/components/radio/src/auro-radio-group.js +6 -6
- package/components/radio/src/auro-radio.js +9 -0
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +37 -37
- 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.js +6 -2
- package/components/select/demo/api.md +165 -163
- package/components/select/demo/api.min.js +524 -337
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +504 -333
- package/components/select/dist/auro-select.d.ts +65 -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 +494 -278
- package/components/select/package.json +3 -3
- package/components/select/src/auro-select.js +105 -116
- 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 +7 -0
- package/components/select/src/styles/style.scss +11 -1
- package/package.json +21 -21
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/form-validation/src/validation.js +129 -50
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/turbo.json +8 -8
- package/.turbo/cache/0008b92c8752bf75-meta.json +0 -1
- package/.turbo/cache/0008b92c8752bf75.tar.zst +0 -0
- package/.turbo/cache/00cb38bef1105dac-meta.json +0 -1
- package/.turbo/cache/00cb38bef1105dac.tar.zst +0 -0
- package/.turbo/cache/0157ec8abdaf2a9c-meta.json +0 -1
- package/.turbo/cache/0157ec8abdaf2a9c.tar.zst +0 -0
- package/.turbo/cache/0636e9cedc83238b-meta.json +0 -1
- package/.turbo/cache/0636e9cedc83238b.tar.zst +0 -0
- package/.turbo/cache/06f476671015e973-meta.json +0 -1
- package/.turbo/cache/06f476671015e973.tar.zst +0 -0
- package/.turbo/cache/09df74d672102662-meta.json +0 -1
- package/.turbo/cache/09df74d672102662.tar.zst +0 -0
- package/.turbo/cache/0cd109fb3183c2e6-meta.json +0 -1
- package/.turbo/cache/0cd109fb3183c2e6.tar.zst +0 -0
- package/.turbo/cache/17c429ade621ffcb-meta.json +0 -1
- package/.turbo/cache/17c429ade621ffcb.tar.zst +0 -0
- package/.turbo/cache/1c47128a0e12fcfa-meta.json +0 -1
- package/.turbo/cache/1c47128a0e12fcfa.tar.zst +0 -0
- package/.turbo/cache/1db02f756ce85784-meta.json +0 -1
- package/.turbo/cache/1db02f756ce85784.tar.zst +0 -0
- package/.turbo/cache/21705fa179d5f820-meta.json +0 -1
- package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
- package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +0 -1
- package/.turbo/cache/249d9ba3ee6aa1cb.tar.zst +0 -0
- package/.turbo/cache/2666b96bfcf4e9cd-meta.json +0 -1
- package/.turbo/cache/2666b96bfcf4e9cd.tar.zst +0 -0
- package/.turbo/cache/2778d5e895240cd1-meta.json +0 -1
- package/.turbo/cache/2778d5e895240cd1.tar.zst +0 -0
- package/.turbo/cache/300b59df2de12b46-meta.json +0 -1
- package/.turbo/cache/300b59df2de12b46.tar.zst +0 -0
- package/.turbo/cache/31729e74fccaafb0-meta.json +0 -1
- package/.turbo/cache/31729e74fccaafb0.tar.zst +0 -0
- package/.turbo/cache/32702694d62a08ac-meta.json +0 -1
- package/.turbo/cache/32702694d62a08ac.tar.zst +0 -0
- package/.turbo/cache/3482a3cba9a51c2d-meta.json +0 -1
- package/.turbo/cache/3482a3cba9a51c2d.tar.zst +0 -0
- package/.turbo/cache/3a9d73752f23a40a-meta.json +0 -1
- package/.turbo/cache/3a9d73752f23a40a.tar.zst +0 -0
- package/.turbo/cache/3afe2e6f714a4fcb-meta.json +0 -1
- package/.turbo/cache/3afe2e6f714a4fcb.tar.zst +0 -0
- package/.turbo/cache/408ea1754276298c-meta.json +0 -1
- package/.turbo/cache/408ea1754276298c.tar.zst +0 -0
- package/.turbo/cache/42066c793c3816f3-meta.json +0 -1
- package/.turbo/cache/42066c793c3816f3.tar.zst +0 -0
- package/.turbo/cache/4bec46ffff6fd2e8-meta.json +0 -1
- package/.turbo/cache/4bec46ffff6fd2e8.tar.zst +0 -0
- package/.turbo/cache/50b275350abe14dd-meta.json +0 -1
- package/.turbo/cache/50b275350abe14dd.tar.zst +0 -0
- package/.turbo/cache/51078a087b52c65e-meta.json +0 -1
- package/.turbo/cache/51078a087b52c65e.tar.zst +0 -0
- package/.turbo/cache/593ddf689673e305-meta.json +0 -1
- package/.turbo/cache/593ddf689673e305.tar.zst +0 -0
- package/.turbo/cache/64e4f18395bd4461-meta.json +0 -1
- package/.turbo/cache/64e4f18395bd4461.tar.zst +0 -0
- package/.turbo/cache/68843ecab6e09320-meta.json +0 -1
- package/.turbo/cache/68843ecab6e09320.tar.zst +0 -0
- package/.turbo/cache/7419ef01dc18b433-meta.json +0 -1
- package/.turbo/cache/7419ef01dc18b433.tar.zst +0 -0
- package/.turbo/cache/748faca09d14fea7-meta.json +0 -1
- package/.turbo/cache/748faca09d14fea7.tar.zst +0 -0
- package/.turbo/cache/75495b0bbd6c06a7-meta.json +0 -1
- package/.turbo/cache/75495b0bbd6c06a7.tar.zst +0 -0
- package/.turbo/cache/7a6a8af4392c4b05-meta.json +0 -1
- package/.turbo/cache/7a6a8af4392c4b05.tar.zst +0 -0
- package/.turbo/cache/7e81141e0140dd3a-meta.json +0 -1
- package/.turbo/cache/7e81141e0140dd3a.tar.zst +0 -0
- package/.turbo/cache/7eb50d96639e6dd4-meta.json +0 -1
- package/.turbo/cache/7eb50d96639e6dd4.tar.zst +0 -0
- package/.turbo/cache/83bb78fec13808d0-meta.json +0 -1
- package/.turbo/cache/83bb78fec13808d0.tar.zst +0 -0
- package/.turbo/cache/8605f60efb7d3957-meta.json +0 -1
- package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
- package/.turbo/cache/892a90b62716ded5-meta.json +0 -1
- package/.turbo/cache/892a90b62716ded5.tar.zst +0 -0
- package/.turbo/cache/8cac06ca809bd2b1-meta.json +0 -1
- package/.turbo/cache/8cac06ca809bd2b1.tar.zst +0 -0
- package/.turbo/cache/9a908bf8f82c84a6-meta.json +0 -1
- package/.turbo/cache/9a908bf8f82c84a6.tar.zst +0 -0
- package/.turbo/cache/9ed3089ffd7d0c00-meta.json +0 -1
- package/.turbo/cache/9ed3089ffd7d0c00.tar.zst +0 -0
- package/.turbo/cache/a3a879aea25debf8-meta.json +0 -1
- package/.turbo/cache/a3a879aea25debf8.tar.zst +0 -0
- package/.turbo/cache/a8dbafaf6177f677-meta.json +0 -1
- package/.turbo/cache/a8dbafaf6177f677.tar.zst +0 -0
- package/.turbo/cache/a8f6418b830ef0ba-meta.json +0 -1
- package/.turbo/cache/a8f6418b830ef0ba.tar.zst +0 -0
- package/.turbo/cache/b37b0eb5597e160f-meta.json +0 -1
- package/.turbo/cache/b37b0eb5597e160f.tar.zst +0 -0
- package/.turbo/cache/b7e7a8c425673f7c-meta.json +0 -1
- package/.turbo/cache/b7e7a8c425673f7c.tar.zst +0 -0
- package/.turbo/cache/bc8eed3d7216f5b7-meta.json +0 -1
- package/.turbo/cache/bc8eed3d7216f5b7.tar.zst +0 -0
- package/.turbo/cache/bde11c3029373459-meta.json +0 -1
- package/.turbo/cache/bde11c3029373459.tar.zst +0 -0
- package/.turbo/cache/c8e5fe6aec4479f5-meta.json +0 -1
- package/.turbo/cache/c8e5fe6aec4479f5.tar.zst +0 -0
- package/.turbo/cache/d0e874a9a71c9468-meta.json +0 -1
- package/.turbo/cache/d0e874a9a71c9468.tar.zst +0 -0
- package/.turbo/cache/d61b4e1bde4c0a12-meta.json +0 -1
- package/.turbo/cache/d61b4e1bde4c0a12.tar.zst +0 -0
- package/.turbo/cache/db6dedc0e7a12575-meta.json +0 -1
- package/.turbo/cache/db6dedc0e7a12575.tar.zst +0 -0
- package/.turbo/cache/de9737607345ec54-meta.json +0 -1
- package/.turbo/cache/de9737607345ec54.tar.zst +0 -0
- package/.turbo/cache/e234aa902b2c5b30-meta.json +0 -1
- package/.turbo/cache/e234aa902b2c5b30.tar.zst +0 -0
- package/.turbo/cache/e541225f46f7cf86-meta.json +0 -1
- package/.turbo/cache/e541225f46f7cf86.tar.zst +0 -0
- package/.turbo/cache/e67ac30b07d9e800-meta.json +0 -1
- package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
- package/.turbo/cache/e7244fdd3397eba7-meta.json +0 -1
- package/.turbo/cache/e7244fdd3397eba7.tar.zst +0 -0
- package/.turbo/cache/e7cf2cc625bd92b3-meta.json +0 -1
- package/.turbo/cache/e7cf2cc625bd92b3.tar.zst +0 -0
- package/.turbo/cache/e89a401ebdda3fc2-meta.json +0 -1
- package/.turbo/cache/e89a401ebdda3fc2.tar.zst +0 -0
- package/components/dropdown/dist/floatingUI.d.mts +0 -68
- package/components/dropdown/dist/floatingUI.d.mts.map +0 -1
- package/components/dropdown/src/floatingUI.mjs +0 -381
- package/components/select/demo/alertValue.js +0 -6
|
@@ -14,21 +14,26 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
| Property | Attribute | Type | Default
|
|
18
|
-
|
|
19
|
-
| [disabled](#disabled) | `disabled` | `
|
|
20
|
-
| [error](#error) | `error` | `
|
|
21
|
-
| [flexMenuWidth](#flexMenuWidth) | `flexMenuWidth` | `
|
|
22
|
-
| [noCheckmark](#noCheckmark) | `noCheckmark` | `
|
|
23
|
-
| [noValidate](#noValidate) | `noValidate` | `
|
|
24
|
-
| [optionSelected](#optionSelected) | `optionSelected` | `
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
29
|
-
| [
|
|
30
|
-
| [
|
|
31
|
-
|
|
17
|
+
| Property | Attribute | Type | Default | Description |
|
|
18
|
+
|---------------------------------|---------------------------------|-----------|-------------|--------------------------------------------------|
|
|
19
|
+
| [disabled](#disabled) | `disabled` | `boolean` | | When attribute is present, element shows disabled state. |
|
|
20
|
+
| [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value. |
|
|
21
|
+
| [flexMenuWidth](#flexMenuWidth) | `flexMenuWidth` | `boolean` | | If set, makes dropdown width match the size of the content, rather than the width of the trigger. |
|
|
22
|
+
| [noCheckmark](#noCheckmark) | `noCheckmark` | `boolean` | | When true, checkmark on selected option will no longer be present. |
|
|
23
|
+
| [noValidate](#noValidate) | `noValidate` | `boolean` | | If set, disables auto-validation on blur. |
|
|
24
|
+
| [optionSelected](#optionSelected) | `optionSelected` | `object` | "undefined" | Specifies the current selected menuOption. |
|
|
25
|
+
| [required](#required) | `required` | `boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
|
|
26
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
27
|
+
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
28
|
+
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
29
|
+
| [validity](#validity) | `validity` | `string` | "undefined" | Specifies the `validityState` this element is in. |
|
|
30
|
+
| [value](#value) | `value` | `string` | | Value selected for the component. |
|
|
31
|
+
|
|
32
|
+
## Methods
|
|
33
|
+
|
|
34
|
+
| Method | Type | Description |
|
|
35
|
+
|---------|------------|------------------------------------|
|
|
36
|
+
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
32
37
|
|
|
33
38
|
## Events
|
|
34
39
|
|
|
@@ -39,11 +44,12 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
39
44
|
|
|
40
45
|
## Slots
|
|
41
46
|
|
|
42
|
-
| Name
|
|
43
|
-
|
|
44
|
-
|
|
|
45
|
-
| [helpText](#helpText)
|
|
46
|
-
| [label](#label)
|
|
47
|
+
| Name | Description |
|
|
48
|
+
|---------------|--------------------------------------------------|
|
|
49
|
+
| | Default slot for the menu content. |
|
|
50
|
+
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
51
|
+
| [label](#label) | Defines the content of the label. |
|
|
52
|
+
| [placeholder](#placeholder) | Defines the content of the placeholder to be shown when there is no value |
|
|
47
53
|
|
|
48
54
|
## CSS Shadow Parts
|
|
49
55
|
|
|
@@ -56,7 +62,7 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
56
62
|
|
|
57
63
|
### Default example
|
|
58
64
|
|
|
59
|
-
A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
|
|
65
|
+
A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements.
|
|
60
66
|
|
|
61
67
|
<div class="exampleWrapper">
|
|
62
68
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
@@ -105,7 +111,6 @@ To pre-set the value of auro-select on load, use the `value` property. The `sele
|
|
|
105
111
|
<!-- The below content is automatically added from ./../apiExamples/value.html -->
|
|
106
112
|
<auro-button id="validValueExampleBtn">Set Value to Valid Option</auro-button>
|
|
107
113
|
<auro-button id="invalidValueExampleBtn">Set Value to Invalid Option</auro-button>
|
|
108
|
-
<auro-button id="undefinedValueExampleBtn">Set Value to Undefined</auro-button>
|
|
109
114
|
<br/><br/>
|
|
110
115
|
<auro-select id="valueExample" value="price">
|
|
111
116
|
<span slot="label">Name</span>
|
|
@@ -128,7 +133,6 @@ To pre-set the value of auro-select on load, use the `value` property. The `sele
|
|
|
128
133
|
```html
|
|
129
134
|
<auro-button id="validValueExampleBtn">Set Value to Valid Option</auro-button>
|
|
130
135
|
<auro-button id="invalidValueExampleBtn">Set Value to Invalid Option</auro-button>
|
|
131
|
-
<auro-button id="undefinedValueExampleBtn">Set Value to Undefined</auro-button>
|
|
132
136
|
<br/><br/>
|
|
133
137
|
<auro-select id="valueExample" value="price">
|
|
134
138
|
<span slot="label">Name</span>
|
|
@@ -152,67 +156,26 @@ export function valueExample() {
|
|
|
152
156
|
|
|
153
157
|
document.querySelector('#validValueExampleBtn').addEventListener('click', () => {
|
|
154
158
|
valueExample.value = 'arrival';
|
|
155
|
-
})
|
|
159
|
+
});
|
|
156
160
|
|
|
157
161
|
document.querySelector('#invalidValueExampleBtn').addEventListener('click', () => {
|
|
158
162
|
valueExample.value = 'flight course';
|
|
159
|
-
})
|
|
160
|
-
|
|
161
|
-
document.querySelector('#undefinedValueExampleBtn').addEventListener('click', () => {
|
|
162
|
-
valueExample.value = undefined;
|
|
163
|
-
})
|
|
163
|
+
});
|
|
164
164
|
}
|
|
165
165
|
```
|
|
166
166
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
167
167
|
</auro-accordion>
|
|
168
168
|
|
|
169
|
-
#### placeholder <a name="placeholder"></a>
|
|
170
|
-
Use the `placeholder` string attribute to inject a custom placeholder option with the select element.
|
|
171
|
-
|
|
172
|
-
<div class="exampleWrapper">
|
|
173
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customPlaceholder.html) -->
|
|
174
|
-
<!-- The below content is automatically added from ./../apiExamples/customPlaceholder.html -->
|
|
175
|
-
<auro-select placeholder="Please select your preferred option">
|
|
176
|
-
<auro-menu>
|
|
177
|
-
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
178
|
-
<auro-menuoption value="price">Price</auro-menuoption>
|
|
179
|
-
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
180
|
-
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
181
|
-
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
182
|
-
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
183
|
-
</auro-menu>
|
|
184
|
-
</auro-select>
|
|
185
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
186
|
-
</div>
|
|
187
|
-
<auro-accordion alignRight>
|
|
188
|
-
<span slot="trigger">See code</span>
|
|
189
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/customPlaceholder.html) -->
|
|
190
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/customPlaceholder.html -->
|
|
191
|
-
|
|
192
|
-
```html
|
|
193
|
-
<auro-select placeholder="Please select your preferred option">
|
|
194
|
-
<auro-menu>
|
|
195
|
-
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
196
|
-
<auro-menuoption value="price">Price</auro-menuoption>
|
|
197
|
-
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
198
|
-
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
199
|
-
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
200
|
-
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
201
|
-
</auro-menu>
|
|
202
|
-
</auro-select>
|
|
203
|
-
```
|
|
204
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
205
|
-
</auro-accordion>
|
|
206
|
-
|
|
207
169
|
#### required <a name="required"></a>
|
|
208
170
|
When present, the `required` attribute specifies that a select field must be filled out before submitting the form.
|
|
209
171
|
|
|
210
|
-
When the validity check fails the validityState equals `valueMissing`. The error message for the `valueMissing` validityState can be set to a custom string using the `setCustomValidityValueMissing`. There is no default error message defined.
|
|
172
|
+
When the validity check fails the validityState, equals `valueMissing`. The error message for the `valueMissing` validityState can be set to a custom string using the `setCustomValidityValueMissing`. There is no default error message defined.
|
|
211
173
|
|
|
212
174
|
<div class="exampleWrapper">
|
|
213
175
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
214
176
|
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
215
177
|
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
178
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
216
179
|
<auro-menu>
|
|
217
180
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
218
181
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -231,6 +194,7 @@ When the validity check fails the validityState equals `valueMissing`. The error
|
|
|
231
194
|
|
|
232
195
|
```html
|
|
233
196
|
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
197
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
234
198
|
<auro-menu>
|
|
235
199
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
236
200
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -245,7 +209,9 @@ When the validity check fails the validityState equals `valueMissing`. The error
|
|
|
245
209
|
</auro-accordion>
|
|
246
210
|
|
|
247
211
|
#### error <a name="error"></a>
|
|
248
|
-
Use the `error`
|
|
212
|
+
Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
|
|
213
|
+
|
|
214
|
+
A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
|
|
249
215
|
|
|
250
216
|
<div class="exampleWrapper">
|
|
251
217
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/errorApi.html) -->
|
|
@@ -254,6 +220,7 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
254
220
|
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
255
221
|
<br /><br />
|
|
256
222
|
<auro-select id="errorExample" error="Custom error message">
|
|
223
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
257
224
|
<auro-menu>
|
|
258
225
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
259
226
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -275,6 +242,7 @@ Use the `error` boolean attribute to toggle the error UI.
|
|
|
275
242
|
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
276
243
|
<br /><br />
|
|
277
244
|
<auro-select id="errorExample" error="Custom error message">
|
|
245
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
278
246
|
<auro-menu>
|
|
279
247
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
280
248
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -295,6 +263,7 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
295
263
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
296
264
|
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
297
265
|
<auro-select disabled>
|
|
266
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
298
267
|
<auro-menu>
|
|
299
268
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
300
269
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -313,6 +282,7 @@ Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
|
313
282
|
|
|
314
283
|
```html
|
|
315
284
|
<auro-select disabled>
|
|
285
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
316
286
|
<auro-menu>
|
|
317
287
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
318
288
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -333,6 +303,7 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
333
303
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/flexMenuWidth.html) -->
|
|
334
304
|
<!-- The below content is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
335
305
|
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
306
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
336
307
|
<auro-menu>
|
|
337
308
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
338
309
|
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
@@ -355,6 +326,7 @@ Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-sele
|
|
|
355
326
|
|
|
356
327
|
```html
|
|
357
328
|
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
329
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
358
330
|
<auro-menu>
|
|
359
331
|
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
360
332
|
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
@@ -414,15 +386,15 @@ Use the `label` slot to give your users contextual information about their selec
|
|
|
414
386
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
415
387
|
</auro-accordion>
|
|
416
388
|
|
|
417
|
-
####
|
|
418
|
-
|
|
419
|
-
The `label` slot and `placeholder` attribute may be used together.
|
|
389
|
+
#### helpText <a name="helpText"></a>
|
|
390
|
+
Use the `helptext` slot to provide additional information back to your user about their selection option(s).
|
|
420
391
|
|
|
421
392
|
<div class="exampleWrapper">
|
|
422
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
423
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
424
|
-
<auro-select
|
|
425
|
-
<
|
|
393
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
394
|
+
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
395
|
+
<auro-select>
|
|
396
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
397
|
+
<span slot="helpText">Custom help text message.</span>
|
|
426
398
|
<auro-menu>
|
|
427
399
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
428
400
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -436,12 +408,13 @@ The `label` slot and `placeholder` attribute may be used together.
|
|
|
436
408
|
</div>
|
|
437
409
|
<auro-accordion alignRight>
|
|
438
410
|
<span slot="trigger">See code</span>
|
|
439
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
440
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
411
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/helpText.html) -->
|
|
412
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
|
|
441
413
|
|
|
442
414
|
```html
|
|
443
|
-
<auro-select
|
|
444
|
-
<
|
|
415
|
+
<auro-select>
|
|
416
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
417
|
+
<span slot="helpText">Custom help text message.</span>
|
|
445
418
|
<auro-menu>
|
|
446
419
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
447
420
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -455,14 +428,20 @@ The `label` slot and `placeholder` attribute may be used together.
|
|
|
455
428
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
456
429
|
</auro-accordion>
|
|
457
430
|
|
|
458
|
-
|
|
459
|
-
|
|
431
|
+
## Functional Examples
|
|
432
|
+
|
|
433
|
+
### Reset State
|
|
434
|
+
|
|
435
|
+
Use the `reset()` method to reset the `<auro-select>`'s `value` and `validity` state. Doing so will preserve all other attributes and properties.
|
|
460
436
|
|
|
461
437
|
<div class="exampleWrapper">
|
|
462
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
463
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
464
|
-
<auro-
|
|
465
|
-
|
|
438
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/resetState.html) -->
|
|
439
|
+
<!-- The below content is automatically added from ./../apiExamples/resetState.html -->
|
|
440
|
+
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
441
|
+
<br/><br/>
|
|
442
|
+
<auro-select id="resetStateExample" required value="price">
|
|
443
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
444
|
+
<span slot="label">Name</span>
|
|
466
445
|
<auro-menu>
|
|
467
446
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
468
447
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -473,15 +452,18 @@ Use the `helptext` slot to provide additional information back to your user abou
|
|
|
473
452
|
</auro-menu>
|
|
474
453
|
</auro-select>
|
|
475
454
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
476
|
-
</div>
|
|
455
|
+
</div>
|
|
477
456
|
<auro-accordion alignRight>
|
|
478
457
|
<span slot="trigger">See code</span>
|
|
479
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
480
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
458
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/resetState.html) -->
|
|
459
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/resetState.html -->
|
|
481
460
|
|
|
482
461
|
```html
|
|
483
|
-
<auro-
|
|
484
|
-
|
|
462
|
+
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
463
|
+
<br/><br/>
|
|
464
|
+
<auro-select id="resetStateExample" required value="price">
|
|
465
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
466
|
+
<span slot="label">Name</span>
|
|
485
467
|
<auro-menu>
|
|
486
468
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
487
469
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -493,9 +475,20 @@ Use the `helptext` slot to provide additional information back to your user abou
|
|
|
493
475
|
</auro-select>
|
|
494
476
|
```
|
|
495
477
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
496
|
-
|
|
478
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/resetState.js) -->
|
|
479
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/resetState.js -->
|
|
497
480
|
|
|
498
|
-
|
|
481
|
+
```js
|
|
482
|
+
export function resetStateExample() {
|
|
483
|
+
const elem = document.querySelector('#resetStateExample');
|
|
484
|
+
|
|
485
|
+
document.querySelector('#resetStateBtn').addEventListener('click', () => {
|
|
486
|
+
elem.reset();
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
```
|
|
490
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
491
|
+
</auro-accordion>
|
|
499
492
|
|
|
500
493
|
### Extract value
|
|
501
494
|
|
|
@@ -505,6 +498,7 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
505
498
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueExtraction.html) -->
|
|
506
499
|
<!-- The below content is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
507
500
|
<auro-select id="valueExtraction">
|
|
501
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
508
502
|
<auro-menu>
|
|
509
503
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
510
504
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -519,28 +513,12 @@ The following example illustrates how a user may query the `element.value` or `e
|
|
|
519
513
|
</div>
|
|
520
514
|
<auro-accordion alignRight>
|
|
521
515
|
<span slot="trigger">See code</span>
|
|
522
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueExtraction.js) -->
|
|
523
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.js -->
|
|
524
|
-
|
|
525
|
-
```js
|
|
526
|
-
export function valueExtractionExample() {
|
|
527
|
-
const valueExtractionExample = document.querySelector('#valueExtraction');
|
|
528
|
-
const valueExtractionBtn = document.querySelector('#valueExtractionBtn');
|
|
529
|
-
|
|
530
|
-
valueExtractionBtn.addEventListener('click', () => {
|
|
531
|
-
console.warn('Value selected:', valueExtractionExample.value);
|
|
532
|
-
console.warn('Option selected:', valueExtractionExample.optionSelected);
|
|
533
|
-
|
|
534
|
-
alert(`Value selected: ${valueExtractionExample.value}`);
|
|
535
|
-
})
|
|
536
|
-
}
|
|
537
|
-
```
|
|
538
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
539
516
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueExtraction.html) -->
|
|
540
517
|
<!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
541
518
|
|
|
542
519
|
```html
|
|
543
520
|
<auro-select id="valueExtraction">
|
|
521
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
544
522
|
<auro-menu>
|
|
545
523
|
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
546
524
|
<auro-menuoption value="price">Price</auro-menuoption>
|
|
@@ -553,6 +531,23 @@ export function valueExtractionExample() {
|
|
|
553
531
|
<auro-button id="valueExtractionBtn">Get current value</auro-button>
|
|
554
532
|
```
|
|
555
533
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
534
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueExtraction.js) -->
|
|
535
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.js -->
|
|
536
|
+
|
|
537
|
+
```js
|
|
538
|
+
export function valueExtractionExample() {
|
|
539
|
+
const valueExtractionExample = document.querySelector('#valueExtraction');
|
|
540
|
+
const valueExtractionBtn = document.querySelector('#valueExtractionBtn');
|
|
541
|
+
|
|
542
|
+
valueExtractionBtn.addEventListener('click', () => {
|
|
543
|
+
console.warn('Value selected:', valueExtractionExample.value);
|
|
544
|
+
console.warn('Option selected:', valueExtractionExample.optionSelected);
|
|
545
|
+
|
|
546
|
+
alert(`Value selected: ${valueExtractionExample.value}`);
|
|
547
|
+
})
|
|
548
|
+
}
|
|
549
|
+
```
|
|
550
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
556
551
|
</auro-accordion>
|
|
557
552
|
|
|
558
553
|
### Custom Validity with Error State
|
|
@@ -563,6 +558,7 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
563
558
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customErrorValidity.html) -->
|
|
564
559
|
<!-- The below content is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
565
560
|
<auro-select id="primaryError">
|
|
561
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
566
562
|
<auro-menu>
|
|
567
563
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
568
564
|
<auro-menuoption value="2">2</auro-menuoption>
|
|
@@ -581,6 +577,7 @@ This example programmatically adds the `error` state when a user selects an opti
|
|
|
581
577
|
|
|
582
578
|
```html
|
|
583
579
|
<auro-select id="primaryError">
|
|
580
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
584
581
|
<auro-menu>
|
|
585
582
|
<auro-menuoption value="1">1</auro-menuoption>
|
|
586
583
|
<auro-menuoption value="2">2</auro-menuoption>
|
|
@@ -611,58 +608,7 @@ export function customErrorValidityExample(elem) {
|
|
|
611
608
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
612
609
|
</auro-accordion>
|
|
613
610
|
|
|
614
|
-
###
|
|
615
|
-
|
|
616
|
-
The following example listens for the `selectedOption` event. Once triggered, `element.value` or `element.optionSelected` may be queried for the new value or complete option object.
|
|
617
|
-
|
|
618
|
-
<div class="exampleWrapper">
|
|
619
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueAlert.html) -->
|
|
620
|
-
<!-- The below content is automatically added from ./../apiExamples/valueAlert.html -->
|
|
621
|
-
<auro-select id="valueAlert">
|
|
622
|
-
<auro-menu>
|
|
623
|
-
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
624
|
-
<auro-menuoption value="price">Price</auro-menuoption>
|
|
625
|
-
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
626
|
-
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
627
|
-
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
628
|
-
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
629
|
-
</auro-menu>
|
|
630
|
-
</auro-select>
|
|
631
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
632
|
-
</div>
|
|
633
|
-
<auro-accordion alignRight>
|
|
634
|
-
<span slot="trigger">See code</span>
|
|
635
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./alertValue.js) -->
|
|
636
|
-
<!-- The below code snippet is automatically added from ./alertValue.js -->
|
|
637
|
-
|
|
638
|
-
```js
|
|
639
|
-
export function valueAlert(elem) {
|
|
640
|
-
elem.addEventListener('selectedOption', () => {
|
|
641
|
-
console.warn('Select value changed to:', elem.value);
|
|
642
|
-
console.warn('Select optionSelected changed to:', elem.optionSelected);
|
|
643
|
-
})
|
|
644
|
-
}
|
|
645
|
-
```
|
|
646
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
647
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueAlert.html) -->
|
|
648
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/valueAlert.html -->
|
|
649
|
-
|
|
650
|
-
```html
|
|
651
|
-
<auro-select id="valueAlert">
|
|
652
|
-
<auro-menu>
|
|
653
|
-
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
654
|
-
<auro-menuoption value="price">Price</auro-menuoption>
|
|
655
|
-
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
656
|
-
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
657
|
-
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
658
|
-
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
659
|
-
</auro-menu>
|
|
660
|
-
</auro-select>
|
|
661
|
-
```
|
|
662
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
663
|
-
</auro-accordion>
|
|
664
|
-
|
|
665
|
-
#### Loading<a name="loading"></a>
|
|
611
|
+
### Loading<a name="loading"></a>
|
|
666
612
|
While content is loading, the menu can either remain empty or display a loading placeholder
|
|
667
613
|
|
|
668
614
|
<div class="exampleWrapper">
|
|
@@ -755,7 +701,7 @@ The component can be in a dialog.
|
|
|
755
701
|
</auro-dialog>
|
|
756
702
|
</div>
|
|
757
703
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
758
|
-
</div>
|
|
704
|
+
</div>
|
|
759
705
|
<auro-accordion alignRight>
|
|
760
706
|
<span slot="trigger">See code</span>
|
|
761
707
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.html) -->
|
|
@@ -797,6 +743,62 @@ export function inDialogExample() {
|
|
|
797
743
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
798
744
|
</auro-accordion>
|
|
799
745
|
|
|
746
|
+
#### Watch for value changes
|
|
747
|
+
|
|
748
|
+
The following example listens for the `auroMenu-selectedOption` event. Once triggered, element.value or element.optionSelected may be queried for the new value or complete option object.
|
|
749
|
+
|
|
750
|
+
<div class="exampleWrapper">
|
|
751
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueAlert.html) -->
|
|
752
|
+
<!-- The below content is automatically added from ./../apiExamples/valueAlert.html -->
|
|
753
|
+
<auro-select id="valueAlert">
|
|
754
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
755
|
+
<auro-menu id="valueAlertMenu">
|
|
756
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
757
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
758
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
759
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
760
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
761
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
762
|
+
</auro-menu>
|
|
763
|
+
</auro-select>
|
|
764
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
765
|
+
</div>
|
|
766
|
+
<auro-accordion alignRight>
|
|
767
|
+
<span slot="trigger">See code</span>
|
|
768
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueAlert.html) -->
|
|
769
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/valueAlert.html -->
|
|
770
|
+
|
|
771
|
+
```html
|
|
772
|
+
<auro-select id="valueAlert">
|
|
773
|
+
<label slot="placeholder">Placeholder Text</label>
|
|
774
|
+
<auro-menu id="valueAlertMenu">
|
|
775
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
776
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
777
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
778
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
779
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
780
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
781
|
+
</auro-menu>
|
|
782
|
+
</auro-select>
|
|
783
|
+
```
|
|
784
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
785
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueAlert.js) -->
|
|
786
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/valueAlert.js -->
|
|
787
|
+
|
|
788
|
+
```js
|
|
789
|
+
export function valueAlertExample() {
|
|
790
|
+
const select = document.querySelector('#valueAlert');
|
|
791
|
+
const menu = document.querySelector('#valueAlertMenu');
|
|
792
|
+
|
|
793
|
+
menu.addEventListener('auroMenu-selectedOption', () => {
|
|
794
|
+
console.warn('Select value changed to:', select.value);
|
|
795
|
+
console.warn('Select optionSelected changed to:', select.optionSelected);
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
```
|
|
799
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
800
|
+
</auro-accordion>
|
|
801
|
+
|
|
800
802
|
### Theme Support
|
|
801
803
|
|
|
802
804
|
The component may be restyled using the following code sample and changing the values of the following token(s).
|