@aurodesignsystem/auro-formkit 1.6.0-beta.9 → 2.0.0-beta.1
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/141bb7d9a95e288b-meta.json +1 -0
- package/.turbo/cache/141bb7d9a95e288b.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/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/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/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/bb8b41cd0ade3986-meta.json +1 -0
- package/.turbo/cache/bb8b41cd0ade3986.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +1 -0
- package/.turbo/cache/{7e81141e0140dd3a.tar.zst → 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/{3a9d73752f23a40a.tar.zst → 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/cd845bb6102c589a-meta.json +1 -0
- package/.turbo/cache/cd845bb6102c589a.tar.zst +0 -0
- package/.turbo/cache/ce67b6522dd09e64-meta.json +1 -0
- package/.turbo/cache/ce67b6522dd09e64.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 +66 -0
- package/components/checkbox/.turbo/turbo-build.log +6 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/checkbox/demo/api.html +6 -1
- package/components/checkbox/demo/api.js +16 -0
- package/components/checkbox/demo/api.md +63 -4
- package/components/checkbox/demo/api.min.js +84 -13
- package/components/checkbox/demo/index.min.js +59 -13
- 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 +5 -0
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +59 -13
- package/components/checkbox/src/auro-checkbox-group.js +18 -6
- package/components/checkbox/src/auro-checkbox.js +9 -0
- 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 +5 -2
- 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/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/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/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/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
|
@@ -117,6 +117,14 @@ function inDialogExample() {
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
function resetStateExample() {
|
|
121
|
+
const elem = document.querySelector('#resetStateExample');
|
|
122
|
+
|
|
123
|
+
document.querySelector('#resetStateBtn').addEventListener('click', () => {
|
|
124
|
+
elem.reset();
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
|
|
120
128
|
function auroMenuLoadingExample() {
|
|
121
129
|
const combobox = document.querySelector("#loadingExample");
|
|
122
130
|
const menu = document.querySelector("#loadingExampleComboboxMenu");
|
|
@@ -307,6 +315,30 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
307
315
|
this.runtimeUtils = new AuroLibraryRuntimeUtils$2();
|
|
308
316
|
}
|
|
309
317
|
|
|
318
|
+
/**
|
|
319
|
+
* Resets the element to its initial state.
|
|
320
|
+
* @private
|
|
321
|
+
* @param {object} elem - HTML element to reset.
|
|
322
|
+
* @returns {void}
|
|
323
|
+
*/
|
|
324
|
+
reset(elem) {
|
|
325
|
+
elem.validity = undefined;
|
|
326
|
+
elem.value = undefined;
|
|
327
|
+
|
|
328
|
+
// Resets the second value of the datepicker in range state
|
|
329
|
+
if (elem.valueEnd) {
|
|
330
|
+
elem.valueEnd = undefined;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
// Resets selected option of element
|
|
334
|
+
if (elem.optionSelected) {
|
|
335
|
+
elem.optionSelected = undefined;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// Runs validation to handle error attribute
|
|
339
|
+
this.validate(elem);
|
|
340
|
+
}
|
|
341
|
+
|
|
310
342
|
/**
|
|
311
343
|
* Determines the validity state of the element based on the common attribute restrictions (pattern).
|
|
312
344
|
* @private
|
|
@@ -321,10 +353,15 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
321
353
|
elem.validity = 'badInput';
|
|
322
354
|
elem.setCustomValidity = elem.setCustomValidityBadInput || '';
|
|
323
355
|
}
|
|
324
|
-
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
359
|
+
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
325
360
|
elem.validity = 'tooShort';
|
|
326
361
|
elem.setCustomValidity = elem.setCustomValidityTooShort || '';
|
|
327
|
-
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
if (elem.value?.length > elem.maxLength) {
|
|
328
365
|
elem.validity = 'tooLong';
|
|
329
366
|
elem.setCustomValidity = elem.setCustomValidityTooLong || '';
|
|
330
367
|
}
|
|
@@ -350,7 +387,7 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
350
387
|
elem.validity = 'tooShort';
|
|
351
388
|
elem.setCustomValidity = elem.setCustomValidityForType || '';
|
|
352
389
|
}
|
|
353
|
-
} else if (elem.type === 'number'
|
|
390
|
+
} else if (elem.type === 'number') {
|
|
354
391
|
if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
|
|
355
392
|
elem.validity = 'rangeOverflow';
|
|
356
393
|
elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
|
|
@@ -455,14 +492,10 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
455
492
|
|
|
456
493
|
if (validationShouldRun || elem.hasAttribute('error')) {
|
|
457
494
|
if (elem.validity && elem.validity !== 'valid') {
|
|
458
|
-
elem.isValid = false;
|
|
459
|
-
|
|
460
495
|
// Use the validity message override if it is declared
|
|
461
496
|
if (elem.ValidityMessageOverride) {
|
|
462
497
|
elem.setCustomValidity = elem.ValidityMessageOverride;
|
|
463
498
|
}
|
|
464
|
-
} else {
|
|
465
|
-
elem.isValid = true;
|
|
466
499
|
}
|
|
467
500
|
|
|
468
501
|
this.getErrorMessage(elem);
|
|
@@ -2136,6 +2169,11 @@ class AuroFloatingUI {
|
|
|
2136
2169
|
this.focusHandler = null;
|
|
2137
2170
|
this.clickHandler = null;
|
|
2138
2171
|
this.keyDownHandler = null;
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* @private
|
|
2175
|
+
*/
|
|
2176
|
+
this.eventPrefix = undefined;
|
|
2139
2177
|
}
|
|
2140
2178
|
|
|
2141
2179
|
/**
|
|
@@ -2152,22 +2190,24 @@ class AuroFloatingUI {
|
|
|
2152
2190
|
*/
|
|
2153
2191
|
mirrorSize(fullscreen) {
|
|
2154
2192
|
// mirror the boxsize from bibSizer
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2193
|
+
if (this.element.bibSizer) {
|
|
2194
|
+
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2195
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2196
|
+
if (fullscreen) {
|
|
2197
|
+
bibContent.style.width = '';
|
|
2198
|
+
bibContent.style.height = '';
|
|
2199
|
+
bibContent.style.maxWidth = '';
|
|
2200
|
+
bibContent.style.maxHeight = '';
|
|
2201
|
+
} else {
|
|
2202
|
+
if (sizerStyle.width !== '0px') {
|
|
2203
|
+
bibContent.style.width = sizerStyle.width;
|
|
2204
|
+
}
|
|
2205
|
+
if (sizerStyle.height !== '0px') {
|
|
2206
|
+
bibContent.style.height = sizerStyle.height;
|
|
2207
|
+
}
|
|
2208
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2209
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2168
2210
|
}
|
|
2169
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2170
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2171
2211
|
}
|
|
2172
2212
|
}
|
|
2173
2213
|
|
|
@@ -2374,7 +2414,7 @@ class AuroFloatingUI {
|
|
|
2374
2414
|
* @returns {void} Dispatches event with an object showing the state of the dropdown.
|
|
2375
2415
|
*/
|
|
2376
2416
|
dispatchEventDropdownToggle() {
|
|
2377
|
-
const event = new CustomEvent(
|
|
2417
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
2378
2418
|
detail: {
|
|
2379
2419
|
expanded: this.isPopoverVisible,
|
|
2380
2420
|
},
|
|
@@ -2391,7 +2431,7 @@ class AuroFloatingUI {
|
|
|
2391
2431
|
this.showBib();
|
|
2392
2432
|
}
|
|
2393
2433
|
|
|
2394
|
-
const event = new CustomEvent(
|
|
2434
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
2395
2435
|
composed: true,
|
|
2396
2436
|
details: {
|
|
2397
2437
|
expanded: this.element.isPopoverVisible
|
|
@@ -2435,6 +2475,9 @@ class AuroFloatingUI {
|
|
|
2435
2475
|
this.handleFocusLoss();
|
|
2436
2476
|
break;
|
|
2437
2477
|
case 'click':
|
|
2478
|
+
if (document.activeElement === document.body) {
|
|
2479
|
+
event.currentTarget.focus();
|
|
2480
|
+
}
|
|
2438
2481
|
this.handleClick();
|
|
2439
2482
|
break;
|
|
2440
2483
|
// Do nothing
|
|
@@ -2472,7 +2515,8 @@ class AuroFloatingUI {
|
|
|
2472
2515
|
});
|
|
2473
2516
|
}
|
|
2474
2517
|
|
|
2475
|
-
configure(elem) {
|
|
2518
|
+
configure(elem, eventPrefix) {
|
|
2519
|
+
this.eventPrefix = eventPrefix;
|
|
2476
2520
|
this.element = elem;
|
|
2477
2521
|
this.element.trigger = this.element.shadowRoot.querySelector('#trigger');
|
|
2478
2522
|
this.element.bib = this.element.shadowRoot.querySelector('#bib');
|
|
@@ -2632,7 +2676,7 @@ const cacheFetch$2 = (uri, options = {}) => {
|
|
|
2632
2676
|
return _fetchMap$2.get(uri);
|
|
2633
2677
|
};
|
|
2634
2678
|
|
|
2635
|
-
var styleCss$2$2 = i$3$1`*,*: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}`;
|
|
2679
|
+
var styleCss$2$2 = i$3$1`*,*: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}`;
|
|
2636
2680
|
|
|
2637
2681
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2638
2682
|
// See LICENSE in the project root for license information.
|
|
@@ -2899,7 +2943,8 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2899
2943
|
};
|
|
2900
2944
|
|
|
2901
2945
|
const classes = {
|
|
2902
|
-
'label': this.label
|
|
2946
|
+
'label': this.label,
|
|
2947
|
+
'wrapper': true,
|
|
2903
2948
|
};
|
|
2904
2949
|
|
|
2905
2950
|
return x$1`
|
|
@@ -2923,15 +2968,15 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2923
2968
|
}
|
|
2924
2969
|
};
|
|
2925
2970
|
|
|
2926
|
-
var iconVersion$2 = '6.1.
|
|
2971
|
+
var iconVersion$2 = '6.1.2';
|
|
2927
2972
|
|
|
2928
|
-
var styleCss$1$2 = i$3$1`: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)}`;
|
|
2973
|
+
var styleCss$1$2 = i$3$1`: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)}`;
|
|
2929
2974
|
|
|
2930
|
-
var colorCss$1$2 = i$3$1`.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);
|
|
2975
|
+
var colorCss$1$2 = i$3$1`.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)}`;
|
|
2931
2976
|
|
|
2932
2977
|
var tokensCss$5 = i$3$1`: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)}`;
|
|
2933
2978
|
|
|
2934
|
-
var styleCss$5 = i$3$1`: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]
|
|
2979
|
+
var styleCss$5 = i$3$1`: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}`;
|
|
2935
2980
|
|
|
2936
2981
|
var colorCss$5 = i$3$1`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
2937
2982
|
|
|
@@ -3243,7 +3288,7 @@ class AuroDropdown extends r$5 {
|
|
|
3243
3288
|
}
|
|
3244
3289
|
|
|
3245
3290
|
firstUpdated() {
|
|
3246
|
-
this.floater.configure(this);
|
|
3291
|
+
this.floater.configure(this, 'auroDropdown');
|
|
3247
3292
|
this.bibContent = this.floater.element.bib;
|
|
3248
3293
|
|
|
3249
3294
|
// Add the tag name as an attribute if it is different than the component name
|
|
@@ -3532,7 +3577,7 @@ const t$4=globalThis,e$1$1=t$4.ShadowRoot&&(void 0===t$4.ShadyCSS||t$4.ShadyCSS.
|
|
|
3532
3577
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3533
3578
|
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}r._$litElement$=!0,r["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i$6=globalThis.litElementPolyfillSupport;i$6?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3534
3579
|
|
|
3535
|
-
var styleCss$3$1 = i$2`*,*: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}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem))}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-
|
|
3580
|
+
var styleCss$3$1 = i$2`*,*: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}.typeIcon{display:flex;flex-direction:row;align-items:center}.typeIcon [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-100, 0.5rem)}.notificationIcons{display:flex;flex-direction:row;padding-right:var(--ds-size-100, 0.5rem)}:host([bordered]) .typeIcon{padding-left:var(--ds-size-100, 0.5rem)}:host([bordered]) .notificationIcons{align-items:center}.notification:not(:first-of-type){margin-left:var(--ds-size-100, 0.5rem)}.alertNotification{width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-25, 0.125rem))}.clearBtn{width:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));height:calc(var(--ds-size-200, 1rem) + var(--ds-size-25, 0.125rem));opacity:0;pointer-events:none}:host .wrapper:hover .clearBtn,:host .wrapper:focus-within .clearBtn{opacity:1;pointer-events:auto}.passwordBtn{width:calc(var(--ds-size-300, 1.5rem));height:calc(var(--ds-size-300, 1.5rem))}.notificationBtn{display:block;width:var(--ds-size-300, 1.5rem);height:var(--ds-size-300, 1.5rem);padding:0;border:0;background:unset;cursor:pointer}.notificationBtn [auro-icon]{display:block;height:var(--ds-size-300, 1.5rem);--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}.notificationBtn [auro-icon][hidden]{display:none}:host(:not([bordered])) .typeIcon,:host(:not([bordered])) .notificationIcons{align-items:flex-end;padding-bottom:var(--ds-size-50, 0.25rem)}:host(:focus-within[type=password]) .notificationIcons[hasValue] .alertNotification{overflow:hidden;width:0;height:0;padding:0;margin:0;visibility:hidden}.inputElement-helpText{margin:var(--ds-size-50, 0.25rem) 0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}input{border:unset}.wrapper{position:relative;overflow:hidden;border-style:solid}:host(:not([bordered],[borderless])) .wrapper{border-width:1px 0}:host([bordered]) .wrapper{border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}:host(:not([borderless])) .wrapper:focus-within:before{position:absolute;display:block;border-bottom-width:1px;border-bottom-style:solid;content:"";inset:0;pointer-events:none}:host([validity]:not([validity=valid])) .wrapper:before{border-bottom:0}label{position:absolute;overflow:hidden;pointer-events:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}:host(:not([bordered])) label{top:calc(100% - var(--ds-size-25, 0.125rem));transform:translateY(-100%)}:host(:not([bordered])) label.withIcon{left:var(--ds-size-400, 2rem)}:host([bordered]) label{top:50%;transform:translateY(-50%)}:host([bordered]) label.withIcon{left:var(--ds-size-500, 2.5rem)}:host([bordered]) label:not(label.withIcon){left:var(--ds-size-100, 0.5rem)}:host .wrapper:focus-within label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host label.withValue{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host([activeLabel]) .wrapper label{top:var(--ds-size-100, 0.5rem);font-size:var(--ds-text-body-size-xs, 0.75rem);transform:unset}:host{--size-lgsm: 1.875rem;--size-xlsm: 2.75rem;--size-mdxxs: 1.2rem;position:relative;display:block}.wrapper{display:flex;flex-direction:row}.main{display:flex;flex-direction:row;position:relative;flex:1}input{position:relative;overflow:hidden;min-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));max-height:calc(var(--ds-size-700, 3.5rem) + var(--ds-size-25, 0.125rem));flex:1;padding:var(--ds-size-400, 2rem) 0 var(--ds-size-50, 0.25rem);margin:0;font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-size-200, 1rem);outline:none;text-overflow:ellipsis;transition:all .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:nowrap}input::-ms-reveal,input::-ms-clear{display:none}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield;appearance:textfield}input:disabled{background:none;pointer-events:none}:host([bordered]) input{padding:var(--ds-size-400, 2rem) 0 var(--ds-size-100, 0.5rem)}`;
|
|
3536
3581
|
|
|
3537
3582
|
var colorCss$3 = i$2`.wrapper{border-color:transparent}.inputElement-helpText{color:var(--ds-auro-input-help-text-color)}input{background-color:transparent;caret-color:var(--ds-auro-input-caret-color);color:var(--ds-auro-input-text-color)}input::placeholder{color:transparent}input:focus::placeholder{color:var(--ds-auro-input-placeholder-text-color)}input:disabled{--ds-auro-input-input-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}label{color:var(--ds-auro-input-label-text-color)}:host(:not([bordered],[borderless])) .wrapper{border-bottom-color:var(--ds-auro-input-border-color)}:host([bordered]) .wrapper{border-color:var(--ds-auro-input-border-color);background-color:var(--ds-auro-input-container-color)}:host([bordered]) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host(:not([borderless])) .wrapper:focus-within{--ds-auro-input-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host(:not([borderless])) .wrapper:focus-within:before{border-bottom-color:transparent}:host([validity]:not([validity=valid])){--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);--ds-auro-input-help-text-color: var(--ds-color-text-error-default, #cc1816)}:host([validity]:not([validity=valid])[bordered]) .wrapper{--ds-auro-input-border-color: var(--ds-color-border-error-default, #cc1816);box-shadow:inset 0 0 0 1px var(--ds-auro-input-border-color)}:host([disabled]){--ds-auro-input-border-color: var(--ds-color-border-ui-disabled-default, #adadad);--ds-auro-input-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}`;
|
|
3538
3583
|
|
|
@@ -5174,6 +5219,30 @@ class AuroFormValidation {
|
|
|
5174
5219
|
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
5175
5220
|
}
|
|
5176
5221
|
|
|
5222
|
+
/**
|
|
5223
|
+
* Resets the element to its initial state.
|
|
5224
|
+
* @private
|
|
5225
|
+
* @param {object} elem - HTML element to reset.
|
|
5226
|
+
* @returns {void}
|
|
5227
|
+
*/
|
|
5228
|
+
reset(elem) {
|
|
5229
|
+
elem.validity = undefined;
|
|
5230
|
+
elem.value = undefined;
|
|
5231
|
+
|
|
5232
|
+
// Resets the second value of the datepicker in range state
|
|
5233
|
+
if (elem.valueEnd) {
|
|
5234
|
+
elem.valueEnd = undefined;
|
|
5235
|
+
}
|
|
5236
|
+
|
|
5237
|
+
// Resets selected option of element
|
|
5238
|
+
if (elem.optionSelected) {
|
|
5239
|
+
elem.optionSelected = undefined;
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5242
|
+
// Runs validation to handle error attribute
|
|
5243
|
+
this.validate(elem);
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5177
5246
|
/**
|
|
5178
5247
|
* Determines the validity state of the element based on the common attribute restrictions (pattern).
|
|
5179
5248
|
* @private
|
|
@@ -5188,10 +5257,15 @@ class AuroFormValidation {
|
|
|
5188
5257
|
elem.validity = 'badInput';
|
|
5189
5258
|
elem.setCustomValidity = elem.setCustomValidityBadInput || '';
|
|
5190
5259
|
}
|
|
5191
|
-
}
|
|
5260
|
+
}
|
|
5261
|
+
|
|
5262
|
+
// Length > 0 is required to prevent the error message from showing when the input is empty
|
|
5263
|
+
if (elem.value?.length > 0 && elem.value?.length < elem.minLength) {
|
|
5192
5264
|
elem.validity = 'tooShort';
|
|
5193
5265
|
elem.setCustomValidity = elem.setCustomValidityTooShort || '';
|
|
5194
|
-
}
|
|
5266
|
+
}
|
|
5267
|
+
|
|
5268
|
+
if (elem.value?.length > elem.maxLength) {
|
|
5195
5269
|
elem.validity = 'tooLong';
|
|
5196
5270
|
elem.setCustomValidity = elem.setCustomValidityTooLong || '';
|
|
5197
5271
|
}
|
|
@@ -5217,7 +5291,7 @@ class AuroFormValidation {
|
|
|
5217
5291
|
elem.validity = 'tooShort';
|
|
5218
5292
|
elem.setCustomValidity = elem.setCustomValidityForType || '';
|
|
5219
5293
|
}
|
|
5220
|
-
} else if (elem.type === 'number'
|
|
5294
|
+
} else if (elem.type === 'number') {
|
|
5221
5295
|
if (elem.max !== undefined && Number(elem.max) < Number(elem.value)) {
|
|
5222
5296
|
elem.validity = 'rangeOverflow';
|
|
5223
5297
|
elem.setCustomValidity = elem.getAttribute('setCustomValidityRangeOverflow') || '';
|
|
@@ -5322,14 +5396,10 @@ class AuroFormValidation {
|
|
|
5322
5396
|
|
|
5323
5397
|
if (validationShouldRun || elem.hasAttribute('error')) {
|
|
5324
5398
|
if (elem.validity && elem.validity !== 'valid') {
|
|
5325
|
-
elem.isValid = false;
|
|
5326
|
-
|
|
5327
5399
|
// Use the validity message override if it is declared
|
|
5328
5400
|
if (elem.ValidityMessageOverride) {
|
|
5329
5401
|
elem.setCustomValidity = elem.ValidityMessageOverride;
|
|
5330
5402
|
}
|
|
5331
|
-
} else {
|
|
5332
|
-
elem.isValid = true;
|
|
5333
5403
|
}
|
|
5334
5404
|
|
|
5335
5405
|
this.getErrorMessage(elem);
|
|
@@ -5416,15 +5486,12 @@ class AuroFormValidation {
|
|
|
5416
5486
|
* @attr {Boolean} disabled - If set, disables the input.
|
|
5417
5487
|
* @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
|
|
5418
5488
|
* @prop {String} errorMessage - Contains the help text message for the current validity error.
|
|
5419
|
-
* @attr {String} helpText - Deprecated, see `slot`.
|
|
5420
5489
|
* @attr {Boolean} icon - If set, will render an icon inside the input to the left of the value. Support is limited to auro-input instances with credit card format.
|
|
5421
5490
|
* @attr {String} id - Sets the unique ID of the element.
|
|
5422
|
-
* @attr {String} isValid - (DEPRECATED - Please use validity) Can be accessed to determine if the input validity. Returns true when validity has not yet been checked or validity = 'valid', all other cases return false. Not intended to be set by the consumer.
|
|
5423
|
-
* @attr {String} label - Deprecated, see `slot`.
|
|
5424
5491
|
* @attr {String} lang - defines the language of an element.
|
|
5425
|
-
* @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `
|
|
5492
|
+
* @attr {String} max - The maximum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
5426
5493
|
* @attr {Number} maxLength - The maximum number of characters the user can enter into the text input. This must be an integer value `0` or higher.
|
|
5427
|
-
* @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `
|
|
5494
|
+
* @attr {String} min - The minimum value allowed. This only applies for inputs with a type of `number` and all date formats.
|
|
5428
5495
|
* @attr {Number} minLength - The minimum number of characters the user can enter into the text input. This must be an non-negative integer value smaller than or equal to the value specified by `maxlength`.
|
|
5429
5496
|
* @attr {String} name - Populates the `name` attribute on the input.
|
|
5430
5497
|
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
|
|
@@ -5464,8 +5531,6 @@ class BaseInput extends r {
|
|
|
5464
5531
|
constructor() {
|
|
5465
5532
|
super();
|
|
5466
5533
|
|
|
5467
|
-
this.isValid = false;
|
|
5468
|
-
|
|
5469
5534
|
this.icon = false;
|
|
5470
5535
|
this.disabled = false;
|
|
5471
5536
|
this.required = false;
|
|
@@ -5474,9 +5539,7 @@ class BaseInput extends r {
|
|
|
5474
5539
|
this.min = undefined;
|
|
5475
5540
|
this.maxLength = undefined;
|
|
5476
5541
|
this.minLength = undefined;
|
|
5477
|
-
this.label = 'Input label is undefined';
|
|
5478
5542
|
this.activeLabel = false;
|
|
5479
|
-
|
|
5480
5543
|
this.setCustomValidityForType = undefined;
|
|
5481
5544
|
}
|
|
5482
5545
|
|
|
@@ -5491,9 +5554,11 @@ class BaseInput extends r {
|
|
|
5491
5554
|
this.showPassword = false;
|
|
5492
5555
|
this.validationCCLength = undefined;
|
|
5493
5556
|
this.hasValue = false;
|
|
5557
|
+
this.label = 'Input label is undefined';
|
|
5494
5558
|
|
|
5495
5559
|
this.allowedInputTypes = [
|
|
5496
5560
|
"text",
|
|
5561
|
+
"number",
|
|
5497
5562
|
"email",
|
|
5498
5563
|
"password",
|
|
5499
5564
|
"credit-card",
|
|
@@ -5543,7 +5608,6 @@ class BaseInput extends r {
|
|
|
5543
5608
|
static get properties() {
|
|
5544
5609
|
return {
|
|
5545
5610
|
id: { type: String },
|
|
5546
|
-
label: { type: String },
|
|
5547
5611
|
name: { type: String },
|
|
5548
5612
|
type: { type: String,
|
|
5549
5613
|
reflect: true },
|
|
@@ -5557,7 +5621,6 @@ class BaseInput extends r {
|
|
|
5557
5621
|
disabled: { type: Boolean },
|
|
5558
5622
|
required: { type: Boolean },
|
|
5559
5623
|
noValidate: { type: Boolean },
|
|
5560
|
-
helpText: { type: String },
|
|
5561
5624
|
spellcheck: { type: String },
|
|
5562
5625
|
autocorrect: { type: String },
|
|
5563
5626
|
autocapitalize: { type: String },
|
|
@@ -5586,10 +5649,6 @@ class BaseInput extends r {
|
|
|
5586
5649
|
reflect: true
|
|
5587
5650
|
},
|
|
5588
5651
|
errorMessage: { type: String },
|
|
5589
|
-
isValid: {
|
|
5590
|
-
type: String,
|
|
5591
|
-
reflect: true
|
|
5592
|
-
},
|
|
5593
5652
|
validity: {
|
|
5594
5653
|
type: String,
|
|
5595
5654
|
reflect: true
|
|
@@ -5992,7 +6051,7 @@ class BaseInput extends r {
|
|
|
5992
6051
|
* @return {void}
|
|
5993
6052
|
*/
|
|
5994
6053
|
handleInput() {
|
|
5995
|
-
// Prevent non-
|
|
6054
|
+
// Prevent non-number characters from being entered on credit card fields.
|
|
5996
6055
|
if (this.type === 'credit-card') {
|
|
5997
6056
|
this.inputElement.value = this.inputElement.value.replace(/[\D]/gu, '');
|
|
5998
6057
|
}
|
|
@@ -6078,6 +6137,13 @@ class BaseInput extends r {
|
|
|
6078
6137
|
this.validation.validate(this);
|
|
6079
6138
|
}
|
|
6080
6139
|
|
|
6140
|
+
/**
|
|
6141
|
+
* Resets component to initial state.
|
|
6142
|
+
* @returns {void}
|
|
6143
|
+
*/
|
|
6144
|
+
reset() {
|
|
6145
|
+
this.validation.reset(this);
|
|
6146
|
+
}
|
|
6081
6147
|
|
|
6082
6148
|
/**
|
|
6083
6149
|
* Sets configuration data used elsewhere based on the `type` attribute.
|
|
@@ -6120,30 +6186,28 @@ class BaseInput extends r {
|
|
|
6120
6186
|
*/
|
|
6121
6187
|
getHelpText(type) {
|
|
6122
6188
|
if (type === 'password') {
|
|
6123
|
-
|
|
6189
|
+
return i18n(this.lang, 'password');
|
|
6124
6190
|
} else if (type === 'email') {
|
|
6125
|
-
|
|
6191
|
+
return i18n(this.lang, 'email');
|
|
6126
6192
|
} else if (type === 'credit-card') {
|
|
6127
|
-
|
|
6193
|
+
return i18n(this.lang, 'creditcard');
|
|
6128
6194
|
} else if (type === 'month-day-year') {
|
|
6129
|
-
|
|
6195
|
+
return i18n(this.lang, 'dateMMDDYYYY');
|
|
6130
6196
|
} else if (type === 'month-year') {
|
|
6131
|
-
|
|
6197
|
+
return i18n(this.lang, 'dateMMYY');
|
|
6132
6198
|
} else if (type === 'month-fullyear') {
|
|
6133
|
-
|
|
6199
|
+
return i18n(this.lang, 'dateMMYYYY');
|
|
6134
6200
|
} else if (type === 'year-month-day') {
|
|
6135
|
-
|
|
6201
|
+
return i18n(this.lang, 'dateYYYYMMDD');
|
|
6136
6202
|
} else if (type === 'month') {
|
|
6137
|
-
|
|
6203
|
+
return i18n(this.lang, 'dateMM');
|
|
6138
6204
|
} else if (type === 'year') {
|
|
6139
|
-
|
|
6205
|
+
return i18n(this.lang, 'dateYY');
|
|
6140
6206
|
} else if (type === 'fullYear') {
|
|
6141
|
-
|
|
6142
|
-
} else {
|
|
6143
|
-
this.helpText = '';
|
|
6207
|
+
return i18n(this.lang, 'dateYYYY');
|
|
6144
6208
|
}
|
|
6145
6209
|
|
|
6146
|
-
return
|
|
6210
|
+
return '';
|
|
6147
6211
|
}
|
|
6148
6212
|
|
|
6149
6213
|
/**
|
|
@@ -6431,7 +6495,7 @@ const cacheFetch$1 = (uri, options = {}) => {
|
|
|
6431
6495
|
return _fetchMap$1.get(uri);
|
|
6432
6496
|
};
|
|
6433
6497
|
|
|
6434
|
-
var styleCss$2$1 = i$2`*,*: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}`;
|
|
6498
|
+
var styleCss$2$1 = i$2`*,*: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}`;
|
|
6435
6499
|
|
|
6436
6500
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
6437
6501
|
// See LICENSE in the project root for license information.
|
|
@@ -6698,7 +6762,8 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6698
6762
|
};
|
|
6699
6763
|
|
|
6700
6764
|
const classes = {
|
|
6701
|
-
'label': this.label
|
|
6765
|
+
'label': this.label,
|
|
6766
|
+
'wrapper': true,
|
|
6702
6767
|
};
|
|
6703
6768
|
|
|
6704
6769
|
return x`
|
|
@@ -6722,7 +6787,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
6722
6787
|
}
|
|
6723
6788
|
};
|
|
6724
6789
|
|
|
6725
|
-
var iconVersion$1 = '6.1.
|
|
6790
|
+
var iconVersion$1 = '6.1.2';
|
|
6726
6791
|
|
|
6727
6792
|
var styleCss$1$1 = i$2`*,*: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_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}:host([fluid]) .auro-button,:host([fluid=true]) .auro-button{min-width:auto;width:100%}:host([variant=flat]){display:inline-block;height:var(--ds-size-300, 1.5rem);width:var(--ds-size-300, 1.5rem)}:host([variant=flat]) .auro-button{height:100%;width:100%}::slotted(svg){vertical-align:middle}slot{pointer-events:none}.auro-button{position:relative;padding:0 var(--ds-size-300, 1.5rem);cursor:pointer;border-width:1px;border-style:solid;border-radius:var(--ds-border-radius, 0.375rem);font-family:var(--ds-font-family-default, "AS Circular", Helvetica Neue, Arial, sans-serif);font-size:var(--ds-text-body-size-default, 1rem);font-weight:var(--ds-text-body-default-weight, 500);overflow:hidden;text-overflow:ellipsis;user-select:none;white-space:nowrap;min-height:var(--ds-size-600, 3rem);max-height:var(--ds-size-600, 3rem);display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:var(--ds-size-100, 0.5rem);margin:0;-webkit-touch-callout:none;-webkit-user-select:none}.auro-button:active{transform:scale(0.95)}.auro-button:focus-visible:not([variant=secondary]):not([variant=tertiary]):not([variant=flat]):after{display:block;content:"";height:calc(100% - 2px);width:calc(100% - 2px);position:absolute;top:1px;left:1px;border-radius:4px;border-style:solid;border-width:2px}.auro-button:focus-visible[variant=secondary]:after,.auro-button:focus-visible[variant=tertiary]:after{display:block;content:"";height:100%;width:100%;position:absolute;top:0;left:0;border-radius:var(--ds-border-radius, 0.375rem);border-style:solid;border-width:2px}.auro-button.loading{cursor:not-allowed}.auro-button.loading *:not([auro-loader]){visibility:hidden}@media screen and (min-width: 576px){.auro-button{min-width:8.75rem;width:auto}}.auro-button:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=secondary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button[variant=flat]{height:unset;width:unset;min-height:unset;max-height:unset;min-width:unset;max-width:unset;border:0;border-radius:unset;gap:unset;padding:unset}.auro-button[onDark]:disabled{cursor:not-allowed;transform:unset}.auro-button[onDark][variant=secondary]:disabled{cursor:not-allowed;transform:unset}@media(hover: hover){.auro-button[onDark][variant=tertiary]:active,.auro-button[onDark][variant=tertiary]:hover{box-shadow:none}}.auro-button[onDark][variant=tertiary]:active{box-shadow:none}.auro-button[onDark][variant=tertiary]:disabled{cursor:not-allowed;transform:unset}.auro-button--slim{padding:var(--ds-size-100, 0.5rem) var(--ds-size-200, 1rem);font-size:var(--ds-text-body-size-sm, 0.875rem);min-width:unset;min-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem));max-height:calc(var(--ds-size-500, 2.5rem) - var(--ds-size-50, 0.25rem))}.auro-button--iconOnly{padding:0 var(--ds-size-100, 0.5rem);border-radius:100px;min-width:unset;height:var(--ds-size-600, 3rem);width:var(--ds-size-500, 2.5rem)}.auro-button--iconOnly ::slotted(auro-icon),.auro-button--iconOnly ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}.auro-button--iconOnlySlim{padding:0 var(--ds-size-50, 0.25rem);height:calc(var(--ds-size-400, 2rem) + var(--ds-size-50, 0.25rem));width:calc(var(--ds-size-300, 1.5rem) + var(--ds-size-50, 0.25rem))}.auro-button--iconOnlySlim ::slotted(auro-icon),.auro-button--iconOnlySlim ::slotted([auro-icon]){--ds-auro-icon-size: calc(var(--ds-size-200, $ds-size-200) + var(--ds-size-50, $ds-size-50))}.auro-button--rounded{border-radius:100px;box-shadow:var(--ds-elevation-300, 0px 0px 15px rgba(0, 0, 0, 0.2));height:var(--ds-size-500, 2.5rem);min-width:unset;transition:all 300ms ease-out}.auro-button--rounded ::slotted(auro-icon),.auro-button--rounded ::slotted([auro-icon]){--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}:host([rounded]) .textSlot{transition:opacity 300ms ease-in;opacity:1}:host([rounded][iconOnly]) .textSlot{opacity:0}:host([rounded][iconOnly]) .textWrapper{display:none}:host([rounded][iconOnly]) .auro-button{min-width:unset;padding:unset;width:var(--ds-size-600, 3rem)}[auro-loader]{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}`;
|
|
6728
6793
|
|
|
@@ -7074,6 +7139,7 @@ class AuroButton extends r {
|
|
|
7074
7139
|
const classes = {
|
|
7075
7140
|
'util_insetLg--squish': true,
|
|
7076
7141
|
'auro-button': true,
|
|
7142
|
+
'auroButton': true,
|
|
7077
7143
|
'auro-button--rounded': this.rounded,
|
|
7078
7144
|
'auro-button--slim': this.slim,
|
|
7079
7145
|
'auro-button--iconOnly': this.iconOnly,
|
|
@@ -7113,7 +7179,7 @@ class AuroButton extends r {
|
|
|
7113
7179
|
}
|
|
7114
7180
|
}
|
|
7115
7181
|
|
|
7116
|
-
var buttonVersion = '8.2.
|
|
7182
|
+
var buttonVersion = '8.2.2';
|
|
7117
7183
|
|
|
7118
7184
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7119
7185
|
// See LICENSE in the project root for license information.
|
|
@@ -7455,8 +7521,7 @@ class AuroCombobox extends r$6 {
|
|
|
7455
7521
|
reflect: true
|
|
7456
7522
|
},
|
|
7457
7523
|
value: {
|
|
7458
|
-
type: String
|
|
7459
|
-
reflect: true
|
|
7524
|
+
type: String
|
|
7460
7525
|
},
|
|
7461
7526
|
checkmark: {
|
|
7462
7527
|
type: Boolean,
|
|
@@ -7769,7 +7834,7 @@ class AuroCombobox extends r$6 {
|
|
|
7769
7834
|
}
|
|
7770
7835
|
|
|
7771
7836
|
// hide the menu if the value is empty otherwise show if there are available suggestions
|
|
7772
|
-
if (this.input.value.length === 0) {
|
|
7837
|
+
if (this.input.value && this.input.value.length === 0) {
|
|
7773
7838
|
this.hideBib();
|
|
7774
7839
|
this.classList.remove('combobox-filled');
|
|
7775
7840
|
} else if (!this.dropdown.isPopoverVisible && this.availableOptions) {
|
|
@@ -7930,6 +7995,18 @@ class AuroCombobox extends r$6 {
|
|
|
7930
7995
|
this.input.focus();
|
|
7931
7996
|
}
|
|
7932
7997
|
|
|
7998
|
+
/**
|
|
7999
|
+
* Resets component to initial state.
|
|
8000
|
+
* @returns {void}
|
|
8001
|
+
*/
|
|
8002
|
+
reset() {
|
|
8003
|
+
// Resets the help text of the combobox
|
|
8004
|
+
this.auroInputHelpText = undefined;
|
|
8005
|
+
|
|
8006
|
+
this.input.reset();
|
|
8007
|
+
this.validation.reset(this);
|
|
8008
|
+
}
|
|
8009
|
+
|
|
7933
8010
|
updated(changedProperties) {
|
|
7934
8011
|
// After the component is ready, send direct value changes to auro-menu.
|
|
7935
8012
|
if (changedProperties.has('value')) {
|
|
@@ -8057,13 +8134,9 @@ var tokensCss$1 = i$c`:host{--ds-auro-menu-divider-color: var(--ds-color-border-
|
|
|
8057
8134
|
* @attr {String} value - Value selected for the menu.
|
|
8058
8135
|
* @prop {Boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
|
|
8059
8136
|
* @event auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
|
|
8060
|
-
* @event selectedOption - (DEPRECATED) Notifies that a new menuoption selection has been made.
|
|
8061
8137
|
* @event auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
|
|
8062
|
-
* @event auroMenuActivatedOption - (DEPRECATED) Notifies that a menuoption has been made `active`.
|
|
8063
8138
|
* @event auroMenu-selectValueFailure - Notifies that a an attempt to select a menuoption by matching a value has failed.
|
|
8064
|
-
* @event auroMenuSelectValueFailure - (DEPRECATED) Notifies that a an attempt to select a menuoption by matching a value has failed.
|
|
8065
8139
|
* @event auroMenu-customEventFired - Notifies that a custom event has been fired.
|
|
8066
|
-
* @event auroMenuCustomEventFired - (DEPRECATED) Notifies that a custom event has been fired.
|
|
8067
8140
|
* @event auroMenu-selectValueReset - Notifies that the component value has been reset.
|
|
8068
8141
|
* @event auroMenu-loadingChange - Notifies when the loading attribute is changed.
|
|
8069
8142
|
* @slot loadingText - Text to show while loading attribute is set
|
|
@@ -8272,13 +8345,6 @@ class AuroMenu extends r$6 {
|
|
|
8272
8345
|
* @return {void}
|
|
8273
8346
|
*/
|
|
8274
8347
|
notifySelectionChange() {
|
|
8275
|
-
// this event needs to be removed after select and combobox are updated to use the new standard name
|
|
8276
|
-
this.dispatchEvent(new CustomEvent('selectedOption', {
|
|
8277
|
-
bubbles: true,
|
|
8278
|
-
cancelable: false,
|
|
8279
|
-
composed: true,
|
|
8280
|
-
}));
|
|
8281
|
-
|
|
8282
8348
|
this.dispatchEvent(new CustomEvent('auroMenu-selectedOption', {
|
|
8283
8349
|
bubbles: true,
|
|
8284
8350
|
cancelable: false,
|
|
@@ -8310,13 +8376,6 @@ class AuroMenu extends r$6 {
|
|
|
8310
8376
|
composed: true,
|
|
8311
8377
|
}));
|
|
8312
8378
|
|
|
8313
|
-
// this event needs to be removed after select and combobox are updated to use the new standard name
|
|
8314
|
-
this.dispatchEvent(new CustomEvent('auroMenuCustomEventFired', {
|
|
8315
|
-
bubbles: true,
|
|
8316
|
-
cancelable: false,
|
|
8317
|
-
composed: true,
|
|
8318
|
-
}));
|
|
8319
|
-
|
|
8320
8379
|
this.dispatchEvent(new CustomEvent('auroMenu-customEventFired', {
|
|
8321
8380
|
bubbles: true,
|
|
8322
8381
|
cancelable: false,
|
|
@@ -8477,13 +8536,6 @@ class AuroMenu extends r$6 {
|
|
|
8477
8536
|
// reset the menu to no selection
|
|
8478
8537
|
this.index = undefined;
|
|
8479
8538
|
|
|
8480
|
-
// this event needs to be removed after select and combobox are updated to use the new standard name
|
|
8481
|
-
this.dispatchEvent(new CustomEvent('auroMenuSelectValueFailure', {
|
|
8482
|
-
bubbles: true,
|
|
8483
|
-
cancelable: false,
|
|
8484
|
-
composed: true,
|
|
8485
|
-
}));
|
|
8486
|
-
|
|
8487
8539
|
this.dispatchEvent(new CustomEvent('auroMenu-selectValueFailure', {
|
|
8488
8540
|
bubbles: true,
|
|
8489
8541
|
cancelable: false,
|
|
@@ -8515,13 +8567,6 @@ class AuroMenu extends r$6 {
|
|
|
8515
8567
|
this.items[index].classList.add('active');
|
|
8516
8568
|
this.optionActive = this.items[index];
|
|
8517
8569
|
|
|
8518
|
-
this.dispatchEvent(new CustomEvent('auroMenuActivatedOption', {
|
|
8519
|
-
bubbles: true,
|
|
8520
|
-
cancelable: false,
|
|
8521
|
-
composed: true,
|
|
8522
|
-
detail: this.items[index]
|
|
8523
|
-
}));
|
|
8524
|
-
|
|
8525
8570
|
this.dispatchEvent(new CustomEvent('auroMenu-activatedOption', {
|
|
8526
8571
|
bubbles: true,
|
|
8527
8572
|
cancelable: false,
|
|
@@ -8692,7 +8737,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
8692
8737
|
return _fetchMap.get(uri);
|
|
8693
8738
|
};
|
|
8694
8739
|
|
|
8695
|
-
var styleCss = i$c`*,*: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}`;
|
|
8740
|
+
var styleCss = i$c`*,*: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}`;
|
|
8696
8741
|
|
|
8697
8742
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
8698
8743
|
// See LICENSE in the project root for license information.
|
|
@@ -8959,7 +9004,8 @@ class AuroIcon extends BaseIcon {
|
|
|
8959
9004
|
};
|
|
8960
9005
|
|
|
8961
9006
|
const classes = {
|
|
8962
|
-
'label': this.label
|
|
9007
|
+
'label': this.label,
|
|
9008
|
+
'wrapper': true,
|
|
8963
9009
|
};
|
|
8964
9010
|
|
|
8965
9011
|
return x$2`
|
|
@@ -8983,7 +9029,7 @@ class AuroIcon extends BaseIcon {
|
|
|
8983
9029
|
}
|
|
8984
9030
|
}
|
|
8985
9031
|
|
|
8986
|
-
var iconVersion = '6.1.
|
|
9032
|
+
var iconVersion = '6.1.2';
|
|
8987
9033
|
|
|
8988
9034
|
var checkmarkIcon = {"role":"img","color":"currentColor","title":"","desc":"a small check mark.","width":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","height":"var(--auro-size-lg, var(--ds-size-300, 1.5rem))","xmlns":"http://www.w3.org/2000/svg","xmlns_xlink":"http://www.w3.org/1999/xlink","viewBox":"0 0 24 24","path":"/icons","style":"ico_squareLarge","type":"icon","name":"checkmark-sm","category":"interface","svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
|
|
8989
9035
|
|
|
@@ -9041,8 +9087,7 @@ class AuroMenuOption extends r$6 {
|
|
|
9041
9087
|
reflect: true
|
|
9042
9088
|
},
|
|
9043
9089
|
value: {
|
|
9044
|
-
type: String
|
|
9045
|
-
reflect: true
|
|
9090
|
+
type: String
|
|
9046
9091
|
},
|
|
9047
9092
|
tabIndex: {
|
|
9048
9093
|
type: Number,
|
|
@@ -9136,6 +9181,7 @@ function initExamples(initCount) {
|
|
|
9136
9181
|
valueExample();
|
|
9137
9182
|
focusExample();
|
|
9138
9183
|
inDialogExample();
|
|
9184
|
+
resetStateExample();
|
|
9139
9185
|
auroMenuLoadingExample();
|
|
9140
9186
|
} catch (err) {
|
|
9141
9187
|
if (initCount <= 20) {
|