@aurodesignsystem/auro-formkit 2.0.0-beta.4 → 2.0.0-beta.40
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/006be80261b993a5-meta.json +1 -0
- package/.turbo/cache/006be80261b993a5.tar.zst +0 -0
- package/.turbo/cache/03338963f2ae4c89-meta.json +1 -0
- package/.turbo/cache/03338963f2ae4c89.tar.zst +0 -0
- package/.turbo/cache/06dfc9c20aacd0fa-meta.json +1 -0
- package/.turbo/cache/06dfc9c20aacd0fa.tar.zst +0 -0
- package/.turbo/cache/075034ccdb82fbea-meta.json +1 -0
- package/.turbo/cache/075034ccdb82fbea.tar.zst +0 -0
- package/.turbo/cache/0ff927ad868537f6-meta.json +1 -0
- package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
- package/.turbo/cache/10b8500a6b0c6655-meta.json +1 -0
- package/.turbo/cache/10b8500a6b0c6655.tar.zst +0 -0
- package/.turbo/cache/138466aaa06fa946-meta.json +1 -0
- package/.turbo/cache/138466aaa06fa946.tar.zst +0 -0
- package/.turbo/cache/1a8525cb6ad91e2a-meta.json +1 -0
- package/.turbo/cache/1a8525cb6ad91e2a.tar.zst +0 -0
- package/.turbo/cache/1c347bdf63624c8a-meta.json +1 -0
- package/.turbo/cache/1c347bdf63624c8a.tar.zst +0 -0
- package/.turbo/cache/1d4e8167ea8e924f-meta.json +1 -0
- package/.turbo/cache/1d4e8167ea8e924f.tar.zst +0 -0
- package/.turbo/cache/2289d12debb3c42c-meta.json +1 -0
- package/.turbo/cache/2289d12debb3c42c.tar.zst +0 -0
- package/.turbo/cache/22fc147c04804f70-meta.json +1 -0
- package/.turbo/cache/22fc147c04804f70.tar.zst +0 -0
- package/.turbo/cache/2d51091c22fc92f5-meta.json +1 -0
- package/.turbo/cache/2d51091c22fc92f5.tar.zst +0 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +1 -0
- package/.turbo/cache/3025cdff2ca7afbf.tar.zst +0 -0
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +1 -0
- package/.turbo/cache/3082b3a86c0f9b94.tar.zst +0 -0
- package/.turbo/cache/366fc19b143f7957-meta.json +1 -0
- package/.turbo/cache/366fc19b143f7957.tar.zst +0 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0-meta.json +1 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0.tar.zst +0 -0
- package/.turbo/cache/43995f6c84a2de33-meta.json +1 -0
- package/.turbo/cache/43995f6c84a2de33.tar.zst +0 -0
- package/.turbo/cache/45d6aea680ecb5ec-meta.json +1 -0
- package/.turbo/cache/45d6aea680ecb5ec.tar.zst +0 -0
- package/.turbo/cache/45ecc27552696bd6-meta.json +1 -0
- package/.turbo/cache/45ecc27552696bd6.tar.zst +0 -0
- package/.turbo/cache/47d63056350252e5-meta.json +1 -0
- package/.turbo/cache/47d63056350252e5.tar.zst +0 -0
- package/.turbo/cache/4aadd7fe6b69cccf-meta.json +1 -0
- package/.turbo/cache/4aadd7fe6b69cccf.tar.zst +0 -0
- package/.turbo/cache/5b3bb164db4c477c-meta.json +1 -0
- package/.turbo/cache/5b3bb164db4c477c.tar.zst +0 -0
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +1 -0
- package/.turbo/cache/6bfd7cffad1e6b8a.tar.zst +0 -0
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +1 -0
- package/.turbo/cache/6d48e8dc24e08c8c.tar.zst +0 -0
- package/.turbo/cache/70e65d2581c9de95-meta.json +1 -0
- package/.turbo/cache/70e65d2581c9de95.tar.zst +0 -0
- package/.turbo/cache/78629f56974cc5d7-meta.json +1 -0
- package/.turbo/cache/78629f56974cc5d7.tar.zst +0 -0
- package/.turbo/cache/7a2e937d0f5acb7c-meta.json +1 -0
- package/.turbo/cache/7a2e937d0f5acb7c.tar.zst +0 -0
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +1 -0
- package/.turbo/cache/85f181c5a0ebfdc3.tar.zst +0 -0
- package/.turbo/cache/8830b8b624914679-meta.json +1 -0
- package/.turbo/cache/8830b8b624914679.tar.zst +0 -0
- package/.turbo/cache/88d4c5b7339b081b-meta.json +1 -0
- package/.turbo/cache/88d4c5b7339b081b.tar.zst +0 -0
- package/.turbo/cache/8f20a1cd3533e2cb-meta.json +1 -0
- package/.turbo/cache/8f20a1cd3533e2cb.tar.zst +0 -0
- package/.turbo/cache/91de2098a36b6939-meta.json +1 -0
- package/.turbo/cache/91de2098a36b6939.tar.zst +0 -0
- package/.turbo/cache/96edc0764ed4ab77-meta.json +1 -0
- package/.turbo/cache/96edc0764ed4ab77.tar.zst +0 -0
- package/.turbo/cache/a776eb6f87cd7464-meta.json +1 -0
- package/.turbo/cache/a776eb6f87cd7464.tar.zst +0 -0
- package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +1 -0
- package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
- package/.turbo/cache/ac47b2df8381d990-meta.json +1 -0
- package/.turbo/cache/ac47b2df8381d990.tar.zst +0 -0
- package/.turbo/cache/ac98992ca27cd36e-meta.json +1 -0
- package/.turbo/cache/ac98992ca27cd36e.tar.zst +0 -0
- package/.turbo/cache/b323342fa340ccb5-meta.json +1 -0
- package/.turbo/cache/b323342fa340ccb5.tar.zst +0 -0
- package/.turbo/cache/b681d1652a7f2aca-meta.json +1 -0
- package/.turbo/cache/b681d1652a7f2aca.tar.zst +0 -0
- package/.turbo/cache/b99d21002170d86d-meta.json +1 -0
- package/.turbo/cache/b99d21002170d86d.tar.zst +0 -0
- package/.turbo/cache/bff34c0db361f414-meta.json +1 -0
- package/.turbo/cache/bff34c0db361f414.tar.zst +0 -0
- package/.turbo/cache/c1c7334875426ff3-meta.json +1 -0
- package/.turbo/cache/c1c7334875426ff3.tar.zst +0 -0
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +1 -0
- package/.turbo/cache/cd12b66dd972aaf7.tar.zst +0 -0
- package/.turbo/cache/cf74604f39b00f11-meta.json +1 -0
- package/.turbo/cache/cf74604f39b00f11.tar.zst +0 -0
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +1 -0
- package/.turbo/cache/d5dbe6fb31ae5667.tar.zst +0 -0
- package/.turbo/cache/e2688cc026390fd6-meta.json +1 -0
- package/.turbo/cache/e2688cc026390fd6.tar.zst +0 -0
- package/.turbo/cache/e34579fa4cd85684-meta.json +1 -0
- package/.turbo/cache/e34579fa4cd85684.tar.zst +0 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +1 -0
- package/.turbo/cache/e64bd75c16c140f3.tar.zst +0 -0
- package/.turbo/cache/ea92743dea3b7023-meta.json +1 -0
- package/.turbo/cache/ea92743dea3b7023.tar.zst +0 -0
- package/.turbo/cache/f1b0cb8241603223-meta.json +1 -0
- package/.turbo/cache/f1b0cb8241603223.tar.zst +0 -0
- package/.turbo/cache/f22dc2dd55715ba2-meta.json +1 -0
- package/.turbo/cache/f22dc2dd55715ba2.tar.zst +0 -0
- package/.turbo/cache/f8f7a8045f230b79-meta.json +1 -0
- package/.turbo/cache/f8f7a8045f230b79.tar.zst +0 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +1 -0
- package/.turbo/cache/f8f99ba69bff8f2c.tar.zst +0 -0
- package/.turbo/cache/faafa5cc35d12e06-meta.json +1 -0
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +360 -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-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/README.md +27 -35
- package/components/checkbox/demo/api.md +67 -68
- package/components/checkbox/demo/api.min.js +429 -89
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +429 -89
- 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 +19 -6
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +429 -89
- package/components/checkbox/package.json +6 -5
- package/components/checkbox/src/auro-checkbox-group.js +62 -23
- package/components/checkbox/src/auro-checkbox.js +30 -9
- package/components/checkbox/src/styles/colorGroup-css.js +1 -1
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -8
- package/components/checkbox/src/styles/tokens-css.js +1 -1
- package/components/checkbox/src/styles/tokens.css +0 -1
- package/components/checkbox/src/styles/tokens.scss +0 -1
- 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 +23 -28
- package/components/combobox/demo/api.md +27 -25
- package/components/combobox/demo/api.min.js +3385 -848
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3382 -845
- package/components/combobox/dist/auro-combobox.d.ts +74 -79
- 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 +2733 -510
- 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 +12 -13
- package/components/combobox/src/auro-combobox.js +215 -163
- 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/{input → counter}/.turbo/turbo-build$colon$version.log +5 -5
- package/components/counter/.turbo/turbo-build.log +329 -14
- package/components/counter/.turbo/turbo-bundler.log +13 -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 +107 -1014
- package/components/counter/demo/api.min.js +5203 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +292 -0
- package/components/counter/demo/index.min.js +5231 -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 +127 -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 +91 -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 +5203 -36
- package/components/{input/dist/styles/helpText-css.d.ts → counter/dist/styles/color-css.d.ts} +1 -1
- 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 +14 -5
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +305 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +325 -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 +29 -0
- package/components/counter/src/styles/color.scss +49 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +11 -0
- package/components/counter/src/styles/counter-button-color.scss +23 -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 +6 -0
- package/components/counter/src/styles/counter-button-tokens.scss +8 -0
- package/components/counter/src/styles/counter-button.css +186 -0
- package/components/counter/src/styles/counter-button.scss +84 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +15 -1
- package/components/counter/src/styles/counter-group.scss +16 -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 +50 -1
- package/components/counter/src/styles/style.scss +58 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +12 -0
- package/components/counter/src/styles/tokens.scss +25 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +52 -53
- 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 +23 -28
- package/components/datepicker/demo/api.md +85 -57
- package/components/datepicker/demo/api.min.js +1304 -558
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1304 -558
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +101 -73
- 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 +1304 -558
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
- package/components/datepicker/package.json +8 -8
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +170 -89
- 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/datepicker/src/styles/style-css.js +1 -1
- package/components/datepicker/src/styles/style.css +55 -35
- package/components/datepicker/src/styles/style.scss +45 -13
- package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- 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/README.md +19 -27
- package/components/dropdown/demo/api.md +15 -3
- package/components/dropdown/demo/api.min.js +406 -88
- package/components/dropdown/demo/index.js +0 -3
- package/components/dropdown/demo/index.min.js +406 -91
- package/components/dropdown/dist/auro-dropdown.d.ts +16 -2
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +406 -88
- package/components/dropdown/package.json +6 -5
- package/components/dropdown/src/auro-dropdown.js +102 -11
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +3 -6
- package/components/dropdown/src/styles/color.scss +3 -6
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +5 -6
- package/components/dropdown/src/styles/style.scss +8 -8
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +1 -1
- package/components/dropdown/src/styles/tokens.scss +1 -1
- 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 +29 -35
- package/components/form/demo/api.min.js +447 -25
- package/components/form/demo/index.min.js +447 -25
- package/components/form/demo/registerDemoDeps.js +22 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +178 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +447 -25
- package/components/form/package.json +8 -6
- package/components/form/src/auro-form.js +444 -25
- package/components/form/src/styles/style.css +1 -1
- package/components/helptext/.stylelintrc.json +3 -0
- package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
- package/components/helptext/.turbo/turbo-build.log +49 -0
- package/components/helptext/.turbo/turbo-bundler.log +7 -0
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/helptext/.turbo/turbo-types.log +4 -0
- package/components/helptext/dist/auro-helptext.d.ts +54 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
- package/components/helptext/dist/index.d.ts +3 -0
- package/components/helptext/dist/index.d.ts.map +1 -0
- package/components/helptext/dist/index.js +224 -0
- package/components/helptext/dist/styles/color-css.d.ts +3 -0
- package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/style-css.d.ts +3 -0
- package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
- package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/helptext/node_modules/chalk/package.json +83 -0
- package/components/helptext/node_modules/chalk/readme.md +297 -0
- package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
- package/components/helptext/node_modules/chalk/source/index.js +225 -0
- package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/helptext/package.json +57 -0
- package/components/helptext/src/auro-helptext.js +127 -0
- package/components/helptext/src/index.js +6 -0
- package/components/helptext/src/styles/color-css.js +2 -0
- package/components/helptext/src/styles/color.css +8 -0
- package/components/helptext/src/styles/color.scss +11 -0
- package/components/helptext/src/styles/style-css.js +2 -0
- package/components/helptext/src/styles/style.css +23 -0
- package/components/helptext/src/styles/style.scss +33 -0
- package/components/helptext/src/styles/tokens-css.js +2 -0
- package/components/helptext/src/styles/tokens.css +3 -0
- package/components/helptext/src/styles/tokens.scss +5 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +22 -32
- package/components/input/.turbo/turbo-build.log +33 -46
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +9 -15
- package/components/input/README.md +19 -29
- package/components/input/demo/api.md +85 -253
- package/components/input/demo/api.min.js +413 -125
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +413 -125
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +413 -125
- package/components/input/package.json +6 -5
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/base-input.js +5 -5
- package/components/input/src/styles/color-css.js +1 -1
- package/components/input/src/styles/color.css +0 -5
- package/components/input/src/styles/color.scss +0 -5
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +2 -2
- package/components/input/src/styles/input.scss +2 -2
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +2 -9
- package/components/input/src/styles/style.scss +0 -1
- package/components/input/src/styles/tokens-css.js +1 -1
- package/components/input/src/styles/tokens.css +0 -1
- package/components/input/src/styles/tokens.scss +0 -1
- 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 +19 -27
- 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 +5 -5
- 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/menu/src/styles/style-menu.css +1 -1
- 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-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/README.md +19 -27
- package/components/radio/demo/api.md +9 -8
- package/components/radio/demo/api.min.js +360 -62
- package/components/radio/demo/index.min.js +360 -62
- package/components/radio/dist/auro-radio-group.d.ts +7 -1
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +360 -62
- package/components/radio/package.json +6 -6
- package/components/radio/src/auro-radio-group.js +24 -6
- package/components/radio/src/styles/groupColor-css.js +1 -1
- package/components/radio/src/styles/groupColor.css +0 -8
- package/components/radio/src/styles/groupColor.scss +0 -8
- package/components/radio/src/styles/tokens-css.js +1 -1
- package/components/radio/src/styles/tokens.css +0 -1
- package/components/radio/src/styles/tokens.scss +0 -1
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +28 -27
- 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 +22 -43
- package/components/select/demo/api.md +52 -15
- package/components/select/demo/api.min.js +2851 -609
- package/components/select/demo/index.md +1 -16
- package/components/select/demo/index.min.js +2849 -607
- package/components/select/dist/auro-select.d.ts +23 -6
- 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 +2313 -385
- package/components/select/package.json +7 -7
- package/components/select/src/auro-select.js +77 -32
- 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 +5 -4
- package/components/select/src/styles/style.scss +11 -4
- package/package.json +27 -23
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/build-tools/src/postinstall.mjs +8 -0
- package/packages/form-validation/src/validation.js +79 -20
- 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 +42 -9
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
- package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
- package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.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/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.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/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
- package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
- package/.turbo/cache/a9a9d012c83882d8.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/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.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/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
- package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/f817d89688cefca8-meta.json +0 -1
- package/.turbo/cache/f817d89688cefca8.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
- package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-types.log +0 -4
|
@@ -13,31 +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 {String} error - When defined, sets persistent validity to `customError` and sets the validation message to the attribute value.
|
|
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 {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
|
|
34
|
-
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
|
|
35
|
-
* @attr {Boolean} disabled - If set, disables the combobox.
|
|
36
|
-
* @attr {Boolean} noFilter - If set, combobox will not filter menuoptions based in input.
|
|
37
|
-
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
38
|
-
* @attr {Boolean} required - Populates the `required` attribute on the input. Used for client-side validation.
|
|
39
|
-
* @attr {Boolean} triggerIcon - If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
40
|
-
* @attr {String} type - Applies the defined value as the type attribute on auro-input.
|
|
41
32
|
* @slot - Default slot for the menu content.
|
|
42
33
|
* @slot label - Defines the content of the label.
|
|
43
34
|
* @slot helpText - Defines the content of the helpText.
|
|
@@ -52,32 +43,10 @@ export class AuroCombobox extends LitElement {
|
|
|
52
43
|
|
|
53
44
|
this.noFilter = false;
|
|
54
45
|
this.validity = undefined;
|
|
55
|
-
this.value =
|
|
56
|
-
this.optionSelected =
|
|
46
|
+
this.value = undefined;
|
|
47
|
+
this.optionSelected = undefined;
|
|
57
48
|
|
|
58
49
|
this.privateDefaults();
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @private
|
|
62
|
-
*/
|
|
63
|
-
this.validation = new AuroFormValidation();
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @private
|
|
67
|
-
*/
|
|
68
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* @private
|
|
72
|
-
*/
|
|
73
|
-
this.isHiddenWhileLoading = false;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Generate unique names for dependency components.
|
|
77
|
-
*/
|
|
78
|
-
const versioning = new AuroDependencyVersioning();
|
|
79
|
-
this.dropdownTag = versioning.generateTag('auro-dropdown', dropdownVersion, AuroDropdown);
|
|
80
|
-
this.inputTag = versioning.generateTag('auro-input', inputVersion, AuroInput);
|
|
81
50
|
}
|
|
82
51
|
|
|
83
52
|
/**
|
|
@@ -88,6 +57,17 @@ export class AuroCombobox extends LitElement {
|
|
|
88
57
|
this.availableOptions = [];
|
|
89
58
|
this.optionActive = null;
|
|
90
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);
|
|
91
71
|
}
|
|
92
72
|
|
|
93
73
|
// This function is to define props used within the scope of this component
|
|
@@ -96,87 +76,123 @@ export class AuroCombobox extends LitElement {
|
|
|
96
76
|
static get properties() {
|
|
97
77
|
return {
|
|
98
78
|
// ...super.properties,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
type: String
|
|
105
|
-
},
|
|
106
|
-
setCustomValidityCustomError: {
|
|
107
|
-
type: String
|
|
108
|
-
},
|
|
109
|
-
setCustomValidityValueMissing: {
|
|
110
|
-
type: String
|
|
111
|
-
},
|
|
112
|
-
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: {
|
|
113
84
|
type: String,
|
|
114
85
|
reflect: true
|
|
115
86
|
},
|
|
116
|
-
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* When attribute is present auro-menu will apply checkmarks to selected options.
|
|
90
|
+
*/
|
|
91
|
+
checkmark: {
|
|
117
92
|
type: Boolean,
|
|
118
93
|
reflect: true
|
|
119
94
|
},
|
|
120
|
-
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* If set, disables the combobox.
|
|
98
|
+
*/
|
|
99
|
+
disabled: {
|
|
121
100
|
type: Boolean,
|
|
122
101
|
reflect: true
|
|
123
102
|
},
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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,
|
|
128
109
|
reflect: true
|
|
129
110
|
},
|
|
130
|
-
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* If set, combobox will not filter menuoptions based in input.
|
|
114
|
+
*/
|
|
115
|
+
noFilter: {
|
|
131
116
|
type: Boolean,
|
|
132
117
|
reflect: true
|
|
133
118
|
},
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* If set, disables auto-validation on blur.
|
|
122
|
+
*/
|
|
123
|
+
noValidate: {
|
|
124
|
+
type: Boolean
|
|
137
125
|
},
|
|
138
|
-
|
|
139
|
-
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the current selected option.
|
|
129
|
+
*/
|
|
130
|
+
optionSelected: {
|
|
131
|
+
type: Object,
|
|
132
|
+
converter: arrayConverter,
|
|
133
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
140
134
|
},
|
|
141
|
-
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Populates the `required` attribute on the input. Used for client-side validation.
|
|
138
|
+
*/
|
|
139
|
+
required: {
|
|
142
140
|
type: Boolean,
|
|
143
141
|
reflect: true
|
|
144
142
|
},
|
|
145
143
|
|
|
146
144
|
/**
|
|
147
|
-
*
|
|
145
|
+
* Sets a custom help text message to display for all validityStates.
|
|
148
146
|
*/
|
|
149
|
-
|
|
147
|
+
setCustomValidity: {
|
|
148
|
+
type: String
|
|
149
|
+
},
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* Custom help text message to display when validity = `customError`.
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
setCustomValidityCustomError: {
|
|
155
|
+
type: String
|
|
156
|
+
},
|
|
155
157
|
|
|
156
158
|
/**
|
|
157
|
-
*
|
|
159
|
+
* Custom help text message to display when validity = `valueMissing`.
|
|
158
160
|
*/
|
|
159
|
-
|
|
161
|
+
setCustomValidityValueMissing: {
|
|
162
|
+
type: String
|
|
163
|
+
},
|
|
160
164
|
|
|
161
165
|
/**
|
|
162
|
-
*
|
|
166
|
+
* If set, the `icon` attribute will be applied to the trigger `auro-input` element.
|
|
163
167
|
*/
|
|
164
|
-
|
|
168
|
+
triggerIcon: {
|
|
169
|
+
type: Boolean,
|
|
170
|
+
reflect: true
|
|
171
|
+
},
|
|
165
172
|
|
|
166
173
|
/**
|
|
167
|
-
*
|
|
174
|
+
* Applies the defined value as the type attribute on auro-input.
|
|
168
175
|
*/
|
|
169
|
-
|
|
176
|
+
type: {
|
|
177
|
+
type: String,
|
|
178
|
+
reflect: true
|
|
179
|
+
},
|
|
170
180
|
|
|
171
181
|
/**
|
|
172
|
-
*
|
|
182
|
+
* Specifies the `validityState` this element is in.
|
|
173
183
|
*/
|
|
174
|
-
|
|
184
|
+
validity: {
|
|
185
|
+
type: String,
|
|
186
|
+
reflect: true
|
|
187
|
+
},
|
|
175
188
|
|
|
176
189
|
/**
|
|
177
|
-
*
|
|
190
|
+
* Value selected for the dropdown menu.
|
|
178
191
|
*/
|
|
179
|
-
|
|
192
|
+
value: {
|
|
193
|
+
converter: arrayConverter,
|
|
194
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
195
|
+
},
|
|
180
196
|
};
|
|
181
197
|
}
|
|
182
198
|
|
|
@@ -205,6 +221,33 @@ export class AuroCombobox extends LitElement {
|
|
|
205
221
|
this.generateOptionsArray();
|
|
206
222
|
this.availableOptions = [];
|
|
207
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
|
+
|
|
208
251
|
if (this.noFilter) {
|
|
209
252
|
this.availableOptions = [...this.options];
|
|
210
253
|
} else {
|
|
@@ -311,10 +354,6 @@ export class AuroCombobox extends LitElement {
|
|
|
311
354
|
this.dropdown.addEventListener('auroDropdown-triggerClick', () => {
|
|
312
355
|
this.showBib();
|
|
313
356
|
});
|
|
314
|
-
|
|
315
|
-
if (!this.dropdown.hasAttribute('aria-expanded')) {
|
|
316
|
-
this.dropdown.setAttribute('aria-expanded', this.dropdown.isPopoverVisible);
|
|
317
|
-
}
|
|
318
357
|
}
|
|
319
358
|
|
|
320
359
|
/**
|
|
@@ -345,16 +384,16 @@ export class AuroCombobox extends LitElement {
|
|
|
345
384
|
|
|
346
385
|
// handle the menu event for an option selection
|
|
347
386
|
this.menu.addEventListener('auroMenu-selectedOption', () => {
|
|
348
|
-
// dropdown bib should hide when making a selection
|
|
349
|
-
this.hideBib();
|
|
350
|
-
|
|
351
387
|
if (this.menu.optionSelected) {
|
|
352
|
-
|
|
353
|
-
|
|
388
|
+
const [selected] = this.menu.optionSelected;
|
|
389
|
+
|
|
390
|
+
if (!this.optionSelected || this.optionSelected[0] !== selected) {
|
|
391
|
+
this.optionSelected = [selected];
|
|
354
392
|
}
|
|
355
393
|
|
|
356
|
-
if (this.value !== this.optionSelected.value) {
|
|
357
|
-
this.value = this.optionSelected.value;
|
|
394
|
+
if (!this.value || this.value[0] !== this.optionSelected[0].value) {
|
|
395
|
+
this.value = [this.optionSelected[0].value];
|
|
396
|
+
this.menu.value = this.value;
|
|
358
397
|
}
|
|
359
398
|
|
|
360
399
|
if (this.input.value !== this.optionSelected.textContent) {
|
|
@@ -376,6 +415,9 @@ export class AuroCombobox extends LitElement {
|
|
|
376
415
|
composed: true,
|
|
377
416
|
}));
|
|
378
417
|
}
|
|
418
|
+
|
|
419
|
+
// dropdown bib should hide when making a selection
|
|
420
|
+
this.hideBib();
|
|
379
421
|
});
|
|
380
422
|
|
|
381
423
|
this.menu.addEventListener('auroMenu-customEventFired', () => {
|
|
@@ -387,7 +429,7 @@ export class AuroCombobox extends LitElement {
|
|
|
387
429
|
});
|
|
388
430
|
|
|
389
431
|
this.menu.addEventListener('auroMenu-selectValueFailure', () => {
|
|
390
|
-
this.
|
|
432
|
+
this.menu.clearSelection();
|
|
391
433
|
});
|
|
392
434
|
|
|
393
435
|
this.menu.addEventListener('auroMenu-selectValueReset', () => {
|
|
@@ -412,59 +454,12 @@ export class AuroCombobox extends LitElement {
|
|
|
412
454
|
*/
|
|
413
455
|
this.addEventListener('focusout', () => {
|
|
414
456
|
if (document.activeElement !== this) {
|
|
415
|
-
this.
|
|
457
|
+
this.validate();
|
|
416
458
|
}
|
|
417
459
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
});
|
|
422
|
-
|
|
423
|
-
this.input.addEventListener('input', () => {
|
|
424
|
-
this.menu.matchWord = this.input.value;
|
|
425
|
-
this.optionActive = null;
|
|
426
|
-
|
|
427
|
-
if (this.value !== this.input.value) {
|
|
428
|
-
this.value = this.input.value;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
if (this.value !== this.menu.value) {
|
|
432
|
-
this.menu.value = this.value;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
436
|
-
this.optionSelected = undefined;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
this.menu.resetOptionsStates();
|
|
440
|
-
|
|
441
|
-
this.handleMenuOptions();
|
|
442
|
-
|
|
443
|
-
this.handleInputValueChange();
|
|
444
|
-
// validate only if the value was set programmatically
|
|
445
|
-
if (document.activeElement !== this) {
|
|
446
|
-
this.validation.validate(this);
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
// hide the menu if the value is empty otherwise show if there are available suggestions
|
|
450
|
-
if (this.input.value && this.input.value.length === 0) {
|
|
451
|
-
this.hideBib();
|
|
452
|
-
this.classList.remove('combobox-filled');
|
|
453
|
-
} else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
|
|
454
|
-
const hasFocus = this.contains(document.activeElement);
|
|
455
|
-
|
|
456
|
-
// if the focus is within the combobox, then show the bib
|
|
457
|
-
// this will prevent the bib from being shown while loading & presetting the value
|
|
458
|
-
if (hasFocus) {
|
|
459
|
-
this.showBib();
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
this.classList.add('combobox-filled');
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
// force the dropdown bib to hide if the input value has no matching suggestions
|
|
466
|
-
if (!this.availableOptions || this.availableOptions.length === 0) {
|
|
467
|
-
this.hideBib();
|
|
460
|
+
// Set to undefined if empty
|
|
461
|
+
if (this.value && this.value.length === 0) {
|
|
462
|
+
this.value = undefined;
|
|
468
463
|
}
|
|
469
464
|
});
|
|
470
465
|
|
|
@@ -502,9 +497,17 @@ export class AuroCombobox extends LitElement {
|
|
|
502
497
|
* @returns {void}
|
|
503
498
|
*/
|
|
504
499
|
handleInputValueChange() {
|
|
505
|
-
|
|
506
|
-
|
|
500
|
+
this.menu.matchWord = this.input.value;
|
|
501
|
+
this.optionActive = null;
|
|
502
|
+
|
|
503
|
+
let hasChange = false;
|
|
507
504
|
|
|
505
|
+
// Store value as array or undefined
|
|
506
|
+
if (!this.value || this.value[0] !== this.input.value) {
|
|
507
|
+
// Menu expects an array
|
|
508
|
+
this.menu.value = this.input.value ? [this.input.value] : undefined;
|
|
509
|
+
this.value = this.menu.value;
|
|
510
|
+
hasChange = true;
|
|
508
511
|
this.dispatchEvent(new CustomEvent('auroCombobox-valueSet', {
|
|
509
512
|
bubbles: true,
|
|
510
513
|
cancelable: false,
|
|
@@ -512,9 +515,42 @@ export class AuroCombobox extends LitElement {
|
|
|
512
515
|
}));
|
|
513
516
|
}
|
|
514
517
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
+
if (this.optionSelected && this.input.value !== this.optionSelected.textContent) {
|
|
519
|
+
this.optionSelected = undefined;
|
|
520
|
+
hasChange = true;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
if (!hasChange) {
|
|
524
|
+
return;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
this.menu.clearSelection();
|
|
528
|
+
this.handleMenuOptions();
|
|
529
|
+
|
|
530
|
+
// Validate only if the value was set programmatically
|
|
531
|
+
if (document.activeElement !== this) {
|
|
532
|
+
this.validate();
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
// Hide menu if value is empty, otherwise show if there are available suggestions
|
|
536
|
+
if (this.input.value && this.input.value.length === 0) {
|
|
537
|
+
this.hideBib();
|
|
538
|
+
this.classList.remove('combobox-filled');
|
|
539
|
+
} else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
|
|
540
|
+
const hasFocus = this.contains(document.activeElement);
|
|
541
|
+
|
|
542
|
+
// If focus is within the combobox, show bib
|
|
543
|
+
// Prevent bib from being shown while loading & presetting the value
|
|
544
|
+
if (hasFocus) {
|
|
545
|
+
this.showBib();
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
this.classList.add('combobox-filled');
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
// Force dropdown bib to hide if input value has no matching suggestions
|
|
552
|
+
if (!this.availableOptions || this.availableOptions.length === 0) {
|
|
553
|
+
this.hideBib();
|
|
518
554
|
}
|
|
519
555
|
}
|
|
520
556
|
|
|
@@ -552,14 +588,18 @@ export class AuroCombobox extends LitElement {
|
|
|
552
588
|
|
|
553
589
|
if (this.dropdown.isPopoverVisible) {
|
|
554
590
|
if (evt.key === 'ArrowUp') {
|
|
555
|
-
this.menu.
|
|
591
|
+
this.menu.navigateOptions('up');
|
|
556
592
|
}
|
|
557
593
|
|
|
558
594
|
if (evt.key === 'ArrowDown') {
|
|
559
|
-
this.menu.
|
|
595
|
+
this.menu.navigateOptions('down');
|
|
560
596
|
}
|
|
561
597
|
}
|
|
562
598
|
});
|
|
599
|
+
|
|
600
|
+
this.addEventListener('focusin', () => {
|
|
601
|
+
this.focus();
|
|
602
|
+
});
|
|
563
603
|
}
|
|
564
604
|
|
|
565
605
|
/**
|
|
@@ -615,20 +655,31 @@ export class AuroCombobox extends LitElement {
|
|
|
615
655
|
reset() {
|
|
616
656
|
this.input.reset();
|
|
617
657
|
this.validation.reset(this);
|
|
658
|
+
this.menu.value = undefined;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Validates value.
|
|
663
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
664
|
+
*/
|
|
665
|
+
validate(force = false) {
|
|
666
|
+
this.validation.validate(this, force);
|
|
618
667
|
}
|
|
619
668
|
|
|
620
669
|
updated(changedProperties) {
|
|
621
670
|
// After the component is ready, send direct value changes to auro-menu.
|
|
622
671
|
if (changedProperties.has('value')) {
|
|
623
672
|
if (this.value) {
|
|
624
|
-
if (this.optionSelected && this.optionSelected.value === this.value) {
|
|
673
|
+
if (this.optionSelected && this.optionSelected[0] && this.optionSelected[0].value === this.value[0]) {
|
|
625
674
|
// If value updates and the previously selected option already matches the new value
|
|
626
675
|
// just update the input value to use the textContent of the optionSelected
|
|
627
|
-
this.input.value = this.optionSelected.textContent;
|
|
676
|
+
this.input.value = this.optionSelected[0].textContent;
|
|
628
677
|
} else {
|
|
629
678
|
// Otherwise just enter the value into the input
|
|
630
679
|
this.optionSelected = undefined;
|
|
631
|
-
|
|
680
|
+
// Use first value since combobox is single-select
|
|
681
|
+
const [inputValue] = this.value;
|
|
682
|
+
this.input.value = inputValue;
|
|
632
683
|
|
|
633
684
|
// If the value got set programmatically make sure we hide the bib
|
|
634
685
|
if (!this.contains(document.activeElement)) {
|
|
@@ -636,21 +687,20 @@ export class AuroCombobox extends LitElement {
|
|
|
636
687
|
}
|
|
637
688
|
}
|
|
638
689
|
} else {
|
|
639
|
-
this.
|
|
640
|
-
this.menu.value = undefined;
|
|
690
|
+
this.reset();
|
|
641
691
|
}
|
|
642
692
|
}
|
|
643
693
|
|
|
644
694
|
if (changedProperties.has('error')) {
|
|
645
695
|
this.input.setAttribute('error', this.getAttribute('error'));
|
|
646
|
-
this.
|
|
696
|
+
this.validate();
|
|
647
697
|
}
|
|
648
698
|
}
|
|
649
699
|
|
|
650
700
|
/**
|
|
651
701
|
* Watch for slot changes and recalculate the menuoptions.
|
|
652
702
|
* @private
|
|
653
|
-
* @param {Event} event - slotchange event
|
|
703
|
+
* @param {Event} event - `slotchange` event.
|
|
654
704
|
* @returns {void}
|
|
655
705
|
*/
|
|
656
706
|
handleSlotChange(event) {
|
|
@@ -701,22 +751,24 @@ export class AuroCombobox extends LitElement {
|
|
|
701
751
|
setCustomValidity="${this.setCustomValidity}"
|
|
702
752
|
setCustomValidityValueMissing="${this.setCustomValidityValueMissing}"
|
|
703
753
|
setCustomValidityCustomError="${this.setCustomValidityCustomError}"
|
|
704
|
-
.
|
|
754
|
+
.autocomplete="${this.autocomplete}"
|
|
755
|
+
.type="${this.type}"
|
|
756
|
+
@input="${this.handleInputValueChange}">
|
|
705
757
|
<slot name="label" slot="label"></slot>
|
|
706
758
|
</${this.inputTag}>
|
|
707
759
|
<div class="menuWrapper">
|
|
708
760
|
</div>
|
|
709
|
-
<
|
|
761
|
+
<p slot="helpText">
|
|
710
762
|
<!-- Help text and error message template -->
|
|
711
763
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
712
764
|
? html`
|
|
713
765
|
<slot name="helpText"></slot>
|
|
714
766
|
` : html`
|
|
715
|
-
<
|
|
767
|
+
<span role="alert" aria-live="assertive" part="helpText">
|
|
716
768
|
${this.errorMessage}
|
|
717
|
-
</
|
|
769
|
+
</span>`
|
|
718
770
|
}
|
|
719
|
-
</
|
|
771
|
+
</p>
|
|
720
772
|
</${this.dropdownTag}>
|
|
721
773
|
</div>
|
|
722
774
|
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '3.0.0';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '4.2.0';
|