@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-css.d.ts","sourceRoot":"","sources":["../../src/styles/color-css.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"counter-button-color-css.d.ts","sourceRoot":"","sources":["../../src/styles/counter-button-color-css.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"counter-button-css.d.ts","sourceRoot":"","sources":["../../src/styles/counter-button-css.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"counter-button-tokens-css.d.ts","sourceRoot":"","sources":["../../src/styles/counter-button-tokens-css.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"counter-wrapper-color-css.d.ts","sourceRoot":"","sources":["../../src/styles/counter-wrapper-color-css.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"counter-wrapper-css.d.ts","sourceRoot":"","sources":["../../src/styles/counter-wrapper-css.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens-css.d.ts","sourceRoot":"","sources":["../../src/styles/tokens-css.js"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@
|
|
2
|
+
"name": "@aurodesignsystem/auro-counter",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"description": "auro-counter HTML custom element",
|
|
5
5
|
"repository": {
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"dependencies": {
|
|
15
|
+
"@alaskaairux/icons": "^4.44.1",
|
|
16
|
+
"@aurodesignsystem/auro-button": "^8.2.1",
|
|
15
17
|
"chalk": "^5.2.0",
|
|
16
18
|
"lit": "^3.2.1"
|
|
17
19
|
},
|
|
@@ -23,6 +25,7 @@
|
|
|
23
25
|
"@auro-formkit/build-tools": "*",
|
|
24
26
|
"@auro-formkit/config": "*",
|
|
25
27
|
"@auro-formkit/typescript": "*",
|
|
28
|
+
"@auro-formkit/utils": "*",
|
|
26
29
|
"@aurodesignsystem/design-tokens": "^4.12.1",
|
|
27
30
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
28
31
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
@@ -33,10 +36,13 @@
|
|
|
33
36
|
"web-component-analyzer": "^2.0.0"
|
|
34
37
|
},
|
|
35
38
|
"scripts": {
|
|
36
|
-
"build": "run-s
|
|
39
|
+
"build": "run-s sass bundler build:docs types",
|
|
40
|
+
"build:version": "node ./scripts/version.mjs",
|
|
37
41
|
"build:sass": "sass --no-source-map --load-path=../../node_modules \"./src/styles/:./src/styles/\"",
|
|
38
42
|
"build:watch": "nodemon -e scss,js --watch src --ignore \"*.css\" --ignore \"*-css.js\" --exec \"npm run build\"",
|
|
43
|
+
"build:docs": "wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component counter",
|
|
39
44
|
"bundler": "rollup -c node:@auro-formkit/config/rollup",
|
|
45
|
+
"sass": "run-s build:sass sass:render",
|
|
40
46
|
"clean": "rm -rf dist build",
|
|
41
47
|
"dev": "concurrently \"npm run build:watch\" \"npm run serve\"",
|
|
42
48
|
"postCss:component": "node ../../node_modules/@aurodesignsystem/auro-library/scripts/build/postCss.mjs",
|
|
@@ -44,7 +50,7 @@
|
|
|
44
50
|
"serve": "web-dev-server --open demo/ --node-resolve --watch",
|
|
45
51
|
"types": "tsc --project tsconfig.json",
|
|
46
52
|
"lint": "npm-run-all scssLint esLint",
|
|
47
|
-
"scssLint": "stylelint \"./src/**/*.scss\"",
|
|
53
|
+
"scssLint": "stylelint \"./src/**/*.scss\" --fix",
|
|
48
54
|
"esLint": "eslint \"./src/**/*.js\""
|
|
49
55
|
}
|
|
50
56
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// Copyright (c) 2022 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
|
+
// See LICENSE in the project root for license information.
|
|
3
|
+
|
|
4
|
+
// ---------------------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
import styleButtonTokenCss from "./styles/counter-button-tokens-css.js";
|
|
7
|
+
import styleButtonColorCss from "./styles/counter-button-color-css.js";
|
|
8
|
+
import styleButtonCss from "./styles/counter-button-css.js";
|
|
9
|
+
|
|
10
|
+
import { AuroButton } from "@aurodesignsystem/auro-button/src/auro-button.js";
|
|
11
|
+
|
|
12
|
+
import * as RuntimeUtils from '@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs';
|
|
13
|
+
|
|
14
|
+
// build the component class
|
|
15
|
+
export class AuroCounterButton extends AuroButton {
|
|
16
|
+
|
|
17
|
+
static get styles() {
|
|
18
|
+
return [
|
|
19
|
+
styleButtonCss,
|
|
20
|
+
styleButtonColorCss,
|
|
21
|
+
styleButtonTokenCss
|
|
22
|
+
];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* This will register this element with the browser.
|
|
27
|
+
* @param {string} [name="auro-counter-button"] - The name of element that you want to register to.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* AuroCounterButton.register("custom-counter-button") // this will register this element to <custom-counter-button/>
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
static register(name = "auro-counter-button") {
|
|
34
|
+
RuntimeUtils.default.prototype.registerComponent(name, AuroCounterButton);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* istanbul ignore else */
|
|
39
|
+
// define the name of the custom component
|
|
40
|
+
if (!customElements.get("auro-counter-button")) {
|
|
41
|
+
customElements.define("auro-counter-button", AuroCounterButton);
|
|
42
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable lit/no-invalid-html, lit/binding-positions */
|
|
2
|
+
|
|
3
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
4
|
// See LICENSE in the project root for license information.
|
|
3
5
|
|
|
4
6
|
// ---------------------------------------------------------------------
|
|
@@ -8,7 +10,60 @@ import { LitElement } from "lit";
|
|
|
8
10
|
|
|
9
11
|
import styleCss from "./styles/counter-group-css.js";
|
|
10
12
|
|
|
13
|
+
import AuroLibraryRuntimeUtils from "@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs";
|
|
14
|
+
import AuroFormValidation from "@auro-formkit/form-validation";
|
|
15
|
+
|
|
16
|
+
import { AuroDependencyVersioning } from "@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs";
|
|
17
|
+
import { AuroDropdown } from "@aurodesignsystem/auro-dropdown";
|
|
18
|
+
import dropdownVersion from "./dropdownVersion.js";
|
|
19
|
+
|
|
20
|
+
import './auro-counter-wrapper.js';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Auro Counter Group is a group of counter components.
|
|
24
|
+
*
|
|
25
|
+
* This web component provides a flexible interface for grouping multiple counters, supporting
|
|
26
|
+
* validation, custom validity messages, and disabled states based on the group's value.
|
|
27
|
+
*
|
|
28
|
+
* @element auro-counter-group
|
|
29
|
+
* @extends LitElement
|
|
30
|
+
* @slot Default - Slot for counter elements.
|
|
31
|
+
*/
|
|
11
32
|
export class AuroCounterGroup extends LitElement {
|
|
33
|
+
constructor() {
|
|
34
|
+
super();
|
|
35
|
+
|
|
36
|
+
this.isDropdown = false;
|
|
37
|
+
|
|
38
|
+
this.max = undefined;
|
|
39
|
+
this.min = undefined;
|
|
40
|
+
this.total = undefined;
|
|
41
|
+
this.validity = undefined;
|
|
42
|
+
this.value = undefined;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
this.counters = undefined;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @private
|
|
51
|
+
*/
|
|
52
|
+
this.validation = new AuroFormValidation();
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Generate unique names for dependency components.
|
|
56
|
+
* @private
|
|
57
|
+
*/
|
|
58
|
+
const versioning = new AuroDependencyVersioning();
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Dynamically generated dropdown tag.
|
|
62
|
+
* @private
|
|
63
|
+
* @type {string}
|
|
64
|
+
*/
|
|
65
|
+
this.dropdownTag = versioning.generateTag("auro-dropdown", dropdownVersion, AuroDropdown);
|
|
66
|
+
}
|
|
12
67
|
|
|
13
68
|
static get styles() {
|
|
14
69
|
return [styleCss];
|
|
@@ -16,33 +71,187 @@ export class AuroCounterGroup extends LitElement {
|
|
|
16
71
|
|
|
17
72
|
static get properties() {
|
|
18
73
|
return {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Indicates if the counter group is displayed as a dropdown.
|
|
77
|
+
*/
|
|
78
|
+
isDropdown: {
|
|
79
|
+
type: Boolean
|
|
80
|
+
},
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The maximum value allowed for the whole group of counters.
|
|
84
|
+
*/
|
|
85
|
+
max: {
|
|
86
|
+
type: Number,
|
|
87
|
+
reflect: true,
|
|
22
88
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The minimum value allowed for the whole group of counters.
|
|
92
|
+
*/
|
|
93
|
+
min: {
|
|
94
|
+
type: Number,
|
|
95
|
+
reflect: true,
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Reflects the validity state.
|
|
100
|
+
*/
|
|
101
|
+
validity: {
|
|
102
|
+
type: String,
|
|
103
|
+
reflect: true,
|
|
26
104
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The total value of the counters.
|
|
108
|
+
*/
|
|
109
|
+
total: {
|
|
110
|
+
type: Number,
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The current individual values of the nested counters.
|
|
115
|
+
*/
|
|
116
|
+
value: {
|
|
117
|
+
type: Object,
|
|
30
118
|
}
|
|
31
119
|
};
|
|
32
120
|
}
|
|
33
121
|
|
|
122
|
+
/**
|
|
123
|
+
* Dynamically disables increment/decrement buttons on a counter based on group value.
|
|
124
|
+
* This method checks the total aggregated value against the group's min and max properties.
|
|
125
|
+
* If the total value is at or below the minimum, the counter's decrement button is disabled; if at or above the maximum, the increment button is disabled.
|
|
126
|
+
*
|
|
127
|
+
* @param {HTMLElement} counter - The counter element to potentially disable.
|
|
128
|
+
* @private
|
|
129
|
+
*/
|
|
130
|
+
manageDisabled(counter) {
|
|
131
|
+
counter.disableMax = false;
|
|
132
|
+
counter.disableMin = false;
|
|
133
|
+
|
|
134
|
+
if (this.total <= this.min) {
|
|
135
|
+
counter.disableMin = true;
|
|
136
|
+
} else if (this.total >= this.max) {
|
|
137
|
+
counter.disableMax = true;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Attaches input event listeners to all auro-counter elements within the component.
|
|
143
|
+
* This method selects all `auro-counter` and `[auro-counter]` elements and adds an `input` event listener to each.
|
|
144
|
+
* The listener calls `this.updateValue()` whenever the value of a counter changes.
|
|
145
|
+
* @private
|
|
146
|
+
*/
|
|
147
|
+
configureCounters() {
|
|
148
|
+
this.counters = this.querySelectorAll("auro-counter, [auro-counter]");
|
|
149
|
+
this.counters.forEach((counter) => {
|
|
150
|
+
counter.addEventListener("input", () => this.updateValue());
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Configures the dropdown counters by selecting all `auro-counter` elements
|
|
156
|
+
* and appending them to the `auro-counter-wrapper` element within the shadow DOM.
|
|
157
|
+
* Adds an event listener to each counter to update the value on input.
|
|
158
|
+
* @private
|
|
159
|
+
*/
|
|
160
|
+
configureDropdownCounters() {
|
|
161
|
+
const counterWrapper = this.shadowRoot.querySelector('auro-counter-wrapper');
|
|
162
|
+
this.counters = this.querySelectorAll("auro-counter, [auro-counter]");
|
|
163
|
+
|
|
164
|
+
this.counters.forEach((counter) => {
|
|
165
|
+
counterWrapper.append(counter);
|
|
166
|
+
});
|
|
167
|
+
|
|
168
|
+
this.counters = counterWrapper.querySelectorAll("auro-counter, [auro-counter]");
|
|
169
|
+
this.counters.forEach((counter) => {
|
|
170
|
+
counter.addEventListener("input", () => this.updateValue());
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Safely converts a value to a number, returning 0 if invalid.
|
|
176
|
+
* @private
|
|
177
|
+
* @param {*} value - The value to convert.
|
|
178
|
+
* @returns {number} The converted number or 0 if invalid.
|
|
179
|
+
*/
|
|
180
|
+
safeNumberConversion(value) {
|
|
181
|
+
const num = Number(value);
|
|
182
|
+
return Number.isNaN(num) ? 0 : num;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Updates the aggregate value based on the values of contained auro-counter components.
|
|
187
|
+
* This method queries for all `auro-counter` elements, sums their values, and updates the component's `value` property.
|
|
188
|
+
* Additionally, it iterates through each counter and calls `manageDisabled()` on it.
|
|
189
|
+
* @private
|
|
190
|
+
*/
|
|
191
|
+
updateValue() {
|
|
192
|
+
this.value = Array.from(this.counters).reduce((acc, counter, index) => {
|
|
193
|
+
const name = counter.hasAttribute('name') ? counter.getAttribute('name') : `counter-${index}`;
|
|
194
|
+
acc[name] = this.safeNumberConversion(counter.value);
|
|
195
|
+
return acc;
|
|
196
|
+
}, {});
|
|
197
|
+
|
|
198
|
+
this.total = Array.from(this.counters).reduce(
|
|
199
|
+
(total, counter) => total + this.safeNumberConversion(counter.value),
|
|
200
|
+
0,
|
|
201
|
+
);
|
|
202
|
+
|
|
203
|
+
this.counters.forEach((counter) => {
|
|
204
|
+
this.manageDisabled(counter);
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Validates value.
|
|
210
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
211
|
+
*/
|
|
212
|
+
validate(force = false) {
|
|
213
|
+
this.validation.validate(this, force);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
updated(changedProperties) {
|
|
217
|
+
if (changedProperties.has("value")) {
|
|
218
|
+
this.validate();
|
|
219
|
+
this.dispatchEvent(
|
|
220
|
+
new CustomEvent("input", {
|
|
221
|
+
detail: {
|
|
222
|
+
total: this.total,
|
|
223
|
+
value: this.value
|
|
224
|
+
},
|
|
225
|
+
}),
|
|
226
|
+
{
|
|
227
|
+
bubble: true,
|
|
228
|
+
composable: true,
|
|
229
|
+
}
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Registers the custom element with the browser.
|
|
236
|
+
* @param {string} [name="auro-counter-group"] - Custom element name to register.
|
|
237
|
+
* @example
|
|
238
|
+
* AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
|
|
239
|
+
*/
|
|
240
|
+
static register(name = "auro-counter-group") {
|
|
241
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCounterGroup);
|
|
242
|
+
}
|
|
243
|
+
|
|
34
244
|
// function that renders the HTML and CSS into the scope of the component
|
|
35
245
|
render() {
|
|
36
246
|
return html`
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
247
|
+
${this.isDropdown
|
|
248
|
+
? html`<${this.dropdownTag} common chevron>
|
|
249
|
+
<div slot="trigger">${this.total}<slot name="placeholder"></slot></div>
|
|
250
|
+
<auro-counter-wrapper isInDropdown>
|
|
251
|
+
</auro-counter-wrapper>
|
|
252
|
+
</${this.dropdownTag}>
|
|
253
|
+
<slot @slotchange=${() => this.configureDropdownCounters()}></slot>`
|
|
254
|
+
: html`<auro-counter-wrapper><slot @slotchange=${() => this.configureCounters()}></slot></auro-counter-wrapper>`
|
|
255
|
+
}`;
|
|
41
256
|
}
|
|
42
257
|
}
|
|
43
|
-
|
|
44
|
-
/* istanbul ignore else */
|
|
45
|
-
// define the name of the custom component
|
|
46
|
-
if (!customElements.get("auro-counter-group")) {
|
|
47
|
-
customElements.define("auro-counter-group", AuroCounterGroup);
|
|
48
|
-
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
|
+
// See LICENSE in the project root for license information.
|
|
3
|
+
|
|
4
|
+
// ---------------------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
import { html } from "lit/static-html.js";
|
|
7
|
+
import { LitElement } from "lit";
|
|
8
|
+
|
|
9
|
+
import styleCss from "./styles/counter-wrapper-css.js";
|
|
10
|
+
import colorCss from "./styles/counter-wrapper-color-css.js";
|
|
11
|
+
|
|
12
|
+
import AuroLibraryRuntimeUtils from "@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Auro Counter Wrapper is a group of counter components.
|
|
16
|
+
*
|
|
17
|
+
* This web component provides a flexible interface for grouping multiple counters, supporting
|
|
18
|
+
* validation, custom validity messages, and disabled states based on the group's value.
|
|
19
|
+
*
|
|
20
|
+
* @element auro-counter-group
|
|
21
|
+
* @extends LitElement
|
|
22
|
+
* @slot Default - Slot for counter elements.
|
|
23
|
+
*/
|
|
24
|
+
export class AuroCounterWrapper extends LitElement {
|
|
25
|
+
|
|
26
|
+
static get styles() {
|
|
27
|
+
return [
|
|
28
|
+
colorCss,
|
|
29
|
+
styleCss
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Registers the custom element with the browser.
|
|
35
|
+
* @param {string} [name="auro-counter-wrapper"] - Custom element name to register.
|
|
36
|
+
* @example
|
|
37
|
+
* AuroCounterWrapper.register("custom-counter-wrapper") // registers <custom-counter-wrapper/>
|
|
38
|
+
*/
|
|
39
|
+
static register(name = "auro-counter-wrapper") {
|
|
40
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCounterWrapper);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
44
|
+
render() {
|
|
45
|
+
return html`<slot></slot>`;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* istanbul ignore else */
|
|
50
|
+
// define the name of the custom component
|
|
51
|
+
if (!customElements.get("auro-counter-wrapper")) {
|
|
52
|
+
customElements.define("auro-counter-wrapper", AuroCounterWrapper);
|
|
53
|
+
}
|
|
54
|
+
|