@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,816 @@
|
|
|
1
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/api.md) -->
|
|
2
|
+
<!-- The below content is automatically added from ./../docs/api.md -->
|
|
3
|
+
|
|
4
|
+
# auro-combobox
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
| Property | Attribute | Type | Default | Description |
|
|
9
|
+
|---------------------|---------------------|-----------|-------------|--------------------------------------------------|
|
|
10
|
+
| [checkmark](#checkmark) | `checkmark` | `Boolean` | | When attribute is present auro-menu will apply checkmarks to selected options. |
|
|
11
|
+
| [disabled](#disabled) | `disabled` | `Boolean` | | If set, disables the combobox. |
|
|
12
|
+
| [error](#error) | `error` | `Boolean` | | Sets a persistent error state (e.g. an error state returned from the server). |
|
|
13
|
+
| [noFilter](#noFilter) | `noFilter` | `Boolean` | false | If set, combobox will not filter menuoptions based in input. |
|
|
14
|
+
| [noValidate](#noValidate) | `noValidate` | `Boolean` | | If set, disables auto-validation on blur. |
|
|
15
|
+
| [optionSelected](#optionSelected) | `optionSelected` | `Object` | null | Specifies the current selected option. |
|
|
16
|
+
| [required](#required) | `required` | `Boolean` | | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
17
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `String` | | Sets a custom help text message to display for all validityStates. |
|
|
18
|
+
| [triggerIcon](#triggerIcon) | `triggerIcon` | `Boolean` | | If set, the `icon` attribute will be applied to the trigger `auro-input` element. |
|
|
19
|
+
| [type](#type) | `type` | `String` | | Applies the defined value as the type attribute on auro-input. |
|
|
20
|
+
| [validity](#validity) | `validity` | `String` | "undefined" | Specifies the `validityState` this element is in. |
|
|
21
|
+
| [value](#value) | `value` | `String` | null | Value selected for the dropdown menu. |
|
|
22
|
+
|
|
23
|
+
## Methods
|
|
24
|
+
|
|
25
|
+
| Method | Type | Description |
|
|
26
|
+
|---------|------------|-------------------------------------|
|
|
27
|
+
| [focus](#focus) | `(): void` | Focuses the combobox trigger input. |
|
|
28
|
+
|
|
29
|
+
## Events
|
|
30
|
+
|
|
31
|
+
| Event | Type | Description |
|
|
32
|
+
|-----------------------------|--------------------|--------------------------------------------------|
|
|
33
|
+
| `auroCombobox-valueSet` | `CustomEvent<any>` | Notifies that the component has a new value set. |
|
|
34
|
+
| `auroFormElement-validated` | | Notifies that the component value(s) have been validated. |
|
|
35
|
+
|
|
36
|
+
## Slots
|
|
37
|
+
|
|
38
|
+
| Name | Description |
|
|
39
|
+
|------------|--------------------------------------|
|
|
40
|
+
| | Default slot for the menu content. |
|
|
41
|
+
| [helpText](#helpText) | Defines the content of the helpText. |
|
|
42
|
+
| [label](#label) | Defines the content of the label. |
|
|
43
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
44
|
+
|
|
45
|
+
## API Examples
|
|
46
|
+
|
|
47
|
+
### Basic
|
|
48
|
+
|
|
49
|
+
<div class="exampleWrapper">
|
|
50
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
51
|
+
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
52
|
+
<auro-combobox>
|
|
53
|
+
<span slot="label">Name</span>
|
|
54
|
+
<auro-menu>
|
|
55
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
56
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
57
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
58
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
59
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
60
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
61
|
+
</auro-menu>
|
|
62
|
+
</auro-combobox>
|
|
63
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
64
|
+
</div>
|
|
65
|
+
<auro-accordion alignRight>
|
|
66
|
+
<span slot="trigger">See code</span>
|
|
67
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
|
|
68
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
69
|
+
|
|
70
|
+
```html
|
|
71
|
+
<auro-combobox>
|
|
72
|
+
<span slot="label">Name</span>
|
|
73
|
+
<auro-menu>
|
|
74
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
75
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
76
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
77
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
78
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
79
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
80
|
+
</auro-menu>
|
|
81
|
+
</auro-combobox>
|
|
82
|
+
```
|
|
83
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
84
|
+
</auro-accordion>
|
|
85
|
+
|
|
86
|
+
### Dynamic Menu
|
|
87
|
+
|
|
88
|
+
This example demonstrates a data driven combobox. The data is used to populate the `auro-menu`. In this example, each time the input's value changes, the data is updated and the menu is recreated.
|
|
89
|
+
|
|
90
|
+
The menu in this example was populated from data from a country/city API. To keep the data set small, the data in the menu is based off an API call that returns all countries and cities that contain the substring "**germ**" (non case-sensitive) in their name.
|
|
91
|
+
|
|
92
|
+
<div class="exampleWrapper">
|
|
93
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dynamicMenu.html) -->
|
|
94
|
+
<!-- The below content is automatically added from ./../apiExamples/dynamicMenu.html -->
|
|
95
|
+
<!-- HTML example file -->
|
|
96
|
+
<!-- ----------------- -->
|
|
97
|
+
<auro-combobox id="dynamicMenuExample" noFilter>
|
|
98
|
+
<span slot="label">Name</span>
|
|
99
|
+
<!--
|
|
100
|
+
The auro-combobox element requires an empty auro-menu element
|
|
101
|
+
due to the requirements of auro-dropdown and auro-input
|
|
102
|
+
-->
|
|
103
|
+
<auro-menu id="initMenu"></auro-menu>
|
|
104
|
+
</auro-combobox>
|
|
105
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
106
|
+
</div>
|
|
107
|
+
<auro-accordion alignRight>
|
|
108
|
+
<span slot="trigger">See code</span>
|
|
109
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/dynamicMenu.html) -->
|
|
110
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/dynamicMenu.html -->
|
|
111
|
+
|
|
112
|
+
```html
|
|
113
|
+
<!-- HTML example file -->
|
|
114
|
+
<!-- ----------------- -->
|
|
115
|
+
<auro-combobox id="dynamicMenuExample" noFilter>
|
|
116
|
+
<span slot="label">Name</span>
|
|
117
|
+
<!--
|
|
118
|
+
The auro-combobox element requires an empty auro-menu element
|
|
119
|
+
due to the requirements of auro-dropdown and auro-input
|
|
120
|
+
-->
|
|
121
|
+
<auro-menu id="initMenu"></auro-menu>
|
|
122
|
+
</auro-combobox>
|
|
123
|
+
```
|
|
124
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
125
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/dynamicMenu.js) -->
|
|
126
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/dynamicMenu.js -->
|
|
127
|
+
|
|
128
|
+
```js
|
|
129
|
+
// Javascript example file
|
|
130
|
+
// -----------------------
|
|
131
|
+
import { DynamicData } from './dynamicMenuDataApi';
|
|
132
|
+
|
|
133
|
+
export function dynamicMenuExample() {
|
|
134
|
+
// Resets the root menu
|
|
135
|
+
function resetMenu(root) {
|
|
136
|
+
while (root.firstChild) {
|
|
137
|
+
root.removeChild(root.firstChild);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// Generates HTML for menu and submenus using country & city data from an external API
|
|
142
|
+
function generateHtml(data) {
|
|
143
|
+
const initialMenu = document.querySelector('#initMenu');
|
|
144
|
+
|
|
145
|
+
resetMenu(initialMenu);
|
|
146
|
+
|
|
147
|
+
for (let index = 0; index < data.length; index++) {
|
|
148
|
+
let country = data[index]['country'];
|
|
149
|
+
let cities = data[index]['cities'];
|
|
150
|
+
|
|
151
|
+
generateMenuOptionHtml(initialMenu, country, country);
|
|
152
|
+
|
|
153
|
+
for (let indexB = 0; indexB < cities.length; indexB++) {
|
|
154
|
+
let subMenu = document.createElement('auro-menu');
|
|
155
|
+
|
|
156
|
+
generateMenuOptionHtml(subMenu, cities[indexB], cities[indexB]);
|
|
157
|
+
|
|
158
|
+
initialMenu.appendChild(subMenu);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Helper function that generates HTML for menuoptions
|
|
164
|
+
function generateMenuOptionHtml(menu, label, value) {
|
|
165
|
+
let option = document.createElement('auro-menuoption');
|
|
166
|
+
|
|
167
|
+
option.value = value;
|
|
168
|
+
option.innerHTML = label;
|
|
169
|
+
|
|
170
|
+
menu.appendChild(option);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Main javascript that runs all JS to create example
|
|
174
|
+
const dynamicData = new DynamicData();
|
|
175
|
+
const dynamicMenuExample = document.querySelector('#dynamicMenuExample');
|
|
176
|
+
const dropdownEl = dynamicMenuExample.shadowRoot.querySelector(dynamicMenuExample.dropdownTag._$litStatic$);
|
|
177
|
+
const inputEl = dropdownEl.querySelector(dynamicMenuExample.inputTag._$litStatic$);
|
|
178
|
+
|
|
179
|
+
inputEl.addEventListener('input', () => {
|
|
180
|
+
let data = dynamicData.getData();
|
|
181
|
+
data = dynamicData.filterData(data, dynamicMenuExample.value);
|
|
182
|
+
|
|
183
|
+
generateHtml(data);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
```
|
|
187
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
188
|
+
</auro-accordion>
|
|
189
|
+
|
|
190
|
+
### Property Examples
|
|
191
|
+
|
|
192
|
+
#### disabled
|
|
193
|
+
|
|
194
|
+
If set, disables the combobox.
|
|
195
|
+
|
|
196
|
+
<div class="exampleWrapper">
|
|
197
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
198
|
+
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
199
|
+
<auro-combobox disabled>
|
|
200
|
+
<span slot="label">Name</span>
|
|
201
|
+
<auro-menu>
|
|
202
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
203
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
204
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
205
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
206
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
207
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
208
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
209
|
+
</auro-menu>
|
|
210
|
+
</auro-combobox>
|
|
211
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
212
|
+
</div>
|
|
213
|
+
<auro-accordion alignRight>
|
|
214
|
+
<span slot="trigger">See code</span>
|
|
215
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
|
|
216
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
217
|
+
|
|
218
|
+
```html
|
|
219
|
+
<auro-combobox disabled>
|
|
220
|
+
<span slot="label">Name</span>
|
|
221
|
+
<auro-menu>
|
|
222
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
223
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
224
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
225
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
226
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
227
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
228
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
229
|
+
</auro-menu>
|
|
230
|
+
</auro-combobox>
|
|
231
|
+
```
|
|
232
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
233
|
+
</auro-accordion>
|
|
234
|
+
|
|
235
|
+
#### noFilter
|
|
236
|
+
|
|
237
|
+
If set, combobox will not do suggestion filtering of the menuoptions. This option is useful when the `<auro-menuoption>` elements are being pre-filtered externally to combobox (e.g. using the citysearch API).
|
|
238
|
+
|
|
239
|
+
<div class="exampleWrapper">
|
|
240
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/noFilter.html) -->
|
|
241
|
+
<!-- The below content is automatically added from ./../apiExamples/noFilter.html -->
|
|
242
|
+
<auro-combobox noFilter>
|
|
243
|
+
<span slot="label">Name</span>
|
|
244
|
+
<auro-menu>
|
|
245
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
246
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
247
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
248
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
249
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
250
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
251
|
+
</auro-menu>
|
|
252
|
+
</auro-combobox>
|
|
253
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
254
|
+
</div>
|
|
255
|
+
<auro-accordion alignRight>
|
|
256
|
+
<span slot="trigger">See code</span>
|
|
257
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/noFilter.html) -->
|
|
258
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/noFilter.html -->
|
|
259
|
+
|
|
260
|
+
```html
|
|
261
|
+
<auro-combobox noFilter>
|
|
262
|
+
<span slot="label">Name</span>
|
|
263
|
+
<auro-menu>
|
|
264
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
265
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
266
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
267
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
268
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
269
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
270
|
+
</auro-menu>
|
|
271
|
+
</auro-combobox>
|
|
272
|
+
```
|
|
273
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
274
|
+
</auro-accordion>
|
|
275
|
+
|
|
276
|
+
#### error
|
|
277
|
+
|
|
278
|
+
Sets a persistent error state (e.g. an error state returned from the server).
|
|
279
|
+
|
|
280
|
+
<div class="exampleWrapper">
|
|
281
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
|
|
282
|
+
<!-- The below content is automatically added from ./../apiExamples/error.html -->
|
|
283
|
+
<auro-combobox error="Custom error message">
|
|
284
|
+
<span slot="label">Name</span>
|
|
285
|
+
<auro-menu>
|
|
286
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
287
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
288
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
289
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
290
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
291
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
292
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
293
|
+
</auro-menu>
|
|
294
|
+
</auro-combobox>
|
|
295
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
296
|
+
</div>
|
|
297
|
+
<auro-accordion alignRight>
|
|
298
|
+
<span slot="trigger">See code</span>
|
|
299
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.html) -->
|
|
300
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
|
|
301
|
+
|
|
302
|
+
```html
|
|
303
|
+
<auro-combobox error="Custom error message">
|
|
304
|
+
<span slot="label">Name</span>
|
|
305
|
+
<auro-menu>
|
|
306
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
307
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
308
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
309
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
310
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
311
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
312
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
313
|
+
</auro-menu>
|
|
314
|
+
</auro-combobox>
|
|
315
|
+
```
|
|
316
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
317
|
+
</auro-accordion>
|
|
318
|
+
|
|
319
|
+
#### noValidate
|
|
320
|
+
|
|
321
|
+
Intended for use with the `required` attribute. If set, disables auto-validation on blur. By using these two attributes in combination the validation for required fields is still computed for forms but no validation messaging will be generated in the UI.
|
|
322
|
+
|
|
323
|
+
<div class="exampleWrapper">
|
|
324
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/noValidate.html) -->
|
|
325
|
+
<!-- The below content is automatically added from ./../apiExamples/noValidate.html -->
|
|
326
|
+
<auro-combobox required noValidate>
|
|
327
|
+
<span slot="label">Name</span>
|
|
328
|
+
<auro-menu>
|
|
329
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
330
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
331
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
332
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
333
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
334
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
335
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
336
|
+
</auro-menu>
|
|
337
|
+
</auro-combobox>
|
|
338
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
339
|
+
</div>
|
|
340
|
+
<auro-accordion alignRight>
|
|
341
|
+
<span slot="trigger">See code</span>
|
|
342
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/noValidate.html) -->
|
|
343
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/noValidate.html -->
|
|
344
|
+
|
|
345
|
+
```html
|
|
346
|
+
<auro-combobox required noValidate>
|
|
347
|
+
<span slot="label">Name</span>
|
|
348
|
+
<auro-menu>
|
|
349
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
350
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
351
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
352
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
353
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
354
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
355
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
356
|
+
</auro-menu>
|
|
357
|
+
</auro-combobox>
|
|
358
|
+
```
|
|
359
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
360
|
+
</auro-accordion>
|
|
361
|
+
|
|
362
|
+
#### required
|
|
363
|
+
|
|
364
|
+
Populates the `required` attribute on the input. Used for client-side validation.
|
|
365
|
+
|
|
366
|
+
<div class="exampleWrapper">
|
|
367
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
368
|
+
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
369
|
+
<auro-combobox required>
|
|
370
|
+
<span slot="label">Name</span>
|
|
371
|
+
<auro-menu>
|
|
372
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
373
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
374
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
375
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
376
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
377
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
378
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
379
|
+
</auro-menu>
|
|
380
|
+
</auro-combobox>
|
|
381
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
382
|
+
</div>
|
|
383
|
+
<auro-accordion alignRight>
|
|
384
|
+
<span slot="trigger">See code</span>
|
|
385
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/required.html) -->
|
|
386
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/required.html -->
|
|
387
|
+
|
|
388
|
+
```html
|
|
389
|
+
<auro-combobox required>
|
|
390
|
+
<span slot="label">Name</span>
|
|
391
|
+
<auro-menu>
|
|
392
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
393
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
394
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
395
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
396
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
397
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
398
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
399
|
+
</auro-menu>
|
|
400
|
+
</auro-combobox>
|
|
401
|
+
```
|
|
402
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
403
|
+
</auro-accordion>
|
|
404
|
+
|
|
405
|
+
#### value
|
|
406
|
+
|
|
407
|
+
Use the `value` attribute to programmatically set the value of the combobox.
|
|
408
|
+
|
|
409
|
+
<div class="exampleWrapper">
|
|
410
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/programmaticValue.html) -->
|
|
411
|
+
<!-- The below content is automatically added from ./../apiExamples/programmaticValue.html -->
|
|
412
|
+
<auro-combobox value="Apples">
|
|
413
|
+
<span slot="label">Name</span>
|
|
414
|
+
<auro-menu>
|
|
415
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
416
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
417
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
418
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
419
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
420
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
421
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
422
|
+
</auro-menu>
|
|
423
|
+
</auro-combobox>
|
|
424
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
425
|
+
</div>
|
|
426
|
+
<auro-accordion alignRight>
|
|
427
|
+
<span slot="trigger">See code</span>
|
|
428
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/programmaticValue.html) -->
|
|
429
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/programmaticValue.html -->
|
|
430
|
+
|
|
431
|
+
```html
|
|
432
|
+
<auro-combobox value="Apples">
|
|
433
|
+
<span slot="label">Name</span>
|
|
434
|
+
<auro-menu>
|
|
435
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
436
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
437
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
438
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
439
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
440
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
441
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
442
|
+
</auro-menu>
|
|
443
|
+
</auro-combobox>
|
|
444
|
+
```
|
|
445
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
446
|
+
</auro-accordion>
|
|
447
|
+
|
|
448
|
+
#### Dynamically Set Value
|
|
449
|
+
|
|
450
|
+
Use the `value` attribute in combination with another element to dynamically set the value of the combobox.
|
|
451
|
+
|
|
452
|
+
Can be used in the following ways:
|
|
453
|
+
* Preset the value of the combobox to valid menu option
|
|
454
|
+
* Set the value of the combobox to invalid menu option
|
|
455
|
+
* Reset the value of the combobox to undefined
|
|
456
|
+
|
|
457
|
+
Note: using a value that does not match a menu option will reset the combobox value to undefined.
|
|
458
|
+
|
|
459
|
+
<div class="exampleWrapper">
|
|
460
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/value.html) -->
|
|
461
|
+
<!-- The below content is automatically added from ./../apiExamples/value.html -->
|
|
462
|
+
<auro-button id="valueValidExampleBtn">Set to an existing option</auro-button>
|
|
463
|
+
<auro-button id="valueInvalidExampleBtn">Set to custom value</auro-button>
|
|
464
|
+
<auro-button id="valueUndefinedExampleBtn">Reset</auro-button>
|
|
465
|
+
<br/><br/>
|
|
466
|
+
<auro-combobox id="valueExample" value="Apples">
|
|
467
|
+
<span slot="label">Name</span>
|
|
468
|
+
<auro-menu>
|
|
469
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
470
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
471
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
472
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
473
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
474
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
475
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
476
|
+
</auro-menu>
|
|
477
|
+
</auro-combobox>
|
|
478
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
479
|
+
</div>
|
|
480
|
+
<auro-accordion alignRight>
|
|
481
|
+
<span slot="trigger">See code</span>
|
|
482
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/value.html) -->
|
|
483
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/value.html -->
|
|
484
|
+
|
|
485
|
+
```html
|
|
486
|
+
<auro-button id="valueValidExampleBtn">Set to an existing option</auro-button>
|
|
487
|
+
<auro-button id="valueInvalidExampleBtn">Set to custom value</auro-button>
|
|
488
|
+
<auro-button id="valueUndefinedExampleBtn">Reset</auro-button>
|
|
489
|
+
<br/><br/>
|
|
490
|
+
<auro-combobox id="valueExample" value="Apples">
|
|
491
|
+
<span slot="label">Name</span>
|
|
492
|
+
<auro-menu>
|
|
493
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
494
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
495
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
496
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
497
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
498
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
499
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
500
|
+
</auro-menu>
|
|
501
|
+
</auro-combobox>
|
|
502
|
+
```
|
|
503
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
504
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/value.js) -->
|
|
505
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/value.js -->
|
|
506
|
+
|
|
507
|
+
```js
|
|
508
|
+
export function valueExample() {
|
|
509
|
+
const valueExample = document.querySelector('#valueExample');
|
|
510
|
+
|
|
511
|
+
document.querySelector('#valueValidExampleBtn').addEventListener('click', () => {
|
|
512
|
+
valueExample.value = 'Oranges';
|
|
513
|
+
});
|
|
514
|
+
|
|
515
|
+
document.querySelector('#valueInvalidExampleBtn').addEventListener('click', () => {
|
|
516
|
+
valueExample.value = 'Dragon Fruit';
|
|
517
|
+
});
|
|
518
|
+
|
|
519
|
+
document.querySelector('#valueUndefinedExampleBtn').addEventListener('click', () => {
|
|
520
|
+
valueExample.value = undefined;
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
```
|
|
524
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
525
|
+
</auro-accordion>
|
|
526
|
+
|
|
527
|
+
#### type
|
|
528
|
+
|
|
529
|
+
When defined, the `auro-input` in the combobox trigger will use the defined `type` (e.g. `credit-card`).
|
|
530
|
+
|
|
531
|
+
<div class="exampleWrapper">
|
|
532
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/typeMonthDayYear.html) -->
|
|
533
|
+
<!-- The below content is automatically added from ./../apiExamples/typeMonthDayYear.html -->
|
|
534
|
+
<auro-combobox type="month-day-year" triggerIcon>
|
|
535
|
+
<span slot="label">Date</span>
|
|
536
|
+
<auro-menu>
|
|
537
|
+
<auro-menuoption value="01/02/2020" id="option-date-0">
|
|
538
|
+
01/02/2020
|
|
539
|
+
</auro-menuoption>
|
|
540
|
+
<auro-menuoption value="05/16/2022" id="option-date-1">
|
|
541
|
+
05/16/2022
|
|
542
|
+
</auro-menuoption>
|
|
543
|
+
</auro-menu>
|
|
544
|
+
</auro-combobox>
|
|
545
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
546
|
+
</div>
|
|
547
|
+
<auro-accordion alignRight>
|
|
548
|
+
<span slot="trigger">See code</span>
|
|
549
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/typeMonthDayYear.html) -->
|
|
550
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/typeMonthDayYear.html -->
|
|
551
|
+
|
|
552
|
+
```html
|
|
553
|
+
<auro-combobox type="month-day-year" triggerIcon>
|
|
554
|
+
<span slot="label">Date</span>
|
|
555
|
+
<auro-menu>
|
|
556
|
+
<auro-menuoption value="01/02/2020" id="option-date-0">
|
|
557
|
+
01/02/2020
|
|
558
|
+
</auro-menuoption>
|
|
559
|
+
<auro-menuoption value="05/16/2022" id="option-date-1">
|
|
560
|
+
05/16/2022
|
|
561
|
+
</auro-menuoption>
|
|
562
|
+
</auro-menu>
|
|
563
|
+
</auro-combobox>
|
|
564
|
+
```
|
|
565
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
566
|
+
</auro-accordion>
|
|
567
|
+
|
|
568
|
+
### Method Examples
|
|
569
|
+
|
|
570
|
+
#### focus
|
|
571
|
+
|
|
572
|
+
The focus method will apply focus state to the combobox input field.
|
|
573
|
+
|
|
574
|
+
<div class="exampleWrapper">
|
|
575
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/focus.html) -->
|
|
576
|
+
<!-- The below content is automatically added from ./../apiExamples/focus.html -->
|
|
577
|
+
<auro-button id="focusExampleBtn">Apply focus to combobox</auro-button>
|
|
578
|
+
<br /><br />
|
|
579
|
+
<auro-combobox id="focusExample">
|
|
580
|
+
<span slot="label">Name</span>
|
|
581
|
+
<auro-menu>
|
|
582
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
583
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
584
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
585
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
586
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
587
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
588
|
+
</auro-menu>
|
|
589
|
+
</auro-combobox>
|
|
590
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
591
|
+
</div>
|
|
592
|
+
<auro-accordion alignRight>
|
|
593
|
+
<span slot="trigger">See code</span>
|
|
594
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/focus.js) -->
|
|
595
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/focus.js -->
|
|
596
|
+
|
|
597
|
+
```js
|
|
598
|
+
export function focusExample() {
|
|
599
|
+
const focusExample = document.querySelector('#focusExample');
|
|
600
|
+
const focusExampleBtnElem = document.querySelector('#focusExampleBtn');
|
|
601
|
+
|
|
602
|
+
focusExampleBtnElem.addEventListener('click', () => {
|
|
603
|
+
focusExample.focus();
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
```
|
|
607
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
608
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/focus.html) -->
|
|
609
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/focus.html -->
|
|
610
|
+
|
|
611
|
+
```html
|
|
612
|
+
<auro-button id="focusExampleBtn">Apply focus to combobox</auro-button>
|
|
613
|
+
<br /><br />
|
|
614
|
+
<auro-combobox id="focusExample">
|
|
615
|
+
<span slot="label">Name</span>
|
|
616
|
+
<auro-menu>
|
|
617
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
618
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
619
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
620
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
621
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
622
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
623
|
+
</auro-menu>
|
|
624
|
+
</auro-combobox>
|
|
625
|
+
```
|
|
626
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
627
|
+
</auro-accordion>
|
|
628
|
+
|
|
629
|
+
### Slot Examples
|
|
630
|
+
|
|
631
|
+
#### helpText
|
|
632
|
+
|
|
633
|
+
Sets the help text displayed below the trigger. The `helpText` slot can be used to provide additional context for the combobox. When using the `error` property, the `helpText` slot can be used to describe the error.
|
|
634
|
+
|
|
635
|
+
<div class="exampleWrapper">
|
|
636
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
637
|
+
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
638
|
+
<auro-combobox>
|
|
639
|
+
<span slot="label">Name</span>
|
|
640
|
+
<span slot="helpText">Custom help text</span>
|
|
641
|
+
<auro-menu>
|
|
642
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
643
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
644
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
645
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
646
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
647
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
648
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
649
|
+
</auro-menu>
|
|
650
|
+
</auro-combobox>
|
|
651
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
652
|
+
</div>
|
|
653
|
+
<auro-accordion alignRight>
|
|
654
|
+
<span slot="trigger">See code</span>
|
|
655
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/helpText.html) -->
|
|
656
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/helpText.html -->
|
|
657
|
+
|
|
658
|
+
```html
|
|
659
|
+
<auro-combobox>
|
|
660
|
+
<span slot="label">Name</span>
|
|
661
|
+
<span slot="helpText">Custom help text</span>
|
|
662
|
+
<auro-menu>
|
|
663
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
664
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
665
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
666
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
667
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
668
|
+
<auro-menuoption value="Prefer Alaska" id="option-5">Prefer Alaska</auro-menuoption>
|
|
669
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
670
|
+
</auro-menu>
|
|
671
|
+
</auro-combobox>
|
|
672
|
+
```
|
|
673
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
674
|
+
</auro-accordion>
|
|
675
|
+
|
|
676
|
+
#### Loading<a name="loading"></a>
|
|
677
|
+
While content is loading, the menu can either remain empty or display a loading placeholder
|
|
678
|
+
|
|
679
|
+
<div class="exampleWrapper">
|
|
680
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/loading.html) -->
|
|
681
|
+
<!-- The below content is automatically added from ./../apiExamples/loading.html -->
|
|
682
|
+
<auro-combobox id="loadingExample">
|
|
683
|
+
<span slot="label">Please select a preference</span>
|
|
684
|
+
<auro-menu id="loadingExampleComboboxMenu">
|
|
685
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
686
|
+
</auro-menu>
|
|
687
|
+
</auro-combobox>
|
|
688
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
689
|
+
</div>
|
|
690
|
+
<auro-accordion alignRight>
|
|
691
|
+
<span slot="trigger">See code</span>
|
|
692
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.js) -->
|
|
693
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/loading.js -->
|
|
694
|
+
|
|
695
|
+
```js
|
|
696
|
+
export function auroMenuLoadingExample() {
|
|
697
|
+
const combobox = document.querySelector("#loadingExample");
|
|
698
|
+
const menu = document.querySelector("#loadingExampleComboboxMenu");
|
|
699
|
+
|
|
700
|
+
const emptyMenu = () => {
|
|
701
|
+
const menuoptions = menu.querySelectorAll('auro-menuoption');
|
|
702
|
+
menuoptions.forEach(mo => menu.removeChild(mo));
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
const fillMenu = () => {
|
|
706
|
+
menu.innerHTML += `
|
|
707
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
708
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
709
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
710
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
711
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
712
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
713
|
+
`;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
const load = () => {
|
|
717
|
+
clearTimeout(load.id);
|
|
718
|
+
emptyMenu();
|
|
719
|
+
menu.setAttribute('loading', 'loading');
|
|
720
|
+
load.id = setTimeout(() => {
|
|
721
|
+
menu.removeAttribute('loading');
|
|
722
|
+
fillMenu();
|
|
723
|
+
}, 1000);
|
|
724
|
+
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
combobox.addEventListener("input", (e) => {
|
|
728
|
+
if (e.target.value && e.target.value !== e.target.optionSelected?.textContent) {
|
|
729
|
+
load();
|
|
730
|
+
}
|
|
731
|
+
});
|
|
732
|
+
}
|
|
733
|
+
```
|
|
734
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
735
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/loading.html) -->
|
|
736
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/loading.html -->
|
|
737
|
+
|
|
738
|
+
```html
|
|
739
|
+
<auro-combobox id="loadingExample">
|
|
740
|
+
<span slot="label">Please select a preference</span>
|
|
741
|
+
<auro-menu id="loadingExampleComboboxMenu">
|
|
742
|
+
<auro-loader slot="loadingIcon" orbit xs></auro-loader><span slot="loadingText">Loading...</span>
|
|
743
|
+
</auro-menu>
|
|
744
|
+
</auro-combobox>
|
|
745
|
+
```
|
|
746
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
747
|
+
</auro-accordion>
|
|
748
|
+
|
|
749
|
+
#### in Dialog
|
|
750
|
+
|
|
751
|
+
The component can be in a dialog.
|
|
752
|
+
|
|
753
|
+
<div class="exampleWrapper">
|
|
754
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inDialog.html) -->
|
|
755
|
+
<!-- The below content is automatically added from ./../apiExamples/inDialog.html -->
|
|
756
|
+
<div>
|
|
757
|
+
<auro-button id="combobox-dialog-opener">Combobox in Dialog</auro-button>
|
|
758
|
+
<auro-dialog id="combobox-dialog">
|
|
759
|
+
<span slot="header">Combobox in Dialog</span>
|
|
760
|
+
<div slot="content">
|
|
761
|
+
<auro-combobox id="focusExample">
|
|
762
|
+
<span slot="label">Name</span>
|
|
763
|
+
<auro-menu>
|
|
764
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
765
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
766
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
767
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
768
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
769
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
770
|
+
</auro-menu>
|
|
771
|
+
</auro-combobox>
|
|
772
|
+
</div>
|
|
773
|
+
</auro-dialog>
|
|
774
|
+
</div>
|
|
775
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
776
|
+
</div>
|
|
777
|
+
<auro-accordion alignRight>
|
|
778
|
+
<span slot="trigger">See code</span>
|
|
779
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.html) -->
|
|
780
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inDialog.html -->
|
|
781
|
+
|
|
782
|
+
```html
|
|
783
|
+
<div>
|
|
784
|
+
<auro-button id="combobox-dialog-opener">Combobox in Dialog</auro-button>
|
|
785
|
+
<auro-dialog id="combobox-dialog">
|
|
786
|
+
<span slot="header">Combobox in Dialog</span>
|
|
787
|
+
<div slot="content">
|
|
788
|
+
<auro-combobox id="focusExample">
|
|
789
|
+
<span slot="label">Name</span>
|
|
790
|
+
<auro-menu>
|
|
791
|
+
<auro-menuoption value="Apples" id="option-0">Apples</auro-menuoption>
|
|
792
|
+
<auro-menuoption value="Oranges" id="option-1">Oranges</auro-menuoption>
|
|
793
|
+
<auro-menuoption value="Peaches" id="option-2">Peaches</auro-menuoption>
|
|
794
|
+
<auro-menuoption value="Grapes" id="option-3">Grapes</auro-menuoption>
|
|
795
|
+
<auro-menuoption value="Cherries" id="option-4">Cherries</auro-menuoption>
|
|
796
|
+
<auro-menuoption static nomatch>No matching option</auro-menuoption>
|
|
797
|
+
</auro-menu>
|
|
798
|
+
</auro-combobox>
|
|
799
|
+
</div>
|
|
800
|
+
</auro-dialog>
|
|
801
|
+
</div>
|
|
802
|
+
```
|
|
803
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
804
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inDialog.js) -->
|
|
805
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inDialog.js -->
|
|
806
|
+
|
|
807
|
+
```js
|
|
808
|
+
export function inDialogExample() {
|
|
809
|
+
document.querySelector("#combobox-dialog-opener").addEventListener("click", () => {
|
|
810
|
+
const dialog = document.querySelector("#combobox-dialog");
|
|
811
|
+
dialog.open = true;
|
|
812
|
+
});
|
|
813
|
+
};
|
|
814
|
+
```
|
|
815
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
816
|
+
</auro-accordion>
|