@aurodesignsystem/auro-formkit 1.6.0-beta.4
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/06e8fe5b2ddad186-meta.json +1 -0
- package/.turbo/cache/06e8fe5b2ddad186.tar.zst +0 -0
- package/.turbo/cache/10feda0f037804bb-meta.json +1 -0
- package/.turbo/cache/10feda0f037804bb.tar.zst +0 -0
- package/.turbo/cache/12f223ca7c12a587-meta.json +1 -0
- package/.turbo/cache/12f223ca7c12a587.tar.zst +0 -0
- package/.turbo/cache/144e8e78657bf800-meta.json +1 -0
- package/.turbo/cache/144e8e78657bf800.tar.zst +0 -0
- package/.turbo/cache/18939b2c7c83b163-meta.json +1 -0
- package/.turbo/cache/18939b2c7c83b163.tar.zst +0 -0
- package/.turbo/cache/1de685df0eaa39c8-meta.json +1 -0
- package/.turbo/cache/1de685df0eaa39c8.tar.zst +0 -0
- package/.turbo/cache/1f3b6e5b310ff590-meta.json +1 -0
- package/.turbo/cache/1f3b6e5b310ff590.tar.zst +0 -0
- package/.turbo/cache/1f53ce3a28c56cdf-meta.json +1 -0
- package/.turbo/cache/1f53ce3a28c56cdf.tar.zst +0 -0
- package/.turbo/cache/235d3af66386f827-meta.json +1 -0
- package/.turbo/cache/235d3af66386f827.tar.zst +0 -0
- package/.turbo/cache/23bf100310bd9f5a-meta.json +1 -0
- package/.turbo/cache/23bf100310bd9f5a.tar.zst +0 -0
- package/.turbo/cache/2900e7ec28e1488f-meta.json +1 -0
- package/.turbo/cache/2900e7ec28e1488f.tar.zst +0 -0
- package/.turbo/cache/2dd00eb6e255bd02-meta.json +1 -0
- package/.turbo/cache/2dd00eb6e255bd02.tar.zst +0 -0
- package/.turbo/cache/33466ea2930c3714-meta.json +1 -0
- package/.turbo/cache/33466ea2930c3714.tar.zst +0 -0
- package/.turbo/cache/451e562c76f74ec6-meta.json +1 -0
- package/.turbo/cache/451e562c76f74ec6.tar.zst +0 -0
- package/.turbo/cache/4520919609c97850-meta.json +1 -0
- package/.turbo/cache/4520919609c97850.tar.zst +0 -0
- package/.turbo/cache/45542e8beda9bb05-meta.json +1 -0
- package/.turbo/cache/45542e8beda9bb05.tar.zst +0 -0
- package/.turbo/cache/4a510678a1fcfe5c-meta.json +1 -0
- package/.turbo/cache/4a510678a1fcfe5c.tar.zst +0 -0
- package/.turbo/cache/5058ecc7f1e34496-meta.json +1 -0
- package/.turbo/cache/5058ecc7f1e34496.tar.zst +0 -0
- package/.turbo/cache/5e689c61e1109b98-meta.json +1 -0
- package/.turbo/cache/5e689c61e1109b98.tar.zst +0 -0
- package/.turbo/cache/62519d73b891d83c-meta.json +1 -0
- package/.turbo/cache/62519d73b891d83c.tar.zst +0 -0
- package/.turbo/cache/65511706643c4a44-meta.json +1 -0
- package/.turbo/cache/65511706643c4a44.tar.zst +0 -0
- package/.turbo/cache/6992d7134a39e43e-meta.json +1 -0
- package/.turbo/cache/6992d7134a39e43e.tar.zst +0 -0
- package/.turbo/cache/6bbc14e82dbe2dab-meta.json +1 -0
- package/.turbo/cache/6bbc14e82dbe2dab.tar.zst +0 -0
- package/.turbo/cache/706d4f762cc8061c-meta.json +1 -0
- package/.turbo/cache/706d4f762cc8061c.tar.zst +0 -0
- package/.turbo/cache/70d7b72f15ee97a4-meta.json +1 -0
- package/.turbo/cache/70d7b72f15ee97a4.tar.zst +0 -0
- package/.turbo/cache/7255686674920f97-meta.json +1 -0
- package/.turbo/cache/7255686674920f97.tar.zst +0 -0
- package/.turbo/cache/73572172d84713cd-meta.json +1 -0
- package/.turbo/cache/73572172d84713cd.tar.zst +0 -0
- package/.turbo/cache/7ddb7ace73fe6ec2-meta.json +1 -0
- package/.turbo/cache/7ddb7ace73fe6ec2.tar.zst +0 -0
- package/.turbo/cache/7e901cc4235b7051-meta.json +1 -0
- package/.turbo/cache/7e901cc4235b7051.tar.zst +0 -0
- package/.turbo/cache/821d931bf082b7de-meta.json +1 -0
- package/.turbo/cache/821d931bf082b7de.tar.zst +0 -0
- package/.turbo/cache/897b0d8a0c301207-meta.json +1 -0
- package/.turbo/cache/897b0d8a0c301207.tar.zst +0 -0
- package/.turbo/cache/8b7cdb9a0d4c3112-meta.json +1 -0
- package/.turbo/cache/8b7cdb9a0d4c3112.tar.zst +0 -0
- package/.turbo/cache/9135f474c69d1b3c-meta.json +1 -0
- package/.turbo/cache/9135f474c69d1b3c.tar.zst +0 -0
- package/.turbo/cache/9a7ab914e08ce75f-meta.json +1 -0
- package/.turbo/cache/9a7ab914e08ce75f.tar.zst +0 -0
- package/.turbo/cache/a174f9409e2dbb04-meta.json +1 -0
- package/.turbo/cache/a174f9409e2dbb04.tar.zst +0 -0
- package/.turbo/cache/a7bf477bbdabc7bc-meta.json +1 -0
- package/.turbo/cache/a7bf477bbdabc7bc.tar.zst +0 -0
- package/.turbo/cache/a90aa34f427a2f62-meta.json +1 -0
- package/.turbo/cache/a90aa34f427a2f62.tar.zst +0 -0
- package/.turbo/cache/aeee74f29106cab5-meta.json +1 -0
- package/.turbo/cache/aeee74f29106cab5.tar.zst +0 -0
- package/.turbo/cache/b61416daf63fbaad-meta.json +1 -0
- package/.turbo/cache/b61416daf63fbaad.tar.zst +0 -0
- package/.turbo/cache/b9463532618cdc61-meta.json +1 -0
- package/.turbo/cache/b9463532618cdc61.tar.zst +0 -0
- package/.turbo/cache/bb3afea40c91e8ba-meta.json +1 -0
- package/.turbo/cache/bb3afea40c91e8ba.tar.zst +0 -0
- package/.turbo/cache/c2e5da6599ac51c9-meta.json +1 -0
- package/.turbo/cache/c2e5da6599ac51c9.tar.zst +0 -0
- package/.turbo/cache/c53689c4c8b7448c-meta.json +1 -0
- package/.turbo/cache/c53689c4c8b7448c.tar.zst +0 -0
- package/.turbo/cache/c63dc7b6157da70b-meta.json +1 -0
- package/.turbo/cache/c63dc7b6157da70b.tar.zst +0 -0
- package/.turbo/cache/c7bb3445b71ead45-meta.json +1 -0
- package/.turbo/cache/c7bb3445b71ead45.tar.zst +0 -0
- package/.turbo/cache/c8b63b6e8a190eb9-meta.json +1 -0
- package/.turbo/cache/c8b63b6e8a190eb9.tar.zst +0 -0
- package/.turbo/cache/cd8bab87240a17ed-meta.json +1 -0
- package/.turbo/cache/cd8bab87240a17ed.tar.zst +0 -0
- package/.turbo/cache/d35b1eee9f2881af-meta.json +1 -0
- package/.turbo/cache/d35b1eee9f2881af.tar.zst +0 -0
- package/.turbo/cache/d641ace8fafc5cd2-meta.json +1 -0
- package/.turbo/cache/d641ace8fafc5cd2.tar.zst +0 -0
- package/.turbo/cache/d8bd6f80733c28af-meta.json +1 -0
- package/.turbo/cache/d8bd6f80733c28af.tar.zst +0 -0
- package/.turbo/cache/e4b3ec56d4ae56ba-meta.json +1 -0
- package/.turbo/cache/e4b3ec56d4ae56ba.tar.zst +0 -0
- package/.turbo/cache/e6f030eddf6fbf4e-meta.json +1 -0
- package/.turbo/cache/e6f030eddf6fbf4e.tar.zst +0 -0
- package/.turbo/cache/e81d7d64333b17e4-meta.json +1 -0
- package/.turbo/cache/e81d7d64333b17e4.tar.zst +0 -0
- package/.turbo/cache/ec4e1a5bd603f7ef-meta.json +1 -0
- package/.turbo/cache/ec4e1a5bd603f7ef.tar.zst +0 -0
- package/.turbo/cache/f6ee0c1e3e6753e1-meta.json +1 -0
- package/.turbo/cache/f6ee0c1e3e6753e1.tar.zst +0 -0
- package/.turbo/cache/f88563bd8d462bf1-meta.json +1 -0
- package/.turbo/cache/f88563bd8d462bf1.tar.zst +0 -0
- package/.turbo/cache/fdce614efad05760-meta.json +1 -0
- package/.turbo/cache/fdce614efad05760.tar.zst +0 -0
- package/.turbo/cache/fdd1bdd173a4185c-meta.json +1 -0
- package/.turbo/cache/fdd1bdd173a4185c.tar.zst +0 -0
- package/CHANGELOG.md +367 -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 +157 -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 +54 -0
- package/components/combobox/demo/api.js +32 -0
- package/components/combobox/demo/api.md +743 -0
- package/components/combobox/demo/api.min.js +9017 -0
- package/components/combobox/demo/index.js +26 -0
- package/components/combobox/demo/index.md +626 -0
- package/components/combobox/demo/index.min.js +8919 -0
- package/components/combobox/dist/auro-combobox.d.ts +221 -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 +7842 -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 +674 -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.md +12 -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 +18446 -0
- package/components/datepicker/demo/index.js +19 -0
- package/components/datepicker/demo/index.md +107 -0
- package/components/datepicker/demo/index.min.js +18175 -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 +18171 -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 +39 -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 +328 -0
- package/components/datepicker/src/auro-datepicker.js +968 -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 +139 -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 +53 -0
- package/components/dropdown/demo/api.js +21 -0
- package/components/dropdown/demo/api.md +1173 -0
- package/components/dropdown/demo/api.min.js +2868 -0
- package/components/dropdown/demo/index.js +22 -0
- package/components/dropdown/demo/index.md +360 -0
- package/components/dropdown/demo/index.min.js +2834 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +189 -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/floatingUI.d.mts +68 -0
- package/components/dropdown/dist/floatingUI.d.mts.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 +2825 -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 +354 -0
- package/components/dropdown/src/auro-dropdownBib.js +97 -0
- package/components/dropdown/src/floatingUI.mjs +381 -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 +60 -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 +81 -0
- package/components/dropdown/src/styles/style.scss +110 -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 +4068 -0
- package/components/input/demo/index.js +20 -0
- package/components/input/demo/index.md +253 -0
- package/components/input/demo/index.min.js +4010 -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 +3977 -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 +181 -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 +51 -0
- package/components/menu/demo/api.js +25 -0
- package/components/menu/demo/api.md +781 -0
- package/components/menu/demo/api.min.js +1233 -0
- package/components/menu/demo/index.js +28 -0
- package/components/menu/demo/index.md +104 -0
- package/components/menu/demo/index.min.js +1186 -0
- package/components/menu/dist/auro-menu.d.ts +168 -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 +1178 -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 +521 -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 +2043 -0
- package/components/menu/src/styles/style-menu.scss +58 -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 +237 -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 +53 -0
- package/components/select/demo/api.js +31 -0
- package/components/select/demo/api.md +748 -0
- package/components/select/demo/api.min.js +4845 -0
- package/components/select/demo/index.js +9 -0
- package/components/select/demo/index.md +470 -0
- package/components/select/demo/index.min.js +4768 -0
- package/components/select/dist/auro-select.d.ts +174 -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 +3732 -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 +537 -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 +18 -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,781 @@
|
|
|
1
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../docs/api.md) -->
|
|
2
|
+
<!-- The below content is automatically added from ./../docs/api.md -->
|
|
3
|
+
|
|
4
|
+
# auro-menu
|
|
5
|
+
|
|
6
|
+
The auro-menu element provides users a way to select from a list of options.
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Type | Default | Description |
|
|
11
|
+
|------------------|------------------|-----------|-------------|--------------------------------------------------|
|
|
12
|
+
| [disabled](#disabled) | `disabled` | `Boolean` | | When true, the entire menu and all options are disabled; |
|
|
13
|
+
| [matchWord](#matchWord) | `matchWord` | `String` | "undefined" | Specifies the a string used to highlight matched string parts in options. |
|
|
14
|
+
| [noCheckmark](#noCheckmark) | `noCheckmark` | `Boolean` | false | When true, selected option will not show the checkmark. |
|
|
15
|
+
| [optionActive](#optionActive) | `optionActive` | `object` | "undefined" | |
|
|
16
|
+
| [optionSelected](#optionSelected) | `optionSelected` | `Object` | "undefined" | Specifies the current selected menuOption. |
|
|
17
|
+
| [value](#value) | `value` | `String` | "undefined" | Value selected for the menu. |
|
|
18
|
+
|
|
19
|
+
## Methods
|
|
20
|
+
|
|
21
|
+
| Method | Type | Description |
|
|
22
|
+
|----------------------|---------------------------------|--------------------------------------------------|
|
|
23
|
+
| [makeSelection](#makeSelection) | `(): void` | Process actions for making making a menuoption selection. |
|
|
24
|
+
| [resetOptionsStates](#resetOptionsStates) | `(): void` | Reset the menu and all options. |
|
|
25
|
+
| [selectNextItem](#selectNextItem) | `(moveDirection: string): void` | Using value of current this.index evaluates index<br />of next :focus to set based on array of this.items ignoring items<br />with disabled attr.<br /><br />The event.target is not used as the function needs to know where to go,<br />versus knowing where it is.<br /><br />**moveDirection**: Up or Down based on keyboard event. |
|
|
26
|
+
|
|
27
|
+
## Events
|
|
28
|
+
|
|
29
|
+
| Event | Type | Description |
|
|
30
|
+
|-------------------------------|------------------------|--------------------------------------------------|
|
|
31
|
+
| `auroMenu-activatedOption` | `CustomEvent<Element>` | Notifies that a menuoption has been made `active`. |
|
|
32
|
+
| `auroMenu-customEventFired` | `CustomEvent<any>` | Notifies that a custom event has been fired. |
|
|
33
|
+
| `auroMenu-selectValueFailure` | `CustomEvent<any>` | Notifies that a an attempt to select a menuoption by matching a value has failed. |
|
|
34
|
+
| `auroMenu-selectValueReset` | `CustomEvent<any>` | Notifies that the component value has been reset. |
|
|
35
|
+
| `auroMenu-selectedOption` | `CustomEvent<any>` | Notifies that a new menuoption selection has been made. |
|
|
36
|
+
| [auroMenuActivatedOption](#auroMenuActivatedOption) | `CustomEvent<Element>` | (DEPRECATED) Notifies that a menuoption has been made `active`. |
|
|
37
|
+
| [auroMenuCustomEventFired](#auroMenuCustomEventFired) | `CustomEvent<any>` | (DEPRECATED) Notifies that a custom event has been fired. |
|
|
38
|
+
| [auroMenuSelectValueFailure](#auroMenuSelectValueFailure) | `CustomEvent<any>` | (DEPRECATED) Notifies that a an attempt to select a menuoption by matching a value has failed. |
|
|
39
|
+
| [selectedOption](#selectedOption) | `CustomEvent<any>` | (DEPRECATED) Notifies that a new menuoption selection has been made. |
|
|
40
|
+
|
|
41
|
+
## Slots
|
|
42
|
+
|
|
43
|
+
| Name | Description |
|
|
44
|
+
|------|-------------------------------------|
|
|
45
|
+
| | Slot for insertion of menu options. |
|
|
46
|
+
|
|
47
|
+
# auro-menuoption
|
|
48
|
+
|
|
49
|
+
The auro-menu element provides users a way to define a menu option.
|
|
50
|
+
|
|
51
|
+
## Attributes
|
|
52
|
+
|
|
53
|
+
| Attribute | Type | Description |
|
|
54
|
+
|---------------|----------|--------------------------------------------------|
|
|
55
|
+
| [noCheckmark](#noCheckmark) | `String` | When true, selected option will not show the checkmark. |
|
|
56
|
+
|
|
57
|
+
## Properties
|
|
58
|
+
|
|
59
|
+
| Property | Attribute | Type | Default | Description |
|
|
60
|
+
|---------------|---------------|-----------|---------|--------------------------------------------------|
|
|
61
|
+
| [disabled](#disabled) | `disabled` | `Boolean` | false | When true specifies that the menuoption is disabled. |
|
|
62
|
+
| [iconTag](#iconTag) | | `string` | | |
|
|
63
|
+
| [nocheckmark](#nocheckmark) | `nocheckmark` | `boolean` | false | |
|
|
64
|
+
| [selected](#selected) | `selected` | `Boolean` | false | Specifies that an option is selected. |
|
|
65
|
+
| [value](#value) | `value` | `String` | | Specifies the value to be sent to a server. |
|
|
66
|
+
|
|
67
|
+
## Events
|
|
68
|
+
|
|
69
|
+
| Event | Type | Description |
|
|
70
|
+
|----------------------------|---------------------|--------------------------------------------------|
|
|
71
|
+
| `auroMenuOption-mouseover` | `CustomEvent<this>` | Notifies that this option has been hovered over. |
|
|
72
|
+
|
|
73
|
+
## Slots
|
|
74
|
+
|
|
75
|
+
| Name | Description |
|
|
76
|
+
|------|--------------------------------------------------|
|
|
77
|
+
| | Specifies text for an option, but is not the value. |
|
|
78
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
79
|
+
|
|
80
|
+
## API Examples
|
|
81
|
+
|
|
82
|
+
### Basic
|
|
83
|
+
|
|
84
|
+
<div class="exampleWrapper">
|
|
85
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basic.html) -->
|
|
86
|
+
<!-- The below content is automatically added from ./../apiExamples/basic.html -->
|
|
87
|
+
<auro-menu>
|
|
88
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
89
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
90
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
91
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
92
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
93
|
+
</auro-menu>
|
|
94
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
95
|
+
</div>
|
|
96
|
+
<auro-accordion alignRight>
|
|
97
|
+
<span slot="trigger">See code</span>
|
|
98
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basic.html) -->
|
|
99
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basic.html -->
|
|
100
|
+
|
|
101
|
+
```html
|
|
102
|
+
<auro-menu>
|
|
103
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
104
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
105
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
106
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
107
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
108
|
+
</auro-menu>
|
|
109
|
+
```
|
|
110
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
111
|
+
</auro-accordion>
|
|
112
|
+
|
|
113
|
+
### Attribute Examples
|
|
114
|
+
|
|
115
|
+
#### noCheckmark<a name="noCheckmark"></a>
|
|
116
|
+
Applying the `noCheckmark` attribute will prevent the check icon from being shown on the selected option. The left padding to reserve space for the checkmark is also removed.
|
|
117
|
+
|
|
118
|
+
<div class="exampleWrapper">
|
|
119
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/nocheckmark.html) -->
|
|
120
|
+
<!-- The below content is automatically added from ./../apiExamples/nocheckmark.html -->
|
|
121
|
+
<auro-menu nocheckmark>
|
|
122
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
123
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
124
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
125
|
+
<hr>
|
|
126
|
+
<auro-menu>
|
|
127
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
128
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
129
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
130
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
131
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
132
|
+
<hr>
|
|
133
|
+
<auro-menu>
|
|
134
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
135
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
136
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
137
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
138
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
139
|
+
</auro-menu>
|
|
140
|
+
</auro-menu>
|
|
141
|
+
<hr>
|
|
142
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
143
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
144
|
+
<hr>
|
|
145
|
+
<auro-menu>
|
|
146
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
147
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
148
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
149
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
150
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
151
|
+
</auro-menu>
|
|
152
|
+
</auro-menu>
|
|
153
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
154
|
+
</div>
|
|
155
|
+
<auro-accordion alignRight>
|
|
156
|
+
<span slot="trigger">See code</span>
|
|
157
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/nocheckmark.html) -->
|
|
158
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/nocheckmark.html -->
|
|
159
|
+
|
|
160
|
+
```html
|
|
161
|
+
<auro-menu nocheckmark>
|
|
162
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
163
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
164
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
165
|
+
<hr>
|
|
166
|
+
<auro-menu>
|
|
167
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
168
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
169
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
170
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
171
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
172
|
+
<hr>
|
|
173
|
+
<auro-menu>
|
|
174
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
175
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
176
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
177
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
178
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
179
|
+
</auro-menu>
|
|
180
|
+
</auro-menu>
|
|
181
|
+
<hr>
|
|
182
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
183
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
184
|
+
<hr>
|
|
185
|
+
<auro-menu>
|
|
186
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
187
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
188
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
189
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
190
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
191
|
+
</auro-menu>
|
|
192
|
+
</auro-menu>
|
|
193
|
+
```
|
|
194
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
195
|
+
</auro-accordion>
|
|
196
|
+
|
|
197
|
+
#### disabled<a name="disabled"></a>
|
|
198
|
+
The `auro-menu` element with `disabled` will mark all `auro-menuoption` elements as disabled.
|
|
199
|
+
|
|
200
|
+
<div class="exampleWrapper">
|
|
201
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabledMenu.html) -->
|
|
202
|
+
<!-- The below content is automatically added from ./../apiExamples/disabledMenu.html -->
|
|
203
|
+
<auro-menu disabled>
|
|
204
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
205
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
206
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
207
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
208
|
+
<hr>
|
|
209
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
210
|
+
<auro-menuoption value="close tab">Close tab</auro-menuoption>
|
|
211
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
212
|
+
<hr>
|
|
213
|
+
<auro-menuoption value="share">Share</auro-menuoption>
|
|
214
|
+
<hr>
|
|
215
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
216
|
+
</auro-menu>
|
|
217
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
218
|
+
</div>
|
|
219
|
+
<auro-accordion alignRight>
|
|
220
|
+
<span slot="trigger">See code</span>
|
|
221
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabledMenu.html) -->
|
|
222
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabledMenu.html -->
|
|
223
|
+
|
|
224
|
+
```html
|
|
225
|
+
<auro-menu disabled>
|
|
226
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
227
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
228
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
229
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
230
|
+
<hr>
|
|
231
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
232
|
+
<auro-menuoption value="close tab">Close tab</auro-menuoption>
|
|
233
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
234
|
+
<hr>
|
|
235
|
+
<auro-menuoption value="share">Share</auro-menuoption>
|
|
236
|
+
<hr>
|
|
237
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
238
|
+
</auro-menu>
|
|
239
|
+
```
|
|
240
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
241
|
+
</auro-accordion>
|
|
242
|
+
|
|
243
|
+
#### matchWord<a name="matchWord"></a>
|
|
244
|
+
The `auro-menu` component supports the use of the `matchWord` attribute to highlight string parts of each menuoption that are equal to `matchWord`. The matching algorithm is case insensitive (e.g., `n` matches `N`).
|
|
245
|
+
|
|
246
|
+
<div class="exampleWrapper">
|
|
247
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/matchWord.html) -->
|
|
248
|
+
<!-- The below content is automatically added from ./../apiExamples/matchWord.html -->
|
|
249
|
+
<auro-input id="matchWordInput" required>
|
|
250
|
+
<span slot="label">Enter a value to match in the menu</span>
|
|
251
|
+
</auro-input>
|
|
252
|
+
<br />
|
|
253
|
+
<auro-menu id="matchWordMenu">
|
|
254
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
255
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
256
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
257
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
258
|
+
<auro-menu>
|
|
259
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
260
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
261
|
+
<auro-menuoption value="peaches">Peaches</auro-menuoption>
|
|
262
|
+
</auro-menu>
|
|
263
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
264
|
+
</auro-menu>
|
|
265
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
266
|
+
</div>
|
|
267
|
+
<auro-accordion alignRight>
|
|
268
|
+
<span slot="trigger">See code</span>
|
|
269
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/matchWord.js) -->
|
|
270
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/matchWord.js -->
|
|
271
|
+
|
|
272
|
+
```js
|
|
273
|
+
function updateMatch() {
|
|
274
|
+
let matchWordMenu = document.querySelector('#matchWordMenu');
|
|
275
|
+
|
|
276
|
+
matchWordMenu.matchWord = matchWordInput.value;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export function auroMenuMatchWordExample() {
|
|
280
|
+
let matchWordInput = document.querySelector('#matchWordInput');
|
|
281
|
+
|
|
282
|
+
matchWordInput.addEventListener('keyup', updateMatch);
|
|
283
|
+
}
|
|
284
|
+
```
|
|
285
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
286
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/matchWord.html) -->
|
|
287
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/matchWord.html -->
|
|
288
|
+
|
|
289
|
+
```html
|
|
290
|
+
<auro-input id="matchWordInput" required>
|
|
291
|
+
<span slot="label">Enter a value to match in the menu</span>
|
|
292
|
+
</auro-input>
|
|
293
|
+
<br />
|
|
294
|
+
<auro-menu id="matchWordMenu">
|
|
295
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
296
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
297
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
298
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
299
|
+
<auro-menu>
|
|
300
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
301
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
302
|
+
<auro-menuoption value="peaches">Peaches</auro-menuoption>
|
|
303
|
+
</auro-menu>
|
|
304
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
305
|
+
</auro-menu>
|
|
306
|
+
```
|
|
307
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
308
|
+
</auro-accordion>
|
|
309
|
+
|
|
310
|
+
### Common Use Cases
|
|
311
|
+
|
|
312
|
+
#### Scroll
|
|
313
|
+
|
|
314
|
+
When setting the `max-height` of `auro-menu`, all of the overflowing content can be accessed via a scrollbar.
|
|
315
|
+
|
|
316
|
+
<div class="exampleWrapper">
|
|
317
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/scroll.html) -->
|
|
318
|
+
<!-- The below content is automatically added from ./../apiExamples/scroll.html -->
|
|
319
|
+
<auro-menu id="alpha" style="max-height: 200px">
|
|
320
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
321
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
322
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
323
|
+
<hr>
|
|
324
|
+
<auro-menu id="beta">
|
|
325
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
326
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
327
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
328
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
329
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
330
|
+
<hr>
|
|
331
|
+
<auro-menu id="charlie">
|
|
332
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
333
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
334
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
335
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
336
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
337
|
+
</auro-menu>
|
|
338
|
+
</auro-menu>
|
|
339
|
+
<hr>
|
|
340
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
341
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
342
|
+
<hr>
|
|
343
|
+
<auro-menu id="delta">
|
|
344
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
345
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
346
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
347
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
348
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
349
|
+
</auro-menu>
|
|
350
|
+
</auro-menu>
|
|
351
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
352
|
+
</div>
|
|
353
|
+
<auro-accordion alignRight>
|
|
354
|
+
<span slot="trigger">See code</span>
|
|
355
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/scroll.html) -->
|
|
356
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/scroll.html -->
|
|
357
|
+
|
|
358
|
+
```html
|
|
359
|
+
<auro-menu id="alpha" style="max-height: 200px">
|
|
360
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
361
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
362
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
363
|
+
<hr>
|
|
364
|
+
<auro-menu id="beta">
|
|
365
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
366
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
367
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
368
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
369
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
370
|
+
<hr>
|
|
371
|
+
<auro-menu id="charlie">
|
|
372
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
373
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
374
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
375
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
376
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
377
|
+
</auro-menu>
|
|
378
|
+
</auro-menu>
|
|
379
|
+
<hr>
|
|
380
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
381
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
382
|
+
<hr>
|
|
383
|
+
<auro-menu id="delta">
|
|
384
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
385
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
386
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
387
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
388
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
389
|
+
</auro-menu>
|
|
390
|
+
</auro-menu>
|
|
391
|
+
```
|
|
392
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
393
|
+
</auro-accordion>
|
|
394
|
+
|
|
395
|
+
#### Options with horizonal separator
|
|
396
|
+
|
|
397
|
+
To create a natural separation between options, simply use a `<hr>` element.
|
|
398
|
+
|
|
399
|
+
<div class="exampleWrapper">
|
|
400
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/hr.html) -->
|
|
401
|
+
<!-- The below content is automatically added from ./../apiExamples/hr.html -->
|
|
402
|
+
<auro-menu>
|
|
403
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
404
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
405
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
406
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
407
|
+
<hr>
|
|
408
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
409
|
+
<auro-menuoption value="close tab">Close tab</auro-menuoption>
|
|
410
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
411
|
+
<hr>
|
|
412
|
+
<auro-menuoption value="share">Share</auro-menuoption>
|
|
413
|
+
<hr>
|
|
414
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
415
|
+
</auro-menu>
|
|
416
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
417
|
+
</div>
|
|
418
|
+
<auro-accordion alignRight>
|
|
419
|
+
<span slot="trigger">See code</span>
|
|
420
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/hr.html) -->
|
|
421
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/hr.html -->
|
|
422
|
+
|
|
423
|
+
```html
|
|
424
|
+
<auro-menu>
|
|
425
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
426
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
427
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
428
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
429
|
+
<hr>
|
|
430
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
431
|
+
<auro-menuoption value="close tab">Close tab</auro-menuoption>
|
|
432
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
433
|
+
<hr>
|
|
434
|
+
<auro-menuoption value="share">Share</auro-menuoption>
|
|
435
|
+
<hr>
|
|
436
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
437
|
+
</auro-menu>
|
|
438
|
+
```
|
|
439
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
440
|
+
</auro-accordion>
|
|
441
|
+
|
|
442
|
+
#### Nesting auro-menus to create sub-menus
|
|
443
|
+
|
|
444
|
+
The `auro-menu` element supports the placement of an `auro-menu` inside of another `auro-menu`. There is no technical limit to the level of nesting.
|
|
445
|
+
|
|
446
|
+
<div class="exampleWrapper">
|
|
447
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/nestedMenu.html) -->
|
|
448
|
+
<!-- The below content is automatically added from ./../apiExamples/nestedMenu.html -->
|
|
449
|
+
<auro-menu id="alpha">
|
|
450
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
451
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
452
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
453
|
+
<hr>
|
|
454
|
+
<auro-menu id="beta">
|
|
455
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
456
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
457
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
458
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
459
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
460
|
+
<hr>
|
|
461
|
+
<auro-menu id="charlie">
|
|
462
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
463
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
464
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
465
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
466
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
467
|
+
</auro-menu>
|
|
468
|
+
</auro-menu>
|
|
469
|
+
<hr>
|
|
470
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
471
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
472
|
+
<hr>
|
|
473
|
+
<auro-menu id="delta">
|
|
474
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
475
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
476
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
477
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
478
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
479
|
+
</auro-menu>
|
|
480
|
+
</auro-menu>
|
|
481
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
482
|
+
</div>
|
|
483
|
+
<auro-accordion alignRight>
|
|
484
|
+
<span slot="trigger">See code</span>
|
|
485
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/nestedMenu.html) -->
|
|
486
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/nestedMenu.html -->
|
|
487
|
+
|
|
488
|
+
```html
|
|
489
|
+
<auro-menu id="alpha">
|
|
490
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
491
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
492
|
+
<auro-menuoption value="duration">Duration</auro-menuoption>
|
|
493
|
+
<hr>
|
|
494
|
+
<auro-menu id="beta">
|
|
495
|
+
<auro-menuoption value="apples">Apples</auro-menuoption>
|
|
496
|
+
<auro-menuoption value="oranges">Oranges</auro-menuoption>
|
|
497
|
+
<auro-menuoption value="pears">Pears</auro-menuoption>
|
|
498
|
+
<auro-menuoption value="grapes">Grapes</auro-menuoption>
|
|
499
|
+
<auro-menuoption value="kiwi">Kiwi</auro-menuoption>
|
|
500
|
+
<hr>
|
|
501
|
+
<auro-menu id="charlie">
|
|
502
|
+
<auro-menuoption value="person">Person</auro-menuoption>
|
|
503
|
+
<auro-menuoption value="woman">Woman</auro-menuoption>
|
|
504
|
+
<auro-menuoption value="man">Man</auro-menuoption>
|
|
505
|
+
<auro-menuoption value="camera">Camera</auro-menuoption>
|
|
506
|
+
<auro-menuoption value="tv">TV</auro-menuoption>
|
|
507
|
+
</auro-menu>
|
|
508
|
+
</auro-menu>
|
|
509
|
+
<hr>
|
|
510
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
511
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
512
|
+
<hr>
|
|
513
|
+
<auro-menu id="delta">
|
|
514
|
+
<auro-menuoption value="cars">Cars</auro-menuoption>
|
|
515
|
+
<auro-menuoption value="trucks">Trucks</auro-menuoption>
|
|
516
|
+
<auro-menuoption value="boats">Boats</auro-menuoption>
|
|
517
|
+
<auro-menuoption value="planes">Planes</auro-menuoption>
|
|
518
|
+
<auro-menuoption value="motorcycles">Motorcycles</auro-menuoption>
|
|
519
|
+
</auro-menu>
|
|
520
|
+
</auro-menu>
|
|
521
|
+
```
|
|
522
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
523
|
+
</auro-accordion>
|
|
524
|
+
|
|
525
|
+
#### An auro-menuoption element w/ disabled state
|
|
526
|
+
|
|
527
|
+
The `auro-menuoption` element supports the placement of the `disabled` attribute per option. A fully disabled list would be managed in an outer wrapping drop down menu element.
|
|
528
|
+
|
|
529
|
+
<div class="exampleWrapper">
|
|
530
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
531
|
+
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
532
|
+
<auro-menu>
|
|
533
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
534
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
535
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
536
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
537
|
+
<hr>
|
|
538
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
539
|
+
<auro-menuoption value="close tab" disabled>Close tab</auro-menuoption>
|
|
540
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
541
|
+
<hr>
|
|
542
|
+
<auro-menuoption value="share" disabled>Share</auro-menuoption>
|
|
543
|
+
<hr>
|
|
544
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
545
|
+
</auro-menu>
|
|
546
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
547
|
+
</div>
|
|
548
|
+
<auro-accordion alignRight>
|
|
549
|
+
<span slot="trigger">See code</span>
|
|
550
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
|
|
551
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
552
|
+
|
|
553
|
+
```html
|
|
554
|
+
<auro-menu>
|
|
555
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
556
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
557
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
558
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
559
|
+
<hr>
|
|
560
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
561
|
+
<auro-menuoption value="close tab" disabled>Close tab</auro-menuoption>
|
|
562
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
563
|
+
<hr>
|
|
564
|
+
<auro-menuoption value="share" disabled>Share</auro-menuoption>
|
|
565
|
+
<hr>
|
|
566
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
567
|
+
</auro-menu>
|
|
568
|
+
```
|
|
569
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
570
|
+
</auro-accordion>
|
|
571
|
+
|
|
572
|
+
#### Menu with pre-selected menu option
|
|
573
|
+
|
|
574
|
+
The `auro-menu` element supports a pre-selected option via the `selected` attribute on the `auro-menuoption` element.
|
|
575
|
+
|
|
576
|
+
<div class="exampleWrapper">
|
|
577
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/preselect.html) -->
|
|
578
|
+
<!-- The below content is automatically added from ./../apiExamples/preselect.html -->
|
|
579
|
+
<auro-menu>
|
|
580
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
581
|
+
<auro-menuoption value="new window" selected>New window</auro-menuoption>
|
|
582
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
583
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
584
|
+
<hr>
|
|
585
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
586
|
+
<auro-menuoption value="close tab" disabled>Close tab</auro-menuoption>
|
|
587
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
588
|
+
<hr>
|
|
589
|
+
<auro-menuoption value="share" disabled>Share</auro-menuoption>
|
|
590
|
+
<hr>
|
|
591
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
592
|
+
</auro-menu>
|
|
593
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
594
|
+
</div>
|
|
595
|
+
<auro-accordion alignRight>
|
|
596
|
+
<span slot="trigger">See code</span>
|
|
597
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/preselect.html) -->
|
|
598
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/preselect.html -->
|
|
599
|
+
|
|
600
|
+
```html
|
|
601
|
+
<auro-menu>
|
|
602
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
603
|
+
<auro-menuoption value="new window" selected>New window</auro-menuoption>
|
|
604
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
605
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
606
|
+
<hr>
|
|
607
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
608
|
+
<auro-menuoption value="close tab" disabled>Close tab</auro-menuoption>
|
|
609
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
610
|
+
<hr>
|
|
611
|
+
<auro-menuoption value="share" disabled>Share</auro-menuoption>
|
|
612
|
+
<hr>
|
|
613
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
614
|
+
</auro-menu>
|
|
615
|
+
```
|
|
616
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
617
|
+
</auro-accordion>
|
|
618
|
+
|
|
619
|
+
#### Menu with restricted width and long option
|
|
620
|
+
|
|
621
|
+
The `auro-menu` element supports scenarios where the outer parent element of the menu constrains its width and there are options with text longer than the pull down menu will support. Truncated content will be illustrated with an ellipsis.
|
|
622
|
+
|
|
623
|
+
<div class="exampleWrapper">
|
|
624
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/restrictedWidth.html) -->
|
|
625
|
+
<!-- The below content is automatically added from ./../apiExamples/restrictedWidth.html -->
|
|
626
|
+
<auro-menu style="width: 300px">
|
|
627
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
628
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
629
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
630
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
631
|
+
<hr>
|
|
632
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
633
|
+
<auro-menuoption value="close tab">Close tab</auro-menuoption>
|
|
634
|
+
<auro-menuoption value="save page as...">Save page as 'option_10_redevelopment_hover_scenario.png'</auro-menuoption>
|
|
635
|
+
<hr>
|
|
636
|
+
<auro-menuoption value="share">Share</auro-menuoption>
|
|
637
|
+
<hr>
|
|
638
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
639
|
+
</auro-menu>
|
|
640
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
641
|
+
</div>
|
|
642
|
+
<auro-accordion alignRight>
|
|
643
|
+
<span slot="trigger">See code</span>
|
|
644
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/restrictedWidth.html) -->
|
|
645
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/restrictedWidth.html -->
|
|
646
|
+
|
|
647
|
+
```html
|
|
648
|
+
<auro-menu style="width: 300px">
|
|
649
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
650
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
651
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
652
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
653
|
+
<hr>
|
|
654
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
655
|
+
<auro-menuoption value="close tab">Close tab</auro-menuoption>
|
|
656
|
+
<auro-menuoption value="save page as...">Save page as 'option_10_redevelopment_hover_scenario.png'</auro-menuoption>
|
|
657
|
+
<hr>
|
|
658
|
+
<auro-menuoption value="share">Share</auro-menuoption>
|
|
659
|
+
<hr>
|
|
660
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
661
|
+
</auro-menu>
|
|
662
|
+
```
|
|
663
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
664
|
+
</auro-accordion>
|
|
665
|
+
|
|
666
|
+
#### Menu with hidden options
|
|
667
|
+
|
|
668
|
+
The `auro-menuoption` element supports scenarios where the menu option needs to be hidden. e.g. the only visible menu options contain the `matchWord`.
|
|
669
|
+
|
|
670
|
+
<div class="exampleWrapper">
|
|
671
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/hidden.html) -->
|
|
672
|
+
<!-- The below content is automatically added from ./../apiExamples/hidden.html -->
|
|
673
|
+
<auro-menu>
|
|
674
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
675
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
676
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
677
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
678
|
+
<hr>
|
|
679
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
680
|
+
<auro-menuoption value="close tab" hidden>Close tab</auro-menuoption>
|
|
681
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
682
|
+
<hr>
|
|
683
|
+
<auro-menuoption value="share" disabled>Share</auro-menuoption>
|
|
684
|
+
<hr>
|
|
685
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
686
|
+
</auro-menu>
|
|
687
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
688
|
+
</div>
|
|
689
|
+
<auro-accordion alignRight>
|
|
690
|
+
<span slot="trigger">See code</span>
|
|
691
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/hidden.html) -->
|
|
692
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/hidden.html -->
|
|
693
|
+
|
|
694
|
+
```html
|
|
695
|
+
<auro-menu>
|
|
696
|
+
<auro-menuoption value="new tab">New tab</auro-menuoption>
|
|
697
|
+
<auro-menuoption value="new window">New window</auro-menuoption>
|
|
698
|
+
<auro-menuoption value="open file">Open file</auro-menuoption>
|
|
699
|
+
<auro-menuoption value="open location">Open location</auro-menuoption>
|
|
700
|
+
<hr>
|
|
701
|
+
<auro-menuoption value="close window">Close window</auro-menuoption>
|
|
702
|
+
<auro-menuoption value="close tab" hidden>Close tab</auro-menuoption>
|
|
703
|
+
<auro-menuoption value="save page as...">Save page as...</auro-menuoption>
|
|
704
|
+
<hr>
|
|
705
|
+
<auro-menuoption value="share" disabled>Share</auro-menuoption>
|
|
706
|
+
<hr>
|
|
707
|
+
<auro-menuoption value="print">Print</auro-menuoption>
|
|
708
|
+
</auro-menu>
|
|
709
|
+
```
|
|
710
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
711
|
+
</auro-accordion>
|
|
712
|
+
|
|
713
|
+
#### Reset menu selection state
|
|
714
|
+
|
|
715
|
+
The `auro-menu` may be reset to a state with no menuoption selected by setting the `value` to `undefined`.
|
|
716
|
+
|
|
717
|
+
<div class="exampleWrapper">
|
|
718
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/reset.html) -->
|
|
719
|
+
<!-- The below content is automatically added from ./../apiExamples/reset.html -->
|
|
720
|
+
<auro-menu id="resetExample">
|
|
721
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
722
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
723
|
+
<auro-menuoption value="duration" selected>Duration</auro-menuoption>
|
|
724
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
725
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
726
|
+
</auro-menu>
|
|
727
|
+
<br/><br/>
|
|
728
|
+
<auro-button id="resetExampleBtn">RESET</auro-button>
|
|
729
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
730
|
+
</div>
|
|
731
|
+
<auro-accordion alignRight>
|
|
732
|
+
<span slot="trigger">See code</span>
|
|
733
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/reset.js) -->
|
|
734
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/reset.js -->
|
|
735
|
+
|
|
736
|
+
```js
|
|
737
|
+
export function auroMenuResetExample() {
|
|
738
|
+
const resetExampleBtnElem = document.querySelector('#resetExampleBtn');
|
|
739
|
+
const resetExampleElem = document.querySelector('#resetExample');
|
|
740
|
+
|
|
741
|
+
if (resetExampleElem && resetExampleBtnElem) {
|
|
742
|
+
resetExampleBtnElem.addEventListener('click', () => {
|
|
743
|
+
resetExampleElem.value = undefined;
|
|
744
|
+
})
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
```
|
|
748
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
749
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/reset.html) -->
|
|
750
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/reset.html -->
|
|
751
|
+
|
|
752
|
+
```html
|
|
753
|
+
<auro-menu id="resetExample">
|
|
754
|
+
<auro-menuoption value="stops">Stops</auro-menuoption>
|
|
755
|
+
<auro-menuoption value="price">Price</auro-menuoption>
|
|
756
|
+
<auro-menuoption value="duration" selected>Duration</auro-menuoption>
|
|
757
|
+
<auro-menuoption value="departure">Departure</auro-menuoption>
|
|
758
|
+
<auro-menuoption value="arrival">Arrival</auro-menuoption>
|
|
759
|
+
</auro-menu>
|
|
760
|
+
<br/><br/>
|
|
761
|
+
<auro-button id="resetExampleBtn">RESET</auro-button>
|
|
762
|
+
```
|
|
763
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
764
|
+
</auro-accordion>
|
|
765
|
+
|
|
766
|
+
### Theme Support
|
|
767
|
+
|
|
768
|
+
The component may be restyled using the following code sample and changing the values of the following token(s).
|
|
769
|
+
|
|
770
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../src/styles/tokens.scss) -->
|
|
771
|
+
<!-- The below code snippet is automatically added from ./../src/styles/tokens.scss -->
|
|
772
|
+
|
|
773
|
+
```scss
|
|
774
|
+
:host {
|
|
775
|
+
--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);
|
|
776
|
+
--ds-auro-menuoption-container-color: transparent;
|
|
777
|
+
--ds-auro-menuoption-icon-color: transparent;
|
|
778
|
+
--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default);
|
|
779
|
+
}
|
|
780
|
+
```
|
|
781
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|