@aurodesignsystem/auro-formkit 2.0.0-beta.2 → 2.0.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/cache/0185585abae43d38-meta.json +1 -0
- package/.turbo/cache/0185585abae43d38.tar.zst +0 -0
- package/.turbo/cache/092e1fe054c68113-meta.json +1 -0
- package/.turbo/cache/092e1fe054c68113.tar.zst +0 -0
- package/.turbo/cache/19eb9b69e5625309-meta.json +1 -0
- package/.turbo/cache/19eb9b69e5625309.tar.zst +0 -0
- package/.turbo/cache/2059bc724ac24519-meta.json +1 -0
- package/.turbo/cache/2059bc724ac24519.tar.zst +0 -0
- package/.turbo/cache/23b3a2fea223679d-meta.json +1 -0
- package/.turbo/cache/23b3a2fea223679d.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
- package/.turbo/cache/2e79b1c1455468a1-meta.json +1 -0
- package/.turbo/cache/2e79b1c1455468a1.tar.zst +0 -0
- package/.turbo/cache/341f87099beb533e-meta.json +1 -0
- package/.turbo/cache/341f87099beb533e.tar.zst +0 -0
- package/.turbo/cache/363aa008d976f81d-meta.json +1 -0
- package/.turbo/cache/363aa008d976f81d.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
- package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
- package/.turbo/cache/43ab6002bc2cd191-meta.json +1 -0
- package/.turbo/cache/43ab6002bc2cd191.tar.zst +0 -0
- package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -0
- package/.turbo/cache/45cd32cd38eacbcb.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
- package/.turbo/cache/493e064c221aa745-meta.json +1 -0
- package/.turbo/cache/493e064c221aa745.tar.zst +0 -0
- package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -0
- package/.turbo/cache/50cd7dcfc9f820c5.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/56ee89ef1c48963e-meta.json +1 -0
- package/.turbo/cache/56ee89ef1c48963e.tar.zst +0 -0
- package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -0
- package/.turbo/cache/5b57cc0e26e1fd5d.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
- package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
- package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
- package/.turbo/cache/631d441eebe7e4ac-meta.json +1 -0
- package/.turbo/cache/631d441eebe7e4ac.tar.zst +0 -0
- package/.turbo/cache/6c582e957afdd75f-meta.json +1 -0
- package/.turbo/cache/6c582e957afdd75f.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/78418f9089673a21-meta.json +1 -0
- package/.turbo/cache/78418f9089673a21.tar.zst +0 -0
- package/.turbo/cache/7964d1656e9e702a-meta.json +1 -0
- package/.turbo/cache/7964d1656e9e702a.tar.zst +0 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
- package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
- package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
- package/.turbo/cache/80ebd4b1fa5c1e3a-meta.json +1 -0
- package/.turbo/cache/80ebd4b1fa5c1e3a.tar.zst +0 -0
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
- package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
- package/.turbo/cache/8c5b86ca67d33b17-meta.json +1 -0
- package/.turbo/cache/8c5b86ca67d33b17.tar.zst +0 -0
- package/.turbo/cache/8f5fef3e04a6fcfa-meta.json +1 -0
- package/.turbo/cache/8f5fef3e04a6fcfa.tar.zst +0 -0
- package/.turbo/cache/9d99fa3ab31d272f-meta.json +1 -0
- package/.turbo/cache/9d99fa3ab31d272f.tar.zst +0 -0
- package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -0
- package/.turbo/cache/a779ea8b78ce9d59.tar.zst +0 -0
- package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -0
- package/.turbo/cache/a9c36a3534c5496b.tar.zst +0 -0
- package/.turbo/cache/ac1b55ad6757fd54-meta.json +1 -0
- package/.turbo/cache/ac1b55ad6757fd54.tar.zst +0 -0
- package/.turbo/cache/b1cd3922508c11c0-meta.json +1 -0
- package/.turbo/cache/b1cd3922508c11c0.tar.zst +0 -0
- package/.turbo/cache/b3c5c13bb1c28c92-meta.json +1 -0
- package/.turbo/cache/b3c5c13bb1c28c92.tar.zst +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
- package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
- package/.turbo/cache/ba270a0ef147f2e5-meta.json +1 -0
- package/.turbo/cache/ba270a0ef147f2e5.tar.zst +0 -0
- package/.turbo/cache/bb5213773d5d3b04-meta.json +1 -0
- package/.turbo/cache/bb5213773d5d3b04.tar.zst +0 -0
- package/.turbo/cache/bbefd8d9606f1e87-meta.json +1 -0
- package/.turbo/cache/bbefd8d9606f1e87.tar.zst +0 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
- package/.turbo/cache/c03a12ff38ba1e02-meta.json +1 -0
- package/.turbo/cache/c03a12ff38ba1e02.tar.zst +0 -0
- package/.turbo/cache/c1312c6f8c051461-meta.json +1 -0
- package/.turbo/cache/c1312c6f8c051461.tar.zst +0 -0
- package/.turbo/cache/c289a5a9a6b897a9-meta.json +1 -0
- package/.turbo/cache/c289a5a9a6b897a9.tar.zst +0 -0
- package/.turbo/cache/c376d692c092d4d1-meta.json +1 -0
- package/.turbo/cache/c376d692c092d4d1.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c6dbc49c3038946d-meta.json +1 -0
- package/.turbo/cache/c6dbc49c3038946d.tar.zst +0 -0
- package/.turbo/cache/cae7586c45bed13e-meta.json +1 -0
- package/.turbo/cache/cae7586c45bed13e.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
- package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
- package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
- package/.turbo/cache/db5e65d819bfe66b-meta.json +1 -0
- package/.turbo/cache/db5e65d819bfe66b.tar.zst +0 -0
- package/.turbo/cache/dbe6a08c64601aec-meta.json +1 -0
- package/.turbo/cache/dbe6a08c64601aec.tar.zst +0 -0
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -0
- package/.turbo/cache/dc597b3ea4f61ec8.tar.zst +0 -0
- package/.turbo/cache/df5f651693145406-meta.json +1 -0
- package/.turbo/cache/df5f651693145406.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/ee40cab15d5b1fad-meta.json +1 -0
- package/.turbo/cache/ee40cab15d5b1fad.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +202 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +20 -21
- package/components/checkbox/.turbo/turbo-bundler.log +4 -4
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/.turbo/turbo-types.log +1 -1
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.md +69 -68
- package/components/checkbox/demo/api.min.js +195 -87
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +195 -87
- package/components/checkbox/dist/auro-checkbox-group.d.ts +40 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +20 -11
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +195 -87
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox-group.js +57 -20
- package/components/checkbox/src/auro-checkbox.js +29 -12
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +22 -23
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/README.md +21 -26
- package/components/combobox/demo/api.md +30 -26
- package/components/combobox/demo/api.min.js +3227 -948
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +3224 -945
- package/components/combobox/dist/auro-combobox.d.ts +76 -74
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/dropdownVersion.d.ts +3 -0
- package/components/combobox/dist/dropdownVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +2593 -628
- package/components/combobox/dist/inputVersion.d.ts +3 -0
- package/components/combobox/dist/inputVersion.d.ts.map +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
- package/components/combobox/node_modules/chalk/package.json +3 -3
- package/components/combobox/node_modules/chalk/readme.md +25 -53
- package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
- package/components/combobox/package.json +8 -8
- package/components/combobox/src/auro-combobox.js +225 -164
- package/components/combobox/src/dropdownVersion.js +1 -0
- package/components/combobox/src/inputVersion.js +1 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +210 -7
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +325 -14
- package/components/counter/.turbo/turbo-bundler.log +7 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +45 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +104 -1014
- package/components/counter/demo/api.min.js +4773 -36
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +190 -0
- package/components/counter/demo/index.min.js +4801 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +112 -5
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
- package/components/counter/dist/auro-counter.d.ts +89 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/dropdownVersion.d.ts +3 -0
- package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +4773 -36
- package/components/counter/dist/styles/color-css.d.ts +3 -0
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +9 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +229 -20
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/auro-counter.js +287 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +25 -0
- package/components/counter/src/styles/color.scss +44 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +14 -0
- package/components/counter/src/styles/counter-button-color.scss +29 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +7 -0
- package/components/counter/src/styles/counter-button-tokens.scss +9 -0
- package/components/counter/src/styles/counter-button.css +187 -0
- package/components/counter/src/styles/counter-button.scss +83 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +9 -1
- package/components/counter/src/styles/counter-group.scss +10 -1
- package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper-color.css +4 -0
- package/components/counter/src/styles/counter-wrapper-color.scss +19 -0
- package/components/counter/src/styles/counter-wrapper-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper.css +15 -0
- package/components/counter/src/styles/counter-wrapper.scss +29 -0
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +43 -1
- package/components/counter/src/styles/style.scss +48 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +11 -0
- package/components/counter/src/styles/tokens.scss +24 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +57 -57
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.md +182 -135
- package/components/datepicker/demo/api.min.js +1010 -566
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1010 -566
- package/components/datepicker/dist/auro-datepicker.d.ts +94 -78
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +2 -0
- package/components/datepicker/dist/dropdownVersion.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +1010 -566
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/package.json +3 -3
- package/components/datepicker/src/auro-datepicker.js +152 -106
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-bundler.log +4 -4
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/.turbo/turbo-types.log +1 -1
- package/components/dropdown/README.md +18 -26
- package/components/dropdown/demo/api.md +4 -4
- package/components/dropdown/demo/api.min.js +205 -81
- package/components/dropdown/demo/index.min.js +205 -81
- package/components/dropdown/dist/auro-dropdown.d.ts +93 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +9 -3
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +205 -81
- package/components/dropdown/package.json +1 -1
- package/components/dropdown/src/auro-dropdown.js +154 -39
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +4 -0
- package/components/dropdown/src/styles/style.scss +5 -0
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +28 -34
- package/components/form/demo/api.min.js +338 -25
- package/components/form/demo/index.min.js +338 -25
- package/components/form/demo/registerDemoDeps.js +6 -0
- package/components/form/demo/working.html +108 -0
- package/components/form/dist/auro-form.d.ts +137 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +338 -25
- package/components/form/package.json +4 -2
- package/components/form/src/auro-form.js +335 -25
- package/components/input/.turbo/turbo-build$colon$sass.log +66 -16
- package/components/input/.turbo/turbo-build$colon$version.log +1 -1
- package/components/input/.turbo/turbo-build.log +79 -32
- package/components/input/.turbo/turbo-bundler.log +4 -4
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +15 -9
- package/components/input/.turbo/turbo-types.log +1 -1
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +151 -316
- package/components/input/demo/api.min.js +370 -150
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +370 -150
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +158 -87
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/index.js +370 -150
- package/components/input/dist/styles/mixins-css.d.ts +3 -0
- package/components/input/dist/styles/mixins-css.d.ts.map +1 -0
- package/components/input/package.json +1 -1
- package/components/input/src/auro-input.js +0 -1
- package/components/input/src/base-input.js +257 -90
- package/components/input/src/styles/borders.scss +3 -19
- package/components/input/src/styles/color.css +1 -2
- package/components/input/src/styles/color.scss +3 -10
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +1 -1
- package/components/input/src/styles/input.scss +4 -1
- package/components/input/src/styles/label-css.js +1 -1
- package/components/input/src/styles/label.css +1 -1
- package/components/input/src/styles/label.scss +4 -7
- package/components/input/src/styles/mixins-css.js +2 -0
- package/components/input/src/styles/mixins.css +1 -0
- package/components/input/src/styles/mixins.scss +45 -0
- package/components/input/src/styles/notificationIcons-css.js +1 -1
- package/components/input/src/styles/notificationIcons.css +13 -12
- package/components/input/src/styles/notificationIcons.scss +17 -25
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +15 -17
- package/components/input/src/styles/style.scss +0 -4
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +22 -21
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +18 -26
- package/components/menu/demo/api.md +57 -20
- package/components/menu/demo/api.min.js +626 -312
- package/components/menu/demo/index.min.js +624 -310
- package/components/menu/dist/auro-menu-utils.d.ts +43 -0
- package/components/menu/dist/auro-menu-utils.d.ts.map +1 -0
- package/components/menu/dist/auro-menu.d.ts +97 -81
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/index.d.ts +1 -0
- package/components/menu/dist/index.js +625 -311
- package/components/menu/package.json +1 -1
- package/components/menu/src/auro-menu-utils.js +131 -0
- package/components/menu/src/auro-menu.js +492 -303
- package/components/menu/src/index.js +7 -0
- package/components/menu/src/styles/color-menuoption-css.js +1 -1
- package/components/menu/src/styles/color-menuoption.css +3 -0
- package/components/menu/src/styles/color-menuoption.scss +4 -0
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +23 -24
- package/components/radio/.turbo/turbo-bundler.log +4 -4
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/.turbo/turbo-types.log +1 -1
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.md +7 -4
- package/components/radio/demo/api.min.js +120 -58
- package/components/radio/demo/index.min.js +120 -58
- package/components/radio/dist/auro-radio-group.d.ts +5 -0
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +120 -58
- package/components/radio/package.json +1 -1
- package/components/radio/src/auro-radio-group.js +10 -2
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +32 -33
- package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
- package/components/select/README.md +21 -42
- package/components/select/demo/api.md +92 -121
- package/components/select/demo/api.min.js +2723 -711
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +2722 -706
- package/components/select/dist/auro-select.d.ts +77 -48
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/dropdownVersion.d.ts +3 -0
- package/components/select/dist/dropdownVersion.d.ts.map +1 -0
- package/components/select/dist/index.js +2082 -367
- package/components/select/package.json +3 -3
- package/components/select/src/auro-select.js +148 -129
- package/components/select/src/dropdownVersion.js +1 -0
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +14 -0
- package/components/select/src/styles/style.scss +24 -1
- package/package.json +21 -21
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/form-validation/src/validation.js +104 -50
- package/packages/utils/package.json +12 -0
- package/packages/utils/src/iconUtil.js +25 -0
- package/packages/utils/src/index.js +1 -0
- package/turbo.json +8 -8
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/0663fcbb1d711029-meta.json +0 -1
- package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0a2b0a4df8a0443f-meta.json +0 -1
- package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/120c8e207aa1ba35-meta.json +0 -1
- package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/17dd4bdef6550a07-meta.json +0 -1
- package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +0 -1
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +0 -1
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/32c0b9995fb5f8dd-meta.json +0 -1
- package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/47ba2b5ebdb579e9-meta.json +0 -1
- package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +0 -1
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/56cb35d4c7473a23-meta.json +0 -1
- package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +0 -1
- package/.turbo/cache/5c16ce3cff5c9dff.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/626afdc67e0cb540-meta.json +0 -1
- package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/6ef81cf9a66f982a-meta.json +0 -1
- package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/784c03fe9fd5ac05-meta.json +0 -1
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +0 -1
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8b735250fa5a62bf-meta.json +0 -1
- package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
- package/.turbo/cache/9154e8fe6ab767ea-meta.json +0 -1
- package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +0 -1
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +0 -1
- package/.turbo/cache/9a097d6576dadd64.tar.zst +0 -0
- package/.turbo/cache/a49cc58242467fdc-meta.json +0 -1
- package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +0 -1
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/af061e7a077a9ba5-meta.json +0 -1
- package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
- package/.turbo/cache/b50f1b283b4b81cd-meta.json +0 -1
- package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bf85bc040b7e64db-meta.json +0 -1
- package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/cd5f6987783fb56d-meta.json +0 -1
- package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
- package/.turbo/cache/ce67b6522dd09e64-meta.json +0 -1
- package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
- package/.turbo/cache/d716cb7a08152beb-meta.json +0 -1
- package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
- package/.turbo/cache/d7a47b77deb3d9a4-meta.json +0 -1
- package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +0 -1
- package/.turbo/cache/fbbe2704bf9cb90b.tar.zst +0 -0
- package/.turbo/cache/ff58f630c9d69af4-meta.json +0 -1
- package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
|
@@ -7,32 +7,34 @@
|
|
|
7
7
|
|
|
8
8
|
| Property | Attribute | Type | Default | Description |
|
|
9
9
|
|-----------------------------------|-----------------------------------|-----------|--------------------------------------------------|--------------------------------------------------|
|
|
10
|
-
| [calendarEndDate](#calendarEndDate) | `calendarEndDate` | `
|
|
11
|
-
| [calendarFocusDate](#calendarFocusDate) | `calendarFocusDate` | `
|
|
12
|
-
| [calendarStartDate](#calendarStartDate) | `calendarStartDate` | `
|
|
13
|
-
| [centralDate](#centralDate) | `centralDate` | `
|
|
14
|
-
| [disabled](#disabled) | `disabled` | `
|
|
15
|
-
| [error](#error) | `error` | `
|
|
16
|
-
| [maxDate](#maxDate) | `maxDate` | `
|
|
17
|
-
| [minDate](#minDate) | `minDate` | `
|
|
18
|
-
| [monthNames](#monthNames) | `monthNames` | `array` | ["January","February","March","April","May","June","July","August","September","October","November","December"] |
|
|
19
|
-
| [noValidate](#noValidate) | `noValidate` | `
|
|
20
|
-
| [range](#range) | `range` | `
|
|
21
|
-
| [required](#required) | `required` | `
|
|
22
|
-
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [
|
|
10
|
+
| [calendarEndDate](#calendarEndDate) | `calendarEndDate` | `string` | "undefined" | The last date that may be displayed in the calendar. |
|
|
11
|
+
| [calendarFocusDate](#calendarFocusDate) | `calendarFocusDate` | `string` | "value" | The date that will first be visually rendered to the user in the calendar. |
|
|
12
|
+
| [calendarStartDate](#calendarStartDate) | `calendarStartDate` | `string` | "undefined" | The first date that may be displayed in the calendar. |
|
|
13
|
+
| [centralDate](#centralDate) | `centralDate` | `string` | | The date that determines the currently visible month. |
|
|
14
|
+
| [disabled](#disabled) | `disabled` | `boolean` | false | If set, disables the datepicker. |
|
|
15
|
+
| [error](#error) | `error` | `string` | | When defined, sets persistent validity to `customError` and sets the validation message to the attribute value. |
|
|
16
|
+
| [maxDate](#maxDate) | `maxDate` | `string` | | Maximum date. All dates after will be disabled. |
|
|
17
|
+
| [minDate](#minDate) | `minDate` | `string` | | Minimum date. All dates before will be disabled. |
|
|
18
|
+
| [monthNames](#monthNames) | `monthNames` | `array` | ["January","February","March","April","May","June","July","August","September","October","November","December"] | Names of all 12 months to render in the calendar, used for localization of date string in mobile layout. |
|
|
19
|
+
| [noValidate](#noValidate) | `noValidate` | `boolean` | false | If set, disables auto-validation on blur. |
|
|
20
|
+
| [range](#range) | `range` | `boolean` | false | If set, turns on date range functionality in auro-calendar. |
|
|
21
|
+
| [required](#required) | `required` | `boolean` | false | Populates the `required` attribute on the input. Used for client-side validation. |
|
|
22
|
+
| [setCustomValidity](#setCustomValidity) | `setCustomValidity` | `string` | | Sets a custom help text message to display for all validityStates. |
|
|
23
|
+
| [setCustomValidityCustomError](#setCustomValidityCustomError) | `setCustomValidityCustomError` | `string` | | Custom help text message to display when validity = `customError`. |
|
|
24
|
+
| [setCustomValidityRangeOverflow](#setCustomValidityRangeOverflow) | `setCustomValidityRangeOverflow` | `string` | | Custom help text message to display when validity = `rangeOverflow`. |
|
|
25
|
+
| [setCustomValidityRangeUnderflow](#setCustomValidityRangeUnderflow) | `setCustomValidityRangeUnderflow` | `string` | | Custom help text message to display when validity = `rangeUnderflow`. |
|
|
26
|
+
| [setCustomValidityValueMissing](#setCustomValidityValueMissing) | `setCustomValidityValueMissing` | `string` | | Custom help text message to display when validity = `valueMissing`. |
|
|
27
|
+
| [validity](#validity) | `validity` | `string` | "undefined" | Specifies the `validityState` this element is in. |
|
|
28
|
+
| [value](#value) | `value` | `string` | "undefined" | Value selected for the datepicker. |
|
|
29
|
+
| [valueEnd](#valueEnd) | `valueEnd` | `string` | "undefined" | Value selected for the second datepicker when using date range. |
|
|
29
30
|
|
|
30
31
|
## Methods
|
|
31
32
|
|
|
32
|
-
| Method
|
|
33
|
-
|
|
34
|
-
| [focus](#focus)
|
|
35
|
-
| [reset](#reset)
|
|
33
|
+
| Method | Type | Description |
|
|
34
|
+
|------------|----------------------------------------|--------------------------------------------------|
|
|
35
|
+
| [focus](#focus) | `(focusInput: string): void` | Focuses the datepicker trigger input.<br /><br />**focusInput**: Pass in `endDate` to focus on the return input. No parameter is needed to focus on the depart input. |
|
|
36
|
+
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
37
|
+
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
36
38
|
|
|
37
39
|
## Events
|
|
38
40
|
|
|
@@ -95,24 +97,45 @@
|
|
|
95
97
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
96
98
|
</auro-accordion>
|
|
97
99
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
#### calendarStartDate & calendarEndDate
|
|
101
|
-
|
|
102
|
-
The `calendarStartDate` and `calendarEndDate` properties may be used to explicitly control which calendar months _may_ be rendered in the calendar.
|
|
100
|
+
#### Basic Range
|
|
103
101
|
|
|
104
|
-
|
|
102
|
+
When used, the datepicker will display two inputs and the component will support selection of dates for a start and end date.
|
|
105
103
|
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
104
|
+
<div class="exampleWrapper">
|
|
105
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
106
|
+
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
107
|
+
<auro-datepicker range>
|
|
108
|
+
<span slot="fromLabel">Departure</span>
|
|
109
|
+
<span slot="toLabel">Return</span>
|
|
110
|
+
<span slot="mobileDateLabel">Roundtrip</span>
|
|
111
|
+
</auro-datepicker>
|
|
112
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
|
+
</div>
|
|
114
|
+
<auro-accordion alignRight>
|
|
115
|
+
<span slot="trigger">See code</span>
|
|
116
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicRange.html) -->
|
|
117
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
118
|
+
|
|
119
|
+
```html
|
|
120
|
+
<auro-datepicker range>
|
|
121
|
+
<span slot="fromLabel">Departure</span>
|
|
122
|
+
<span slot="toLabel">Return</span>
|
|
123
|
+
<span slot="mobileDateLabel">Roundtrip</span>
|
|
124
|
+
</auro-datepicker>
|
|
125
|
+
```
|
|
126
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
127
|
+
</auro-accordion>
|
|
128
|
+
|
|
129
|
+
### Property Examples
|
|
130
|
+
|
|
131
|
+
#### disabled
|
|
109
132
|
|
|
110
|
-
|
|
133
|
+
If set, disables the datepicker.
|
|
111
134
|
|
|
112
135
|
<div class="exampleWrapper">
|
|
113
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
114
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
115
|
-
<auro-datepicker
|
|
136
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
137
|
+
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
138
|
+
<auro-datepicker disabled>
|
|
116
139
|
<span slot="fromLabel">Choose a date</span>
|
|
117
140
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
118
141
|
</auro-datepicker>
|
|
@@ -120,11 +143,11 @@ Note: This does not restrict setting a value outside of those date constraints.
|
|
|
120
143
|
</div>
|
|
121
144
|
<auro-accordion alignRight>
|
|
122
145
|
<span slot="trigger">See code</span>
|
|
123
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
124
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
146
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
|
|
147
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
125
148
|
|
|
126
149
|
```html
|
|
127
|
-
<auro-datepicker
|
|
150
|
+
<auro-datepicker disabled>
|
|
128
151
|
<span slot="fromLabel">Choose a date</span>
|
|
129
152
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
130
153
|
</auro-datepicker>
|
|
@@ -132,89 +155,118 @@ Note: This does not restrict setting a value outside of those date constraints.
|
|
|
132
155
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
133
156
|
</auro-accordion>
|
|
134
157
|
|
|
135
|
-
####
|
|
158
|
+
#### error
|
|
136
159
|
|
|
137
|
-
|
|
160
|
+
Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
|
|
138
161
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
In <strong>mobile</strong> layout, upon first opening the bib, the vertical list of months will scroll (with no animation) to the month defined by the `calendarFocusDate`. If the user scrolls the list to a different position, the scroll position will remain where the user left off when they close and reopen the bib. If the `calendarFocusDate` is changed, the list will scroll to the new dates month. If `calendarFocusDate` is undefined, the list will start at the top most scroll position.
|
|
162
|
+
A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
|
|
142
163
|
|
|
143
164
|
<div class="exampleWrapper">
|
|
144
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
145
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
146
|
-
<auro-datepicker
|
|
165
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
|
|
166
|
+
<!-- The below content is automatically added from ./../apiExamples/error.html -->
|
|
167
|
+
<auro-datepicker error="Custom error message" id="errorExample">
|
|
147
168
|
<span slot="fromLabel">Choose a date</span>
|
|
148
169
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
149
|
-
</auro-datepicker>
|
|
170
|
+
</auro-datepicker>
|
|
171
|
+
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
172
|
+
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
150
173
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
151
174
|
</div>
|
|
152
175
|
<auro-accordion alignRight>
|
|
153
176
|
<span slot="trigger">See code</span>
|
|
154
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
155
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
177
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.html) -->
|
|
178
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
|
|
156
179
|
|
|
157
180
|
```html
|
|
158
|
-
<auro-datepicker
|
|
181
|
+
<auro-datepicker error="Custom error message" id="errorExample">
|
|
159
182
|
<span slot="fromLabel">Choose a date</span>
|
|
160
183
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
161
184
|
</auro-datepicker>
|
|
185
|
+
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
186
|
+
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
162
187
|
```
|
|
163
188
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
189
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.js) -->
|
|
190
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/error.js -->
|
|
191
|
+
|
|
192
|
+
```js
|
|
193
|
+
export function errorExample() {
|
|
194
|
+
const errorExample = document.querySelector('#errorExample');
|
|
195
|
+
|
|
196
|
+
document.querySelector('#undefinedValueExampleBtnAddError').addEventListener('click', () => {
|
|
197
|
+
errorExample.error = 'Custom New Error';
|
|
198
|
+
})
|
|
199
|
+
|
|
200
|
+
document.querySelector('#undefinedValueExampleBtnRemoveError').addEventListener('click', () => {
|
|
201
|
+
errorExample.removeAttribute('error');
|
|
202
|
+
})
|
|
203
|
+
}
|
|
204
|
+
```
|
|
205
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
164
206
|
</auro-accordion>
|
|
165
207
|
|
|
166
|
-
####
|
|
208
|
+
#### calendarStartDate & calendarEndDate
|
|
167
209
|
|
|
168
|
-
|
|
210
|
+
The `calendarStartDate` and `calendarEndDate` properties may be used to explicitly control which calendar months _may_ be rendered in the calendar.
|
|
211
|
+
|
|
212
|
+
In <strong>desktop</strong>, the calendar month navigation will be restricted by these dates. In <strong>mobile</strong>, the following logic is used:
|
|
213
|
+
|
|
214
|
+
- if both `calendarStartDate` and `calendarEndDate` are defined: all months between, including these dates, will be rendered.
|
|
215
|
+
- If only `calendarStartDate` is defined: 12 months will be rendered starting with this value.
|
|
216
|
+
- if only `calendarEndDate` is defined: The current date month through the value of this property will be rendered.
|
|
217
|
+
|
|
218
|
+
Note: This does not restrict setting a value outside of those date constraints. These properties _only_ define which months can be rendered in the calendar. A user may still type any date into the input field. If actual value selection restrictions are needed, see the `minDate` and `maxDate` properties which may be used standalone, or in conjunction with `calendarStartDate` and `calendarEndDate`.
|
|
169
219
|
|
|
170
220
|
<div class="exampleWrapper">
|
|
171
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
172
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
173
|
-
<auro-datepicker
|
|
174
|
-
<span slot="
|
|
221
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/calendarStartAndEndDate.html) -->
|
|
222
|
+
<!-- The below content is automatically added from ./../apiExamples/calendarStartAndEndDate.html -->
|
|
223
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="06/01/2022">
|
|
224
|
+
<span slot="fromLabel">Choose a date</span>
|
|
225
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
175
226
|
</auro-datepicker>
|
|
176
227
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
177
228
|
</div>
|
|
178
229
|
<auro-accordion alignRight>
|
|
179
230
|
<span slot="trigger">See code</span>
|
|
180
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
181
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
231
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/calendarStartAndEndDate.html) -->
|
|
232
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/calendarStartAndEndDate.html -->
|
|
182
233
|
|
|
183
234
|
```html
|
|
184
|
-
<auro-datepicker
|
|
185
|
-
<span slot="
|
|
235
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="06/01/2022">
|
|
236
|
+
<span slot="fromLabel">Choose a date</span>
|
|
237
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
186
238
|
</auro-datepicker>
|
|
187
239
|
```
|
|
188
240
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
189
241
|
</auro-accordion>
|
|
190
242
|
|
|
191
|
-
####
|
|
243
|
+
#### calendarFocusDate
|
|
244
|
+
|
|
245
|
+
The `calendarFocusDate` controls which calendar month is first presented to the user when they open the dropdown bib.
|
|
246
|
+
|
|
247
|
+
In <strong>desktop</strong> layout, the first month actually rendered will be the `calendarFocusDate` if defined. Once the user manually navigates the calendar to a different month, the calendar view will remain where the user left off when they close and reopen the bib. If the `calendarFocusDate` property is changed, this will re-render the calendar starting at the new date. If `calendarFocusDate` is undefined, the first rendered month will be the current date or the first renderable date defined by `calendarStartDate`.
|
|
192
248
|
|
|
193
|
-
|
|
249
|
+
In <strong>mobile</strong> layout, upon first opening the bib, the vertical list of months will scroll (with no animation) to the month defined by the `calendarFocusDate`. If the user scrolls the list to a different position, the scroll position will remain where the user left off when they close and reopen the bib. If the `calendarFocusDate` is changed, the list will scroll to the new dates month. If `calendarFocusDate` is undefined, the list will start at the top most scroll position.
|
|
194
250
|
|
|
195
251
|
<div class="exampleWrapper">
|
|
196
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
197
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
198
|
-
<auro-datepicker
|
|
199
|
-
<span slot="
|
|
252
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/calendarFocusDate.html) -->
|
|
253
|
+
<!-- The below content is automatically added from ./../apiExamples/calendarFocusDate.html -->
|
|
254
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="12/01/2023" calendarFocusDate="11/01/2022">
|
|
255
|
+
<span slot="fromLabel">Choose a date</span>
|
|
256
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
200
257
|
</auro-datepicker>
|
|
201
|
-
<br/><br/>
|
|
202
|
-
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
203
|
-
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
204
258
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
205
259
|
</div>
|
|
206
260
|
<auro-accordion alignRight>
|
|
207
261
|
<span slot="trigger">See code</span>
|
|
208
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
209
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
262
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/calendarFocusDate.html) -->
|
|
263
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/calendarFocusDate.html -->
|
|
210
264
|
|
|
211
265
|
```html
|
|
212
|
-
<auro-datepicker
|
|
213
|
-
<span slot="
|
|
214
|
-
</
|
|
215
|
-
|
|
216
|
-
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
217
|
-
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
266
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="12/01/2023" calendarFocusDate="11/01/2022">
|
|
267
|
+
<span slot="fromLabel">Choose a date</span>
|
|
268
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
269
|
+
</auro-datepicker>
|
|
218
270
|
```
|
|
219
271
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
220
272
|
</auro-accordion>
|
|
@@ -256,7 +308,8 @@ This example demonstrates that behavior.
|
|
|
256
308
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/updateMaxDate.html) -->
|
|
257
309
|
<!-- The below content is automatically added from ./../apiExamples/updateMaxDate.html -->
|
|
258
310
|
<auro-datepicker id="maxDateExample" setCustomValidityRangeOverflow="Selected date is later than maximum date.">
|
|
259
|
-
<span slot="
|
|
311
|
+
<span slot="fromLabel">Choose a date</span>
|
|
312
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
260
313
|
</auro-datepicker>
|
|
261
314
|
<auro-button id="maxDateChange">Change maxDate to Today's Date</auro-button>
|
|
262
315
|
<auro-button id="resetMaxDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -269,7 +322,8 @@ This example demonstrates that behavior.
|
|
|
269
322
|
|
|
270
323
|
```html
|
|
271
324
|
<auro-datepicker id="maxDateExample" setCustomValidityRangeOverflow="Selected date is later than maximum date.">
|
|
272
|
-
<span slot="
|
|
325
|
+
<span slot="fromLabel">Choose a date</span>
|
|
326
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
273
327
|
</auro-datepicker>
|
|
274
328
|
<auro-button id="maxDateChange">Change maxDate to Today's Date</auro-button>
|
|
275
329
|
<auro-button id="resetMaxDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -355,7 +409,8 @@ This example demonstrates that behavior.
|
|
|
355
409
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/updateMinDate.html) -->
|
|
356
410
|
<!-- The below content is automatically added from ./../apiExamples/updateMinDate.html -->
|
|
357
411
|
<auro-datepicker id="minDateExample" setCustomValidityRangeUnderflow="Selected date is earlier than the minimum date.">
|
|
358
|
-
<span slot="
|
|
412
|
+
<span slot="fromLabel">Choose a date</span>
|
|
413
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
359
414
|
</auro-datepicker>
|
|
360
415
|
<auro-button id="minDateChange">Change minDate to a week from Today</auro-button>
|
|
361
416
|
<auro-button id="resetMinDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -368,7 +423,8 @@ This example demonstrates that behavior.
|
|
|
368
423
|
|
|
369
424
|
```html
|
|
370
425
|
<auro-datepicker id="minDateExample" setCustomValidityRangeUnderflow="Selected date is earlier than the minimum date.">
|
|
371
|
-
<span slot="
|
|
426
|
+
<span slot="fromLabel">Choose a date</span>
|
|
427
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
372
428
|
</auro-datepicker>
|
|
373
429
|
<auro-button id="minDateChange">Change minDate to a week from Today</auro-button>
|
|
374
430
|
<auro-button id="resetMinDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -466,9 +522,10 @@ When set, the datepicker will not validate when navigating away from the compone
|
|
|
466
522
|
<!-- The below content is automatically added from ./../apiExamples/noValidate.html -->
|
|
467
523
|
<auro-datepicker required noValidate>
|
|
468
524
|
<span slot="fromLabel">Choose a date</span>
|
|
525
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
469
526
|
</auro-datepicker>
|
|
470
527
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
471
|
-
</div>
|
|
528
|
+
</div>
|
|
472
529
|
<auro-accordion alignRight>
|
|
473
530
|
<span slot="trigger">See code</span>
|
|
474
531
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/noValidate.html) -->
|
|
@@ -477,35 +534,7 @@ When set, the datepicker will not validate when navigating away from the compone
|
|
|
477
534
|
```html
|
|
478
535
|
<auro-datepicker required noValidate>
|
|
479
536
|
<span slot="fromLabel">Choose a date</span>
|
|
480
|
-
</
|
|
481
|
-
```
|
|
482
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
483
|
-
</auro-accordion>
|
|
484
|
-
|
|
485
|
-
#### range
|
|
486
|
-
|
|
487
|
-
When used, the datepicker will display two inputs and the component will support selection of dates for a start and end date.
|
|
488
|
-
|
|
489
|
-
<div class="exampleWrapper">
|
|
490
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
491
|
-
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
492
|
-
<auro-datepicker range>
|
|
493
|
-
<span slot="fromLabel">Departure</span>
|
|
494
|
-
<span slot="toLabel">Return</span>
|
|
495
|
-
<span slot="mobileDateLabel">Roundtrip</span>
|
|
496
|
-
</auro-datepicker>
|
|
497
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
498
|
-
</div>
|
|
499
|
-
<auro-accordion alignRight>
|
|
500
|
-
<span slot="trigger">See code</span>
|
|
501
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicRange.html) -->
|
|
502
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
503
|
-
|
|
504
|
-
```html
|
|
505
|
-
<auro-datepicker range>
|
|
506
|
-
<span slot="fromLabel">Departure</span>
|
|
507
|
-
<span slot="toLabel">Return</span>
|
|
508
|
-
<span slot="mobileDateLabel">Roundtrip</span>
|
|
537
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
509
538
|
</auro-datepicker>
|
|
510
539
|
```
|
|
511
540
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -515,6 +544,8 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
515
544
|
|
|
516
545
|
Populates the `required` attribute on the input. Used for client-side validation.
|
|
517
546
|
|
|
547
|
+
When the validity check fails the validityState, equals `valueMissing`. The error message for the `valueMissing` validityState can be set to a custom string using the `setCustomValidityValueMissing`. There is no default error message defined.
|
|
548
|
+
|
|
518
549
|
<div class="exampleWrapper">
|
|
519
550
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
520
551
|
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
@@ -557,6 +588,7 @@ Specifies the `validityState` the element is in. Upon first interaction, or pres
|
|
|
557
588
|
<!-- The below content is automatically added from ./../apiExamples/validity.html -->
|
|
558
589
|
<auro-datepicker required id="validityExample">
|
|
559
590
|
<span slot="fromLabel">Choose a date</span>
|
|
591
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
560
592
|
</auro-datepicker>
|
|
561
593
|
<auro-button id="validityExampleBtn">Get validity</auro-button>
|
|
562
594
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -569,6 +601,7 @@ Specifies the `validityState` the element is in. Upon first interaction, or pres
|
|
|
569
601
|
```html
|
|
570
602
|
<auro-datepicker required id="validityExample">
|
|
571
603
|
<span slot="fromLabel">Choose a date</span>
|
|
604
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
572
605
|
</auro-datepicker>
|
|
573
606
|
<auro-button id="validityExampleBtn">Get validity</auro-button>
|
|
574
607
|
```
|
|
@@ -598,7 +631,8 @@ Value selected for the datepicker. Can be used to pre-set the value of the datep
|
|
|
598
631
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/value.html) -->
|
|
599
632
|
<!-- The below content is automatically added from ./../apiExamples/value.html -->
|
|
600
633
|
<auro-datepicker id="valueExample" value="02/02/2022">
|
|
601
|
-
<span slot="
|
|
634
|
+
<span slot="fromLabel">Choose a date</span>
|
|
635
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
602
636
|
</auro-datepicker>
|
|
603
637
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
604
638
|
</div>
|
|
@@ -609,7 +643,8 @@ Value selected for the datepicker. Can be used to pre-set the value of the datep
|
|
|
609
643
|
|
|
610
644
|
```html
|
|
611
645
|
<auro-datepicker id="valueExample" value="02/02/2022">
|
|
612
|
-
<span slot="
|
|
646
|
+
<span slot="fromLabel">Choose a date</span>
|
|
647
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
613
648
|
</auro-datepicker>
|
|
614
649
|
```
|
|
615
650
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -623,7 +658,9 @@ Value of the second input (end date), selected for the datepicker. Can be used t
|
|
|
623
658
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueEnd.html) -->
|
|
624
659
|
<!-- The below content is automatically added from ./../apiExamples/valueEnd.html -->
|
|
625
660
|
<auro-datepicker id="valueEndExample" range valueEnd="03/03/2023">
|
|
626
|
-
<span slot="
|
|
661
|
+
<span slot="fromLabel">Departure</span>
|
|
662
|
+
<span slot="toLabel">Return</span>
|
|
663
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
627
664
|
</auro-datepicker>
|
|
628
665
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
629
666
|
</div>
|
|
@@ -634,7 +671,9 @@ Value of the second input (end date), selected for the datepicker. Can be used t
|
|
|
634
671
|
|
|
635
672
|
```html
|
|
636
673
|
<auro-datepicker id="valueEndExample" range valueEnd="03/03/2023">
|
|
637
|
-
<span slot="
|
|
674
|
+
<span slot="fromLabel">Departure</span>
|
|
675
|
+
<span slot="toLabel">Return</span>
|
|
676
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
638
677
|
</auro-datepicker>
|
|
639
678
|
```
|
|
640
679
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -649,12 +688,13 @@ The focus method will apply focus state to the datepicker's input field.
|
|
|
649
688
|
<div class="exampleWrapper">
|
|
650
689
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/focus.html) -->
|
|
651
690
|
<!-- The below content is automatically added from ./../apiExamples/focus.html -->
|
|
691
|
+
<auro-datepicker id="focusExampleElem" range>
|
|
692
|
+
<span slot="fromLabel">Departure</span>
|
|
693
|
+
<span slot="toLabel">Return</span>
|
|
694
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
695
|
+
</auro-datepicker>
|
|
652
696
|
<auro-button id="focusExampleBtn">Apply focus to datepicker</auro-button>
|
|
653
697
|
<auro-button id="focusExampleBtnTwo">Apply focus to the second input in datepicker</auro-button>
|
|
654
|
-
<br /><br />
|
|
655
|
-
<auro-datepicker id="focusExampleElem" range>
|
|
656
|
-
<span slot="label">Choose a date</span>
|
|
657
|
-
</auro-datepicker>
|
|
658
698
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
659
699
|
</div>
|
|
660
700
|
<auro-accordion alignRight>
|
|
@@ -663,12 +703,13 @@ The focus method will apply focus state to the datepicker's input field.
|
|
|
663
703
|
<!-- The below code snippet is automatically added from ./../apiExamples/focus.html -->
|
|
664
704
|
|
|
665
705
|
```html
|
|
666
|
-
<auro-button id="focusExampleBtn">Apply focus to datepicker</auro-button>
|
|
667
|
-
<auro-button id="focusExampleBtnTwo">Apply focus to the second input in datepicker</auro-button>
|
|
668
|
-
<br /><br />
|
|
669
706
|
<auro-datepicker id="focusExampleElem" range>
|
|
670
|
-
<span slot="
|
|
707
|
+
<span slot="fromLabel">Departure</span>
|
|
708
|
+
<span slot="toLabel">Return</span>
|
|
709
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
671
710
|
</auro-datepicker>
|
|
711
|
+
<auro-button id="focusExampleBtn">Apply focus to datepicker</auro-button>
|
|
712
|
+
<auro-button id="focusExampleBtnTwo">Apply focus to the second input in datepicker</auro-button>
|
|
672
713
|
```
|
|
673
714
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
674
715
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/focus.js) -->
|
|
@@ -729,7 +770,8 @@ Sets the help text displayed below the trigger. The `helpText` slot can be used
|
|
|
729
770
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
730
771
|
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
731
772
|
<auro-datepicker>
|
|
732
|
-
<span slot="
|
|
773
|
+
<span slot="fromLabel">Choose a date</span>
|
|
774
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
733
775
|
<span slot="helpText">Choose a date must be today or earlier.</span>
|
|
734
776
|
</auro-datepicker>
|
|
735
777
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -741,7 +783,8 @@ Sets the help text displayed below the trigger. The `helpText` slot can be used
|
|
|
741
783
|
|
|
742
784
|
```html
|
|
743
785
|
<auro-datepicker>
|
|
744
|
-
<span slot="
|
|
786
|
+
<span slot="fromLabel">Choose a date</span>
|
|
787
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
745
788
|
<span slot="helpText">Choose a date must be today or earlier.</span>
|
|
746
789
|
</auro-datepicker>
|
|
747
790
|
```
|
|
@@ -903,12 +946,12 @@ Use the `reset()` method to reset the `<auro-datepicker>`'s `value`, `valueEnd`
|
|
|
903
946
|
<div class="exampleWrapper">
|
|
904
947
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/resetState.html) -->
|
|
905
948
|
<!-- The below content is automatically added from ./../apiExamples/resetState.html -->
|
|
906
|
-
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
907
|
-
<br /><br />
|
|
908
949
|
<auro-datepicker id="resetStateExample" range minDate="06/30/2025" calendarStartDate="06/30/2025" calendarFocusDate="06/30/2025" value="02/14/2025" valueEnd="04/05/2025" setCustomValidityRangeUnderflow="The date you entered is too early.">
|
|
909
|
-
<span slot="fromLabel">
|
|
950
|
+
<span slot="fromLabel">Departure</span>
|
|
951
|
+
<span slot="toLabel">Return</span>
|
|
910
952
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
911
|
-
</auro-datepicker>
|
|
953
|
+
</auro-datepicker>
|
|
954
|
+
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
912
955
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
913
956
|
</div>
|
|
914
957
|
<auro-accordion alignRight>
|
|
@@ -917,12 +960,12 @@ Use the `reset()` method to reset the `<auro-datepicker>`'s `value`, `valueEnd`
|
|
|
917
960
|
<!-- The below code snippet is automatically added from ./../apiExamples/resetState.html -->
|
|
918
961
|
|
|
919
962
|
```html
|
|
920
|
-
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
921
|
-
<br /><br />
|
|
922
963
|
<auro-datepicker id="resetStateExample" range minDate="06/30/2025" calendarStartDate="06/30/2025" calendarFocusDate="06/30/2025" value="02/14/2025" valueEnd="04/05/2025" setCustomValidityRangeUnderflow="The date you entered is too early.">
|
|
923
|
-
<span slot="fromLabel">
|
|
964
|
+
<span slot="fromLabel">Departure</span>
|
|
965
|
+
<span slot="toLabel">Return</span>
|
|
924
966
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
925
967
|
</auro-datepicker>
|
|
968
|
+
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
926
969
|
```
|
|
927
970
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
928
971
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/resetState.js) -->
|
|
@@ -948,7 +991,8 @@ This example demonstrates data driven slot content for days in the calendar. In
|
|
|
948
991
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dynamicSlot.html) -->
|
|
949
992
|
<!-- The below content is automatically added from ./../apiExamples/dynamicSlot.html -->
|
|
950
993
|
<auro-datepicker id="slotContentExample" centralDate="12/13/2023" minDate="12/13/2023" maxDate="01/18/2024" range>
|
|
951
|
-
<span slot="fromLabel">
|
|
994
|
+
<span slot="fromLabel">Departure</span>
|
|
995
|
+
<span slot="toLabel">Return</span>
|
|
952
996
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
953
997
|
</auro-datepicker>
|
|
954
998
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -960,7 +1004,8 @@ This example demonstrates data driven slot content for days in the calendar. In
|
|
|
960
1004
|
|
|
961
1005
|
```html
|
|
962
1006
|
<auro-datepicker id="slotContentExample" centralDate="12/13/2023" minDate="12/13/2023" maxDate="01/18/2024" range>
|
|
963
|
-
<span slot="fromLabel">
|
|
1007
|
+
<span slot="fromLabel">Departure</span>
|
|
1008
|
+
<span slot="toLabel">Return</span>
|
|
964
1009
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
965
1010
|
</auro-datepicker>
|
|
966
1011
|
```
|
|
@@ -1101,6 +1146,7 @@ The following example listens for the `auroDatePicker-valueSet` event. Once trig
|
|
|
1101
1146
|
<!-- The below content is automatically added from ./../apiExamples/alertValue.html -->
|
|
1102
1147
|
<auro-datepicker id="datePickerValueAlert">
|
|
1103
1148
|
<span slot="fromLabel">Choose a date</span>
|
|
1149
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
1104
1150
|
</auro-datepicker>
|
|
1105
1151
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1106
1152
|
</div>
|
|
@@ -1112,6 +1158,7 @@ The following example listens for the `auroDatePicker-valueSet` event. Once trig
|
|
|
1112
1158
|
```html
|
|
1113
1159
|
<auro-datepicker id="datePickerValueAlert">
|
|
1114
1160
|
<span slot="fromLabel">Choose a date</span>
|
|
1161
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
1115
1162
|
</auro-datepicker>
|
|
1116
1163
|
```
|
|
1117
1164
|
<!-- AURO-GENERATED-CONTENT:END -->
|