@aurodesignsystem/auro-formkit 1.6.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/.husky/commit-msg +4 -0
- package/.husky/pre-commit +3 -0
- package/.turbo/cache/013a48308b893dac-meta.json +1 -0
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/049b9083252d38be-meta.json +1 -0
- package/.turbo/cache/049b9083252d38be.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +1 -0
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0a1dd4481355cb0b-meta.json +1 -0
- package/.turbo/cache/0a1dd4481355cb0b.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -0
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/13cf37c850bd8cf4-meta.json +1 -0
- package/.turbo/cache/13cf37c850bd8cf4.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +1 -0
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -0
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -0
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/3323eb841acb9c4e-meta.json +1 -0
- package/.turbo/cache/3323eb841acb9c4e.tar.zst +0 -0
- package/.turbo/cache/34ba23e2e2d652ad-meta.json +1 -0
- package/.turbo/cache/34ba23e2e2d652ad.tar.zst +0 -0
- package/.turbo/cache/368cd6fed7975ad2-meta.json +1 -0
- package/.turbo/cache/368cd6fed7975ad2.tar.zst +0 -0
- package/.turbo/cache/3924bce8e51f0ffa-meta.json +1 -0
- package/.turbo/cache/3924bce8e51f0ffa.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -0
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -0
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/4567487084a055b7-meta.json +1 -0
- package/.turbo/cache/4567487084a055b7.tar.zst +0 -0
- package/.turbo/cache/4763278a7d3dbc16-meta.json +1 -0
- package/.turbo/cache/4763278a7d3dbc16.tar.zst +0 -0
- package/.turbo/cache/549e6ef9f9ffd9a8-meta.json +1 -0
- package/.turbo/cache/549e6ef9f9ffd9a8.tar.zst +0 -0
- package/.turbo/cache/59ccd8430174883c-meta.json +1 -0
- package/.turbo/cache/59ccd8430174883c.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +1 -0
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -0
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +1 -0
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/683d4c0e20c077a9-meta.json +1 -0
- package/.turbo/cache/683d4c0e20c077a9.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +1 -0
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -0
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -0
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +1 -0
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -0
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +1 -0
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +1 -0
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +1 -0
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8f8ffe35cc79d1a9-meta.json +1 -0
- package/.turbo/cache/8f8ffe35cc79d1a9.tar.zst +0 -0
- package/.turbo/cache/926d632729ca6536-meta.json +1 -0
- package/.turbo/cache/926d632729ca6536.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +1 -0
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +1 -0
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/9e7be41cc3a7ef43-meta.json +1 -0
- package/.turbo/cache/9e7be41cc3a7ef43.tar.zst +0 -0
- package/.turbo/cache/9ee793063ea89126-meta.json +1 -0
- package/.turbo/cache/9ee793063ea89126.tar.zst +0 -0
- package/.turbo/cache/a1558cef51c034da-meta.json +1 -0
- package/.turbo/cache/a1558cef51c034da.tar.zst +0 -0
- package/.turbo/cache/a24f2ff8e94e56e8-meta.json +1 -0
- package/.turbo/cache/a24f2ff8e94e56e8.tar.zst +0 -0
- package/.turbo/cache/a2705cf095a2ceb0-meta.json +1 -0
- package/.turbo/cache/a2705cf095a2ceb0.tar.zst +0 -0
- package/.turbo/cache/a33c0749886a41b5-meta.json +1 -0
- package/.turbo/cache/a33c0749886a41b5.tar.zst +0 -0
- package/.turbo/cache/a66b465385a30a2b-meta.json +1 -0
- package/.turbo/cache/a66b465385a30a2b.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -0
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -0
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +1 -0
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -0
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/c1b72a92dec4fe37-meta.json +1 -0
- package/.turbo/cache/c1b72a92dec4fe37.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -0
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -0
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -0
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/e25ac25a8a0ad126-meta.json +1 -0
- package/.turbo/cache/e25ac25a8a0ad126.tar.zst +0 -0
- package/.turbo/cache/e671573e4ef02c47-meta.json +1 -0
- package/.turbo/cache/e671573e4ef02c47.tar.zst +0 -0
- package/.turbo/cache/e86cee22dff5e281-meta.json +1 -0
- package/.turbo/cache/e86cee22dff5e281.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -0
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f680556a8e954eac-meta.json +1 -0
- package/.turbo/cache/f680556a8e954eac.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -0
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +1 -0
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- package/.turbo/cache/ffec4500b911b85a-meta.json +1 -0
- package/.turbo/cache/ffec4500b911b85a.tar.zst +0 -0
- package/CHANGELOG.md +430 -0
- package/LICENSE +201 -0
- package/README.md +225 -0
- package/components/checkbox/.stylelintrc.json +3 -0
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +98 -0
- package/components/checkbox/.turbo/turbo-build.log +182 -0
- package/components/checkbox/.turbo/turbo-bundler.log +13 -0
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/checkbox/.turbo/turbo-types.log +4 -0
- package/components/checkbox/README.md +187 -0
- package/components/checkbox/demo/api.html +48 -0
- package/components/checkbox/demo/api.js +1 -0
- package/components/checkbox/demo/api.md +272 -0
- package/components/checkbox/demo/api.min.js +845 -0
- package/components/checkbox/demo/index.js +8 -0
- package/components/checkbox/demo/index.md +306 -0
- package/components/checkbox/demo/index.min.js +845 -0
- package/components/checkbox/dist/auro-checkbox-group.d.ts +119 -0
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -0
- package/components/checkbox/dist/auro-checkbox.d.ts +75 -0
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -0
- package/components/checkbox/dist/index.d.ts +4 -0
- package/components/checkbox/dist/index.d.ts.map +1 -0
- package/components/checkbox/dist/index.js +844 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +3 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +3 -0
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/color-css.d.ts +3 -0
- package/components/checkbox/dist/styles/color-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/colorGroup-css.d.ts +3 -0
- package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +1 -0
- package/components/checkbox/dist/styles/tokens-css.d.ts +3 -0
- package/components/checkbox/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/checkbox/node_modules/chalk/package.json +83 -0
- package/components/checkbox/node_modules/chalk/readme.md +325 -0
- package/components/checkbox/node_modules/chalk/source/index.d.ts +320 -0
- package/components/checkbox/node_modules/chalk/source/index.js +225 -0
- package/components/checkbox/node_modules/chalk/source/utilities.js +33 -0
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/checkbox/package.json +68 -0
- package/components/checkbox/src/auro-checkbox-group.js +319 -0
- package/components/checkbox/src/auro-checkbox.js +184 -0
- package/components/checkbox/src/index.js +8 -0
- package/components/checkbox/src/styles/auro-checkbox-css.js +2 -0
- package/components/checkbox/src/styles/auro-checkbox-group-css.js +2 -0
- package/components/checkbox/src/styles/auro-checkbox-group.css +26 -0
- package/components/checkbox/src/styles/auro-checkbox-group.scss +38 -0
- package/components/checkbox/src/styles/auro-checkbox.css +123 -0
- package/components/checkbox/src/styles/auro-checkbox.scss +100 -0
- package/components/checkbox/src/styles/color-css.js +2 -0
- package/components/checkbox/src/styles/color.css +84 -0
- package/components/checkbox/src/styles/color.scss +118 -0
- package/components/checkbox/src/styles/colorGroup-css.js +2 -0
- package/components/checkbox/src/styles/colorGroup.css +16 -0
- package/components/checkbox/src/styles/colorGroup.scss +24 -0
- package/components/checkbox/src/styles/tokens-css.js +2 -0
- package/components/checkbox/src/styles/tokens.css +9 -0
- package/components/checkbox/src/styles/tokens.scss +11 -0
- package/components/combobox/.stylelintrc.json +3 -0
- package/components/combobox/.turbo/turbo-build$colon$sass.log +46 -0
- package/components/combobox/.turbo/turbo-build.log +160 -0
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/combobox/.turbo/turbo-sass$colon$render.log +10 -0
- package/components/combobox/README.md +200 -0
- package/components/combobox/demo/api.html +55 -0
- package/components/combobox/demo/api.js +34 -0
- package/components/combobox/demo/api.md +816 -0
- package/components/combobox/demo/api.min.js +9165 -0
- package/components/combobox/demo/index.js +26 -0
- package/components/combobox/demo/index.md +626 -0
- package/components/combobox/demo/index.min.js +9028 -0
- package/components/combobox/dist/auro-combobox.d.ts +241 -0
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -0
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts +3 -0
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.d.ts +3 -0
- package/components/combobox/dist/index.d.ts.map +1 -0
- package/components/combobox/dist/index.js +7898 -0
- package/components/combobox/dist/styles/style-css.d.ts +3 -0
- package/components/combobox/dist/styles/style-css.d.ts.map +1 -0
- package/components/combobox/node_modules/chalk/package.json +83 -0
- package/components/combobox/node_modules/chalk/readme.md +325 -0
- package/components/combobox/node_modules/chalk/source/index.d.ts +320 -0
- package/components/combobox/node_modules/chalk/source/index.js +225 -0
- package/components/combobox/node_modules/chalk/source/utilities.js +33 -0
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/combobox/package.json +67 -0
- package/components/combobox/src/auro-combobox.js +711 -0
- package/components/combobox/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/combobox/src/formkit/auro-inputVersion.js +1 -0
- package/components/combobox/src/index.js +6 -0
- package/components/combobox/src/styles/style-css.js +2 -0
- package/components/combobox/src/styles/style.css +60 -0
- package/components/combobox/src/styles/style.scss +46 -0
- package/components/counter/.stylelintrc.json +3 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +66 -0
- package/components/counter/.turbo/turbo-build.log +87 -0
- package/components/counter/.turbo/turbo-bundler.log +13 -0
- package/components/counter/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/counter/.turbo/turbo-sass$colon$render.log +16 -0
- package/components/counter/.turbo/turbo-types.log +4 -0
- package/components/counter/demo/api.html +52 -0
- package/components/counter/demo/api.js +16 -0
- package/components/counter/demo/api.md +1053 -0
- package/components/counter/demo/api.min.js +115 -0
- package/components/counter/demo/index.js +20 -0
- package/components/counter/demo/index.min.js +71 -0
- package/components/counter/dist/auro-counter-group.d.ts +20 -0
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +6 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -0
- package/components/counter/dist/index.d.ts +4 -0
- package/components/counter/dist/index.d.ts.map +1 -0
- package/components/counter/dist/index.js +110 -0
- package/components/counter/dist/styles/counter-group-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-group-css.d.ts.map +1 -0
- package/components/counter/dist/styles/style-css.d.ts +3 -0
- package/components/counter/dist/styles/style-css.d.ts.map +1 -0
- package/components/counter/node_modules/chalk/package.json +83 -0
- package/components/counter/node_modules/chalk/readme.md +325 -0
- package/components/counter/node_modules/chalk/source/index.d.ts +320 -0
- package/components/counter/node_modules/chalk/source/index.js +225 -0
- package/components/counter/node_modules/chalk/source/utilities.js +33 -0
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/counter/package.json +50 -0
- package/components/counter/src/auro-counter-group.js +48 -0
- package/components/counter/src/auro-counter.js +29 -0
- package/components/counter/src/index.js +8 -0
- package/components/counter/src/styles/counter-group-css.js +2 -0
- package/components/counter/src/styles/counter-group.css +4 -0
- package/components/counter/src/styles/counter-group.scss +17 -0
- package/components/counter/src/styles/style-css.js +2 -0
- package/components/counter/src/styles/style.css +4 -0
- package/components/counter/src/styles/style.scss +17 -0
- package/components/datepicker/.stylelintrc.json +3 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +352 -0
- package/components/datepicker/.turbo/turbo-build.log +489 -0
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +58 -0
- package/components/datepicker/README.md +181 -0
- package/components/datepicker/demo/api.html +58 -0
- package/components/datepicker/demo/api.js +33 -0
- package/components/datepicker/demo/api.md +1172 -0
- package/components/datepicker/demo/api.min.js +18466 -0
- package/components/datepicker/demo/index.js +19 -0
- package/components/datepicker/demo/index.md +107 -0
- package/components/datepicker/demo/index.min.js +18195 -0
- package/components/datepicker/dist/auro-calendar-cell.d.ts +163 -0
- package/components/datepicker/dist/auro-calendar-cell.d.ts.map +1 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts +5 -0
- package/components/datepicker/dist/auro-calendar-month.d.ts.map +1 -0
- package/components/datepicker/dist/auro-calendar.d.ts +105 -0
- package/components/datepicker/dist/auro-calendar.d.ts.map +1 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +336 -0
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -0
- package/components/datepicker/dist/dropdownVersion.d.ts +1 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -0
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts +3 -0
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/index.d.ts +3 -0
- package/components/datepicker/dist/index.d.ts.map +1 -0
- package/components/datepicker/dist/index.js +18191 -0
- package/components/datepicker/dist/popoverVersion.d.ts +3 -0
- package/components/datepicker/dist/popoverVersion.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-cell-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-cell-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/color-month-css.d.ts +3 -0
- package/components/datepicker/dist/styles/color-month-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/style-css.d.ts +3 -0
- package/components/datepicker/dist/styles/style-css.d.ts.map +1 -0
- package/components/datepicker/dist/styles/tokens-css.d.ts +3 -0
- package/components/datepicker/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/datepicker/dist/utilities.d.ts +47 -0
- package/components/datepicker/dist/utilities.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendar.d.ts +38 -0
- package/components/datepicker/dist/utilitiesCalendar.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +51 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +6 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +61 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +2 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +1 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +58 -0
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +1 -0
- package/components/datepicker/node_modules/chalk/package.json +83 -0
- package/components/datepicker/node_modules/chalk/readme.md +325 -0
- package/components/datepicker/node_modules/chalk/source/index.d.ts +320 -0
- package/components/datepicker/node_modules/chalk/source/index.js +225 -0
- package/components/datepicker/node_modules/chalk/source/utilities.js +33 -0
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/README.md +137 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +75 -0
- package/components/datepicker/node_modules/rollup-plugin-serve/package.json +51 -0
- package/components/datepicker/package.json +79 -0
- package/components/datepicker/src/auro-calendar-cell.js +381 -0
- package/components/datepicker/src/auro-calendar-month.js +128 -0
- package/components/datepicker/src/auro-calendar.js +329 -0
- package/components/datepicker/src/auro-datepicker.js +969 -0
- package/components/datepicker/src/dropdownVersion.js +0 -0
- package/components/datepicker/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/datepicker/src/formkit/auro-inputVersion.js +1 -0
- package/components/datepicker/src/index.js +6 -0
- package/components/datepicker/src/popoverVersion.js +1 -0
- package/components/datepicker/src/styles/color-calendar-css.js +2 -0
- package/components/datepicker/src/styles/color-calendar.css +35 -0
- package/components/datepicker/src/styles/color-calendar.scss +51 -0
- package/components/datepicker/src/styles/color-cell-css.js +2 -0
- package/components/datepicker/src/styles/color-cell.css +45 -0
- package/components/datepicker/src/styles/color-cell.scss +73 -0
- package/components/datepicker/src/styles/color-css.js +2 -0
- package/components/datepicker/src/styles/color-month-css.js +2 -0
- package/components/datepicker/src/styles/color-month.css +34 -0
- package/components/datepicker/src/styles/color-month.scss +27 -0
- package/components/datepicker/src/styles/color.css +43 -0
- package/components/datepicker/src/styles/color.scss +30 -0
- package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +2 -0
- package/components/datepicker/src/styles/style-auro-calendar-cell.css +123 -0
- package/components/datepicker/src/styles/style-auro-calendar-cell.scss +147 -0
- package/components/datepicker/src/styles/style-auro-calendar-css.js +2 -0
- package/components/datepicker/src/styles/style-auro-calendar-month-css.js +2 -0
- package/components/datepicker/src/styles/style-auro-calendar-month.css +121 -0
- package/components/datepicker/src/styles/style-auro-calendar-month.scss +141 -0
- package/components/datepicker/src/styles/style-auro-calendar.css +152 -0
- package/components/datepicker/src/styles/style-auro-calendar.scss +191 -0
- package/components/datepicker/src/styles/style-css.js +2 -0
- package/components/datepicker/src/styles/style.css +111 -0
- package/components/datepicker/src/styles/style.scss +107 -0
- package/components/datepicker/src/styles/tokens-css.js +2 -0
- package/components/datepicker/src/styles/tokens.css +22 -0
- package/components/datepicker/src/styles/tokens.scss +25 -0
- package/components/datepicker/src/utilities.js +87 -0
- package/components/datepicker/src/utilitiesCalendar.js +138 -0
- package/components/datepicker/src/utilitiesCalendarRender.js +156 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/day.js +8 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +521 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +211 -0
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +254 -0
- package/components/dropdown/.stylelintrc.json +3 -0
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +75 -0
- package/components/dropdown/.turbo/turbo-build$colon$version.log +7 -0
- package/components/dropdown/.turbo/turbo-build.log +206 -0
- package/components/dropdown/.turbo/turbo-bundler.log +13 -0
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/dropdown/.turbo/turbo-types.log +4 -0
- package/components/dropdown/README.md +188 -0
- package/components/dropdown/demo/api.html +55 -0
- package/components/dropdown/demo/api.js +21 -0
- package/components/dropdown/demo/api.md +1179 -0
- package/components/dropdown/demo/api.min.js +2885 -0
- package/components/dropdown/demo/index.js +22 -0
- package/components/dropdown/demo/index.md +404 -0
- package/components/dropdown/demo/index.min.js +2851 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +194 -0
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts +33 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -0
- package/components/dropdown/dist/iconVersion.d.ts +3 -0
- package/components/dropdown/dist/iconVersion.d.ts.map +1 -0
- package/components/dropdown/dist/index.d.ts +3 -0
- package/components/dropdown/dist/index.d.ts.map +1 -0
- package/components/dropdown/dist/index.js +2842 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts +3 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/bibStyles-css.d.ts +3 -0
- package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/color-css.d.ts +3 -0
- package/components/dropdown/dist/styles/color-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/style-css.d.ts +3 -0
- package/components/dropdown/dist/styles/style-css.d.ts.map +1 -0
- package/components/dropdown/dist/styles/tokens-css.d.ts +3 -0
- package/components/dropdown/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/dropdown/node_modules/chalk/package.json +83 -0
- package/components/dropdown/node_modules/chalk/readme.md +325 -0
- package/components/dropdown/node_modules/chalk/source/index.d.ts +320 -0
- package/components/dropdown/node_modules/chalk/source/index.js +225 -0
- package/components/dropdown/node_modules/chalk/source/utilities.js +33 -0
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/dropdown/package.json +57 -0
- package/components/dropdown/src/auro-dropdown.js +359 -0
- package/components/dropdown/src/auro-dropdownBib.js +97 -0
- package/components/dropdown/src/iconVersion.js +1 -0
- package/components/dropdown/src/index.js +6 -0
- package/components/dropdown/src/styles/bibColors-css.js +2 -0
- package/components/dropdown/src/styles/bibColors.css +6 -0
- package/components/dropdown/src/styles/bibColors.scss +18 -0
- package/components/dropdown/src/styles/bibStyles-css.js +2 -0
- package/components/dropdown/src/styles/bibStyles.css +48 -0
- package/components/dropdown/src/styles/bibStyles.scss +67 -0
- package/components/dropdown/src/styles/color-css.js +2 -0
- package/components/dropdown/src/styles/color.css +59 -0
- package/components/dropdown/src/styles/color.scss +79 -0
- package/components/dropdown/src/styles/style-css.js +2 -0
- package/components/dropdown/src/styles/style.css +88 -0
- package/components/dropdown/src/styles/style.scss +117 -0
- package/components/dropdown/src/styles/tokens-css.js +2 -0
- package/components/dropdown/src/styles/tokens.css +13 -0
- package/components/dropdown/src/styles/tokens.scss +15 -0
- package/components/form/.stylelintrc.json +3 -0
- package/components/form/.turbo/turbo-build$colon$sass.log +57 -0
- package/components/form/.turbo/turbo-build$colon$version.log +4 -0
- package/components/form/.turbo/turbo-build.log +113 -0
- package/components/form/.turbo/turbo-bundler.log +13 -0
- package/components/form/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/form/.turbo/turbo-sass$colon$render.log +10 -0
- package/components/form/.turbo/turbo-types.log +4 -0
- package/components/form/README.md +186 -0
- package/components/form/demo/api.html +48 -0
- package/components/form/demo/api.js +3 -0
- package/components/form/demo/api.md +0 -0
- package/components/form/demo/api.min.js +160 -0
- package/components/form/demo/index.js +4 -0
- package/components/form/demo/index.md +40 -0
- package/components/form/demo/index.min.js +161 -0
- package/components/form/dist/auro-form.d.ts +26 -0
- package/components/form/dist/auro-form.d.ts.map +1 -0
- package/components/form/dist/index.d.ts +3 -0
- package/components/form/dist/index.d.ts.map +1 -0
- package/components/form/dist/index.js +162 -0
- package/components/form/dist/styles/style-css.d.ts +3 -0
- package/components/form/dist/styles/style-css.d.ts.map +1 -0
- package/components/form/node_modules/chalk/package.json +83 -0
- package/components/form/node_modules/chalk/readme.md +325 -0
- package/components/form/node_modules/chalk/source/index.d.ts +320 -0
- package/components/form/node_modules/chalk/source/index.js +225 -0
- package/components/form/node_modules/chalk/source/utilities.js +33 -0
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/form/package.json +72 -0
- package/components/form/src/auro-form.js +74 -0
- package/components/form/src/index.js +6 -0
- package/components/form/src/styles/style-css.js +2 -0
- package/components/form/src/styles/style.css +36 -0
- package/components/form/src/styles/style.scss +37 -0
- package/components/input/.stylelintrc.json +3 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +148 -0
- package/components/input/.turbo/turbo-build$colon$version.log +10 -0
- package/components/input/.turbo/turbo-build.log +300 -0
- package/components/input/.turbo/turbo-bundler.log +13 -0
- package/components/input/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/input/.turbo/turbo-sass$colon$render.log +52 -0
- package/components/input/.turbo/turbo-types.log +4 -0
- package/components/input/README.md +176 -0
- package/components/input/demo/api.html +40 -0
- package/components/input/demo/api.js +25 -0
- package/components/input/demo/api.md +1251 -0
- package/components/input/demo/api.min.js +4070 -0
- package/components/input/demo/index.js +20 -0
- package/components/input/demo/index.md +253 -0
- package/components/input/demo/index.min.js +4012 -0
- package/components/input/dist/auro-input.d.ts +29 -0
- package/components/input/dist/auro-input.d.ts.map +1 -0
- package/components/input/dist/base-input.d.ts +359 -0
- package/components/input/dist/base-input.d.ts.map +1 -0
- package/components/input/dist/buttonVersion.d.ts +3 -0
- package/components/input/dist/buttonVersion.d.ts.map +1 -0
- package/components/input/dist/i18n.d.ts +19 -0
- package/components/input/dist/i18n.d.ts.map +1 -0
- package/components/input/dist/iconVersion.d.ts +3 -0
- package/components/input/dist/iconVersion.d.ts.map +1 -0
- package/components/input/dist/index.d.ts +3 -0
- package/components/input/dist/index.d.ts.map +1 -0
- package/components/input/dist/index.js +3979 -0
- package/components/input/dist/styles/borders-css.d.ts +3 -0
- package/components/input/dist/styles/borders-css.d.ts.map +1 -0
- package/components/input/dist/styles/color-css.d.ts +3 -0
- package/components/input/dist/styles/color-css.d.ts.map +1 -0
- package/components/input/dist/styles/helpText-css.d.ts +3 -0
- package/components/input/dist/styles/helpText-css.d.ts.map +1 -0
- package/components/input/dist/styles/input-css.d.ts +3 -0
- package/components/input/dist/styles/input-css.d.ts.map +1 -0
- package/components/input/dist/styles/label-css.d.ts +3 -0
- package/components/input/dist/styles/label-css.d.ts.map +1 -0
- package/components/input/dist/styles/notificationIcons-css.d.ts +3 -0
- package/components/input/dist/styles/notificationIcons-css.d.ts.map +1 -0
- package/components/input/dist/styles/style-css.d.ts +3 -0
- package/components/input/dist/styles/style-css.d.ts.map +1 -0
- package/components/input/dist/styles/tokens-css.d.ts +3 -0
- package/components/input/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/input/node_modules/chalk/package.json +83 -0
- package/components/input/node_modules/chalk/readme.md +325 -0
- package/components/input/node_modules/chalk/source/index.d.ts +320 -0
- package/components/input/node_modules/chalk/source/index.js +225 -0
- package/components/input/node_modules/chalk/source/utilities.js +33 -0
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/input/package.json +75 -0
- package/components/input/src/auro-input.js +242 -0
- package/components/input/src/base-input.js +942 -0
- package/components/input/src/buttonVersion.js +1 -0
- package/components/input/src/i18n.js +102 -0
- package/components/input/src/iconVersion.js +1 -0
- package/components/input/src/index.js +6 -0
- package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
- package/components/input/src/styles/borders-css.js +2 -0
- package/components/input/src/styles/borders.css +35 -0
- package/components/input/src/styles/borders.scss +65 -0
- package/components/input/src/styles/color-css.js +2 -0
- package/components/input/src/styles/color.css +63 -0
- package/components/input/src/styles/color.scss +96 -0
- package/components/input/src/styles/helpText-css.js +2 -0
- package/components/input/src/styles/helpText.css +6 -0
- package/components/input/src/styles/helpText.scss +9 -0
- package/components/input/src/styles/input-css.js +2 -0
- package/components/input/src/styles/input.css +22 -0
- package/components/input/src/styles/input.scss +29 -0
- package/components/input/src/styles/label-css.js +2 -0
- package/components/input/src/styles/label.css +45 -0
- package/components/input/src/styles/label.scss +75 -0
- package/components/input/src/styles/notificationIcons-css.js +2 -0
- package/components/input/src/styles/notificationIcons.css +76 -0
- package/components/input/src/styles/notificationIcons.scss +103 -0
- package/components/input/src/styles/style-css.js +2 -0
- package/components/input/src/styles/style.css +272 -0
- package/components/input/src/styles/style.scss +57 -0
- package/components/input/src/styles/tokens-css.js +2 -0
- package/components/input/src/styles/tokens.css +9 -0
- package/components/input/src/styles/tokens.scss +11 -0
- package/components/menu/.stylelintrc.json +3 -0
- package/components/menu/.turbo/turbo-build$colon$sass.log +86 -0
- package/components/menu/.turbo/turbo-build$colon$version.log +7 -0
- package/components/menu/.turbo/turbo-build.log +184 -0
- package/components/menu/.turbo/turbo-bundler.log +13 -0
- package/components/menu/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/menu/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/menu/.turbo/turbo-types.log +4 -0
- package/components/menu/README.md +190 -0
- package/components/menu/demo/api.html +53 -0
- package/components/menu/demo/api.js +27 -0
- package/components/menu/demo/api.md +923 -0
- package/components/menu/demo/api.min.js +1293 -0
- package/components/menu/demo/index.js +28 -0
- package/components/menu/demo/index.md +104 -0
- package/components/menu/demo/index.min.js +1239 -0
- package/components/menu/dist/auro-menu.d.ts +194 -0
- package/components/menu/dist/auro-menu.d.ts.map +1 -0
- package/components/menu/dist/auro-menuoption.d.ts +65 -0
- package/components/menu/dist/auro-menuoption.d.ts.map +1 -0
- package/components/menu/dist/iconVersion.d.ts +3 -0
- package/components/menu/dist/iconVersion.d.ts.map +1 -0
- package/components/menu/dist/index.d.ts +4 -0
- package/components/menu/dist/index.d.ts.map +1 -0
- package/components/menu/dist/index.js +1231 -0
- package/components/menu/dist/styles/color-menu-css.d.ts +3 -0
- package/components/menu/dist/styles/color-menu-css.d.ts.map +1 -0
- package/components/menu/dist/styles/color-menuoption-css.d.ts +3 -0
- package/components/menu/dist/styles/color-menuoption-css.d.ts.map +1 -0
- package/components/menu/dist/styles/style-menu-css.d.ts +3 -0
- package/components/menu/dist/styles/style-menu-css.d.ts.map +1 -0
- package/components/menu/dist/styles/style-menuoption-css.d.ts +3 -0
- package/components/menu/dist/styles/style-menuoption-css.d.ts.map +1 -0
- package/components/menu/dist/styles/tokens-css.d.ts +3 -0
- package/components/menu/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/menu/node_modules/chalk/package.json +83 -0
- package/components/menu/node_modules/chalk/readme.md +325 -0
- package/components/menu/node_modules/chalk/source/index.d.ts +320 -0
- package/components/menu/node_modules/chalk/source/index.js +225 -0
- package/components/menu/node_modules/chalk/source/utilities.js +33 -0
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/menu/node_modules/mime/CHANGELOG.md +296 -0
- package/components/menu/node_modules/mime/Mime.js +97 -0
- package/components/menu/node_modules/mime/README.md +187 -0
- package/components/menu/node_modules/mime/cli.js +46 -0
- package/components/menu/node_modules/mime/index.js +4 -0
- package/components/menu/node_modules/mime/lite.js +4 -0
- package/components/menu/node_modules/mime/package.json +52 -0
- package/components/menu/node_modules/mime/types/other.js +1 -0
- package/components/menu/node_modules/mime/types/standard.js +1 -0
- package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
- package/components/menu/node_modules/rollup-plugin-serve/README.md +135 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
- package/components/menu/node_modules/rollup-plugin-serve/package.json +44 -0
- package/components/menu/package.json +70 -0
- package/components/menu/src/auro-menu.js +571 -0
- package/components/menu/src/auro-menuoption.js +148 -0
- package/components/menu/src/iconVersion.js +1 -0
- package/components/menu/src/index.js +8 -0
- package/components/menu/src/styles/color-menu-css.js +2 -0
- package/components/menu/src/styles/color-menu.css +4 -0
- package/components/menu/src/styles/color-menu.scss +12 -0
- package/components/menu/src/styles/color-menuoption-css.js +2 -0
- package/components/menu/src/styles/color-menuoption.css +23 -0
- package/components/menu/src/styles/color-menuoption.scss +33 -0
- package/components/menu/src/styles/style-menu-css.js +2 -0
- package/components/menu/src/styles/style-menu.css +2061 -0
- package/components/menu/src/styles/style-menu.scss +80 -0
- package/components/menu/src/styles/style-menuoption-css.js +2 -0
- package/components/menu/src/styles/style-menuoption.css +45 -0
- package/components/menu/src/styles/style-menuoption.scss +66 -0
- package/components/menu/src/styles/tokens-css.js +2 -0
- package/components/menu/src/styles/tokens.css +6 -0
- package/components/menu/src/styles/tokens.scss +6 -0
- package/components/radio/.stylelintrc.json +3 -0
- package/components/radio/.turbo/turbo-build$colon$sass.log +130 -0
- package/components/radio/.turbo/turbo-build.log +213 -0
- package/components/radio/.turbo/turbo-bundler.log +13 -0
- package/components/radio/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/radio/.turbo/turbo-sass$colon$render.log +34 -0
- package/components/radio/.turbo/turbo-types.log +4 -0
- package/components/radio/README.md +176 -0
- package/components/radio/demo/api.html +50 -0
- package/components/radio/demo/api.js +17 -0
- package/components/radio/demo/api.md +401 -0
- package/components/radio/demo/api.min.js +1050 -0
- package/components/radio/demo/index.js +8 -0
- package/components/radio/demo/index.md +122 -0
- package/components/radio/demo/index.min.js +1016 -0
- package/components/radio/dist/auro-radio-group.d.ts +171 -0
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -0
- package/components/radio/dist/auro-radio.d.ts +113 -0
- package/components/radio/dist/auro-radio.d.ts.map +1 -0
- package/components/radio/dist/index.d.ts +4 -0
- package/components/radio/dist/index.d.ts.map +1 -0
- package/components/radio/dist/index.js +1015 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts +3 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +1 -0
- package/components/radio/dist/styles/color-css.d.ts +3 -0
- package/components/radio/dist/styles/color-css.d.ts.map +1 -0
- package/components/radio/dist/styles/groupColor-css.d.ts +3 -0
- package/components/radio/dist/styles/groupColor-css.d.ts.map +1 -0
- package/components/radio/dist/styles/style-css.d.ts +3 -0
- package/components/radio/dist/styles/style-css.d.ts.map +1 -0
- package/components/radio/dist/styles/tokens-css.d.ts +3 -0
- package/components/radio/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/radio/node_modules/chalk/package.json +83 -0
- package/components/radio/node_modules/chalk/readme.md +325 -0
- package/components/radio/node_modules/chalk/source/index.d.ts +320 -0
- package/components/radio/node_modules/chalk/source/index.js +225 -0
- package/components/radio/node_modules/chalk/source/utilities.js +33 -0
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/radio/package.json +69 -0
- package/components/radio/src/auro-radio-group.js +433 -0
- package/components/radio/src/auro-radio.js +247 -0
- package/components/radio/src/index.js +8 -0
- package/components/radio/src/styles/auro-radio-group-css.js +2 -0
- package/components/radio/src/styles/auro-radio-group.css +23 -0
- package/components/radio/src/styles/auro-radio-group.scss +36 -0
- package/components/radio/src/styles/color-css.js +2 -0
- package/components/radio/src/styles/color.css +45 -0
- package/components/radio/src/styles/color.scss +56 -0
- package/components/radio/src/styles/groupColor-css.js +2 -0
- package/components/radio/src/styles/groupColor.css +21 -0
- package/components/radio/src/styles/groupColor.scss +33 -0
- package/components/radio/src/styles/style-css.js +2 -0
- package/components/radio/src/styles/style.css +113 -0
- package/components/radio/src/styles/style.scss +99 -0
- package/components/radio/src/styles/tokens-css.js +2 -0
- package/components/radio/src/styles/tokens.css +9 -0
- package/components/radio/src/styles/tokens.scss +12 -0
- package/components/select/.stylelintrc.json +3 -0
- package/components/select/.turbo/turbo-build$colon$sass.log +122 -0
- package/components/select/.turbo/turbo-build.log +240 -0
- package/components/select/.turbo/turbo-postCss$colon$component.log +5 -0
- package/components/select/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/select/README.md +205 -0
- package/components/select/demo/alertValue.js +6 -0
- package/components/select/demo/api.html +54 -0
- package/components/select/demo/api.js +33 -0
- package/components/select/demo/api.md +814 -0
- package/components/select/demo/api.min.js +4980 -0
- package/components/select/demo/index.js +9 -0
- package/components/select/demo/index.md +470 -0
- package/components/select/demo/index.min.js +4871 -0
- package/components/select/dist/auro-select.d.ts +193 -0
- package/components/select/dist/auro-select.d.ts.map +1 -0
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.d.ts +3 -0
- package/components/select/dist/index.d.ts.map +1 -0
- package/components/select/dist/index.js +3782 -0
- package/components/select/dist/styles/color-css.d.ts +3 -0
- package/components/select/dist/styles/color-css.d.ts.map +1 -0
- package/components/select/dist/styles/style-css.d.ts +3 -0
- package/components/select/dist/styles/style-css.d.ts.map +1 -0
- package/components/select/dist/styles/tokens-css.d.ts +3 -0
- package/components/select/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/select/node_modules/chalk/package.json +83 -0
- package/components/select/node_modules/chalk/readme.md +325 -0
- package/components/select/node_modules/chalk/source/index.d.ts +320 -0
- package/components/select/node_modules/chalk/source/index.js +225 -0
- package/components/select/node_modules/chalk/source/utilities.js +33 -0
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +30 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/select/node_modules/mime/CHANGELOG.md +296 -0
- package/components/select/node_modules/mime/Mime.js +97 -0
- package/components/select/node_modules/mime/README.md +187 -0
- package/components/select/node_modules/mime/cli.js +46 -0
- package/components/select/node_modules/mime/index.js +4 -0
- package/components/select/node_modules/mime/lite.js +4 -0
- package/components/select/node_modules/mime/package.json +52 -0
- package/components/select/node_modules/mime/types/other.js +1 -0
- package/components/select/node_modules/mime/types/standard.js +1 -0
- package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +21 -0
- package/components/select/node_modules/rollup-plugin-serve/README.md +135 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +181 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +197 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +193 -0
- package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +173 -0
- package/components/select/node_modules/rollup-plugin-serve/package.json +44 -0
- package/components/select/package.json +70 -0
- package/components/select/packageScripts/postinstall.mjs +28 -0
- package/components/select/src/auro-select.js +570 -0
- package/components/select/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/select/src/index.js +6 -0
- package/components/select/src/styles/color-css.js +2 -0
- package/components/select/src/styles/color.css +63 -0
- package/components/select/src/styles/color.scss +33 -0
- package/components/select/src/styles/style-css.js +2 -0
- package/components/select/src/styles/style.css +97 -0
- package/components/select/src/styles/style.scss +66 -0
- package/components/select/src/styles/tokens-css.js +2 -0
- package/components/select/src/styles/tokens.css +3 -0
- package/components/select/src/styles/tokens.scss +5 -0
- package/package.json +142 -0
- package/packages/build-tools/package.json +15 -0
- package/packages/build-tools/src/docProcessor.mjs +104 -0
- package/packages/build-tools/src/formVersionWriter.mjs +75 -0
- package/packages/build-tools/src/index.js +1 -0
- package/packages/build-tools/src/kitDocProcessor.mjs +66 -0
- package/packages/form-validation/package.json +12 -0
- package/packages/form-validation/src/index.js +1 -0
- package/packages/form-validation/src/validation.js +239 -0
- package/packages/typescript/base.json +19 -0
- package/packages/typescript/package.json +20 -0
- package/turbo.json +100 -0
|
@@ -0,0 +1,814 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
The apiExamples.md file is a compiled document. No edits should be made directly to this file.
|
|
3
|
+
|
|
4
|
+
apiExamples.md is created by running `npm run build:markdownDocs`.
|
|
5
|
+
|
|
6
|
+
This file is generated based on a template fetched from `./docs/partials/apiExamples.md`
|
|
7
|
+
-->
|
|
8
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/api.md) -->
|
|
9
|
+
<!-- The below content is automatically added from ./../docs/api.md -->
|
|
10
|
+
|
|
11
|
+
# auro-select
|
|
12
|
+
|
|
13
|
+
The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
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 bib 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
|
+
| [placeholder](#placeholder) | `placeholder` | `String` | "Please select option" | Define placeholder text to display before a value is manually selected. |
|
|
26
|
+
| [required](#required) | `required` | `Boolean` | | Populates the `required` attribute on the element. Used for client-side validation. |
|
|
27
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `String` | | Sets a custom help text message to display for all validityStates. |
|
|
28
|
+
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `String` | | Custom help text message to display when validity = `customError`. |
|
|
29
|
+
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `String` | | Custom help text message to display when validity = `valueMissing`. |
|
|
30
|
+
| [validity](#validity) | `validity` | `String` | "undefined" | Specifies the `validityState` this element is in. |
|
|
31
|
+
| [value](#value) | `value` | `String` | | Value selected for the component. |
|
|
32
|
+
|
|
33
|
+
## Events
|
|
34
|
+
|
|
35
|
+
| Event | Type | Description |
|
|
36
|
+
|-----------------------------|--------------------|--------------------------------------------------|
|
|
37
|
+
| `auroFormElement-validated` | | Notifies that the `validity` and `errorMessage` values have changed. |
|
|
38
|
+
| `auroSelect-valueSet` | `CustomEvent<any>` | Notifies that the component has a new value set. |
|
|
39
|
+
|
|
40
|
+
## Slots
|
|
41
|
+
|
|
42
|
+
| Name | Description |
|
|
43
|
+
|------------|--------------------------------------|
|
|
44
|
+
| | Default slot for the menu content. |
|
|
45
|
+
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
46
|
+
| [label](#label) | Defines the content of the label. |
|
|
47
|
+
|
|
48
|
+
## CSS Shadow Parts
|
|
49
|
+
|
|
50
|
+
| Part | Description |
|
|
51
|
+
|------------|-----------------------------|
|
|
52
|
+
| [helpText](#helpText) | Apply CSS to the help text. |
|
|
53
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
54
|
+
|
|
55
|
+
## API Examples
|
|
56
|
+
|
|
57
|
+
### Default example
|
|
58
|
+
|
|
59
|
+
A baseline `auro-select` using `auro-menu` and `auro-menuoption` elements. Notice a default `Please select option` placeholder in the trigger.
|
|
60
|
+
|
|
61
|
+
<div class="exampleWrapper">
|
|
62
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
63
|
+
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
64
|
+
<auro-select>
|
|
65
|
+
<auro-menu>
|
|
66
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
67
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
68
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
69
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
70
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
71
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
72
|
+
</auro-menu>
|
|
73
|
+
</auro-select>
|
|
74
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
75
|
+
</div>
|
|
76
|
+
<auro-accordion alignRight>
|
|
77
|
+
<span slot="trigger">See code</span>
|
|
78
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
|
|
79
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
80
|
+
|
|
81
|
+
```html
|
|
82
|
+
<auro-select>
|
|
83
|
+
<auro-menu>
|
|
84
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
85
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
86
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
87
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
88
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
89
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
90
|
+
</auro-menu>
|
|
91
|
+
</auro-select>
|
|
92
|
+
```
|
|
93
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
94
|
+
</auro-accordion>
|
|
95
|
+
|
|
96
|
+
### Property Examples
|
|
97
|
+
|
|
98
|
+
#### value <a name="value"></a>
|
|
99
|
+
Use the `value` property to define a preset value on the `auro-select` element. The `value` of `auro-select` must match the `value` defined of a single `auro-menuoption`. Upon initially rendering the component, if the `value` does not match an `auro-menuoption`, the `value` of `auro-select` will be set to `undefined`.
|
|
100
|
+
|
|
101
|
+
To pre-set the value of auro-select on load, use the `value` property. The `selected` attribute on auro-menuoption is designed to illustrate state in the DOM.
|
|
102
|
+
|
|
103
|
+
<div class="exampleWrapper">
|
|
104
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/value.html) -->
|
|
105
|
+
<!-- The below content is automatically added from ./../apiExamples/value.html -->
|
|
106
|
+
<auro-button id="validValueExampleBtn">Set Value to Valid Option</auro-button>
|
|
107
|
+
<auro-button id="invalidValueExampleBtn">Set Value to Invalid Option</auro-button>
|
|
108
|
+
<auro-button id="undefinedValueExampleBtn">Set Value to Undefined</auro-button>
|
|
109
|
+
<br/><br/>
|
|
110
|
+
<auro-select id="valueExample" value="price">
|
|
111
|
+
<span slot="label">Name</span>
|
|
112
|
+
<auro-menu>
|
|
113
|
+
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
114
|
+
<auro-menuoption id="option-1" value="price">Price</auro-menuoption>
|
|
115
|
+
<auro-menuoption id="option-2" value="duration">Duration</auro-menuoption>
|
|
116
|
+
<auro-menuoption id="option-3" value="departure">Departure</auro-menuoption>
|
|
117
|
+
<auro-menuoption id="option-4" value="arrival">Arrival</auro-menuoption>
|
|
118
|
+
<auro-menuoption id="option-5" value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
119
|
+
</auro-menu>
|
|
120
|
+
</auro-select>
|
|
121
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
122
|
+
</div>
|
|
123
|
+
<auro-accordion alignRight>
|
|
124
|
+
<span slot="trigger">See code</span>
|
|
125
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/value.html) -->
|
|
126
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/value.html -->
|
|
127
|
+
|
|
128
|
+
```html
|
|
129
|
+
<auro-button id="validValueExampleBtn">Set Value to Valid Option</auro-button>
|
|
130
|
+
<auro-button id="invalidValueExampleBtn">Set Value to Invalid Option</auro-button>
|
|
131
|
+
<auro-button id="undefinedValueExampleBtn">Set Value to Undefined</auro-button>
|
|
132
|
+
<br/><br/>
|
|
133
|
+
<auro-select id="valueExample" value="price">
|
|
134
|
+
<span slot="label">Name</span>
|
|
135
|
+
<auro-menu>
|
|
136
|
+
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
137
|
+
<auro-menuoption id="option-1" value="price">Price</auro-menuoption>
|
|
138
|
+
<auro-menuoption id="option-2" value="duration">Duration</auro-menuoption>
|
|
139
|
+
<auro-menuoption id="option-3" value="departure">Departure</auro-menuoption>
|
|
140
|
+
<auro-menuoption id="option-4" value="arrival">Arrival</auro-menuoption>
|
|
141
|
+
<auro-menuoption id="option-5" value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
142
|
+
</auro-menu>
|
|
143
|
+
</auro-select>
|
|
144
|
+
```
|
|
145
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
146
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/value.js) -->
|
|
147
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/value.js -->
|
|
148
|
+
|
|
149
|
+
```js
|
|
150
|
+
export function valueExample() {
|
|
151
|
+
const valueExample = document.querySelector('#valueExample');
|
|
152
|
+
|
|
153
|
+
document.querySelector('#validValueExampleBtn').addEventListener('click', () => {
|
|
154
|
+
valueExample.value = 'arrival';
|
|
155
|
+
})
|
|
156
|
+
|
|
157
|
+
document.querySelector('#invalidValueExampleBtn').addEventListener('click', () => {
|
|
158
|
+
valueExample.value = 'flight course';
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
document.querySelector('#undefinedValueExampleBtn').addEventListener('click', () => {
|
|
162
|
+
valueExample.value = undefined;
|
|
163
|
+
})
|
|
164
|
+
}
|
|
165
|
+
```
|
|
166
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
167
|
+
</auro-accordion>
|
|
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
|
+
#### required <a name="required"></a>
|
|
208
|
+
When present, the `required` attribute specifies that a select field must be filled out before submitting the form.
|
|
209
|
+
|
|
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.
|
|
211
|
+
|
|
212
|
+
<div class="exampleWrapper">
|
|
213
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
214
|
+
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
215
|
+
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
216
|
+
<auro-menu>
|
|
217
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
218
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
219
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
220
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
221
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
222
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
223
|
+
</auro-menu>
|
|
224
|
+
</auro-select>
|
|
225
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
226
|
+
</div>
|
|
227
|
+
<auro-accordion alignRight>
|
|
228
|
+
<span slot="trigger">See code</span>
|
|
229
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/required.html) -->
|
|
230
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/required.html -->
|
|
231
|
+
|
|
232
|
+
```html
|
|
233
|
+
<auro-select required setCustomValidityValueMissing="Custom required validation error message.">
|
|
234
|
+
<auro-menu>
|
|
235
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
236
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
237
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
238
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
239
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
240
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
241
|
+
</auro-menu>
|
|
242
|
+
</auro-select>
|
|
243
|
+
```
|
|
244
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
245
|
+
</auro-accordion>
|
|
246
|
+
|
|
247
|
+
#### error <a name="error"></a>
|
|
248
|
+
Use the `error` boolean attribute to toggle the error UI.
|
|
249
|
+
|
|
250
|
+
<div class="exampleWrapper">
|
|
251
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/errorApi.html) -->
|
|
252
|
+
<!-- The below content is automatically added from ./../apiExamples/errorApi.html -->
|
|
253
|
+
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
254
|
+
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
255
|
+
<br /><br />
|
|
256
|
+
<auro-select id="errorExample" error="Custom error message">
|
|
257
|
+
<auro-menu>
|
|
258
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
259
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
260
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
261
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
262
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
263
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
264
|
+
</auro-menu>
|
|
265
|
+
</auro-select>
|
|
266
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
267
|
+
</div>
|
|
268
|
+
<auro-accordion alignRight>
|
|
269
|
+
<span slot="trigger">See code</span>
|
|
270
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/errorApi.html) -->
|
|
271
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/errorApi.html -->
|
|
272
|
+
|
|
273
|
+
```html
|
|
274
|
+
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
275
|
+
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
276
|
+
<br /><br />
|
|
277
|
+
<auro-select id="errorExample" error="Custom error message">
|
|
278
|
+
<auro-menu>
|
|
279
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
280
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
281
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
282
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
283
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
284
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
285
|
+
</auro-menu>
|
|
286
|
+
</auro-select>
|
|
287
|
+
```
|
|
288
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
289
|
+
</auro-accordion>
|
|
290
|
+
|
|
291
|
+
#### disabled <a name="disabled"></a>
|
|
292
|
+
Use the `disabled` boolean attribute to toggle the disabled UI.
|
|
293
|
+
|
|
294
|
+
<div class="exampleWrapper">
|
|
295
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
296
|
+
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
297
|
+
<auro-select disabled>
|
|
298
|
+
<auro-menu>
|
|
299
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
300
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
301
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
302
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
303
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
304
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
305
|
+
</auro-menu>
|
|
306
|
+
</auro-select>
|
|
307
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
308
|
+
</div>
|
|
309
|
+
<auro-accordion alignRight>
|
|
310
|
+
<span slot="trigger">See code</span>
|
|
311
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
|
|
312
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
313
|
+
|
|
314
|
+
```html
|
|
315
|
+
<auro-select disabled>
|
|
316
|
+
<auro-menu>
|
|
317
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
318
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
319
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
320
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
321
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
322
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
323
|
+
</auro-menu>
|
|
324
|
+
</auro-select>
|
|
325
|
+
```
|
|
326
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
327
|
+
</auro-accordion>
|
|
328
|
+
|
|
329
|
+
#### flexMenuWidth <a name="flexMenuWidth"></a>
|
|
330
|
+
Use the `flexMenuWidth` boolean attribute to toggle the width of the `<auro-select>` element to match the width of the bib content, rather than the width of the trigger.
|
|
331
|
+
|
|
332
|
+
<div class="exampleWrapper">
|
|
333
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/flexMenuWidth.html) -->
|
|
334
|
+
<!-- The below content is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
335
|
+
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
336
|
+
<auro-menu>
|
|
337
|
+
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
338
|
+
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
339
|
+
<auro-menuoption value="mexico">Mexico has a country code of (+52)</auro-menuoption>
|
|
340
|
+
<auro-menuoption value="afghanistan">Afghanistan has a country code of (+93)</auro-menuoption>
|
|
341
|
+
<auro-menuoption value="albania">Albania has a country code of (+355)</auro-menuoption>
|
|
342
|
+
</auro-menu>
|
|
343
|
+
</auro-select>
|
|
344
|
+
<style>
|
|
345
|
+
#flexMenuWidthExample::part(dropdownTrigger) {
|
|
346
|
+
width: 25%;
|
|
347
|
+
}
|
|
348
|
+
</style>
|
|
349
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
350
|
+
</div>
|
|
351
|
+
<auro-accordion alignRight>
|
|
352
|
+
<span slot="trigger">See code</span>
|
|
353
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=../apiExamples/flexMenuWidth.html) -->
|
|
354
|
+
<!-- The below code snippet is automatically added from ../apiExamples/flexMenuWidth.html -->
|
|
355
|
+
|
|
356
|
+
```html
|
|
357
|
+
<auro-select flexMenuWidth id="flexMenuWidthExample">
|
|
358
|
+
<auro-menu>
|
|
359
|
+
<auro-menuoption value="united states">United States has a country code of (+1)</auro-menuoption>
|
|
360
|
+
<auro-menuoption value="costa rica">Costa Rica has a country code of (+506)</auro-menuoption>
|
|
361
|
+
<auro-menuoption value="mexico">Mexico has a country code of (+52)</auro-menuoption>
|
|
362
|
+
<auro-menuoption value="afghanistan">Afghanistan has a country code of (+93)</auro-menuoption>
|
|
363
|
+
<auro-menuoption value="albania">Albania has a country code of (+355)</auro-menuoption>
|
|
364
|
+
</auro-menu>
|
|
365
|
+
</auro-select>
|
|
366
|
+
<style>
|
|
367
|
+
#flexMenuWidthExample::part(dropdownTrigger) {
|
|
368
|
+
width: 25%;
|
|
369
|
+
}
|
|
370
|
+
</style>
|
|
371
|
+
```
|
|
372
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
373
|
+
</auro-accordion>
|
|
374
|
+
|
|
375
|
+
### Slot Examples
|
|
376
|
+
|
|
377
|
+
#### label <a name="label"></a>
|
|
378
|
+
Use the `label` slot to give your users contextual information about their selection options. This `label` content is also helpful for assistive devices.
|
|
379
|
+
|
|
380
|
+
<div class="exampleWrapper">
|
|
381
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/label.html) -->
|
|
382
|
+
<!-- The below content is automatically added from ./../apiExamples/label.html -->
|
|
383
|
+
<auro-select>
|
|
384
|
+
<span slot="label">Please select a preference</span>
|
|
385
|
+
<auro-menu>
|
|
386
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
387
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
388
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
389
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
390
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
391
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
392
|
+
</auro-menu>
|
|
393
|
+
</auro-select>
|
|
394
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
395
|
+
</div>
|
|
396
|
+
<auro-accordion alignRight>
|
|
397
|
+
<span slot="trigger">See code</span>
|
|
398
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/label.html) -->
|
|
399
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/label.html -->
|
|
400
|
+
|
|
401
|
+
```html
|
|
402
|
+
<auro-select>
|
|
403
|
+
<span slot="label">Please select a preference</span>
|
|
404
|
+
<auro-menu>
|
|
405
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
406
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
407
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
408
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
409
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
410
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
411
|
+
</auro-menu>
|
|
412
|
+
</auro-select>
|
|
413
|
+
```
|
|
414
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
415
|
+
</auro-accordion>
|
|
416
|
+
|
|
417
|
+
#### label with placeholder
|
|
418
|
+
|
|
419
|
+
The `label` slot and `placeholder` attribute may be used together.
|
|
420
|
+
|
|
421
|
+
<div class="exampleWrapper">
|
|
422
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/labelWithPlaceholder.html) -->
|
|
423
|
+
<!-- The below content is automatically added from ./../apiExamples/labelWithPlaceholder.html -->
|
|
424
|
+
<auro-select placeholder="Placeholder Text">
|
|
425
|
+
<span slot="label">Label Text</span>
|
|
426
|
+
<auro-menu>
|
|
427
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
428
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
429
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
430
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
431
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
432
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
433
|
+
</auro-menu>
|
|
434
|
+
</auro-select>
|
|
435
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
436
|
+
</div>
|
|
437
|
+
<auro-accordion alignRight>
|
|
438
|
+
<span slot="trigger">See code</span>
|
|
439
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/labelWithPlaceholder.html) -->
|
|
440
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/labelWithPlaceholder.html -->
|
|
441
|
+
|
|
442
|
+
```html
|
|
443
|
+
<auro-select placeholder="Placeholder Text">
|
|
444
|
+
<span slot="label">Label Text</span>
|
|
445
|
+
<auro-menu>
|
|
446
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
447
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
448
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
449
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
450
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
451
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
452
|
+
</auro-menu>
|
|
453
|
+
</auro-select>
|
|
454
|
+
```
|
|
455
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
456
|
+
</auro-accordion>
|
|
457
|
+
|
|
458
|
+
#### helpText <a name="helpText"></a>
|
|
459
|
+
Use the `helptext` slot to provide additional information back to your user about their selection option(s).
|
|
460
|
+
|
|
461
|
+
<div class="exampleWrapper">
|
|
462
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
463
|
+
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
464
|
+
<auro-select>
|
|
465
|
+
<span slot="helpText">Custom help text message.</span>
|
|
466
|
+
<auro-menu>
|
|
467
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
468
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
469
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
470
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
471
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
472
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
473
|
+
</auro-menu>
|
|
474
|
+
</auro-select>
|
|
475
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
476
|
+
</div>
|
|
477
|
+
<auro-accordion alignRight>
|
|
478
|
+
<span slot="trigger">See code</span>
|
|
479
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/helpText.html) -->
|
|
480
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
|
|
481
|
+
|
|
482
|
+
```html
|
|
483
|
+
<auro-select>
|
|
484
|
+
<span slot="helpText">Custom help text message.</span>
|
|
485
|
+
<auro-menu>
|
|
486
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
487
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
488
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
489
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
490
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
491
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
492
|
+
</auro-menu>
|
|
493
|
+
</auro-select>
|
|
494
|
+
```
|
|
495
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
496
|
+
</auro-accordion>
|
|
497
|
+
|
|
498
|
+
## Functional Examples
|
|
499
|
+
|
|
500
|
+
### Extract value
|
|
501
|
+
|
|
502
|
+
The following example illustrates how a user may query the `element.value` or `element.optionSelected` for the current value or complete option object that is selected.
|
|
503
|
+
|
|
504
|
+
<div class="exampleWrapper">
|
|
505
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueExtraction.html) -->
|
|
506
|
+
<!-- The below content is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
507
|
+
<auro-select id="valueExtraction">
|
|
508
|
+
<auro-menu>
|
|
509
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
510
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
511
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
512
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
513
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
514
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
515
|
+
</auro-menu>
|
|
516
|
+
</auro-select>
|
|
517
|
+
<auro-button id="valueExtractionBtn">Get current value</auro-button>
|
|
518
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
519
|
+
</div>
|
|
520
|
+
<auro-accordion alignRight>
|
|
521
|
+
<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
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/valueExtraction.html) -->
|
|
540
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/valueExtraction.html -->
|
|
541
|
+
|
|
542
|
+
```html
|
|
543
|
+
<auro-select id="valueExtraction">
|
|
544
|
+
<auro-menu>
|
|
545
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
546
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
547
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
548
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
549
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
550
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
551
|
+
</auro-menu>
|
|
552
|
+
</auro-select>
|
|
553
|
+
<auro-button id="valueExtractionBtn">Get current value</auro-button>
|
|
554
|
+
```
|
|
555
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
556
|
+
</auro-accordion>
|
|
557
|
+
|
|
558
|
+
### Custom Validity with Error State
|
|
559
|
+
|
|
560
|
+
This example programmatically adds the `error` state when a user selects an option that is greater than `2`.
|
|
561
|
+
|
|
562
|
+
<div class="exampleWrapper">
|
|
563
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/customErrorValidity.html) -->
|
|
564
|
+
<!-- The below content is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
565
|
+
<auro-select id="primaryError">
|
|
566
|
+
<auro-menu>
|
|
567
|
+
<auro-menuoption value="1">1</auro-menuoption>
|
|
568
|
+
<auro-menuoption value="2">2</auro-menuoption>
|
|
569
|
+
<auro-menuoption value="3">3</auro-menuoption>
|
|
570
|
+
<auro-menuoption value="4">4</auro-menuoption>
|
|
571
|
+
<auro-menuoption value="5">5</auro-menuoption>
|
|
572
|
+
<auro-menuoption value="6">6</auro-menuoption>
|
|
573
|
+
</auro-menu>
|
|
574
|
+
</auro-select>
|
|
575
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
576
|
+
</div>
|
|
577
|
+
<auro-accordion alignRight>
|
|
578
|
+
<span slot="trigger">See code</span>
|
|
579
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/customErrorValidity.html) -->
|
|
580
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/customErrorValidity.html -->
|
|
581
|
+
|
|
582
|
+
```html
|
|
583
|
+
<auro-select id="primaryError">
|
|
584
|
+
<auro-menu>
|
|
585
|
+
<auro-menuoption value="1">1</auro-menuoption>
|
|
586
|
+
<auro-menuoption value="2">2</auro-menuoption>
|
|
587
|
+
<auro-menuoption value="3">3</auro-menuoption>
|
|
588
|
+
<auro-menuoption value="4">4</auro-menuoption>
|
|
589
|
+
<auro-menuoption value="5">5</auro-menuoption>
|
|
590
|
+
<auro-menuoption value="6">6</auro-menuoption>
|
|
591
|
+
</auro-menu>
|
|
592
|
+
</auro-select>
|
|
593
|
+
```
|
|
594
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
595
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/customErrorValidity.js) -->
|
|
596
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/customErrorValidity.js -->
|
|
597
|
+
|
|
598
|
+
```js
|
|
599
|
+
export function customErrorValidityExample(elem) {
|
|
600
|
+
const customErrorValidityExample = document.querySelector('#primaryError');
|
|
601
|
+
|
|
602
|
+
customErrorValidityExample.addEventListener('auroSelect-valueSet', () => {
|
|
603
|
+
if (+customErrorValidityExample.value > 2) {
|
|
604
|
+
customErrorValidityExample.setAttribute('error', 'Quantity Exceeded');
|
|
605
|
+
} else if (customErrorValidityExample.hasAttribute('error')) {
|
|
606
|
+
customErrorValidityExample.removeAttribute('error');
|
|
607
|
+
}
|
|
608
|
+
})
|
|
609
|
+
};
|
|
610
|
+
```
|
|
611
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
612
|
+
</auro-accordion>
|
|
613
|
+
|
|
614
|
+
### Watch for value changes
|
|
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>
|
|
666
|
+
While content is loading, the menu can either remain empty or display a loading placeholder
|
|
667
|
+
|
|
668
|
+
<div class="exampleWrapper">
|
|
669
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loading.html) -->
|
|
670
|
+
<!-- The below content is automatically added from ./../apiExamples/loading.html -->
|
|
671
|
+
<auro-select id="loadingExample">
|
|
672
|
+
<span slot="label">Please select a preference</span>
|
|
673
|
+
<auro-menu id="loadingExampleSelectMenu">
|
|
674
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
675
|
+
</auro-menu>
|
|
676
|
+
</auro-select>
|
|
677
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
678
|
+
</div>
|
|
679
|
+
<auro-accordion alignRight>
|
|
680
|
+
<span slot="trigger">See code</span>
|
|
681
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.js) -->
|
|
682
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/loading.js -->
|
|
683
|
+
|
|
684
|
+
```js
|
|
685
|
+
export function auroMenuLoadingExample() {
|
|
686
|
+
const select = document.querySelector("#loadingExample");
|
|
687
|
+
const menu = document.querySelector("#loadingExampleSelectMenu");
|
|
688
|
+
|
|
689
|
+
const emptyMenu = () => {
|
|
690
|
+
const menuoptions = menu.querySelectorAll('auro-menuoption');
|
|
691
|
+
menuoptions.forEach(mo => menu.removeChild(mo));
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
const fillMenu = () => {
|
|
695
|
+
menu.innerHTML += `
|
|
696
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
697
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
698
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
699
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
700
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
701
|
+
<auro-menuoption value="prefer alaska">Prefer Alaska</auro-menuoption>`;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
select.addEventListener("click", () => {
|
|
705
|
+
if (!menu.hasAttribute('loading') && !select.value) {
|
|
706
|
+
emptyMenu();
|
|
707
|
+
menu.setAttribute('loading', 'loading');
|
|
708
|
+
setTimeout(() => {
|
|
709
|
+
menu.removeAttribute('loading');
|
|
710
|
+
fillMenu();
|
|
711
|
+
}, 1000);
|
|
712
|
+
}
|
|
713
|
+
});
|
|
714
|
+
}
|
|
715
|
+
```
|
|
716
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
717
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.html) -->
|
|
718
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/loading.html -->
|
|
719
|
+
|
|
720
|
+
```html
|
|
721
|
+
<auro-select id="loadingExample">
|
|
722
|
+
<span slot="label">Please select a preference</span>
|
|
723
|
+
<auro-menu id="loadingExampleSelectMenu">
|
|
724
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
725
|
+
</auro-menu>
|
|
726
|
+
</auro-select>
|
|
727
|
+
```
|
|
728
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
729
|
+
</auro-accordion>
|
|
730
|
+
|
|
731
|
+
#### in Dialog
|
|
732
|
+
|
|
733
|
+
The component can be in a dialog.
|
|
734
|
+
|
|
735
|
+
<div class="exampleWrapper">
|
|
736
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inDialog.html) -->
|
|
737
|
+
<!-- The below content is automatically added from ./../apiExamples/inDialog.html -->
|
|
738
|
+
<div>
|
|
739
|
+
<auro-button id="select-dialog-opener">Select in Dialog</auro-button>
|
|
740
|
+
<auro-dialog id="select-dialog">
|
|
741
|
+
<span slot="header">Select in Dialog</span>
|
|
742
|
+
<div slot="content">
|
|
743
|
+
<auro-select id="valueExample" value="price">
|
|
744
|
+
<span slot="label">Name</span>
|
|
745
|
+
<auro-menu>
|
|
746
|
+
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
747
|
+
<auro-menuoption id="option-1" value="price">Price</auro-menuoption>
|
|
748
|
+
<auro-menuoption id="option-2" value="duration">Duration</auro-menuoption>
|
|
749
|
+
<auro-menuoption id="option-3" value="departure">Departure</auro-menuoption>
|
|
750
|
+
<auro-menuoption id="option-4" value="arrival">Arrival</auro-menuoption>
|
|
751
|
+
<auro-menuoption id="option-5" value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
752
|
+
</auro-menu>
|
|
753
|
+
</auro-select>
|
|
754
|
+
</div>
|
|
755
|
+
</auro-dialog>
|
|
756
|
+
</div>
|
|
757
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
758
|
+
</div>
|
|
759
|
+
<auro-accordion alignRight>
|
|
760
|
+
<span slot="trigger">See code</span>
|
|
761
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.html) -->
|
|
762
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inDialog.html -->
|
|
763
|
+
|
|
764
|
+
```html
|
|
765
|
+
<div>
|
|
766
|
+
<auro-button id="select-dialog-opener">Select in Dialog</auro-button>
|
|
767
|
+
<auro-dialog id="select-dialog">
|
|
768
|
+
<span slot="header">Select in Dialog</span>
|
|
769
|
+
<div slot="content">
|
|
770
|
+
<auro-select id="valueExample" value="price">
|
|
771
|
+
<span slot="label">Name</span>
|
|
772
|
+
<auro-menu>
|
|
773
|
+
<auro-menuoption id="option-0" value="stops">Stops</auro-menuoption>
|
|
774
|
+
<auro-menuoption id="option-1" value="price">Price</auro-menuoption>
|
|
775
|
+
<auro-menuoption id="option-2" value="duration">Duration</auro-menuoption>
|
|
776
|
+
<auro-menuoption id="option-3" value="departure">Departure</auro-menuoption>
|
|
777
|
+
<auro-menuoption id="option-4" value="arrival">Arrival</auro-menuoption>
|
|
778
|
+
<auro-menuoption id="option-5" value="prefer alaska">Prefer Alaska</auro-menuoption>
|
|
779
|
+
</auro-menu>
|
|
780
|
+
</auro-select>
|
|
781
|
+
</div>
|
|
782
|
+
</auro-dialog>
|
|
783
|
+
</div>
|
|
784
|
+
```
|
|
785
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
786
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.js) -->
|
|
787
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inDialog.js -->
|
|
788
|
+
|
|
789
|
+
```js
|
|
790
|
+
export function inDialogExample() {
|
|
791
|
+
document.querySelector("#select-dialog-opener").addEventListener("click", () => {
|
|
792
|
+
const dialog = document.querySelector("#select-dialog");
|
|
793
|
+
dialog.open = true;
|
|
794
|
+
});
|
|
795
|
+
};
|
|
796
|
+
```
|
|
797
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
798
|
+
</auro-accordion>
|
|
799
|
+
|
|
800
|
+
### Theme Support
|
|
801
|
+
|
|
802
|
+
The component may be restyled using the following code sample and changing the values of the following token(s).
|
|
803
|
+
|
|
804
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../src/styles/tokens.scss) -->
|
|
805
|
+
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
806
|
+
|
|
807
|
+
```scss
|
|
808
|
+
@import '@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables';
|
|
809
|
+
|
|
810
|
+
:host {
|
|
811
|
+
--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default);
|
|
812
|
+
}
|
|
813
|
+
```
|
|
814
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|