@aurodesignsystem/auro-formkit 2.0.0-beta.2 → 2.0.0-beta.21
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/048c5061758f42d5-meta.json +1 -0
- package/.turbo/cache/048c5061758f42d5.tar.zst +0 -0
- package/.turbo/cache/09d2311fd6562076-meta.json +1 -0
- package/.turbo/cache/09d2311fd6562076.tar.zst +0 -0
- package/.turbo/cache/0ada3342350716d5-meta.json +1 -0
- package/.turbo/cache/0ada3342350716d5.tar.zst +0 -0
- package/.turbo/cache/226476fa9e61cc81-meta.json +1 -0
- package/.turbo/cache/226476fa9e61cc81.tar.zst +0 -0
- package/.turbo/cache/26b534ba7ee176e5-meta.json +1 -0
- package/.turbo/cache/26b534ba7ee176e5.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
- package/.turbo/cache/2d21d0e971f28291-meta.json +1 -0
- package/.turbo/cache/2d21d0e971f28291.tar.zst +0 -0
- package/.turbo/cache/3a60640aa3aedd8a-meta.json +1 -0
- package/.turbo/cache/3a60640aa3aedd8a.tar.zst +0 -0
- package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -0
- package/.turbo/cache/45cd32cd38eacbcb.tar.zst +0 -0
- package/.turbo/cache/45fbe2fe40c2302a-meta.json +1 -0
- package/.turbo/cache/45fbe2fe40c2302a.tar.zst +0 -0
- package/.turbo/cache/46147a707109af3e-meta.json +1 -0
- package/.turbo/cache/46147a707109af3e.tar.zst +0 -0
- package/.turbo/cache/4699bc5f16a9eb63-meta.json +1 -0
- package/.turbo/cache/4699bc5f16a9eb63.tar.zst +0 -0
- package/.turbo/cache/4d9d8b6a169d8272-meta.json +1 -0
- package/.turbo/cache/4d9d8b6a169d8272.tar.zst +0 -0
- package/.turbo/cache/4f1f59ef262afdb7-meta.json +1 -0
- package/.turbo/cache/4f1f59ef262afdb7.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/5b3e6d7fcbed91d7-meta.json +1 -0
- package/.turbo/cache/5b3e6d7fcbed91d7.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/631d441eebe7e4ac-meta.json +1 -0
- package/.turbo/cache/631d441eebe7e4ac.tar.zst +0 -0
- package/.turbo/cache/6af0cfb35a4d9b50-meta.json +1 -0
- package/.turbo/cache/6af0cfb35a4d9b50.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/783a19e6c1e36dc4-meta.json +1 -0
- package/.turbo/cache/783a19e6c1e36dc4.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/80ebd4b1fa5c1e3a-meta.json +1 -0
- package/.turbo/cache/80ebd4b1fa5c1e3a.tar.zst +0 -0
- package/.turbo/cache/81b950588f7d83f6-meta.json +1 -0
- package/.turbo/cache/81b950588f7d83f6.tar.zst +0 -0
- package/.turbo/cache/81e86c62df3233f1-meta.json +1 -0
- package/.turbo/cache/81e86c62df3233f1.tar.zst +0 -0
- package/.turbo/cache/82400c31013ddb91-meta.json +1 -0
- package/.turbo/cache/82400c31013ddb91.tar.zst +0 -0
- package/.turbo/cache/949113644726bb55-meta.json +1 -0
- package/.turbo/cache/949113644726bb55.tar.zst +0 -0
- package/.turbo/cache/9b6f6cd2350f80bc-meta.json +1 -0
- package/.turbo/cache/9b6f6cd2350f80bc.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/b0a6287f373e6400-meta.json +1 -0
- package/.turbo/cache/b0a6287f373e6400.tar.zst +0 -0
- package/.turbo/cache/b289ab794336616f-meta.json +1 -0
- package/.turbo/cache/b289ab794336616f.tar.zst +0 -0
- package/.turbo/cache/b2fd4dae3a507bc0-meta.json +1 -0
- package/.turbo/cache/b2fd4dae3a507bc0.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/b6fd9dd7003776ae-meta.json +1 -0
- package/.turbo/cache/b6fd9dd7003776ae.tar.zst +0 -0
- package/.turbo/cache/b89dab696f5a8270-meta.json +1 -0
- package/.turbo/cache/b89dab696f5a8270.tar.zst +0 -0
- package/.turbo/cache/b8a40e55bb47f55f-meta.json +1 -0
- package/.turbo/cache/b8a40e55bb47f55f.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/c0ac4be01e1e8afd-meta.json +1 -0
- package/.turbo/cache/c0ac4be01e1e8afd.tar.zst +0 -0
- package/.turbo/cache/c5b9fac10bc33f4b-meta.json +1 -0
- package/.turbo/cache/c5b9fac10bc33f4b.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c7a029745c0280b7-meta.json +1 -0
- package/.turbo/cache/c7a029745c0280b7.tar.zst +0 -0
- package/.turbo/cache/cacc097c013aa1ff-meta.json +1 -0
- package/.turbo/cache/cacc097c013aa1ff.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
- package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
- package/.turbo/cache/db6efe0245a870a5-meta.json +1 -0
- package/.turbo/cache/db6efe0245a870a5.tar.zst +0 -0
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -0
- package/.turbo/cache/dc597b3ea4f61ec8.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/e84d01ebc415199c-meta.json +1 -0
- package/.turbo/cache/e84d01ebc415199c.tar.zst +0 -0
- package/.turbo/cache/f45bc65c58664d47-meta.json +1 -0
- package/.turbo/cache/f45bc65c58664d47.tar.zst +0 -0
- package/.turbo/cache/f6808644dc687b2c-meta.json +1 -0
- package/.turbo/cache/f6808644dc687b2c.tar.zst +0 -0
- package/.turbo/cache/ffdabdf92e6ad537-meta.json +1 -0
- package/.turbo/cache/ffdabdf92e6ad537.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +210 -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 +70 -68
- package/components/checkbox/demo/api.min.js +196 -84
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +196 -84
- package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +19 -6
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +196 -84
- package/components/checkbox/package.json +2 -2
- package/components/checkbox/src/auro-checkbox-group.js +57 -20
- package/components/checkbox/src/auro-checkbox.js +30 -9
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +22 -23
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/README.md +23 -28
- package/components/combobox/demo/api.md +30 -26
- package/components/combobox/demo/api.min.js +3224 -948
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3221 -945
- package/components/combobox/dist/auro-combobox.d.ts +75 -73
- 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 +2590 -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 +10 -11
- package/components/combobox/src/auro-combobox.js +222 -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 +10 -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 +1013 -569
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1013 -569
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- 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 +1013 -569
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
- package/components/datepicker/package.json +3 -3
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +153 -107
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
- 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 +78 -31
- package/components/input/.turbo/turbo-bundler.log +3 -3
- 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 +13 -8
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
- package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
- package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
- package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
- package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
- package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
- package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
- package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
- package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
- package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
- package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
- package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
- package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
- package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
- package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
- package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
- package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
- package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
- package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
- package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
- package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
- package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
- package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
- package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
- package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
- package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Logger } from "@aurodesignsystem/auro-library/scripts/utils/logger.mjs";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
2
3
|
import {
|
|
3
4
|
fromAuroComponentRoot,
|
|
4
|
-
generateReadmeUrl,
|
|
5
5
|
processContentForFile,
|
|
6
6
|
templateFiller
|
|
7
7
|
} from "@aurodesignsystem/auro-library/scripts/utils/sharedFileProcessorUtils.mjs";
|
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
* (like "_esm" to make README_esm.md).
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
/**
|
|
21
20
|
* @param {ProcessorConfig} config - The configuration for this processor.
|
|
22
21
|
*/
|
|
@@ -30,6 +29,38 @@ export const defaultDocsProcessorConfig = {
|
|
|
30
29
|
remoteReadmeVariant: "_updated_paths"
|
|
31
30
|
};
|
|
32
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Get the version from the root package.json
|
|
34
|
+
* @returns {Promise<string>}
|
|
35
|
+
*/
|
|
36
|
+
async function getPackageVersion() {
|
|
37
|
+
const packageJsonPath = fromAuroComponentRoot('package.json');
|
|
38
|
+
const packageContent = await fs.readFile(packageJsonPath, 'utf8');
|
|
39
|
+
const packageJson = JSON.parse(packageContent);
|
|
40
|
+
return packageJson.version;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const formkitVersion = await getPackageVersion();
|
|
44
|
+
|
|
45
|
+
export const monorepoVars = {
|
|
46
|
+
formkitVersion,
|
|
47
|
+
'monorepoName': 'auro-formkit',
|
|
48
|
+
'dependentComponents': [] // populated by componentDependencyTree in processDocFiles
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export const componentDependencyTree = {
|
|
52
|
+
'checkbox': ['checkbox'],
|
|
53
|
+
'combobox': ['dropdown', 'input', 'menu', 'combobox'],
|
|
54
|
+
'counter': ['counter'],
|
|
55
|
+
'datepicker': ['dropdown', 'input', 'popover', 'datepicker'],
|
|
56
|
+
'dropdown': ['dropdown'],
|
|
57
|
+
'form': ['form'],
|
|
58
|
+
'input': ['input'],
|
|
59
|
+
'menu': ['menu'],
|
|
60
|
+
'radio': ['radio'],
|
|
61
|
+
'select': ['dropdown', 'menu', 'select'],
|
|
62
|
+
}
|
|
63
|
+
|
|
33
64
|
/**
|
|
34
65
|
* @param {ProcessorConfig} config - The configuration for this processor.
|
|
35
66
|
* @returns {import('@aurodesignsystem/auro-library/scripts/utils/sharedFileProcessorUtils').FileProcessorConfig[]}
|
|
@@ -38,11 +69,7 @@ export const fileConfigs = (config) => [
|
|
|
38
69
|
// README.md
|
|
39
70
|
{
|
|
40
71
|
identifier: 'README.md',
|
|
41
|
-
input:
|
|
42
|
-
remoteUrl: generateReadmeUrl(config.remoteReadmeVersion, config.remoteReadmeVariant),
|
|
43
|
-
fileName: fromAuroComponentRoot(`components/${config.component}/docTemplates/README.md`),
|
|
44
|
-
overwrite: config.overwriteLocalCopies
|
|
45
|
-
},
|
|
72
|
+
input: fromAuroComponentRoot(`docs/templates/componentReadmeTemplate.md`),
|
|
46
73
|
output: fromAuroComponentRoot(`components/${config.component}/README.md`)
|
|
47
74
|
},
|
|
48
75
|
// index.md
|
|
@@ -79,8 +106,10 @@ export async function processDocFiles(componentName) {
|
|
|
79
106
|
|
|
80
107
|
for (const fileConfig of fileConfigs(config)) {
|
|
81
108
|
try {
|
|
109
|
+
const dependencies = componentDependencyTree[config.component];
|
|
110
|
+
|
|
82
111
|
// eslint-disable-next-line no-await-in-loop
|
|
83
|
-
await processContentForFile(fileConfig);
|
|
112
|
+
await processContentForFile({ ...fileConfig, extraVars: { ...monorepoVars, dependentComponents: dependencies} });
|
|
84
113
|
} catch (err) {
|
|
85
114
|
Logger.error(`Error processing ${fileConfig.identifier}: ${err.message}`);
|
|
86
115
|
}
|
|
@@ -37,30 +37,87 @@ export default class AuroFormValidation {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* @param {
|
|
40
|
+
* Validates the attributes of a given element based on predefined validation rules.
|
|
41
|
+
*
|
|
42
|
+
* @param {HTMLElement} elem - The element to be validated.
|
|
43
43
|
* @returns {void}
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* // Assuming `inputElement` is a reference to an input element in the DOM
|
|
47
|
+
* validateElementAttributes(inputElement);
|
|
48
|
+
*
|
|
49
|
+
* The function checks the element's attributes against the validation rules defined for 'input' and 'counter' types.
|
|
50
|
+
* If a validation rule is violated, it sets the element's validity state and error message accordingly.
|
|
51
|
+
*
|
|
52
|
+
* Validation rules:
|
|
53
|
+
* - input:
|
|
54
|
+
* - length:
|
|
55
|
+
* - tooShort: Checks if the value length is less than the minimum length.
|
|
56
|
+
* - tooLong: Checks if the value length exceeds the maximum length.
|
|
57
|
+
* - pattern:
|
|
58
|
+
* - patternMismatch: Checks if the value does not match the specified pattern.
|
|
59
|
+
* - counter:
|
|
60
|
+
* - range:
|
|
61
|
+
* - rangeOverflow: Checks if the value exceeds the maximum value.
|
|
62
|
+
* - rangeUnderflow: Checks if the value is less than the minimum value.
|
|
44
63
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
64
|
+
validateElementAttributes(elem) {
|
|
65
|
+
const validationRules = {
|
|
66
|
+
input: {
|
|
67
|
+
length: [
|
|
68
|
+
{
|
|
69
|
+
check: (e) => e.value?.length > 0 && e.value?.length < e.minLength,
|
|
70
|
+
validity: 'tooShort',
|
|
71
|
+
message: e => e.setCustomValidityTooShort || e.setCustomValidity || ''
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
check: (e) => e.value?.length > e.maxLength,
|
|
75
|
+
validity: 'tooLong',
|
|
76
|
+
message: e => e.setCustomValidityTooLong || e.setCustomValidity || ''
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
pattern: [
|
|
80
|
+
{
|
|
81
|
+
check: (e) => e.pattern && !new RegExp(`^${e.pattern}$`, 'u').test(e.value),
|
|
82
|
+
validity: 'patternMismatch',
|
|
83
|
+
message: e => e.setCustomValidityPatternMismatch || e.setCustomValidity || ''
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
counter: {
|
|
88
|
+
range: [
|
|
89
|
+
{
|
|
90
|
+
check: (e) => e.max !== undefined && Number(e.max) < Number(e.value),
|
|
91
|
+
validity: 'rangeOverflow',
|
|
92
|
+
message: e => e.getAttribute('setCustomValidityRangeOverflow') || ''
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
check: (e) => e.min !== undefined && Number(e.min) > Number(e.value),
|
|
96
|
+
validity: 'rangeUnderflow',
|
|
97
|
+
message: e => e.getAttribute('setCustomValidityRangeUnderflow') || ''
|
|
98
|
+
}
|
|
99
|
+
]
|
|
52
100
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
let elementType;
|
|
104
|
+
if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
105
|
+
elementType = 'input';
|
|
106
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
107
|
+
elementType = 'counter';
|
|
59
108
|
}
|
|
60
109
|
|
|
61
|
-
if (
|
|
62
|
-
|
|
63
|
-
|
|
110
|
+
if (elementType) {
|
|
111
|
+
const rules = validationRules[elementType];
|
|
112
|
+
|
|
113
|
+
if (rules) {
|
|
114
|
+
Object.values(rules).flat().forEach(rule => {
|
|
115
|
+
if (rule.check(elem)) {
|
|
116
|
+
elem.validity = rule.validity;
|
|
117
|
+
elem.errorMessage = rule.message(elem);
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
64
121
|
}
|
|
65
122
|
}
|
|
66
123
|
|
|
@@ -76,33 +133,32 @@ export default class AuroFormValidation {
|
|
|
76
133
|
const emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/; // eslint-disable-line require-unicode-regexp
|
|
77
134
|
|
|
78
135
|
if (!elem.value.match(emailRegex)) {
|
|
79
|
-
elem.validity = '
|
|
80
|
-
elem.
|
|
136
|
+
elem.validity = 'patternMismatch';
|
|
137
|
+
elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
|
|
81
138
|
}
|
|
82
139
|
} else if (elem.type === 'credit-card') {
|
|
83
140
|
if (elem.value.length > 0 && elem.value.length < elem.validationCCLength) {
|
|
84
141
|
elem.validity = 'tooShort';
|
|
85
|
-
elem.
|
|
142
|
+
elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
|
|
86
143
|
}
|
|
87
144
|
} else if (elem.type === 'number') {
|
|
88
145
|
if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
|
|
89
146
|
elem.validity = 'rangeOverflow';
|
|
90
|
-
elem.
|
|
147
|
+
elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
|
|
91
148
|
}
|
|
92
149
|
|
|
93
|
-
if (elem.min !== undefined && Number(elem.min) > Number(elem.value)) {
|
|
150
|
+
if (elem.min !== undefined && elem.value?.length > 0 && Number(elem.min) > Number(elem.value)) {
|
|
94
151
|
elem.validity = 'rangeUnderflow';
|
|
95
|
-
elem.
|
|
152
|
+
elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
|
|
96
153
|
}
|
|
97
|
-
|
|
98
154
|
} else if (elem.type === 'month-day-year' ||
|
|
99
155
|
elem.type === 'month-year' ||
|
|
100
156
|
elem.type === 'month-fullYear' ||
|
|
101
157
|
elem.type === 'year-month-day'
|
|
102
158
|
) {
|
|
103
|
-
if (elem.value
|
|
159
|
+
if (elem.value?.length > 0 && elem.value.length < elem.dateStrLength) {
|
|
104
160
|
elem.validity = 'tooShort';
|
|
105
|
-
elem.
|
|
161
|
+
elem.errorMessage = elem.setCustomValidityForType || elem.setCustomValidity || '';
|
|
106
162
|
} else {
|
|
107
163
|
const valueDate = new Date(elem.value);
|
|
108
164
|
|
|
@@ -112,7 +168,7 @@ export default class AuroFormValidation {
|
|
|
112
168
|
|
|
113
169
|
if (valueDate > maxDate) {
|
|
114
170
|
elem.validity = 'rangeOverflow';
|
|
115
|
-
elem.
|
|
171
|
+
elem.errorMessage = elem.setCustomValidityRangeOverflow || elem.setCustomValidity || '';
|
|
116
172
|
}
|
|
117
173
|
}
|
|
118
174
|
|
|
@@ -122,7 +178,7 @@ export default class AuroFormValidation {
|
|
|
122
178
|
|
|
123
179
|
if (valueDate < minDate) {
|
|
124
180
|
elem.validity = 'rangeUnderflow';
|
|
125
|
-
elem.
|
|
181
|
+
elem.errorMessage = elem.setCustomValidityRangeUnderflow || elem.setCustomValidity || '';
|
|
126
182
|
}
|
|
127
183
|
}
|
|
128
184
|
}
|
|
@@ -145,10 +201,10 @@ export default class AuroFormValidation {
|
|
|
145
201
|
|
|
146
202
|
if (elem.hasAttribute('error')) {
|
|
147
203
|
elem.validity = 'customError';
|
|
148
|
-
elem.
|
|
204
|
+
elem.errorMessage = elem.setCustomValidityCustomError || elem.error || elem.setCustomValidity || '';
|
|
149
205
|
} else if (validationShouldRun) {
|
|
150
206
|
elem.validity = 'valid';
|
|
151
|
-
elem.
|
|
207
|
+
elem.errorMessage = '';
|
|
152
208
|
|
|
153
209
|
/**
|
|
154
210
|
* Only validate once we interact with the datepicker
|
|
@@ -160,7 +216,7 @@ export default class AuroFormValidation {
|
|
|
160
216
|
let hasValue = elem.value && elem.value.length > 0;
|
|
161
217
|
|
|
162
218
|
// If there is a second input in the elem and that value is undefined or an empty string set hasValue to false;
|
|
163
|
-
if (this.auroInputElements
|
|
219
|
+
if (this.auroInputElements?.length === 2) {
|
|
164
220
|
if (!this.auroInputElements[1].value || this.auroInputElements[1].length === 0) {
|
|
165
221
|
hasValue = false;
|
|
166
222
|
}
|
|
@@ -168,31 +224,29 @@ export default class AuroFormValidation {
|
|
|
168
224
|
|
|
169
225
|
if (!hasValue && elem.required) {
|
|
170
226
|
elem.validity = 'valueMissing';
|
|
171
|
-
elem.
|
|
227
|
+
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
172
228
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
173
229
|
this.validateType(elem);
|
|
174
|
-
this.
|
|
230
|
+
this.validateElementAttributes(elem);
|
|
231
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-counter') || this.runtimeUtils.elementMatch(elem, 'auro-counter-group')) {
|
|
232
|
+
this.validateElementAttributes(elem);
|
|
175
233
|
}
|
|
176
234
|
}
|
|
177
235
|
|
|
178
|
-
if (this.auroInputElements
|
|
236
|
+
if (this.auroInputElements?.length > 0) {
|
|
179
237
|
elem.validity = this.auroInputElements[0].validity;
|
|
180
|
-
elem.
|
|
238
|
+
elem.errorMessage = this.auroInputElements[0].errorMessage;
|
|
181
239
|
|
|
182
|
-
if (elem.validity === 'valid') {
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
elem.setCustomValidity = this.auroInputElements[1].setCustomValidity;
|
|
186
|
-
}
|
|
240
|
+
if (elem.validity === 'valid' && this.auroInputElements.length > 1) {
|
|
241
|
+
elem.validity = this.auroInputElements[1].validity;
|
|
242
|
+
elem.errorMessage = this.auroInputElements[1].errorMessage;
|
|
187
243
|
}
|
|
188
244
|
}
|
|
189
245
|
|
|
190
246
|
if (validationShouldRun || elem.hasAttribute('error')) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
elem.setCustomValidity = elem.ValidityMessageOverride;
|
|
195
|
-
}
|
|
247
|
+
// Use the validity message override if it is declared
|
|
248
|
+
if (elem.validity && elem.validity !== 'valid' && elem.ValidityMessageOverride) {
|
|
249
|
+
elem.errorMessage = elem.ValidityMessageOverride;
|
|
196
250
|
}
|
|
197
251
|
|
|
198
252
|
this.getErrorMessage(elem);
|
|
@@ -238,18 +292,18 @@ export default class AuroFormValidation {
|
|
|
238
292
|
if (elem.validity !== 'valid') {
|
|
239
293
|
if (elem.setCustomValidity) {
|
|
240
294
|
elem.errorMessage = elem.setCustomValidity;
|
|
241
|
-
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
295
|
+
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input') && elem.errorMessage === '') {
|
|
242
296
|
const input = elem.renderRoot.querySelector('input');
|
|
243
297
|
|
|
244
298
|
if (input.validationMessage.length > 0) {
|
|
245
299
|
elem.errorMessage = input.validationMessage;
|
|
246
300
|
}
|
|
247
|
-
} else if (this.inputElements &&
|
|
301
|
+
} else if (this.inputElements?.length > 0 && elem.errorMessage === '') {
|
|
248
302
|
const firstInput = this.inputElements[0];
|
|
249
303
|
|
|
250
304
|
if (firstInput.validationMessage.length > 0) {
|
|
251
305
|
elem.errorMessage = firstInput.validationMessage;
|
|
252
|
-
} else if (this.inputElements
|
|
306
|
+
} else if (this.inputElements?.length === 2) {
|
|
253
307
|
const secondInput = this.inputElements[1];
|
|
254
308
|
|
|
255
309
|
if (secondInput.validationMessage.length > 0) {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@auro-formkit/utils",
|
|
3
|
+
"description": "Shared utility functions for all components in auro-formkit monorepo",
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"private": true,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./src/index.js",
|
|
8
|
+
"types": "tsc",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": "./src/index.js"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Alaska Air. 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
|
+
|
|
8
|
+
export class IconUtil {
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Generates an HTML element containing an SVG icon based on the provided `svgContent`.
|
|
12
|
+
*
|
|
13
|
+
* @param {string} svgContent - The SVG content to be embedded.
|
|
14
|
+
* @param {Object} _attributes - Additional attributes to set on the icon element.
|
|
15
|
+
* @returns {Element} The HTML element containing the SVG icon.
|
|
16
|
+
*/
|
|
17
|
+
static generateSvgHtml(svgContent) {
|
|
18
|
+
const dom = new DOMParser().parseFromString(svgContent.svg, 'text/html');
|
|
19
|
+
const svg = dom.body.firstChild;
|
|
20
|
+
|
|
21
|
+
svg.setAttribute('slot', 'svg');
|
|
22
|
+
|
|
23
|
+
return html`${svg}`;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IconUtil } from './iconUtil.js';
|
package/turbo.json
CHANGED
|
@@ -19,25 +19,30 @@
|
|
|
19
19
|
"*-css.js"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
-
"
|
|
22
|
+
"test:watch": {
|
|
23
|
+
"dependsOn": ["build"],
|
|
24
|
+
"persistent": true,
|
|
25
|
+
"cache": false
|
|
26
|
+
},
|
|
27
|
+
"@aurodesignsystem/auro-combobox#build": {
|
|
23
28
|
"dependsOn": [
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
29
|
+
"@aurodesignsystem/auro-input#build",
|
|
30
|
+
"@aurodesignsystem/auro-dropdown#build",
|
|
26
31
|
"postCss:component",
|
|
27
32
|
"sass:render"
|
|
28
33
|
]
|
|
29
34
|
},
|
|
30
|
-
"@
|
|
35
|
+
"@aurodesignsystem/auro-datepicker#build": {
|
|
31
36
|
"dependsOn": [
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
37
|
+
"@aurodesignsystem/auro-input#build",
|
|
38
|
+
"@aurodesignsystem/auro-dropdown#build",
|
|
34
39
|
"postCss:component",
|
|
35
40
|
"sass:render"
|
|
36
41
|
]
|
|
37
42
|
},
|
|
38
|
-
"@
|
|
43
|
+
"@aurodesignsystem/auro-select#build": {
|
|
39
44
|
"dependsOn": [
|
|
40
|
-
"@
|
|
45
|
+
"@aurodesignsystem/auro-dropdown#build",
|
|
41
46
|
"postCss:component",
|
|
42
47
|
"sass:render"
|
|
43
48
|
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"013a48308b893dac","duration":1793}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"0663fcbb1d711029","duration":642}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"07ca42419b9f050c","duration":5115}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"0a2b0a4df8a0443f","duration":5988}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"0cea4c1f34f3683b","duration":1835}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"120c8e207aa1ba35","duration":19715}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"17259cf94d8f8925","duration":1770}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"17dd4bdef6550a07","duration":19307}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"1c99a949ec63ab35","duration":1908}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"1de15d89eed2d760","duration":3404}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"257a7a26ea72dbc5","duration":1985}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"2990aaa7ebc5b967","duration":3755}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"32c0b9995fb5f8dd","duration":20225}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3bf45120d0cc9bd8","duration":2769}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"45035bf5c4147ccd","duration":1683}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"47ba2b5ebdb579e9","duration":7164}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"4f92cea2d8c63de2","duration":2007}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"56cb35d4c7473a23","duration":20991}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"5c16ce3cff5c9dff","duration":3164}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"5f304c0f37ef25f3","duration":2556}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"626afdc67e0cb540","duration":2590}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"64de7a53e02db647","duration":1317}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"691a74627ec57993","duration":3393}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"69aae513b7ec6c7d","duration":1968}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"6dd7058e6703cb35","duration":2245}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"6ef81cf9a66f982a","duration":6301}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"73e9073a5274616d","duration":5421}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"773edc0f83c8c5a5","duration":2469}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"784c03fe9fd5ac05","duration":5924}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"786a822763403879","duration":3536}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"80b5d974184a01df","duration":3207}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"87219c41a4ace9cd","duration":19009}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"8954c6073396fadd","duration":2475}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"8b735250fa5a62bf","duration":19333}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"9154e8fe6ab767ea","duration":6786}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"92daa6d7c389d548","duration":1240}
|
|
Binary file
|