@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@
|
|
2
|
+
"name": "@aurodesignsystem/auro-select",
|
|
3
3
|
"version": "3.3.0",
|
|
4
4
|
"description": "auro-select HTML custom element",
|
|
5
5
|
"type": "module",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"url": "https://github.com/AlaskaAirlines/auro-select"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
15
|
+
"@aurodesignsystem/auro-dropdown": "*",
|
|
16
|
+
"@aurodesignsystem/auro-menu": "*",
|
|
17
17
|
"chalk": "^5.3.0",
|
|
18
18
|
"lit-element": "^4.1.1",
|
|
19
19
|
"lit-html": "^3.2.1"
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
// If using litElement base class
|
|
9
9
|
import { LitElement } from "lit";
|
|
10
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
10
11
|
import { html } from 'lit/static-html.js';
|
|
11
12
|
|
|
12
13
|
import AuroFormValidation from '@auro-formkit/form-validation';
|
|
@@ -14,9 +15,14 @@ import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/util
|
|
|
14
15
|
|
|
15
16
|
import { AuroDependencyVersioning } from '@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs';
|
|
16
17
|
|
|
17
|
-
import { AuroDropdown } from '@
|
|
18
|
+
import { AuroDropdown } from '@aurodesignsystem/auro-dropdown';
|
|
18
19
|
import dropdownVersion from './formkit/auro-dropdownVersion.js';
|
|
19
20
|
|
|
21
|
+
import {
|
|
22
|
+
arrayConverter,
|
|
23
|
+
arrayOrUndefinedHasChanged
|
|
24
|
+
} from '@aurodesignsystem/auro-menu';
|
|
25
|
+
|
|
20
26
|
import styleCss from "./styles/style-css.js";
|
|
21
27
|
import colorCss from "./styles/color-css.js";
|
|
22
28
|
import tokensCss from "./styles/tokens-css.js";
|
|
@@ -25,22 +31,10 @@ import tokensCss from "./styles/tokens-css.js";
|
|
|
25
31
|
/**
|
|
26
32
|
* The auro-select element is a wrapper for auro-dropdown and auro-menu to create a dropdown menu control.
|
|
27
33
|
*
|
|
28
|
-
* @attr {String} validity - Specifies the `validityState` this element is in.
|
|
29
|
-
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
|
|
30
|
-
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
31
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
32
|
-
* @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
|
|
33
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
34
|
-
* @attr {Boolean} required - Populates the `required` attribute on the element. Used for client-side validation.
|
|
35
|
-
* @attr {Boolean} flexMenuWidth - If set, makes dropdown bib width match the size of the content, rather than the width of the trigger.
|
|
36
|
-
* @prop {String} placeholder - Define placeholder text to display before a value is manually selected.
|
|
37
|
-
* @prop {String} value - Value selected for the component.
|
|
38
|
-
* @prop {Boolean} disabled - When attribute is present element shows disabled state.
|
|
39
|
-
* @prop {Boolean} noCheckmark - When true, checkmark on selected option will no longer be present.
|
|
40
|
-
* @attr {Object} optionSelected - Specifies the current selected menuOption.
|
|
41
34
|
* @slot - Default slot for the menu content.
|
|
42
35
|
* @slot label - Defines the content of the label.
|
|
43
36
|
* @slot helpText - Defines the content of the helpText.
|
|
37
|
+
* @slot placeholder - Defines the content of the placeholder to be shown when there is no value
|
|
44
38
|
* @event auroSelect-valueSet - Notifies that the component has a new value set.
|
|
45
39
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
46
40
|
* @csspart helpText - Apply CSS to the help text.
|
|
@@ -51,9 +45,8 @@ export class AuroSelect extends LitElement {
|
|
|
51
45
|
constructor() {
|
|
52
46
|
super();
|
|
53
47
|
|
|
54
|
-
this.placeholder = 'Please select option';
|
|
55
48
|
this.optionSelected = undefined;
|
|
56
|
-
this.
|
|
49
|
+
this.value = undefined;
|
|
57
50
|
|
|
58
51
|
const idLength = 36;
|
|
59
52
|
const idSubstrEnd = 8;
|
|
@@ -106,68 +99,131 @@ export class AuroSelect extends LitElement {
|
|
|
106
99
|
// to understand how to use reflected attributes with your property settings.
|
|
107
100
|
static get properties() {
|
|
108
101
|
return {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* When attribute is present, element shows disabled state.
|
|
105
|
+
*/
|
|
106
|
+
disabled: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
reflect: true
|
|
112
109
|
},
|
|
113
|
-
|
|
114
|
-
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* If set, makes dropdown width match the size of the content, rather than the width of the trigger.
|
|
113
|
+
*/
|
|
114
|
+
flexMenuWidth: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
reflect: true
|
|
115
117
|
},
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* When true, checkmark on selected option will no longer be present.
|
|
121
|
+
*/
|
|
122
|
+
noCheckmark: {
|
|
123
|
+
type: Boolean,
|
|
124
|
+
reflect: true
|
|
125
|
+
},
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* If set, disables auto-validation on blur.
|
|
129
|
+
*/
|
|
116
130
|
noValidate: {
|
|
117
131
|
type: Boolean,
|
|
118
132
|
reflect: true
|
|
119
133
|
},
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @private
|
|
137
|
+
*/
|
|
138
|
+
optionActive: {
|
|
139
|
+
type: Object
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Specifies the current selected menuOption.
|
|
144
|
+
*/
|
|
145
|
+
optionSelected: {
|
|
146
|
+
// Allow HTMLElement[] arrays and undefined
|
|
147
|
+
converter: arrayConverter,
|
|
148
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @private
|
|
153
|
+
*/
|
|
154
|
+
options: {
|
|
155
|
+
type: Array
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Populates the `required` attribute on the element. Used for client-side validation.
|
|
160
|
+
*/
|
|
120
161
|
required: {
|
|
121
162
|
type: Boolean,
|
|
122
163
|
reflect: true
|
|
123
164
|
},
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
|
|
168
|
+
*/
|
|
124
169
|
error: {
|
|
125
170
|
type: String,
|
|
126
171
|
reflect: true
|
|
127
172
|
},
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Sets a custom help text message to display for all validityStates.
|
|
176
|
+
*/
|
|
128
177
|
setCustomValidity: {
|
|
129
178
|
type: String
|
|
130
179
|
},
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Custom help text message to display when validity = `customError`.
|
|
183
|
+
*/
|
|
131
184
|
setCustomValidityCustomError: {
|
|
132
185
|
type: String
|
|
133
186
|
},
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
190
|
+
*/
|
|
134
191
|
setCustomValidityValueMissing: {
|
|
135
192
|
type: String
|
|
136
193
|
},
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Specifies the `validityState` this element is in.
|
|
197
|
+
*/
|
|
137
198
|
validity: {
|
|
138
199
|
type: String,
|
|
139
200
|
reflect: true
|
|
140
201
|
},
|
|
141
|
-
disabled: {
|
|
142
|
-
type: Boolean,
|
|
143
|
-
reflect: true
|
|
144
|
-
},
|
|
145
|
-
noCheckmark: {
|
|
146
|
-
type: Boolean,
|
|
147
|
-
reflect: true
|
|
148
|
-
},
|
|
149
|
-
flexMenuWidth: {
|
|
150
|
-
type: Boolean,
|
|
151
|
-
reflect: true
|
|
152
|
-
},
|
|
153
|
-
placeholder: { type: String },
|
|
154
202
|
|
|
155
203
|
/**
|
|
156
|
-
*
|
|
204
|
+
* Value selected for the component.
|
|
157
205
|
*/
|
|
158
|
-
|
|
206
|
+
value: {
|
|
207
|
+
// Allow string[] arrays and undefined
|
|
208
|
+
converter: arrayConverter,
|
|
209
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
210
|
+
},
|
|
159
211
|
|
|
160
212
|
/**
|
|
161
|
-
*
|
|
213
|
+
* Sets multi-select mode, allowing multiple options to be selected at once.
|
|
162
214
|
*/
|
|
163
|
-
|
|
215
|
+
multiSelect: {
|
|
216
|
+
type: Boolean,
|
|
217
|
+
reflect: true,
|
|
218
|
+
attribute: 'multiselect'
|
|
219
|
+
},
|
|
164
220
|
};
|
|
165
221
|
}
|
|
166
222
|
|
|
167
223
|
static get styles() {
|
|
168
224
|
return [
|
|
169
|
-
styleCss,
|
|
170
225
|
colorCss,
|
|
226
|
+
styleCss,
|
|
171
227
|
tokensCss
|
|
172
228
|
];
|
|
173
229
|
}
|
|
@@ -202,36 +258,31 @@ export class AuroSelect extends LitElement {
|
|
|
202
258
|
}
|
|
203
259
|
|
|
204
260
|
/**
|
|
205
|
-
* Updates the displayed value in an Auro dropdown component based on
|
|
206
|
-
* @param {string|HTMLElement} option - The option to display. If a string, a new span element with the value string is created. If an HTMLElement, the selected option is cloned and non-styling attributes are removed.
|
|
261
|
+
* Updates the displayed value in an Auro dropdown component based on optionSelected.
|
|
207
262
|
* @private
|
|
208
263
|
* @returns {void}
|
|
209
264
|
*/
|
|
210
|
-
updateDisplayedValue(
|
|
265
|
+
updateDisplayedValue() {
|
|
211
266
|
const triggerContentEl = this.dropdown.querySelector('#triggerFocus');
|
|
212
267
|
|
|
213
|
-
//
|
|
214
|
-
triggerContentEl.
|
|
215
|
-
|
|
216
|
-
|
|
268
|
+
// Clear everything except placeholder
|
|
269
|
+
const placeholder = triggerContentEl.querySelector('#placeholder');
|
|
270
|
+
triggerContentEl.innerHTML = '';
|
|
271
|
+
if (placeholder) {
|
|
272
|
+
triggerContentEl.appendChild(placeholder);
|
|
273
|
+
}
|
|
217
274
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
triggerContentEl.appendChild(
|
|
226
|
-
} else if (typeof option === 'object') {
|
|
227
|
-
// clone the selected option and remove attributes that style it
|
|
228
|
-
const clone = option.cloneNode(true);
|
|
229
|
-
clone.removeAttribute('selected');
|
|
230
|
-
clone.removeAttribute('class');
|
|
231
|
-
|
|
232
|
-
// insert the non-styled clone into the trigger
|
|
233
|
-
triggerContentEl.appendChild(clone);
|
|
275
|
+
// Handle selected options
|
|
276
|
+
if (this.optionSelected && this.optionSelected.length) {
|
|
277
|
+
// Create display text from selected options
|
|
278
|
+
const displayText = this.optionSelected.map((option) => option.textContent).join(', ');
|
|
279
|
+
|
|
280
|
+
const span = document.createElement('span');
|
|
281
|
+
span.textContent = displayText;
|
|
282
|
+
triggerContentEl.appendChild(span);
|
|
234
283
|
}
|
|
284
|
+
|
|
285
|
+
this.dropdown.requestUpdate();
|
|
235
286
|
}
|
|
236
287
|
|
|
237
288
|
/**
|
|
@@ -241,7 +292,7 @@ export class AuroSelect extends LitElement {
|
|
|
241
292
|
*/
|
|
242
293
|
configureMenu() {
|
|
243
294
|
this.menu = this.querySelector('auro-menu, [auro-menu]');
|
|
244
|
-
|
|
295
|
+
|
|
245
296
|
// racing condition on custom-select with custom-menu
|
|
246
297
|
if (!this.menu) {
|
|
247
298
|
setTimeout(() => {
|
|
@@ -250,6 +301,11 @@ export class AuroSelect extends LitElement {
|
|
|
250
301
|
return;
|
|
251
302
|
}
|
|
252
303
|
|
|
304
|
+
if (this.multiSelect) {
|
|
305
|
+
this.menu.multiSelect = this.multiSelect;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
this.menu.addEventListener("auroMenu-loadingChange", (event) => this.handleMenuLoadingChange(event));
|
|
253
309
|
this.menu.setAttribute('aria-hidden', 'true');
|
|
254
310
|
|
|
255
311
|
this.generateOptionsArray();
|
|
@@ -259,10 +315,10 @@ export class AuroSelect extends LitElement {
|
|
|
259
315
|
});
|
|
260
316
|
|
|
261
317
|
this.menu.addEventListener('auroMenu-selectedOption', () => {
|
|
318
|
+
// Get array of selected options from menu
|
|
262
319
|
this.optionSelected = this.menu.optionSelected;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
this.updateDisplayedValue(this.optionSelected);
|
|
320
|
+
// For single select, we still use arrays but only take first value
|
|
321
|
+
this.value = this.menu.value;
|
|
266
322
|
|
|
267
323
|
if (this.dropdown.isPopoverVisible) {
|
|
268
324
|
this.dropdown.hide();
|
|
@@ -277,25 +333,11 @@ export class AuroSelect extends LitElement {
|
|
|
277
333
|
* with `auro-select.value`.
|
|
278
334
|
*/
|
|
279
335
|
this.menu.addEventListener('auroMenu-selectValueFailure', () => {
|
|
280
|
-
this.menu.
|
|
281
|
-
this.optionSelected = this.menu.optionSelected;
|
|
282
|
-
|
|
283
|
-
this.validity = 'badInput';
|
|
284
|
-
|
|
285
|
-
// Capitalizes the first letter of each word in this.value string
|
|
286
|
-
const valueStr = this.value.replace(/(^\w{1})|(\s+\w{1})/gu, (letter) => letter.toUpperCase());
|
|
287
|
-
|
|
288
|
-
// Pass the new string to the trigger content
|
|
289
|
-
this.updateDisplayedValue(valueStr);
|
|
336
|
+
this.menu.clearSelection();
|
|
290
337
|
});
|
|
291
338
|
|
|
292
339
|
this.menu.addEventListener('auroMenu-selectValueReset', () => {
|
|
293
|
-
|
|
294
|
-
this.updateDisplayedValue(this.placeholder);
|
|
295
|
-
|
|
296
|
-
this.optionSelected = undefined;
|
|
297
|
-
this.value = undefined;
|
|
298
|
-
|
|
340
|
+
this.optionSelected = this.menu.optionSelected;
|
|
299
341
|
this.validation.validate(this);
|
|
300
342
|
});
|
|
301
343
|
}
|
|
@@ -316,7 +358,7 @@ export class AuroSelect extends LitElement {
|
|
|
316
358
|
this.dropdown.show();
|
|
317
359
|
|
|
318
360
|
if (this.dropdown.isPopoverVisible) {
|
|
319
|
-
this.menu.
|
|
361
|
+
this.menu.navigateOptions('up');
|
|
320
362
|
}
|
|
321
363
|
}
|
|
322
364
|
|
|
@@ -326,7 +368,7 @@ export class AuroSelect extends LitElement {
|
|
|
326
368
|
this.dropdown.show();
|
|
327
369
|
|
|
328
370
|
if (this.dropdown.isPopoverVisible) {
|
|
329
|
-
this.menu.
|
|
371
|
+
this.menu.navigateOptions('down');
|
|
330
372
|
}
|
|
331
373
|
}
|
|
332
374
|
|
|
@@ -347,8 +389,6 @@ export class AuroSelect extends LitElement {
|
|
|
347
389
|
this.addEventListener('blur', () => {
|
|
348
390
|
this.validation.validate(this);
|
|
349
391
|
});
|
|
350
|
-
|
|
351
|
-
this.labelForSr();
|
|
352
392
|
}
|
|
353
393
|
|
|
354
394
|
/**
|
|
@@ -391,7 +431,7 @@ export class AuroSelect extends LitElement {
|
|
|
391
431
|
* input as no longer in the initial state.
|
|
392
432
|
*/
|
|
393
433
|
if (this.value === undefined) {
|
|
394
|
-
this.value =
|
|
434
|
+
this.value = undefined;
|
|
395
435
|
this.removeEventListener('focusin', this.handleFocusin);
|
|
396
436
|
}
|
|
397
437
|
}
|
|
@@ -449,11 +489,15 @@ export class AuroSelect extends LitElement {
|
|
|
449
489
|
}
|
|
450
490
|
}
|
|
451
491
|
|
|
452
|
-
updated(changedProperties) {
|
|
453
|
-
// After the component is ready, send direct value changes to auro-menu.
|
|
492
|
+
async updated(changedProperties) {
|
|
454
493
|
if (changedProperties.has('value')) {
|
|
455
494
|
if (this.value) {
|
|
456
495
|
this.menu.value = this.value;
|
|
496
|
+
|
|
497
|
+
// Wait for menu to finish updating its value
|
|
498
|
+
await this.menu.updateComplete;
|
|
499
|
+
|
|
500
|
+
this.optionSelected = this.menu.optionSelected;
|
|
457
501
|
} else {
|
|
458
502
|
this.menu.value = undefined;
|
|
459
503
|
}
|
|
@@ -467,8 +511,12 @@ export class AuroSelect extends LitElement {
|
|
|
467
511
|
}));
|
|
468
512
|
}
|
|
469
513
|
|
|
514
|
+
if (changedProperties.has('optionSelected')) {
|
|
515
|
+
this.updateDisplayedValue();
|
|
516
|
+
}
|
|
517
|
+
|
|
470
518
|
if (changedProperties.has('error')) {
|
|
471
|
-
this.
|
|
519
|
+
this.validate(true);
|
|
472
520
|
}
|
|
473
521
|
}
|
|
474
522
|
|
|
@@ -481,44 +529,11 @@ export class AuroSelect extends LitElement {
|
|
|
481
529
|
}
|
|
482
530
|
|
|
483
531
|
/**
|
|
484
|
-
*
|
|
485
|
-
* @
|
|
486
|
-
* @returns {void}
|
|
532
|
+
* Validates value.
|
|
533
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
487
534
|
*/
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
const textId = "label";
|
|
491
|
-
|
|
492
|
-
placeholderLabel.setAttribute("id", textId);
|
|
493
|
-
placeholderLabel.setAttribute("aria-live", "polite");
|
|
494
|
-
|
|
495
|
-
const styles = {
|
|
496
|
-
position: 'absolute',
|
|
497
|
-
overflow: 'hidden',
|
|
498
|
-
clipPath: 'inset(1px, 1px, 1px, 1px)',
|
|
499
|
-
width: '1px',
|
|
500
|
-
height: '1px',
|
|
501
|
-
padding: '0',
|
|
502
|
-
border: '0'
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
Object.assign(placeholderLabel.style, styles);
|
|
506
|
-
|
|
507
|
-
this.addEventListener('focus', () => {
|
|
508
|
-
document.body.appendChild(placeholderLabel);
|
|
509
|
-
|
|
510
|
-
if (!this.optionSelected) {
|
|
511
|
-
document.getElementById(textId).innerHTML = this.placeholder;
|
|
512
|
-
} else {
|
|
513
|
-
document.getElementById(textId).innerHTML = `${this.optionSelected.innerText}, ${this.placeholder}`;
|
|
514
|
-
}
|
|
515
|
-
});
|
|
516
|
-
|
|
517
|
-
this.addEventListener('blur', () => {
|
|
518
|
-
if (document.contains(placeholderLabel)) {
|
|
519
|
-
document.body.removeChild(placeholderLabel);
|
|
520
|
-
}
|
|
521
|
-
});
|
|
535
|
+
validate(force = false) {
|
|
536
|
+
this.validation.validate(this, force);
|
|
522
537
|
}
|
|
523
538
|
|
|
524
539
|
// When using auroElement, use the following attribute and function when hiding content from screen readers.
|
|
@@ -526,6 +541,10 @@ export class AuroSelect extends LitElement {
|
|
|
526
541
|
|
|
527
542
|
// function that renders the HTML and CSS into the scope of the component
|
|
528
543
|
render() {
|
|
544
|
+
const placeholderClass = {
|
|
545
|
+
hidden: this.value,
|
|
546
|
+
};
|
|
547
|
+
|
|
529
548
|
return html`
|
|
530
549
|
<div class="outerWrapper">
|
|
531
550
|
<div aria-live="polite" class="util_displayHiddenVisually">
|
|
@@ -552,7 +571,7 @@ export class AuroSelect extends LitElement {
|
|
|
552
571
|
chevron
|
|
553
572
|
part="dropdown">
|
|
554
573
|
<span slot="trigger" aria-haspopup="true" id="triggerFocus">
|
|
555
|
-
|
|
574
|
+
<span id="placeholder" class="${classMap(placeholderClass)}"><slot name="placeholder"></slot></span>
|
|
556
575
|
</span>
|
|
557
576
|
<div class="menuWrapper">
|
|
558
577
|
</div>
|
|
@@ -565,7 +584,7 @@ export class AuroSelect extends LitElement {
|
|
|
565
584
|
</p>`
|
|
566
585
|
: html`
|
|
567
586
|
<p class="selectElement-helpText" id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
568
|
-
${this.
|
|
587
|
+
${this.errorMessage}
|
|
569
588
|
</p>`
|
|
570
589
|
}
|
|
571
590
|
</span>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '3.0.0';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export default css`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}.selectElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:1rem}`;
|
|
2
|
+
export default css`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}.selectElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:1rem}:host([multiselect]) [slot=trigger]{display:flex}:host([multiselect]) auro-menuoption:not(:first-child){margin-left:var(--ds-size-100)}`;
|
|
@@ -62,6 +62,12 @@
|
|
|
62
62
|
[slot=trigger] .nestingSpacer {
|
|
63
63
|
display: none;
|
|
64
64
|
}
|
|
65
|
+
[slot=trigger] #placeholder.hidden {
|
|
66
|
+
position: absolute;
|
|
67
|
+
z-index: -1;
|
|
68
|
+
opacity: 0;
|
|
69
|
+
pointer-events: none;
|
|
70
|
+
}
|
|
65
71
|
|
|
66
72
|
:host [auro-dropdown] {
|
|
67
73
|
position: relative;
|
|
@@ -83,6 +89,7 @@
|
|
|
83
89
|
}
|
|
84
90
|
|
|
85
91
|
auro-menuoption {
|
|
92
|
+
padding: 0;
|
|
86
93
|
pointer-events: none;
|
|
87
94
|
}
|
|
88
95
|
|
|
@@ -95,3 +102,10 @@ auro-menuoption {
|
|
|
95
102
|
font-size: var(--ds-text-body-size-xs, 0.75rem);
|
|
96
103
|
line-height: 1rem;
|
|
97
104
|
}
|
|
105
|
+
|
|
106
|
+
:host([multiselect]) [slot=trigger] {
|
|
107
|
+
display: flex;
|
|
108
|
+
}
|
|
109
|
+
:host([multiselect]) auro-menuoption:not(:first-child) {
|
|
110
|
+
margin-left: var(--ds-size-100);
|
|
111
|
+
}
|
|
@@ -24,7 +24,16 @@
|
|
|
24
24
|
.nestingSpacer {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
|
|
28
|
+
#placeholder {
|
|
29
|
+
&.hidden {
|
|
30
|
+
position: absolute;
|
|
31
|
+
z-index: -1;
|
|
32
|
+
opacity: 0;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
28
37
|
|
|
29
38
|
:host {
|
|
30
39
|
[auro-dropdown] {
|
|
@@ -52,6 +61,7 @@
|
|
|
52
61
|
}
|
|
53
62
|
|
|
54
63
|
auro-menuoption {
|
|
64
|
+
padding: 0;
|
|
55
65
|
pointer-events: none;
|
|
56
66
|
}
|
|
57
67
|
|
|
@@ -64,3 +74,16 @@ auro-menuoption {
|
|
|
64
74
|
font-size: var(--ds-text-body-size-xs, $ds-text-body-size-xs);
|
|
65
75
|
line-height: 1rem;
|
|
66
76
|
}
|
|
77
|
+
|
|
78
|
+
// Multiselect styles
|
|
79
|
+
:host([multiselect]) {
|
|
80
|
+
[slot="trigger"] {
|
|
81
|
+
display: flex;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
auro-menuoption {
|
|
85
|
+
&:not(:first-child) {
|
|
86
|
+
margin-left: var(--ds-size-100);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurodesignsystem/auro-formkit",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.20",
|
|
4
4
|
"description": "A collection of web components used to build forms.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": "^20.x || ^22.x"
|
|
13
13
|
},
|
|
14
|
-
"packageManager": "npm@
|
|
14
|
+
"packageManager": "npm@11.0.0",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"prepare": "husky"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@aurodesignsystem/auro-library": "^3.0.
|
|
43
|
+
"@aurodesignsystem/auro-library": "^3.0.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@aurodesignsystem/eslint-config": "^1.3.3",
|
|
47
|
-
"@commitlint/cli": "^19.
|
|
48
|
-
"@commitlint/config-conventional": "^19.
|
|
47
|
+
"@commitlint/cli": "^19.6.1",
|
|
48
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
49
49
|
"@open-wc/testing": "^4.0.0",
|
|
50
50
|
"@semantic-release/changelog": "^6.0.3",
|
|
51
51
|
"@semantic-release/git": "^10.0.1",
|
|
@@ -58,30 +58,30 @@
|
|
|
58
58
|
"babel-loader": "^9.2.1",
|
|
59
59
|
"compression": "^1.7.5",
|
|
60
60
|
"concat": "^1.0.3",
|
|
61
|
-
"concurrently": "^9.
|
|
61
|
+
"concurrently": "^9.1.2",
|
|
62
62
|
"copyfiles": "^2.4.1",
|
|
63
|
-
"core-js": "^3.
|
|
64
|
-
"eslint": "^9.
|
|
65
|
-
"eslint-plugin-jsdoc": "^50.
|
|
63
|
+
"core-js": "^3.40.0",
|
|
64
|
+
"eslint": "^9.18.0",
|
|
65
|
+
"eslint-plugin-jsdoc": "^50.6.1",
|
|
66
66
|
"husky": "^9.1.7",
|
|
67
67
|
"lodash": "^4.17.21",
|
|
68
|
-
"markdown-magic": "^
|
|
69
|
-
"nodemon": "^3.1.
|
|
68
|
+
"markdown-magic": "^3.3.0",
|
|
69
|
+
"nodemon": "^3.1.9",
|
|
70
70
|
"npm-run-all": "^4.1.5",
|
|
71
|
-
"postcss": "^8.
|
|
71
|
+
"postcss": "^8.5.0",
|
|
72
72
|
"postcss-custom-properties": "^14.0.4",
|
|
73
73
|
"postcss-discard-comments": "^7.0.3",
|
|
74
|
-
"prettier": "^3.
|
|
75
|
-
"sass": "^1.
|
|
76
|
-
"semantic-release": "^24.2.
|
|
77
|
-
"stylelint": "^16.
|
|
74
|
+
"prettier": "^3.4.2",
|
|
75
|
+
"sass": "^1.83.1",
|
|
76
|
+
"semantic-release": "^24.2.1",
|
|
77
|
+
"stylelint": "^16.13.1",
|
|
78
78
|
"stylelint-config-idiomatic-order": "^10.0.0",
|
|
79
|
-
"stylelint-config-standard": "^
|
|
80
|
-
"stylelint-config-standard-scss": "^
|
|
79
|
+
"stylelint-config-standard": "^37.0.0",
|
|
80
|
+
"stylelint-config-standard-scss": "^14.0.0",
|
|
81
81
|
"stylelint-order": "^6.0.4",
|
|
82
|
-
"stylelint-scss": "^6.
|
|
83
|
-
"turbo": "^2.3.
|
|
84
|
-
"typescript": "^5.
|
|
82
|
+
"stylelint-scss": "^6.10.0",
|
|
83
|
+
"turbo": "^2.3.3",
|
|
84
|
+
"typescript": "^5.7.3",
|
|
85
85
|
"whatwg-fetch": "^3.6.20",
|
|
86
86
|
"yaml-lint": "^1.7.0"
|
|
87
87
|
},
|