@aurodesignsystem/auro-formkit 2.0.0-beta.2 → 2.0.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/cache/0185585abae43d38-meta.json +1 -0
- package/.turbo/cache/0185585abae43d38.tar.zst +0 -0
- package/.turbo/cache/092e1fe054c68113-meta.json +1 -0
- package/.turbo/cache/092e1fe054c68113.tar.zst +0 -0
- package/.turbo/cache/19eb9b69e5625309-meta.json +1 -0
- package/.turbo/cache/19eb9b69e5625309.tar.zst +0 -0
- package/.turbo/cache/2059bc724ac24519-meta.json +1 -0
- package/.turbo/cache/2059bc724ac24519.tar.zst +0 -0
- package/.turbo/cache/23b3a2fea223679d-meta.json +1 -0
- package/.turbo/cache/23b3a2fea223679d.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
- package/.turbo/cache/2e79b1c1455468a1-meta.json +1 -0
- package/.turbo/cache/2e79b1c1455468a1.tar.zst +0 -0
- package/.turbo/cache/341f87099beb533e-meta.json +1 -0
- package/.turbo/cache/341f87099beb533e.tar.zst +0 -0
- package/.turbo/cache/363aa008d976f81d-meta.json +1 -0
- package/.turbo/cache/363aa008d976f81d.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
- package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
- package/.turbo/cache/43ab6002bc2cd191-meta.json +1 -0
- package/.turbo/cache/43ab6002bc2cd191.tar.zst +0 -0
- package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -0
- package/.turbo/cache/45cd32cd38eacbcb.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
- package/.turbo/cache/493e064c221aa745-meta.json +1 -0
- package/.turbo/cache/493e064c221aa745.tar.zst +0 -0
- package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -0
- package/.turbo/cache/50cd7dcfc9f820c5.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/56ee89ef1c48963e-meta.json +1 -0
- package/.turbo/cache/56ee89ef1c48963e.tar.zst +0 -0
- package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -0
- package/.turbo/cache/5b57cc0e26e1fd5d.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
- package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
- package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
- package/.turbo/cache/631d441eebe7e4ac-meta.json +1 -0
- package/.turbo/cache/631d441eebe7e4ac.tar.zst +0 -0
- package/.turbo/cache/6c582e957afdd75f-meta.json +1 -0
- package/.turbo/cache/6c582e957afdd75f.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/78418f9089673a21-meta.json +1 -0
- package/.turbo/cache/78418f9089673a21.tar.zst +0 -0
- package/.turbo/cache/7964d1656e9e702a-meta.json +1 -0
- package/.turbo/cache/7964d1656e9e702a.tar.zst +0 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
- package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
- package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
- package/.turbo/cache/80ebd4b1fa5c1e3a-meta.json +1 -0
- package/.turbo/cache/80ebd4b1fa5c1e3a.tar.zst +0 -0
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
- package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
- package/.turbo/cache/8c5b86ca67d33b17-meta.json +1 -0
- package/.turbo/cache/8c5b86ca67d33b17.tar.zst +0 -0
- package/.turbo/cache/8f5fef3e04a6fcfa-meta.json +1 -0
- package/.turbo/cache/8f5fef3e04a6fcfa.tar.zst +0 -0
- package/.turbo/cache/9d99fa3ab31d272f-meta.json +1 -0
- package/.turbo/cache/9d99fa3ab31d272f.tar.zst +0 -0
- package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -0
- package/.turbo/cache/a779ea8b78ce9d59.tar.zst +0 -0
- package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -0
- package/.turbo/cache/a9c36a3534c5496b.tar.zst +0 -0
- package/.turbo/cache/ac1b55ad6757fd54-meta.json +1 -0
- package/.turbo/cache/ac1b55ad6757fd54.tar.zst +0 -0
- package/.turbo/cache/b1cd3922508c11c0-meta.json +1 -0
- package/.turbo/cache/b1cd3922508c11c0.tar.zst +0 -0
- package/.turbo/cache/b3c5c13bb1c28c92-meta.json +1 -0
- package/.turbo/cache/b3c5c13bb1c28c92.tar.zst +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
- package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
- package/.turbo/cache/ba270a0ef147f2e5-meta.json +1 -0
- package/.turbo/cache/ba270a0ef147f2e5.tar.zst +0 -0
- package/.turbo/cache/bb5213773d5d3b04-meta.json +1 -0
- package/.turbo/cache/bb5213773d5d3b04.tar.zst +0 -0
- package/.turbo/cache/bbefd8d9606f1e87-meta.json +1 -0
- package/.turbo/cache/bbefd8d9606f1e87.tar.zst +0 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
- package/.turbo/cache/c03a12ff38ba1e02-meta.json +1 -0
- package/.turbo/cache/c03a12ff38ba1e02.tar.zst +0 -0
- package/.turbo/cache/c1312c6f8c051461-meta.json +1 -0
- package/.turbo/cache/c1312c6f8c051461.tar.zst +0 -0
- package/.turbo/cache/c289a5a9a6b897a9-meta.json +1 -0
- package/.turbo/cache/c289a5a9a6b897a9.tar.zst +0 -0
- package/.turbo/cache/c376d692c092d4d1-meta.json +1 -0
- package/.turbo/cache/c376d692c092d4d1.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c6dbc49c3038946d-meta.json +1 -0
- package/.turbo/cache/c6dbc49c3038946d.tar.zst +0 -0
- package/.turbo/cache/cae7586c45bed13e-meta.json +1 -0
- package/.turbo/cache/cae7586c45bed13e.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
- package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
- package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
- package/.turbo/cache/db5e65d819bfe66b-meta.json +1 -0
- package/.turbo/cache/db5e65d819bfe66b.tar.zst +0 -0
- package/.turbo/cache/dbe6a08c64601aec-meta.json +1 -0
- package/.turbo/cache/dbe6a08c64601aec.tar.zst +0 -0
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -0
- package/.turbo/cache/dc597b3ea4f61ec8.tar.zst +0 -0
- package/.turbo/cache/df5f651693145406-meta.json +1 -0
- package/.turbo/cache/df5f651693145406.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/ee40cab15d5b1fad-meta.json +1 -0
- package/.turbo/cache/ee40cab15d5b1fad.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +202 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +20 -21
- package/components/checkbox/.turbo/turbo-bundler.log +4 -4
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/.turbo/turbo-types.log +1 -1
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.md +69 -68
- package/components/checkbox/demo/api.min.js +195 -87
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +195 -87
- package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +20 -11
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +195 -87
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox-group.js +57 -20
- package/components/checkbox/src/auro-checkbox.js +29 -12
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +22 -23
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/README.md +21 -26
- package/components/combobox/demo/api.md +30 -26
- package/components/combobox/demo/api.min.js +3227 -948
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3224 -945
- package/components/combobox/dist/auro-combobox.d.ts +76 -74
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +2593 -628
- package/components/combobox/dist/inputVersion.d.ts +3 -0
- package/components/combobox/dist/inputVersion.d.ts.map +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
- package/components/combobox/node_modules/chalk/package.json +3 -3
- package/components/combobox/node_modules/chalk/readme.md +25 -53
- package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
- package/components/combobox/package.json +8 -8
- package/components/combobox/src/auro-combobox.js +225 -164
- package/components/combobox/src/dropdownVersion.js +1 -0
- package/components/combobox/src/inputVersion.js +1 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +325 -14
- package/components/counter/.turbo/turbo-bundler.log +7 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +104 -1014
- package/components/counter/demo/api.min.js +4773 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +190 -0
- package/components/counter/demo/index.min.js +4801 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +112 -5
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +89 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/dropdownVersion.d.ts +3 -0
- package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +4773 -36
- package/components/counter/dist/styles/color-css.d.ts +3 -0
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +9 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +229 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +287 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +25 -0
- package/components/counter/src/styles/color.scss +44 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +14 -0
- package/components/counter/src/styles/counter-button-color.scss +29 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +7 -0
- package/components/counter/src/styles/counter-button-tokens.scss +9 -0
- package/components/counter/src/styles/counter-button.css +187 -0
- package/components/counter/src/styles/counter-button.scss +83 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +9 -1
- package/components/counter/src/styles/counter-group.scss +10 -1
- package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper-color.css +4 -0
- package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
- package/components/counter/src/styles/counter-wrapper-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper.css +15 -0
- package/components/counter/src/styles/counter-wrapper.scss +29 -0
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +43 -1
- package/components/counter/src/styles/style.scss +48 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +11 -0
- package/components/counter/src/styles/tokens.scss +24 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +57 -57
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.md +182 -135
- package/components/datepicker/demo/api.min.js +1010 -566
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1010 -566
- package/components/datepicker/dist/auro-datepicker.d.ts +94 -78
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +1010 -566
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/package.json +3 -3
- package/components/datepicker/src/auro-datepicker.js +152 -106
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-bundler.log +4 -4
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/.turbo/turbo-types.log +1 -1
- package/components/dropdown/README.md +18 -26
- package/components/dropdown/demo/api.md +4 -4
- package/components/dropdown/demo/api.min.js +205 -81
- package/components/dropdown/demo/index.min.js +205 -81
- package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +205 -81
- package/components/dropdown/package.json +1 -1
- package/components/dropdown/src/auro-dropdown.js +154 -39
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +4 -0
- package/components/dropdown/src/styles/style.scss +5 -0
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +28 -34
- package/components/form/demo/api.min.js +338 -25
- package/components/form/demo/index.min.js +338 -25
- package/components/form/demo/registerDemoDeps.js +6 -0
- package/components/form/demo/working.html +108 -0
- package/components/form/dist/auro-form.d.ts +137 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +338 -25
- package/components/form/package.json +4 -2
- package/components/form/src/auro-form.js +335 -25
- package/components/input/.turbo/turbo-build$colon$sass.log +66 -16
- package/components/input/.turbo/turbo-build$colon$version.log +1 -1
- package/components/input/.turbo/turbo-build.log +79 -32
- package/components/input/.turbo/turbo-bundler.log +4 -4
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
- package/components/input/.turbo/turbo-types.log +1 -1
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +151 -316
- package/components/input/demo/api.min.js +370 -150
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +370 -150
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +158 -87
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +370 -150
- package/components/input/dist/styles/mixins-css.d.ts +3 -0
- package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
- package/components/input/package.json +1 -1
- package/components/input/src/auro-input.js +0 -1
- package/components/input/src/base-input.js +257 -90
- package/components/input/src/styles/borders.scss +3 -19
- package/components/input/src/styles/color.css +1 -2
- package/components/input/src/styles/color.scss +3 -10
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +1 -1
- package/components/input/src/styles/input.scss +4 -1
- package/components/input/src/styles/label-css.js +1 -1
- package/components/input/src/styles/label.css +1 -1
- package/components/input/src/styles/label.scss +4 -7
- package/components/input/src/styles/mixins-css.js +2 -0
- package/components/input/src/styles/mixins.css +1 -0
- package/components/input/src/styles/mixins.scss +45 -0
- package/components/input/src/styles/notificationIcons-css.js +1 -1
- package/components/input/src/styles/notificationIcons.css +13 -12
- package/components/input/src/styles/notificationIcons.scss +17 -25
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +15 -17
- package/components/input/src/styles/style.scss +0 -4
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +22 -21
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +18 -26
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +626 -312
- package/components/menu/demo/index.min.js +624 -310
- package/components/menu/dist/auro-menu-utils.d.ts +43 -0
- package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
- package/components/menu/dist/auro-menu.d.ts +97 -81
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/index.d.ts +1 -0
- package/components/menu/dist/index.js +625 -311
- package/components/menu/package.json +1 -1
- package/components/menu/src/auro-menu-utils.js +131 -0
- package/components/menu/src/auro-menu.js +492 -303
- package/components/menu/src/index.js +7 -0
- package/components/menu/src/styles/color-menuoption-css.js +1 -1
- package/components/menu/src/styles/color-menuoption.css +3 -0
- package/components/menu/src/styles/color-menuoption.scss +4 -0
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +23 -24
- package/components/radio/.turbo/turbo-bundler.log +4 -4
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/.turbo/turbo-types.log +1 -1
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.md +7 -4
- package/components/radio/demo/api.min.js +120 -58
- package/components/radio/demo/index.min.js +120 -58
- package/components/radio/dist/auro-radio-group.d.ts +5 -0
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +120 -58
- package/components/radio/package.json +1 -1
- package/components/radio/src/auro-radio-group.js +10 -2
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +32 -33
- package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
- package/components/select/README.md +21 -42
- package/components/select/demo/api.md +92 -121
- package/components/select/demo/api.min.js +2723 -711
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +2722 -706
- package/components/select/dist/auro-select.d.ts +77 -48
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/dropdownVersion.d.ts +3 -0
- package/components/select/dist/dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.js +2082 -367
- package/components/select/package.json +3 -3
- package/components/select/src/auro-select.js +148 -129
- package/components/select/src/dropdownVersion.js +1 -0
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +14 -0
- package/components/select/src/styles/style.scss +24 -1
- package/package.json +21 -21
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/form-validation/src/validation.js +104 -50
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/turbo.json +8 -8
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
- package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
- package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
- package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
- package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
- package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
- package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
- package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
- package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
- package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
- package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
- package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
- package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
- package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
- package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
- package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
- package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
- package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
- package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
- package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
- package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
- package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
- package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
- package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
- package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
- package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
|
@@ -13,29 +13,22 @@ import { AuroDependencyVersioning } from '@aurodesignsystem/auro-library/scripts
|
|
|
13
13
|
import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs';
|
|
14
14
|
import AuroFormValidation from '@auro-formkit/form-validation';
|
|
15
15
|
|
|
16
|
-
import { AuroDropdown } from '@
|
|
16
|
+
import { AuroDropdown } from '@aurodesignsystem/auro-dropdown';
|
|
17
17
|
import dropdownVersion from './formkit/auro-dropdownVersion.js';
|
|
18
18
|
|
|
19
|
-
import { AuroInput } from '@
|
|
19
|
+
import { AuroInput } from '@aurodesignsystem/auro-input';
|
|
20
20
|
import inputVersion from './formkit/auro-inputVersion.js';
|
|
21
21
|
|
|
22
|
+
import {
|
|
23
|
+
arrayConverter,
|
|
24
|
+
arrayOrUndefinedHasChanged
|
|
25
|
+
} from '@aurodesignsystem/auro-menu';
|
|
26
|
+
|
|
22
27
|
// Import touch detection lib
|
|
23
28
|
import styleCss from "./styles/style-css.js";
|
|
24
29
|
|
|
25
30
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
26
31
|
/**
|
|
27
|
-
* @prop {Object} optionSelected - Specifies the current selected option.
|
|
28
|
-
* @prop {String} value - Value selected for the dropdown menu.
|
|
29
|
-
* @prop {Boolean} checkmark - When attribute is present auro-menu will apply checkmarks to selected options.
|
|
30
|
-
* @attr {Boolean} error - Sets a persistent error state (e.g. an error state returned from the server).
|
|
31
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
32
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
33
|
-
* @attr {Boolean} disabled - If set, disables the combobox.
|
|
34
|
-
* @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
|
|
35
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
36
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
37
|
-
* @attr {Boolean} triggerIcon - If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
38
|
-
* @attr {String} type - Applies the defined value as the type attribute on auro-input.
|
|
39
32
|
* @slot - Default slot for the menu content.
|
|
40
33
|
* @slot label - Defines the content of the label.
|
|
41
34
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -50,32 +43,10 @@ export class AuroCombobox extends LitElement {
|
|
|
50
43
|
|
|
51
44
|
this.noFilter = false;
|
|
52
45
|
this.validity = undefined;
|
|
53
|
-
this.value =
|
|
54
|
-
this.optionSelected =
|
|
46
|
+
this.value = undefined;
|
|
47
|
+
this.optionSelected = undefined;
|
|
55
48
|
|
|
56
49
|
this.privateDefaults();
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @private
|
|
60
|
-
*/
|
|
61
|
-
this.validation = new AuroFormValidation();
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @private
|
|
65
|
-
*/
|
|
66
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @private
|
|
70
|
-
*/
|
|
71
|
-
this.isHiddenWhileLoading = false;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Generate unique names for dependency components.
|
|
75
|
-
*/
|
|
76
|
-
const versioning = new AuroDependencyVersioning();
|
|
77
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
78
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
79
50
|
}
|
|
80
51
|
|
|
81
52
|
/**
|
|
@@ -86,6 +57,17 @@ export class AuroCombobox extends LitElement {
|
|
|
86
57
|
this.availableOptions = [];
|
|
87
58
|
this.optionActive = null;
|
|
88
59
|
this.msgSelectionMissing = 'Please select an option.';
|
|
60
|
+
|
|
61
|
+
this.validation = new AuroFormValidation();
|
|
62
|
+
|
|
63
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
64
|
+
|
|
65
|
+
this.isHiddenWhileLoading = false;
|
|
66
|
+
|
|
67
|
+
const versioning = new AuroDependencyVersioning();
|
|
68
|
+
|
|
69
|
+
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
70
|
+
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
89
71
|
}
|
|
90
72
|
|
|
91
73
|
// This function is to define props used within the scope of this component
|
|
@@ -94,82 +76,123 @@ export class AuroCombobox extends LitElement {
|
|
|
94
76
|
static get properties() {
|
|
95
77
|
return {
|
|
96
78
|
// ...super.properties,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
type: String,
|
|
103
|
-
reflect: true
|
|
104
|
-
},
|
|
105
|
-
validity: {
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* An enumerated attribute that defines what the user agent can suggest for autofill. At this time, only `autocomplete="off"` is supported.
|
|
82
|
+
*/
|
|
83
|
+
autocomplete: {
|
|
106
84
|
type: String,
|
|
107
85
|
reflect: true
|
|
108
86
|
},
|
|
109
|
-
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
90
|
+
*/
|
|
91
|
+
checkmark: {
|
|
110
92
|
type: Boolean,
|
|
111
93
|
reflect: true
|
|
112
94
|
},
|
|
113
|
-
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* If set, disables the combobox.
|
|
98
|
+
*/
|
|
99
|
+
disabled: {
|
|
114
100
|
type: Boolean,
|
|
115
101
|
reflect: true
|
|
116
102
|
},
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
106
|
+
*/
|
|
107
|
+
error: {
|
|
108
|
+
type: String,
|
|
121
109
|
reflect: true
|
|
122
110
|
},
|
|
123
|
-
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* If set, combobox will not filter menuoptions based in input.
|
|
114
|
+
*/
|
|
115
|
+
noFilter: {
|
|
124
116
|
type: Boolean,
|
|
125
117
|
reflect: true
|
|
126
118
|
},
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* If set, disables auto-validation on blur.
|
|
122
|
+
*/
|
|
123
|
+
noValidate: {
|
|
124
|
+
type: Boolean
|
|
130
125
|
},
|
|
131
|
-
|
|
132
|
-
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the current selected option.
|
|
129
|
+
*/
|
|
130
|
+
optionSelected: {
|
|
131
|
+
type: Object,
|
|
132
|
+
converter: arrayConverter,
|
|
133
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
133
134
|
},
|
|
134
|
-
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
138
|
+
*/
|
|
139
|
+
required: {
|
|
135
140
|
type: Boolean,
|
|
136
141
|
reflect: true
|
|
137
142
|
},
|
|
138
143
|
|
|
139
144
|
/**
|
|
140
|
-
*
|
|
145
|
+
* Sets a custom help text message to display for all validityStates.
|
|
141
146
|
*/
|
|
142
|
-
|
|
147
|
+
setCustomValidity: {
|
|
148
|
+
type: String
|
|
149
|
+
},
|
|
143
150
|
|
|
144
151
|
/**
|
|
145
|
-
*
|
|
152
|
+
* Custom help text message to display when validity = `customError`.
|
|
146
153
|
*/
|
|
147
|
-
|
|
154
|
+
setCustomValidityCustomError: {
|
|
155
|
+
type: String
|
|
156
|
+
},
|
|
148
157
|
|
|
149
158
|
/**
|
|
150
|
-
*
|
|
159
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
151
160
|
*/
|
|
152
|
-
|
|
161
|
+
setCustomValidityValueMissing: {
|
|
162
|
+
type: String
|
|
163
|
+
},
|
|
153
164
|
|
|
154
165
|
/**
|
|
155
|
-
*
|
|
166
|
+
* If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
156
167
|
*/
|
|
157
|
-
|
|
168
|
+
triggerIcon: {
|
|
169
|
+
type: Boolean,
|
|
170
|
+
reflect: true
|
|
171
|
+
},
|
|
158
172
|
|
|
159
173
|
/**
|
|
160
|
-
*
|
|
174
|
+
* Applies the defined value as the type attribute on auro-input.
|
|
161
175
|
*/
|
|
162
|
-
|
|
176
|
+
type: {
|
|
177
|
+
type: String,
|
|
178
|
+
reflect: true
|
|
179
|
+
},
|
|
163
180
|
|
|
164
181
|
/**
|
|
165
|
-
*
|
|
182
|
+
* Specifies the `validityState` this element is in.
|
|
166
183
|
*/
|
|
167
|
-
|
|
184
|
+
validity: {
|
|
185
|
+
type: String,
|
|
186
|
+
reflect: true
|
|
187
|
+
},
|
|
168
188
|
|
|
169
189
|
/**
|
|
170
|
-
*
|
|
190
|
+
* Value selected for the dropdown menu.
|
|
171
191
|
*/
|
|
172
|
-
|
|
192
|
+
value: {
|
|
193
|
+
converter: arrayConverter,
|
|
194
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
195
|
+
},
|
|
173
196
|
};
|
|
174
197
|
}
|
|
175
198
|
|
|
@@ -198,6 +221,33 @@ export class AuroCombobox extends LitElement {
|
|
|
198
221
|
this.generateOptionsArray();
|
|
199
222
|
this.availableOptions = [];
|
|
200
223
|
|
|
224
|
+
if (this.menu.optionSelected) {
|
|
225
|
+
// Get first option since combobox is single-select
|
|
226
|
+
const [selected] = this.menu.optionSelected;
|
|
227
|
+
|
|
228
|
+
if (!this.optionSelected || this.optionSelected[0] !== selected) {
|
|
229
|
+
// Store as array
|
|
230
|
+
this.optionSelected = [selected];
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (!this.value || this.value[0] !== selected.value) {
|
|
234
|
+
// Store as array
|
|
235
|
+
this.value = [selected.value];
|
|
236
|
+
// Menu already expects array
|
|
237
|
+
this.menu.value = this.value;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (this.input.value !== selected.textContent) {
|
|
241
|
+
this.input.value = selected.textContent;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
if (this.menu.matchWord !== this.input.value) {
|
|
245
|
+
this.menu.matchWord = this.input.value;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
this.classList.add('combobox-filled');
|
|
249
|
+
}
|
|
250
|
+
|
|
201
251
|
if (this.noFilter) {
|
|
202
252
|
this.availableOptions = [...this.options];
|
|
203
253
|
} else {
|
|
@@ -338,16 +388,16 @@ export class AuroCombobox extends LitElement {
|
|
|
338
388
|
|
|
339
389
|
// handle the menu event for an option selection
|
|
340
390
|
this.menu.addEventListener('auroMenu-selectedOption', () => {
|
|
341
|
-
// dropdown bib should hide when making a selection
|
|
342
|
-
this.hideBib();
|
|
343
|
-
|
|
344
391
|
if (this.menu.optionSelected) {
|
|
345
|
-
|
|
346
|
-
|
|
392
|
+
const [selected] = this.menu.optionSelected;
|
|
393
|
+
|
|
394
|
+
if (!this.optionSelected || this.optionSelected[0] !== selected) {
|
|
395
|
+
this.optionSelected = [selected];
|
|
347
396
|
}
|
|
348
397
|
|
|
349
|
-
if (this.value !== this.optionSelected.value) {
|
|
350
|
-
this.value = this.optionSelected.value;
|
|
398
|
+
if (!this.value || this.value[0] !== this.optionSelected[0].value) {
|
|
399
|
+
this.value = [this.optionSelected[0].value];
|
|
400
|
+
this.menu.value = this.value;
|
|
351
401
|
}
|
|
352
402
|
|
|
353
403
|
if (this.input.value !== this.optionSelected.textContent) {
|
|
@@ -369,6 +419,9 @@ export class AuroCombobox extends LitElement {
|
|
|
369
419
|
composed: true,
|
|
370
420
|
}));
|
|
371
421
|
}
|
|
422
|
+
|
|
423
|
+
// dropdown bib should hide when making a selection
|
|
424
|
+
this.hideBib();
|
|
372
425
|
});
|
|
373
426
|
|
|
374
427
|
this.menu.addEventListener('auroMenu-customEventFired', () => {
|
|
@@ -380,13 +433,11 @@ export class AuroCombobox extends LitElement {
|
|
|
380
433
|
});
|
|
381
434
|
|
|
382
435
|
this.menu.addEventListener('auroMenu-selectValueFailure', () => {
|
|
383
|
-
this.
|
|
436
|
+
this.menu.clearSelection();
|
|
384
437
|
});
|
|
385
438
|
|
|
386
439
|
this.menu.addEventListener('auroMenu-selectValueReset', () => {
|
|
387
|
-
this.
|
|
388
|
-
this.value = undefined;
|
|
389
|
-
this.validation.validate(this);
|
|
440
|
+
this.reset();
|
|
390
441
|
});
|
|
391
442
|
}
|
|
392
443
|
|
|
@@ -407,64 +458,17 @@ export class AuroCombobox extends LitElement {
|
|
|
407
458
|
*/
|
|
408
459
|
this.addEventListener('focusout', () => {
|
|
409
460
|
if (document.activeElement !== this) {
|
|
410
|
-
this.
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
if (typeof this.value === 'object') {
|
|
414
|
-
this.value = '';
|
|
415
|
-
}
|
|
416
|
-
});
|
|
417
|
-
|
|
418
|
-
this.input.addEventListener('input', () => {
|
|
419
|
-
this.menu.matchWord = this.input.value;
|
|
420
|
-
this.optionActive = null;
|
|
421
|
-
|
|
422
|
-
if (this.value !== this.input.value) {
|
|
423
|
-
this.value = this.input.value;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
if (this.value !== this.menu.value) {
|
|
427
|
-
this.menu.value = this.value;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
431
|
-
this.optionSelected = undefined;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
this.menu.resetOptionsStates();
|
|
435
|
-
|
|
436
|
-
this.handleMenuOptions();
|
|
437
|
-
|
|
438
|
-
this.handleInputValueChange();
|
|
439
|
-
// validate only if the value was set programmatically
|
|
440
|
-
if (document.activeElement !== this) {
|
|
441
|
-
this.validation.validate(this);
|
|
461
|
+
this.validate();
|
|
442
462
|
}
|
|
443
463
|
|
|
444
|
-
//
|
|
445
|
-
if (this.
|
|
446
|
-
this.
|
|
447
|
-
this.classList.remove('combobox-filled');
|
|
448
|
-
} else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
|
|
449
|
-
const hasFocus = this.contains(document.activeElement);
|
|
450
|
-
|
|
451
|
-
// if the focus is within the combobox, then show the bib
|
|
452
|
-
// this will prevent the bib from being shown while loading & presetting the value
|
|
453
|
-
if (hasFocus) {
|
|
454
|
-
this.showBib();
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
this.classList.add('combobox-filled');
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
// force the dropdown bib to hide if the input value has no matching suggestions
|
|
461
|
-
if (!this.availableOptions || this.availableOptions.length === 0) {
|
|
462
|
-
this.hideBib();
|
|
464
|
+
// Set to undefined if empty
|
|
465
|
+
if (this.value && this.value.length === 0) {
|
|
466
|
+
this.value = undefined;
|
|
463
467
|
}
|
|
464
468
|
});
|
|
465
469
|
|
|
466
470
|
this.input.addEventListener('auroFormElement-validated', (evt) => {
|
|
467
|
-
this.
|
|
471
|
+
this.errorMessage = evt.detail.message;
|
|
468
472
|
});
|
|
469
473
|
}
|
|
470
474
|
|
|
@@ -497,9 +501,15 @@ export class AuroCombobox extends LitElement {
|
|
|
497
501
|
* @returns {void}
|
|
498
502
|
*/
|
|
499
503
|
handleInputValueChange() {
|
|
500
|
-
|
|
501
|
-
|
|
504
|
+
this.menu.matchWord = this.input.value;
|
|
505
|
+
this.optionActive = null;
|
|
506
|
+
|
|
507
|
+
let hasChange = false;
|
|
502
508
|
|
|
509
|
+
// Store value as array or undefined
|
|
510
|
+
if (!this.value || this.value[0] !== this.input.value) {
|
|
511
|
+
this.value = this.input.value ? [this.input.value] : undefined;
|
|
512
|
+
hasChange = true;
|
|
503
513
|
this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
|
|
504
514
|
bubbles: true,
|
|
505
515
|
cancelable: false,
|
|
@@ -507,9 +517,47 @@ export class AuroCombobox extends LitElement {
|
|
|
507
517
|
}));
|
|
508
518
|
}
|
|
509
519
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
520
|
+
if (this.value !== this.menu.value) {
|
|
521
|
+
this.menu.value = this.value;
|
|
522
|
+
hasChange = true;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
526
|
+
this.optionSelected = undefined;
|
|
527
|
+
hasChange = true;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
if (!hasChange) {
|
|
531
|
+
return;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
this.menu.clearSelection();
|
|
535
|
+
this.handleMenuOptions();
|
|
536
|
+
|
|
537
|
+
// Validate only if the value was set programmatically
|
|
538
|
+
if (document.activeElement !== this) {
|
|
539
|
+
this.validate();
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
// Hide menu if value is empty, otherwise show if there are available suggestions
|
|
543
|
+
if (this.input.value && this.input.value.length === 0) {
|
|
544
|
+
this.hideBib();
|
|
545
|
+
this.classList.remove('combobox-filled');
|
|
546
|
+
} else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
|
|
547
|
+
const hasFocus = this.contains(document.activeElement);
|
|
548
|
+
|
|
549
|
+
// If focus is within the combobox, show bib
|
|
550
|
+
// Prevent bib from being shown while loading & presetting the value
|
|
551
|
+
if (hasFocus) {
|
|
552
|
+
this.showBib();
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
this.classList.add('combobox-filled');
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
// Force dropdown bib to hide if input value has no matching suggestions
|
|
559
|
+
if (!this.availableOptions || this.availableOptions.length === 0) {
|
|
560
|
+
this.hideBib();
|
|
513
561
|
}
|
|
514
562
|
}
|
|
515
563
|
|
|
@@ -547,14 +595,18 @@ export class AuroCombobox extends LitElement {
|
|
|
547
595
|
|
|
548
596
|
if (this.dropdown.isPopoverVisible) {
|
|
549
597
|
if (evt.key === 'ArrowUp') {
|
|
550
|
-
this.menu.
|
|
598
|
+
this.menu.navigateOptions('up');
|
|
551
599
|
}
|
|
552
600
|
|
|
553
601
|
if (evt.key === 'ArrowDown') {
|
|
554
|
-
this.menu.
|
|
602
|
+
this.menu.navigateOptions('down');
|
|
555
603
|
}
|
|
556
604
|
}
|
|
557
605
|
});
|
|
606
|
+
|
|
607
|
+
this.addEventListener('focusin', () => {
|
|
608
|
+
this.focus();
|
|
609
|
+
});
|
|
558
610
|
}
|
|
559
611
|
|
|
560
612
|
/**
|
|
@@ -608,25 +660,33 @@ export class AuroCombobox extends LitElement {
|
|
|
608
660
|
* @returns {void}
|
|
609
661
|
*/
|
|
610
662
|
reset() {
|
|
611
|
-
// Resets the help text of the combobox
|
|
612
|
-
this.auroInputHelpText = undefined;
|
|
613
|
-
|
|
614
663
|
this.input.reset();
|
|
615
664
|
this.validation.reset(this);
|
|
665
|
+
this.menu.value = undefined;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Validates value.
|
|
670
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
671
|
+
*/
|
|
672
|
+
validate(force = false) {
|
|
673
|
+
this.validation.validate(this, force);
|
|
616
674
|
}
|
|
617
675
|
|
|
618
676
|
updated(changedProperties) {
|
|
619
677
|
// After the component is ready, send direct value changes to auro-menu.
|
|
620
678
|
if (changedProperties.has('value')) {
|
|
621
679
|
if (this.value) {
|
|
622
|
-
if (this.optionSelected && this.optionSelected.value === this.value) {
|
|
680
|
+
if (this.optionSelected && this.optionSelected[0] && this.optionSelected[0].value === this.value[0]) {
|
|
623
681
|
// If value updates and the previously selected option already matches the new value
|
|
624
682
|
// just update the input value to use the textContent of the optionSelected
|
|
625
|
-
this.input.value = this.optionSelected.textContent;
|
|
683
|
+
this.input.value = this.optionSelected[0].textContent;
|
|
626
684
|
} else {
|
|
627
685
|
// Otherwise just enter the value into the input
|
|
628
686
|
this.optionSelected = undefined;
|
|
629
|
-
|
|
687
|
+
// Use first value since combobox is single-select
|
|
688
|
+
const [inputValue] = this.value;
|
|
689
|
+
this.input.value = inputValue;
|
|
630
690
|
|
|
631
691
|
// If the value got set programmatically make sure we hide the bib
|
|
632
692
|
if (!this.contains(document.activeElement)) {
|
|
@@ -634,25 +694,20 @@ export class AuroCombobox extends LitElement {
|
|
|
634
694
|
}
|
|
635
695
|
}
|
|
636
696
|
} else {
|
|
637
|
-
this.
|
|
638
|
-
this.menu.value = undefined;
|
|
697
|
+
this.reset();
|
|
639
698
|
}
|
|
640
699
|
}
|
|
641
700
|
|
|
642
701
|
if (changedProperties.has('error')) {
|
|
643
702
|
this.input.setAttribute('error', this.getAttribute('error'));
|
|
644
|
-
this.
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
if (changedProperties.has('setCustomValidity')) {
|
|
648
|
-
this.input.setAttribute('setCustomValidity', this.setCustomValidity);
|
|
703
|
+
this.validate();
|
|
649
704
|
}
|
|
650
705
|
}
|
|
651
706
|
|
|
652
707
|
/**
|
|
653
708
|
* Watch for slot changes and recalculate the menuoptions.
|
|
654
709
|
* @private
|
|
655
|
-
* @param {Event} event - slotchange event
|
|
710
|
+
* @param {Event} event - `slotchange` event.
|
|
656
711
|
* @returns {void}
|
|
657
712
|
*/
|
|
658
713
|
handleSlotChange(event) {
|
|
@@ -700,19 +755,25 @@ export class AuroCombobox extends LitElement {
|
|
|
700
755
|
?noValidate="${this.noValidate}"
|
|
701
756
|
?disabled="${this.disabled}"
|
|
702
757
|
?icon="${this.triggerIcon}"
|
|
703
|
-
|
|
758
|
+
setCustomValidity="${this.setCustomValidity}"
|
|
759
|
+
setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
|
|
760
|
+
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
761
|
+
.autocomplete="${this.autocomplete}"
|
|
762
|
+
.type="${this.type}"
|
|
763
|
+
@input="${this.handleInputValueChange}">
|
|
704
764
|
<slot name="label" slot="label"></slot>
|
|
705
765
|
</${this.inputTag}>
|
|
706
766
|
<div class="menuWrapper">
|
|
707
767
|
</div>
|
|
708
768
|
<span slot="helpText">
|
|
709
|
-
|
|
769
|
+
<!-- Help text and error message template -->
|
|
770
|
+
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
710
771
|
? html`
|
|
711
|
-
${this.auroInputHelpText}
|
|
712
|
-
`
|
|
713
|
-
: html`
|
|
714
772
|
<slot name="helpText"></slot>
|
|
715
|
-
`
|
|
773
|
+
` : html`
|
|
774
|
+
<p role="alert" aria-live="assertive" part="helpText">
|
|
775
|
+
${this.errorMessage}
|
|
776
|
+
</p>`
|
|
716
777
|
}
|
|
717
778
|
</span>
|
|
718
779
|
</${this.dropdownTag}>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '3.0.0';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '4.2.0';
|