@aurodesignsystem/auro-formkit 1.6.0-beta.9 → 2.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/cache/026e4d886ba97e63-meta.json +1 -0
- package/.turbo/cache/026e4d886ba97e63.tar.zst +0 -0
- package/.turbo/cache/080ca6155e637d5d-meta.json +1 -0
- package/.turbo/cache/080ca6155e637d5d.tar.zst +0 -0
- package/.turbo/cache/0b115e30ff606299-meta.json +1 -0
- package/.turbo/cache/0b115e30ff606299.tar.zst +0 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
- package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
- package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
- package/.turbo/cache/1c630fb3411e4a41-meta.json +1 -0
- package/.turbo/cache/1c630fb3411e4a41.tar.zst +0 -0
- package/.turbo/cache/24b19ac5895e5dd6-meta.json +1 -0
- package/.turbo/cache/24b19ac5895e5dd6.tar.zst +0 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
- package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
- package/.turbo/cache/29b72c73cbccb53d-meta.json +1 -0
- package/.turbo/cache/29b72c73cbccb53d.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -0
- package/.turbo/cache/2c0d681132c153dd.tar.zst +0 -0
- package/.turbo/cache/3e647c5863d32e6f-meta.json +1 -0
- package/.turbo/cache/3e647c5863d32e6f.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
- package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
- package/.turbo/cache/43f5206cc4e69b44-meta.json +1 -0
- package/.turbo/cache/43f5206cc4e69b44.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
- package/.turbo/cache/4a85ec226b585fd5-meta.json +1 -0
- package/.turbo/cache/4a85ec226b585fd5.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
- package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
- package/.turbo/cache/50a29c70b93c57dd-meta.json +1 -0
- package/.turbo/cache/50a29c70b93c57dd.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/56455145cd768755-meta.json +1 -0
- package/.turbo/cache/56455145cd768755.tar.zst +0 -0
- package/.turbo/cache/5c06332cf9f132da-meta.json +1 -0
- package/.turbo/cache/5c06332cf9f132da.tar.zst +0 -0
- package/.turbo/cache/5e613afc6868d0e2-meta.json +1 -0
- package/.turbo/cache/5e613afc6868d0e2.tar.zst +0 -0
- package/.turbo/cache/6081837e8943b62e-meta.json +1 -0
- package/.turbo/cache/6081837e8943b62e.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
- package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
- package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
- package/.turbo/cache/639dac15b979bedc-meta.json +1 -0
- package/.turbo/cache/639dac15b979bedc.tar.zst +0 -0
- package/.turbo/cache/664c2e08614fd212-meta.json +1 -0
- package/.turbo/cache/664c2e08614fd212.tar.zst +0 -0
- package/.turbo/cache/6c51b0ebfc086faa-meta.json +1 -0
- package/.turbo/cache/6c51b0ebfc086faa.tar.zst +0 -0
- package/.turbo/cache/7216d994164825fb-meta.json +1 -0
- package/.turbo/cache/7216d994164825fb.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
- package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -0
- package/.turbo/cache/7c9ca6163e61285c.tar.zst +0 -0
- package/.turbo/cache/83a167e135cb431a-meta.json +1 -0
- package/.turbo/cache/83a167e135cb431a.tar.zst +0 -0
- package/.turbo/cache/8af27c076dc010c3-meta.json +1 -0
- package/.turbo/cache/8af27c076dc010c3.tar.zst +0 -0
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -0
- package/.turbo/cache/8bb856bd31b5b479.tar.zst +0 -0
- package/.turbo/cache/953c8216249d3509-meta.json +1 -0
- package/.turbo/cache/953c8216249d3509.tar.zst +0 -0
- package/.turbo/cache/95a5e76ffd8c5110-meta.json +1 -0
- package/.turbo/cache/95a5e76ffd8c5110.tar.zst +0 -0
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
- package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
- package/.turbo/cache/a8b0fa0a9aa707c5-meta.json +1 -0
- package/.turbo/cache/a8b0fa0a9aa707c5.tar.zst +0 -0
- package/.turbo/cache/b22ca87b2f7f9cc2-meta.json +1 -0
- package/.turbo/cache/b22ca87b2f7f9cc2.tar.zst +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
- package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
- package/.turbo/cache/b7bbe2e7d44b77f0-meta.json +1 -0
- package/.turbo/cache/b7bbe2e7d44b77f0.tar.zst +0 -0
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -0
- package/.turbo/cache/be0b95293ea517cc.tar.zst +0 -0
- package/.turbo/cache/c2b51643f886a493-meta.json +1 -0
- package/.turbo/cache/c2b51643f886a493.tar.zst +0 -0
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
- package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c74d369a0475b124-meta.json +1 -0
- package/.turbo/cache/c74d369a0475b124.tar.zst +0 -0
- package/.turbo/cache/c7f5a276ddb73cf7-meta.json +1 -0
- package/.turbo/cache/c7f5a276ddb73cf7.tar.zst +0 -0
- package/.turbo/cache/c96933d40404e4c8-meta.json +1 -0
- package/.turbo/cache/c96933d40404e4c8.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d775555355d6b8fc-meta.json +1 -0
- package/.turbo/cache/d775555355d6b8fc.tar.zst +0 -0
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -0
- package/.turbo/cache/d7c3007be148d2a1.tar.zst +0 -0
- package/.turbo/cache/dad3d78b33edd9e4-meta.json +1 -0
- package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/e9e36823f6c98f07-meta.json +1 -0
- package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
- package/.turbo/cache/eb1dbe885532c1dc-meta.json +1 -0
- package/.turbo/cache/eb1dbe885532c1dc.tar.zst +0 -0
- package/.turbo/cache/f1f6744948f1b18f-meta.json +1 -0
- package/.turbo/cache/f1f6744948f1b18f.tar.zst +0 -0
- package/.turbo/cache/feefbc25d550c1cd-meta.json +1 -0
- package/.turbo/cache/feefbc25d550c1cd.tar.zst +0 -0
- package/.turbo/cache/ff4dbfffc29255ab-meta.json +1 -0
- package/.turbo/cache/ff4dbfffc29255ab.tar.zst +0 -0
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +175 -0
- package/README.md +59 -59
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +23 -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.html +6 -1
- package/components/checkbox/demo/api.js +16 -0
- package/components/checkbox/demo/api.md +120 -61
- package/components/checkbox/demo/api.min.js +261 -90
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +236 -90
- package/components/checkbox/dist/auro-checkbox-group.d.ts +41 -17
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +25 -11
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +236 -90
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox-group.js +64 -23
- package/components/checkbox/src/auro-checkbox.js +38 -12
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build.log +25 -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.js +4 -2
- package/components/combobox/demo/api.md +77 -16
- package/components/combobox/demo/api.min.js +890 -447
- package/components/combobox/demo/index.md +1 -1
- package/components/combobox/demo/index.min.js +881 -447
- package/components/combobox/dist/auro-combobox.d.ts +16 -5
- 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 +874 -408
- 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 +85 -75
- package/components/combobox/src/dropdownVersion.js +1 -0
- package/components/combobox/src/inputVersion.js +1 -0
- package/components/counter/.turbo/turbo-build$colon$sass.log +179 -7
- package/components/counter/.turbo/turbo-build$colon$version.log +10 -0
- package/components/counter/.turbo/turbo-build.log +288 -14
- package/components/counter/.turbo/turbo-bundler.log +4 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +39 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/README.md +188 -0
- package/components/counter/demo/api.md +98 -1016
- package/components/counter/demo/api.min.js +1670 -32
- package/components/counter/demo/index.js +2 -1
- package/components/counter/demo/index.md +194 -0
- package/components/counter/demo/index.min.js +1702 -19
- package/components/counter/dist/auro-counter-button.d.ts +13 -0
- package/components/counter/dist/auro-counter-button.d.ts.map +1 -0
- package/components/counter/dist/auro-counter-group.d.ts +77 -6
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter.d.ts +78 -0
- package/components/counter/dist/auro-counter.d.ts.map +1 -1
- package/components/counter/dist/dropdownVersion.d.ts +3 -0
- package/components/counter/dist/dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/formkit/auro-dropdownVersion.d.ts +3 -0
- package/components/counter/dist/formkit/auro-dropdownVersion.d.ts.map +1 -0
- package/components/counter/dist/iconVersion.d.ts +3 -0
- package/components/counter/dist/iconVersion.d.ts.map +1 -0
- package/components/counter/dist/index.js +1670 -32
- package/components/counter/dist/styles/color-css.d.ts +3 -0
- package/components/counter/dist/styles/color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +1 -0
- package/components/counter/dist/styles/counter-group-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-group-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/tokens-css.d.ts +3 -0
- package/components/counter/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/counter/package.json +9 -3
- package/components/counter/src/auro-counter-button.js +42 -0
- package/components/counter/src/auro-counter-group.js +150 -21
- package/components/counter/src/auro-counter.js +272 -12
- package/components/counter/src/dropdownVersion.js +1 -0
- package/components/counter/src/formkit/auro-dropdownVersion.js +1 -0
- package/components/counter/src/iconVersion.js +1 -0
- package/components/counter/src/index.js +1 -1
- package/components/counter/src/styles/color-css.js +2 -0
- package/components/counter/src/styles/color.css +25 -0
- package/components/counter/src/styles/color.scss +44 -0
- package/components/counter/src/styles/counter-button-color-css.js +2 -0
- package/components/counter/src/styles/counter-button-color.css +14 -0
- package/components/counter/src/styles/counter-button-color.scss +29 -0
- package/components/counter/src/styles/counter-button-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens-css.js +2 -0
- package/components/counter/src/styles/counter-button-tokens.css +7 -0
- package/components/counter/src/styles/counter-button-tokens.scss +9 -0
- package/components/counter/src/styles/counter-button.css +187 -0
- package/components/counter/src/styles/counter-button.scss +83 -0
- package/components/counter/src/styles/counter-group-color-css.js +2 -0
- package/components/counter/src/styles/counter-group-color.css +4 -0
- package/components/counter/src/styles/counter-group-color.scss +19 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +13 -1
- package/components/counter/src/styles/counter-group.scss +14 -1
- package/components/counter/src/styles/style-css.js +1 -1
- package/components/counter/src/styles/style.css +43 -1
- package/components/counter/src/styles/style.scss +48 -2
- package/components/counter/src/styles/tokens-css.js +2 -0
- package/components/counter/src/styles/tokens.css +11 -0
- package/components/counter/src/styles/tokens.scss +24 -0
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build.log +62 -59
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.js +2 -0
- package/components/datepicker/demo/api.md +216 -125
- package/components/datepicker/demo/api.min.js +1111 -598
- package/components/datepicker/demo/index.md +1 -1
- package/components/datepicker/demo/index.min.js +1102 -598
- package/components/datepicker/dist/auro-datepicker.d.ts +94 -80
- 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 +1102 -598
- package/components/datepicker/dist/inputVersion.d.ts +3 -0
- package/components/datepicker/dist/inputVersion.d.ts.map +1 -0
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/package.json +4 -4
- package/components/datepicker/src/auro-datepicker.js +154 -106
- package/components/datepicker/src/dropdownVersion.js +1 -0
- package/components/datepicker/src/inputVersion.js +1 -0
- package/components/datepicker/src/popoverVersion.js +1 -1
- 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 +241 -105
- package/components/dropdown/demo/index.min.js +241 -105
- 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/iconVersion.d.ts +1 -1
- package/components/dropdown/dist/index.js +241 -105
- package/components/dropdown/package.json +2 -2
- package/components/dropdown/src/auro-dropdown.js +156 -41
- package/components/dropdown/src/auro-dropdownBib.js +12 -3
- package/components/dropdown/src/iconVersion.js +1 -1
- package/components/dropdown/src/styles/bibStyles-css.js +1 -1
- package/components/dropdown/src/styles/bibStyles.css +0 -5
- package/components/dropdown/src/styles/bibStyles.scss +0 -7
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +6 -7
- package/components/dropdown/src/styles/color.scss +7 -7
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +5 -0
- package/components/dropdown/src/styles/style.scss +6 -0
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +18 -26
- package/components/form/demo/api.min.js +4 -4
- package/components/form/demo/index.min.js +4 -4
- package/components/form/dist/index.js +4 -4
- package/components/form/package.json +1 -1
- package/components/input/.turbo/turbo-build$colon$sass.log +68 -18
- package/components/input/.turbo/turbo-build$colon$version.log +1 -1
- package/components/input/.turbo/turbo-build.log +90 -40
- 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.js +2 -0
- package/components/input/demo/api.md +234 -351
- package/components/input/demo/api.min.js +428 -178
- package/components/input/demo/index.md +11 -61
- package/components/input/demo/index.min.js +416 -175
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/base-input.d.ts +158 -97
- package/components/input/dist/base-input.d.ts.map +1 -1
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +416 -175
- 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 +3 -3
- package/components/input/src/auro-input.js +0 -1
- package/components/input/src/base-input.js +272 -111
- package/components/input/src/buttonVersion.js +1 -1
- package/components/input/src/iconVersion.js +1 -1
- 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 +14 -1
- package/components/input/src/styles/input.scss +25 -1
- package/components/input/src/styles/label-css.js +1 -1
- package/components/input/src/styles/label.css +4 -4
- package/components/input/src/styles/label.scss +4 -8
- 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 -5
- package/components/input/src/styles/notificationIcons.scss +17 -11
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +31 -13
- package/components/input/src/styles/style.scss +0 -4
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +20 -21
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +18 -26
- package/components/menu/demo/api.md +1 -5
- package/components/menu/demo/api.min.js +12 -44
- package/components/menu/demo/index.min.js +12 -44
- package/components/menu/dist/auro-menu.d.ts +1 -5
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/auro-menuoption.d.ts +0 -1
- package/components/menu/dist/auro-menuoption.d.ts.map +1 -1
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +12 -44
- package/components/menu/package.json +2 -2
- package/components/menu/src/auro-menu.js +1 -33
- package/components/menu/src/auro-menuoption.js +1 -2
- package/components/menu/src/iconVersion.js +1 -1
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +26 -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.html +1 -0
- package/components/radio/demo/api.js +2 -0
- package/components/radio/demo/api.md +60 -4
- package/components/radio/demo/api.min.js +159 -62
- package/components/radio/demo/index.min.js +150 -62
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +5 -0
- package/components/radio/dist/auro-radio.d.ts.map +1 -1
- package/components/radio/dist/index.js +150 -62
- package/components/radio/package.json +1 -1
- package/components/radio/src/auro-radio-group.js +6 -6
- package/components/radio/src/auro-radio.js +9 -0
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build.log +37 -37
- 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.js +6 -2
- package/components/select/demo/api.md +165 -163
- package/components/select/demo/api.min.js +524 -337
- package/components/select/demo/index.md +101 -59
- package/components/select/demo/index.min.js +504 -333
- package/components/select/dist/auro-select.d.ts +65 -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 +494 -278
- package/components/select/package.json +3 -3
- package/components/select/src/auro-select.js +105 -116
- package/components/select/src/dropdownVersion.js +1 -0
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +7 -0
- package/components/select/src/styles/style.scss +11 -1
- package/package.json +21 -21
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/packages/form-validation/src/validation.js +129 -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/0008b92c8752bf75-meta.json +0 -1
- package/.turbo/cache/0008b92c8752bf75.tar.zst +0 -0
- package/.turbo/cache/00cb38bef1105dac-meta.json +0 -1
- package/.turbo/cache/00cb38bef1105dac.tar.zst +0 -0
- package/.turbo/cache/0157ec8abdaf2a9c-meta.json +0 -1
- package/.turbo/cache/0157ec8abdaf2a9c.tar.zst +0 -0
- package/.turbo/cache/0636e9cedc83238b-meta.json +0 -1
- package/.turbo/cache/0636e9cedc83238b.tar.zst +0 -0
- package/.turbo/cache/06f476671015e973-meta.json +0 -1
- package/.turbo/cache/06f476671015e973.tar.zst +0 -0
- package/.turbo/cache/09df74d672102662-meta.json +0 -1
- package/.turbo/cache/09df74d672102662.tar.zst +0 -0
- package/.turbo/cache/0cd109fb3183c2e6-meta.json +0 -1
- package/.turbo/cache/0cd109fb3183c2e6.tar.zst +0 -0
- package/.turbo/cache/17c429ade621ffcb-meta.json +0 -1
- package/.turbo/cache/17c429ade621ffcb.tar.zst +0 -0
- package/.turbo/cache/1c47128a0e12fcfa-meta.json +0 -1
- package/.turbo/cache/1c47128a0e12fcfa.tar.zst +0 -0
- package/.turbo/cache/1db02f756ce85784-meta.json +0 -1
- package/.turbo/cache/1db02f756ce85784.tar.zst +0 -0
- package/.turbo/cache/21705fa179d5f820-meta.json +0 -1
- package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
- package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +0 -1
- package/.turbo/cache/249d9ba3ee6aa1cb.tar.zst +0 -0
- package/.turbo/cache/2666b96bfcf4e9cd-meta.json +0 -1
- package/.turbo/cache/2666b96bfcf4e9cd.tar.zst +0 -0
- package/.turbo/cache/2778d5e895240cd1-meta.json +0 -1
- package/.turbo/cache/2778d5e895240cd1.tar.zst +0 -0
- package/.turbo/cache/300b59df2de12b46-meta.json +0 -1
- package/.turbo/cache/300b59df2de12b46.tar.zst +0 -0
- package/.turbo/cache/31729e74fccaafb0-meta.json +0 -1
- package/.turbo/cache/31729e74fccaafb0.tar.zst +0 -0
- package/.turbo/cache/32702694d62a08ac-meta.json +0 -1
- package/.turbo/cache/32702694d62a08ac.tar.zst +0 -0
- package/.turbo/cache/3482a3cba9a51c2d-meta.json +0 -1
- package/.turbo/cache/3482a3cba9a51c2d.tar.zst +0 -0
- package/.turbo/cache/3a9d73752f23a40a-meta.json +0 -1
- package/.turbo/cache/3a9d73752f23a40a.tar.zst +0 -0
- package/.turbo/cache/3afe2e6f714a4fcb-meta.json +0 -1
- package/.turbo/cache/3afe2e6f714a4fcb.tar.zst +0 -0
- package/.turbo/cache/408ea1754276298c-meta.json +0 -1
- package/.turbo/cache/408ea1754276298c.tar.zst +0 -0
- package/.turbo/cache/42066c793c3816f3-meta.json +0 -1
- package/.turbo/cache/42066c793c3816f3.tar.zst +0 -0
- package/.turbo/cache/4bec46ffff6fd2e8-meta.json +0 -1
- package/.turbo/cache/4bec46ffff6fd2e8.tar.zst +0 -0
- package/.turbo/cache/50b275350abe14dd-meta.json +0 -1
- package/.turbo/cache/50b275350abe14dd.tar.zst +0 -0
- package/.turbo/cache/51078a087b52c65e-meta.json +0 -1
- package/.turbo/cache/51078a087b52c65e.tar.zst +0 -0
- package/.turbo/cache/593ddf689673e305-meta.json +0 -1
- package/.turbo/cache/593ddf689673e305.tar.zst +0 -0
- package/.turbo/cache/64e4f18395bd4461-meta.json +0 -1
- package/.turbo/cache/64e4f18395bd4461.tar.zst +0 -0
- package/.turbo/cache/68843ecab6e09320-meta.json +0 -1
- package/.turbo/cache/68843ecab6e09320.tar.zst +0 -0
- package/.turbo/cache/7419ef01dc18b433-meta.json +0 -1
- package/.turbo/cache/7419ef01dc18b433.tar.zst +0 -0
- package/.turbo/cache/748faca09d14fea7-meta.json +0 -1
- package/.turbo/cache/748faca09d14fea7.tar.zst +0 -0
- package/.turbo/cache/75495b0bbd6c06a7-meta.json +0 -1
- package/.turbo/cache/75495b0bbd6c06a7.tar.zst +0 -0
- package/.turbo/cache/7a6a8af4392c4b05-meta.json +0 -1
- package/.turbo/cache/7a6a8af4392c4b05.tar.zst +0 -0
- package/.turbo/cache/7e81141e0140dd3a-meta.json +0 -1
- package/.turbo/cache/7e81141e0140dd3a.tar.zst +0 -0
- package/.turbo/cache/7eb50d96639e6dd4-meta.json +0 -1
- package/.turbo/cache/7eb50d96639e6dd4.tar.zst +0 -0
- package/.turbo/cache/83bb78fec13808d0-meta.json +0 -1
- package/.turbo/cache/83bb78fec13808d0.tar.zst +0 -0
- package/.turbo/cache/8605f60efb7d3957-meta.json +0 -1
- package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
- package/.turbo/cache/892a90b62716ded5-meta.json +0 -1
- package/.turbo/cache/892a90b62716ded5.tar.zst +0 -0
- package/.turbo/cache/8cac06ca809bd2b1-meta.json +0 -1
- package/.turbo/cache/8cac06ca809bd2b1.tar.zst +0 -0
- package/.turbo/cache/9a908bf8f82c84a6-meta.json +0 -1
- package/.turbo/cache/9a908bf8f82c84a6.tar.zst +0 -0
- package/.turbo/cache/9ed3089ffd7d0c00-meta.json +0 -1
- package/.turbo/cache/9ed3089ffd7d0c00.tar.zst +0 -0
- package/.turbo/cache/a3a879aea25debf8-meta.json +0 -1
- package/.turbo/cache/a3a879aea25debf8.tar.zst +0 -0
- package/.turbo/cache/a8dbafaf6177f677-meta.json +0 -1
- package/.turbo/cache/a8dbafaf6177f677.tar.zst +0 -0
- package/.turbo/cache/a8f6418b830ef0ba-meta.json +0 -1
- package/.turbo/cache/a8f6418b830ef0ba.tar.zst +0 -0
- package/.turbo/cache/b37b0eb5597e160f-meta.json +0 -1
- package/.turbo/cache/b37b0eb5597e160f.tar.zst +0 -0
- package/.turbo/cache/b7e7a8c425673f7c-meta.json +0 -1
- package/.turbo/cache/b7e7a8c425673f7c.tar.zst +0 -0
- package/.turbo/cache/bc8eed3d7216f5b7-meta.json +0 -1
- package/.turbo/cache/bc8eed3d7216f5b7.tar.zst +0 -0
- package/.turbo/cache/bde11c3029373459-meta.json +0 -1
- package/.turbo/cache/bde11c3029373459.tar.zst +0 -0
- package/.turbo/cache/c8e5fe6aec4479f5-meta.json +0 -1
- package/.turbo/cache/c8e5fe6aec4479f5.tar.zst +0 -0
- package/.turbo/cache/d0e874a9a71c9468-meta.json +0 -1
- package/.turbo/cache/d0e874a9a71c9468.tar.zst +0 -0
- package/.turbo/cache/d61b4e1bde4c0a12-meta.json +0 -1
- package/.turbo/cache/d61b4e1bde4c0a12.tar.zst +0 -0
- package/.turbo/cache/db6dedc0e7a12575-meta.json +0 -1
- package/.turbo/cache/db6dedc0e7a12575.tar.zst +0 -0
- package/.turbo/cache/de9737607345ec54-meta.json +0 -1
- package/.turbo/cache/de9737607345ec54.tar.zst +0 -0
- package/.turbo/cache/e234aa902b2c5b30-meta.json +0 -1
- package/.turbo/cache/e234aa902b2c5b30.tar.zst +0 -0
- package/.turbo/cache/e541225f46f7cf86-meta.json +0 -1
- package/.turbo/cache/e541225f46f7cf86.tar.zst +0 -0
- package/.turbo/cache/e67ac30b07d9e800-meta.json +0 -1
- package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
- package/.turbo/cache/e7244fdd3397eba7-meta.json +0 -1
- package/.turbo/cache/e7244fdd3397eba7.tar.zst +0 -0
- package/.turbo/cache/e7cf2cc625bd92b3-meta.json +0 -1
- package/.turbo/cache/e7cf2cc625bd92b3.tar.zst +0 -0
- package/.turbo/cache/e89a401ebdda3fc2-meta.json +0 -1
- package/.turbo/cache/e89a401ebdda3fc2.tar.zst +0 -0
- package/components/dropdown/dist/floatingUI.d.mts +0 -68
- package/components/dropdown/dist/floatingUI.d.mts.map +0 -1
- package/components/dropdown/src/floatingUI.mjs +0 -381
- package/components/select/demo/alertValue.js +0 -6
|
@@ -7,31 +7,33 @@
|
|
|
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
33
|
| Method | Type | Description |
|
|
33
34
|
|---------|------------------------------|--------------------------------------------------|
|
|
34
|
-
| [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. |
|
|
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. |
|
|
35
37
|
|
|
36
38
|
## Events
|
|
37
39
|
|
|
@@ -94,24 +96,45 @@
|
|
|
94
96
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
95
97
|
</auro-accordion>
|
|
96
98
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
#### calendarStartDate & calendarEndDate
|
|
100
|
-
|
|
101
|
-
The `calendarStartDate` and `calendarEndDate` properties may be used to explicitly control which calendar months _may_ be rendered in the calendar.
|
|
99
|
+
#### Basic Range
|
|
102
100
|
|
|
103
|
-
|
|
101
|
+
When used, the datepicker will display two inputs and the component will support selection of dates for a start and end date.
|
|
104
102
|
|
|
105
|
-
|
|
106
|
-
-
|
|
107
|
-
|
|
103
|
+
<div class="exampleWrapper">
|
|
104
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
105
|
+
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
106
|
+
<auro-datepicker range>
|
|
107
|
+
<span slot="fromLabel">Departure</span>
|
|
108
|
+
<span slot="toLabel">Return</span>
|
|
109
|
+
<span slot="mobileDateLabel">Roundtrip</span>
|
|
110
|
+
</auro-datepicker>
|
|
111
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
|
+
</div>
|
|
113
|
+
<auro-accordion alignRight>
|
|
114
|
+
<span slot="trigger">See code</span>
|
|
115
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicRange.html) -->
|
|
116
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
117
|
+
|
|
118
|
+
```html
|
|
119
|
+
<auro-datepicker range>
|
|
120
|
+
<span slot="fromLabel">Departure</span>
|
|
121
|
+
<span slot="toLabel">Return</span>
|
|
122
|
+
<span slot="mobileDateLabel">Roundtrip</span>
|
|
123
|
+
</auro-datepicker>
|
|
124
|
+
```
|
|
125
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
126
|
+
</auro-accordion>
|
|
127
|
+
|
|
128
|
+
### Property Examples
|
|
129
|
+
|
|
130
|
+
#### disabled
|
|
108
131
|
|
|
109
|
-
|
|
132
|
+
If set, disables the datepicker.
|
|
110
133
|
|
|
111
134
|
<div class="exampleWrapper">
|
|
112
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
113
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
114
|
-
<auro-datepicker
|
|
135
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
136
|
+
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
137
|
+
<auro-datepicker disabled>
|
|
115
138
|
<span slot="fromLabel">Choose a date</span>
|
|
116
139
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
117
140
|
</auro-datepicker>
|
|
@@ -119,11 +142,11 @@ Note: This does not restrict setting a value outside of those date constraints.
|
|
|
119
142
|
</div>
|
|
120
143
|
<auro-accordion alignRight>
|
|
121
144
|
<span slot="trigger">See code</span>
|
|
122
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
123
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
145
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
|
|
146
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
124
147
|
|
|
125
148
|
```html
|
|
126
|
-
<auro-datepicker
|
|
149
|
+
<auro-datepicker disabled>
|
|
127
150
|
<span slot="fromLabel">Choose a date</span>
|
|
128
151
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
129
152
|
</auro-datepicker>
|
|
@@ -131,89 +154,118 @@ Note: This does not restrict setting a value outside of those date constraints.
|
|
|
131
154
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
132
155
|
</auro-accordion>
|
|
133
156
|
|
|
134
|
-
####
|
|
135
|
-
|
|
136
|
-
The `calendarFocusDate` controls which calendar month is first presented to the user when they open the dropdown bib.
|
|
157
|
+
#### error
|
|
137
158
|
|
|
138
|
-
|
|
159
|
+
Use the `error` attribute to apply a persistent custom error that supersedes the HTML5 validation logic.
|
|
139
160
|
|
|
140
|
-
|
|
161
|
+
A custom error message can be set using the `error` attribute, or it can be used in conjuction with the `setCustomValidityCustomError` attribute.
|
|
141
162
|
|
|
142
163
|
<div class="exampleWrapper">
|
|
143
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
144
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
145
|
-
<auro-datepicker
|
|
164
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/error.html) -->
|
|
165
|
+
<!-- The below content is automatically added from ./../apiExamples/error.html -->
|
|
166
|
+
<auro-datepicker error="Custom error message" id="errorExample">
|
|
146
167
|
<span slot="fromLabel">Choose a date</span>
|
|
147
168
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
148
|
-
</auro-datepicker>
|
|
169
|
+
</auro-datepicker>
|
|
170
|
+
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
171
|
+
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
149
172
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
150
173
|
</div>
|
|
151
174
|
<auro-accordion alignRight>
|
|
152
175
|
<span slot="trigger">See code</span>
|
|
153
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
154
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
176
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.html) -->
|
|
177
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/error.html -->
|
|
155
178
|
|
|
156
179
|
```html
|
|
157
|
-
<auro-datepicker
|
|
180
|
+
<auro-datepicker error="Custom error message" id="errorExample">
|
|
158
181
|
<span slot="fromLabel">Choose a date</span>
|
|
159
182
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
160
183
|
</auro-datepicker>
|
|
184
|
+
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
185
|
+
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
161
186
|
```
|
|
162
187
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
188
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/error.js) -->
|
|
189
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/error.js -->
|
|
190
|
+
|
|
191
|
+
```js
|
|
192
|
+
export function errorExample() {
|
|
193
|
+
const errorExample = document.querySelector('#errorExample');
|
|
194
|
+
|
|
195
|
+
document.querySelector('#undefinedValueExampleBtnAddError').addEventListener('click', () => {
|
|
196
|
+
errorExample.error = 'Custom New Error';
|
|
197
|
+
})
|
|
198
|
+
|
|
199
|
+
document.querySelector('#undefinedValueExampleBtnRemoveError').addEventListener('click', () => {
|
|
200
|
+
errorExample.removeAttribute('error');
|
|
201
|
+
})
|
|
202
|
+
}
|
|
203
|
+
```
|
|
204
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
163
205
|
</auro-accordion>
|
|
164
206
|
|
|
165
|
-
####
|
|
207
|
+
#### calendarStartDate & calendarEndDate
|
|
166
208
|
|
|
167
|
-
|
|
209
|
+
The `calendarStartDate` and `calendarEndDate` properties may be used to explicitly control which calendar months _may_ be rendered in the calendar.
|
|
210
|
+
|
|
211
|
+
In <strong>desktop</strong>, the calendar month navigation will be restricted by these dates. In <strong>mobile</strong>, the following logic is used:
|
|
212
|
+
|
|
213
|
+
- if both `calendarStartDate` and `calendarEndDate` are defined: all months between, including these dates, will be rendered.
|
|
214
|
+
- If only `calendarStartDate` is defined: 12 months will be rendered starting with this value.
|
|
215
|
+
- if only `calendarEndDate` is defined: The current date month through the value of this property will be rendered.
|
|
216
|
+
|
|
217
|
+
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`.
|
|
168
218
|
|
|
169
219
|
<div class="exampleWrapper">
|
|
170
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
171
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
172
|
-
<auro-datepicker
|
|
173
|
-
<span slot="
|
|
220
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/calendarStartAndEndDate.html) -->
|
|
221
|
+
<!-- The below content is automatically added from ./../apiExamples/calendarStartAndEndDate.html -->
|
|
222
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="06/01/2022">
|
|
223
|
+
<span slot="fromLabel">Choose a date</span>
|
|
224
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
174
225
|
</auro-datepicker>
|
|
175
226
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
176
227
|
</div>
|
|
177
228
|
<auro-accordion alignRight>
|
|
178
229
|
<span slot="trigger">See code</span>
|
|
179
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
180
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
230
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/calendarStartAndEndDate.html) -->
|
|
231
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/calendarStartAndEndDate.html -->
|
|
181
232
|
|
|
182
233
|
```html
|
|
183
|
-
<auro-datepicker
|
|
184
|
-
<span slot="
|
|
234
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="06/01/2022">
|
|
235
|
+
<span slot="fromLabel">Choose a date</span>
|
|
236
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
185
237
|
</auro-datepicker>
|
|
186
238
|
```
|
|
187
239
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
188
240
|
</auro-accordion>
|
|
189
241
|
|
|
190
|
-
####
|
|
242
|
+
#### calendarFocusDate
|
|
191
243
|
|
|
192
|
-
|
|
244
|
+
The `calendarFocusDate` controls which calendar month is first presented to the user when they open the dropdown bib.
|
|
245
|
+
|
|
246
|
+
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`.
|
|
247
|
+
|
|
248
|
+
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.
|
|
193
249
|
|
|
194
250
|
<div class="exampleWrapper">
|
|
195
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/
|
|
196
|
-
<!-- The below content is automatically added from ./../apiExamples/
|
|
197
|
-
<auro-datepicker
|
|
198
|
-
<span slot="
|
|
251
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/calendarFocusDate.html) -->
|
|
252
|
+
<!-- The below content is automatically added from ./../apiExamples/calendarFocusDate.html -->
|
|
253
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="12/01/2023" calendarFocusDate="11/01/2022">
|
|
254
|
+
<span slot="fromLabel">Choose a date</span>
|
|
255
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
199
256
|
</auro-datepicker>
|
|
200
|
-
<br/><br/>
|
|
201
|
-
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
202
|
-
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
203
257
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
204
258
|
</div>
|
|
205
259
|
<auro-accordion alignRight>
|
|
206
260
|
<span slot="trigger">See code</span>
|
|
207
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/
|
|
208
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/
|
|
261
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/calendarFocusDate.html) -->
|
|
262
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/calendarFocusDate.html -->
|
|
209
263
|
|
|
210
264
|
```html
|
|
211
|
-
<auro-datepicker
|
|
212
|
-
<span slot="
|
|
213
|
-
</
|
|
214
|
-
|
|
215
|
-
<auro-button id="undefinedValueExampleBtnAddError">Set Error</auro-button>
|
|
216
|
-
<auro-button id="undefinedValueExampleBtnRemoveError">Remove Error</auro-button>
|
|
265
|
+
<auro-datepicker calendarStartDate="01/01/2022" calendarEndDate="12/01/2023" calendarFocusDate="11/01/2022">
|
|
266
|
+
<span slot="fromLabel">Choose a date</span>
|
|
267
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
268
|
+
</auro-datepicker>
|
|
217
269
|
```
|
|
218
270
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
219
271
|
</auro-accordion>
|
|
@@ -255,7 +307,8 @@ This example demonstrates that behavior.
|
|
|
255
307
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/updateMaxDate.html) -->
|
|
256
308
|
<!-- The below content is automatically added from ./../apiExamples/updateMaxDate.html -->
|
|
257
309
|
<auro-datepicker id="maxDateExample" setCustomValidityRangeOverflow="Selected date is later than maximum date.">
|
|
258
|
-
<span slot="
|
|
310
|
+
<span slot="fromLabel">Choose a date</span>
|
|
311
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
259
312
|
</auro-datepicker>
|
|
260
313
|
<auro-button id="maxDateChange">Change maxDate to Today's Date</auro-button>
|
|
261
314
|
<auro-button id="resetMaxDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -268,7 +321,8 @@ This example demonstrates that behavior.
|
|
|
268
321
|
|
|
269
322
|
```html
|
|
270
323
|
<auro-datepicker id="maxDateExample" setCustomValidityRangeOverflow="Selected date is later than maximum date.">
|
|
271
|
-
<span slot="
|
|
324
|
+
<span slot="fromLabel">Choose a date</span>
|
|
325
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
272
326
|
</auro-datepicker>
|
|
273
327
|
<auro-button id="maxDateChange">Change maxDate to Today's Date</auro-button>
|
|
274
328
|
<auro-button id="resetMaxDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -354,7 +408,8 @@ This example demonstrates that behavior.
|
|
|
354
408
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/updateMinDate.html) -->
|
|
355
409
|
<!-- The below content is automatically added from ./../apiExamples/updateMinDate.html -->
|
|
356
410
|
<auro-datepicker id="minDateExample" setCustomValidityRangeUnderflow="Selected date is earlier than the minimum date.">
|
|
357
|
-
<span slot="
|
|
411
|
+
<span slot="fromLabel">Choose a date</span>
|
|
412
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
358
413
|
</auro-datepicker>
|
|
359
414
|
<auro-button id="minDateChange">Change minDate to a week from Today</auro-button>
|
|
360
415
|
<auro-button id="resetMinDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -367,7 +422,8 @@ This example demonstrates that behavior.
|
|
|
367
422
|
|
|
368
423
|
```html
|
|
369
424
|
<auro-datepicker id="minDateExample" setCustomValidityRangeUnderflow="Selected date is earlier than the minimum date.">
|
|
370
|
-
<span slot="
|
|
425
|
+
<span slot="fromLabel">Choose a date</span>
|
|
426
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
371
427
|
</auro-datepicker>
|
|
372
428
|
<auro-button id="minDateChange">Change minDate to a week from Today</auro-button>
|
|
373
429
|
<auro-button id="resetMinDate">Reset Datepicker to Initial Example</auro-button>
|
|
@@ -465,9 +521,10 @@ When set, the datepicker will not validate when navigating away from the compone
|
|
|
465
521
|
<!-- The below content is automatically added from ./../apiExamples/noValidate.html -->
|
|
466
522
|
<auro-datepicker required noValidate>
|
|
467
523
|
<span slot="fromLabel">Choose a date</span>
|
|
524
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
468
525
|
</auro-datepicker>
|
|
469
526
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
470
|
-
</div>
|
|
527
|
+
</div>
|
|
471
528
|
<auro-accordion alignRight>
|
|
472
529
|
<span slot="trigger">See code</span>
|
|
473
530
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/noValidate.html) -->
|
|
@@ -476,35 +533,7 @@ When set, the datepicker will not validate when navigating away from the compone
|
|
|
476
533
|
```html
|
|
477
534
|
<auro-datepicker required noValidate>
|
|
478
535
|
<span slot="fromLabel">Choose a date</span>
|
|
479
|
-
</
|
|
480
|
-
```
|
|
481
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
482
|
-
</auro-accordion>
|
|
483
|
-
|
|
484
|
-
#### range
|
|
485
|
-
|
|
486
|
-
When used, the datepicker will display two inputs and the component will support selection of dates for a start and end date.
|
|
487
|
-
|
|
488
|
-
<div class="exampleWrapper">
|
|
489
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/basicRange.html) -->
|
|
490
|
-
<!-- The below content is automatically added from ./../apiExamples/basicRange.html -->
|
|
491
|
-
<auro-datepicker range>
|
|
492
|
-
<span slot="fromLabel">Departure</span>
|
|
493
|
-
<span slot="toLabel">Return</span>
|
|
494
|
-
<span slot="mobileDateLabel">Roundtrip</span>
|
|
495
|
-
</auro-datepicker>
|
|
496
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
497
|
-
</div>
|
|
498
|
-
<auro-accordion alignRight>
|
|
499
|
-
<span slot="trigger">See code</span>
|
|
500
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/basicRange.html) -->
|
|
501
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/basicRange.html -->
|
|
502
|
-
|
|
503
|
-
```html
|
|
504
|
-
<auro-datepicker range>
|
|
505
|
-
<span slot="fromLabel">Departure</span>
|
|
506
|
-
<span slot="toLabel">Return</span>
|
|
507
|
-
<span slot="mobileDateLabel">Roundtrip</span>
|
|
536
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
508
537
|
</auro-datepicker>
|
|
509
538
|
```
|
|
510
539
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -514,6 +543,8 @@ When used, the datepicker will display two inputs and the component will support
|
|
|
514
543
|
|
|
515
544
|
Populates the `required` attribute on the input. Used for client-side validation.
|
|
516
545
|
|
|
546
|
+
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.
|
|
547
|
+
|
|
517
548
|
<div class="exampleWrapper">
|
|
518
549
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/required.html) -->
|
|
519
550
|
<!-- The below content is automatically added from ./../apiExamples/required.html -->
|
|
@@ -556,6 +587,7 @@ Specifies the `validityState` the element is in. Upon first interaction, or pres
|
|
|
556
587
|
<!-- The below content is automatically added from ./../apiExamples/validity.html -->
|
|
557
588
|
<auro-datepicker required id="validityExample">
|
|
558
589
|
<span slot="fromLabel">Choose a date</span>
|
|
590
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
559
591
|
</auro-datepicker>
|
|
560
592
|
<auro-button id="validityExampleBtn">Get validity</auro-button>
|
|
561
593
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -568,6 +600,7 @@ Specifies the `validityState` the element is in. Upon first interaction, or pres
|
|
|
568
600
|
```html
|
|
569
601
|
<auro-datepicker required id="validityExample">
|
|
570
602
|
<span slot="fromLabel">Choose a date</span>
|
|
603
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
571
604
|
</auro-datepicker>
|
|
572
605
|
<auro-button id="validityExampleBtn">Get validity</auro-button>
|
|
573
606
|
```
|
|
@@ -597,7 +630,8 @@ Value selected for the datepicker. Can be used to pre-set the value of the datep
|
|
|
597
630
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/value.html) -->
|
|
598
631
|
<!-- The below content is automatically added from ./../apiExamples/value.html -->
|
|
599
632
|
<auro-datepicker id="valueExample" value="02/02/2022">
|
|
600
|
-
<span slot="
|
|
633
|
+
<span slot="fromLabel">Choose a date</span>
|
|
634
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
601
635
|
</auro-datepicker>
|
|
602
636
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
603
637
|
</div>
|
|
@@ -608,7 +642,8 @@ Value selected for the datepicker. Can be used to pre-set the value of the datep
|
|
|
608
642
|
|
|
609
643
|
```html
|
|
610
644
|
<auro-datepicker id="valueExample" value="02/02/2022">
|
|
611
|
-
<span slot="
|
|
645
|
+
<span slot="fromLabel">Choose a date</span>
|
|
646
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
612
647
|
</auro-datepicker>
|
|
613
648
|
```
|
|
614
649
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -622,7 +657,9 @@ Value of the second input (end date), selected for the datepicker. Can be used t
|
|
|
622
657
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/valueEnd.html) -->
|
|
623
658
|
<!-- The below content is automatically added from ./../apiExamples/valueEnd.html -->
|
|
624
659
|
<auro-datepicker id="valueEndExample" range valueEnd="03/03/2023">
|
|
625
|
-
<span slot="
|
|
660
|
+
<span slot="fromLabel">Departure</span>
|
|
661
|
+
<span slot="toLabel">Return</span>
|
|
662
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
626
663
|
</auro-datepicker>
|
|
627
664
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
628
665
|
</div>
|
|
@@ -633,7 +670,9 @@ Value of the second input (end date), selected for the datepicker. Can be used t
|
|
|
633
670
|
|
|
634
671
|
```html
|
|
635
672
|
<auro-datepicker id="valueEndExample" range valueEnd="03/03/2023">
|
|
636
|
-
<span slot="
|
|
673
|
+
<span slot="fromLabel">Departure</span>
|
|
674
|
+
<span slot="toLabel">Return</span>
|
|
675
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
637
676
|
</auro-datepicker>
|
|
638
677
|
```
|
|
639
678
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -648,12 +687,13 @@ The focus method will apply focus state to the datepicker's input field.
|
|
|
648
687
|
<div class="exampleWrapper">
|
|
649
688
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/focus.html) -->
|
|
650
689
|
<!-- The below content is automatically added from ./../apiExamples/focus.html -->
|
|
690
|
+
<auro-datepicker id="focusExampleElem" range>
|
|
691
|
+
<span slot="fromLabel">Departure</span>
|
|
692
|
+
<span slot="toLabel">Return</span>
|
|
693
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
694
|
+
</auro-datepicker>
|
|
651
695
|
<auro-button id="focusExampleBtn">Apply focus to datepicker</auro-button>
|
|
652
696
|
<auro-button id="focusExampleBtnTwo">Apply focus to the second input in datepicker</auro-button>
|
|
653
|
-
<br /><br />
|
|
654
|
-
<auro-datepicker id="focusExampleElem" range>
|
|
655
|
-
<span slot="label">Choose a date</span>
|
|
656
|
-
</auro-datepicker>
|
|
657
697
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
658
698
|
</div>
|
|
659
699
|
<auro-accordion alignRight>
|
|
@@ -662,12 +702,13 @@ The focus method will apply focus state to the datepicker's input field.
|
|
|
662
702
|
<!-- The below code snippet is automatically added from ./../apiExamples/focus.html -->
|
|
663
703
|
|
|
664
704
|
```html
|
|
665
|
-
<auro-button id="focusExampleBtn">Apply focus to datepicker</auro-button>
|
|
666
|
-
<auro-button id="focusExampleBtnTwo">Apply focus to the second input in datepicker</auro-button>
|
|
667
|
-
<br /><br />
|
|
668
705
|
<auro-datepicker id="focusExampleElem" range>
|
|
669
|
-
<span slot="
|
|
706
|
+
<span slot="fromLabel">Departure</span>
|
|
707
|
+
<span slot="toLabel">Return</span>
|
|
708
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
670
709
|
</auro-datepicker>
|
|
710
|
+
<auro-button id="focusExampleBtn">Apply focus to datepicker</auro-button>
|
|
711
|
+
<auro-button id="focusExampleBtnTwo">Apply focus to the second input in datepicker</auro-button>
|
|
671
712
|
```
|
|
672
713
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
673
714
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/focus.js) -->
|
|
@@ -728,7 +769,8 @@ Sets the help text displayed below the trigger. The `helpText` slot can be used
|
|
|
728
769
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/helpText.html) -->
|
|
729
770
|
<!-- The below content is automatically added from ./../apiExamples/helpText.html -->
|
|
730
771
|
<auro-datepicker>
|
|
731
|
-
<span slot="
|
|
772
|
+
<span slot="fromLabel">Choose a date</span>
|
|
773
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
732
774
|
<span slot="helpText">Choose a date must be today or earlier.</span>
|
|
733
775
|
</auro-datepicker>
|
|
734
776
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -740,7 +782,8 @@ Sets the help text displayed below the trigger. The `helpText` slot can be used
|
|
|
740
782
|
|
|
741
783
|
```html
|
|
742
784
|
<auro-datepicker>
|
|
743
|
-
<span slot="
|
|
785
|
+
<span slot="fromLabel">Choose a date</span>
|
|
786
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
744
787
|
<span slot="helpText">Choose a date must be today or earlier.</span>
|
|
745
788
|
</auro-datepicker>
|
|
746
789
|
```
|
|
@@ -895,6 +938,50 @@ The popover slot is intended for use with calendar dates that are `disabled` (e.
|
|
|
895
938
|
|
|
896
939
|
## Functional Examples
|
|
897
940
|
|
|
941
|
+
#### Reset State
|
|
942
|
+
|
|
943
|
+
Use the `reset()` method to reset the `<auro-datepicker>`'s `value`, `valueEnd` and `validity` state. Doing so will preserve all other attributes and properties.
|
|
944
|
+
|
|
945
|
+
<div class="exampleWrapper">
|
|
946
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/resetState.html) -->
|
|
947
|
+
<!-- The below content is automatically added from ./../apiExamples/resetState.html -->
|
|
948
|
+
<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.">
|
|
949
|
+
<span slot="fromLabel">Departure</span>
|
|
950
|
+
<span slot="toLabel">Return</span>
|
|
951
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
952
|
+
</auro-datepicker>
|
|
953
|
+
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
954
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
955
|
+
</div>
|
|
956
|
+
<auro-accordion alignRight>
|
|
957
|
+
<span slot="trigger">See code</span>
|
|
958
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/resetState.html) -->
|
|
959
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/resetState.html -->
|
|
960
|
+
|
|
961
|
+
```html
|
|
962
|
+
<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.">
|
|
963
|
+
<span slot="fromLabel">Departure</span>
|
|
964
|
+
<span slot="toLabel">Return</span>
|
|
965
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
966
|
+
</auro-datepicker>
|
|
967
|
+
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
968
|
+
```
|
|
969
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
970
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/resetState.js) -->
|
|
971
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/resetState.js -->
|
|
972
|
+
|
|
973
|
+
```js
|
|
974
|
+
export function resetStateExample() {
|
|
975
|
+
const elem = document.querySelector('#resetStateExample');
|
|
976
|
+
|
|
977
|
+
document.querySelector('#resetStateBtn').addEventListener('click', () => {
|
|
978
|
+
elem.reset();
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
```
|
|
982
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
983
|
+
</auro-accordion>
|
|
984
|
+
|
|
898
985
|
#### Dynamic Slot Content
|
|
899
986
|
|
|
900
987
|
This example demonstrates data driven slot content for days in the calendar. In this example, the slot content is inserted into each `auro-calendar-cell` after the bib of the `auro-datepicker` is opened, simulating an API call on a dynamic data source.
|
|
@@ -903,7 +990,8 @@ This example demonstrates data driven slot content for days in the calendar. In
|
|
|
903
990
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dynamicSlot.html) -->
|
|
904
991
|
<!-- The below content is automatically added from ./../apiExamples/dynamicSlot.html -->
|
|
905
992
|
<auro-datepicker id="slotContentExample" centralDate="12/13/2023" minDate="12/13/2023" maxDate="01/18/2024" range>
|
|
906
|
-
<span slot="fromLabel">
|
|
993
|
+
<span slot="fromLabel">Departure</span>
|
|
994
|
+
<span slot="toLabel">Return</span>
|
|
907
995
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
908
996
|
</auro-datepicker>
|
|
909
997
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -915,7 +1003,8 @@ This example demonstrates data driven slot content for days in the calendar. In
|
|
|
915
1003
|
|
|
916
1004
|
```html
|
|
917
1005
|
<auro-datepicker id="slotContentExample" centralDate="12/13/2023" minDate="12/13/2023" maxDate="01/18/2024" range>
|
|
918
|
-
<span slot="fromLabel">
|
|
1006
|
+
<span slot="fromLabel">Departure</span>
|
|
1007
|
+
<span slot="toLabel">Return</span>
|
|
919
1008
|
<span slot="mobileDateLabel">Choose a date</span>
|
|
920
1009
|
</auro-datepicker>
|
|
921
1010
|
```
|
|
@@ -1056,6 +1145,7 @@ The following example listens for the `auroDatePicker-valueSet` event. Once trig
|
|
|
1056
1145
|
<!-- The below content is automatically added from ./../apiExamples/alertValue.html -->
|
|
1057
1146
|
<auro-datepicker id="datePickerValueAlert">
|
|
1058
1147
|
<span slot="fromLabel">Choose a date</span>
|
|
1148
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
1059
1149
|
</auro-datepicker>
|
|
1060
1150
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1061
1151
|
</div>
|
|
@@ -1067,6 +1157,7 @@ The following example listens for the `auroDatePicker-valueSet` event. Once trig
|
|
|
1067
1157
|
```html
|
|
1068
1158
|
<auro-datepicker id="datePickerValueAlert">
|
|
1069
1159
|
<span slot="fromLabel">Choose a date</span>
|
|
1160
|
+
<span slot="mobileDateLabel">Choose a date</span>
|
|
1070
1161
|
</auro-datepicker>
|
|
1071
1162
|
```
|
|
1072
1163
|
<!-- AURO-GENERATED-CONTENT:END -->
|