@aurodesignsystem/auro-formkit 2.0.0-beta.4 → 2.0.0-beta.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/cache/006be80261b993a5-meta.json +1 -0
- package/.turbo/cache/006be80261b993a5.tar.zst +0 -0
- package/.turbo/cache/03338963f2ae4c89-meta.json +1 -0
- package/.turbo/cache/03338963f2ae4c89.tar.zst +0 -0
- package/.turbo/cache/06dfc9c20aacd0fa-meta.json +1 -0
- package/.turbo/cache/06dfc9c20aacd0fa.tar.zst +0 -0
- package/.turbo/cache/075034ccdb82fbea-meta.json +1 -0
- package/.turbo/cache/075034ccdb82fbea.tar.zst +0 -0
- package/.turbo/cache/0ff927ad868537f6-meta.json +1 -0
- package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
- package/.turbo/cache/10b8500a6b0c6655-meta.json +1 -0
- package/.turbo/cache/10b8500a6b0c6655.tar.zst +0 -0
- package/.turbo/cache/138466aaa06fa946-meta.json +1 -0
- package/.turbo/cache/138466aaa06fa946.tar.zst +0 -0
- package/.turbo/cache/1a8525cb6ad91e2a-meta.json +1 -0
- package/.turbo/cache/1a8525cb6ad91e2a.tar.zst +0 -0
- package/.turbo/cache/1c347bdf63624c8a-meta.json +1 -0
- package/.turbo/cache/1c347bdf63624c8a.tar.zst +0 -0
- package/.turbo/cache/1d4e8167ea8e924f-meta.json +1 -0
- package/.turbo/cache/1d4e8167ea8e924f.tar.zst +0 -0
- package/.turbo/cache/2289d12debb3c42c-meta.json +1 -0
- package/.turbo/cache/2289d12debb3c42c.tar.zst +0 -0
- package/.turbo/cache/22fc147c04804f70-meta.json +1 -0
- package/.turbo/cache/22fc147c04804f70.tar.zst +0 -0
- package/.turbo/cache/2d51091c22fc92f5-meta.json +1 -0
- package/.turbo/cache/2d51091c22fc92f5.tar.zst +0 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +1 -0
- package/.turbo/cache/3025cdff2ca7afbf.tar.zst +0 -0
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +1 -0
- package/.turbo/cache/3082b3a86c0f9b94.tar.zst +0 -0
- package/.turbo/cache/366fc19b143f7957-meta.json +1 -0
- package/.turbo/cache/366fc19b143f7957.tar.zst +0 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0-meta.json +1 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0.tar.zst +0 -0
- package/.turbo/cache/43995f6c84a2de33-meta.json +1 -0
- package/.turbo/cache/43995f6c84a2de33.tar.zst +0 -0
- package/.turbo/cache/45d6aea680ecb5ec-meta.json +1 -0
- package/.turbo/cache/45d6aea680ecb5ec.tar.zst +0 -0
- package/.turbo/cache/45ecc27552696bd6-meta.json +1 -0
- package/.turbo/cache/45ecc27552696bd6.tar.zst +0 -0
- package/.turbo/cache/47d63056350252e5-meta.json +1 -0
- package/.turbo/cache/47d63056350252e5.tar.zst +0 -0
- package/.turbo/cache/4aadd7fe6b69cccf-meta.json +1 -0
- package/.turbo/cache/4aadd7fe6b69cccf.tar.zst +0 -0
- package/.turbo/cache/5b3bb164db4c477c-meta.json +1 -0
- package/.turbo/cache/5b3bb164db4c477c.tar.zst +0 -0
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +1 -0
- package/.turbo/cache/6bfd7cffad1e6b8a.tar.zst +0 -0
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +1 -0
- package/.turbo/cache/6d48e8dc24e08c8c.tar.zst +0 -0
- package/.turbo/cache/70e65d2581c9de95-meta.json +1 -0
- package/.turbo/cache/70e65d2581c9de95.tar.zst +0 -0
- package/.turbo/cache/78629f56974cc5d7-meta.json +1 -0
- package/.turbo/cache/78629f56974cc5d7.tar.zst +0 -0
- package/.turbo/cache/7a2e937d0f5acb7c-meta.json +1 -0
- package/.turbo/cache/7a2e937d0f5acb7c.tar.zst +0 -0
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +1 -0
- package/.turbo/cache/85f181c5a0ebfdc3.tar.zst +0 -0
- package/.turbo/cache/8830b8b624914679-meta.json +1 -0
- package/.turbo/cache/8830b8b624914679.tar.zst +0 -0
- package/.turbo/cache/88d4c5b7339b081b-meta.json +1 -0
- package/.turbo/cache/88d4c5b7339b081b.tar.zst +0 -0
- package/.turbo/cache/8f20a1cd3533e2cb-meta.json +1 -0
- package/.turbo/cache/8f20a1cd3533e2cb.tar.zst +0 -0
- package/.turbo/cache/91de2098a36b6939-meta.json +1 -0
- package/.turbo/cache/91de2098a36b6939.tar.zst +0 -0
- package/.turbo/cache/96edc0764ed4ab77-meta.json +1 -0
- package/.turbo/cache/96edc0764ed4ab77.tar.zst +0 -0
- package/.turbo/cache/a776eb6f87cd7464-meta.json +1 -0
- package/.turbo/cache/a776eb6f87cd7464.tar.zst +0 -0
- package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +1 -0
- package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
- package/.turbo/cache/ac47b2df8381d990-meta.json +1 -0
- package/.turbo/cache/ac47b2df8381d990.tar.zst +0 -0
- package/.turbo/cache/ac98992ca27cd36e-meta.json +1 -0
- package/.turbo/cache/ac98992ca27cd36e.tar.zst +0 -0
- package/.turbo/cache/b323342fa340ccb5-meta.json +1 -0
- package/.turbo/cache/b323342fa340ccb5.tar.zst +0 -0
- package/.turbo/cache/b681d1652a7f2aca-meta.json +1 -0
- package/.turbo/cache/b681d1652a7f2aca.tar.zst +0 -0
- package/.turbo/cache/b99d21002170d86d-meta.json +1 -0
- package/.turbo/cache/b99d21002170d86d.tar.zst +0 -0
- package/.turbo/cache/bff34c0db361f414-meta.json +1 -0
- package/.turbo/cache/bff34c0db361f414.tar.zst +0 -0
- package/.turbo/cache/c1c7334875426ff3-meta.json +1 -0
- package/.turbo/cache/c1c7334875426ff3.tar.zst +0 -0
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +1 -0
- package/.turbo/cache/cd12b66dd972aaf7.tar.zst +0 -0
- package/.turbo/cache/cf74604f39b00f11-meta.json +1 -0
- package/.turbo/cache/cf74604f39b00f11.tar.zst +0 -0
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +1 -0
- package/.turbo/cache/d5dbe6fb31ae5667.tar.zst +0 -0
- package/.turbo/cache/e2688cc026390fd6-meta.json +1 -0
- package/.turbo/cache/e2688cc026390fd6.tar.zst +0 -0
- package/.turbo/cache/e34579fa4cd85684-meta.json +1 -0
- package/.turbo/cache/e34579fa4cd85684.tar.zst +0 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +1 -0
- package/.turbo/cache/e64bd75c16c140f3.tar.zst +0 -0
- package/.turbo/cache/ea92743dea3b7023-meta.json +1 -0
- package/.turbo/cache/ea92743dea3b7023.tar.zst +0 -0
- package/.turbo/cache/f1b0cb8241603223-meta.json +1 -0
- package/.turbo/cache/f1b0cb8241603223.tar.zst +0 -0
- package/.turbo/cache/f22dc2dd55715ba2-meta.json +1 -0
- package/.turbo/cache/f22dc2dd55715ba2.tar.zst +0 -0
- package/.turbo/cache/f8f7a8045f230b79-meta.json +1 -0
- package/.turbo/cache/f8f7a8045f230b79.tar.zst +0 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +1 -0
- package/.turbo/cache/f8f99ba69bff8f2c.tar.zst +0 -0
- package/.turbo/cache/faafa5cc35d12e06-meta.json +1 -0
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +360 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +20 -21
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/README.md +27 -35
- package/components/checkbox/demo/api.md +67 -68
- package/components/checkbox/demo/api.min.js +429 -89
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +429 -89
- package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +19 -6
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +429 -89
- package/components/checkbox/package.json +6 -5
- package/components/checkbox/src/auro-checkbox-group.js +62 -23
- package/components/checkbox/src/auro-checkbox.js +30 -9
- package/components/checkbox/src/styles/colorGroup-css.js +1 -1
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -8
- package/components/checkbox/src/styles/tokens-css.js +1 -1
- package/components/checkbox/src/styles/tokens.css +0 -1
- package/components/checkbox/src/styles/tokens.scss +0 -1
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +22 -23
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/README.md +23 -28
- package/components/combobox/demo/api.md +27 -25
- package/components/combobox/demo/api.min.js +3385 -848
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3382 -845
- package/components/combobox/dist/auro-combobox.d.ts +74 -79
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +2733 -510
- package/components/combobox/dist/inputVersion.d.ts +3 -0
- package/components/combobox/dist/inputVersion.d.ts.map +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
- package/components/combobox/node_modules/chalk/package.json +3 -3
- package/components/combobox/node_modules/chalk/readme.md +25 -53
- package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
- package/components/combobox/package.json +12 -13
- package/components/combobox/src/auro-combobox.js +215 -163
- package/components/combobox/src/dropdownVersion.js +1 -0
- package/components/combobox/src/inputVersion.js +1 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
- package/components/{input → counter}/.turbo/turbo-build$colon$version.log +5 -5
- package/components/counter/.turbo/turbo-build.log +329 -14
- package/components/counter/.turbo/turbo-bundler.log +13 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +107 -1014
- package/components/counter/demo/api.min.js +5203 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +292 -0
- package/components/counter/demo/index.min.js +5231 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +127 -5
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +91 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/dropdownVersion.d.ts +3 -0
- package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +5203 -36
- package/components/{input/dist/styles/helpText-css.d.ts → counter/dist/styles/color-css.d.ts} +1 -1
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +14 -5
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +305 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +325 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +29 -0
- package/components/counter/src/styles/color.scss +49 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +11 -0
- package/components/counter/src/styles/counter-button-color.scss +23 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +6 -0
- package/components/counter/src/styles/counter-button-tokens.scss +8 -0
- package/components/counter/src/styles/counter-button.css +186 -0
- package/components/counter/src/styles/counter-button.scss +84 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +15 -1
- package/components/counter/src/styles/counter-group.scss +16 -1
- package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper-color.css +4 -0
- package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
- package/components/counter/src/styles/counter-wrapper-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper.css +15 -0
- package/components/counter/src/styles/counter-wrapper.scss +29 -0
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +50 -1
- package/components/counter/src/styles/style.scss +58 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +12 -0
- package/components/counter/src/styles/tokens.scss +25 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +52 -53
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/README.md +23 -28
- package/components/datepicker/demo/api.md +85 -57
- package/components/datepicker/demo/api.min.js +1304 -558
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1304 -558
- package/components/datepicker/dist/auro-calendar.d.ts +1 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +101 -73
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +1304 -558
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +2 -2
- package/components/datepicker/package.json +8 -8
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/datepicker/src/auro-datepicker.js +170 -89
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/datepicker/src/styles/style-css.js +1 -1
- package/components/datepicker/src/styles/style.css +55 -35
- package/components/datepicker/src/styles/style.scss +45 -13
- package/components/datepicker/src/utilitiesCalendarRender.js +2 -2
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/README.md +19 -27
- package/components/dropdown/demo/api.md +15 -3
- package/components/dropdown/demo/api.min.js +406 -88
- package/components/dropdown/demo/index.js +0 -3
- package/components/dropdown/demo/index.min.js +406 -91
- package/components/dropdown/dist/auro-dropdown.d.ts +16 -2
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +406 -88
- package/components/dropdown/package.json +6 -5
- package/components/dropdown/src/auro-dropdown.js +102 -11
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +3 -6
- package/components/dropdown/src/styles/color.scss +3 -6
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +5 -6
- package/components/dropdown/src/styles/style.scss +8 -8
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +1 -1
- package/components/dropdown/src/styles/tokens.scss +1 -1
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +29 -35
- package/components/form/demo/api.min.js +447 -25
- package/components/form/demo/index.min.js +447 -25
- package/components/form/demo/registerDemoDeps.js +22 -0
- package/components/form/demo/working.html +117 -0
- package/components/form/dist/auro-form.d.ts +178 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +447 -25
- package/components/form/package.json +8 -6
- package/components/form/src/auro-form.js +444 -25
- package/components/form/src/styles/style.css +1 -1
- package/components/helptext/.stylelintrc.json +3 -0
- package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
- package/components/helptext/.turbo/turbo-build.log +49 -0
- package/components/helptext/.turbo/turbo-bundler.log +7 -0
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/helptext/.turbo/turbo-types.log +4 -0
- package/components/helptext/dist/auro-helptext.d.ts +54 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
- package/components/helptext/dist/index.d.ts +3 -0
- package/components/helptext/dist/index.d.ts.map +1 -0
- package/components/helptext/dist/index.js +224 -0
- package/components/helptext/dist/styles/color-css.d.ts +3 -0
- package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/style-css.d.ts +3 -0
- package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
- package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/helptext/node_modules/chalk/package.json +83 -0
- package/components/helptext/node_modules/chalk/readme.md +297 -0
- package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
- package/components/helptext/node_modules/chalk/source/index.js +225 -0
- package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/helptext/package.json +57 -0
- package/components/helptext/src/auro-helptext.js +127 -0
- package/components/helptext/src/index.js +6 -0
- package/components/helptext/src/styles/color-css.js +2 -0
- package/components/helptext/src/styles/color.css +8 -0
- package/components/helptext/src/styles/color.scss +11 -0
- package/components/helptext/src/styles/style-css.js +2 -0
- package/components/helptext/src/styles/style.css +23 -0
- package/components/helptext/src/styles/style.scss +33 -0
- package/components/helptext/src/styles/tokens-css.js +2 -0
- package/components/helptext/src/styles/tokens.css +3 -0
- package/components/helptext/src/styles/tokens.scss +5 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +22 -32
- package/components/input/.turbo/turbo-build.log +33 -46
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +9 -15
- package/components/input/README.md +19 -29
- package/components/input/demo/api.md +85 -253
- package/components/input/demo/api.min.js +413 -125
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +413 -125
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +3 -3
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +413 -125
- package/components/input/package.json +6 -5
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/base-input.js +5 -5
- package/components/input/src/styles/color-css.js +1 -1
- package/components/input/src/styles/color.css +0 -5
- package/components/input/src/styles/color.scss +0 -5
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +2 -2
- package/components/input/src/styles/input.scss +2 -2
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +2 -9
- package/components/input/src/styles/style.scss +0 -1
- package/components/input/src/styles/tokens-css.js +1 -1
- package/components/input/src/styles/tokens.css +0 -1
- package/components/input/src/styles/tokens.scss +0 -1
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +22 -21
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +19 -27
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +626 -312
- package/components/menu/demo/index.min.js +624 -310
- package/components/menu/dist/auro-menu-utils.d.ts +43 -0
- package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
- package/components/menu/dist/auro-menu.d.ts +97 -81
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/index.d.ts +1 -0
- package/components/menu/dist/index.js +625 -311
- package/components/menu/package.json +5 -5
- package/components/menu/src/auro-menu-utils.js +131 -0
- package/components/menu/src/auro-menu.js +492 -303
- package/components/menu/src/index.js +7 -0
- package/components/menu/src/styles/color-menuoption-css.js +1 -1
- package/components/menu/src/styles/color-menuoption.css +3 -0
- package/components/menu/src/styles/color-menuoption.scss +4 -0
- package/components/menu/src/styles/style-menu.css +1 -1
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +23 -24
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/README.md +19 -27
- package/components/radio/demo/api.md +9 -8
- package/components/radio/demo/api.min.js +360 -62
- package/components/radio/demo/index.min.js +360 -62
- package/components/radio/dist/auro-radio-group.d.ts +7 -1
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +360 -62
- package/components/radio/package.json +6 -6
- package/components/radio/src/auro-radio-group.js +24 -6
- package/components/radio/src/styles/groupColor-css.js +1 -1
- package/components/radio/src/styles/groupColor.css +0 -8
- package/components/radio/src/styles/groupColor.scss +0 -8
- package/components/radio/src/styles/tokens-css.js +1 -1
- package/components/radio/src/styles/tokens.css +0 -1
- package/components/radio/src/styles/tokens.scss +0 -1
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +28 -27
- package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
- package/components/select/README.md +22 -43
- package/components/select/demo/api.md +52 -15
- package/components/select/demo/api.min.js +2851 -609
- package/components/select/demo/index.md +1 -16
- package/components/select/demo/index.min.js +2849 -607
- package/components/select/dist/auro-select.d.ts +23 -6
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/dropdownVersion.d.ts +3 -0
- package/components/select/dist/dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.js +2313 -385
- package/components/select/package.json +7 -7
- package/components/select/src/auro-select.js +77 -32
- package/components/select/src/dropdownVersion.js +1 -0
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +5 -4
- package/components/select/src/styles/style.scss +11 -4
- package/package.json +27 -23
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/build-tools/src/postinstall.mjs +8 -0
- package/packages/form-validation/src/validation.js +79 -20
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/turbo.json +42 -9
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
- package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
- package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
- package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
- package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
- package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/f817d89688cefca8-meta.json +0 -1
- package/.turbo/cache/f817d89688cefca8.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
- package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-types.log +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@
|
|
2
|
+
"name": "@aurodesignsystem/auro-select",
|
|
3
3
|
"version": "3.3.0",
|
|
4
4
|
"description": "auro-select HTML custom element",
|
|
5
5
|
"type": "module",
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"url": "https://github.com/AlaskaAirlines/auro-select"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
15
|
+
"@aurodesignsystem/auro-dropdown": "*",
|
|
16
|
+
"@aurodesignsystem/auro-menu": "*",
|
|
17
17
|
"chalk": "^5.3.0",
|
|
18
18
|
"lit-element": "^4.1.1",
|
|
19
19
|
"lit-html": "^3.2.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
22
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
23
23
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@auro-formkit/config": "*",
|
|
29
29
|
"@auro-formkit/form-validation": "*",
|
|
30
30
|
"@auro-formkit/typescript": "*",
|
|
31
|
-
"@aurodesignsystem/design-tokens": "^4.
|
|
31
|
+
"@aurodesignsystem/design-tokens": "^4.13.0",
|
|
32
32
|
"@aurodesignsystem/webcorestylesheets": "^5.1.2",
|
|
33
33
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
34
34
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"postCss:component": "node ../../node_modules/@aurodesignsystem/auro-library/scripts/build/postCss.mjs",
|
|
61
61
|
"sass:render": "sass-render --load-path=../../node_modules 'src/**/*.css' -t ../../node_modules/@aurodesignsystem/auro-library/scripts/build/staticStyles-template.js",
|
|
62
62
|
"serve": "web-dev-server",
|
|
63
|
-
"test": "wtr --config \"../../packages/config/src/web-test-runner.config.mjs\" --coverage",
|
|
64
|
-
"test:watch": "wtr --watch",
|
|
63
|
+
"test": "wtr --config \"../../packages/config/src/web-test-runner.config.mjs\" --coverage --port 7700",
|
|
64
|
+
"test:watch": "wtr --config \"../../packages/config/src/web-test-runner.config.mjs\" --watch --port 7700",
|
|
65
65
|
"types": "tsc --project tsconfig.json",
|
|
66
66
|
"lint": "npm-run-all scssLint esLint",
|
|
67
67
|
"scssLint": "stylelint \"./src/**/*.scss\"",
|
|
@@ -15,9 +15,14 @@ import AuroLibraryRuntimeUtils from '@aurodesignsystem/auro-library/scripts/util
|
|
|
15
15
|
|
|
16
16
|
import { AuroDependencyVersioning } from '@aurodesignsystem/auro-library/scripts/runtime/dependencyTagVersioning.mjs';
|
|
17
17
|
|
|
18
|
-
import { AuroDropdown } from '@
|
|
18
|
+
import { AuroDropdown } from '@aurodesignsystem/auro-dropdown';
|
|
19
19
|
import dropdownVersion from './formkit/auro-dropdownVersion.js';
|
|
20
20
|
|
|
21
|
+
import {
|
|
22
|
+
arrayConverter,
|
|
23
|
+
arrayOrUndefinedHasChanged
|
|
24
|
+
} from '@aurodesignsystem/auro-menu';
|
|
25
|
+
|
|
21
26
|
import styleCss from "./styles/style-css.js";
|
|
22
27
|
import colorCss from "./styles/color-css.js";
|
|
23
28
|
import tokensCss from "./styles/tokens-css.js";
|
|
@@ -31,6 +36,7 @@ import tokensCss from "./styles/tokens-css.js";
|
|
|
31
36
|
* @slot helpText - Defines the content of the helpText.
|
|
32
37
|
* @slot placeholder - Defines the content of the placeholder to be shown when there is no value
|
|
33
38
|
* @event auroSelect-valueSet - Notifies that the component has a new value set.
|
|
39
|
+
* @event input - Notifies every time the value prop of the element is changed.
|
|
34
40
|
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
|
|
35
41
|
* @csspart helpText - Apply CSS to the help text.
|
|
36
42
|
*/
|
|
@@ -41,7 +47,7 @@ export class AuroSelect extends LitElement {
|
|
|
41
47
|
super();
|
|
42
48
|
|
|
43
49
|
this.optionSelected = undefined;
|
|
44
|
-
this.
|
|
50
|
+
this.value = undefined;
|
|
45
51
|
|
|
46
52
|
const idLength = 36;
|
|
47
53
|
const idSubstrEnd = 8;
|
|
@@ -138,7 +144,9 @@ export class AuroSelect extends LitElement {
|
|
|
138
144
|
* Specifies the current selected menuOption.
|
|
139
145
|
*/
|
|
140
146
|
optionSelected: {
|
|
141
|
-
|
|
147
|
+
// Allow HTMLElement[] arrays and undefined
|
|
148
|
+
converter: arrayConverter,
|
|
149
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
142
150
|
},
|
|
143
151
|
|
|
144
152
|
/**
|
|
@@ -197,8 +205,19 @@ export class AuroSelect extends LitElement {
|
|
|
197
205
|
* Value selected for the component.
|
|
198
206
|
*/
|
|
199
207
|
value: {
|
|
200
|
-
|
|
201
|
-
|
|
208
|
+
// Allow string[] arrays and undefined
|
|
209
|
+
converter: arrayConverter,
|
|
210
|
+
hasChanged: arrayOrUndefinedHasChanged
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Sets multi-select mode, allowing multiple options to be selected at once.
|
|
215
|
+
*/
|
|
216
|
+
multiSelect: {
|
|
217
|
+
type: Boolean,
|
|
218
|
+
reflect: true,
|
|
219
|
+
attribute: 'multiselect'
|
|
220
|
+
},
|
|
202
221
|
};
|
|
203
222
|
}
|
|
204
223
|
|
|
@@ -240,29 +259,30 @@ export class AuroSelect extends LitElement {
|
|
|
240
259
|
}
|
|
241
260
|
|
|
242
261
|
/**
|
|
243
|
-
* Updates the displayed value in an Auro dropdown component based on optionSelected
|
|
262
|
+
* Updates the displayed value in an Auro dropdown component based on optionSelected.
|
|
244
263
|
* @private
|
|
245
264
|
* @returns {void}
|
|
246
265
|
*/
|
|
247
266
|
updateDisplayedValue() {
|
|
248
267
|
const triggerContentEl = this.dropdown.querySelector('#triggerFocus');
|
|
249
268
|
|
|
250
|
-
//
|
|
251
|
-
triggerContentEl.
|
|
252
|
-
|
|
253
|
-
|
|
269
|
+
// Clear everything except placeholder
|
|
270
|
+
const placeholder = triggerContentEl.querySelector('#placeholder');
|
|
271
|
+
triggerContentEl.innerHTML = '';
|
|
272
|
+
if (placeholder) {
|
|
273
|
+
triggerContentEl.appendChild(placeholder);
|
|
274
|
+
}
|
|
254
275
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
clone.removeAttribute('class');
|
|
276
|
+
// Handle selected options
|
|
277
|
+
if (this.optionSelected && this.optionSelected.length) {
|
|
278
|
+
// Create display text from selected options
|
|
279
|
+
const displayText = this.optionSelected.map((option) => option.textContent).join(', ');
|
|
260
280
|
|
|
261
|
-
|
|
262
|
-
|
|
281
|
+
const span = document.createElement('span');
|
|
282
|
+
span.textContent = displayText;
|
|
283
|
+
triggerContentEl.appendChild(span);
|
|
263
284
|
}
|
|
264
285
|
|
|
265
|
-
// notify dropdown as trigger content is changed
|
|
266
286
|
this.dropdown.requestUpdate();
|
|
267
287
|
}
|
|
268
288
|
|
|
@@ -282,6 +302,10 @@ export class AuroSelect extends LitElement {
|
|
|
282
302
|
return;
|
|
283
303
|
}
|
|
284
304
|
|
|
305
|
+
if (this.multiSelect) {
|
|
306
|
+
this.menu.multiSelect = this.multiSelect;
|
|
307
|
+
}
|
|
308
|
+
|
|
285
309
|
this.menu.addEventListener("auroMenu-loadingChange", (event) => this.handleMenuLoadingChange(event));
|
|
286
310
|
this.menu.setAttribute('aria-hidden', 'true');
|
|
287
311
|
|
|
@@ -292,8 +316,10 @@ export class AuroSelect extends LitElement {
|
|
|
292
316
|
});
|
|
293
317
|
|
|
294
318
|
this.menu.addEventListener('auroMenu-selectedOption', () => {
|
|
319
|
+
// Get array of selected options from menu
|
|
295
320
|
this.optionSelected = this.menu.optionSelected;
|
|
296
|
-
|
|
321
|
+
// For single select, we still use arrays but only take first value
|
|
322
|
+
this.value = this.menu.value;
|
|
297
323
|
|
|
298
324
|
if (this.dropdown.isPopoverVisible) {
|
|
299
325
|
this.dropdown.hide();
|
|
@@ -308,7 +334,7 @@ export class AuroSelect extends LitElement {
|
|
|
308
334
|
* with `auro-select.value`.
|
|
309
335
|
*/
|
|
310
336
|
this.menu.addEventListener('auroMenu-selectValueFailure', () => {
|
|
311
|
-
this.
|
|
337
|
+
this.menu.clearSelection();
|
|
312
338
|
});
|
|
313
339
|
|
|
314
340
|
this.menu.addEventListener('auroMenu-selectValueReset', () => {
|
|
@@ -333,7 +359,7 @@ export class AuroSelect extends LitElement {
|
|
|
333
359
|
this.dropdown.show();
|
|
334
360
|
|
|
335
361
|
if (this.dropdown.isPopoverVisible) {
|
|
336
|
-
this.menu.
|
|
362
|
+
this.menu.navigateOptions('up');
|
|
337
363
|
}
|
|
338
364
|
}
|
|
339
365
|
|
|
@@ -343,7 +369,7 @@ export class AuroSelect extends LitElement {
|
|
|
343
369
|
this.dropdown.show();
|
|
344
370
|
|
|
345
371
|
if (this.dropdown.isPopoverVisible) {
|
|
346
|
-
this.menu.
|
|
372
|
+
this.menu.navigateOptions('down');
|
|
347
373
|
}
|
|
348
374
|
}
|
|
349
375
|
|
|
@@ -406,7 +432,7 @@ export class AuroSelect extends LitElement {
|
|
|
406
432
|
* input as no longer in the initial state.
|
|
407
433
|
*/
|
|
408
434
|
if (this.value === undefined) {
|
|
409
|
-
this.value =
|
|
435
|
+
this.value = undefined;
|
|
410
436
|
this.removeEventListener('focusin', this.handleFocusin);
|
|
411
437
|
}
|
|
412
438
|
}
|
|
@@ -464,22 +490,33 @@ export class AuroSelect extends LitElement {
|
|
|
464
490
|
}
|
|
465
491
|
}
|
|
466
492
|
|
|
467
|
-
updated(changedProperties) {
|
|
468
|
-
// After the component is ready, send direct value changes to auro-menu.
|
|
493
|
+
async updated(changedProperties) {
|
|
469
494
|
if (changedProperties.has('value')) {
|
|
470
495
|
if (this.value) {
|
|
471
496
|
this.menu.value = this.value;
|
|
497
|
+
|
|
498
|
+
// Wait for menu to finish updating its value
|
|
499
|
+
await this.menu.updateComplete;
|
|
500
|
+
|
|
501
|
+
this.optionSelected = this.menu.optionSelected;
|
|
472
502
|
} else {
|
|
473
503
|
this.menu.value = undefined;
|
|
474
504
|
}
|
|
475
505
|
|
|
476
506
|
this.validation.validate(this);
|
|
477
507
|
|
|
508
|
+
// LEGACY EVENT
|
|
478
509
|
this.dispatchEvent(new CustomEvent('auroSelect-valueSet', {
|
|
479
510
|
bubbles: true,
|
|
480
511
|
cancelable: false,
|
|
481
512
|
composed: true,
|
|
482
513
|
}));
|
|
514
|
+
|
|
515
|
+
this.dispatchEvent(new CustomEvent('input', {
|
|
516
|
+
bubbles: true,
|
|
517
|
+
cancelable: true,
|
|
518
|
+
composed: true,
|
|
519
|
+
}));
|
|
483
520
|
}
|
|
484
521
|
|
|
485
522
|
if (changedProperties.has('optionSelected')) {
|
|
@@ -487,7 +524,7 @@ export class AuroSelect extends LitElement {
|
|
|
487
524
|
}
|
|
488
525
|
|
|
489
526
|
if (changedProperties.has('error')) {
|
|
490
|
-
this.
|
|
527
|
+
this.validate(true);
|
|
491
528
|
}
|
|
492
529
|
}
|
|
493
530
|
|
|
@@ -499,6 +536,14 @@ export class AuroSelect extends LitElement {
|
|
|
499
536
|
this.validation.reset(this);
|
|
500
537
|
}
|
|
501
538
|
|
|
539
|
+
/**
|
|
540
|
+
* Validates value.
|
|
541
|
+
* @param {boolean} [force=false] - Whether to force validation.
|
|
542
|
+
*/
|
|
543
|
+
validate(force = false) {
|
|
544
|
+
this.validation.validate(this, force);
|
|
545
|
+
}
|
|
546
|
+
|
|
502
547
|
// When using auroElement, use the following attribute and function when hiding content from screen readers.
|
|
503
548
|
// aria-hidden="${this.hideAudible(this.hiddenAudible)}"
|
|
504
549
|
|
|
@@ -539,18 +584,18 @@ export class AuroSelect extends LitElement {
|
|
|
539
584
|
<div class="menuWrapper">
|
|
540
585
|
</div>
|
|
541
586
|
<slot name="label" slot="label"></slot>
|
|
542
|
-
<
|
|
587
|
+
<p slot="helpText">
|
|
543
588
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
544
589
|
? html`
|
|
545
|
-
<
|
|
590
|
+
<span id="${this.uniqueId}" part="helpText">
|
|
546
591
|
<slot name="helpText"></slot>
|
|
547
|
-
</
|
|
592
|
+
</span>`
|
|
548
593
|
: html`
|
|
549
|
-
<
|
|
594
|
+
<span id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
550
595
|
${this.errorMessage}
|
|
551
|
-
</
|
|
596
|
+
</span>`
|
|
552
597
|
}
|
|
553
|
-
</
|
|
598
|
+
</p>
|
|
554
599
|
</${this.dropdownTag}>
|
|
555
600
|
<!-- Help text and error message template -->
|
|
556
601
|
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default '3.0.0';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export default css`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}
|
|
2
|
+
export default css`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}:host([multiselect]) [slot=trigger]{display:flex}:host([multiselect]) auro-menuoption:not(:first-child){margin-left:var(--ds-size-100)}`;
|
|
@@ -97,8 +97,9 @@ auro-menuoption {
|
|
|
97
97
|
padding: var(--ds-size-50, 0.25rem) 0;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
:host([multiselect]) [slot=trigger] {
|
|
101
|
+
display: flex;
|
|
102
|
+
}
|
|
103
|
+
:host([multiselect]) auro-menuoption:not(:first-child) {
|
|
104
|
+
margin-left: var(--ds-size-100);
|
|
104
105
|
}
|
|
@@ -69,8 +69,15 @@ auro-menuoption {
|
|
|
69
69
|
padding: var(--ds-size-50, $ds-size-50) 0;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
// Multiselect styles
|
|
73
|
+
:host([multiselect]) {
|
|
74
|
+
[slot="trigger"] {
|
|
75
|
+
display: flex;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
auro-menuoption {
|
|
79
|
+
&:not(:first-child) {
|
|
80
|
+
margin-left: var(--ds-size-100);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
76
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurodesignsystem/auro-formkit",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.40",
|
|
4
4
|
"description": "A collection of web components used to build forms.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": "^20.x || ^22.x"
|
|
13
13
|
},
|
|
14
|
-
"packageManager": "npm@
|
|
14
|
+
"packageManager": "npm@11.0.0",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
"types": "turbo run types",
|
|
30
30
|
"dev": "turbo run dev --parallel",
|
|
31
31
|
"lint": "turbo run lint",
|
|
32
|
-
"test": "
|
|
32
|
+
"test": "turbo run test",
|
|
33
|
+
"test:watch": "turbo run test:watch",
|
|
33
34
|
"clean": "turbo run clean && rm -rf node_modules",
|
|
34
35
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
35
|
-
"postinstall": "node ./
|
|
36
|
+
"postinstall": "node ./packages/build-tools/src/postinstall.mjs",
|
|
36
37
|
"build:docs": "turbo run build:docs",
|
|
37
38
|
"build:docs:kit": "node ./packages/build-tools/src/kitDocProcessor.mjs",
|
|
38
39
|
"sweep": "find ./components ./packages -type d -name 'dist' -exec rm -rf {} + && find ./components ./packages -not -path '*/node_modules/*' -type f \\( -name '*.css' -o -name '*-css.js' \\) -delete",
|
|
@@ -40,12 +41,15 @@
|
|
|
40
41
|
"prepare": "husky"
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
43
|
-
"@aurodesignsystem/auro-library": "^3.0.
|
|
44
|
+
"@aurodesignsystem/auro-library": "^3.0.8"
|
|
45
|
+
},
|
|
46
|
+
"optionalDependencies": {
|
|
47
|
+
"@rollup/rollup-linux-x64-gnu": "*"
|
|
44
48
|
},
|
|
45
49
|
"devDependencies": {
|
|
46
50
|
"@aurodesignsystem/eslint-config": "^1.3.3",
|
|
47
|
-
"@commitlint/cli": "^19.
|
|
48
|
-
"@commitlint/config-conventional": "^19.
|
|
51
|
+
"@commitlint/cli": "^19.6.1",
|
|
52
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
49
53
|
"@open-wc/testing": "^4.0.0",
|
|
50
54
|
"@semantic-release/changelog": "^6.0.3",
|
|
51
55
|
"@semantic-release/git": "^10.0.1",
|
|
@@ -58,30 +62,30 @@
|
|
|
58
62
|
"babel-loader": "^9.2.1",
|
|
59
63
|
"compression": "^1.7.5",
|
|
60
64
|
"concat": "^1.0.3",
|
|
61
|
-
"concurrently": "^9.
|
|
65
|
+
"concurrently": "^9.1.2",
|
|
62
66
|
"copyfiles": "^2.4.1",
|
|
63
|
-
"core-js": "^3.
|
|
64
|
-
"eslint": "^9.
|
|
65
|
-
"eslint-plugin-jsdoc": "^50.
|
|
67
|
+
"core-js": "^3.40.0",
|
|
68
|
+
"eslint": "^9.18.0",
|
|
69
|
+
"eslint-plugin-jsdoc": "^50.6.1",
|
|
66
70
|
"husky": "^9.1.7",
|
|
67
71
|
"lodash": "^4.17.21",
|
|
68
|
-
"markdown-magic": "^
|
|
69
|
-
"nodemon": "^3.1.
|
|
72
|
+
"markdown-magic": "^3.3.0",
|
|
73
|
+
"nodemon": "^3.1.9",
|
|
70
74
|
"npm-run-all": "^4.1.5",
|
|
71
|
-
"postcss": "^8.
|
|
75
|
+
"postcss": "^8.5.0",
|
|
72
76
|
"postcss-custom-properties": "^14.0.4",
|
|
73
77
|
"postcss-discard-comments": "^7.0.3",
|
|
74
|
-
"prettier": "^3.
|
|
75
|
-
"sass": "^1.
|
|
76
|
-
"semantic-release": "^24.2.
|
|
77
|
-
"stylelint": "^16.
|
|
78
|
+
"prettier": "^3.4.2",
|
|
79
|
+
"sass": "^1.83.1",
|
|
80
|
+
"semantic-release": "^24.2.1",
|
|
81
|
+
"stylelint": "^16.13.1",
|
|
78
82
|
"stylelint-config-idiomatic-order": "^10.0.0",
|
|
79
|
-
"stylelint-config-standard": "^
|
|
80
|
-
"stylelint-config-standard-scss": "^
|
|
83
|
+
"stylelint-config-standard": "^37.0.0",
|
|
84
|
+
"stylelint-config-standard-scss": "^14.0.0",
|
|
81
85
|
"stylelint-order": "^6.0.4",
|
|
82
|
-
"stylelint-scss": "^6.
|
|
83
|
-
"turbo": "^2.3.
|
|
84
|
-
"typescript": "^5.
|
|
86
|
+
"stylelint-scss": "^6.10.0",
|
|
87
|
+
"turbo": "^2.3.3",
|
|
88
|
+
"typescript": "^5.7.3",
|
|
85
89
|
"whatwg-fetch": "^3.6.20",
|
|
86
90
|
"yaml-lint": "^1.7.0"
|
|
87
91
|
},
|
|
@@ -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
|
}
|
|
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';
|
|
53
108
|
}
|
|
54
|
-
|
|
55
|
-
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
56
|
-
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
57
|
-
elem.validity = 'tooShort';
|
|
58
|
-
elem.errorMessage = elem.setCustomValidityTooShort || elem.setCustomValidity || '';
|
|
59
|
-
}
|
|
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
|
|
|
@@ -170,7 +227,9 @@ export default class AuroFormValidation {
|
|
|
170
227
|
elem.errorMessage = elem.setCustomValidityValueMissing || elem.setCustomValidity || '';
|
|
171
228
|
} else if (this.runtimeUtils.elementMatch(elem, 'auro-input')) {
|
|
172
229
|
this.validateType(elem);
|
|
173
|
-
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);
|
|
174
233
|
}
|
|
175
234
|
}
|
|
176
235
|
|
|
@@ -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
|
+
}
|