@aurodesignsystem/auro-formkit 2.0.0-beta.1 → 2.0.0-beta.10
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/026e4d886ba97e63-meta.json +1 -0
- package/.turbo/cache/026e4d886ba97e63.tar.zst +0 -0
- package/.turbo/cache/080ca6155e637d5d-meta.json +1 -0
- package/.turbo/cache/080ca6155e637d5d.tar.zst +0 -0
- package/.turbo/cache/0b115e30ff606299-meta.json +1 -0
- package/.turbo/cache/0b115e30ff606299.tar.zst +0 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
- package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
- package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
- package/.turbo/cache/1c630fb3411e4a41-meta.json +1 -0
- package/.turbo/cache/1c630fb3411e4a41.tar.zst +0 -0
- package/.turbo/cache/24b19ac5895e5dd6-meta.json +1 -0
- package/.turbo/cache/24b19ac5895e5dd6.tar.zst +0 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
- package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
- package/.turbo/cache/29b72c73cbccb53d-meta.json +1 -0
- package/.turbo/cache/29b72c73cbccb53d.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
- package/.turbo/cache/3e647c5863d32e6f-meta.json +1 -0
- package/.turbo/cache/3e647c5863d32e6f.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
- package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
- package/.turbo/cache/43f5206cc4e69b44-meta.json +1 -0
- package/.turbo/cache/43f5206cc4e69b44.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
- package/.turbo/cache/4a85ec226b585fd5-meta.json +1 -0
- package/.turbo/cache/4a85ec226b585fd5.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
- package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
- package/.turbo/cache/50a29c70b93c57dd-meta.json +1 -0
- package/.turbo/cache/50a29c70b93c57dd.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/56455145cd768755-meta.json +1 -0
- package/.turbo/cache/56455145cd768755.tar.zst +0 -0
- package/.turbo/cache/5c06332cf9f132da-meta.json +1 -0
- package/.turbo/cache/5c06332cf9f132da.tar.zst +0 -0
- package/.turbo/cache/5e613afc6868d0e2-meta.json +1 -0
- package/.turbo/cache/5e613afc6868d0e2.tar.zst +0 -0
- package/.turbo/cache/6081837e8943b62e-meta.json +1 -0
- package/.turbo/cache/6081837e8943b62e.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/639dac15b979bedc-meta.json +1 -0
- package/.turbo/cache/639dac15b979bedc.tar.zst +0 -0
- package/.turbo/cache/664c2e08614fd212-meta.json +1 -0
- package/.turbo/cache/664c2e08614fd212.tar.zst +0 -0
- package/.turbo/cache/6c51b0ebfc086faa-meta.json +1 -0
- package/.turbo/cache/6c51b0ebfc086faa.tar.zst +0 -0
- package/.turbo/cache/7216d994164825fb-meta.json +1 -0
- package/.turbo/cache/7216d994164825fb.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.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/83a167e135cb431a-meta.json +1 -0
- package/.turbo/cache/83a167e135cb431a.tar.zst +0 -0
- package/.turbo/cache/8af27c076dc010c3-meta.json +1 -0
- package/.turbo/cache/8af27c076dc010c3.tar.zst +0 -0
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
- package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
- package/.turbo/cache/953c8216249d3509-meta.json +1 -0
- package/.turbo/cache/953c8216249d3509.tar.zst +0 -0
- package/.turbo/cache/95a5e76ffd8c5110-meta.json +1 -0
- package/.turbo/cache/95a5e76ffd8c5110.tar.zst +0 -0
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
- package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
- package/.turbo/cache/a8b0fa0a9aa707c5-meta.json +1 -0
- package/.turbo/cache/a8b0fa0a9aa707c5.tar.zst +0 -0
- package/.turbo/cache/b22ca87b2f7f9cc2-meta.json +1 -0
- package/.turbo/cache/b22ca87b2f7f9cc2.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/b7bbe2e7d44b77f0-meta.json +1 -0
- package/.turbo/cache/b7bbe2e7d44b77f0.tar.zst +0 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
- package/.turbo/cache/c2b51643f886a493-meta.json +1 -0
- package/.turbo/cache/c2b51643f886a493.tar.zst +0 -0
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
- package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c74d369a0475b124-meta.json +1 -0
- package/.turbo/cache/c74d369a0475b124.tar.zst +0 -0
- package/.turbo/cache/c7f5a276ddb73cf7-meta.json +1 -0
- package/.turbo/cache/c7f5a276ddb73cf7.tar.zst +0 -0
- package/.turbo/cache/c96933d40404e4c8-meta.json +1 -0
- package/.turbo/cache/c96933d40404e4c8.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/dad3d78b33edd9e4-meta.json +1 -0
- package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -0
- package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
- package/.turbo/cache/eb1dbe885532c1dc-meta.json +1 -0
- package/.turbo/cache/eb1dbe885532c1dc.tar.zst +0 -0
- package/.turbo/cache/f1f6744948f1b18f-meta.json +1 -0
- package/.turbo/cache/f1f6744948f1b18f.tar.zst +0 -0
- package/.turbo/cache/feefbc25d550c1cd-meta.json +1 -0
- package/.turbo/cache/feefbc25d550c1cd.tar.zst +0 -0
- package/.turbo/cache/ff4dbfffc29255ab-meta.json +1 -0
- package/.turbo/cache/ff4dbfffc29255ab.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +109 -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 +65 -65
- package/components/checkbox/demo/api.min.js +184 -84
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +184 -84
- package/components/checkbox/dist/auro-checkbox-group.d.ts +35 -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 +184 -84
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox-group.js +46 -17
- 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 +17 -15
- package/components/combobox/demo/api.min.js +754 -357
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +754 -357
- package/components/combobox/dist/auro-combobox.d.ts +11 -4
- 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 +752 -355
- 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 +75 -76
- 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 +179 -7
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +288 -14
- package/components/counter/.turbo/turbo-bundler.log +4 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +39 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +98 -1016
- package/components/counter/demo/api.min.js +1670 -32
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +194 -0
- package/components/counter/demo/index.min.js +1702 -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 +77 -6
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter.d.ts +78 -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/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/counter/dist/formkit/auro-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 +1670 -32
- 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-group-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-group-color-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 +150 -21
- package/components/counter/src/auro-counter.js +272 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/formkit/auro-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-color-css.js +2 -0
- package/components/counter/src/styles/counter-group-color.css +4 -0
- package/components/counter/src/styles/counter-group-color.scss +19 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +13 -1
- package/components/counter/src/styles/counter-group.scss +14 -1
- 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 +59 -59
- 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 +177 -131
- package/components/datepicker/demo/api.min.js +995 -559
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +995 -559
- package/components/datepicker/dist/auro-datepicker.d.ts +89 -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 +995 -559
- 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 +142 -104
- 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 +18 -26
- package/components/form/demo/api.min.js +4 -4
- package/components/form/demo/index.min.js +4 -4
- package/components/form/dist/index.js +4 -4
- package/components/form/package.json +1 -1
- 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 +146 -311
- package/components/input/demo/api.min.js +365 -145
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +365 -145
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +155 -84
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +365 -145
- 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 +252 -85
- 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 +20 -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.min.js +7 -7
- package/components/menu/demo/index.min.js +7 -7
- package/components/menu/dist/auro-menu.d.ts +1 -1
- package/components/menu/dist/index.js +7 -7
- package/components/menu/package.json +1 -1
- package/components/menu/src/auro-menu.js +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-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 +3 -1
- package/components/radio/demo/api.min.js +111 -57
- package/components/radio/demo/index.min.js +111 -57
- package/components/radio/dist/index.js +111 -57
- package/components/radio/package.json +1 -1
- package/components/radio/src/auro-radio-group.js +1 -1
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +30 -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 +45 -110
- package/components/select/demo/api.min.js +434 -279
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +434 -275
- package/components/select/dist/auro-select.d.ts +64 -51
- 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 +429 -257
- package/components/select/package.json +3 -3
- package/components/select/src/auro-select.js +101 -119
- 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 +7 -0
- package/components/select/src/styles/style.scss +11 -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/141bb7d9a95e288b-meta.json +0 -1
- package/.turbo/cache/141bb7d9a95e288b.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/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/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/bb8b41cd0ade3986-meta.json +0 -1
- package/.turbo/cache/bb8b41cd0ade3986.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/cd845bb6102c589a-meta.json +0 -1
- package/.turbo/cache/cd845bb6102c589a.tar.zst +0 -0
- package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
- package/.turbo/cache/ce67b6522dd09e64.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-group-color-css.d.ts","sourceRoot":"","sources":["../../src/styles/counter-group-color-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,48 +1,177 @@
|
|
|
1
|
-
// Copyright (c)
|
|
1
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
2
|
// See LICENSE in the project root for license information.
|
|
3
3
|
|
|
4
4
|
// ---------------------------------------------------------------------
|
|
5
5
|
|
|
6
6
|
import { html } from "lit/static-html.js";
|
|
7
7
|
import { LitElement } from "lit";
|
|
8
|
-
|
|
9
8
|
import styleCss from "./styles/counter-group-css.js";
|
|
9
|
+
import colorCss from "./styles/counter-group-color-css.js";
|
|
10
|
+
import AuroLibraryRuntimeUtils from "@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs";
|
|
11
|
+
import AuroFormValidation from "@auro-formkit/form-validation";
|
|
10
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Auro Counter Group is a group of counter components.
|
|
15
|
+
*
|
|
16
|
+
* This web component provides a flexible interface for grouping multiple counters, supporting
|
|
17
|
+
* validation, custom validity messages, and disabled states based on the group's value.
|
|
18
|
+
*
|
|
19
|
+
* @element auro-counter-group
|
|
20
|
+
* @extends LitElement
|
|
21
|
+
* @slot Default - Slot for counter elements.
|
|
22
|
+
*/
|
|
11
23
|
export class AuroCounterGroup extends LitElement {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
this.max = undefined;
|
|
28
|
+
this.min = undefined;
|
|
29
|
+
this.validity = undefined;
|
|
30
|
+
this.value = undefined;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
this.validation = new AuroFormValidation();
|
|
36
|
+
}
|
|
12
37
|
|
|
13
38
|
static get styles() {
|
|
14
|
-
return [
|
|
39
|
+
return [
|
|
40
|
+
colorCss,
|
|
41
|
+
styleCss
|
|
42
|
+
];
|
|
15
43
|
}
|
|
16
44
|
|
|
17
45
|
static get properties() {
|
|
18
46
|
return {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The maximum value allowed for the whole group of counters.
|
|
50
|
+
*/
|
|
51
|
+
max: {
|
|
52
|
+
type: Number,
|
|
53
|
+
reflect: true,
|
|
22
54
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The minimum value allowed for the whole group of counters.
|
|
58
|
+
*/
|
|
59
|
+
min: {
|
|
60
|
+
type: Number,
|
|
61
|
+
reflect: true,
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Reflects the validity state.
|
|
66
|
+
*/
|
|
67
|
+
validity: {
|
|
68
|
+
type: String,
|
|
69
|
+
reflect: true,
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* The current value.
|
|
74
|
+
*/
|
|
75
|
+
value: {
|
|
76
|
+
type: Number,
|
|
26
77
|
},
|
|
27
|
-
rounded: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
reflect: true
|
|
30
|
-
}
|
|
31
78
|
};
|
|
32
79
|
}
|
|
33
80
|
|
|
81
|
+
/**
|
|
82
|
+
* Dynamically disables increment/decrement buttons on a counter based on group value.
|
|
83
|
+
* This method checks the total aggregated value against the group's min and max properties.
|
|
84
|
+
* 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.
|
|
85
|
+
*
|
|
86
|
+
* @param {HTMLElement} counter - The counter element to potentially disable.
|
|
87
|
+
* @private
|
|
88
|
+
*/
|
|
89
|
+
manageDisabled(counter) {
|
|
90
|
+
counter.disableMax = false;
|
|
91
|
+
counter.disableMin = false;
|
|
92
|
+
|
|
93
|
+
if (this.value <= this.min) {
|
|
94
|
+
counter.disableMin = true;
|
|
95
|
+
} else if (this.value >= this.max) {
|
|
96
|
+
counter.disableMax = true;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Attaches input event listeners to all auro-counter elements within the component.
|
|
103
|
+
* This method selects all `auro-counter` and `[auto-counter]` elements and adds an `input` event listener to each.
|
|
104
|
+
* The listener calls `this.updateValue()` whenever the value of a counter changes.
|
|
105
|
+
* @private
|
|
106
|
+
*/
|
|
107
|
+
configureCounters() {
|
|
108
|
+
const counters = this.querySelectorAll("auro-counter, [auto-counter]");
|
|
109
|
+
counters.forEach((counter) => {
|
|
110
|
+
counter.addEventListener("input", () => this.updateValue());
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Safely converts a value to a number, returning 0 if invalid.
|
|
116
|
+
* @private
|
|
117
|
+
* @param {*} value - The value to convert.
|
|
118
|
+
* @returns {number} The converted number or 0 if invalid.
|
|
119
|
+
*/
|
|
120
|
+
safeNumberConversion(value) {
|
|
121
|
+
const num = Number(value);
|
|
122
|
+
return Number.isNaN(num) ? 0 : num;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Updates the aggregate value based on the values of contained auro-counter components.
|
|
127
|
+
* This method queries for all `auro-counter` elements, sums their values, and updates the component's `value` property.
|
|
128
|
+
* Additionally, it iterates through each counter and calls `manageDisabled()` on it.
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
updateValue() {
|
|
132
|
+
const counters = this.querySelectorAll("auro-counter, [auro-counter]");
|
|
133
|
+
this.value = Array.from(counters).reduce(
|
|
134
|
+
(total, counter) => total + this.safeNumberConversion(counter.value),
|
|
135
|
+
0,
|
|
136
|
+
);
|
|
137
|
+
counters.forEach((counter) => {
|
|
138
|
+
this.manageDisabled(counter);
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
updated(changedProperties) {
|
|
143
|
+
if (changedProperties.has("value")) {
|
|
144
|
+
this.validation.validate(this);
|
|
145
|
+
this.dispatchEvent(
|
|
146
|
+
new CustomEvent("input", {
|
|
147
|
+
detail: {
|
|
148
|
+
value: this.value,
|
|
149
|
+
},
|
|
150
|
+
}),
|
|
151
|
+
{
|
|
152
|
+
bubble: true,
|
|
153
|
+
composable: true,
|
|
154
|
+
}
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Registers the custom element with the browser.
|
|
161
|
+
* @param {string} [name="auro-counter-group"] - Custom element name to register.
|
|
162
|
+
* @example
|
|
163
|
+
* AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
|
|
164
|
+
*/
|
|
165
|
+
static register(name = "auro-counter-group") {
|
|
166
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCounterGroup);
|
|
167
|
+
}
|
|
168
|
+
|
|
34
169
|
// function that renders the HTML and CSS into the scope of the component
|
|
35
170
|
render() {
|
|
36
171
|
return html`
|
|
37
|
-
<div>
|
|
38
|
-
<slot></slot>
|
|
172
|
+
<div class="counters">
|
|
173
|
+
<slot @slotchange=${() => this.configureCounters()}></slot>
|
|
39
174
|
</div>
|
|
40
175
|
`;
|
|
41
176
|
}
|
|
42
177
|
}
|
|
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
|
-
}
|
|
@@ -1,29 +1,289 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable lit/binding-positions, lit/no-invalid-html */
|
|
2
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2
3
|
// See LICENSE in the project root for license information.
|
|
3
4
|
|
|
4
|
-
import { html } from "lit/static-html.js";
|
|
5
5
|
import { LitElement } from "lit";
|
|
6
|
+
import { html } from "lit/static-html.js";
|
|
7
|
+
|
|
8
|
+
import "./auro-counter-button.js";
|
|
9
|
+
|
|
10
|
+
import { AuroDependencyVersioning } from "@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs";
|
|
11
|
+
import AuroLibraryRuntimeUtils from "@aurodesignsystem/auro-library/scripts/utils/runtimeUtils.mjs";
|
|
12
|
+
|
|
13
|
+
import { AuroIcon } from "@aurodesignsystem/auro-icon/src/auro-icon.js";
|
|
14
|
+
import iconVersion from "./iconVersion.js";
|
|
15
|
+
import AuroFormValidation from "@auro-formkit/form-validation";
|
|
16
|
+
|
|
17
|
+
import { IconUtil } from "@auro-formkit/utils";
|
|
18
|
+
import plusIcon from '@alaskaairux/icons/dist/icons/interface/plus-lg.mjs';
|
|
19
|
+
import minusIcon from '@alaskaairux/icons/dist/icons/interface/minus-lg.mjs';
|
|
6
20
|
|
|
21
|
+
import tokensCss from "./styles/tokens-css.js";
|
|
22
|
+
import colorCss from "./styles/color-css.js";
|
|
7
23
|
import styleCss from "./styles/style-css.js";
|
|
8
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Auro Counter is a customizable counter component for user interface interactions.
|
|
27
|
+
*
|
|
28
|
+
* This web component provides a flexible counter interface with increment and decrement buttons,
|
|
29
|
+
* supporting optional sub-labels and disabled states.
|
|
30
|
+
*
|
|
31
|
+
* @element auro-counter
|
|
32
|
+
* @extends LitElement
|
|
33
|
+
* @slot Default - Main label content for the counter.
|
|
34
|
+
* @slot description - Descriptive content for the counter.
|
|
35
|
+
*/
|
|
9
36
|
export class AuroCounter extends LitElement {
|
|
37
|
+
constructor() {
|
|
38
|
+
super();
|
|
39
|
+
|
|
40
|
+
this.disabled = false;
|
|
41
|
+
this.disableMax = false;
|
|
42
|
+
this.disableMin = false;
|
|
43
|
+
this.max = 9;
|
|
44
|
+
this.min = 0;
|
|
45
|
+
this.validity = undefined;
|
|
46
|
+
this.value = undefined;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
this.validation = new AuroFormValidation();
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Generate unique names for dependency components.
|
|
55
|
+
* @private
|
|
56
|
+
*/
|
|
57
|
+
const versioning = new AuroDependencyVersioning();
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Dynamically generated icon tag for counter buttons.
|
|
61
|
+
* @private
|
|
62
|
+
* @type {string}
|
|
63
|
+
*/
|
|
64
|
+
this.iconTag = versioning.generateTag("auro-icon", iconVersion, AuroIcon);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Defines reactive properties for the component.
|
|
69
|
+
* @returns {Object} Property configuration.
|
|
70
|
+
*/
|
|
71
|
+
static get properties() {
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Indicates if the counter is disabled.
|
|
76
|
+
*/
|
|
77
|
+
disabled: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
reflect: true,
|
|
80
|
+
},
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Group will attach to counter to disable the increment button.
|
|
84
|
+
* @private
|
|
85
|
+
*/
|
|
86
|
+
disableMax: {
|
|
87
|
+
type: Boolean,
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Group will attach to counter to disable the decrement button.
|
|
92
|
+
* @private
|
|
93
|
+
*/
|
|
94
|
+
disableMin: {
|
|
95
|
+
type: Boolean,
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The maximum value for the counter.
|
|
100
|
+
*/
|
|
101
|
+
max: {
|
|
102
|
+
type: Number,
|
|
103
|
+
reflect: true,
|
|
104
|
+
},
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The minimum value for the counter.
|
|
108
|
+
*/
|
|
109
|
+
min: {
|
|
110
|
+
type: Number,
|
|
111
|
+
reflect: true,
|
|
112
|
+
},
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The validity state of the counter.
|
|
116
|
+
*/
|
|
117
|
+
validity: {
|
|
118
|
+
type: String,
|
|
119
|
+
reflect: true,
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The current value of the counter.
|
|
124
|
+
*/
|
|
125
|
+
value: {
|
|
126
|
+
type: Number,
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Registers the custom element with the browser.
|
|
133
|
+
* @param {string} [name="auro-counter"] - Custom element name to register.
|
|
134
|
+
* @example
|
|
135
|
+
* AuroCounter.register("custom-counter") // registers <custom-counter/>
|
|
136
|
+
*/
|
|
137
|
+
static register(name = "auro-counter") {
|
|
138
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroCounter);
|
|
139
|
+
}
|
|
10
140
|
|
|
11
141
|
static get styles() {
|
|
12
|
-
return [
|
|
142
|
+
return [
|
|
143
|
+
tokensCss,
|
|
144
|
+
colorCss,
|
|
145
|
+
styleCss
|
|
146
|
+
];
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Increments the counter value by 1. If a value is provided, it increments by that amount.
|
|
151
|
+
* @method increment
|
|
152
|
+
* @param {number} [value] - The amount to increment by.
|
|
153
|
+
* @returns {void}
|
|
154
|
+
*/
|
|
155
|
+
increment(value) {
|
|
156
|
+
this.value += value !== undefined ? value : 1;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Decrements the value of the counter by 1. If a value is provided, it decrements by that amount.
|
|
161
|
+
* @method decrement
|
|
162
|
+
* @param {number} [value] - The amount to decrement by.
|
|
163
|
+
* @returns {void}
|
|
164
|
+
*/
|
|
165
|
+
decrement(value) {
|
|
166
|
+
this.value -= value !== undefined ? value : 1;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Initializes the value of the counter.
|
|
171
|
+
* If the current value is undefined, it sets the value to the minimum value.
|
|
172
|
+
* @private
|
|
173
|
+
*/
|
|
174
|
+
initValue() {
|
|
175
|
+
if (this.value === undefined) {
|
|
176
|
+
this.value = this.min;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Determines if the increment button should be disabled based on the current value and extrema.
|
|
182
|
+
*
|
|
183
|
+
* @param {number} extrema - The extreme value (either min or max) to compare against the current value.
|
|
184
|
+
* @returns {boolean} - Returns true if the increment button should be disabled, otherwise false.
|
|
185
|
+
* @private
|
|
186
|
+
*/
|
|
187
|
+
isIncrementDisabled(extrema) {
|
|
188
|
+
// Initially, the value is undefined and then set to the minimum value. During this transition, the increment button should be disabled.
|
|
189
|
+
if (this.value === undefined) {
|
|
190
|
+
return false;
|
|
191
|
+
} else if (extrema === this.min && this.value > extrema) {
|
|
192
|
+
return false;
|
|
193
|
+
} else if (extrema === this.max && this.value < extrema) {
|
|
194
|
+
return false;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
return true;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Moves the focus to the first enabled button within the shadow DOM.
|
|
202
|
+
* This method searches for the first `auro-counter-button` element that is not disabled
|
|
203
|
+
* and sets the focus on it.
|
|
204
|
+
* @private
|
|
205
|
+
*/
|
|
206
|
+
jumpFocusToEnabled() {
|
|
207
|
+
const button = this.shadowRoot.querySelector("auro-counter-button:not([disabled])");
|
|
208
|
+
if (button !== null) {
|
|
209
|
+
button.focus();
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
handleSlotChange() {
|
|
214
|
+
this.checkSlots();
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
firstUpdated() {
|
|
218
|
+
this.initValue();
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
updated(changedProperties) {
|
|
222
|
+
if (changedProperties.has("value")) {
|
|
223
|
+
this.validation.validate(this);
|
|
224
|
+
this.dispatchEvent(
|
|
225
|
+
new CustomEvent("input", {
|
|
226
|
+
detail: {
|
|
227
|
+
value: this.value,
|
|
228
|
+
},
|
|
229
|
+
}),
|
|
230
|
+
{
|
|
231
|
+
bubble: true,
|
|
232
|
+
composable: true,
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
|
|
236
|
+
if (
|
|
237
|
+
this.value === this.max ||
|
|
238
|
+
this.value === this.min ||
|
|
239
|
+
changedProperties.get("disableMax") ||
|
|
240
|
+
changedProperties.get("disableMin")
|
|
241
|
+
) {
|
|
242
|
+
this.jumpFocusToEnabled();
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
/* eslint-disable no-extra-parens */
|
|
246
|
+
if (
|
|
247
|
+
(changedProperties.has("disableMax") &&
|
|
248
|
+
changedProperties.get("disableMax") !== undefined) ||
|
|
249
|
+
(changedProperties.has("disableMin") &&
|
|
250
|
+
changedProperties.get("disableMin") !== undefined)
|
|
251
|
+
) {
|
|
252
|
+
this.jumpFocusToEnabled();
|
|
253
|
+
}
|
|
254
|
+
/* eslint-enable no-extra-parens */
|
|
13
255
|
}
|
|
14
256
|
|
|
15
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
16
257
|
render() {
|
|
17
258
|
return html`
|
|
18
|
-
<div>
|
|
19
|
-
<
|
|
259
|
+
<div class="counter">
|
|
260
|
+
<div class="content" >
|
|
261
|
+
<label class="label"><slot></slot></label>
|
|
262
|
+
<slot name="description"></slot>
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
<div part="counterControl">
|
|
266
|
+
<auro-counter-button
|
|
267
|
+
part="controlMinus"
|
|
268
|
+
@click="${() => this.decrement()}"
|
|
269
|
+
?disabled="${this.disabled || this.disableMin || this.isIncrementDisabled(this.min)}"
|
|
270
|
+
>
|
|
271
|
+
<${this.iconTag} class="controlIcon" slot="icon" customSvg> ${IconUtil.generateSvgHtml(minusIcon)} </${this.iconTag}>
|
|
272
|
+
</auro-counter-button>
|
|
273
|
+
|
|
274
|
+
<div class="quantityWrapper">
|
|
275
|
+
<div class="quantity">${this.value !== undefined ? this.value : this.min}</div>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
<auro-counter-button
|
|
279
|
+
part="controlPlus"
|
|
280
|
+
@click="${() => this.increment()}"
|
|
281
|
+
?disabled="${this.disabled || this.disableMax || this.isIncrementDisabled(this.max)}"
|
|
282
|
+
>
|
|
283
|
+
<${this.iconTag} class="controlIcon" slot="icon" customSvg> ${IconUtil.generateSvgHtml(plusIcon)} </${this.iconTag}>
|
|
284
|
+
</auro-counter-button>
|
|
285
|
+
</div>
|
|
20
286
|
</div>
|
|
21
287
|
`;
|
|
22
288
|
}
|
|
23
289
|
}
|
|
24
|
-
|
|
25
|
-
/* istanbul ignore else */
|
|
26
|
-
// define the name of the custom component
|
|
27
|
-
if (!customElements.get("auro-counter")) {
|
|
28
|
-
customElements.define("auro-counter", AuroCounter);
|
|
29
|
-
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '3.0.0';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '3.0.0';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '6.1.2';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export default css`.counter{color:var(--ds-auro-counter-text-default)}[name=description]::slotted(*){color:var(--ds-auro-counter-text-secondary)}.controlIcon{color:var(--ds-auro-counter-icon-color-default)}.quantityWrapper{background-color:var(--ds-auro-counter-control-ui-bkg)}[disabled] .controlIcon,:host([disabled]) .controlIcon{color:var(--ds-auro-counter-control-ui-disabled)}[disabled] label,[disabled] [name=description]::slotted(*),[disabled]::part(counterControl),:host([disabled]) label,:host([disabled]) [name=description]::slotted(*),:host([disabled])::part(counterControl){color:var(--ds-auro-counter-text-disabled)}`;
|