@aurodesignsystem/auro-formkit 1.6.0-beta.9 → 2.0.0-beta.2
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/013a48308b893dac-meta.json +1 -0
- package/.turbo/cache/0663fcbb1d711029-meta.json +1 -0
- package/.turbo/cache/0663fcbb1d711029.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +1 -0
- package/.turbo/cache/0a2b0a4df8a0443f-meta.json +1 -0
- package/.turbo/cache/0a2b0a4df8a0443f.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +1 -0
- package/.turbo/cache/120c8e207aa1ba35-meta.json +1 -0
- package/.turbo/cache/120c8e207aa1ba35.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +1 -0
- package/.turbo/cache/17dd4bdef6550a07-meta.json +1 -0
- package/.turbo/cache/17dd4bdef6550a07.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +1 -0
- package/.turbo/cache/1de15d89eed2d760-meta.json +1 -0
- package/.turbo/cache/1de15d89eed2d760.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +1 -0
- package/.turbo/cache/2990aaa7ebc5b967-meta.json +1 -0
- package/.turbo/cache/2990aaa7ebc5b967.tar.zst +0 -0
- package/.turbo/cache/32c0b9995fb5f8dd-meta.json +1 -0
- package/.turbo/cache/32c0b9995fb5f8dd.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +1 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +1 -0
- package/.turbo/cache/47ba2b5ebdb579e9-meta.json +1 -0
- package/.turbo/cache/47ba2b5ebdb579e9.tar.zst +0 -0
- package/.turbo/cache/4f92cea2d8c63de2-meta.json +1 -0
- package/.turbo/cache/4f92cea2d8c63de2.tar.zst +0 -0
- package/.turbo/cache/56cb35d4c7473a23-meta.json +1 -0
- package/.turbo/cache/56cb35d4c7473a23.tar.zst +0 -0
- package/.turbo/cache/5c16ce3cff5c9dff-meta.json +1 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +1 -0
- package/.turbo/cache/626afdc67e0cb540-meta.json +1 -0
- package/.turbo/cache/626afdc67e0cb540.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +1 -0
- package/.turbo/cache/691a74627ec57993-meta.json +1 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +1 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +1 -0
- package/.turbo/cache/6ef81cf9a66f982a-meta.json +1 -0
- package/.turbo/cache/6ef81cf9a66f982a.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +1 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +1 -0
- package/.turbo/cache/784c03fe9fd5ac05-meta.json +1 -0
- package/.turbo/cache/784c03fe9fd5ac05.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +1 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +1 -0
- package/.turbo/cache/87219c41a4ace9cd-meta.json +1 -0
- package/.turbo/cache/87219c41a4ace9cd.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +1 -0
- package/.turbo/cache/8b735250fa5a62bf-meta.json +1 -0
- package/.turbo/cache/8b735250fa5a62bf.tar.zst +0 -0
- package/.turbo/cache/9154e8fe6ab767ea-meta.json +1 -0
- package/.turbo/cache/9154e8fe6ab767ea.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +1 -0
- package/.turbo/cache/993dff2edb7b6766-meta.json +1 -0
- package/.turbo/cache/993dff2edb7b6766.tar.zst +0 -0
- package/.turbo/cache/9a097d6576dadd64-meta.json +1 -0
- package/.turbo/cache/a49cc58242467fdc-meta.json +1 -0
- package/.turbo/cache/a49cc58242467fdc.tar.zst +0 -0
- package/.turbo/cache/a6a56bb802e1c20f-meta.json +1 -0
- package/.turbo/cache/a6a56bb802e1c20f.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +1 -0
- package/.turbo/cache/{06f476671015e973.tar.zst → a77bc920ea508bb8.tar.zst} +0 -0
- package/.turbo/cache/af061e7a077a9ba5-meta.json +1 -0
- package/.turbo/cache/af061e7a077a9ba5.tar.zst +0 -0
- package/.turbo/cache/b50f1b283b4b81cd-meta.json +1 -0
- package/.turbo/cache/b50f1b283b4b81cd.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +1 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +1 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -0
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bf85bc040b7e64db-meta.json +1 -0
- package/.turbo/cache/bf85bc040b7e64db.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +1 -0
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +1 -0
- package/.turbo/cache/cd5f6987783fb56d-meta.json +1 -0
- package/.turbo/cache/cd5f6987783fb56d.tar.zst +0 -0
- package/.turbo/cache/ce67b6522dd09e64-meta.json +1 -0
- package/.turbo/cache/ce67b6522dd09e64.tar.zst +0 -0
- package/.turbo/cache/d716cb7a08152beb-meta.json +1 -0
- package/.turbo/cache/d716cb7a08152beb.tar.zst +0 -0
- package/.turbo/cache/d7a47b77deb3d9a4-meta.json +1 -0
- package/.turbo/cache/d7a47b77deb3d9a4.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +1 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +1 -0
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +1 -0
- package/.turbo/cache/fbbe2704bf9cb90b-meta.json +1 -0
- package/.turbo/cache/ff58f630c9d69af4-meta.json +1 -0
- package/.turbo/cache/ff58f630c9d69af4.tar.zst +0 -0
- package/CHANGELOG.md +74 -0
- package/components/checkbox/.turbo/turbo-build.log +6 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/checkbox/README.md +8 -8
- package/components/checkbox/demo/api.html +6 -1
- package/components/checkbox/demo/api.js +16 -0
- package/components/checkbox/demo/api.md +104 -45
- package/components/checkbox/demo/api.min.js +85 -14
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +60 -14
- package/components/checkbox/dist/auro-checkbox-group.d.ts +6 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +6 -1
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +60 -14
- package/components/checkbox/src/auro-checkbox-group.js +18 -6
- package/components/checkbox/src/auro-checkbox.js +10 -1
- package/components/combobox/.turbo/turbo-build.log +6 -3
- package/components/combobox/demo/api.js +4 -2
- package/components/combobox/demo/api.md +60 -1
- package/components/combobox/demo/api.min.js +159 -113
- package/components/combobox/demo/index.min.js +150 -113
- package/components/combobox/dist/auro-combobox.d.ts +5 -1
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/index.js +145 -76
- package/components/combobox/src/auro-combobox.js +14 -3
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/datepicker/.turbo/turbo-build.log +6 -3
- package/components/datepicker/demo/api.js +2 -0
- package/components/datepicker/demo/api.md +46 -1
- package/components/datepicker/demo/api.min.js +155 -78
- package/components/datepicker/demo/index.min.js +146 -78
- package/components/datepicker/dist/auro-datepicker.d.ts +5 -2
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +146 -78
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/package.json +1 -1
- package/components/datepicker/src/auro-datepicker.js +14 -4
- package/components/datepicker/src/popoverVersion.js +1 -1
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/dropdown/demo/api.min.js +37 -25
- package/components/dropdown/demo/index.min.js +37 -25
- package/components/dropdown/dist/iconVersion.d.ts +1 -1
- package/components/dropdown/dist/index.js +37 -25
- package/components/dropdown/package.json +1 -1
- package/components/dropdown/src/auro-dropdown.js +2 -2
- 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 +1 -0
- package/components/dropdown/src/styles/style.scss +1 -0
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/input/.turbo/turbo-build$colon$sass.log +2 -2
- package/components/input/.turbo/turbo-build.log +16 -13
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/demo/api.js +2 -0
- package/components/input/demo/api.md +183 -135
- package/components/input/demo/api.min.js +74 -44
- package/components/input/demo/index.min.js +62 -41
- package/components/input/dist/base-input.d.ts +8 -18
- 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 +62 -41
- package/components/input/package.json +2 -2
- package/components/input/src/base-input.js +23 -29
- package/components/input/src/buttonVersion.js +1 -1
- package/components/input/src/iconVersion.js +1 -1
- package/components/input/src/styles/input-css.js +1 -1
- package/components/input/src/styles/input.css +13 -0
- package/components/input/src/styles/input.scss +21 -0
- package/components/input/src/styles/label-css.js +1 -1
- package/components/input/src/styles/label.css +3 -3
- package/components/input/src/styles/label.scss +1 -2
- package/components/input/src/styles/notificationIcons-css.js +1 -1
- package/components/input/src/styles/notificationIcons.css +7 -0
- package/components/input/src/styles/notificationIcons.scss +14 -0
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +23 -3
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/demo/api.md +1 -5
- package/components/menu/demo/api.min.js +5 -37
- package/components/menu/demo/index.min.js +5 -37
- package/components/menu/dist/auro-menu.d.ts +0 -4
- 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 +5 -37
- package/components/menu/package.json +1 -1
- package/components/menu/src/auro-menu.js +0 -32
- package/components/menu/src/auro-menuoption.js +1 -2
- package/components/menu/src/iconVersion.js +1 -1
- package/components/radio/.turbo/turbo-build.log +6 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/radio/demo/api.html +1 -0
- package/components/radio/demo/api.js +2 -0
- package/components/radio/demo/api.md +57 -3
- package/components/radio/demo/api.min.js +55 -12
- package/components/radio/demo/index.min.js +46 -12
- 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 +46 -12
- package/components/radio/src/auro-radio-group.js +5 -5
- package/components/radio/src/auro-radio.js +9 -0
- package/components/select/.turbo/turbo-build.log +10 -7
- package/components/select/demo/api.js +6 -2
- package/components/select/demo/api.md +137 -70
- package/components/select/demo/api.min.js +105 -73
- package/components/select/demo/index.min.js +85 -73
- package/components/select/dist/auro-select.d.ts +5 -1
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/index.js +80 -36
- package/components/select/src/auro-select.js +11 -4
- package/package.json +2 -2
- package/packages/form-validation/src/validation.js +32 -7
- 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/0157ec8abdaf2a9c-meta.json +0 -1
- 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/09df74d672102662-meta.json +0 -1
- package/.turbo/cache/09df74d672102662.tar.zst +0 -0
- package/.turbo/cache/0cd109fb3183c2e6-meta.json +0 -1
- package/.turbo/cache/17c429ade621ffcb-meta.json +0 -1
- 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/21705fa179d5f820-meta.json +0 -1
- package/.turbo/cache/21705fa179d5f820.tar.zst +0 -0
- package/.turbo/cache/249d9ba3ee6aa1cb-meta.json +0 -1
- 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/300b59df2de12b46-meta.json +0 -1
- package/.turbo/cache/300b59df2de12b46.tar.zst +0 -0
- package/.turbo/cache/31729e74fccaafb0-meta.json +0 -1
- package/.turbo/cache/32702694d62a08ac-meta.json +0 -1
- 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/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/748faca09d14fea7-meta.json +0 -1
- 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/8605f60efb7d3957-meta.json +0 -1
- package/.turbo/cache/8605f60efb7d3957.tar.zst +0 -0
- package/.turbo/cache/892a90b62716ded5-meta.json +0 -1
- package/.turbo/cache/8cac06ca809bd2b1-meta.json +0 -1
- 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/a3a879aea25debf8-meta.json +0 -1
- 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/b37b0eb5597e160f-meta.json +0 -1
- 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/bde11c3029373459-meta.json +0 -1
- 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/d61b4e1bde4c0a12-meta.json +0 -1
- 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/e67ac30b07d9e800-meta.json +0 -1
- package/.turbo/cache/e67ac30b07d9e800.tar.zst +0 -0
- package/.turbo/cache/e7244fdd3397eba7-meta.json +0 -1
- package/.turbo/cache/e7cf2cc625bd92b3-meta.json +0 -1
- package/.turbo/cache/e89a401ebdda3fc2-meta.json +0 -1
- 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
- /package/.turbo/cache/{b37b0eb5597e160f.tar.zst → 013a48308b893dac.tar.zst} +0 -0
- /package/.turbo/cache/{8cac06ca809bd2b1.tar.zst → 07ca42419b9f050c.tar.zst} +0 -0
- /package/.turbo/cache/{e7244fdd3397eba7.tar.zst → 0cea4c1f34f3683b.tar.zst} +0 -0
- /package/.turbo/cache/{e89a401ebdda3fc2.tar.zst → 17259cf94d8f8925.tar.zst} +0 -0
- /package/.turbo/cache/{a3a879aea25debf8.tar.zst → 1c99a949ec63ab35.tar.zst} +0 -0
- /package/.turbo/cache/{17c429ade621ffcb.tar.zst → 257a7a26ea72dbc5.tar.zst} +0 -0
- /package/.turbo/cache/{d0e874a9a71c9468.tar.zst → 3bf45120d0cc9bd8.tar.zst} +0 -0
- /package/.turbo/cache/{0cd109fb3183c2e6.tar.zst → 45035bf5c4147ccd.tar.zst} +0 -0
- /package/.turbo/cache/{bde11c3029373459.tar.zst → 5c16ce3cff5c9dff.tar.zst} +0 -0
- /package/.turbo/cache/{1db02f756ce85784.tar.zst → 5f304c0f37ef25f3.tar.zst} +0 -0
- /package/.turbo/cache/{9ed3089ffd7d0c00.tar.zst → 64de7a53e02db647.tar.zst} +0 -0
- /package/.turbo/cache/{32702694d62a08ac.tar.zst → 691a74627ec57993.tar.zst} +0 -0
- /package/.turbo/cache/{00cb38bef1105dac.tar.zst → 69aae513b7ec6c7d.tar.zst} +0 -0
- /package/.turbo/cache/{e7cf2cc625bd92b3.tar.zst → 6dd7058e6703cb35.tar.zst} +0 -0
- /package/.turbo/cache/{748faca09d14fea7.tar.zst → 73e9073a5274616d.tar.zst} +0 -0
- /package/.turbo/cache/{83bb78fec13808d0.tar.zst → 773edc0f83c8c5a5.tar.zst} +0 -0
- /package/.turbo/cache/{892a90b62716ded5.tar.zst → 786a822763403879.tar.zst} +0 -0
- /package/.turbo/cache/{7419ef01dc18b433.tar.zst → 80b5d974184a01df.tar.zst} +0 -0
- /package/.turbo/cache/{0157ec8abdaf2a9c.tar.zst → 8954c6073396fadd.tar.zst} +0 -0
- /package/.turbo/cache/{bc8eed3d7216f5b7.tar.zst → 92daa6d7c389d548.tar.zst} +0 -0
- /package/.turbo/cache/{e541225f46f7cf86.tar.zst → 9a097d6576dadd64.tar.zst} +0 -0
- /package/.turbo/cache/{2778d5e895240cd1.tar.zst → b54fc4f664a7a5a0.tar.zst} +0 -0
- /package/.turbo/cache/{a8f6418b830ef0ba.tar.zst → ba4418918621fbcd.tar.zst} +0 -0
- /package/.turbo/cache/{4bec46ffff6fd2e8.tar.zst → cc81de9c0b452a7c.tar.zst} +0 -0
- /package/.turbo/cache/{31729e74fccaafb0.tar.zst → dad1301ac69bcb85.tar.zst} +0 -0
- /package/.turbo/cache/{d61b4e1bde4c0a12.tar.zst → fa132b5b5f0e75f8.tar.zst} +0 -0
- /package/.turbo/cache/{249d9ba3ee6aa1cb.tar.zst → fbbe2704bf9cb90b.tar.zst} +0 -0
|
@@ -110,6 +110,30 @@ class AuroFormValidation {
|
|
|
110
110
|
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
/**
|
|
114
|
+
* Resets the element to its initial state.
|
|
115
|
+
* @private
|
|
116
|
+
* @param {object} elem - HTML element to reset.
|
|
117
|
+
* @returns {void}
|
|
118
|
+
*/
|
|
119
|
+
reset(elem) {
|
|
120
|
+
elem.validity = undefined;
|
|
121
|
+
elem.value = undefined;
|
|
122
|
+
|
|
123
|
+
// Resets the second value of the datepicker in range state
|
|
124
|
+
if (elem.valueEnd) {
|
|
125
|
+
elem.valueEnd = undefined;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Resets selected option of element
|
|
129
|
+
if (elem.optionSelected) {
|
|
130
|
+
elem.optionSelected = undefined;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Runs validation to handle error attribute
|
|
134
|
+
this.validate(elem);
|
|
135
|
+
}
|
|
136
|
+
|
|
113
137
|
/**
|
|
114
138
|
* Determines the validity state of the element based on the common attribute restrictions (pattern).
|
|
115
139
|
* @private
|
|
@@ -124,10 +148,15 @@ class AuroFormValidation {
|
|
|
124
148
|
elem.validity = 'badInput';
|
|
125
149
|
elem.setCustomValidity = elem.setCustomValidityBadInput || '';
|
|
126
150
|
}
|
|
127
|
-
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
154
|
+
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
128
155
|
elem.validity = 'tooShort';
|
|
129
156
|
elem.setCustomValidity = elem.setCustomValidityTooShort || '';
|
|
130
|
-
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (elem.value?.length > elem.maxLength) {
|
|
131
160
|
elem.validity = 'tooLong';
|
|
132
161
|
elem.setCustomValidity = elem.setCustomValidityTooLong || '';
|
|
133
162
|
}
|
|
@@ -153,7 +182,7 @@ class AuroFormValidation {
|
|
|
153
182
|
elem.validity = 'tooShort';
|
|
154
183
|
elem.setCustomValidity = elem.setCustomValidityForType || '';
|
|
155
184
|
}
|
|
156
|
-
} else if (elem.type === 'number'
|
|
185
|
+
} else if (elem.type === 'number') {
|
|
157
186
|
if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
|
|
158
187
|
elem.validity = 'rangeOverflow';
|
|
159
188
|
elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
|
|
@@ -258,14 +287,10 @@ class AuroFormValidation {
|
|
|
258
287
|
|
|
259
288
|
if (validationShouldRun || elem.hasAttribute('error')) {
|
|
260
289
|
if (elem.validity && elem.validity !== 'valid') {
|
|
261
|
-
elem.isValid = false;
|
|
262
|
-
|
|
263
290
|
// Use the validity message override if it is declared
|
|
264
291
|
if (elem.ValidityMessageOverride) {
|
|
265
292
|
elem.setCustomValidity = elem.ValidityMessageOverride;
|
|
266
293
|
}
|
|
267
|
-
} else {
|
|
268
|
-
elem.isValid = true;
|
|
269
294
|
}
|
|
270
295
|
|
|
271
296
|
this.getErrorMessage(elem);
|
|
@@ -1979,6 +2004,11 @@ class AuroFloatingUI {
|
|
|
1979
2004
|
this.focusHandler = null;
|
|
1980
2005
|
this.clickHandler = null;
|
|
1981
2006
|
this.keyDownHandler = null;
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* @private
|
|
2010
|
+
*/
|
|
2011
|
+
this.eventPrefix = undefined;
|
|
1982
2012
|
}
|
|
1983
2013
|
|
|
1984
2014
|
/**
|
|
@@ -1995,22 +2025,24 @@ class AuroFloatingUI {
|
|
|
1995
2025
|
*/
|
|
1996
2026
|
mirrorSize(fullscreen) {
|
|
1997
2027
|
// mirror the boxsize from bibSizer
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2028
|
+
if (this.element.bibSizer) {
|
|
2029
|
+
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2030
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2031
|
+
if (fullscreen) {
|
|
2032
|
+
bibContent.style.width = '';
|
|
2033
|
+
bibContent.style.height = '';
|
|
2034
|
+
bibContent.style.maxWidth = '';
|
|
2035
|
+
bibContent.style.maxHeight = '';
|
|
2036
|
+
} else {
|
|
2037
|
+
if (sizerStyle.width !== '0px') {
|
|
2038
|
+
bibContent.style.width = sizerStyle.width;
|
|
2039
|
+
}
|
|
2040
|
+
if (sizerStyle.height !== '0px') {
|
|
2041
|
+
bibContent.style.height = sizerStyle.height;
|
|
2042
|
+
}
|
|
2043
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2044
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2011
2045
|
}
|
|
2012
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2013
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2014
2046
|
}
|
|
2015
2047
|
}
|
|
2016
2048
|
|
|
@@ -2217,7 +2249,7 @@ class AuroFloatingUI {
|
|
|
2217
2249
|
* @returns {void} Dispatches event with an object showing the state of the dropdown.
|
|
2218
2250
|
*/
|
|
2219
2251
|
dispatchEventDropdownToggle() {
|
|
2220
|
-
const event = new CustomEvent(
|
|
2252
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
2221
2253
|
detail: {
|
|
2222
2254
|
expanded: this.isPopoverVisible,
|
|
2223
2255
|
},
|
|
@@ -2234,7 +2266,7 @@ class AuroFloatingUI {
|
|
|
2234
2266
|
this.showBib();
|
|
2235
2267
|
}
|
|
2236
2268
|
|
|
2237
|
-
const event = new CustomEvent(
|
|
2269
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
2238
2270
|
composed: true,
|
|
2239
2271
|
details: {
|
|
2240
2272
|
expanded: this.element.isPopoverVisible
|
|
@@ -2278,6 +2310,9 @@ class AuroFloatingUI {
|
|
|
2278
2310
|
this.handleFocusLoss();
|
|
2279
2311
|
break;
|
|
2280
2312
|
case 'click':
|
|
2313
|
+
if (document.activeElement === document.body) {
|
|
2314
|
+
event.currentTarget.focus();
|
|
2315
|
+
}
|
|
2281
2316
|
this.handleClick();
|
|
2282
2317
|
break;
|
|
2283
2318
|
// Do nothing
|
|
@@ -2315,7 +2350,8 @@ class AuroFloatingUI {
|
|
|
2315
2350
|
});
|
|
2316
2351
|
}
|
|
2317
2352
|
|
|
2318
|
-
configure(elem) {
|
|
2353
|
+
configure(elem, eventPrefix) {
|
|
2354
|
+
this.eventPrefix = eventPrefix;
|
|
2319
2355
|
this.element = elem;
|
|
2320
2356
|
this.element.trigger = this.element.shadowRoot.querySelector('#trigger');
|
|
2321
2357
|
this.element.bib = this.element.shadowRoot.querySelector('#bib');
|
|
@@ -2475,7 +2511,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
2475
2511
|
return _fetchMap.get(uri);
|
|
2476
2512
|
};
|
|
2477
2513
|
|
|
2478
|
-
var styleCss$2 = i$3`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.labelContainer{line-height:1.8}`;
|
|
2514
|
+
var styleCss$2 = i$3`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
2479
2515
|
|
|
2480
2516
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2481
2517
|
// See LICENSE in the project root for license information.
|
|
@@ -2742,7 +2778,8 @@ class AuroIcon extends BaseIcon {
|
|
|
2742
2778
|
};
|
|
2743
2779
|
|
|
2744
2780
|
const classes = {
|
|
2745
|
-
'label': this.label
|
|
2781
|
+
'label': this.label,
|
|
2782
|
+
'wrapper': true,
|
|
2746
2783
|
};
|
|
2747
2784
|
|
|
2748
2785
|
return x`
|
|
@@ -2766,15 +2803,15 @@ class AuroIcon extends BaseIcon {
|
|
|
2766
2803
|
}
|
|
2767
2804
|
}
|
|
2768
2805
|
|
|
2769
|
-
var iconVersion = '6.1.
|
|
2806
|
+
var iconVersion = '6.1.2';
|
|
2770
2807
|
|
|
2771
|
-
var styleCss$1 = i$3`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2808
|
+
var styleCss$1 = i$3`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2772
2809
|
|
|
2773
|
-
var colorCss$1 = i$3`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);
|
|
2810
|
+
var colorCss$1 = i$3`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
2774
2811
|
|
|
2775
2812
|
var tokensCss$2 = i$3`:host{--ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2776
2813
|
|
|
2777
|
-
var styleCss$3 = i$3`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common]
|
|
2814
|
+
var styleCss$3 = i$3`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
2778
2815
|
|
|
2779
2816
|
var colorCss$3 = i$3`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
2780
2817
|
|
|
@@ -3086,7 +3123,7 @@ class AuroDropdown extends r {
|
|
|
3086
3123
|
}
|
|
3087
3124
|
|
|
3088
3125
|
firstUpdated() {
|
|
3089
|
-
this.floater.configure(this);
|
|
3126
|
+
this.floater.configure(this, 'auroDropdown');
|
|
3090
3127
|
this.bibContent = this.floater.element.bib;
|
|
3091
3128
|
|
|
3092
3129
|
// Add the tag name as an attribute if it is different than the component name
|
|
@@ -3307,8 +3344,7 @@ class AuroSelect extends r$4 {
|
|
|
3307
3344
|
type: Object
|
|
3308
3345
|
},
|
|
3309
3346
|
value: {
|
|
3310
|
-
type: String
|
|
3311
|
-
reflect: true
|
|
3347
|
+
type: String
|
|
3312
3348
|
},
|
|
3313
3349
|
noValidate: {
|
|
3314
3350
|
type: Boolean,
|
|
@@ -3451,11 +3487,11 @@ class AuroSelect extends r$4 {
|
|
|
3451
3487
|
|
|
3452
3488
|
this.generateOptionsArray();
|
|
3453
3489
|
|
|
3454
|
-
this.addEventListener('auroMenu-activatedOption', (evt) => {
|
|
3490
|
+
this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
|
|
3455
3491
|
this.optionActive = evt.detail;
|
|
3456
3492
|
});
|
|
3457
3493
|
|
|
3458
|
-
this.menu.addEventListener('selectedOption', () => {
|
|
3494
|
+
this.menu.addEventListener('auroMenu-selectedOption', () => {
|
|
3459
3495
|
this.optionSelected = this.menu.optionSelected;
|
|
3460
3496
|
this.value = this.optionSelected.value;
|
|
3461
3497
|
|
|
@@ -3669,6 +3705,14 @@ class AuroSelect extends r$4 {
|
|
|
3669
3705
|
}
|
|
3670
3706
|
}
|
|
3671
3707
|
|
|
3708
|
+
/**
|
|
3709
|
+
* Resets component to initial state.
|
|
3710
|
+
* @returns {void}
|
|
3711
|
+
*/
|
|
3712
|
+
reset() {
|
|
3713
|
+
this.validation.reset(this);
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3672
3716
|
/**
|
|
3673
3717
|
* Handles reading of auro-select by screen readers.
|
|
3674
3718
|
* @private
|
|
@@ -111,8 +111,7 @@ export class AuroSelect extends LitElement {
|
|
|
111
111
|
type: Object
|
|
112
112
|
},
|
|
113
113
|
value: {
|
|
114
|
-
type: String
|
|
115
|
-
reflect: true
|
|
114
|
+
type: String
|
|
116
115
|
},
|
|
117
116
|
noValidate: {
|
|
118
117
|
type: Boolean,
|
|
@@ -255,11 +254,11 @@ export class AuroSelect extends LitElement {
|
|
|
255
254
|
|
|
256
255
|
this.generateOptionsArray();
|
|
257
256
|
|
|
258
|
-
this.addEventListener('auroMenu-activatedOption', (evt) => {
|
|
257
|
+
this.menu.addEventListener('auroMenu-activatedOption', (evt) => {
|
|
259
258
|
this.optionActive = evt.detail;
|
|
260
259
|
});
|
|
261
260
|
|
|
262
|
-
this.menu.addEventListener('selectedOption', () => {
|
|
261
|
+
this.menu.addEventListener('auroMenu-selectedOption', () => {
|
|
263
262
|
this.optionSelected = this.menu.optionSelected;
|
|
264
263
|
this.value = this.optionSelected.value;
|
|
265
264
|
|
|
@@ -473,6 +472,14 @@ export class AuroSelect extends LitElement {
|
|
|
473
472
|
}
|
|
474
473
|
}
|
|
475
474
|
|
|
475
|
+
/**
|
|
476
|
+
* Resets component to initial state.
|
|
477
|
+
* @returns {void}
|
|
478
|
+
*/
|
|
479
|
+
reset() {
|
|
480
|
+
this.validation.reset(this);
|
|
481
|
+
}
|
|
482
|
+
|
|
476
483
|
/**
|
|
477
484
|
* Handles reading of auro-select by screen readers.
|
|
478
485
|
* @private
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurodesignsystem/auro-formkit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.2",
|
|
4
4
|
"description": "A collection of web components used to build forms.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prepare": "husky"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@aurodesignsystem/auro-library": "^3.0.
|
|
43
|
+
"@aurodesignsystem/auro-library": "^3.0.5"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@aurodesignsystem/eslint-config": "^1.3.3",
|
|
@@ -12,6 +12,30 @@ export default class AuroFormValidation {
|
|
|
12
12
|
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Resets the element to its initial state.
|
|
17
|
+
* @private
|
|
18
|
+
* @param {object} elem - HTML element to reset.
|
|
19
|
+
* @returns {void}
|
|
20
|
+
*/
|
|
21
|
+
reset(elem) {
|
|
22
|
+
elem.validity = undefined;
|
|
23
|
+
elem.value = undefined;
|
|
24
|
+
|
|
25
|
+
// Resets the second value of the datepicker in range state
|
|
26
|
+
if (elem.valueEnd) {
|
|
27
|
+
elem.valueEnd = undefined;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Resets selected option of element
|
|
31
|
+
if (elem.optionSelected) {
|
|
32
|
+
elem.optionSelected = undefined;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Runs validation to handle error attribute
|
|
36
|
+
this.validate(elem);
|
|
37
|
+
}
|
|
38
|
+
|
|
15
39
|
/**
|
|
16
40
|
* Determines the validity state of the element based on the common attribute restrictions (pattern).
|
|
17
41
|
* @private
|
|
@@ -26,10 +50,15 @@ export default class AuroFormValidation {
|
|
|
26
50
|
elem.validity = 'badInput';
|
|
27
51
|
elem.setCustomValidity = elem.setCustomValidityBadInput || '';
|
|
28
52
|
}
|
|
29
|
-
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
56
|
+
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
30
57
|
elem.validity = 'tooShort';
|
|
31
58
|
elem.setCustomValidity = elem.setCustomValidityTooShort || '';
|
|
32
|
-
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (elem.value?.length > elem.maxLength) {
|
|
33
62
|
elem.validity = 'tooLong';
|
|
34
63
|
elem.setCustomValidity = elem.setCustomValidityTooLong || '';
|
|
35
64
|
}
|
|
@@ -55,7 +84,7 @@ export default class AuroFormValidation {
|
|
|
55
84
|
elem.validity = 'tooShort';
|
|
56
85
|
elem.setCustomValidity = elem.setCustomValidityForType || '';
|
|
57
86
|
}
|
|
58
|
-
} else if (elem.type === 'number'
|
|
87
|
+
} else if (elem.type === 'number') {
|
|
59
88
|
if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
|
|
60
89
|
elem.validity = 'rangeOverflow';
|
|
61
90
|
elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
|
|
@@ -160,14 +189,10 @@ export default class AuroFormValidation {
|
|
|
160
189
|
|
|
161
190
|
if (validationShouldRun || elem.hasAttribute('error')) {
|
|
162
191
|
if (elem.validity && elem.validity !== 'valid') {
|
|
163
|
-
elem.isValid = false;
|
|
164
|
-
|
|
165
192
|
// Use the validity message override if it is declared
|
|
166
193
|
if (elem.ValidityMessageOverride) {
|
|
167
194
|
elem.setCustomValidity = elem.ValidityMessageOverride;
|
|
168
195
|
}
|
|
169
|
-
} else {
|
|
170
|
-
elem.isValid = true;
|
|
171
196
|
}
|
|
172
197
|
|
|
173
198
|
this.getErrorMessage(elem);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"0008b92c8752bf75","duration":18139}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"00cb38bef1105dac","duration":1831}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"0157ec8abdaf2a9c","duration":2013}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"0636e9cedc83238b","duration":2465}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"06f476671015e973","duration":8189}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"09df74d672102662","duration":1766}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"0cd109fb3183c2e6","duration":1493}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"17c429ade621ffcb","duration":1931}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"1c47128a0e12fcfa","duration":2772}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"1db02f756ce85784","duration":3524}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"21705fa179d5f820","duration":3243}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"249d9ba3ee6aa1cb","duration":1888}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"2666b96bfcf4e9cd","duration":2733}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"2778d5e895240cd1","duration":2515}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"300b59df2de12b46","duration":5431}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"31729e74fccaafb0","duration":2332}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"32702694d62a08ac","duration":2660}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3482a3cba9a51c2d","duration":19666}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3a9d73752f23a40a","duration":2503}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"3afe2e6f714a4fcb","duration":721}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"408ea1754276298c","duration":3431}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"42066c793c3816f3","duration":897}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"4bec46ffff6fd2e8","duration":2274}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"50b275350abe14dd","duration":6026}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"51078a087b52c65e","duration":1948}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"593ddf689673e305","duration":9065}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"64e4f18395bd4461","duration":3767}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"68843ecab6e09320","duration":20169}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"7419ef01dc18b433","duration":2882}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"748faca09d14fea7","duration":4333}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"75495b0bbd6c06a7","duration":1015}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"7a6a8af4392c4b05","duration":18735}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"7e81141e0140dd3a","duration":2361}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"7eb50d96639e6dd4","duration":5483}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"83bb78fec13808d0","duration":2508}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"8605f60efb7d3957","duration":2494}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"892a90b62716ded5","duration":2561}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"8cac06ca809bd2b1","duration":4276}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"9a908bf8f82c84a6","duration":2546}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"9ed3089ffd7d0c00","duration":1765}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"a3a879aea25debf8","duration":1703}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"a8dbafaf6177f677","duration":9626}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"a8f6418b830ef0ba","duration":1419}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"b37b0eb5597e160f","duration":2239}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"b7e7a8c425673f7c","duration":6057}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"bc8eed3d7216f5b7","duration":821}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"bde11c3029373459","duration":3771}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"c8e5fe6aec4479f5","duration":18124}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"hash":"d0e874a9a71c9468","duration":3048}
|