@aurodesignsystem/auro-formkit 2.0.0-beta.42 → 2.0.0-beta.43
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/CHANGELOG.md +18 -0
- package/NOTICE +2 -0
- package/README.md +116 -48
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -1
- package/components/bibtemplate/dist/headerVersion.d.ts +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +0 -1
- package/components/bibtemplate/dist/index.d.ts +0 -1
- package/components/bibtemplate/dist/index.js +8 -10
- package/components/bibtemplate/dist/registered.js +790 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts +0 -1
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +0 -1
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +38 -229
- package/components/checkbox/demo/index.html +49 -0
- package/components/checkbox/demo/index.min.js +38 -229
- package/components/checkbox/dist/auro-checkbox-group.d.ts +0 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +0 -1
- package/components/checkbox/dist/index.d.ts +0 -1
- package/components/checkbox/dist/index.js +38 -232
- package/components/checkbox/dist/registered.js +1032 -0
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts +0 -1
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.js +1 -1
- package/components/combobox/demo/api.min.js +409 -2166
- package/components/combobox/demo/index.html +57 -0
- package/components/combobox/demo/index.js +1 -1
- package/components/combobox/demo/index.min.js +409 -2166
- package/components/combobox/dist/auro-combobox.d.ts +0 -1
- package/components/combobox/dist/bibtemplateVersion.d.ts +0 -1
- package/components/combobox/dist/dropdownVersion.d.ts +0 -1
- package/components/combobox/dist/index.d.ts +0 -1
- package/components/combobox/dist/index.js +452 -2211
- package/components/combobox/dist/inputVersion.d.ts +0 -1
- package/components/combobox/dist/registered.js +9716 -0
- package/components/combobox/dist/styles/style-css.d.ts +0 -1
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.js +1 -1
- package/components/counter/demo/api.min.js +128 -321
- package/components/counter/demo/index.html +53 -0
- package/components/counter/demo/index.min.js +128 -321
- package/components/counter/dist/auro-counter-button.d.ts +0 -1
- package/components/counter/dist/auro-counter-group.d.ts +0 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +0 -1
- package/components/counter/dist/auro-counter.d.ts +0 -1
- package/components/counter/dist/dropdownVersion.d.ts +0 -1
- package/components/counter/dist/iconVersion.d.ts +0 -1
- package/components/counter/dist/index.d.ts +0 -1
- package/components/counter/dist/index.js +128 -324
- package/components/counter/dist/registered.js +5158 -0
- package/components/counter/dist/styles/color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +0 -1
- package/components/counter/dist/styles/counter-wrapper-css.d.ts +0 -1
- package/components/counter/dist/styles/style-css.d.ts +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts +0 -1
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.js +1 -1
- package/components/datepicker/demo/api.min.js +338 -728
- package/components/datepicker/demo/index.html +57 -0
- package/components/datepicker/demo/index.min.js +338 -728
- package/components/datepicker/dist/auro-calendar-cell.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts +0 -1
- package/components/datepicker/dist/auro-calendar.d.ts +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +0 -1
- package/components/datepicker/dist/dropdownVersion.d.ts +0 -1
- package/components/datepicker/dist/index.d.ts +0 -1
- package/components/datepicker/dist/index.js +338 -730
- package/components/datepicker/dist/inputVersion.d.ts +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts +0 -1
- package/components/datepicker/dist/registered.js +18935 -0
- package/components/datepicker/dist/styles/color-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts +0 -1
- package/components/datepicker/dist/utilities.d.ts +0 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts +0 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts +0 -1
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.js +1 -1
- package/components/dropdown/demo/api.min.js +76 -267
- package/components/dropdown/demo/index.html +53 -0
- package/components/dropdown/demo/index.min.js +76 -267
- package/components/dropdown/dist/auro-dropdown.d.ts +0 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +0 -1
- package/components/dropdown/dist/dropdownVersion.d.ts +0 -1
- package/components/dropdown/dist/iconVersion.d.ts +0 -1
- package/components/dropdown/dist/index.d.ts +0 -1
- package/components/dropdown/dist/index.js +76 -269
- package/components/dropdown/dist/registered.js +3167 -0
- package/components/dropdown/dist/styles/bibColors-css.d.ts +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts +0 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/api.js +1 -1
- package/components/form/demo/api.min.js +42 -5
- package/components/form/demo/index.html +48 -0
- package/components/form/demo/index.min.js +42 -5
- package/components/form/dist/auro-form.d.ts +16 -2
- package/components/form/dist/index.d.ts +0 -1
- package/components/form/dist/index.js +42 -7
- package/components/form/dist/registered.d.ts +1 -0
- package/components/form/dist/registered.js +632 -0
- package/components/form/dist/styles/style-css.d.ts +0 -1
- package/components/helptext/dist/auro-helptext.d.ts +0 -1
- package/components/helptext/dist/index.d.ts +0 -1
- package/components/helptext/dist/index.js +4 -6
- package/components/helptext/dist/registered.js +222 -0
- package/components/helptext/dist/styles/color-css.d.ts +0 -1
- package/components/helptext/dist/styles/style-css.d.ts +0 -1
- package/components/helptext/dist/styles/tokens-css.d.ts +0 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +57 -248
- package/components/input/demo/index.html +41 -0
- package/components/input/demo/index.min.js +57 -248
- package/components/input/dist/auro-input.d.ts +0 -1
- package/components/input/dist/base-input.d.ts +0 -1
- package/components/input/dist/buttonVersion.d.ts +0 -1
- package/components/input/dist/i18n.d.ts +0 -1
- package/components/input/dist/iconVersion.d.ts +0 -1
- package/components/input/dist/index.d.ts +0 -1
- package/components/input/dist/index.js +57 -250
- package/components/input/dist/registered.js +4254 -0
- package/components/input/dist/styles/borders-css.d.ts +0 -1
- package/components/input/dist/styles/color-css.d.ts +0 -1
- package/components/input/dist/styles/input-css.d.ts +0 -1
- package/components/input/dist/styles/label-css.d.ts +0 -1
- package/components/input/dist/styles/mixins-css.d.ts +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts +0 -1
- package/components/input/dist/styles/style-css.d.ts +0 -1
- package/components/input/dist/styles/tokens-css.d.ts +0 -1
- package/components/menu/README.md +1 -1
- package/components/menu/demo/api.js +1 -1
- package/components/menu/demo/api.min.js +9 -9
- package/components/menu/demo/index.html +50 -0
- package/components/menu/demo/index.min.js +9 -9
- package/components/menu/dist/auro-menu-utils.d.ts +0 -1
- package/components/menu/dist/auro-menu.d.ts +0 -1
- package/components/menu/dist/auro-menuoption.d.ts +0 -1
- package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → menu/dist/dropdownVersion.d.ts} +0 -1
- package/components/menu/dist/iconVersion.d.ts +0 -1
- package/components/menu/dist/index.d.ts +0 -1
- package/components/menu/dist/index.js +9 -12
- package/components/menu/dist/registered.js +1510 -0
- package/components/menu/dist/styles/color-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts +0 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +34 -225
- package/components/radio/demo/index.html +48 -0
- package/components/radio/demo/index.min.js +34 -225
- package/components/radio/dist/auro-radio-group.d.ts +0 -1
- package/components/radio/dist/auro-radio.d.ts +0 -1
- package/components/radio/dist/index.d.ts +0 -1
- package/components/radio/dist/index.js +34 -228
- package/components/radio/dist/registered.js +1149 -0
- package/components/radio/dist/styles/auro-radio-group-css.d.ts +0 -1
- package/components/radio/dist/styles/color-css.d.ts +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts +0 -1
- package/components/radio/dist/styles/style-css.d.ts +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts +0 -1
- package/components/select/README.md +3 -3
- package/components/select/demo/api.js +1 -1
- package/components/select/demo/api.min.js +234 -1796
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.min.js +234 -1796
- package/components/select/dist/auro-select.d.ts +0 -1
- package/components/select/dist/dropdownVersion.d.ts +0 -1
- package/components/select/dist/index.d.ts +0 -1
- package/components/select/dist/index.js +206 -1770
- package/components/select/dist/registered.js +4367 -0
- package/components/select/dist/styles/color-css.d.ts +0 -1
- package/components/select/dist/styles/style-css.d.ts +0 -1
- package/components/select/dist/styles/tokens-css.d.ts +0 -1
- package/package.json +113 -9
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -3
- package/.turbo/cache/04e52430125e8954-meta.json +0 -1
- package/.turbo/cache/04e52430125e8954.tar.zst +0 -0
- package/.turbo/cache/0593ea8b5b3ed321-meta.json +0 -1
- package/.turbo/cache/0593ea8b5b3ed321.tar.zst +0 -0
- package/.turbo/cache/068b8eef3688b4e2-meta.json +0 -1
- package/.turbo/cache/068b8eef3688b4e2.tar.zst +0 -0
- package/.turbo/cache/06c6468593bc10ab-meta.json +0 -1
- package/.turbo/cache/06c6468593bc10ab.tar.zst +0 -0
- package/.turbo/cache/0c48a4d7b5aac928-meta.json +0 -1
- package/.turbo/cache/0c48a4d7b5aac928.tar.zst +0 -0
- package/.turbo/cache/1959dd19c8cca5b3-meta.json +0 -1
- package/.turbo/cache/1959dd19c8cca5b3.tar.zst +0 -0
- package/.turbo/cache/1c16e59f30927b15-meta.json +0 -1
- package/.turbo/cache/1c16e59f30927b15.tar.zst +0 -0
- package/.turbo/cache/29ac8c4304c43ba8-meta.json +0 -1
- package/.turbo/cache/29ac8c4304c43ba8.tar.zst +0 -0
- package/.turbo/cache/2b46337c7a6faa1f-meta.json +0 -1
- package/.turbo/cache/2b46337c7a6faa1f.tar.zst +0 -0
- package/.turbo/cache/33b12bddab905466-meta.json +0 -1
- package/.turbo/cache/33b12bddab905466.tar.zst +0 -0
- package/.turbo/cache/3e068f9ea52e35fd-meta.json +0 -1
- package/.turbo/cache/3e068f9ea52e35fd.tar.zst +0 -0
- package/.turbo/cache/3f6725da0ddcb57a-meta.json +0 -1
- package/.turbo/cache/3f6725da0ddcb57a.tar.zst +0 -0
- package/.turbo/cache/3fa3b39e63c49920-meta.json +0 -1
- package/.turbo/cache/3fa3b39e63c49920.tar.zst +0 -0
- package/.turbo/cache/3fbb4335136fe72b-meta.json +0 -1
- package/.turbo/cache/3fbb4335136fe72b.tar.zst +0 -0
- package/.turbo/cache/4d32cb975704a7bc-meta.json +0 -1
- package/.turbo/cache/4d32cb975704a7bc.tar.zst +0 -0
- package/.turbo/cache/504dc5478398bc23-meta.json +0 -1
- package/.turbo/cache/504dc5478398bc23.tar.zst +0 -0
- package/.turbo/cache/5736b4ba6916fd8d-meta.json +0 -1
- package/.turbo/cache/5736b4ba6916fd8d.tar.zst +0 -0
- package/.turbo/cache/5aae6a716a40ac0d-meta.json +0 -1
- package/.turbo/cache/5aae6a716a40ac0d.tar.zst +0 -0
- package/.turbo/cache/618b3075ce2d9a61-meta.json +0 -1
- package/.turbo/cache/618b3075ce2d9a61.tar.zst +0 -0
- package/.turbo/cache/67c13dfc4fd939fc-meta.json +0 -1
- package/.turbo/cache/67c13dfc4fd939fc.tar.zst +0 -0
- package/.turbo/cache/68fe65245fb34e68-meta.json +0 -1
- package/.turbo/cache/68fe65245fb34e68.tar.zst +0 -0
- package/.turbo/cache/6a25a3c0fc92f44d-meta.json +0 -1
- package/.turbo/cache/6a25a3c0fc92f44d.tar.zst +0 -0
- package/.turbo/cache/6cd6d76ac166da16-meta.json +0 -1
- package/.turbo/cache/6cd6d76ac166da16.tar.zst +0 -0
- package/.turbo/cache/71cd21072abc2990-meta.json +0 -1
- package/.turbo/cache/71cd21072abc2990.tar.zst +0 -0
- package/.turbo/cache/7b4e0f3ba43fedf0-meta.json +0 -1
- package/.turbo/cache/7b4e0f3ba43fedf0.tar.zst +0 -0
- package/.turbo/cache/7b9897d3439462f4-meta.json +0 -1
- package/.turbo/cache/7b9897d3439462f4.tar.zst +0 -0
- package/.turbo/cache/80a42a1ee43a7b11-meta.json +0 -1
- package/.turbo/cache/80a42a1ee43a7b11.tar.zst +0 -0
- package/.turbo/cache/80bda930b819e4e5-meta.json +0 -1
- package/.turbo/cache/80bda930b819e4e5.tar.zst +0 -0
- package/.turbo/cache/826ecc96865e3b2b-meta.json +0 -1
- package/.turbo/cache/826ecc96865e3b2b.tar.zst +0 -0
- package/.turbo/cache/8a66291a4385f56d-meta.json +0 -1
- package/.turbo/cache/8a66291a4385f56d.tar.zst +0 -0
- package/.turbo/cache/8b33dd53ac78ffcb-meta.json +0 -1
- package/.turbo/cache/8b33dd53ac78ffcb.tar.zst +0 -0
- package/.turbo/cache/922ac9eb482cf470-meta.json +0 -1
- package/.turbo/cache/922ac9eb482cf470.tar.zst +0 -0
- package/.turbo/cache/939cf3ccc40e9ab0-meta.json +0 -1
- package/.turbo/cache/939cf3ccc40e9ab0.tar.zst +0 -0
- package/.turbo/cache/997795fcad6346cf-meta.json +0 -1
- package/.turbo/cache/997795fcad6346cf.tar.zst +0 -0
- package/.turbo/cache/9d39077f59442e6d-meta.json +0 -1
- package/.turbo/cache/9d39077f59442e6d.tar.zst +0 -0
- package/.turbo/cache/9f33c2699df2acc2-meta.json +0 -1
- package/.turbo/cache/9f33c2699df2acc2.tar.zst +0 -0
- package/.turbo/cache/a95cdb7b2836627c-meta.json +0 -1
- package/.turbo/cache/a95cdb7b2836627c.tar.zst +0 -0
- package/.turbo/cache/aa7a71eea03e0057-meta.json +0 -1
- package/.turbo/cache/aa7a71eea03e0057.tar.zst +0 -0
- package/.turbo/cache/ac01a85fedf6d42a-meta.json +0 -1
- package/.turbo/cache/ac01a85fedf6d42a.tar.zst +0 -0
- package/.turbo/cache/b0b5371ee9e6fd7b-meta.json +0 -1
- package/.turbo/cache/b0b5371ee9e6fd7b.tar.zst +0 -0
- package/.turbo/cache/b21472a210e5d253-meta.json +0 -1
- package/.turbo/cache/b21472a210e5d253.tar.zst +0 -0
- package/.turbo/cache/ba6844de212fdfc5-meta.json +0 -1
- package/.turbo/cache/ba6844de212fdfc5.tar.zst +0 -0
- package/.turbo/cache/bb95b8c7cc483fe7-meta.json +0 -1
- package/.turbo/cache/bb95b8c7cc483fe7.tar.zst +0 -0
- package/.turbo/cache/be89ec729b2d7aa1-meta.json +0 -1
- package/.turbo/cache/be89ec729b2d7aa1.tar.zst +0 -0
- package/.turbo/cache/c0c0f7ab71b548fe-meta.json +0 -1
- package/.turbo/cache/c0c0f7ab71b548fe.tar.zst +0 -0
- package/.turbo/cache/c4b442aa3a612c5a-meta.json +0 -1
- package/.turbo/cache/c4b442aa3a612c5a.tar.zst +0 -0
- package/.turbo/cache/c833fd369811f0b3-meta.json +0 -1
- package/.turbo/cache/c833fd369811f0b3.tar.zst +0 -0
- package/.turbo/cache/cc1bb0ba75999fd5-meta.json +0 -1
- package/.turbo/cache/cc1bb0ba75999fd5.tar.zst +0 -0
- package/.turbo/cache/cc999fcae80b9892-meta.json +0 -1
- package/.turbo/cache/cc999fcae80b9892.tar.zst +0 -0
- package/.turbo/cache/cf739f73c4d81043-meta.json +0 -1
- package/.turbo/cache/cf739f73c4d81043.tar.zst +0 -0
- package/.turbo/cache/cf87272227a0d544-meta.json +0 -1
- package/.turbo/cache/cf87272227a0d544.tar.zst +0 -0
- package/.turbo/cache/d09e82feba2c48a3-meta.json +0 -1
- package/.turbo/cache/d09e82feba2c48a3.tar.zst +0 -0
- package/.turbo/cache/d264bb58130e3915-meta.json +0 -1
- package/.turbo/cache/d264bb58130e3915.tar.zst +0 -0
- package/.turbo/cache/d4fda50b9aa326d9-meta.json +0 -1
- package/.turbo/cache/d4fda50b9aa326d9.tar.zst +0 -0
- package/.turbo/cache/da0461631780f1e1-meta.json +0 -1
- package/.turbo/cache/da0461631780f1e1.tar.zst +0 -0
- package/.turbo/cache/dbdfe30495790f74-meta.json +0 -1
- package/.turbo/cache/dbdfe30495790f74.tar.zst +0 -0
- package/.turbo/cache/dea41fd4a13eb241-meta.json +0 -1
- package/.turbo/cache/dea41fd4a13eb241.tar.zst +0 -0
- package/.turbo/cache/e229b033acee0336-meta.json +0 -1
- package/.turbo/cache/e229b033acee0336.tar.zst +0 -0
- package/.turbo/cache/ed401f9a734e292c-meta.json +0 -1
- package/.turbo/cache/ed401f9a734e292c.tar.zst +0 -0
- package/.turbo/cache/efafac21cf262b2c-meta.json +0 -1
- package/.turbo/cache/efafac21cf262b2c.tar.zst +0 -0
- package/.turbo/cache/f20df212682f7978-meta.json +0 -1
- package/.turbo/cache/f20df212682f7978.tar.zst +0 -0
- package/.turbo/cache/f272ad05432871ac-meta.json +0 -1
- package/.turbo/cache/f272ad05432871ac.tar.zst +0 -0
- package/.vscode/settings.json +0 -3
- package/components/bibtemplate/.stylelintrc.json +0 -3
- package/components/bibtemplate/.turbo/turbo-build$colon$sass.log +0 -24
- package/components/bibtemplate/.turbo/turbo-build$colon$version.log +0 -10
- package/components/bibtemplate/.turbo/turbo-build.log +0 -49
- package/components/bibtemplate/.turbo/turbo-bundler.log +0 -7
- package/components/bibtemplate/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/bibtemplate/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/bibtemplate/.turbo/turbo-types.log +0 -4
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts.map +0 -1
- package/components/bibtemplate/dist/headerVersion.d.ts.map +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts.map +0 -1
- package/components/bibtemplate/dist/index.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/color-css.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/style-css.d.ts.map +0 -1
- package/components/bibtemplate/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/bibtemplate/node_modules/chalk/package.json +0 -83
- package/components/bibtemplate/node_modules/chalk/readme.md +0 -297
- package/components/bibtemplate/node_modules/chalk/source/index.d.ts +0 -325
- package/components/bibtemplate/node_modules/chalk/source/index.js +0 -225
- package/components/bibtemplate/node_modules/chalk/source/utilities.js +0 -33
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/bibtemplate/package.json +0 -60
- package/components/bibtemplate/src/auro-bibtemplate.js +0 -137
- package/components/bibtemplate/src/headerVersion.js +0 -1
- package/components/bibtemplate/src/iconVersion.js +0 -1
- package/components/bibtemplate/src/index.js +0 -6
- package/components/bibtemplate/src/styles/color-css.js +0 -2
- package/components/bibtemplate/src/styles/color.css +0 -1
- package/components/bibtemplate/src/styles/color.scss +0 -0
- package/components/bibtemplate/src/styles/style-css.js +0 -2
- package/components/bibtemplate/src/styles/style.css +0 -58
- package/components/bibtemplate/src/styles/style.scss +0 -62
- package/components/bibtemplate/src/styles/tokens-css.js +0 -2
- package/components/bibtemplate/src/styles/tokens.css +0 -3
- package/components/bibtemplate/src/styles/tokens.scss +0 -5
- package/components/checkbox/.stylelintrc.json +0 -3
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +0 -98
- package/components/checkbox/.turbo/turbo-build.log +0 -184
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +0 -1
- package/components/checkbox/dist/auro-checkbox.d.ts.map +0 -1
- package/components/checkbox/dist/index.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/auro-checkbox-group-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/color-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/colorGroup-css.d.ts.map +0 -1
- package/components/checkbox/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/checkbox/node_modules/chalk/package.json +0 -83
- package/components/checkbox/node_modules/chalk/readme.md +0 -325
- package/components/checkbox/node_modules/chalk/source/index.d.ts +0 -320
- package/components/checkbox/node_modules/chalk/source/index.js +0 -225
- package/components/checkbox/node_modules/chalk/source/utilities.js +0 -33
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/checkbox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/checkbox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/checkbox/package.json +0 -69
- package/components/checkbox/src/auro-checkbox-group.js +0 -370
- package/components/checkbox/src/auro-checkbox.js +0 -214
- package/components/checkbox/src/index.js +0 -8
- package/components/checkbox/src/styles/auro-checkbox-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group-css.js +0 -2
- package/components/checkbox/src/styles/auro-checkbox-group.css +0 -26
- package/components/checkbox/src/styles/auro-checkbox-group.scss +0 -38
- package/components/checkbox/src/styles/auro-checkbox.css +0 -123
- package/components/checkbox/src/styles/auro-checkbox.scss +0 -100
- package/components/checkbox/src/styles/color-css.js +0 -2
- package/components/checkbox/src/styles/color.css +0 -84
- package/components/checkbox/src/styles/color.scss +0 -118
- package/components/checkbox/src/styles/colorGroup-css.js +0 -2
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -16
- package/components/checkbox/src/styles/tokens-css.js +0 -2
- package/components/checkbox/src/styles/tokens.css +0 -8
- package/components/checkbox/src/styles/tokens.scss +0 -10
- package/components/combobox/.stylelintrc.json +0 -3
- package/components/combobox/.turbo/turbo-build$colon$sass.log +0 -46
- package/components/combobox/.turbo/turbo-build.log +0 -167
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/combobox/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/combobox/dist/auro-combobox.d.ts.map +0 -1
- package/components/combobox/dist/bibtemplateVersion.d.ts.map +0 -1
- package/components/combobox/dist/dropdownVersion.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts +0 -3
- package/components/combobox/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/combobox/dist/index.d.ts.map +0 -1
- package/components/combobox/dist/inputVersion.d.ts.map +0 -1
- package/components/combobox/dist/styles/style-css.d.ts.map +0 -1
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +0 -1
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +0 -863
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +0 -109
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +0 -86
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +0 -45
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +0 -38
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +0 -38
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +0 -110
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +0 -106
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +0 -8
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +0 -813
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +0 -134
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +0 -39
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +0 -30
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +0 -46
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +0 -155
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +0 -25
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +0 -267
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +0 -36
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +0 -50
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +0 -395
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +0 -255
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +0 -663
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +0 -31
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +0 -22
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +0 -19
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +0 -18
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +0 -32
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +0 -26
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +0 -59
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +0 -54
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +0 -37
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +0 -5
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +0 -18
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +0 -123
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +0 -16
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +0 -42
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +0 -142
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +0 -151
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +0 -188
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +0 -75
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +0 -176
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +0 -249
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +0 -49
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +0 -20
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +0 -26
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +0 -29
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +0 -76
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +0 -86
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +0 -9
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +0 -75
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +0 -96
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +0 -20
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +0 -13
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +0 -293
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +0 -1377
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +0 -1370
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +0 -1
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +0 -89
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +0 -115
- package/components/combobox/node_modules/chalk/package.json +0 -83
- package/components/combobox/node_modules/chalk/readme.md +0 -297
- package/components/combobox/node_modules/chalk/source/index.d.ts +0 -325
- package/components/combobox/node_modules/chalk/source/index.js +0 -225
- package/components/combobox/node_modules/chalk/source/utilities.js +0 -33
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/combobox/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/combobox/package.json +0 -67
- package/components/combobox/src/auro-combobox.js +0 -925
- package/components/combobox/src/bibtemplateVersion.js +0 -1
- package/components/combobox/src/dropdownVersion.js +0 -1
- package/components/combobox/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/combobox/src/formkit/auro-inputVersion.js +0 -1
- package/components/combobox/src/index.js +0 -6
- package/components/combobox/src/inputVersion.js +0 -1
- package/components/combobox/src/styles/style-css.js +0 -2
- package/components/combobox/src/styles/style.css +0 -56
- package/components/combobox/src/styles/style.scss +0 -38
- package/components/counter/.stylelintrc.json +0 -3
- package/components/counter/.turbo/turbo-build$colon$sass.log +0 -269
- package/components/counter/.turbo/turbo-build$colon$version.log +0 -10
- package/components/counter/.turbo/turbo-build.log +0 -402
- package/components/counter/.turbo/turbo-bundler.log +0 -22
- package/components/counter/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/counter/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/counter/.turbo/turbo-types.log +0 -4
- package/components/counter/dist/auro-counter-button.d.ts.map +0 -1
- package/components/counter/dist/auro-counter-group.d.ts.map +0 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +0 -1
- package/components/counter/dist/auro-counter.d.ts.map +0 -1
- package/components/counter/dist/dropdownVersion.d.ts.map +0 -1
- package/components/counter/dist/iconVersion.d.ts.map +0 -1
- package/components/counter/dist/index.d.ts.map +0 -1
- package/components/counter/dist/styles/color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-button-tokens-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-group-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +0 -1
- package/components/counter/dist/styles/style-css.d.ts.map +0 -1
- package/components/counter/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/counter/node_modules/chalk/package.json +0 -83
- package/components/counter/node_modules/chalk/readme.md +0 -325
- package/components/counter/node_modules/chalk/source/index.d.ts +0 -320
- package/components/counter/node_modules/chalk/source/index.js +0 -225
- package/components/counter/node_modules/chalk/source/utilities.js +0 -33
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/counter/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/counter/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/counter/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/counter/package.json +0 -59
- package/components/counter/src/auro-counter-button.js +0 -42
- package/components/counter/src/auro-counter-group.js +0 -333
- package/components/counter/src/auro-counter-wrapper.js +0 -54
- package/components/counter/src/auro-counter.js +0 -342
- package/components/counter/src/dropdownVersion.js +0 -1
- package/components/counter/src/iconVersion.js +0 -1
- package/components/counter/src/index.js +0 -8
- package/components/counter/src/styles/color-css.js +0 -2
- package/components/counter/src/styles/color.css +0 -29
- package/components/counter/src/styles/color.scss +0 -49
- package/components/counter/src/styles/counter-button-color-css.js +0 -2
- package/components/counter/src/styles/counter-button-color.css +0 -11
- package/components/counter/src/styles/counter-button-color.scss +0 -23
- package/components/counter/src/styles/counter-button-css.js +0 -2
- package/components/counter/src/styles/counter-button-tokens-css.js +0 -2
- package/components/counter/src/styles/counter-button-tokens.css +0 -6
- package/components/counter/src/styles/counter-button-tokens.scss +0 -8
- package/components/counter/src/styles/counter-button.css +0 -186
- package/components/counter/src/styles/counter-button.scss +0 -84
- package/components/counter/src/styles/counter-group-css.js +0 -2
- package/components/counter/src/styles/counter-group.css +0 -18
- package/components/counter/src/styles/counter-group.scss +0 -32
- package/components/counter/src/styles/counter-wrapper-color-css.js +0 -2
- package/components/counter/src/styles/counter-wrapper-color.css +0 -4
- package/components/counter/src/styles/counter-wrapper-color.scss +0 -19
- package/components/counter/src/styles/counter-wrapper-css.js +0 -2
- package/components/counter/src/styles/counter-wrapper.css +0 -15
- package/components/counter/src/styles/counter-wrapper.scss +0 -29
- package/components/counter/src/styles/style-css.js +0 -2
- package/components/counter/src/styles/style.css +0 -53
- package/components/counter/src/styles/style.scss +0 -73
- package/components/counter/src/styles/tokens-css.js +0 -2
- package/components/counter/src/styles/tokens.css +0 -12
- package/components/counter/src/styles/tokens.scss +0 -25
- package/components/datepicker/.stylelintrc.json +0 -3
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +0 -352
- package/components/datepicker/.turbo/turbo-build.log +0 -492
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +0 -58
- package/components/datepicker/dist/auro-calendar-cell.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar-month.d.ts.map +0 -1
- package/components/datepicker/dist/auro-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/auro-datepicker.d.ts.map +0 -1
- package/components/datepicker/dist/dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts +0 -3
- package/components/datepicker/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts +0 -3
- package/components/datepicker/dist/formkit/auro-inputVersion.d.ts.map +0 -1
- package/components/datepicker/dist/index.d.ts.map +0 -1
- package/components/datepicker/dist/inputVersion.d.ts.map +0 -1
- package/components/datepicker/dist/popoverVersion.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/color-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-cell-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-auro-calendar-month-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/style-css.d.ts.map +0 -1
- package/components/datepicker/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/datepicker/dist/utilities.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendar.d.ts.map +0 -1
- package/components/datepicker/dist/utilitiesCalendarRender.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/day.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-calendar.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker-cell.d.ts.map +0 -1
- package/components/datepicker/dist/vendor/wc-range-datepicker/range-datepicker.d.ts.map +0 -1
- package/components/datepicker/node_modules/chalk/package.json +0 -83
- package/components/datepicker/node_modules/chalk/readme.md +0 -325
- package/components/datepicker/node_modules/chalk/source/index.d.ts +0 -320
- package/components/datepicker/node_modules/chalk/source/index.js +0 -225
- package/components/datepicker/node_modules/chalk/source/utilities.js +0 -33
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/datepicker/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/datepicker/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/datepicker/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/datepicker/node_modules/rollup-plugin-serve/README.md +0 -137
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/datepicker/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/datepicker/node_modules/rollup-plugin-serve/index.d.ts +0 -75
- package/components/datepicker/node_modules/rollup-plugin-serve/package.json +0 -51
- package/components/datepicker/package.json +0 -79
- package/components/datepicker/src/auro-calendar-cell.js +0 -381
- package/components/datepicker/src/auro-calendar-month.js +0 -128
- package/components/datepicker/src/auro-calendar.js +0 -329
- package/components/datepicker/src/auro-datepicker.js +0 -1040
- package/components/datepicker/src/dropdownVersion.js +0 -1
- package/components/datepicker/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/datepicker/src/formkit/auro-inputVersion.js +0 -1
- package/components/datepicker/src/index.js +0 -6
- package/components/datepicker/src/inputVersion.js +0 -1
- package/components/datepicker/src/popoverVersion.js +0 -1
- package/components/datepicker/src/styles/color-calendar-css.js +0 -2
- package/components/datepicker/src/styles/color-calendar.css +0 -35
- package/components/datepicker/src/styles/color-calendar.scss +0 -51
- package/components/datepicker/src/styles/color-cell-css.js +0 -2
- package/components/datepicker/src/styles/color-cell.css +0 -45
- package/components/datepicker/src/styles/color-cell.scss +0 -73
- package/components/datepicker/src/styles/color-css.js +0 -2
- package/components/datepicker/src/styles/color-month-css.js +0 -2
- package/components/datepicker/src/styles/color-month.css +0 -34
- package/components/datepicker/src/styles/color-month.scss +0 -27
- package/components/datepicker/src/styles/color.css +0 -43
- package/components/datepicker/src/styles/color.scss +0 -30
- package/components/datepicker/src/styles/style-auro-calendar-cell-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-cell.css +0 -123
- package/components/datepicker/src/styles/style-auro-calendar-cell.scss +0 -147
- package/components/datepicker/src/styles/style-auro-calendar-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month-css.js +0 -2
- package/components/datepicker/src/styles/style-auro-calendar-month.css +0 -121
- package/components/datepicker/src/styles/style-auro-calendar-month.scss +0 -141
- package/components/datepicker/src/styles/style-auro-calendar.css +0 -152
- package/components/datepicker/src/styles/style-auro-calendar.scss +0 -191
- package/components/datepicker/src/styles/style-css.js +0 -2
- package/components/datepicker/src/styles/style.css +0 -131
- package/components/datepicker/src/styles/style.scss +0 -139
- package/components/datepicker/src/styles/tokens-css.js +0 -2
- package/components/datepicker/src/styles/tokens.css +0 -22
- package/components/datepicker/src/styles/tokens.scss +0 -25
- package/components/datepicker/src/utilities.js +0 -87
- package/components/datepicker/src/utilitiesCalendar.js +0 -138
- package/components/datepicker/src/utilitiesCalendarRender.js +0 -156
- package/components/datepicker/src/vendor/wc-range-datepicker/day.js +0 -8
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-calendar.js +0 -521
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker-cell.js +0 -211
- package/components/datepicker/src/vendor/wc-range-datepicker/range-datepicker.js +0 -254
- package/components/dropdown/.stylelintrc.json +0 -3
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +0 -75
- package/components/dropdown/.turbo/turbo-build.log +0 -208
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/dropdown/dist/auro-dropdown.d.ts.map +0 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +0 -1
- package/components/dropdown/dist/dropdownVersion.d.ts.map +0 -1
- package/components/dropdown/dist/iconVersion.d.ts.map +0 -1
- package/components/dropdown/dist/index.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibColors-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/bibStyles-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/color-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/style-css.d.ts.map +0 -1
- package/components/dropdown/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/dropdown/node_modules/chalk/package.json +0 -83
- package/components/dropdown/node_modules/chalk/readme.md +0 -325
- package/components/dropdown/node_modules/chalk/source/index.d.ts +0 -320
- package/components/dropdown/node_modules/chalk/source/index.js +0 -225
- package/components/dropdown/node_modules/chalk/source/utilities.js +0 -33
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/dropdown/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/dropdown/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/dropdown/package.json +0 -58
- package/components/dropdown/src/auro-dropdown.js +0 -586
- package/components/dropdown/src/auro-dropdownBib.js +0 -128
- package/components/dropdown/src/dropdownVersion.js +0 -1
- package/components/dropdown/src/iconVersion.js +0 -1
- package/components/dropdown/src/index.js +0 -6
- package/components/dropdown/src/styles/bibColors-css.js +0 -2
- package/components/dropdown/src/styles/bibColors.css +0 -6
- package/components/dropdown/src/styles/bibColors.scss +0 -18
- package/components/dropdown/src/styles/bibStyles-css.js +0 -2
- package/components/dropdown/src/styles/bibStyles.css +0 -44
- package/components/dropdown/src/styles/bibStyles.scss +0 -61
- package/components/dropdown/src/styles/color-css.js +0 -2
- package/components/dropdown/src/styles/color.css +0 -56
- package/components/dropdown/src/styles/color.scss +0 -76
- package/components/dropdown/src/styles/style-css.js +0 -2
- package/components/dropdown/src/styles/style.css +0 -91
- package/components/dropdown/src/styles/style.scss +0 -122
- package/components/dropdown/src/styles/tokens-css.js +0 -2
- package/components/dropdown/src/styles/tokens.css +0 -13
- package/components/dropdown/src/styles/tokens.scss +0 -15
- package/components/form/.stylelintrc.json +0 -3
- package/components/form/.turbo/turbo-build$colon$sass.log +0 -57
- package/components/form/.turbo/turbo-build$colon$version.log +0 -4
- package/components/form/.turbo/turbo-build.log +0 -112
- package/components/form/.turbo/turbo-bundler.log +0 -13
- package/components/form/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/form/.turbo/turbo-sass$colon$render.log +0 -10
- package/components/form/.turbo/turbo-types.log +0 -4
- package/components/form/dist/auro-form.d.ts.map +0 -1
- package/components/form/dist/index.d.ts.map +0 -1
- package/components/form/dist/styles/style-css.d.ts.map +0 -1
- package/components/form/node_modules/chalk/package.json +0 -83
- package/components/form/node_modules/chalk/readme.md +0 -325
- package/components/form/node_modules/chalk/source/index.d.ts +0 -320
- package/components/form/node_modules/chalk/source/index.js +0 -225
- package/components/form/node_modules/chalk/source/utilities.js +0 -33
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/form/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/form/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/form/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/form/package.json +0 -74
- package/components/form/src/auro-form.js +0 -506
- package/components/form/src/index.js +0 -6
- package/components/form/src/styles/style-css.js +0 -2
- package/components/form/src/styles/style.css +0 -36
- package/components/form/src/styles/style.scss +0 -37
- package/components/helptext/.stylelintrc.json +0 -3
- package/components/helptext/.turbo/turbo-build$colon$sass.log +0 -34
- package/components/helptext/.turbo/turbo-build.log +0 -49
- package/components/helptext/.turbo/turbo-bundler.log +0 -7
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/helptext/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/helptext/.turbo/turbo-types.log +0 -4
- package/components/helptext/dist/auro-helptext.d.ts.map +0 -1
- package/components/helptext/dist/index.d.ts.map +0 -1
- package/components/helptext/dist/styles/color-css.d.ts.map +0 -1
- package/components/helptext/dist/styles/style-css.d.ts.map +0 -1
- package/components/helptext/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/helptext/node_modules/chalk/package.json +0 -83
- package/components/helptext/node_modules/chalk/readme.md +0 -297
- package/components/helptext/node_modules/chalk/source/index.d.ts +0 -325
- package/components/helptext/node_modules/chalk/source/index.js +0 -225
- package/components/helptext/node_modules/chalk/source/utilities.js +0 -33
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/helptext/package.json +0 -57
- package/components/helptext/src/auro-helptext.js +0 -127
- package/components/helptext/src/index.js +0 -6
- package/components/helptext/src/styles/color-css.js +0 -2
- package/components/helptext/src/styles/color.css +0 -8
- package/components/helptext/src/styles/color.scss +0 -11
- package/components/helptext/src/styles/style-css.js +0 -2
- package/components/helptext/src/styles/style.css +0 -23
- package/components/helptext/src/styles/style.scss +0 -33
- package/components/helptext/src/styles/tokens-css.js +0 -2
- package/components/helptext/src/styles/tokens.css +0 -3
- package/components/helptext/src/styles/tokens.scss +0 -5
- package/components/input/.stylelintrc.json +0 -3
- package/components/input/.turbo/turbo-build$colon$sass.log +0 -188
- package/components/input/.turbo/turbo-build.log +0 -340
- package/components/input/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -52
- package/components/input/dist/auro-input.d.ts.map +0 -1
- package/components/input/dist/base-input.d.ts.map +0 -1
- package/components/input/dist/buttonVersion.d.ts.map +0 -1
- package/components/input/dist/i18n.d.ts.map +0 -1
- package/components/input/dist/iconVersion.d.ts.map +0 -1
- package/components/input/dist/index.d.ts.map +0 -1
- package/components/input/dist/styles/borders-css.d.ts.map +0 -1
- package/components/input/dist/styles/color-css.d.ts.map +0 -1
- package/components/input/dist/styles/input-css.d.ts.map +0 -1
- package/components/input/dist/styles/label-css.d.ts.map +0 -1
- package/components/input/dist/styles/mixins-css.d.ts.map +0 -1
- package/components/input/dist/styles/notificationIcons-css.d.ts.map +0 -1
- package/components/input/dist/styles/style-css.d.ts.map +0 -1
- package/components/input/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/input/node_modules/chalk/package.json +0 -83
- package/components/input/node_modules/chalk/readme.md +0 -325
- package/components/input/node_modules/chalk/source/index.d.ts +0 -320
- package/components/input/node_modules/chalk/source/index.js +0 -225
- package/components/input/node_modules/chalk/source/utilities.js +0 -33
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/input/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/input/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/input/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/input/package.json +0 -76
- package/components/input/src/auro-input.js +0 -249
- package/components/input/src/base-input.js +0 -1103
- package/components/input/src/buttonVersion.js +0 -1
- package/components/input/src/i18n.js +0 -102
- package/components/input/src/iconVersion.js +0 -1
- package/components/input/src/index.js +0 -6
- package/components/input/src/styles/@aurodesignsystem/webcorestylesheets/src/breakpoints +0 -0
- package/components/input/src/styles/borders-css.js +0 -2
- package/components/input/src/styles/borders.css +0 -35
- package/components/input/src/styles/borders.scss +0 -49
- package/components/input/src/styles/color-css.js +0 -2
- package/components/input/src/styles/color.css +0 -57
- package/components/input/src/styles/color.scss +0 -84
- package/components/input/src/styles/input-css.js +0 -2
- package/components/input/src/styles/input.css +0 -35
- package/components/input/src/styles/input.scss +0 -53
- package/components/input/src/styles/label-css.js +0 -2
- package/components/input/src/styles/label.css +0 -45
- package/components/input/src/styles/label.scss +0 -71
- package/components/input/src/styles/mixins-css.js +0 -2
- package/components/input/src/styles/mixins.css +0 -1
- package/components/input/src/styles/mixins.scss +0 -45
- package/components/input/src/styles/notificationIcons-css.js +0 -2
- package/components/input/src/styles/notificationIcons.css +0 -84
- package/components/input/src/styles/notificationIcons.scss +0 -109
- package/components/input/src/styles/style-css.js +0 -2
- package/components/input/src/styles/style.css +0 -283
- package/components/input/src/styles/style.scss +0 -52
- package/components/input/src/styles/tokens-css.js +0 -2
- package/components/input/src/styles/tokens.css +0 -8
- package/components/input/src/styles/tokens.scss +0 -10
- package/components/menu/.stylelintrc.json +0 -3
- package/components/menu/.turbo/turbo-build$colon$sass.log +0 -86
- package/components/menu/.turbo/turbo-build$colon$version.log +0 -7
- package/components/menu/.turbo/turbo-build.log +0 -185
- package/components/menu/.turbo/turbo-bundler.log +0 -13
- package/components/menu/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/menu/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/menu/.turbo/turbo-types.log +0 -4
- package/components/menu/dist/auro-menu-utils.d.ts.map +0 -1
- package/components/menu/dist/auro-menu.d.ts.map +0 -1
- package/components/menu/dist/auro-menuoption.d.ts.map +0 -1
- package/components/menu/dist/iconVersion.d.ts.map +0 -1
- package/components/menu/dist/index.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/color-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menu-css.d.ts.map +0 -1
- package/components/menu/dist/styles/style-menuoption-css.d.ts.map +0 -1
- package/components/menu/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/menu/node_modules/chalk/package.json +0 -83
- package/components/menu/node_modules/chalk/readme.md +0 -325
- package/components/menu/node_modules/chalk/source/index.d.ts +0 -320
- package/components/menu/node_modules/chalk/source/index.js +0 -225
- package/components/menu/node_modules/chalk/source/utilities.js +0 -33
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/menu/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/menu/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/menu/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/menu/node_modules/mime/CHANGELOG.md +0 -296
- package/components/menu/node_modules/mime/Mime.js +0 -97
- package/components/menu/node_modules/mime/README.md +0 -187
- package/components/menu/node_modules/mime/cli.js +0 -46
- package/components/menu/node_modules/mime/index.js +0 -4
- package/components/menu/node_modules/mime/lite.js +0 -4
- package/components/menu/node_modules/mime/package.json +0 -52
- package/components/menu/node_modules/mime/types/other.js +0 -1
- package/components/menu/node_modules/mime/types/standard.js +0 -1
- package/components/menu/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/menu/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/menu/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/menu/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/menu/package.json +0 -70
- package/components/menu/src/auro-menu-utils.js +0 -131
- package/components/menu/src/auro-menu.js +0 -728
- package/components/menu/src/auro-menuoption.js +0 -147
- package/components/menu/src/iconVersion.js +0 -1
- package/components/menu/src/index.js +0 -15
- package/components/menu/src/styles/color-menu-css.js +0 -2
- package/components/menu/src/styles/color-menu.css +0 -4
- package/components/menu/src/styles/color-menu.scss +0 -12
- package/components/menu/src/styles/color-menuoption-css.js +0 -2
- package/components/menu/src/styles/color-menuoption.css +0 -26
- package/components/menu/src/styles/color-menuoption.scss +0 -37
- package/components/menu/src/styles/style-menu-css.js +0 -2
- package/components/menu/src/styles/style-menu.css +0 -2061
- package/components/menu/src/styles/style-menu.scss +0 -80
- package/components/menu/src/styles/style-menuoption-css.js +0 -2
- package/components/menu/src/styles/style-menuoption.css +0 -45
- package/components/menu/src/styles/style-menuoption.scss +0 -66
- package/components/menu/src/styles/tokens-css.js +0 -2
- package/components/menu/src/styles/tokens.css +0 -6
- package/components/menu/src/styles/tokens.scss +0 -6
- package/components/radio/.stylelintrc.json +0 -3
- package/components/radio/.turbo/turbo-build$colon$sass.log +0 -130
- package/components/radio/.turbo/turbo-build.log +0 -215
- package/components/radio/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/radio/.turbo/turbo-sass$colon$render.log +0 -34
- package/components/radio/dist/auro-radio-group.d.ts.map +0 -1
- package/components/radio/dist/auro-radio.d.ts.map +0 -1
- package/components/radio/dist/index.d.ts.map +0 -1
- package/components/radio/dist/styles/auro-radio-group-css.d.ts.map +0 -1
- package/components/radio/dist/styles/color-css.d.ts.map +0 -1
- package/components/radio/dist/styles/groupColor-css.d.ts.map +0 -1
- package/components/radio/dist/styles/style-css.d.ts.map +0 -1
- package/components/radio/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/radio/node_modules/chalk/package.json +0 -83
- package/components/radio/node_modules/chalk/readme.md +0 -325
- package/components/radio/node_modules/chalk/source/index.d.ts +0 -320
- package/components/radio/node_modules/chalk/source/index.js +0 -225
- package/components/radio/node_modules/chalk/source/utilities.js +0 -33
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/radio/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/radio/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/radio/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/radio/package.json +0 -69
- package/components/radio/src/auro-radio-group.js +0 -451
- package/components/radio/src/auro-radio.js +0 -256
- package/components/radio/src/index.js +0 -8
- package/components/radio/src/styles/auro-radio-group-css.js +0 -2
- package/components/radio/src/styles/auro-radio-group.css +0 -23
- package/components/radio/src/styles/auro-radio-group.scss +0 -36
- package/components/radio/src/styles/color-css.js +0 -2
- package/components/radio/src/styles/color.css +0 -45
- package/components/radio/src/styles/color.scss +0 -56
- package/components/radio/src/styles/groupColor-css.js +0 -2
- package/components/radio/src/styles/groupColor.css +0 -13
- package/components/radio/src/styles/groupColor.scss +0 -25
- package/components/radio/src/styles/style-css.js +0 -2
- package/components/radio/src/styles/style.css +0 -113
- package/components/radio/src/styles/style.scss +0 -99
- package/components/radio/src/styles/tokens-css.js +0 -2
- package/components/radio/src/styles/tokens.css +0 -8
- package/components/radio/src/styles/tokens.scss +0 -11
- package/components/select/.stylelintrc.json +0 -3
- package/components/select/.turbo/turbo-build$colon$sass.log +0 -122
- package/components/select/.turbo/turbo-build.log +0 -242
- package/components/select/.turbo/turbo-postCss$colon$component.log +0 -4
- package/components/select/.turbo/turbo-sass$colon$render.log +0 -22
- package/components/select/dist/auro-select.d.ts.map +0 -1
- package/components/select/dist/dropdownVersion.d.ts.map +0 -1
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts +0 -3
- package/components/select/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/select/dist/index.d.ts.map +0 -1
- package/components/select/dist/styles/color-css.d.ts.map +0 -1
- package/components/select/dist/styles/style-css.d.ts.map +0 -1
- package/components/select/dist/styles/tokens-css.d.ts.map +0 -1
- package/components/select/node_modules/chalk/package.json +0 -83
- package/components/select/node_modules/chalk/readme.md +0 -325
- package/components/select/node_modules/chalk/source/index.d.ts +0 -320
- package/components/select/node_modules/chalk/source/index.js +0 -225
- package/components/select/node_modules/chalk/source/utilities.js +0 -33
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/components/select/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/components/select/node_modules/chalk/source/vendor/supports-color/browser.js +0 -30
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/components/select/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/components/select/node_modules/mime/CHANGELOG.md +0 -296
- package/components/select/node_modules/mime/Mime.js +0 -97
- package/components/select/node_modules/mime/README.md +0 -187
- package/components/select/node_modules/mime/cli.js +0 -46
- package/components/select/node_modules/mime/index.js +0 -4
- package/components/select/node_modules/mime/lite.js +0 -4
- package/components/select/node_modules/mime/package.json +0 -52
- package/components/select/node_modules/mime/types/other.js +0 -1
- package/components/select/node_modules/mime/types/standard.js +0 -1
- package/components/select/node_modules/rollup-plugin-serve/LICENSE.md +0 -21
- package/components/select/node_modules/rollup-plugin-serve/README.md +0 -135
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs +0 -181
- package/components/select/node_modules/rollup-plugin-serve/dist/index.cjs.js +0 -197
- package/components/select/node_modules/rollup-plugin-serve/dist/index.es.js +0 -193
- package/components/select/node_modules/rollup-plugin-serve/dist/index.mjs +0 -173
- package/components/select/node_modules/rollup-plugin-serve/package.json +0 -44
- package/components/select/package.json +0 -70
- package/components/select/packageScripts/postinstall.mjs +0 -28
- package/components/select/src/auro-select.js +0 -604
- package/components/select/src/dropdownVersion.js +0 -1
- package/components/select/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/select/src/index.js +0 -6
- package/components/select/src/styles/color-css.js +0 -2
- package/components/select/src/styles/color.css +0 -63
- package/components/select/src/styles/color.scss +0 -33
- package/components/select/src/styles/style-css.js +0 -2
- package/components/select/src/styles/style.css +0 -105
- package/components/select/src/styles/style.scss +0 -83
- package/components/select/src/styles/tokens-css.js +0 -2
- package/components/select/src/styles/tokens.css +0 -3
- package/components/select/src/styles/tokens.scss +0 -5
- package/packages/build-tools/package.json +0 -15
- package/packages/build-tools/src/docProcessor.mjs +0 -133
- package/packages/build-tools/src/formVersionWriter.mjs +0 -75
- package/packages/build-tools/src/index.js +0 -1
- package/packages/build-tools/src/kitDocProcessor.mjs +0 -66
- package/packages/form-validation/package.json +0 -12
- package/packages/form-validation/src/index.js +0 -1
- package/packages/form-validation/src/validation.js +0 -318
- package/packages/typescript/base.json +0 -19
- package/packages/typescript/package.json +0 -20
- package/packages/utils/package.json +0 -12
- package/packages/utils/src/iconUtil.js +0 -25
- package/packages/utils/src/index.js +0 -1
- package/turbo.json +0 -134
|
@@ -3,46 +3,46 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$
|
|
6
|
+
const t$7=globalThis,e$c=t$7.ShadowRoot&&(void 0===t$7.ShadyCSS||t$7.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$7=Symbol(),o$b=new WeakMap;let n$a = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$7)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$c&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$b.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$b.set(s,t));}return t}toString(){return this.cssText}};const r$c=t=>new n$a("string"==typeof t?t:t+"",void 0,s$7),i$f=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$a(o,t,s$7)},S$6=(s,o)=>{if(e$c)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$7.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$9=e$c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$c(e)})(t):t;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
-
*/const{is:i$
|
|
12
|
+
*/const{is:i$e,defineProperty:e$b,getOwnPropertyDescriptor:r$b,getOwnPropertyNames:h$6,getOwnPropertySymbols:o$a,getPrototypeOf:n$9}=Object,a$7=globalThis,c$8=a$7.trustedTypes,l$7=c$8?c$8.emptyScript:"",p$6=a$7.reactiveElementPolyfillSupport,d$6=(t,s)=>t,u$7={toAttribute(t,s){switch(s){case Boolean:t=t?l$7:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$6=(t,s)=>!i$e(t,s),y$4={attribute:true,type:String,converter:u$7,reflect:false,hasChanged:f$6};Symbol.metadata??=Symbol("metadata"),a$7.litPropertyMetadata??=new WeakMap;let b$3 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$4){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$b(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$b(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$4}static _$Ei(){if(this.hasOwnProperty(d$6("elementProperties")))return;const t=n$9(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$6("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$6("properties"))){const t=this.properties,s=[...h$6(t),...o$a(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$9(s));}else void 0!==s&&i.push(c$9(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$6(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$7).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$7;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$6)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$3.elementStyles=[],b$3.shadowRootOptions={mode:"open"},b$3[d$6("elementProperties")]=new Map,b$3[d$6("finalized")]=new Map,p$6?.({ReactiveElement:b$3}),(a$7.reactiveElementVersions??=[]).push("2.0.4");
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const t$
|
|
19
|
+
const t$6=globalThis,i$d=t$6.trustedTypes,s$6=i$d?i$d.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$a="$lit$",h$5=`lit$${Math.random().toFixed(9).slice(2)}$`,o$9="?"+h$5,n$8=`<${o$9}>`,r$a=document,l$6=()=>r$a.createComment(""),c$7=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$6=Array.isArray,u$6=t=>a$6(t)||"function"==typeof t?.[Symbol.iterator],d$5="[ \t\n\f\r]",f$5=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$3=/-->/g,_$3=/>/g,m$3=RegExp(`>|${d$5}(?:([^\\s"'>=/]+)(${d$5}*=${d$5}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$5=/'/g,g$3=/"/g,$$3=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$3=Symbol.for("lit-noChange"),E$3=Symbol.for("lit-nothing"),A$3=new WeakMap,C$3=r$a.createTreeWalker(r$a,129);function P$3(t,i){if(!a$6(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$6?s$6.createHTML(i):i}const V$3=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$5;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$5?"!--"===u[1]?c=v$3:void 0!==u[1]?c=_$3:void 0!==u[2]?($$3.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$3):void 0!==u[3]&&(c=m$3):c===m$3?">"===u[0]?(c=r??f$5,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$3:'"'===u[3]?g$3:p$5):c===g$3||c===p$5?c=m$3:c===v$3||c===_$3?c=f$5:(c=m$3,r=void 0);const x=c===m$3&&t[i+1].startsWith("/>")?" ":"";l+=c===f$5?s+n$8:d>=0?(o.push(a),s.slice(0,d)+e$a+s.slice(d)+h$5+x):s+h$5+(-2===d?i:x);}return [P$3(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$3 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$3(t,s);if(this.el=N.createElement(f,n),C$3.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$3.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$a)){const i=v[a++],s=r.getAttribute(t).split(h$5),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$3:"?"===e[1]?I$3:"@"===e[1]?L$3:k$3}),r.removeAttribute(t);}else t.startsWith(h$5)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$3.test(r.tagName)){const t=r.textContent.split(h$5),s=t.length-1;if(s>0){r.textContent=i$d?i$d.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$6()),C$3.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$6());}}}else if(8===r.nodeType)if(r.data===o$9)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$5,t+1));)d.push({type:7,index:c}),t+=h$5.length-1;}c++;}}static createElement(t,i){const s=r$a.createElement("template");return s.innerHTML=t,s}};function S$5(t,i,s=t,e){if(i===T$3)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$7(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$5(t,h._$AS(t,i.values),h,e)),i}let M$3 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$a).importNode(i,true);C$3.currentNode=e;let h=C$3.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$3(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$3(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$3.nextNode(),o++);}return C$3.currentNode=r$a,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$3 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$3,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$5(this,t,i),c$7(t)?t===E$3||null==t||""===t?(this._$AH!==E$3&&this._$AR(),this._$AH=E$3):t!==this._$AH&&t!==T$3&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$6(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$3&&c$7(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$a.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$3.createElement(P$3(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$3(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$3.get(t.strings);return void 0===i&&A$3.set(t.strings,i=new N$3(t)),i}k(t){a$6(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$6()),this.O(l$6()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$3 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$3,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$3;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$5(this,t,i,0),o=!c$7(t)||t!==this._$AH&&t!==T$3,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$5(this,e[s+n],i,n),r===T$3&&(r=this._$AH[n]),o||=!c$7(r)||r!==this._$AH[n],r===E$3?t=E$3:t!==E$3&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$3?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$3 = class H extends k$3{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$3?void 0:t;}};let I$3 = class I extends k$3{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$3);}};let L$3 = class L extends k$3{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$5(this,t,i,0)??E$3)===T$3)return;const s=this._$AH,e=t===E$3&&s!==E$3||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$3&&(s===E$3||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$3 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$5(this,t);}};const j$3=t$6.litHtmlPolyfillSupport;j$3?.(N$3,R$3),(t$6.litHtmlVersions??=[]).push("3.2.1");const B$3=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$3(i.insertBefore(l$6(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/let r$9 = class r extends b$3{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
25
|
+
*/let r$9 = class r extends b$3{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$3(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$3}};r$9._$litElement$=true,r$9["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$9});const i$c=globalThis.litElementPolyfillSupport;i$c?.({LitElement:r$9});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* @license
|
|
29
29
|
* Copyright 2017 Google LLC
|
|
30
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
31
|
*/
|
|
32
|
-
const t$
|
|
32
|
+
const t$5={ATTRIBUTE:1},e$9=t=>(...e)=>({_$litDirective$:t,values:e});let i$b = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2018 Google LLC
|
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
38
|
-
*/const e$
|
|
38
|
+
*/const e$8=e$9(class extends i$b{constructor(t){if(super(t),t.type!==t$5.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$3}});
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* @license
|
|
42
42
|
* Copyright 2020 Google LLC
|
|
43
43
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
44
44
|
*/
|
|
45
|
-
const a$
|
|
45
|
+
const a$5=Symbol.for(""),o$8=t=>{if(t?.r===a$5)return t?._$litStatic$},s$5=t=>({_$litStatic$:t,r:a$5}),i$a=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$5}),l$5=new Map,n$7=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$8(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$5.get(t))&&(n.raw=n,l$5.set(t,r=n)),e=u;}return t(r,...e)},u$5=n$7(x$1);
|
|
46
46
|
|
|
47
47
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
48
48
|
// See LICENSE in the project root for license information.
|
|
@@ -51,7 +51,7 @@ const a$6=Symbol.for(""),o$9=t=>{if(t?.r===a$6)return t?._$litStatic$},s$6=t=>({
|
|
|
51
51
|
|
|
52
52
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
53
53
|
|
|
54
|
-
let AuroLibraryRuntimeUtils$
|
|
54
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
55
55
|
|
|
56
56
|
/* eslint-disable jsdoc/require-param */
|
|
57
57
|
|
|
@@ -120,7 +120,7 @@ let AuroLibraryRuntimeUtils$3 = class AuroLibraryRuntimeUtils {
|
|
|
120
120
|
|
|
121
121
|
class AuroFormValidation {
|
|
122
122
|
constructor() {
|
|
123
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
123
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/**
|
|
@@ -432,7 +432,7 @@ class AuroFormValidation {
|
|
|
432
432
|
// See LICENSE in the project root for license information.
|
|
433
433
|
|
|
434
434
|
|
|
435
|
-
let AuroDependencyVersioning$
|
|
435
|
+
let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
436
436
|
|
|
437
437
|
/**
|
|
438
438
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -458,7 +458,7 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
458
458
|
*/
|
|
459
459
|
generateTag(baseName, version, tagClass) {
|
|
460
460
|
const elementName = this.generateElementName(baseName, version);
|
|
461
|
-
const tag = i$
|
|
461
|
+
const tag = i$a`${s$5(elementName)}`;
|
|
462
462
|
|
|
463
463
|
if (!customElements.get(elementName)) {
|
|
464
464
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -473,33 +473,33 @@ let AuroDependencyVersioning$2 = class AuroDependencyVersioning {
|
|
|
473
473
|
* Copyright 2017 Google LLC
|
|
474
474
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
475
475
|
*/
|
|
476
|
-
const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):
|
|
476
|
+
const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$7=document,l$4=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$2=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$2(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$7.createTreeWalker(r$7,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$4?s$4.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$3,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$3):c===g$1||c===p$3?c=m$1:c===v$1||c===_$1?c=f$3:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$5(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$7,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$5(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$4(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return void 0===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4()),this.O(l$4()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$3(this,t,i,0),o=!c$5(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$5(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const j$1=t$4.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$4(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
479
|
* @license
|
|
480
480
|
* Copyright 2020 Google LLC
|
|
481
481
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
482
482
|
*/
|
|
483
|
-
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(
|
|
483
|
+
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o$6(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$5(x);
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* @license
|
|
487
487
|
* Copyright 2019 Google LLC
|
|
488
488
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
489
489
|
*/
|
|
490
|
-
const t$3=globalThis,e$6=t$3.ShadowRoot&&(
|
|
490
|
+
const t$3=globalThis,e$6=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2$1=Symbol(),o$5=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$6&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$5.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5.set(s,t));}return t}toString(){return this.cssText}};const r$6=t=>new n$4("string"==typeof t?t:t+"",void 0,s$2$1),i$7=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4(o,t,s$2$1)},S$2=(s,o)=>{if(e$6)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$6?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
493
|
* @license
|
|
494
494
|
* Copyright 2017 Google LLC
|
|
495
495
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
496
|
-
*/const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3=a$2$1.trustedTypes,l$2$1=c$3?c$3.emptyScript:"",p$2=a$2$1.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$6(t,s),y
|
|
496
|
+
*/const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4$1,getPrototypeOf:n$3$1}=Object,a$2$1=globalThis,c$3=a$2$1.trustedTypes,l$2$1=c$3?c$3.emptyScript:"",p$2=a$2$1.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$2$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$2$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$6(t,s),y={attribute:true,type:String,converter:u$2$1,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$2$1.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$5(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$3$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$4$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else void 0!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$2?.({ReactiveElement:b$1}),(a$2$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
497
497
|
|
|
498
498
|
/**
|
|
499
499
|
* @license
|
|
500
500
|
* Copyright 2017 Google LLC
|
|
501
501
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
502
|
-
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
502
|
+
*/let r$4 = class r extends b$1{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$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$5$1=globalThis.litElementPolyfillSupport;i$5$1?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
503
503
|
|
|
504
504
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
505
505
|
// See LICENSE in the project root for license information.
|
|
@@ -508,7 +508,7 @@ const t$3=globalThis,e$6=t$3.ShadowRoot&&(undefined===t$3.ShadyCSS||t$3.ShadyCSS
|
|
|
508
508
|
|
|
509
509
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
510
510
|
|
|
511
|
-
|
|
511
|
+
class AuroLibraryRuntimeUtils {
|
|
512
512
|
|
|
513
513
|
/* eslint-disable jsdoc/require-param */
|
|
514
514
|
|
|
@@ -569,7 +569,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
569
569
|
|
|
570
570
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
571
571
|
}
|
|
572
|
-
}
|
|
572
|
+
}
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* Custom positioning reference element.
|
|
@@ -619,7 +619,7 @@ function getAlignmentAxis(placement) {
|
|
|
619
619
|
return getOppositeAxis(getSideAxis(placement));
|
|
620
620
|
}
|
|
621
621
|
function getAlignmentSides(placement, rects, rtl) {
|
|
622
|
-
if (rtl ===
|
|
622
|
+
if (rtl === void 0) {
|
|
623
623
|
rtl = false;
|
|
624
624
|
}
|
|
625
625
|
const alignment = getAlignment(placement);
|
|
@@ -776,7 +776,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
776
776
|
platform
|
|
777
777
|
} = config;
|
|
778
778
|
const validMiddleware = middleware.filter(Boolean);
|
|
779
|
-
const rtl = await (platform.isRTL == null ?
|
|
779
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
780
780
|
let rects = await platform.getElementRects({
|
|
781
781
|
reference,
|
|
782
782
|
floating,
|
|
@@ -862,7 +862,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
862
862
|
*/
|
|
863
863
|
async function detectOverflow(state, options) {
|
|
864
864
|
var _await$platform$isEle;
|
|
865
|
-
if (options ===
|
|
865
|
+
if (options === void 0) {
|
|
866
866
|
options = {};
|
|
867
867
|
}
|
|
868
868
|
const {
|
|
@@ -884,7 +884,7 @@ async function detectOverflow(state, options) {
|
|
|
884
884
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
885
885
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
886
886
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
887
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
887
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
888
888
|
boundary,
|
|
889
889
|
rootBoundary,
|
|
890
890
|
strategy
|
|
@@ -895,8 +895,8 @@ async function detectOverflow(state, options) {
|
|
|
895
895
|
width: rects.floating.width,
|
|
896
896
|
height: rects.floating.height
|
|
897
897
|
} : rects.reference;
|
|
898
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
899
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
898
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
899
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
900
900
|
x: 1,
|
|
901
901
|
y: 1
|
|
902
902
|
} : {
|
|
@@ -933,7 +933,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
933
933
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
934
934
|
*/
|
|
935
935
|
const autoPlacement$1 = function (options) {
|
|
936
|
-
if (options ===
|
|
936
|
+
if (options === void 0) {
|
|
937
937
|
options = {};
|
|
938
938
|
}
|
|
939
939
|
return {
|
|
@@ -957,12 +957,12 @@ const autoPlacement$1 = function (options) {
|
|
|
957
957
|
} = evaluate(options, state);
|
|
958
958
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
959
959
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
960
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
960
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
961
961
|
const currentPlacement = placements$1[currentIndex];
|
|
962
962
|
if (currentPlacement == null) {
|
|
963
963
|
return {};
|
|
964
964
|
}
|
|
965
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
965
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
966
966
|
|
|
967
967
|
// Make `computeCoords` start from the right place.
|
|
968
968
|
if (placement !== currentPlacement) {
|
|
@@ -973,7 +973,7 @@ const autoPlacement$1 = function (options) {
|
|
|
973
973
|
};
|
|
974
974
|
}
|
|
975
975
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
976
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
976
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
977
977
|
placement: currentPlacement,
|
|
978
978
|
overflows: currentOverflows
|
|
979
979
|
}];
|
|
@@ -1003,7 +1003,7 @@ const autoPlacement$1 = function (options) {
|
|
|
1003
1003
|
// Aligned placements should not check their opposite crossAxis
|
|
1004
1004
|
// side.
|
|
1005
1005
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
1006
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
1006
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
1007
1007
|
if (resetPlacement !== placement) {
|
|
1008
1008
|
return {
|
|
1009
1009
|
data: {
|
|
@@ -1027,7 +1027,7 @@ const autoPlacement$1 = function (options) {
|
|
|
1027
1027
|
* @see https://floating-ui.com/docs/flip
|
|
1028
1028
|
*/
|
|
1029
1029
|
const flip$1 = function (options) {
|
|
1030
|
-
if (options ===
|
|
1030
|
+
if (options === void 0) {
|
|
1031
1031
|
options = {};
|
|
1032
1032
|
}
|
|
1033
1033
|
return {
|
|
@@ -1063,7 +1063,7 @@ const flip$1 = function (options) {
|
|
|
1063
1063
|
const side = getSide(placement);
|
|
1064
1064
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
1065
1065
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
1066
|
-
const rtl = await (platform.isRTL == null ?
|
|
1066
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1067
1067
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
1068
1068
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
1069
1069
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -1072,7 +1072,7 @@ const flip$1 = function (options) {
|
|
|
1072
1072
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
1073
1073
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
1074
1074
|
const overflows = [];
|
|
1075
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
1075
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
1076
1076
|
if (checkMainAxis) {
|
|
1077
1077
|
overflows.push(overflow[side]);
|
|
1078
1078
|
}
|
|
@@ -1088,7 +1088,7 @@ const flip$1 = function (options) {
|
|
|
1088
1088
|
// One or more sides is overflowing.
|
|
1089
1089
|
if (!overflows.every(side => side <= 0)) {
|
|
1090
1090
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
1091
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
1091
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
1092
1092
|
const nextPlacement = placements[nextIndex];
|
|
1093
1093
|
if (nextPlacement) {
|
|
1094
1094
|
// Try next placement and re-run the lifecycle.
|
|
@@ -1105,7 +1105,7 @@ const flip$1 = function (options) {
|
|
|
1105
1105
|
|
|
1106
1106
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
1107
1107
|
// then find the placement that fits the best on the main crossAxis side.
|
|
1108
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
1108
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
1109
1109
|
|
|
1110
1110
|
// Otherwise fallback.
|
|
1111
1111
|
if (!resetPlacement) {
|
|
@@ -1122,7 +1122,7 @@ const flip$1 = function (options) {
|
|
|
1122
1122
|
currentSideAxis === 'y';
|
|
1123
1123
|
}
|
|
1124
1124
|
return true;
|
|
1125
|
-
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ?
|
|
1125
|
+
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
1126
1126
|
if (placement) {
|
|
1127
1127
|
resetPlacement = placement;
|
|
1128
1128
|
}
|
|
@@ -1155,7 +1155,7 @@ async function convertValueToCoords(state, options) {
|
|
|
1155
1155
|
platform,
|
|
1156
1156
|
elements
|
|
1157
1157
|
} = state;
|
|
1158
|
-
const rtl = await (platform.isRTL == null ?
|
|
1158
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
1159
1159
|
const side = getSide(placement);
|
|
1160
1160
|
const alignment = getAlignment(placement);
|
|
1161
1161
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -1197,7 +1197,7 @@ async function convertValueToCoords(state, options) {
|
|
|
1197
1197
|
* @see https://floating-ui.com/docs/offset
|
|
1198
1198
|
*/
|
|
1199
1199
|
const offset$1 = function (options) {
|
|
1200
|
-
if (options ===
|
|
1200
|
+
if (options === void 0) {
|
|
1201
1201
|
options = 0;
|
|
1202
1202
|
}
|
|
1203
1203
|
return {
|
|
@@ -1215,7 +1215,7 @@ const offset$1 = function (options) {
|
|
|
1215
1215
|
|
|
1216
1216
|
// If the placement is the same and the arrow caused an alignment offset
|
|
1217
1217
|
// then we don't need to change the positioning coordinates.
|
|
1218
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
1218
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
1219
1219
|
return {};
|
|
1220
1220
|
}
|
|
1221
1221
|
return {
|
|
@@ -1244,11 +1244,11 @@ function getNodeName(node) {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
function getWindow(node) {
|
|
1246
1246
|
var _node$ownerDocument;
|
|
1247
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
1247
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
1248
1248
|
}
|
|
1249
1249
|
function getDocumentElement(node) {
|
|
1250
1250
|
var _ref;
|
|
1251
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
1251
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
1252
1252
|
}
|
|
1253
1253
|
function isNode(value) {
|
|
1254
1254
|
if (!hasWindow()) {
|
|
@@ -1363,14 +1363,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
1365
1365
|
var _node$ownerDocument2;
|
|
1366
|
-
if (list ===
|
|
1366
|
+
if (list === void 0) {
|
|
1367
1367
|
list = [];
|
|
1368
1368
|
}
|
|
1369
|
-
if (traverseIframes ===
|
|
1369
|
+
if (traverseIframes === void 0) {
|
|
1370
1370
|
traverseIframes = true;
|
|
1371
1371
|
}
|
|
1372
1372
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
1373
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
1373
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
1374
1374
|
const win = getWindow(scrollableAncestor);
|
|
1375
1375
|
if (isBody) {
|
|
1376
1376
|
const frameElement = getFrameElement(win);
|
|
@@ -1447,7 +1447,7 @@ function getVisualOffsets(element) {
|
|
|
1447
1447
|
};
|
|
1448
1448
|
}
|
|
1449
1449
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1450
|
-
if (isFixed ===
|
|
1450
|
+
if (isFixed === void 0) {
|
|
1451
1451
|
isFixed = false;
|
|
1452
1452
|
}
|
|
1453
1453
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -1457,10 +1457,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
1459
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1460
|
-
if (includeScale ===
|
|
1460
|
+
if (includeScale === void 0) {
|
|
1461
1461
|
includeScale = false;
|
|
1462
1462
|
}
|
|
1463
|
-
if (isFixedStrategy ===
|
|
1463
|
+
if (isFixedStrategy === void 0) {
|
|
1464
1464
|
isFixedStrategy = false;
|
|
1465
1465
|
}
|
|
1466
1466
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -1520,7 +1520,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
1522
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1523
|
-
if (ignoreScrollbarX ===
|
|
1523
|
+
if (ignoreScrollbarX === void 0) {
|
|
1524
1524
|
ignoreScrollbarX = false;
|
|
1525
1525
|
}
|
|
1526
1526
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -1870,10 +1870,10 @@ function observeMove(element, onMove) {
|
|
|
1870
1870
|
io = null;
|
|
1871
1871
|
}
|
|
1872
1872
|
function refresh(skip, threshold) {
|
|
1873
|
-
if (skip ===
|
|
1873
|
+
if (skip === void 0) {
|
|
1874
1874
|
skip = false;
|
|
1875
1875
|
}
|
|
1876
|
-
if (threshold ===
|
|
1876
|
+
if (threshold === void 0) {
|
|
1877
1877
|
threshold = 1;
|
|
1878
1878
|
}
|
|
1879
1879
|
cleanup();
|
|
@@ -1944,7 +1944,7 @@ function observeMove(element, onMove) {
|
|
|
1944
1944
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
1945
1945
|
*/
|
|
1946
1946
|
function autoUpdate(reference, floating, update, options) {
|
|
1947
|
-
if (options ===
|
|
1947
|
+
if (options === void 0) {
|
|
1948
1948
|
options = {};
|
|
1949
1949
|
}
|
|
1950
1950
|
const {
|
|
@@ -2144,7 +2144,7 @@ class AuroFloatingUI {
|
|
|
2144
2144
|
// Compute the position of the bib
|
|
2145
2145
|
computePosition(this.element.trigger, this.element.bib, {
|
|
2146
2146
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
2147
|
-
middleware: middleware
|
|
2147
|
+
middleware: middleware || []
|
|
2148
2148
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
2149
2149
|
Object.assign(this.element.bib.style, {
|
|
2150
2150
|
left: `${x}px`,
|
|
@@ -2497,7 +2497,7 @@ class AuroFloatingUI {
|
|
|
2497
2497
|
// See LICENSE in the project root for license information.
|
|
2498
2498
|
|
|
2499
2499
|
|
|
2500
|
-
|
|
2500
|
+
class AuroDependencyVersioning {
|
|
2501
2501
|
|
|
2502
2502
|
/**
|
|
2503
2503
|
* Generates a unique string to be used for child auro element naming.
|
|
@@ -2531,20 +2531,20 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
2531
2531
|
|
|
2532
2532
|
return tag;
|
|
2533
2533
|
}
|
|
2534
|
-
}
|
|
2534
|
+
}
|
|
2535
2535
|
|
|
2536
2536
|
/**
|
|
2537
2537
|
* @license
|
|
2538
2538
|
* Copyright 2017 Google LLC
|
|
2539
2539
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2540
2540
|
*/
|
|
2541
|
-
const t$2$1={ATTRIBUTE:1
|
|
2541
|
+
const t$2$1={ATTRIBUTE:1},e$4$1=t=>(...e)=>({_$litDirective$:t,values:e});let i$4$1 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
2542
2542
|
|
|
2543
2543
|
/**
|
|
2544
2544
|
* @license
|
|
2545
2545
|
* Copyright 2018 Google LLC
|
|
2546
2546
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2547
|
-
*/const e$3$1=e$4$1(class extends i$4$1{constructor(t){if(super(t),t.type!==t$2$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(
|
|
2547
|
+
*/const e$3$1=e$4$1(class extends i$4$1{constructor(t){if(super(t),t.type!==t$2$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
|
|
2548
2548
|
|
|
2549
2549
|
/**
|
|
2550
2550
|
* @license
|
|
@@ -2562,7 +2562,7 @@ const t$2$1={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:
|
|
|
2562
2562
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
2563
2563
|
*/
|
|
2564
2564
|
|
|
2565
|
-
|
|
2565
|
+
class AuroElement extends r$4 {
|
|
2566
2566
|
|
|
2567
2567
|
// function to define props used within the scope of this component
|
|
2568
2568
|
static get properties() {
|
|
@@ -2586,13 +2586,13 @@ let AuroElement$1 = class AuroElement extends r$4 {
|
|
|
2586
2586
|
|
|
2587
2587
|
return 'false'
|
|
2588
2588
|
}
|
|
2589
|
-
}
|
|
2589
|
+
}
|
|
2590
2590
|
|
|
2591
|
-
var error
|
|
2591
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" 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=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
2592
2592
|
|
|
2593
2593
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2594
2594
|
|
|
2595
|
-
const _fetchMap
|
|
2595
|
+
const _fetchMap = new Map();
|
|
2596
2596
|
|
|
2597
2597
|
/**
|
|
2598
2598
|
* A callback to parse Response body.
|
|
@@ -2610,15 +2610,15 @@ const _fetchMap$1 = new Map();
|
|
|
2610
2610
|
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
2611
2611
|
* @returns {Promise}
|
|
2612
2612
|
*/
|
|
2613
|
-
const cacheFetch
|
|
2613
|
+
const cacheFetch = (uri, options = {}) => {
|
|
2614
2614
|
const responseParser = options.responseParser || ((response) => response.text());
|
|
2615
|
-
if (!_fetchMap
|
|
2616
|
-
_fetchMap
|
|
2615
|
+
if (!_fetchMap.has(uri)) {
|
|
2616
|
+
_fetchMap.set(uri, fetch(uri).then(responseParser));
|
|
2617
2617
|
}
|
|
2618
|
-
return _fetchMap
|
|
2618
|
+
return _fetchMap.get(uri);
|
|
2619
2619
|
};
|
|
2620
2620
|
|
|
2621
|
-
var styleCss$
|
|
2621
|
+
var styleCss$2 = i$7`*,*: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}`;
|
|
2622
2622
|
|
|
2623
2623
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2624
2624
|
// See LICENSE in the project root for license information.
|
|
@@ -2631,7 +2631,7 @@ var styleCss$3$1 = i$7`*,*:before,*:after{box-sizing:border-box}@media(prefers-r
|
|
|
2631
2631
|
*/
|
|
2632
2632
|
|
|
2633
2633
|
// build the component class
|
|
2634
|
-
|
|
2634
|
+
class BaseIcon extends AuroElement {
|
|
2635
2635
|
constructor() {
|
|
2636
2636
|
super();
|
|
2637
2637
|
this.onDark = false;
|
|
@@ -2658,7 +2658,7 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
2658
2658
|
|
|
2659
2659
|
static get styles() {
|
|
2660
2660
|
return i$7`
|
|
2661
|
-
${styleCss$
|
|
2661
|
+
${styleCss$2}
|
|
2662
2662
|
`;
|
|
2663
2663
|
}
|
|
2664
2664
|
|
|
@@ -2673,9 +2673,9 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
2673
2673
|
let iconHTML = '';
|
|
2674
2674
|
|
|
2675
2675
|
if (category === 'logos') {
|
|
2676
|
-
iconHTML = await cacheFetch
|
|
2676
|
+
iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
|
|
2677
2677
|
} else {
|
|
2678
|
-
iconHTML = await cacheFetch
|
|
2678
|
+
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
2679
2679
|
}
|
|
2680
2680
|
|
|
2681
2681
|
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
@@ -2691,17 +2691,17 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1 {
|
|
|
2691
2691
|
if (svg) {
|
|
2692
2692
|
this.svg = svg;
|
|
2693
2693
|
} else if (!svg) {
|
|
2694
|
-
const penDOM = new DOMParser().parseFromString(error
|
|
2694
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
2695
2695
|
|
|
2696
2696
|
this.svg = penDOM.body.firstChild;
|
|
2697
2697
|
}
|
|
2698
2698
|
}
|
|
2699
2699
|
}
|
|
2700
|
-
}
|
|
2700
|
+
}
|
|
2701
2701
|
|
|
2702
|
-
var tokensCss$
|
|
2702
|
+
var tokensCss$1 = i$7`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
2703
2703
|
|
|
2704
|
-
var colorCss$
|
|
2704
|
+
var colorCss$2 = i$7`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
2705
2705
|
|
|
2706
2706
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2707
2707
|
// See LICENSE in the project root for license information.
|
|
@@ -2734,7 +2734,7 @@ var colorCss$3$1 = i$7`:host{color:var(--ds-auro-icon-color)}:host([customColor]
|
|
|
2734
2734
|
*/
|
|
2735
2735
|
|
|
2736
2736
|
// build the component class
|
|
2737
|
-
|
|
2737
|
+
class AuroIcon extends BaseIcon {
|
|
2738
2738
|
constructor() {
|
|
2739
2739
|
super();
|
|
2740
2740
|
|
|
@@ -2763,7 +2763,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2763
2763
|
this.success = false;
|
|
2764
2764
|
this.tertiary = false;
|
|
2765
2765
|
this.warning = false;
|
|
2766
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
2766
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
2767
2767
|
}
|
|
2768
2768
|
|
|
2769
2769
|
// function to define props used within the scope of this component
|
|
@@ -2845,9 +2845,9 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2845
2845
|
static get styles() {
|
|
2846
2846
|
return [
|
|
2847
2847
|
super.styles,
|
|
2848
|
-
i$7`${tokensCss$
|
|
2849
|
-
i$7`${styleCss$
|
|
2850
|
-
i$7`${colorCss$
|
|
2848
|
+
i$7`${tokensCss$1}`,
|
|
2849
|
+
i$7`${styleCss$2}`,
|
|
2850
|
+
i$7`${colorCss$2}`
|
|
2851
2851
|
];
|
|
2852
2852
|
}
|
|
2853
2853
|
|
|
@@ -2860,7 +2860,7 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2860
2860
|
*
|
|
2861
2861
|
*/
|
|
2862
2862
|
static register(name = "auro-icon") {
|
|
2863
|
-
AuroLibraryRuntimeUtils
|
|
2863
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
2866
|
connectedCallback() {
|
|
@@ -2889,14 +2889,14 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2889
2889
|
'wrapper': true,
|
|
2890
2890
|
};
|
|
2891
2891
|
|
|
2892
|
-
return x
|
|
2892
|
+
return x`
|
|
2893
2893
|
<div
|
|
2894
2894
|
class="${e$3$1(classes)}"
|
|
2895
2895
|
title="${o$3$1(this.title || undefined)}">
|
|
2896
2896
|
<span aria-hidden="${o$3$1(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
2897
|
-
${this.customSvg ? x
|
|
2897
|
+
${this.customSvg ? x`
|
|
2898
2898
|
<slot name="svg"></slot>
|
|
2899
|
-
` : x
|
|
2899
|
+
` : x`
|
|
2900
2900
|
${this.svg}
|
|
2901
2901
|
`
|
|
2902
2902
|
}
|
|
@@ -2908,15 +2908,15 @@ let AuroIcon$1 = class AuroIcon extends BaseIcon$1 {
|
|
|
2908
2908
|
</div>
|
|
2909
2909
|
`;
|
|
2910
2910
|
}
|
|
2911
|
-
}
|
|
2911
|
+
}
|
|
2912
2912
|
|
|
2913
|
-
var iconVersion
|
|
2913
|
+
var iconVersion = '6.1.2';
|
|
2914
2914
|
|
|
2915
|
-
var styleCss$
|
|
2915
|
+
var styleCss$1 = i$7`: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;overscroll-behavior:contain}: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}`;
|
|
2916
2916
|
|
|
2917
|
-
var colorCss$
|
|
2917
|
+
var colorCss$1 = i$7`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
2918
2918
|
|
|
2919
|
-
var tokensCss$
|
|
2919
|
+
var tokensCss$2 = i$7`:host{--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-outline-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)}`;
|
|
2920
2920
|
|
|
2921
2921
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2922
2922
|
// See LICENSE in the project root for license information.
|
|
@@ -2946,14 +2946,14 @@ class AuroDropdownBib extends r$4 {
|
|
|
2946
2946
|
*/
|
|
2947
2947
|
this._mobileBreakpointValue = undefined;
|
|
2948
2948
|
|
|
2949
|
-
AuroLibraryRuntimeUtils
|
|
2949
|
+
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
2952
|
static get styles() {
|
|
2953
2953
|
return [
|
|
2954
|
-
styleCss$
|
|
2955
|
-
colorCss$
|
|
2956
|
-
tokensCss$
|
|
2954
|
+
styleCss$1,
|
|
2955
|
+
colorCss$1,
|
|
2956
|
+
tokensCss$2
|
|
2957
2957
|
];
|
|
2958
2958
|
}
|
|
2959
2959
|
|
|
@@ -3037,232 +3037,41 @@ class AuroDropdownBib extends r$4 {
|
|
|
3037
3037
|
|
|
3038
3038
|
var dropdownVersion$1 = '3.0.0';
|
|
3039
3039
|
|
|
3040
|
-
var styleCss$
|
|
3040
|
+
var styleCss$3 = i$7`: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);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center}.trigger[showBorder]{border-width:1px;border-style:solid;cursor:pointer;outline-style:solid;outline-width:1px}@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)}: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)}`;
|
|
3041
3041
|
|
|
3042
|
-
var colorCss$
|
|
3042
|
+
var colorCss$3 = i$7`.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);outline-color:var(--ds-auro-dropdown-trigger-outline-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8);--ds-auro-dropdown-trigger-outline-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);--ds-auro-dropdown-trigger-outline-color: 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))}: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-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)}`;
|
|
3043
3043
|
|
|
3044
3044
|
/**
|
|
3045
3045
|
* @license
|
|
3046
3046
|
* Copyright 2019 Google LLC
|
|
3047
3047
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3048
3048
|
*/
|
|
3049
|
-
const t$1$1=globalThis,e$2$1=t$1$1.ShadowRoot&&(
|
|
3049
|
+
const t$1$1=globalThis,e$2$1=t$1$1.ShadowRoot&&(void 0===t$1$1.ShadyCSS||t$1$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1$1=Symbol(),o$2$1=new WeakMap;let n$2$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2$1.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2$1.set(s,t));}return t}toString(){return this.cssText}};const r$3$1=t=>new n$2$1("string"==typeof t?t:t+"",void 0,s$1$1),i$3$1=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2$1(o,t,s$1$1)},S$1$1=(s,o)=>{if(e$2$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2$1=e$2$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3$1(e)})(t):t;
|
|
3050
3050
|
|
|
3051
3051
|
/**
|
|
3052
3052
|
* @license
|
|
3053
3053
|
* Copyright 2017 Google LLC
|
|
3054
3054
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3055
|
-
*/const{is:i$2$1,defineProperty:e$1
|
|
3055
|
+
*/const{is:i$2$1,defineProperty:e$1,getOwnPropertyDescriptor:r$2$1,getOwnPropertyNames:h$1$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1$1}=Object,a$1$1=globalThis,c$1$1=a$1$1.trustedTypes,l$1$1=c$1$1?c$1$1.emptyScript:"",p$1$1=a$1$1.reactiveElementPolyfillSupport,d$1$1=(t,s)=>t,u$1$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1$1=(t,s)=>!i$2$1(t,s),y$1$1={attribute:true,type:String,converter:u$1$1,reflect:false,hasChanged:f$1$1};Symbol.metadata??=Symbol("metadata"),a$1$1.litPropertyMetadata??=new WeakMap;let b$2 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1$1}static _$Ei(){if(this.hasOwnProperty(d$1$1("elementProperties")))return;const t=n$1$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1$1("properties"))){const t=this.properties,s=[...h$1$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2$1(s));}else void 0!==s&&i.push(c$2$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$2.elementStyles=[],b$2.shadowRootOptions={mode:"open"},b$2[d$1$1("elementProperties")]=new Map,b$2[d$1$1("finalized")]=new Map,p$1$1?.({ReactiveElement:b$2}),(a$1$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
3056
3056
|
|
|
3057
3057
|
/**
|
|
3058
3058
|
* @license
|
|
3059
3059
|
* Copyright 2017 Google LLC
|
|
3060
3060
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3061
3061
|
*/
|
|
3062
|
-
const t
|
|
3062
|
+
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$4=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$4,n=`<${o}>`,r$1$1=document,l=()=>r$1$1.createComment(""),c$6=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d$4="[ \t\n\f\r]",f$4=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$2=/-->/g,_$2=/>/g,m$2=RegExp(`>|${d$4}(?:([^\\s"'>=/]+)(${d$4}*=${d$4}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$4=/'/g,g$2=/"/g,$$2=/^(?:script|style|textarea|title)$/i,T$2=Symbol.for("lit-noChange"),E$2=Symbol.for("lit-nothing"),A$2=new WeakMap,C$2=r$1$1.createTreeWalker(r$1$1,129);function P$2(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$2=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$4;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$4?"!--"===u[1]?c=v$2:void 0!==u[1]?c=_$2:void 0!==u[2]?($$2.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$2):void 0!==u[3]&&(c=m$2):c===m$2?">"===u[0]?(c=r??f$4,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$2:'"'===u[3]?g$2:p$4):c===g$2||c===p$4?c=m$2:c===v$2||c===_$2?c=f$4:(c=m$2,r=void 0);const x=c===m$2&&t[i+1].startsWith("/>")?" ":"";l+=c===f$4?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$4+x):s+h$4+(-2===d?i:x);}return [P$2(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$2 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$2(t,s);if(this.el=N.createElement(f,n),C$2.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$2.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$4),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$2:"@"===e[1]?L$2:k$2}),r.removeAttribute(t);}else t.startsWith(h$4)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$2.test(r.tagName)){const t=r.textContent.split(h$4),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C$2.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$4,t+1));)d.push({type:7,index:c}),t+=h$4.length-1;}c++;}}static createElement(t,i){const s=r$1$1.createElement("template");return s.innerHTML=t,s}};function S$4(t,i,s=t,e){if(i===T$2)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c$6(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S$4(t,h._$AS(t,i.values),h,e)),i}let M$2 = class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1$1).importNode(i,true);C$2.currentNode=e;let h=C$2.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$2(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$2(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$2.nextNode(),o++);}return C$2.currentNode=r$1$1,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$2 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$2,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$4(this,t,i),c$6(t)?t===E$2||null==t||""===t?(this._$AH!==E$2&&this._$AR(),this._$AH=E$2):t!==this._$AH&&t!==T$2&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$2&&c$6(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$2.createElement(P$2(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$2(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$2.get(t.strings);return void 0===i&&A$2.set(t.strings,i=new N$2(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$2 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$2,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$2;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S$4(this,t,i,0),o=!c$6(t)||t!==this._$AH&&t!==T$2,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$4(this,e[s+n],i,n),r===T$2&&(r=this._$AH[n]),o||=!c$6(r)||r!==this._$AH[n],r===E$2?t=E$2:t!==E$2&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$2 = class H extends k$2{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$2?void 0:t;}};let I$2 = class I extends k$2{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$2);}};let L$2 = class L extends k$2{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$4(this,t,i,0)??E$2)===T$2)return;const s=this._$AH,e=t===E$2&&s!==E$2||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$2&&(s===E$2||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$2 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$4(this,t);}};const j$2=t.litHtmlPolyfillSupport;j$2?.(N$2,R$2),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$2(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
3063
3063
|
|
|
3064
3064
|
/**
|
|
3065
3065
|
* @license
|
|
3066
3066
|
* Copyright 2017 Google LLC
|
|
3067
3067
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3068
|
-
*/let r$8 = class r extends b$2{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
3069
|
-
|
|
3070
|
-
var colorCss$4 = i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3071
|
-
|
|
3072
|
-
var styleCss$4 = i$3$1`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3073
|
-
|
|
3074
|
-
var tokensCss$3 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3075
|
-
|
|
3076
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
3077
|
-
// See LICENSE in the project root for license information.
|
|
3078
|
-
|
|
3079
|
-
// ---------------------------------------------------------------------
|
|
3080
|
-
|
|
3081
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
3082
|
-
|
|
3083
|
-
let AuroLibraryRuntimeUtils$2 = class AuroLibraryRuntimeUtils {
|
|
3084
|
-
|
|
3085
|
-
/* eslint-disable jsdoc/require-param */
|
|
3086
|
-
|
|
3087
|
-
/**
|
|
3088
|
-
* This will register a new custom element with the browser.
|
|
3089
|
-
* @param {String} name - The name of the custom element.
|
|
3090
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
3091
|
-
* @returns {void}
|
|
3092
|
-
*/
|
|
3093
|
-
registerComponent(name, componentClass) {
|
|
3094
|
-
if (!customElements.get(name)) {
|
|
3095
|
-
customElements.define(name, class extends componentClass {});
|
|
3096
|
-
}
|
|
3097
|
-
}
|
|
3098
|
-
|
|
3099
|
-
/**
|
|
3100
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
3101
|
-
* @returns {void}
|
|
3102
|
-
*/
|
|
3103
|
-
closestElement(
|
|
3104
|
-
selector, // selector like in .closest()
|
|
3105
|
-
base = this, // extra functionality to skip a parent
|
|
3106
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
3107
|
-
!el || el === document || el === window
|
|
3108
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
3109
|
-
: found
|
|
3110
|
-
? found // found a selector INside this element
|
|
3111
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
3112
|
-
) {
|
|
3113
|
-
return __Closest(base);
|
|
3114
|
-
}
|
|
3115
|
-
/* eslint-enable jsdoc/require-param */
|
|
3116
|
-
|
|
3117
|
-
/**
|
|
3118
|
-
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
3119
|
-
* @param {Object} elem - The element to check.
|
|
3120
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
3121
|
-
* @returns {void}
|
|
3122
|
-
*/
|
|
3123
|
-
handleComponentTagRename(elem, tagName) {
|
|
3124
|
-
const tag = tagName.toLowerCase();
|
|
3125
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3126
|
-
|
|
3127
|
-
if (elemTag !== tag) {
|
|
3128
|
-
elem.setAttribute(tag, true);
|
|
3129
|
-
}
|
|
3130
|
-
}
|
|
3131
|
-
|
|
3132
|
-
/**
|
|
3133
|
-
* Validates if an element is a specific Auro component.
|
|
3134
|
-
* @param {Object} elem - The element to validate.
|
|
3135
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
3136
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
3137
|
-
*/
|
|
3138
|
-
elementMatch(elem, tagName) {
|
|
3139
|
-
const tag = tagName.toLowerCase();
|
|
3140
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3141
|
-
|
|
3142
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
3143
|
-
}
|
|
3144
|
-
};
|
|
3145
|
-
|
|
3146
|
-
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3147
|
-
// See LICENSE in the project root for license information.
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
/**
|
|
3151
|
-
* Displays help text or error messages within form elements - Internal Use Only.
|
|
3152
|
-
*
|
|
3153
|
-
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
3154
|
-
*/
|
|
3155
|
-
class AuroHelpText extends r$8 {
|
|
3156
|
-
|
|
3157
|
-
constructor() {
|
|
3158
|
-
super();
|
|
3159
|
-
|
|
3160
|
-
this.error = false;
|
|
3161
|
-
this.hasTextContent = false;
|
|
3162
|
-
}
|
|
3163
|
-
|
|
3164
|
-
static get styles() {
|
|
3165
|
-
return [
|
|
3166
|
-
colorCss$4,
|
|
3167
|
-
styleCss$4,
|
|
3168
|
-
tokensCss$3
|
|
3169
|
-
];
|
|
3170
|
-
}
|
|
3171
|
-
|
|
3172
|
-
// function to define props used within the scope of this component
|
|
3173
|
-
static get properties() {
|
|
3174
|
-
return {
|
|
3175
|
-
|
|
3176
|
-
/**
|
|
3177
|
-
* @private
|
|
3178
|
-
*/
|
|
3179
|
-
slotNodes: {
|
|
3180
|
-
type: Boolean,
|
|
3181
|
-
},
|
|
3182
|
-
|
|
3183
|
-
/**
|
|
3184
|
-
* @private
|
|
3185
|
-
*/
|
|
3186
|
-
hasTextContent: {
|
|
3187
|
-
type: Boolean,
|
|
3188
|
-
},
|
|
3189
|
-
|
|
3190
|
-
/**
|
|
3191
|
-
* If declared, make font color red.
|
|
3192
|
-
*/
|
|
3193
|
-
error: {
|
|
3194
|
-
type: Boolean,
|
|
3195
|
-
reflect: true,
|
|
3196
|
-
},
|
|
3197
|
-
};
|
|
3198
|
-
}
|
|
3199
|
-
|
|
3200
|
-
/**
|
|
3201
|
-
* This will register this element with the browser.
|
|
3202
|
-
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
3203
|
-
*
|
|
3204
|
-
* @example
|
|
3205
|
-
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
3206
|
-
*
|
|
3207
|
-
*/
|
|
3208
|
-
static register(name = "auro-helptext") {
|
|
3209
|
-
AuroLibraryRuntimeUtils$2.prototype.registerComponent(name, AuroHelpText);
|
|
3210
|
-
}
|
|
3211
|
-
|
|
3212
|
-
updated() {
|
|
3213
|
-
this.handleSlotChange();
|
|
3214
|
-
}
|
|
3215
|
-
|
|
3216
|
-
handleSlotChange(event) {
|
|
3217
|
-
if (event) {
|
|
3218
|
-
this.slotNodes = event.target.assignedNodes();
|
|
3219
|
-
}
|
|
3220
|
-
|
|
3221
|
-
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
3222
|
-
}
|
|
3223
|
-
|
|
3224
|
-
/**
|
|
3225
|
-
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
3226
|
-
*
|
|
3227
|
-
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
3228
|
-
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
3229
|
-
* @private
|
|
3230
|
-
*/
|
|
3231
|
-
checkSlotsForContent(nodes) {
|
|
3232
|
-
if (!nodes) {
|
|
3233
|
-
return false;
|
|
3234
|
-
}
|
|
3235
|
-
|
|
3236
|
-
return nodes.some((node) => {
|
|
3237
|
-
if (node.textContent.trim()) {
|
|
3238
|
-
return true;
|
|
3239
|
-
}
|
|
3068
|
+
*/let r$8 = class r extends b$2{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$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$8._$litElement$=true,r$8["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$8});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r$8});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3240
3069
|
|
|
3241
|
-
|
|
3242
|
-
return false;
|
|
3243
|
-
}
|
|
3244
|
-
|
|
3245
|
-
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
3246
|
-
if (!nestedSlot) {
|
|
3247
|
-
return false;
|
|
3248
|
-
}
|
|
3249
|
-
|
|
3250
|
-
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
3251
|
-
return this.checkSlotsForContent(nestedSlotNodes);
|
|
3252
|
-
});
|
|
3253
|
-
}
|
|
3070
|
+
i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3254
3071
|
|
|
3255
|
-
|
|
3256
|
-
render() {
|
|
3257
|
-
return x$2`
|
|
3258
|
-
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
3259
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
3260
|
-
</div>
|
|
3261
|
-
`;
|
|
3262
|
-
}
|
|
3263
|
-
}
|
|
3072
|
+
i$3$1`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3264
3073
|
|
|
3265
|
-
|
|
3074
|
+
i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3266
3075
|
|
|
3267
3076
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3268
3077
|
// See LICENSE in the project root for license information.
|
|
@@ -3339,7 +3148,7 @@ class AuroDropdown extends r$4 {
|
|
|
3339
3148
|
/**
|
|
3340
3149
|
* @private
|
|
3341
3150
|
*/
|
|
3342
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
3151
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
3343
3152
|
|
|
3344
3153
|
/**
|
|
3345
3154
|
* @private
|
|
@@ -3359,12 +3168,12 @@ class AuroDropdown extends r$4 {
|
|
|
3359
3168
|
/**
|
|
3360
3169
|
* Generate unique names for dependency components.
|
|
3361
3170
|
*/
|
|
3362
|
-
const versioning = new AuroDependencyVersioning
|
|
3171
|
+
const versioning = new AuroDependencyVersioning();
|
|
3363
3172
|
|
|
3364
3173
|
/**
|
|
3365
3174
|
* @private
|
|
3366
3175
|
*/
|
|
3367
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion
|
|
3176
|
+
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
3368
3177
|
|
|
3369
3178
|
/**
|
|
3370
3179
|
* @private
|
|
@@ -3557,9 +3366,9 @@ class AuroDropdown extends r$4 {
|
|
|
3557
3366
|
|
|
3558
3367
|
static get styles() {
|
|
3559
3368
|
return [
|
|
3560
|
-
colorCss$
|
|
3561
|
-
styleCss$
|
|
3562
|
-
tokensCss$
|
|
3369
|
+
colorCss$3,
|
|
3370
|
+
styleCss$3,
|
|
3371
|
+
tokensCss$2
|
|
3563
3372
|
];
|
|
3564
3373
|
}
|
|
3565
3374
|
|
|
@@ -3572,7 +3381,7 @@ class AuroDropdown extends r$4 {
|
|
|
3572
3381
|
*
|
|
3573
3382
|
*/
|
|
3574
3383
|
static register(name = "auro-dropdown") {
|
|
3575
|
-
AuroLibraryRuntimeUtils
|
|
3384
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroDropdown);
|
|
3576
3385
|
}
|
|
3577
3386
|
|
|
3578
3387
|
connectedCallback() {
|
|
@@ -3825,8 +3634,6 @@ class AuroDropdown extends r$4 {
|
|
|
3825
3634
|
}
|
|
3826
3635
|
}
|
|
3827
3636
|
|
|
3828
|
-
AuroDropdown.register();
|
|
3829
|
-
|
|
3830
3637
|
var dropdownVersion = '3.0.0';
|
|
3831
3638
|
|
|
3832
3639
|
/**
|
|
@@ -3834,1517 +3641,148 @@ var dropdownVersion = '3.0.0';
|
|
|
3834
3641
|
* Copyright 2019 Google LLC
|
|
3835
3642
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3836
3643
|
*/
|
|
3837
|
-
const t$2=globalThis,e$4=t$2.ShadowRoot&&(
|
|
3644
|
+
const t$2=globalThis,e$4=t$2.ShadowRoot&&(void 0===t$2.ShadyCSS||t$2.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$4=new WeakMap;let n$3 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$4&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$4.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$4.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$3("string"==typeof t?t:t+"",void 0,s$2),i$5=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$3(o,t,s$2)},S$1=(s,o)=>{if(e$4)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$2.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$4?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
3838
3645
|
|
|
3839
3646
|
/**
|
|
3840
3647
|
* @license
|
|
3841
3648
|
* Copyright 2017 Google LLC
|
|
3842
3649
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3843
|
-
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$1=a$2.trustedTypes,l$2=c$1?c$1.emptyScript:"",p$1=a$2.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);
|
|
3650
|
+
*/const{is:i$4,defineProperty:e$3,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$3,getPrototypeOf:n$2}=Object,a$2=globalThis,c$1=a$2.trustedTypes,l$2=c$1?c$1.emptyScript:"",p$1=a$2.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$4(t,s),y$1={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$3(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$2(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$3(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
3844
3651
|
|
|
3845
3652
|
/**
|
|
3846
3653
|
* @license
|
|
3847
3654
|
* Copyright 2017 Google LLC
|
|
3848
3655
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3849
3656
|
*/
|
|
3850
|
-
const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):
|
|
3657
|
+
const t$1=globalThis,i$3=t$1.trustedTypes,s$1=i$3?i$3.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$2="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$2="?"+h,n$1=`<${o$2}>`,r$1=document,l$1=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u$1=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n$1:d>=0?(o.push(a),s.slice(0,d)+e$2+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$2)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$3?i$3.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$1()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$1());}}}else if(8===r.nodeType)if(r.data===o$2)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u$1(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$1()),this.O(l$1()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$1(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
3851
3658
|
|
|
3852
3659
|
/**
|
|
3853
3660
|
* @license
|
|
3854
3661
|
* Copyright 2017 Google LLC
|
|
3855
3662
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3856
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
3663
|
+
*/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(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$2=globalThis.litElementPolyfillSupport;i$2?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3857
3664
|
|
|
3858
|
-
var styleCss$2 = i$5`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*: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}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
3665
|
+
i$5`:root{--ds-asset-font-circular-family-name: "AS Circular";--ds-asset-font-circular-filename: "ASCircularWeb";--ds-asset-font-circular-weight-light: "-Light";--ds-asset-font-circular-weight-medium: "-Medium";--ds-asset-font-circular-weight-book: "-Book";--ds-border-radius: 0.375rem;--ds-size-25: 0.125rem;--ds-size-50: 0.25rem;--ds-size-75: 0.375rem;--ds-size-100: 0.5rem;--ds-size-150: 0.75rem;--ds-size-200: 1rem;--ds-size-250: 1.25rem;--ds-size-300: 1.5rem;--ds-size-400: 2rem;--ds-size-500: 2.5rem;--ds-size-600: 3rem;--ds-size-700: 3.5rem;--ds-size-800: 4rem;--ds-size-900: 4.5rem;--ds-size-1000: 5rem;--ds-unitless-scale-20: 0.25;--ds-unitless-scale-50: 0.5;--ds-unitless-scale-100: 1;--ds-unitless-scale-140: 1.4;--ds-unitless-scale-150: 1.5;--ds-unitless-scale-200: 2;--ds-unitless-scale-300: 3;--ds-unitless-scale-350: 3.5;--ds-animation-default-property: all;--ds-animation-default-duration: 0.3s;--ds-animation-default-timing: ease-out;--ds-depth-overlay: 200;--ds-depth-modal: 300;--ds-depth-tooltip: 400;--ds-elevation-100: 0px 0px 5px rgba(0, 0, 0, 0.15);--ds-elevation-200: 0px 0px 10px rgba(0, 0, 0, 0.15);--ds-elevation-300: 0px 0px 15px rgba(0, 0, 0, 0.2);--ds-grid-breakpoint-xs: 320px;--ds-grid-breakpoint-sm: 576px;--ds-grid-breakpoint-md: 768px;--ds-grid-breakpoint-lg: 1024px;--ds-grid-breakpoint-xl: 1232px;--ds-grid-column-xs: 6;--ds-grid-column-sm: 12;--ds-grid-column-md: 12;--ds-grid-column-lg: 12;--ds-grid-column-xl: 12;--ds-grid-gutter-xs: 0.5rem;--ds-grid-gutter-sm: 1rem;--ds-grid-gutter-md: 1.5rem;--ds-grid-gutter-lg: 1.5rem;--ds-grid-gutter-xl: 2rem;--ds-grid-margin-xs: 1rem;--ds-grid-margin-sm: 1rem;--ds-grid-margin-md: 1.5rem;--ds-grid-margin-lg: 2rem;--ds-grid-margin-xl: 2rem;--ds-font-family-default: "AS Circular", Helvetica Neue, Arial, sans-serif;--ds-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace;--ds-text-heading-300-weight: 300;--ds-text-heading-300-px: 18px;--ds-text-heading-300-size: 1.125rem;--ds-text-heading-300-height: 1.625rem;--ds-text-heading-300-height-px: 26px;--ds-text-heading-400-weight: 300;--ds-text-heading-400-px: 20px;--ds-text-heading-400-size: 1.25rem;--ds-text-heading-400-height: 1.625rem;--ds-text-heading-400-height-px: 26px;--ds-text-heading-500-weight: 300;--ds-text-heading-500-px-breakpoint-sm: 22px;--ds-text-heading-500-px-breakpoint-md: 24px;--ds-text-heading-500-px-breakpoint-lg: 24px;--ds-text-heading-500-size-breakpoint-sm: 1.375rem;--ds-text-heading-500-size-breakpoint-md: 1.5rem;--ds-text-heading-500-size-breakpoint-lg: 1.5rem;--ds-text-heading-500-height-breakpoint-sm: 1.625rem;--ds-text-heading-500-height-breakpoint-px-sm: 26px;--ds-text-heading-500-height-breakpoint-md: 1.875rem;--ds-text-heading-500-height-breakpoint-px-md: 30px;--ds-text-heading-500-height-breakpoint-lg: 2rem;--ds-text-heading-500-height-breakpoint-px-lg: 32px;--ds-text-heading-600-weight: 300;--ds-text-heading-600-px-breakpoint-sm: 26px;--ds-text-heading-600-px-breakpoint-md: 28px;--ds-text-heading-600-px-breakpoint-lg: 28px;--ds-text-heading-600-size-breakpoint-sm: 1.625rem;--ds-text-heading-600-size-breakpoint-md: 1.75rem;--ds-text-heading-600-size-breakpoint-lg: 1.75rem;--ds-text-heading-600-height-breakpoint-sm: 1.875rem;--ds-text-heading-600-height-breakpoint-px-sm: 30px;--ds-text-heading-600-height-breakpoint-md: 2.125rem;--ds-text-heading-600-height-breakpoint-px-md: 34px;--ds-text-heading-600-height-breakpoint-lg: 2.25rem;--ds-text-heading-600-height-breakpoint-px-lg: 36px;--ds-text-heading-700-weight: 500;--ds-text-heading-700-px-breakpoint-sm: 28px;--ds-text-heading-700-px-breakpoint-md: 32px;--ds-text-heading-700-px-breakpoint-lg: 36px;--ds-text-heading-700-size-breakpoint-sm: 1.75rem;--ds-text-heading-700-size-breakpoint-md: 2rem;--ds-text-heading-700-size-breakpoint-lg: 2.25rem;--ds-text-heading-700-height-breakpoint-sm: 2.125rem;--ds-text-heading-700-height-breakpoint-px-sm: 34px;--ds-text-heading-700-height-breakpoint-md: 2.375rem;--ds-text-heading-700-height-breakpoint-px-md: 38px;--ds-text-heading-700-height-breakpoint-lg: 2.75rem;--ds-text-heading-700-height-breakpoint-px-lg: 44px;--ds-text-heading-800-weight: 500;--ds-text-heading-800-px-breakpoint-sm: 32px;--ds-text-heading-800-px-breakpoint-md: 36px;--ds-text-heading-800-px-breakpoint-lg: 40px;--ds-text-heading-800-size-breakpoint-sm: 2rem;--ds-text-heading-800-size-breakpoint-md: 2.25rem;--ds-text-heading-800-size-breakpoint-lg: 2.5rem;--ds-text-heading-800-height-breakpoint-sm: 2.375rem;--ds-text-heading-800-height-breakpoint-px-sm: 38px;--ds-text-heading-800-height-breakpoint-md: 2.625rem;--ds-text-heading-800-height-breakpoint-px-md: 42px;--ds-text-heading-800-height-breakpoint-lg: 3rem;--ds-text-heading-800-height-breakpoint-px-lg: 48px;--ds-text-heading-default-weight: 500;--ds-text-heading-default-margin: 0;--ds-text-heading-default-spacing: -0.2px;--ds-text-heading-medium-weight: 300;--ds-text-heading-display-weight: 100;--ds-text-heading-display-px-breakpoint-sm: 44px;--ds-text-heading-display-px-breakpoint-md: 48px;--ds-text-heading-display-px-breakpoint-lg: 56px;--ds-text-heading-display-size-breakpoint-sm: 2.75rem;--ds-text-heading-display-size-breakpoint-md: 3rem;--ds-text-heading-display-size-breakpoint-lg: 3.5rem;--ds-text-heading-display-height-breakpoint-sm: 3.375rem;--ds-text-heading-display-height-breakpoint-px-sm: 54px;--ds-text-heading-display-height-breakpoint-md: 3.75rem;--ds-text-heading-display-height-breakpoint-px-md: 60px;--ds-text-heading-display-height-breakpoint-lg: 4.25rem;--ds-text-heading-display-height-breakpoint-px-lg: 68px;--ds-text-body-default-weight: 500;--ds-text-body-size-xxs: 0.625rem;--ds-text-body-size-xs: 0.75rem;--ds-text-body-size-sm: 0.875rem;--ds-text-body-size-default: 1rem;--ds-text-body-size-lg: 1.125rem;--ds-text-body-height-xs: 1rem;--ds-text-body-height-sm: 1.25rem;--ds-text-body-height-default: 1.5rem;--ds-text-body-height-lg: 1.625rem;--ds-color-alert-notification-default: #0074c8;--ds-color-alert-warning-default: #de750c;--ds-color-alert-error-default: #df0b37;--ds-color-alert-success-default: #00805d;--ds-color-alert-advisory-default: #fff0cd;--ds-color-alert-bkg-success-default: #ddf6e8;--ds-color-alert-bkg-error-default: #ffedf1;--ds-color-background-primary-100-default: #ffffff;--ds-color-background-primary-100-inverse: #0e2b4f;--ds-color-background-primary-200-default: #f7f7f7;--ds-color-background-primary-200-inverse: #194069;--ds-color-background-primary-300-default: #e4e8ec;--ds-color-background-primary-300-inverse: #265688;--ds-color-background-primary-400-default: #dddddd;--ds-color-background-primary-400-inverse: #326aa5;--ds-color-background-success-default: #eef8f5;--ds-color-background-success-inverse: #173c30;--ds-color-background-error-default: #fff4f4;--ds-color-background-error-inverse: #74110e;--ds-color-background-warning-default: #fef8e9;--ds-color-background-warning-inverse: #5d4514;--ds-color-background-info-default: #f0f7fd;--ds-color-background-info-inverse: #193d73;--ds-color-background-subtle-default: #f7f8fa;--ds-color-background-subtle-inverse: #2a2a2a;--ds-color-background-accent-default: #ebfafd;--ds-color-background-accent-inverse: #275b72;--ds-color-background-emphasis-default: #c9e0f7;--ds-color-background-emphasis-inverse: #225296;--ds-color-background-scrimmed-default: rgba(0, 0, 0, 0.5);--ds-color-background-lightest: #ffffff;--ds-color-background-lighter: #f7f7f7;--ds-color-background-darker: #01426a;--ds-color-background-darkest: #00274a;--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));--ds-color-base-white: #ffffff;--ds-color-base-white-100: rgba(255, 255, 255, 0.03);--ds-color-base-white-200: rgba(255, 255, 255, 0.06);--ds-color-base-white-300: rgba(255, 255, 255, 0.12);--ds-color-base-white-400: rgba(255, 255, 255, 0.25);--ds-color-base-white-500: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5);--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4);--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0);--ds-color-base-black: #000000;--ds-color-base-black-100: rgba(0, 0, 0, 0.03);--ds-color-base-black-200: rgba(0, 0, 0, 0.06);--ds-color-base-black-300: rgba(0, 0, 0, 0.12);--ds-color-base-black-400: rgba(0, 0, 0, 0.25);--ds-color-base-black-500: rgba(0, 0, 0, 0.5);--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15);--ds-color-base-blue-100: #f0f7fd;--ds-color-base-blue-200: #c9e0f7;--ds-color-base-blue-300: #a0c9f1;--ds-color-base-blue-400: #79b2ec;--ds-color-base-blue-500: #5398e6;--ds-color-base-blue-600: #3b7fd2;--ds-color-base-blue-700: #2c67b5;--ds-color-base-blue-800: #225296;--ds-color-base-blue-900: #193d73;--ds-color-base-blue-1000: #102a51;--ds-color-base-cyan-100: #ebfafd;--ds-color-base-cyan-200: #a8e9f7;--ds-color-base-cyan-300: #6ad5ef;--ds-color-base-cyan-400: #56bbde;--ds-color-base-cyan-500: #4aa2c7;--ds-color-base-cyan-600: #3e89aa;--ds-color-base-cyan-700: #32718e;--ds-color-base-cyan-800: #275b72;--ds-color-base-cyan-900: #1d4658;--ds-color-base-cyan-1000: #12303d;--ds-color-base-error-100: #fff4f4;--ds-color-base-error-200: #f9aca6;--ds-color-base-error-300: #f16359;--ds-color-base-error-400: #cc1816;--ds-color-base-error-500: #74110e;--ds-color-base-gray-100: #f7f7f7;--ds-color-base-gray-200: #d4d4d4;--ds-color-base-gray-300: #c5c5c5;--ds-color-base-gray-400: #adadad;--ds-color-base-gray-500: #959595;--ds-color-base-gray-600: #7e7e7e;--ds-color-base-gray-700: #676767;--ds-color-base-gray-800: #525252;--ds-color-base-gray-900: #3d3d3d;--ds-color-base-gray-1000: #2a2a2a;--ds-color-base-green-100: #f3faf7;--ds-color-base-green-200: #000000;--ds-color-base-green-300: #addbca;--ds-color-base-green-400: #7ec6ac;--ds-color-base-green-500: #51ae8c;--ds-color-base-green-600: #459578;--ds-color-base-green-700: #3a7d64;--ds-color-base-green-800: #306854;--ds-color-base-green-900: #285545;--ds-color-base-green-1000: #1f4436;--ds-color-base-lime-100: #f5fbeb;--ds-color-base-lime-200: #d8efb4;--ds-color-base-lime-300: #badd81;--ds-color-base-lime-400: #a2c270;--ds-color-base-lime-500: #8ca761;--ds-color-base-lime-600: #778f53;--ds-color-base-lime-700: #647845;--ds-color-base-lime-800: #53643a;--ds-color-base-lime-900: #44522f;--ds-color-base-lime-1000: #364126;--ds-color-base-navy-100: #f2f7fb;--ds-color-base-navy-200: #cfe0ef;--ds-color-base-navy-300: #acc9e2;--ds-color-base-navy-400: #89b2d4;--ds-color-base-navy-500: #6899c6;--ds-color-base-navy-600: #4a82b7;--ds-color-base-navy-700: #326aa5;--ds-color-base-navy-800: #265688;--ds-color-base-navy-900: #194069;--ds-color-base-navy-1000: #0e2b4f;--ds-color-base-neutral-100: #f7f8fa;--ds-color-base-neutral-200: #e4e8ec;--ds-color-base-neutral-300: #ccd2db;--ds-color-base-neutral-400: #afb9c6;--ds-color-base-neutral-500: #939fad;--ds-color-base-neutral-600: #7e8894;--ds-color-base-neutral-700: #6a717c;--ds-color-base-neutral-800: #585e67;--ds-color-base-neutral-900: #484d55;--ds-color-base-neutral-1000: #393d43;--ds-color-base-pink-100: #fff7f8;--ds-color-base-pink-200: #fde0e6;--ds-color-base-pink-300: #fcc2ce;--ds-color-base-pink-400: #fa9db0;--ds-color-base-pink-500: #f7738e;--ds-color-base-pink-600: #e45472;--ds-color-base-pink-700: #bf475f;--ds-color-base-pink-800: #a03b50;--ds-color-base-pink-900: #833142;--ds-color-base-pink-1000: #692734;--ds-color-base-purple-100: #fbf8fe;--ds-color-base-purple-200: #ede3fd;--ds-color-base-purple-300: #ddc9fb;--ds-color-base-purple-400: #c9a9f8;--ds-color-base-purple-500: #b588f5;--ds-color-base-purple-600: #a268f3;--ds-color-base-purple-700: #8d47f0;--ds-color-base-purple-800: #7633d7;--ds-color-base-purple-900: #622ab2;--ds-color-base-purple-1000: #4e228d;--ds-color-base-red-100: #fef7f5;--ds-color-base-red-200: #fae2da;--ds-color-base-red-300: #f5c7b8;--ds-color-base-red-400: #f0a68d;--ds-color-base-red-500: #e9815e;--ds-color-base-red-600: #e35c2f;--ds-color-base-red-700: #d03a08;--ds-color-base-red-800: #ae3007;--ds-color-base-red-900: #902806;--ds-color-base-red-1000: #732005;--ds-color-base-success-100: #eef8f5;--ds-color-base-success-200: #8eceb9;--ds-color-base-success-300: #40a080;--ds-color-base-success-400: #0b6f4d;--ds-color-base-success-500: #173c30;--ds-color-base-turquoise-100: #f7fafa;--ds-color-base-turquoise-200: #dfe9ea;--ds-color-base-turquoise-300: #c2d5d6;--ds-color-base-turquoise-400: #9fbdbe;--ds-color-base-turquoise-500: #7ba5a6;--ds-color-base-turquoise-600: #5c8f91;--ds-color-base-turquoise-700: #3d7a7d;--ds-color-base-turquoise-800: #21686a;--ds-color-base-turquoise-900: #085659;--ds-color-base-turquoise-1000: #004447;--ds-color-base-yellow-100: #fff9df;--ds-color-base-yellow-200: #ffe87e;--ds-color-base-yellow-300: #f9ce06;--ds-color-base-yellow-400: #d6b622;--ds-color-base-yellow-500: #b49d35;--ds-color-base-yellow-600: #96873e;--ds-color-base-yellow-700: #7c7140;--ds-color-base-yellow-800: #665e3d;--ds-color-base-yellow-900: #524e38;--ds-color-base-yellow-1000: #403d30;--ds-color-base-warning-100: #fef8e9;--ds-color-base-warning-200: #f2c153;--ds-color-base-warning-300: #c49432;--ds-color-base-warning-400: #8e6b22;--ds-color-base-warning-500: #5d4514;--ds-color-state-error-100: #ff999b;--ds-color-state-error-500: #df0b37;--ds-color-state-success-100: #69cf96;--ds-color-state-success-500: #00805d;--ds-color-state-warning-500: #de750c;--ds-color-border-primary-default: #585e67;--ds-color-border-primary-inverse: #afb9c6;--ds-color-border-secondary-default: #939fad;--ds-color-border-secondary-inverse: #7e8894;--ds-color-border-tertiary-default: #dddddd;--ds-color-border-tertiary-inverse: #676767;--ds-color-border-error-default: #cc1816;--ds-color-border-error-inverse: #f9aca6;--ds-color-border-divider-default: rgba(0, 0, 0, 0.12);--ds-color-border-divider-inverse: rgba(255, 255, 255, 0.25);--ds-color-border-subtle-default: #f0f7fd;--ds-color-border-subtle-inverse: #326aa5;--ds-color-border-emphasis-default: #194069;--ds-color-border-emphasis-inverse: #f2f7fb;--ds-color-border-accent-default: #badd81;--ds-color-border-accent-inverse: #a2c270;--ds-color-border-success-default: #0b6f4d;--ds-color-border-success-inverse: #8eceb9;--ds-color-border-warning-default: #c49432;--ds-color-border-warning-inverse: #f2c153;--ds-color-border-info-default: #326aa5;--ds-color-border-info-inverse: #89b2d4;--ds-color-border-ui-default-default: #2c67b5;--ds-color-border-ui-default-inverse: #56bbde;--ds-color-border-ui-hover-default: #193d73;--ds-color-border-ui-hover-inverse: #a8e9f7;--ds-color-border-ui-active-default: #225296;--ds-color-border-ui-active-inverse: #6ad5ef;--ds-color-border-ui-focus-default: #2c67b5;--ds-color-border-ui-focus-inverse: #56bbde;--ds-color-border-ui-disabled-default: #adadad;--ds-color-border-ui-disabled-inverse: #7e7e7e;--ds-color-border-active-default: #0074c8;--ds-color-border-active-inverse: #00cff0;--ds-color-border-disabled-default: #d4d4d4;--ds-color-border-focus-default: #959595;--ds-color-brand-neutral-100: #f7f8fa;--ds-color-brand-neutral-200: #e4e8ec;--ds-color-brand-neutral-300: #ccd2db;--ds-color-brand-neutral-400: #afb9c6;--ds-color-brand-neutral-500: #939fad;--ds-color-brand-neutral-600: #7e8894;--ds-color-brand-neutral-700: #6a717c;--ds-color-brand-neutral-800: #585e67;--ds-color-brand-neutral-900: #484d55;--ds-color-brand-neutral-1000: #393d43;--ds-color-brand-gray-100: #f7f7f7;--ds-color-brand-gray-200: #dddddd;--ds-color-brand-gray-300: #c5c5c5;--ds-color-brand-gray-400: #adadad;--ds-color-brand-gray-500: #959595;--ds-color-brand-gray-600: #7e7e7e;--ds-color-brand-gray-700: #676767;--ds-color-brand-gray-800: #525252;--ds-color-brand-gray-900: #3d3d3d;--ds-color-brand-gray-1000: #2a2a2a;--ds-color-brand-red-100: #fef7f5;--ds-color-brand-red-200: #fae2da;--ds-color-brand-red-300: #f5c7b8;--ds-color-brand-red-400: #f0a68d;--ds-color-brand-red-500: #e9815e;--ds-color-brand-red-600: #e35c2f;--ds-color-brand-red-700: #d03a08;--ds-color-brand-red-800: #ae3007;--ds-color-brand-red-900: #902806;--ds-color-brand-red-1000: #732005;--ds-color-brand-yellow-100: #fff9df;--ds-color-brand-yellow-200: #ffe87e;--ds-color-brand-yellow-300: #f9ce06;--ds-color-brand-yellow-400: #d6b622;--ds-color-brand-yellow-500: #b49d35;--ds-color-brand-yellow-600: #96873e;--ds-color-brand-yellow-700: #7c7140;--ds-color-brand-yellow-800: #665e3d;--ds-color-brand-yellow-900: #524e38;--ds-color-brand-yellow-1000: #403d30;--ds-color-brand-lime-100: #f5fbeb;--ds-color-brand-lime-200: #d8efb4;--ds-color-brand-lime-300: #badd81;--ds-color-brand-lime-400: #a2c270;--ds-color-brand-lime-500: #8ca761;--ds-color-brand-lime-600: #778f53;--ds-color-brand-lime-700: #647845;--ds-color-brand-lime-800: #53643a;--ds-color-brand-lime-900: #44522f;--ds-color-brand-lime-1000: #364126;--ds-color-brand-green-100: #f3faf7;--ds-color-brand-green-200: #d4ece4;--ds-color-brand-green-300: #addbca;--ds-color-brand-green-400: #7ec6ac;--ds-color-brand-green-500: #51ae8c;--ds-color-brand-green-600: #459578;--ds-color-brand-green-700: #3a7d64;--ds-color-brand-green-800: #306854;--ds-color-brand-green-900: #285545;--ds-color-brand-green-1000: #1f4436;--ds-color-brand-turquoise-100: #f7fafa;--ds-color-brand-turquoise-200: #dfe9ea;--ds-color-brand-turquoise-300: #c2d5d6;--ds-color-brand-turquoise-400: #9fbdbe;--ds-color-brand-turquoise-500: #7ba5a6;--ds-color-brand-turquoise-600: #5c8f91;--ds-color-brand-turquoise-700: #3d7a7d;--ds-color-brand-turquoise-800: #21686a;--ds-color-brand-turquoise-900: #085659;--ds-color-brand-turquoise-1000: #004447;--ds-color-brand-cyan-100: #ebfafd;--ds-color-brand-cyan-200: #a8e9f7;--ds-color-brand-cyan-300: #6ad5ef;--ds-color-brand-cyan-400: #56bbde;--ds-color-brand-cyan-500: #4aa2c7;--ds-color-brand-cyan-600: #3e89aa;--ds-color-brand-cyan-700: #32718e;--ds-color-brand-cyan-800: #275b72;--ds-color-brand-cyan-900: #1d4658;--ds-color-brand-cyan-1000: #12303d;--ds-color-brand-blue-100: #f0f7fd;--ds-color-brand-blue-200: #c9e0f7;--ds-color-brand-blue-300: #a0c9f1;--ds-color-brand-blue-400: #79b2ec;--ds-color-brand-blue-500: #5398e6;--ds-color-brand-blue-600: #3b7fd2;--ds-color-brand-blue-700: #2c67b5;--ds-color-brand-blue-800: #225296;--ds-color-brand-blue-900: #193d73;--ds-color-brand-blue-1000: #102a51;--ds-color-brand-navy-100: #f2f7fb;--ds-color-brand-navy-200: #cfe0ef;--ds-color-brand-navy-300: #acc9e2;--ds-color-brand-navy-400: #89b2d4;--ds-color-brand-navy-500: #6899c6;--ds-color-brand-navy-600: #4a82b7;--ds-color-brand-navy-700: #326aa5;--ds-color-brand-navy-800: #265688;--ds-color-brand-navy-900: #194069;--ds-color-brand-navy-1000: #0e2b4f;--ds-color-brand-purple-100: #fbf8fe;--ds-color-brand-purple-200: #ede3fd;--ds-color-brand-purple-300: #ddc9fb;--ds-color-brand-purple-400: #c9a9f8;--ds-color-brand-purple-500: #b588f5;--ds-color-brand-purple-600: #a268f3;--ds-color-brand-purple-700: #8d47f0;--ds-color-brand-purple-800: #7633d7;--ds-color-brand-purple-900: #622ab2;--ds-color-brand-purple-1000: #4e228d;--ds-color-brand-pink-100: #fff7f8;--ds-color-brand-pink-200: #fde0e6;--ds-color-brand-pink-300: #fcc2ce;--ds-color-brand-pink-400: #fa9db0;--ds-color-brand-pink-500: #f7738e;--ds-color-brand-pink-600: #e45472;--ds-color-brand-pink-700: #bf475f;--ds-color-brand-pink-800: #a03b50;--ds-color-brand-pink-900: #833142;--ds-color-brand-pink-1000: #692734;--ds-color-brand-midnight-100: #c1daf0;--ds-color-brand-midnight-200: #569ed7;--ds-color-brand-midnight-300: #156fad;--ds-color-brand-midnight-400: #01426a;--ds-color-brand-midnight-500: #00274a;--ds-color-brand-atlas-100: #cde6ff;--ds-color-brand-atlas-200: #6bb7fb;--ds-color-brand-atlas-300: #2492eb;--ds-color-brand-atlas-400: #0074c8;--ds-color-brand-atlas-500: #054687;--ds-color-brand-atlas-400-opacity-20: rgba(0, 116, 200, 0.2);--ds-color-brand-breeze-100: #c0f7ff;--ds-color-brand-breeze-200: #5de3f7;--ds-color-brand-breeze-300: #00cff0;--ds-color-brand-breeze-400: #099dc5;--ds-color-brand-breeze-500: #0b5575;--ds-color-brand-breeze-300-opacity-30: rgba(0, 207, 240, 0.3);--ds-color-brand-tropical-100: #e2ffcd;--ds-color-brand-tropical-200: #d0fba6;--ds-color-brand-tropical-300: #c0e585;--ds-color-brand-tropical-400: #91be62;--ds-color-brand-tropical-500: #5e8741;--ds-color-brand-alpine-100: #bcaae6;--ds-color-brand-alpine-200: #9e73ea;--ds-color-brand-alpine-300: #8439ef;--ds-color-brand-alpine-400: #631db8;--ds-color-brand-alpine-500: #39115c;--ds-color-brand-flamingo-100: #ffebee;--ds-color-brand-flamingo-200: #ffc0ca;--ds-color-brand-flamingo-300: #ff94a7;--ds-color-brand-flamingo-400: #f65b7b;--ds-color-brand-flamingo-500: #b82b47;--ds-color-brand-canyon-100: #ffcab6;--ds-color-brand-canyon-200: #f99574;--ds-color-brand-canyon-300: #f26135;--ds-color-brand-canyon-400: #de3e09;--ds-color-brand-canyon-500: #b83302;--ds-color-brand-goldcoast-100: #fff0cd;--ds-color-brand-goldcoast-200: #ffdb67;--ds-color-brand-goldcoast-300: #ffd200;--ds-color-brand-goldcoast-400: #e5ad07;--ds-color-brand-goldcoast-500: #b88624;--ds-color-brand-goldgray-100: #c5c1bf;--ds-color-brand-goldgray-200: #726e6c;--ds-color-brand-gold-100: #ccbc94;--ds-color-brand-gold-200: #7f682e;--ds-color-brand-emerald: #139142;--ds-color-brand-sapphire: #015daa;--ds-color-brand-ruby: #a41d4a;--ds-color-brand-lounge: #01426a;--ds-color-brand-loungeplus: #53b390;--ds-color-container-accent-default: #f5fbeb;--ds-color-container-accent-inverse: #badd81;--ds-color-container-emphasis-default: #ebfafd;--ds-color-container-emphasis-inverse: #6ad5ef;--ds-color-container-error-default: #fff4f4;--ds-color-container-error-inverse: #74110e;--ds-color-container-info-default: #f0f7fd;--ds-color-container-info-inverse: #193d73;--ds-color-container-primary-default: #ffffff;--ds-color-container-primary-inverse: #0e2b4f;--ds-color-container-secondary-default: #f7f7f7;--ds-color-container-secondary-inverse: #194069;--ds-color-container-subtle-default: #f7f8fa;--ds-color-container-subtle-inverse: #393d43;--ds-color-container-success-default: #eef8f5;--ds-color-container-success-inverse: #173c30;--ds-color-container-tertiary-default: rgba(0, 0, 0, 0.03);--ds-color-container-tertiary-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-warning-default: #fef8e9;--ds-color-container-warning-inverse: #5d4514;--ds-color-container-ui-primary-active-default: #225296;--ds-color-container-ui-primary-active-inverse: #6ad5ef;--ds-color-container-ui-primary-default-default: #2c67b5;--ds-color-container-ui-primary-default-inverse: #56bbde;--ds-color-container-ui-primary-disabled-default: #a0c9f1;--ds-color-container-ui-primary-disabled-inverse: #275b72;--ds-color-container-ui-primary-focus-default: #2c67b5;--ds-color-container-ui-primary-focus-inverse: #56bbde;--ds-color-container-ui-primary-hover-default: #193d73;--ds-color-container-ui-primary-hover-inverse: #a8e9f7;--ds-color-container-ui-secondary-active-default: #f0f7fd;--ds-color-container-ui-secondary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-secondary-default-default: #ffffff;--ds-color-container-ui-secondary-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-disabled-default: #f7f7f7;--ds-color-container-ui-secondary-disabled-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-secondary-focus-default: #ffffff;--ds-color-container-ui-secondary-focus-inverse: rgba(255, 255, 255, 0.03);--ds-color-container-ui-secondary-hover-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-secondary-hover-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-active-default: rgba(0, 0, 0, 0.06);--ds-color-container-ui-tertiary-active-inverse: rgba(255, 255, 255, 0.06);--ds-color-container-ui-tertiary-default-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-default-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-disabled-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-disabled-inverse: rgba(255, 255, 255, 0.25);--ds-color-container-ui-tertiary-focus-default: rgba(0, 0, 0, 0.03);--ds-color-container-ui-tertiary-focus-inverse: rgba(255, 255, 255, 0.12);--ds-color-container-ui-tertiary-hover-default: rgba(0, 0, 0, 0.12);--ds-color-container-ui-tertiary-hover-inverse: rgba(255, 255, 255, 0.25);--ds-color-icon-primary-default: #676767;--ds-color-icon-primary-inverse: #f7f7f7;--ds-color-icon-secondary-default: #7e8894;--ds-color-icon-secondary-inverse: #ccd2db;--ds-color-icon-tertiary-default: #afb9c6;--ds-color-icon-tertiary-inverse: #939fad;--ds-color-icon-emphasis-default: #2a2a2a;--ds-color-icon-emphasis-inverse: #ffffff;--ds-color-icon-accent-default: #a2c270;--ds-color-icon-accent-inverse: #badd81;--ds-color-icon-info-default: #326aa5;--ds-color-icon-info-inverse: #89b2d4;--ds-color-icon-error-default: #cc1816;--ds-color-icon-error-inverse: #f9aca6;--ds-color-icon-warning-default: #c49432;--ds-color-icon-warning-inverse: #f2c153;--ds-color-icon-success-default: #40a080;--ds-color-icon-success-inverse: #8eceb9;--ds-color-icon-subtle-default: #a0c9f1;--ds-color-icon-subtle-inverse: #326aa5;--ds-color-icon-ui-primary-default-default: #2c67b5;--ds-color-icon-ui-primary-default-inverse: #56bbde;--ds-color-icon-ui-primary-hover-default: #193d73;--ds-color-icon-ui-primary-hover-inverse: #a8e9f7;--ds-color-icon-ui-primary-active-default: #225296;--ds-color-icon-ui-primary-active-inverse: #6ad5ef;--ds-color-icon-ui-primary-disabled-default: #adadad;--ds-color-icon-ui-primary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-primary-focus-default: #2c67b5;--ds-color-icon-ui-primary-focus-inverse: #56bbde;--ds-color-icon-ui-secondary-active-default: #676767;--ds-color-icon-ui-secondary-active-inverse: #c5c5c5;--ds-color-icon-ui-secondary-default-default: #7e7e7e;--ds-color-icon-ui-secondary-default-inverse: #adadad;--ds-color-icon-ui-secondary-disabled-default: #adadad;--ds-color-icon-ui-secondary-disabled-inverse: #7e7e7e;--ds-color-icon-ui-secondary-focus-default: #7e7e7e;--ds-color-icon-ui-secondary-focus-inverse: #adadad;--ds-color-icon-ui-secondary-hover-default: #525252;--ds-color-icon-ui-secondary-hover-inverse: #dddddd;--ds-color-icon-brand-red-default: #d03a08;--ds-color-icon-brand-red-inverse: #e9815e;--ds-color-icon-brand-yellow-default: #7c7140;--ds-color-icon-brand-yellow-inverse: #f9ce06;--ds-color-icon-brand-pink-default: #bf475f;--ds-color-icon-brand-pink-inverse: #f7738e;--ds-color-icon-brand-purple-default: #8d47f0;--ds-color-icon-brand-purple-inverse: #b588f5;--ds-color-icon-brand-lime-default: #647845;--ds-color-icon-brand-lime-inverse: #badd81;--ds-color-icon-brand-green-default: #3a7d64;--ds-color-icon-brand-green-inverse: #51ae8c;--ds-color-icon-brand-turquoise-default: #3d7a7d;--ds-color-icon-brand-turquoise-inverse: #7ba5a6;--ds-color-icon-brand-navy-default: #265688;--ds-color-icon-brand-navy-inverse: #6899c6;--ds-color-icon-brand-blue-default: #2c67b5;--ds-color-icon-brand-blue-inverse: #5398e6;--ds-color-icon-brand-cyan-default: #32718e;--ds-color-icon-brand-cyan-inverse: #6ad5ef;--ds-color-icon-brand-gray-default: #676767;--ds-color-icon-brand-gray-inverse: #c5c5c5;--ds-color-icon-brand-neutral-default: #6a717c;--ds-color-icon-brand-neutral-inverse: #afb9c6;--ds-color-icon-disabled-default: rgba(0, 0, 0, 0.15);--ds-color-text-primary-default: #2a2a2a;--ds-color-text-primary-inverse: #ffffff;--ds-color-text-secondary-default: #525252;--ds-color-text-secondary-inverse: #dddddd;--ds-color-text-tertiary-default: #6a717c;--ds-color-text-tertiary-inverse: #adadad;--ds-color-text-error-default: #cc1816;--ds-color-text-error-inverse: #f9aca6;--ds-color-text-emphasis-default: #265688;--ds-color-text-emphasis-inverse: #cfe0ef;--ds-color-text-accent-default: #647845;--ds-color-text-accent-inverse: #badd81;--ds-color-text-info-default: #326aa5;--ds-color-text-info-inverse: #acc9e2;--ds-color-text-subtle-default: #32718e;--ds-color-text-subtle-inverse: #56bbde;--ds-color-text-success-default: #0b6f4d;--ds-color-text-success-inverse: #8eceb9;--ds-color-text-ui-active-default: #225296;--ds-color-text-ui-active-inverse: #6ad5ef;--ds-color-text-ui-default-default: #2c67b5;--ds-color-text-ui-default-inverse: #56bbde;--ds-color-text-ui-disabled-default: #adadad;--ds-color-text-ui-disabled-inverse: #7e7e7e;--ds-color-text-ui-focus-default: #2c67b5;--ds-color-text-ui-focus-inverse: #56bbde;--ds-color-text-ui-hover-default: #193d73;--ds-color-text-ui-hover-inverse: #a8e9f7;--ds-color-text-link-default: #0074c8;--ds-color-text-link-inverse: #00cff0;--ds-color-tier-alaska-mvp-default: #726e6c;--ds-color-tier-alaska-mvp-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold-default: #7f682e;--ds-color-tier-alaska-mvpgold-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold75k-default: #7f682e;--ds-color-tier-alaska-mvpgold75k-inverse: #c5c1bf;--ds-color-tier-alaska-mvpgold100k-default: #7f682e;--ds-color-tier-alaska-mvpgold100k-inverse: #c5c1bf;--ds-color-tier-alaska-lounge: #01426a;--ds-color-tier-alaska-loungeplus: #53b390;--ds-color-tier-fare-business-default: #005154;--ds-color-tier-fare-business-inverse: #9fbdbe;--ds-color-tier-fare-economy-default: #2c67b5;--ds-color-tier-fare-economy-inverse: #a0c9f1;--ds-color-tier-fare-first-class-default: #002c4e;--ds-color-tier-fare-first-class-inverse: #89b2d4;--ds-color-tier-fare-saver-default: #4aa2c7;--ds-color-tier-fare-saver-inverse: #a8e9f7;--ds-color-tier-oneworld-emerald: #139142;--ds-color-tier-oneworld-sapphire: #015daa;--ds-color-tier-oneworld-ruby: #a41d4a;--ds-color-ui-default-default: #0074c8;--ds-color-ui-default-inverse: #00cff0;--ds-color-ui-hover-default: #054687;--ds-color-ui-hover-inverse: #5de3f7;--ds-color-ui-active-default: #054687;--ds-color-ui-active-inverse: #5de3f7;--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);--ds-color-utility-blue-default: #79b2ec;--ds-color-utility-blue-inverse: #c9e0f7;--ds-color-utility-cyan-default: #6ad5ef;--ds-color-utility-cyan-inverse: #a8e9f7;--ds-color-utility-green-default: #7ec6ac;--ds-color-utility-green-inverse: #addbca;--ds-color-utility-gray-default: #adadad;--ds-color-utility-gray-inverse: #dddddd;--ds-color-utility-lime-default: #badd81;--ds-color-utility-lime-inverse: #d8efb4;--ds-color-utility-navy-default: #265688;--ds-color-utility-navy-inverse: #acc9e2;--ds-color-utility-neutral-default: #7e8894;--ds-color-utility-neutral-inverse: #ccd2db;--ds-color-utility-pink-default: #f7738e;--ds-color-utility-pink-inverse: #fcc2ce;--ds-color-utility-purple-default: #8d47f0;--ds-color-utility-purple-inverse: #ddc9fb;--ds-color-utility-red-default: #e35c2f;--ds-color-utility-red-inverse: #f0a68d;--ds-color-utility-turquoise-default: #5c8f91;--ds-color-utility-turquoise-inverse: #9fbdbe;--ds-color-utility-yellow-default: #f9ce06;--ds-color-utility-yellow-inverse: #ffe87e;--ds-color-utility-error-default: #cc1816;--ds-color-utility-error-inverse: #f9aca6;--ds-color-utility-warning-default: #f2c153;--ds-color-utility-warning-inverse: #f2c153;--ds-color-utility-success-default: #0b6f4d;--ds-color-utility-success-inverse: #8eceb9}*,*: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}:host{display:inline-block;width:100%;margin:0;padding:0;vertical-align:middle}:host ::slotted(auro-menuoption),:host ::slotted([auro-menuoption]),:host auro-menuoption[loadingplaceholder]{padding-left:calc(var(--ds-size-150, 0.75rem) + 24px + var(--ds-size-100, 0.5rem))}:host ::slotted([selected]){padding-left:0}:host ::slotted(hr){box-sizing:content-box !important;height:0 !important;overflow:visible !important;margin:var(--ds-size-100, 0.5rem) 0 !important;border-width:0 !important;border-top-width:1px !important;border-top-style:solid !important}:host([nocheckmark]) ::slotted(auro-menuoption),:host([nocheckmark]) auro-menuoption[loadingplaceholder]{padding-left:var(--ds-size-200, 1rem)}:host([root]){overflow-y:auto}[loadingplaceholder]{color:var(--ds-color-text-secondary-default, #525252)}[loadingplaceholder].empty{opacity:0;position:absolute}[loadingplaceholder] slot[name=loadingIcon]{vertical-align:middle;line-height:1;display:inline-block}[loadingplaceholder] slot[name=loadingIcon]::slotted(*){margin-right:var(--ds-size-150, 0.75rem)}`;
|
|
3859
3666
|
|
|
3860
|
-
|
|
3667
|
+
i$5`:host ::slotted(hr){border-top-color:var(--ds-auro-menu-divider-color) !important}`;
|
|
3861
3668
|
|
|
3862
|
-
|
|
3669
|
+
i$5`:host{--ds-auro-menu-divider-color: var(--ds-color-border-divider-default, $ds-color-border-divider-default);--ds-auro-menuoption-container-color: transparent;--ds-auro-menuoption-icon-color: transparent;--ds-auro-menuoption-text-color: var(--ds-color-text-primary-default, $ds-color-text-primary-default)}`;
|
|
3863
3670
|
|
|
3864
|
-
// Copyright (c) Alaska
|
|
3671
|
+
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3865
3672
|
// See LICENSE in the project root for license information.
|
|
3866
3673
|
|
|
3867
3674
|
// ---------------------------------------------------------------------
|
|
3868
3675
|
|
|
3869
|
-
|
|
3676
|
+
/**
|
|
3677
|
+
* Converts value to an array.
|
|
3678
|
+
* If the value is a JSON string representing an array, it will be parsed.
|
|
3679
|
+
* If the value is already an array, it is returned.
|
|
3680
|
+
* If the value is undefined, it returns undefined.
|
|
3681
|
+
* @private
|
|
3682
|
+
* @param {any} value - The value to be converted. Can be a string, array, or undefined.
|
|
3683
|
+
* @returns {Array|undefined} - The converted array or undefined.
|
|
3684
|
+
* @throws {Error} - Throws an error if the value is not an array, undefined,
|
|
3685
|
+
* or if the value cannot be parsed into an array from a JSON string.
|
|
3686
|
+
*/
|
|
3687
|
+
function arrayConverter(value) {
|
|
3688
|
+
// Allow undefined
|
|
3689
|
+
if (value === undefined) {
|
|
3690
|
+
return undefined;
|
|
3691
|
+
}
|
|
3870
3692
|
|
|
3871
|
-
|
|
3693
|
+
// Return the value if it is already an array
|
|
3694
|
+
if (Array.isArray(value)) {
|
|
3695
|
+
return value;
|
|
3696
|
+
}
|
|
3872
3697
|
|
|
3873
|
-
|
|
3698
|
+
try {
|
|
3699
|
+
// If value is a JSON string, parse it
|
|
3700
|
+
const parsed = typeof value === 'string' ? JSON.parse(value) : value;
|
|
3874
3701
|
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
3879
|
-
* @returns {void}
|
|
3880
|
-
*/
|
|
3881
|
-
registerComponent(name, componentClass) {
|
|
3882
|
-
if (!customElements.get(name)) {
|
|
3883
|
-
customElements.define(name, class extends componentClass {});
|
|
3702
|
+
// Check if the parsed value is an array
|
|
3703
|
+
if (Array.isArray(parsed)) {
|
|
3704
|
+
return parsed;
|
|
3884
3705
|
}
|
|
3706
|
+
} catch (error) {
|
|
3707
|
+
// If JSON parsing fails, continue to throw an error below
|
|
3708
|
+
/* eslint-disable no-console */
|
|
3709
|
+
console.error('JSON parsing failed:', error);
|
|
3885
3710
|
}
|
|
3886
3711
|
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
* @returns {void}
|
|
3890
|
-
*/
|
|
3891
|
-
closestElement(
|
|
3892
|
-
selector, // selector like in .closest()
|
|
3893
|
-
base = this, // extra functionality to skip a parent
|
|
3894
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
3895
|
-
!el || el === document || el === window
|
|
3896
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
3897
|
-
: found
|
|
3898
|
-
? found // found a selector INside this element
|
|
3899
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
3900
|
-
) {
|
|
3901
|
-
return __Closest(base);
|
|
3902
|
-
}
|
|
3903
|
-
/* eslint-enable jsdoc/require-param */
|
|
3904
|
-
|
|
3905
|
-
/**
|
|
3906
|
-
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
3907
|
-
* @param {Object} elem - The element to check.
|
|
3908
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
3909
|
-
* @returns {void}
|
|
3910
|
-
*/
|
|
3911
|
-
handleComponentTagRename(elem, tagName) {
|
|
3912
|
-
const tag = tagName.toLowerCase();
|
|
3913
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3914
|
-
|
|
3915
|
-
if (elemTag !== tag) {
|
|
3916
|
-
elem.setAttribute(tag, true);
|
|
3917
|
-
}
|
|
3918
|
-
}
|
|
3919
|
-
|
|
3920
|
-
/**
|
|
3921
|
-
* Validates if an element is a specific Auro component.
|
|
3922
|
-
* @param {Object} elem - The element to validate.
|
|
3923
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
3924
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
3925
|
-
*/
|
|
3926
|
-
elementMatch(elem, tagName) {
|
|
3927
|
-
const tag = tagName.toLowerCase();
|
|
3928
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
3929
|
-
|
|
3930
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
3931
|
-
}
|
|
3932
|
-
}
|
|
3933
|
-
|
|
3934
|
-
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3935
|
-
// See LICENSE in the project root for license information.
|
|
3936
|
-
|
|
3937
|
-
// ---------------------------------------------------------------------
|
|
3938
|
-
|
|
3939
|
-
/**
|
|
3940
|
-
* Converts value to an array.
|
|
3941
|
-
* If the value is a JSON string representing an array, it will be parsed.
|
|
3942
|
-
* If the value is already an array, it is returned.
|
|
3943
|
-
* If the value is undefined, it returns undefined.
|
|
3944
|
-
* @private
|
|
3945
|
-
* @param {any} value - The value to be converted. Can be a string, array, or undefined.
|
|
3946
|
-
* @returns {Array|undefined} - The converted array or undefined.
|
|
3947
|
-
* @throws {Error} - Throws an error if the value is not an array, undefined,
|
|
3948
|
-
* or if the value cannot be parsed into an array from a JSON string.
|
|
3949
|
-
*/
|
|
3950
|
-
function arrayConverter(value) {
|
|
3951
|
-
// Allow undefined
|
|
3952
|
-
if (value === undefined) {
|
|
3953
|
-
return undefined;
|
|
3954
|
-
}
|
|
3955
|
-
|
|
3956
|
-
// Return the value if it is already an array
|
|
3957
|
-
if (Array.isArray(value)) {
|
|
3958
|
-
return value;
|
|
3959
|
-
}
|
|
3960
|
-
|
|
3961
|
-
try {
|
|
3962
|
-
// If value is a JSON string, parse it
|
|
3963
|
-
const parsed = typeof value === 'string' ? JSON.parse(value) : value;
|
|
3964
|
-
|
|
3965
|
-
// Check if the parsed value is an array
|
|
3966
|
-
if (Array.isArray(parsed)) {
|
|
3967
|
-
return parsed;
|
|
3968
|
-
}
|
|
3969
|
-
} catch (error) {
|
|
3970
|
-
// If JSON parsing fails, continue to throw an error below
|
|
3971
|
-
/* eslint-disable no-console */
|
|
3972
|
-
console.error('JSON parsing failed:', error);
|
|
3973
|
-
}
|
|
3974
|
-
|
|
3975
|
-
// Throw error if the input is not an array or undefined
|
|
3976
|
-
throw new Error('Invalid value: Input must be an array or undefined');
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3979
|
-
/**
|
|
3980
|
-
* Compare two arrays for equality.
|
|
3981
|
-
* @private
|
|
3982
|
-
* @param {Array} arr1 - First array to compare.
|
|
3983
|
-
* @param {Array} arr2 - Second array to compare.
|
|
3984
|
-
* @returns {boolean} True if arrays are equal.
|
|
3985
|
-
*/
|
|
3986
|
-
function arraysAreEqual(arr1, arr2) {
|
|
3987
|
-
// If both arrays undefined, they are equal (true)
|
|
3988
|
-
if (arr1 === undefined || arr2 === undefined) {
|
|
3989
|
-
return arr1 === arr2;
|
|
3990
|
-
}
|
|
3991
|
-
|
|
3992
|
-
// If arrays have different lengths, they are not equal
|
|
3993
|
-
if (arr1.length !== arr2.length) {
|
|
3994
|
-
return false;
|
|
3995
|
-
}
|
|
3996
|
-
|
|
3997
|
-
// If every item at each index is the same, return true
|
|
3998
|
-
for (let index = 0; index < arr1.length; index += 1) {
|
|
3999
|
-
if (arr1[index] !== arr2[index]) {
|
|
4000
|
-
return false;
|
|
4001
|
-
}
|
|
4002
|
-
}
|
|
4003
|
-
return true;
|
|
4004
|
-
}
|
|
4005
|
-
|
|
4006
|
-
/**
|
|
4007
|
-
* Compares array for changes.
|
|
4008
|
-
* @private
|
|
4009
|
-
* @param {Array|any} newVal - New value to compare.
|
|
4010
|
-
* @param {Array|any} oldVal - Old value to compare.
|
|
4011
|
-
* @returns {boolean} True if arrays have changed.
|
|
4012
|
-
*/
|
|
4013
|
-
function arrayOrUndefinedHasChanged(newVal, oldVal) {
|
|
4014
|
-
try {
|
|
4015
|
-
// Check if values are undefined or arrays
|
|
4016
|
-
const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
|
|
4017
|
-
|
|
4018
|
-
// If non-array or non-undefined, throw error
|
|
4019
|
-
if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
|
|
4020
|
-
const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
|
|
4021
|
-
throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
|
|
4022
|
-
}
|
|
4023
|
-
|
|
4024
|
-
// Return true if arrays have changed, false if they are the same
|
|
4025
|
-
return !arraysAreEqual(newVal, oldVal);
|
|
4026
|
-
} catch (error) {
|
|
4027
|
-
/* eslint-disable no-console */
|
|
4028
|
-
console.error(error);
|
|
4029
|
-
// If validation fails, it has changed
|
|
4030
|
-
return true;
|
|
4031
|
-
}
|
|
4032
|
-
}
|
|
4033
|
-
|
|
4034
|
-
/**
|
|
4035
|
-
* Validates if an option can be interacted with.
|
|
4036
|
-
* @private
|
|
4037
|
-
* @param {HTMLElement} option - The option to check.
|
|
4038
|
-
* @returns {boolean} True if option is interactive.
|
|
4039
|
-
*/
|
|
4040
|
-
function isOptionInteractive(option) {
|
|
4041
|
-
return !option.hasAttribute('hidden') &&
|
|
4042
|
-
!option.hasAttribute('disabled') &&
|
|
4043
|
-
!option.hasAttribute('static');
|
|
4044
|
-
}
|
|
4045
|
-
|
|
4046
|
-
/**
|
|
4047
|
-
* Helper method to dispatch custom events.
|
|
4048
|
-
* @param {HTMLElement} element - Element to dispatch event from.
|
|
4049
|
-
* @param {string} eventName - Name of the event to dispatch.
|
|
4050
|
-
* @param {Object} [detail] - Optional detail object to include with the event.
|
|
4051
|
-
*/
|
|
4052
|
-
function dispatchMenuEvent(element, eventName, detail = null) {
|
|
4053
|
-
const eventConfig = {
|
|
4054
|
-
bubbles: true,
|
|
4055
|
-
cancelable: false,
|
|
4056
|
-
composed: true
|
|
4057
|
-
};
|
|
4058
|
-
|
|
4059
|
-
if (detail !== null) {
|
|
4060
|
-
eventConfig.detail = detail;
|
|
4061
|
-
}
|
|
4062
|
-
|
|
4063
|
-
element.dispatchEvent(new CustomEvent(eventName, eventConfig));
|
|
4064
|
-
}
|
|
4065
|
-
|
|
4066
|
-
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4067
|
-
// See LICENSE in the project root for license information.
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
4072
|
-
/**
|
|
4073
|
-
* The auro-menu element provides users a way to select from a list of options.
|
|
4074
|
-
* @attr {Array<HTMLElement>|undefined} optionselected - An array of currently selected menu options. In single-select mode, the array will contain only one HTMLElement. `undefined` when no options are selected.
|
|
4075
|
-
* @attr {object} optionactive - Specifies the current active menuOption.
|
|
4076
|
-
* @attr {string} matchword - Specifies a string used to highlight matched string parts in options.
|
|
4077
|
-
* @attr {boolean} disabled - When true, the entire menu and all options are disabled;
|
|
4078
|
-
* @attr {boolean} nocheckmark - When true, selected option will not show the checkmark.
|
|
4079
|
-
* @attr {boolean} loading - When true, displays a loading state using the loadingIcon and loadingText slots if provided.
|
|
4080
|
-
* @attr {boolean} multiselect - When true, the selected option can be multiple options.
|
|
4081
|
-
* @attr {Array<string>|undefined} value - Value selected for the menu. `undefined` when no selection has been made, otherwise an array of strings. In single-select mode, the array will contain only one value.
|
|
4082
|
-
* @prop {boolean} hasLoadingPlaceholder - Indicates whether the menu has a loadingIcon or loadingText to render when in a loading state.
|
|
4083
|
-
* @event {CustomEvent<Element>} auroMenu-activatedOption - Notifies that a menuoption has been made `active`.
|
|
4084
|
-
* @event {CustomEvent<any>} auroMenu-customEventFired - Notifies that a custom event has been fired.
|
|
4085
|
-
* @event {CustomEvent<{ loading: boolean; hasLoadingPlaceholder: boolean; }>} auroMenu-loadingChange - Notifies when the loading attribute is changed.
|
|
4086
|
-
* @event {CustomEvent<any>} auroMenu-selectValueFailure - Notifies that an attempt to select a menuoption by matching a value has failed.
|
|
4087
|
-
* @event {CustomEvent<any>} auroMenu-selectValueReset - Notifies that the component value has been reset.
|
|
4088
|
-
* @event {CustomEvent<any>} auroMenu-selectedOption - Notifies that a new menuoption selection has been made.
|
|
4089
|
-
* @slot loadingText - Text to show while loading attribute is set
|
|
4090
|
-
* @slot loadingIcon - Icon to show while loading attribute is set
|
|
4091
|
-
* @slot - Slot for insertion of menu options.
|
|
4092
|
-
*/
|
|
4093
|
-
|
|
4094
|
-
/* eslint-disable no-magic-numbers, max-lines */
|
|
4095
|
-
|
|
4096
|
-
class AuroMenu extends r {
|
|
4097
|
-
constructor() {
|
|
4098
|
-
super();
|
|
4099
|
-
|
|
4100
|
-
// State properties (reactive)
|
|
4101
|
-
|
|
4102
|
-
// Value of the selected options
|
|
4103
|
-
this.value = undefined;
|
|
4104
|
-
// Currently selected option
|
|
4105
|
-
this.optionSelected = undefined;
|
|
4106
|
-
// String used for highlighting/filtering
|
|
4107
|
-
this.matchWord = undefined;
|
|
4108
|
-
// Hide the checkmark icon on selected options
|
|
4109
|
-
this.noCheckmark = false;
|
|
4110
|
-
// Currently active option
|
|
4111
|
-
this.optionActive = undefined;
|
|
4112
|
-
// Loading state
|
|
4113
|
-
this.loading = false;
|
|
4114
|
-
// Multi-select mode
|
|
4115
|
-
this.multiSelect = false;
|
|
4116
|
-
|
|
4117
|
-
// Event Bindings
|
|
4118
|
-
|
|
4119
|
-
/**
|
|
4120
|
-
* @private
|
|
4121
|
-
*/
|
|
4122
|
-
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
4123
|
-
|
|
4124
|
-
/**
|
|
4125
|
-
* @private
|
|
4126
|
-
*/
|
|
4127
|
-
this.handleMouseSelect = this.handleMouseSelect.bind(this);
|
|
4128
|
-
|
|
4129
|
-
/**
|
|
4130
|
-
* @private
|
|
4131
|
-
*/
|
|
4132
|
-
this.handleOptionHover = this.handleOptionHover.bind(this);
|
|
4133
|
-
|
|
4134
|
-
/**
|
|
4135
|
-
* @private
|
|
4136
|
-
*/
|
|
4137
|
-
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
4138
|
-
|
|
4139
|
-
// Instance properties (non-reactive)
|
|
4140
|
-
|
|
4141
|
-
/**
|
|
4142
|
-
* @private
|
|
4143
|
-
*/
|
|
4144
|
-
Object.assign(this, {
|
|
4145
|
-
// Root-level menu (true) or a nested submenu (false)
|
|
4146
|
-
rootMenu: true,
|
|
4147
|
-
// Currently focused/active menu item index
|
|
4148
|
-
index: -1,
|
|
4149
|
-
// Nested menu spacer
|
|
4150
|
-
nestingSpacer: '<span class="nestingSpacer"></span>',
|
|
4151
|
-
// Loading indicator for slot elements
|
|
4152
|
-
loadingSlots: null,
|
|
4153
|
-
// Store for menu items
|
|
4154
|
-
items: [],
|
|
4155
|
-
});
|
|
4156
|
-
}
|
|
4157
|
-
|
|
4158
|
-
static get properties() {
|
|
4159
|
-
return {
|
|
4160
|
-
noCheckmark: {
|
|
4161
|
-
type: Boolean,
|
|
4162
|
-
reflect: true,
|
|
4163
|
-
attribute: 'nocheckmark'
|
|
4164
|
-
},
|
|
4165
|
-
disabled: {
|
|
4166
|
-
type: Boolean,
|
|
4167
|
-
reflect: true
|
|
4168
|
-
},
|
|
4169
|
-
loading: {
|
|
4170
|
-
type: Boolean,
|
|
4171
|
-
reflect: true
|
|
4172
|
-
},
|
|
4173
|
-
optionSelected: {
|
|
4174
|
-
// Allow HTMLElement[] arrays and undefined
|
|
4175
|
-
converter: arrayConverter,
|
|
4176
|
-
hasChanged: arrayOrUndefinedHasChanged
|
|
4177
|
-
},
|
|
4178
|
-
optionActive: {
|
|
4179
|
-
type: Object,
|
|
4180
|
-
attribute: 'optionactive'
|
|
4181
|
-
},
|
|
4182
|
-
matchWord: {
|
|
4183
|
-
type: String,
|
|
4184
|
-
attribute: 'matchword'
|
|
4185
|
-
},
|
|
4186
|
-
multiSelect: {
|
|
4187
|
-
type: Boolean,
|
|
4188
|
-
reflect: true,
|
|
4189
|
-
attribute: 'multiselect'
|
|
4190
|
-
},
|
|
4191
|
-
value: {
|
|
4192
|
-
// Allow string[] arrays and undefined
|
|
4193
|
-
type: Object,
|
|
4194
|
-
converter: arrayConverter,
|
|
4195
|
-
hasChanged: arrayOrUndefinedHasChanged
|
|
4196
|
-
}
|
|
4197
|
-
};
|
|
4198
|
-
}
|
|
4199
|
-
|
|
4200
|
-
static get styles() {
|
|
4201
|
-
return [
|
|
4202
|
-
styleCss$2,
|
|
4203
|
-
colorCss$2,
|
|
4204
|
-
tokensCss$1
|
|
4205
|
-
];
|
|
4206
|
-
}
|
|
4207
|
-
|
|
4208
|
-
/**
|
|
4209
|
-
* This will register this element with the browser.
|
|
4210
|
-
* @param {string} [name="auro-menu"] - The name of element that you want to register to.
|
|
4211
|
-
*
|
|
4212
|
-
* @example
|
|
4213
|
-
* AuroMenu.register("custom-menu") // this will register this element to <custom-menu/>
|
|
4214
|
-
*
|
|
4215
|
-
*/
|
|
4216
|
-
static register(name = "auro-menu") {
|
|
4217
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroMenu);
|
|
4218
|
-
}
|
|
4219
|
-
|
|
4220
|
-
// Lifecycle Methods
|
|
4221
|
-
|
|
4222
|
-
connectedCallback() {
|
|
4223
|
-
super.connectedCallback();
|
|
4224
|
-
|
|
4225
|
-
this.addEventListener('keydown', this.handleKeyDown);
|
|
4226
|
-
this.addEventListener('mousedown', this.handleMouseSelect);
|
|
4227
|
-
this.addEventListener('auroMenuOption-mouseover', this.handleOptionHover);
|
|
4228
|
-
this.addEventListener('slotchange', this.handleSlotChange);
|
|
4229
|
-
}
|
|
4230
|
-
|
|
4231
|
-
disconnectedCallback() {
|
|
4232
|
-
this.removeEventListener('keydown', this.handleKeyDown);
|
|
4233
|
-
this.removeEventListener('mousedown', this.handleMouseSelect);
|
|
4234
|
-
this.removeEventListener('auroMenuOption-mouseover', this.handleOptionHover);
|
|
4235
|
-
this.removeEventListener('slotchange', this.handleSlotChange);
|
|
4236
|
-
|
|
4237
|
-
super.disconnectedCallback();
|
|
4238
|
-
}
|
|
4239
|
-
|
|
4240
|
-
firstUpdated() {
|
|
4241
|
-
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-menu');
|
|
4242
|
-
|
|
4243
|
-
this.loadingSlots = this.querySelectorAll("[slot='loadingText'], [slot='loadingIcon']");
|
|
4244
|
-
this.initializeMenu();
|
|
4245
|
-
}
|
|
4246
|
-
|
|
4247
|
-
updated(changedProperties) {
|
|
4248
|
-
if (changedProperties.has('value')) {
|
|
4249
|
-
// Handle null/undefined case
|
|
4250
|
-
if (this.value === undefined || this.value === null) {
|
|
4251
|
-
this.optionSelected = undefined;
|
|
4252
|
-
// Reset index tracking
|
|
4253
|
-
this.index = -1;
|
|
4254
|
-
} else {
|
|
4255
|
-
// Convert single values to arrays
|
|
4256
|
-
const valueArray = Array.isArray(this.value) ? this.value : [this.value];
|
|
4257
|
-
|
|
4258
|
-
// Find all matching options
|
|
4259
|
-
const matchingOptions = this.items.filter((item) => valueArray.includes(item.value));
|
|
4260
|
-
|
|
4261
|
-
if (matchingOptions.length > 0) {
|
|
4262
|
-
if (this.multiSelect) {
|
|
4263
|
-
// For multiselect, keep all matching options
|
|
4264
|
-
this.optionSelected = matchingOptions;
|
|
4265
|
-
} else {
|
|
4266
|
-
// For single select, only use the first match
|
|
4267
|
-
this.optionSelected = [matchingOptions[0]];
|
|
4268
|
-
this.index = this.items.indexOf(matchingOptions[0]);
|
|
4269
|
-
}
|
|
4270
|
-
} else {
|
|
4271
|
-
// No matches found - trigger failure event
|
|
4272
|
-
dispatchMenuEvent(this, 'auroMenu-selectValueFailure');
|
|
4273
|
-
this.optionSelected = undefined;
|
|
4274
|
-
this.index = -1;
|
|
4275
|
-
}
|
|
4276
|
-
}
|
|
4277
|
-
|
|
4278
|
-
// Update UI state
|
|
4279
|
-
this.updateItemsState(new Map([
|
|
4280
|
-
[
|
|
4281
|
-
'optionSelected',
|
|
4282
|
-
true
|
|
4283
|
-
]
|
|
4284
|
-
]));
|
|
4285
|
-
|
|
4286
|
-
// Notify of changes
|
|
4287
|
-
if (this.optionSelected !== undefined) {
|
|
4288
|
-
this.notifySelectionChange();
|
|
4289
|
-
}
|
|
4290
|
-
}
|
|
4291
|
-
|
|
4292
|
-
// Process all other UI updates
|
|
4293
|
-
this.updateItemsState(changedProperties);
|
|
4294
|
-
}
|
|
4295
|
-
|
|
4296
|
-
/**
|
|
4297
|
-
* Updates the UI state and appearance of menu items based on changed properties.
|
|
4298
|
-
* @private
|
|
4299
|
-
* @param {Map<string, boolean>} changedProperties - LitElement's changed properties map.
|
|
4300
|
-
*/
|
|
4301
|
-
updateItemsState(changedProperties) {
|
|
4302
|
-
if (!this.items) {
|
|
4303
|
-
return;
|
|
4304
|
-
}
|
|
4305
|
-
|
|
4306
|
-
// Handle noCheckmark propagation to all menus and options
|
|
4307
|
-
if (changedProperties.has('noCheckmark') && this.noCheckmark) {
|
|
4308
|
-
// Update both menus and options
|
|
4309
|
-
this.querySelectorAll('auro-menu, [auro-menu], auro-menuoption, [auro-menuoption]').forEach((element) => element.setAttribute('noCheckmark', ''));
|
|
4310
|
-
}
|
|
4311
|
-
|
|
4312
|
-
// Regex for matchWord if needed
|
|
4313
|
-
let regexWord = null;
|
|
4314
|
-
|
|
4315
|
-
if (changedProperties.has('matchWord') && this.matchWord && this.matchWord.length) {
|
|
4316
|
-
const escapedWord = this.matchWord.replace(/[.*+?^${}()|[\]\\]/gu, '\\$&');
|
|
4317
|
-
regexWord = new RegExp(escapedWord, 'giu');
|
|
4318
|
-
}
|
|
4319
|
-
|
|
4320
|
-
// Handle direct item updates
|
|
4321
|
-
this.items.forEach((option) => {
|
|
4322
|
-
// Update selection if option or value changed
|
|
4323
|
-
if (changedProperties.has('optionSelected') || changedProperties.has('value')) {
|
|
4324
|
-
const isSelected = this.isOptionSelected(option);
|
|
4325
|
-
option.setAttribute('aria-selected', isSelected ? 'true' : 'false');
|
|
4326
|
-
|
|
4327
|
-
// Add/remove selected attribute based on state
|
|
4328
|
-
if (isSelected) {
|
|
4329
|
-
option.setAttribute('selected', '');
|
|
4330
|
-
} else {
|
|
4331
|
-
option.removeAttribute('selected');
|
|
4332
|
-
}
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
// Update text highlighting if matchWord changed
|
|
4336
|
-
if (changedProperties.has('matchWord') && regexWord &&
|
|
4337
|
-
isOptionInteractive(option) && !option.hasAttribute('persistent')) {
|
|
4338
|
-
const nested = option.querySelectorAll('.nestingSpacer');
|
|
4339
|
-
// Create nested spacers
|
|
4340
|
-
const nestingSpacerBundle = [...nested].map(() => this.nestingSpacer).join('');
|
|
4341
|
-
|
|
4342
|
-
// Update with spacers and matchWord
|
|
4343
|
-
option.innerHTML = nestingSpacerBundle +
|
|
4344
|
-
option.textContent.replace(
|
|
4345
|
-
regexWord,
|
|
4346
|
-
(match) => `<strong>${match}</strong>`
|
|
4347
|
-
);
|
|
4348
|
-
}
|
|
4349
|
-
|
|
4350
|
-
// Update disabled state
|
|
4351
|
-
if (changedProperties.has('disabled')) {
|
|
4352
|
-
option.disabled = this.disabled;
|
|
4353
|
-
}
|
|
4354
|
-
});
|
|
4355
|
-
|
|
4356
|
-
// Handle loading state changes
|
|
4357
|
-
if (changedProperties.has('loading')) {
|
|
4358
|
-
this.setAttribute("aria-busy", this.loading);
|
|
4359
|
-
dispatchMenuEvent(this, "auroMenu-loadingChange", {
|
|
4360
|
-
loading: this.loading,
|
|
4361
|
-
hasLoadingPlaceholder: this.hasLoadingPlaceholder
|
|
4362
|
-
});
|
|
4363
|
-
}
|
|
4364
|
-
}
|
|
4365
|
-
|
|
4366
|
-
// Init Methods
|
|
4367
|
-
|
|
4368
|
-
/**
|
|
4369
|
-
* Initializes the menu's state and structure.
|
|
4370
|
-
* @private
|
|
4371
|
-
*/
|
|
4372
|
-
initializeMenu() {
|
|
4373
|
-
this.initItems();
|
|
4374
|
-
if (this.rootMenu) {
|
|
4375
|
-
this.setAttribute('role', 'listbox');
|
|
4376
|
-
this.setAttribute('root', '');
|
|
4377
|
-
this.handleNestedMenus(this);
|
|
4378
|
-
}
|
|
4379
|
-
}
|
|
4380
|
-
|
|
4381
|
-
/**
|
|
4382
|
-
* Initializes menu items and their attributes.
|
|
4383
|
-
* @private
|
|
4384
|
-
*/
|
|
4385
|
-
initItems() {
|
|
4386
|
-
this.items = Array.from(this.querySelectorAll('auro-menuoption, [auro-menuoption]'));
|
|
4387
|
-
if (this.noCheckmark) {
|
|
4388
|
-
this.updateItemsState(new Map([
|
|
4389
|
-
[
|
|
4390
|
-
'noCheckmark',
|
|
4391
|
-
true
|
|
4392
|
-
]
|
|
4393
|
-
]));
|
|
4394
|
-
}
|
|
4395
|
-
}
|
|
4396
|
-
|
|
4397
|
-
// Logic Methods
|
|
4398
|
-
|
|
4399
|
-
/**
|
|
4400
|
-
* Updates menu state when an option is selected.
|
|
4401
|
-
* @private
|
|
4402
|
-
* @param {HTMLElement} option - The option element to select.
|
|
4403
|
-
*/
|
|
4404
|
-
handleSelectState(option) {
|
|
4405
|
-
if (this.multiSelect) {
|
|
4406
|
-
const currentValue = this.value || [];
|
|
4407
|
-
const currentSelected = this.optionSelected || [];
|
|
4408
|
-
|
|
4409
|
-
if (!currentValue.includes(option.value)) {
|
|
4410
|
-
this.value = [
|
|
4411
|
-
...currentValue,
|
|
4412
|
-
option.value
|
|
4413
|
-
];
|
|
4414
|
-
}
|
|
4415
|
-
if (!currentSelected.includes(option)) {
|
|
4416
|
-
this.optionSelected = [
|
|
4417
|
-
...currentSelected,
|
|
4418
|
-
option
|
|
4419
|
-
];
|
|
4420
|
-
}
|
|
4421
|
-
} else {
|
|
4422
|
-
// Single select - use arrays with single values
|
|
4423
|
-
this.value = [option.value];
|
|
4424
|
-
this.optionSelected = [option];
|
|
4425
|
-
}
|
|
4426
|
-
|
|
4427
|
-
this.index = this.items.indexOf(option);
|
|
4428
|
-
}
|
|
4429
|
-
|
|
4430
|
-
/**
|
|
4431
|
-
* Deselects a menu option and updates related state.
|
|
4432
|
-
* @private
|
|
4433
|
-
* @param {HTMLElement} option - The menuoption to be deselected.
|
|
4434
|
-
*/
|
|
4435
|
-
handleDeselectState(option) {
|
|
4436
|
-
if (this.multiSelect && Array.isArray(this.value)) {
|
|
4437
|
-
// Remove this option from array
|
|
4438
|
-
this.value = this.value.filter((val) => val !== option.value);
|
|
4439
|
-
|
|
4440
|
-
// If array is empty after removal, set back to undefined
|
|
4441
|
-
if (this.value.length === 0) {
|
|
4442
|
-
this.value = undefined;
|
|
4443
|
-
}
|
|
4444
|
-
|
|
4445
|
-
this.optionSelected = this.optionSelected.filter((val) => val !== option);
|
|
4446
|
-
if (this.optionSelected.length === 0) {
|
|
4447
|
-
this.optionSelected = undefined;
|
|
4448
|
-
}
|
|
4449
|
-
} else {
|
|
4450
|
-
// For single-select: Back to undefined when deselected
|
|
4451
|
-
this.value = undefined;
|
|
4452
|
-
this.optionSelected = undefined;
|
|
4453
|
-
}
|
|
4454
|
-
|
|
4455
|
-
// Update the index tracking
|
|
4456
|
-
this.index = this.items.indexOf(option);
|
|
4457
|
-
|
|
4458
|
-
// Update UI to reflect changes
|
|
4459
|
-
this.updateItemsState(new Map([
|
|
4460
|
-
[
|
|
4461
|
-
'optionSelected',
|
|
4462
|
-
true
|
|
4463
|
-
]
|
|
4464
|
-
]));
|
|
4465
|
-
|
|
4466
|
-
// Notify of selection change
|
|
4467
|
-
this.notifySelectionChange();
|
|
4468
|
-
}
|
|
4469
|
-
|
|
4470
|
-
/**
|
|
4471
|
-
* Resets all options to their default state.
|
|
4472
|
-
* @private
|
|
4473
|
-
*/
|
|
4474
|
-
clearSelection() {
|
|
4475
|
-
this.optionSelected = undefined;
|
|
4476
|
-
this.value = undefined;
|
|
4477
|
-
}
|
|
4478
|
-
|
|
4479
|
-
/**
|
|
4480
|
-
* Resets the menu to its initial state.
|
|
4481
|
-
* This is the only way to return value to undefined.
|
|
4482
|
-
* @public
|
|
4483
|
-
*/
|
|
4484
|
-
reset() {
|
|
4485
|
-
// Reset to undefined - initial state
|
|
4486
|
-
this.value = undefined;
|
|
4487
|
-
this.optionSelected = undefined;
|
|
4488
|
-
this.index = -1;
|
|
4489
|
-
|
|
4490
|
-
// Reset UI state
|
|
4491
|
-
this.updateItemsState(new Map([
|
|
4492
|
-
[
|
|
4493
|
-
'optionSelected',
|
|
4494
|
-
true
|
|
4495
|
-
]
|
|
4496
|
-
]));
|
|
4497
|
-
|
|
4498
|
-
// Dispatch reset event
|
|
4499
|
-
dispatchMenuEvent(this, 'auroMenu-selectValueReset');
|
|
4500
|
-
}
|
|
4501
|
-
|
|
4502
|
-
/**
|
|
4503
|
-
* Handles nested menu structure.
|
|
4504
|
-
* @private
|
|
4505
|
-
* @param {HTMLElement} menu - Root menu element.
|
|
4506
|
-
*/
|
|
4507
|
-
handleNestedMenus(menu) {
|
|
4508
|
-
const nestedMenus = menu.querySelectorAll('auro-menu, [auro-menu]');
|
|
4509
|
-
|
|
4510
|
-
nestedMenus.forEach((nestedMenu) => {
|
|
4511
|
-
// role="listbox" only allows "role=group" for children.
|
|
4512
|
-
nestedMenu.setAttribute('role', 'group');
|
|
4513
|
-
if (!nestedMenu.hasAttribute('aria-label')) {
|
|
4514
|
-
nestedMenu.setAttribute('aria-label', 'submenu');
|
|
4515
|
-
}
|
|
4516
|
-
|
|
4517
|
-
const options = nestedMenu.querySelectorAll(':scope > auro-menuoption, :scope > [auro-menuoption]');
|
|
4518
|
-
options.forEach((option) => {
|
|
4519
|
-
option.innerHTML = this.nestingSpacer + option.innerHTML;
|
|
4520
|
-
});
|
|
4521
|
-
|
|
4522
|
-
this.handleNestedMenus(nestedMenu);
|
|
4523
|
-
});
|
|
4524
|
-
}
|
|
4525
|
-
|
|
4526
|
-
// Event Handlers
|
|
4527
|
-
|
|
4528
|
-
/**
|
|
4529
|
-
* Handles keyboard navigation.
|
|
4530
|
-
* @private
|
|
4531
|
-
* @param {KeyboardEvent} event - Event object from the browser.
|
|
4532
|
-
*/
|
|
4533
|
-
handleKeyDown(event) {
|
|
4534
|
-
event.preventDefault();
|
|
4535
|
-
switch (event.key) {
|
|
4536
|
-
case "ArrowDown":
|
|
4537
|
-
this.navigateOptions('down');
|
|
4538
|
-
break;
|
|
4539
|
-
case "ArrowUp":
|
|
4540
|
-
this.navigateOptions('up');
|
|
4541
|
-
break;
|
|
4542
|
-
case "Enter":
|
|
4543
|
-
this.makeSelection();
|
|
4544
|
-
break;
|
|
4545
|
-
}
|
|
4546
|
-
}
|
|
4547
|
-
|
|
4548
|
-
/**
|
|
4549
|
-
* Makes a selection based on the current index or clicked option.
|
|
4550
|
-
* @private
|
|
4551
|
-
*/
|
|
4552
|
-
makeSelection() {
|
|
4553
|
-
if (!this.items) {
|
|
4554
|
-
this.initItems();
|
|
4555
|
-
}
|
|
4556
|
-
|
|
4557
|
-
// Get currently selected menu option based on index
|
|
4558
|
-
const option = this.items[this.index];
|
|
4559
|
-
|
|
4560
|
-
// Return early if option is not interactive
|
|
4561
|
-
if (!option || !isOptionInteractive(option)) {
|
|
4562
|
-
return;
|
|
4563
|
-
}
|
|
4564
|
-
|
|
4565
|
-
// Handle custom events first
|
|
4566
|
-
if (option.hasAttribute('event')) {
|
|
4567
|
-
this.handleCustomEvent(option);
|
|
4568
|
-
return;
|
|
4569
|
-
}
|
|
4570
|
-
|
|
4571
|
-
if (this.multiSelect) {
|
|
4572
|
-
// In multiselect, toggle individual selections
|
|
4573
|
-
this.toggleOption(option);
|
|
4574
|
-
// In single select, only handle selection of new options
|
|
4575
|
-
} else if (!this.isOptionSelected(option)) {
|
|
4576
|
-
this.clearSelection();
|
|
4577
|
-
this.handleSelectState(option);
|
|
4578
|
-
}
|
|
4579
|
-
|
|
4580
|
-
this.notifySelectionChange();
|
|
4581
|
-
}
|
|
4582
|
-
|
|
4583
|
-
/**
|
|
4584
|
-
* Toggle the selection state of the menuoption.
|
|
4585
|
-
* @private
|
|
4586
|
-
* @param {HTMLElement} option - The menuoption to toggle.
|
|
4587
|
-
*/
|
|
4588
|
-
toggleOption(option) {
|
|
4589
|
-
const isCurrentlySelected = this.isOptionSelected(option);
|
|
4590
|
-
|
|
4591
|
-
if (isCurrentlySelected) {
|
|
4592
|
-
this.handleDeselectState(option);
|
|
4593
|
-
} else if (option.value === undefined || option.value === '') {
|
|
4594
|
-
dispatchMenuEvent(this, 'auroMenu-selectValueFailure');
|
|
4595
|
-
} else {
|
|
4596
|
-
this.handleSelectState(option);
|
|
4597
|
-
}
|
|
4598
|
-
}
|
|
4599
|
-
|
|
4600
|
-
/**
|
|
4601
|
-
* Handles option selection via mouse.
|
|
4602
|
-
* @private
|
|
4603
|
-
* @param {MouseEvent} event - Event object from the browser.
|
|
4604
|
-
*/
|
|
4605
|
-
handleMouseSelect(event) {
|
|
4606
|
-
if (event.target === this) {
|
|
4607
|
-
return;
|
|
4608
|
-
}
|
|
4609
|
-
|
|
4610
|
-
const option = event.target.closest('auro-menuoption, [auro-menuoption]');
|
|
4611
|
-
if (option) {
|
|
4612
|
-
this.index = this.items.indexOf(option);
|
|
4613
|
-
this.makeSelection();
|
|
4614
|
-
}
|
|
4615
|
-
}
|
|
4616
|
-
|
|
4617
|
-
/**
|
|
4618
|
-
* Handles option hover events.
|
|
4619
|
-
* @private
|
|
4620
|
-
* @param {CustomEvent} event - Event object from the browser.
|
|
4621
|
-
*/
|
|
4622
|
-
handleOptionHover(event) {
|
|
4623
|
-
const option = event.target;
|
|
4624
|
-
this.index = this.items.indexOf(option);
|
|
4625
|
-
this.updateActiveOption(this.index);
|
|
4626
|
-
}
|
|
4627
|
-
|
|
4628
|
-
/**
|
|
4629
|
-
* Handles slot change events.
|
|
4630
|
-
* @private
|
|
4631
|
-
*/
|
|
4632
|
-
handleSlotChange() {
|
|
4633
|
-
if (this.parentElement && this.parentElement.closest('auro-menu, [auro-menu]')) {
|
|
4634
|
-
this.rootMenu = false;
|
|
4635
|
-
}
|
|
4636
|
-
|
|
4637
|
-
if (this.rootMenu) {
|
|
4638
|
-
this.initializeMenu();
|
|
4639
|
-
} else if (this.noCheckmark) {
|
|
4640
|
-
this.updateItemsState(new Map([
|
|
4641
|
-
[
|
|
4642
|
-
'noCheckmark',
|
|
4643
|
-
true
|
|
4644
|
-
]
|
|
4645
|
-
]));
|
|
4646
|
-
}
|
|
4647
|
-
}
|
|
4648
|
-
|
|
4649
|
-
/**
|
|
4650
|
-
* Navigates through options using keyboard.
|
|
4651
|
-
* @private
|
|
4652
|
-
* @param {string} direction - 'up' or 'down'.
|
|
4653
|
-
*/
|
|
4654
|
-
navigateOptions(direction) {
|
|
4655
|
-
// Return early if no items exist
|
|
4656
|
-
if (!this.items || !this.items.length) {
|
|
4657
|
-
return;
|
|
4658
|
-
}
|
|
4659
|
-
|
|
4660
|
-
let newIndex = this.index;
|
|
4661
|
-
const increment = direction === 'down' ? 1 : -1;
|
|
4662
|
-
const maxIterations = this.items.length;
|
|
4663
|
-
let iterations = 0;
|
|
4664
|
-
let foundInteractiveOption = false;
|
|
4665
|
-
|
|
4666
|
-
do {
|
|
4667
|
-
newIndex = (newIndex + increment + this.items.length) % this.items.length;
|
|
4668
|
-
iterations += 1;
|
|
4669
|
-
|
|
4670
|
-
// Check if current option is interactive
|
|
4671
|
-
const currentOption = this.items[newIndex];
|
|
4672
|
-
if (isOptionInteractive(currentOption)) {
|
|
4673
|
-
foundInteractiveOption = true;
|
|
4674
|
-
break;
|
|
4675
|
-
}
|
|
4676
|
-
|
|
4677
|
-
// Break if all options were checked
|
|
4678
|
-
if (iterations >= maxIterations) {
|
|
4679
|
-
break;
|
|
4680
|
-
}
|
|
4681
|
-
} while (iterations < maxIterations);
|
|
4682
|
-
|
|
4683
|
-
// Handle the results of the search
|
|
4684
|
-
if (foundInteractiveOption) {
|
|
4685
|
-
// Update only if an interactive option was found
|
|
4686
|
-
this.index = newIndex;
|
|
4687
|
-
this.updateActiveOption(this.index);
|
|
4688
|
-
} else {
|
|
4689
|
-
// All options are disabled or non-interactive
|
|
4690
|
-
// Keep the current index unchanged
|
|
4691
|
-
dispatchMenuEvent(this, 'auroMenu-navigateFailure', {
|
|
4692
|
-
reason: 'No interactive options available',
|
|
4693
|
-
direction,
|
|
4694
|
-
currentIndex: this.index
|
|
4695
|
-
});
|
|
4696
|
-
}
|
|
4697
|
-
}
|
|
4698
|
-
|
|
4699
|
-
/**
|
|
4700
|
-
* Updates the active option state and dispatches events.
|
|
4701
|
-
* @private
|
|
4702
|
-
* @param {number} index - Index of the option to make active.
|
|
4703
|
-
*/
|
|
4704
|
-
updateActiveOption(index) {
|
|
4705
|
-
if (!this.items || !this.items[index]) {
|
|
4706
|
-
return;
|
|
4707
|
-
}
|
|
4708
|
-
|
|
4709
|
-
this.items.forEach((item) => item.classList.remove('active'));
|
|
4710
|
-
this.items[index].classList.add('active');
|
|
4711
|
-
this.optionActive = this.items[index];
|
|
4712
|
-
|
|
4713
|
-
dispatchMenuEvent(this, 'auroMenu-activatedOption', this.items[index]);
|
|
4714
|
-
}
|
|
4715
|
-
|
|
4716
|
-
/**
|
|
4717
|
-
* Handles custom events defined on options.
|
|
4718
|
-
* @private
|
|
4719
|
-
* @param {HTMLElement} option - Option with custom event.
|
|
4720
|
-
*/
|
|
4721
|
-
handleCustomEvent(option) {
|
|
4722
|
-
const eventName = option.getAttribute('event');
|
|
4723
|
-
dispatchMenuEvent(this, eventName);
|
|
4724
|
-
dispatchMenuEvent(this, 'auroMenu-customEventFired');
|
|
4725
|
-
}
|
|
4726
|
-
|
|
4727
|
-
/**
|
|
4728
|
-
* Notifies selection change to parent components.
|
|
4729
|
-
* @private
|
|
4730
|
-
*/
|
|
4731
|
-
notifySelectionChange() {
|
|
4732
|
-
dispatchMenuEvent(this, 'auroMenu-selectedOption');
|
|
4733
|
-
}
|
|
4734
|
-
|
|
4735
|
-
/**
|
|
4736
|
-
* Checks if an option is currently selected.
|
|
4737
|
-
* @private
|
|
4738
|
-
* @param {HTMLElement} option - The option to check.
|
|
4739
|
-
* @returns {boolean}
|
|
4740
|
-
*/
|
|
4741
|
-
isOptionSelected(option) {
|
|
4742
|
-
if (!this.optionSelected) {
|
|
4743
|
-
return false;
|
|
4744
|
-
}
|
|
4745
|
-
// Always treat as array for both single and multi-select
|
|
4746
|
-
return Array.isArray(this.optionSelected) && this.optionSelected.includes(option);
|
|
4747
|
-
}
|
|
4748
|
-
|
|
4749
|
-
/**
|
|
4750
|
-
* Getter for loading placeholder state.
|
|
4751
|
-
* @returns {boolean} - True if loading slots are present and non-empty.
|
|
4752
|
-
*/
|
|
4753
|
-
get hasLoadingPlaceholder() {
|
|
4754
|
-
return this.loadingSlots && this.loadingSlots.length > 0;
|
|
4755
|
-
}
|
|
4756
|
-
|
|
4757
|
-
/**
|
|
4758
|
-
* Renders the component.
|
|
4759
|
-
* @returns {boolean} - True if loading slots are present and non-empty.
|
|
4760
|
-
*/
|
|
4761
|
-
render() {
|
|
4762
|
-
if (this.loading) {
|
|
4763
|
-
return x`
|
|
4764
|
-
<auro-menuoption disabled loadingplaceholder class="${this.hasLoadingPlaceholder ? '' : 'empty'}">
|
|
4765
|
-
<div>
|
|
4766
|
-
<slot name="loadingIcon"></slot>
|
|
4767
|
-
<slot name="loadingText"></slot>
|
|
4768
|
-
</div>
|
|
4769
|
-
</auro-menuoption>
|
|
4770
|
-
`;
|
|
4771
|
-
}
|
|
4772
|
-
|
|
4773
|
-
return x`<slot @slotchange=${this.handleSlotChange}></slot>`;
|
|
4774
|
-
}
|
|
4775
|
-
}
|
|
4776
|
-
|
|
4777
|
-
/**
|
|
4778
|
-
* @license
|
|
4779
|
-
* Copyright 2020 Google LLC
|
|
4780
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4781
|
-
*/
|
|
4782
|
-
const a=Symbol.for(""),o$1=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litStatic$:t,r:a}),i$1=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$1(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u=n(x);
|
|
4783
|
-
|
|
4784
|
-
var styleCss$1 = i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
4785
|
-
|
|
4786
|
-
var colorCss$1 = i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
|
|
4787
|
-
|
|
4788
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
4789
|
-
// See LICENSE in the project root for license information.
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
class AuroDependencyVersioning {
|
|
4793
|
-
|
|
4794
|
-
/**
|
|
4795
|
-
* Generates a unique string to be used for child auro element naming.
|
|
4796
|
-
* @private
|
|
4797
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
4798
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
4799
|
-
* @returns {string} - Unique string to be used for naming.
|
|
4800
|
-
*/
|
|
4801
|
-
generateElementName(baseName, version) {
|
|
4802
|
-
let result = baseName;
|
|
4803
|
-
|
|
4804
|
-
result += '-';
|
|
4805
|
-
result += version.replace(/[.]/g, '_');
|
|
4806
|
-
|
|
4807
|
-
return result;
|
|
4808
|
-
}
|
|
4809
|
-
|
|
4810
|
-
/**
|
|
4811
|
-
* Generates a unique string to be used for child auro element naming.
|
|
4812
|
-
* @param {string} baseName - Defines the first part of the unique element name.
|
|
4813
|
-
* @param {string} version - Version of the component that will be appended to the baseName.
|
|
4814
|
-
* @returns {string} - Unique string to be used for naming.
|
|
4815
|
-
*/
|
|
4816
|
-
generateTag(baseName, version, tagClass) {
|
|
4817
|
-
const elementName = this.generateElementName(baseName, version);
|
|
4818
|
-
const tag = i$1`${s(elementName)}`;
|
|
4819
|
-
|
|
4820
|
-
if (!customElements.get(elementName)) {
|
|
4821
|
-
customElements.define(elementName, class extends tagClass {});
|
|
4822
|
-
}
|
|
4823
|
-
|
|
4824
|
-
return tag;
|
|
4825
|
-
}
|
|
4826
|
-
}
|
|
4827
|
-
|
|
4828
|
-
/**
|
|
4829
|
-
* @license
|
|
4830
|
-
* Copyright 2017 Google LLC
|
|
4831
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4832
|
-
*/
|
|
4833
|
-
const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
4834
|
-
|
|
4835
|
-
/**
|
|
4836
|
-
* @license
|
|
4837
|
-
* Copyright 2018 Google LLC
|
|
4838
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4839
|
-
*/const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
|
|
4840
|
-
|
|
4841
|
-
/**
|
|
4842
|
-
* @license
|
|
4843
|
-
* Copyright 2018 Google LLC
|
|
4844
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
4845
|
-
*/const o=o=>o??E;
|
|
4846
|
-
|
|
4847
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4848
|
-
// See LICENSE in the project root for license information.
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
/**
|
|
4852
|
-
* @attr {Boolean} hidden - If present, the component will be hidden both visually and from screen readers
|
|
4853
|
-
* @attr {Boolean} hiddenVisually - If present, the component will be hidden visually, but still read by screen readers
|
|
4854
|
-
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
4855
|
-
*/
|
|
4856
|
-
|
|
4857
|
-
class AuroElement extends r {
|
|
4858
|
-
|
|
4859
|
-
// function to define props used within the scope of this component
|
|
4860
|
-
static get properties() {
|
|
4861
|
-
return {
|
|
4862
|
-
hidden: { type: Boolean,
|
|
4863
|
-
reflect: true },
|
|
4864
|
-
hiddenVisually: { type: Boolean,
|
|
4865
|
-
reflect: true },
|
|
4866
|
-
hiddenAudible: { type: Boolean,
|
|
4867
|
-
reflect: true },
|
|
4868
|
-
};
|
|
4869
|
-
}
|
|
4870
|
-
|
|
4871
|
-
/**
|
|
4872
|
-
* @private Function that determines state of aria-hidden
|
|
4873
|
-
*/
|
|
4874
|
-
hideAudible(value) {
|
|
4875
|
-
if (value) {
|
|
4876
|
-
return 'true'
|
|
4877
|
-
}
|
|
4878
|
-
|
|
4879
|
-
return 'false'
|
|
4880
|
-
}
|
|
4881
|
-
}
|
|
4882
|
-
|
|
4883
|
-
var error = {"role":"img","color":"currentColor","title":"","desc":"Error alert indicator.","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":"error","category":"alert","deprecated":true,"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" 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=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
4884
|
-
|
|
4885
|
-
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
4886
|
-
|
|
4887
|
-
const _fetchMap = new Map();
|
|
4888
|
-
|
|
4889
|
-
/**
|
|
4890
|
-
* A callback to parse Response body.
|
|
4891
|
-
*
|
|
4892
|
-
* @callback ResponseParser
|
|
4893
|
-
* @param {Fetch.Response} response
|
|
4894
|
-
* @returns {Promise}
|
|
4895
|
-
*/
|
|
4896
|
-
|
|
4897
|
-
/**
|
|
4898
|
-
* A minimal in-memory map to de-duplicate Fetch API media requests.
|
|
4899
|
-
*
|
|
4900
|
-
* @param {String} uri
|
|
4901
|
-
* @param {Object} [options={}]
|
|
4902
|
-
* @param {ResponseParser} [options.responseParser=(response) => response.text()]
|
|
4903
|
-
* @returns {Promise}
|
|
4904
|
-
*/
|
|
4905
|
-
const cacheFetch = (uri, options = {}) => {
|
|
4906
|
-
const responseParser = options.responseParser || ((response) => response.text());
|
|
4907
|
-
if (!_fetchMap.has(uri)) {
|
|
4908
|
-
_fetchMap.set(uri, fetch(uri).then(responseParser));
|
|
4909
|
-
}
|
|
4910
|
-
return _fetchMap.get(uri);
|
|
4911
|
-
};
|
|
4912
|
-
|
|
4913
|
-
var styleCss$3 = i$5`*,*: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}`;
|
|
4914
|
-
|
|
4915
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4916
|
-
// See LICENSE in the project root for license information.
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
4920
|
-
/**
|
|
4921
|
-
* @attr {Boolean} onDark - Set value for on-dark version of auro-icon
|
|
4922
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed
|
|
4923
|
-
*/
|
|
4924
|
-
|
|
4925
|
-
// build the component class
|
|
4926
|
-
class BaseIcon extends AuroElement {
|
|
4927
|
-
constructor() {
|
|
4928
|
-
super();
|
|
4929
|
-
this.onDark = false;
|
|
4930
|
-
}
|
|
4931
|
-
|
|
4932
|
-
// function to define props used within the scope of this component
|
|
4933
|
-
static get properties() {
|
|
4934
|
-
return {
|
|
4935
|
-
...super.properties,
|
|
4936
|
-
onDark: {
|
|
4937
|
-
type: Boolean,
|
|
4938
|
-
reflect: true
|
|
4939
|
-
},
|
|
4940
|
-
|
|
4941
|
-
/**
|
|
4942
|
-
* @private
|
|
4943
|
-
*/
|
|
4944
|
-
svg: {
|
|
4945
|
-
attribute: false,
|
|
4946
|
-
reflect: true
|
|
4947
|
-
}
|
|
4948
|
-
};
|
|
4949
|
-
}
|
|
4950
|
-
|
|
4951
|
-
static get styles() {
|
|
4952
|
-
return i$5`
|
|
4953
|
-
${styleCss$3}
|
|
4954
|
-
`;
|
|
4955
|
-
}
|
|
4956
|
-
|
|
4957
|
-
/**
|
|
4958
|
-
* Async function to fetch requested icon from npm CDN.
|
|
4959
|
-
* @private
|
|
4960
|
-
* @param {string} category - Icon category.
|
|
4961
|
-
* @param {string} name - Icon name.
|
|
4962
|
-
* @returns {SVGElement} DOM - Ready HTML to be appended.
|
|
4963
|
-
*/
|
|
4964
|
-
async fetchIcon(category, name) {
|
|
4965
|
-
let iconHTML = '';
|
|
4966
|
-
|
|
4967
|
-
if (category === 'logos') {
|
|
4968
|
-
iconHTML = await cacheFetch(`${this.uri}/${category}/${name}.svg`);
|
|
4969
|
-
} else {
|
|
4970
|
-
iconHTML = await cacheFetch(`${this.uri}/icons/${category}/${name}.svg`);
|
|
4971
|
-
}
|
|
4972
|
-
|
|
4973
|
-
const dom = new DOMParser().parseFromString(iconHTML, 'text/html');
|
|
4974
|
-
|
|
4975
|
-
return dom.body.querySelector('svg');
|
|
4976
|
-
}
|
|
4977
|
-
|
|
4978
|
-
// lifecycle function
|
|
4979
|
-
async firstUpdated() {
|
|
4980
|
-
if (!this.customSvg) {
|
|
4981
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
4982
|
-
|
|
4983
|
-
if (svg) {
|
|
4984
|
-
this.svg = svg;
|
|
4985
|
-
} else if (!svg) {
|
|
4986
|
-
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
4987
|
-
|
|
4988
|
-
this.svg = penDOM.body.firstChild;
|
|
4989
|
-
}
|
|
4990
|
-
}
|
|
4991
|
-
}
|
|
4992
|
-
}
|
|
4993
|
-
|
|
4994
|
-
var tokensCss$2 = i$5`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
4995
|
-
|
|
4996
|
-
var colorCss$3 = i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
4997
|
-
|
|
4998
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
4999
|
-
// See LICENSE in the project root for license information.
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
5003
|
-
/**
|
|
5004
|
-
* auro-icon provides users a way to use the Auro Icons by simply passing in the category and name.
|
|
5005
|
-
*
|
|
5006
|
-
* @attr {String} category - The category of the icon you are looking for. See https://auro.alaskaair.com/icons/usage.
|
|
5007
|
-
* @attr {String} name - The name of the icon you are looking for without the file extension. See https://auro.alaskaair.com/icons/usage
|
|
5008
|
-
* @attr {Boolean} customColor - Removes primary selector.
|
|
5009
|
-
* @attr {Boolean} customSvg - When true, auro-icon will render a custom SVG inside the default slot.
|
|
5010
|
-
* @attr {Boolean} label - Exposes content in slot as icon label.
|
|
5011
|
-
* @attr {Boolean} primary - DEPRECATED: Sets the icon to use the baseline primary icon style.
|
|
5012
|
-
* @attr {Boolean} accent - Sets the icon to use the accent style.
|
|
5013
|
-
* @attr {Boolean} emphasis - Sets the icon to use the emphasis style.
|
|
5014
|
-
* @attr {Boolean} disabled - Sets the icon to use the disabled style.
|
|
5015
|
-
* @attr {Boolean} error - Sets the icon to use the error style.
|
|
5016
|
-
* @attr {Boolean} info - Sets the icon to use the info style.
|
|
5017
|
-
* @attr {Boolean} secondary - Sets the icon to use the secondary style.
|
|
5018
|
-
* @attr {Boolean} tertiary - Sets the icon to use the tertiary style.
|
|
5019
|
-
* @attr {Boolean} subtle - Sets the icon to use the subtle style.
|
|
5020
|
-
* @attr {Boolean} success - Sets the icon to use the success style.
|
|
5021
|
-
* @attr {Boolean} warning - Sets the icon to use the warning style.
|
|
5022
|
-
* @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`.
|
|
5023
|
-
* @attr {String} uri - Set the uri for CDN used when fetching icons
|
|
5024
|
-
* @slot - Hidden from visibility, used for a11y if icon description is needed.
|
|
5025
|
-
* @slot svg - Used for custom SVG content.
|
|
5026
|
-
*/
|
|
5027
|
-
|
|
5028
|
-
// build the component class
|
|
5029
|
-
class AuroIcon extends BaseIcon {
|
|
5030
|
-
constructor() {
|
|
5031
|
-
super();
|
|
5032
|
-
|
|
5033
|
-
this.uri = 'https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist';
|
|
5034
|
-
|
|
5035
|
-
this.privateDefaults();
|
|
5036
|
-
}
|
|
5037
|
-
|
|
5038
|
-
/**
|
|
5039
|
-
* Internal Defaults.
|
|
5040
|
-
* @private
|
|
5041
|
-
* @returns {void}
|
|
5042
|
-
*/
|
|
5043
|
-
privateDefaults() {
|
|
5044
|
-
this.accent = false;
|
|
5045
|
-
this.customColor = false;
|
|
5046
|
-
this.customSvg = false;
|
|
5047
|
-
this.disabled = false;
|
|
5048
|
-
this.emphasis = false;
|
|
5049
|
-
this.error = false;
|
|
5050
|
-
this.info = false;
|
|
5051
|
-
this.label = false;
|
|
5052
|
-
this.primary = false;
|
|
5053
|
-
this.secondary = false;
|
|
5054
|
-
this.subtle = false;
|
|
5055
|
-
this.success = false;
|
|
5056
|
-
this.tertiary = false;
|
|
5057
|
-
this.warning = false;
|
|
5058
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
5059
|
-
}
|
|
5060
|
-
|
|
5061
|
-
// function to define props used within the scope of this component
|
|
5062
|
-
static get properties() {
|
|
5063
|
-
return {
|
|
5064
|
-
...super.properties,
|
|
5065
|
-
accent: {
|
|
5066
|
-
type: Boolean,
|
|
5067
|
-
reflect: true
|
|
5068
|
-
},
|
|
5069
|
-
ariaHidden: {
|
|
5070
|
-
type: String,
|
|
5071
|
-
reflect: true
|
|
5072
|
-
},
|
|
5073
|
-
category: {
|
|
5074
|
-
type: String,
|
|
5075
|
-
reflect: true
|
|
5076
|
-
},
|
|
5077
|
-
customColor: {
|
|
5078
|
-
type: Boolean
|
|
5079
|
-
},
|
|
5080
|
-
customSvg: {
|
|
5081
|
-
type: Boolean
|
|
5082
|
-
},
|
|
5083
|
-
disabled: {
|
|
5084
|
-
type: Boolean,
|
|
5085
|
-
reflect: true
|
|
5086
|
-
},
|
|
5087
|
-
emphasis: {
|
|
5088
|
-
type: Boolean,
|
|
5089
|
-
reflect: true
|
|
5090
|
-
},
|
|
5091
|
-
error: {
|
|
5092
|
-
type: Boolean,
|
|
5093
|
-
reflect: true
|
|
5094
|
-
},
|
|
5095
|
-
info: {
|
|
5096
|
-
type: Boolean,
|
|
5097
|
-
reflect: true
|
|
5098
|
-
},
|
|
5099
|
-
label: {
|
|
5100
|
-
type: Boolean,
|
|
5101
|
-
reflect: true
|
|
5102
|
-
},
|
|
5103
|
-
name: {
|
|
5104
|
-
type: String,
|
|
5105
|
-
reflect: true
|
|
5106
|
-
},
|
|
5107
|
-
primary: {
|
|
5108
|
-
type: Boolean,
|
|
5109
|
-
reflect: true
|
|
5110
|
-
},
|
|
5111
|
-
secondary: {
|
|
5112
|
-
type: Boolean,
|
|
5113
|
-
reflect: true
|
|
5114
|
-
},
|
|
5115
|
-
subtle: {
|
|
5116
|
-
type: Boolean,
|
|
5117
|
-
reflect: true
|
|
5118
|
-
},
|
|
5119
|
-
success: {
|
|
5120
|
-
type: Boolean,
|
|
5121
|
-
reflect: true
|
|
5122
|
-
},
|
|
5123
|
-
tertiary: {
|
|
5124
|
-
type: Boolean,
|
|
5125
|
-
reflect: true
|
|
5126
|
-
},
|
|
5127
|
-
uri: {
|
|
5128
|
-
type: String
|
|
5129
|
-
},
|
|
5130
|
-
warning: {
|
|
5131
|
-
type: Boolean,
|
|
5132
|
-
reflect: true
|
|
5133
|
-
}
|
|
5134
|
-
};
|
|
5135
|
-
}
|
|
5136
|
-
|
|
5137
|
-
static get styles() {
|
|
5138
|
-
return [
|
|
5139
|
-
super.styles,
|
|
5140
|
-
i$5`${tokensCss$2}`,
|
|
5141
|
-
i$5`${styleCss$3}`,
|
|
5142
|
-
i$5`${colorCss$3}`
|
|
5143
|
-
];
|
|
5144
|
-
}
|
|
5145
|
-
|
|
5146
|
-
/**
|
|
5147
|
-
* This will register this element with the browser.
|
|
5148
|
-
* @param {string} [name="auro-icon"] - The name of element that you want to register to.
|
|
5149
|
-
*
|
|
5150
|
-
* @example
|
|
5151
|
-
* AuroIcon.register("custom-icon") // this will register this element to <custom-icon/>
|
|
5152
|
-
*
|
|
5153
|
-
*/
|
|
5154
|
-
static register(name = "auro-icon") {
|
|
5155
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
5156
|
-
}
|
|
5157
|
-
|
|
5158
|
-
connectedCallback() {
|
|
5159
|
-
super.connectedCallback();
|
|
5160
|
-
|
|
5161
|
-
// Add the tag name as an attribute if it is different than the component name
|
|
5162
|
-
this.runtimeUtils.handleComponentTagRename(this, 'auro-icon');
|
|
5163
|
-
}
|
|
5164
|
-
|
|
5165
|
-
/**
|
|
5166
|
-
* @returns {void} Exposes CSS parts for styling from parent components.
|
|
5167
|
-
*/
|
|
5168
|
-
exposeCssParts() {
|
|
5169
|
-
this.setAttribute('exportparts', 'svg:iconSvg');
|
|
5170
|
-
}
|
|
5171
|
-
|
|
5172
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
5173
|
-
render() {
|
|
5174
|
-
const a11y = {
|
|
5175
|
-
'labelContainer': true,
|
|
5176
|
-
'util_displayHiddenVisually': !this.label
|
|
5177
|
-
};
|
|
5178
|
-
|
|
5179
|
-
const classes = {
|
|
5180
|
-
'label': this.label,
|
|
5181
|
-
'wrapper': true,
|
|
5182
|
-
};
|
|
5183
|
-
|
|
5184
|
-
return x`
|
|
5185
|
-
<div
|
|
5186
|
-
class="${e(classes)}"
|
|
5187
|
-
title="${o(this.title || undefined)}">
|
|
5188
|
-
<span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
5189
|
-
${this.customSvg ? x`
|
|
5190
|
-
<slot name="svg"></slot>
|
|
5191
|
-
` : x`
|
|
5192
|
-
${this.svg}
|
|
5193
|
-
`
|
|
5194
|
-
}
|
|
5195
|
-
</span>
|
|
5196
|
-
|
|
5197
|
-
<div class="${e(a11y)}">
|
|
5198
|
-
<slot></slot>
|
|
5199
|
-
</div>
|
|
5200
|
-
</div>
|
|
5201
|
-
`;
|
|
5202
|
-
}
|
|
3712
|
+
// Throw error if the input is not an array or undefined
|
|
3713
|
+
throw new Error('Invalid value: Input must be an array or undefined');
|
|
5203
3714
|
}
|
|
5204
3715
|
|
|
5205
|
-
var iconVersion = '6.1.2';
|
|
5206
|
-
|
|
5207
|
-
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>"};
|
|
5208
|
-
|
|
5209
|
-
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5210
|
-
// See LICENSE in the project root for license information.
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
3716
|
/**
|
|
5214
|
-
*
|
|
5215
|
-
*
|
|
5216
|
-
* @
|
|
5217
|
-
* @
|
|
5218
|
-
* @
|
|
5219
|
-
* @attr {Boolean} selected - Specifies that an option is selected.
|
|
5220
|
-
* @event auroMenuOption-mouseover - Notifies that this option has been hovered over.
|
|
5221
|
-
* @slot - Specifies text for an option, but is not the value.
|
|
3717
|
+
* Compare two arrays for equality.
|
|
3718
|
+
* @private
|
|
3719
|
+
* @param {Array} arr1 - First array to compare.
|
|
3720
|
+
* @param {Array} arr2 - Second array to compare.
|
|
3721
|
+
* @returns {boolean} True if arrays are equal.
|
|
5222
3722
|
*/
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
/**
|
|
5228
|
-
* Generate unique names for dependency components.
|
|
5229
|
-
*/
|
|
5230
|
-
const versioning = new AuroDependencyVersioning();
|
|
5231
|
-
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
5232
|
-
|
|
5233
|
-
this.selected = false;
|
|
5234
|
-
this.nocheckmark = false;
|
|
5235
|
-
this.disabled = false;
|
|
5236
|
-
|
|
5237
|
-
/**
|
|
5238
|
-
* @private
|
|
5239
|
-
*/
|
|
5240
|
-
this.tabIndex = -1;
|
|
5241
|
-
|
|
5242
|
-
/**
|
|
5243
|
-
* @private
|
|
5244
|
-
*/
|
|
5245
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
5246
|
-
}
|
|
5247
|
-
|
|
5248
|
-
static get properties() {
|
|
5249
|
-
return {
|
|
5250
|
-
nocheckmark: {
|
|
5251
|
-
type: Boolean,
|
|
5252
|
-
reflect: true
|
|
5253
|
-
},
|
|
5254
|
-
selected: {
|
|
5255
|
-
type: Boolean,
|
|
5256
|
-
reflect: true
|
|
5257
|
-
},
|
|
5258
|
-
disabled: {
|
|
5259
|
-
type: Boolean,
|
|
5260
|
-
reflect: true
|
|
5261
|
-
},
|
|
5262
|
-
value: {
|
|
5263
|
-
type: String
|
|
5264
|
-
},
|
|
5265
|
-
tabIndex: {
|
|
5266
|
-
type: Number,
|
|
5267
|
-
reflect: true
|
|
5268
|
-
}
|
|
5269
|
-
};
|
|
3723
|
+
function arraysAreEqual(arr1, arr2) {
|
|
3724
|
+
// If both arrays undefined, they are equal (true)
|
|
3725
|
+
if (arr1 === undefined || arr2 === undefined) {
|
|
3726
|
+
return arr1 === arr2;
|
|
5270
3727
|
}
|
|
5271
3728
|
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
colorCss$1,
|
|
5276
|
-
tokensCss$1
|
|
5277
|
-
];
|
|
3729
|
+
// If arrays have different lengths, they are not equal
|
|
3730
|
+
if (arr1.length !== arr2.length) {
|
|
3731
|
+
return false;
|
|
5278
3732
|
}
|
|
5279
3733
|
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
* AuroMenuOption.register("custom-menuoption") // this will register this element to <custom-menuoption/>
|
|
5286
|
-
*
|
|
5287
|
-
*/
|
|
5288
|
-
static register(name = "auro-menuoption") {
|
|
5289
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroMenuOption);
|
|
3734
|
+
// If every item at each index is the same, return true
|
|
3735
|
+
for (let index = 0; index < arr1.length; index += 1) {
|
|
3736
|
+
if (arr1[index] !== arr2[index]) {
|
|
3737
|
+
return false;
|
|
3738
|
+
}
|
|
5290
3739
|
}
|
|
3740
|
+
return true;
|
|
3741
|
+
}
|
|
5291
3742
|
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
composed: true,
|
|
5304
|
-
detail: this
|
|
5305
|
-
}));
|
|
5306
|
-
});
|
|
5307
|
-
}
|
|
3743
|
+
/**
|
|
3744
|
+
* Compares array for changes.
|
|
3745
|
+
* @private
|
|
3746
|
+
* @param {Array|any} newVal - New value to compare.
|
|
3747
|
+
* @param {Array|any} oldVal - Old value to compare.
|
|
3748
|
+
* @returns {boolean} True if arrays have changed.
|
|
3749
|
+
*/
|
|
3750
|
+
function arrayOrUndefinedHasChanged(newVal, oldVal) {
|
|
3751
|
+
try {
|
|
3752
|
+
// Check if values are undefined or arrays
|
|
3753
|
+
const isArrayOrUndefined = (val) => val === undefined || Array.isArray(val);
|
|
5308
3754
|
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
3755
|
+
// If non-array or non-undefined, throw error
|
|
3756
|
+
if (!isArrayOrUndefined(newVal) || !isArrayOrUndefined(oldVal)) {
|
|
3757
|
+
const invalidValue = isArrayOrUndefined(newVal) ? oldVal : newVal;
|
|
3758
|
+
throw new Error(`Value must be an array or undefined, received ${typeof invalidValue}`);
|
|
5313
3759
|
}
|
|
3760
|
+
|
|
3761
|
+
// Return true if arrays have changed, false if they are the same
|
|
3762
|
+
return !arraysAreEqual(newVal, oldVal);
|
|
3763
|
+
} catch (error) {
|
|
3764
|
+
/* eslint-disable no-console */
|
|
3765
|
+
console.error(error);
|
|
3766
|
+
// If validation fails, it has changed
|
|
3767
|
+
return true;
|
|
5314
3768
|
}
|
|
3769
|
+
}
|
|
5315
3770
|
|
|
5316
|
-
|
|
5317
|
-
* Generates an HTML element containing an SVG icon based on the provided `svgContent`.
|
|
5318
|
-
*
|
|
5319
|
-
* @private
|
|
5320
|
-
* @param {string} svgContent - The SVG content to be embedded.
|
|
5321
|
-
* @returns {Element} The HTML element containing the SVG icon.
|
|
5322
|
-
*/
|
|
5323
|
-
generateIconHtml(svgContent) {
|
|
5324
|
-
const dom = new DOMParser().parseFromString(svgContent, 'text/html');
|
|
5325
|
-
const svg = dom.body.firstChild;
|
|
3771
|
+
i$5`:host{display:flex;align-items:center;padding:var(--ds-size-50, 0.25rem) var(--ds-size-200, 1rem) var(--ds-size-50, 0.25rem) 0;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}:host slot{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host [auro-icon]{--ds-auro-icon-size: var(--ds-size-300, 1.5rem);margin-right:var(--ds-size-150, 0.75rem);margin-left:var(--ds-size-100, 0.5rem)}:host ::slotted(.nestingSpacer){display:inline-block;width:var(--ds-size-300, 1.5rem)}:host ::slotted(strong){font-weight:700}:host([hidden]){display:none}:host([static]){pointer-events:none}:host([disabled]:hover){cursor:auto}:host([disabled]){user-select:none;pointer-events:none}`;
|
|
5326
3772
|
|
|
5327
|
-
|
|
3773
|
+
i$5`:host{background-color:var(--ds-auro-menuoption-container-color);color:var(--ds-auro-menuoption-text-color)}:host svg{fill:var(--ds-auro-menuoption-icon-color) !important}:host([disabled]){--ds-auro-menuoption-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host(:hover),:host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([selected]){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-default-default, #2c67b5);--ds-auro-menuoption-text-color: var(--ds-color-text-primary-inverse, #ffffff);--ds-auro-menuoption-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([selected]):host(.active){--ds-auro-menuoption-container-color: var(--ds-color-container-ui-primary-active-default, #225296)}`;
|
|
5328
3774
|
|
|
5329
|
-
|
|
5330
|
-
}
|
|
3775
|
+
i$5`*,*: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}`;
|
|
5331
3776
|
|
|
5332
|
-
|
|
5333
|
-
return u`
|
|
5334
|
-
${this.selected && !this.nocheckmark ? this.generateIconHtml(checkmarkIcon.svg) : undefined}
|
|
5335
|
-
<slot></slot>
|
|
5336
|
-
`;
|
|
5337
|
-
}
|
|
5338
|
-
}
|
|
3777
|
+
i$5`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
5339
3778
|
|
|
5340
|
-
|
|
5341
|
-
AuroMenuOption.register();
|
|
3779
|
+
i$5`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
5342
3780
|
|
|
5343
|
-
var styleCss = i$
|
|
3781
|
+
var styleCss = i$f`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}[slot=trigger]{width:100%;padding:0;border:0;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left}[slot=trigger] .nestingSpacer{display:none}[slot=trigger] #placeholder.hidden{position:absolute;z-index:-1;opacity:0;pointer-events:none}:host [auro-dropdown]{position:relative}:host [auro-dropdown]::part(trigger){max-height:var(--ds-size-300, 1.5rem)}:host [auro-dropdown]::part(popover){max-width:-webkit-fill-available;overflow-y:scroll}:host([disabled]) *{user-select:none}.outerWrapper{position:relative}auro-menuoption{padding:0;pointer-events:none}.menuWrapper{padding:var(--ds-size-50, 0.25rem) 0}:host([multiselect]) [slot=trigger]{display:flex}:host([multiselect]) auro-menuoption:not(:first-child){margin-left:var(--ds-size-100)}`;
|
|
5344
3782
|
|
|
5345
|
-
var colorCss = i$
|
|
3783
|
+
var colorCss = i$f`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host [auro-dropdown]::part(trigger):hover{--ds-auro-dropdown-trigger-container-color: rgba(0 0 0 / 0.06)}:host([disabled]) *{color:var(--ds-color-text-ui-disabled-default, #adadad)}.placeholder{color:var(--ds-auro-select-placeholder-text-color)}`;
|
|
5346
3784
|
|
|
5347
|
-
var tokensCss = i$
|
|
3785
|
+
var tokensCss = i$f`:host{--ds-auro-select-placeholder-text-color: var(--ds-color-text-secondary-default, $ds-color-text-secondary-default)}`;
|
|
5348
3786
|
|
|
5349
3787
|
// Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
5350
3788
|
// See LICENSE in the project root for license information.
|
|
@@ -5391,12 +3829,12 @@ class AuroSelect extends r$9 {
|
|
|
5391
3829
|
/**
|
|
5392
3830
|
* @private
|
|
5393
3831
|
*/
|
|
5394
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
3832
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
5395
3833
|
|
|
5396
3834
|
/**
|
|
5397
3835
|
* Generate unique names for dependency components.
|
|
5398
3836
|
*/
|
|
5399
|
-
const versioning = new AuroDependencyVersioning$
|
|
3837
|
+
const versioning = new AuroDependencyVersioning$1();
|
|
5400
3838
|
|
|
5401
3839
|
/**
|
|
5402
3840
|
* @private
|
|
@@ -5578,7 +4016,7 @@ class AuroSelect extends r$9 {
|
|
|
5578
4016
|
*
|
|
5579
4017
|
*/
|
|
5580
4018
|
static register(name = "auro-select") {
|
|
5581
|
-
AuroLibraryRuntimeUtils$
|
|
4019
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroSelect);
|
|
5582
4020
|
}
|
|
5583
4021
|
|
|
5584
4022
|
/**
|
|
@@ -5876,18 +4314,18 @@ class AuroSelect extends r$9 {
|
|
|
5876
4314
|
hidden: this.value,
|
|
5877
4315
|
};
|
|
5878
4316
|
|
|
5879
|
-
return u$
|
|
4317
|
+
return u$5`
|
|
5880
4318
|
<div class="outerWrapper">
|
|
5881
4319
|
<div aria-live="polite" class="util_displayHiddenVisually">
|
|
5882
4320
|
${this.optionActive && this.options.length > 0
|
|
5883
|
-
? u$
|
|
4321
|
+
? u$5`
|
|
5884
4322
|
${`${this.optionActive.innerText}, option ${this.options.indexOf(this.optionActive) + 1} of ${this.options.length}`}
|
|
5885
4323
|
`
|
|
5886
4324
|
: undefined
|
|
5887
4325
|
};
|
|
5888
4326
|
|
|
5889
4327
|
${this.optionSelected && this.options.length > 0
|
|
5890
|
-
? u$
|
|
4328
|
+
? u$5`
|
|
5891
4329
|
${`${this.optionSelected.innerText} selected`}
|
|
5892
4330
|
`
|
|
5893
4331
|
: undefined
|
|
@@ -5902,18 +4340,18 @@ class AuroSelect extends r$9 {
|
|
|
5902
4340
|
chevron
|
|
5903
4341
|
part="dropdown">
|
|
5904
4342
|
<span slot="trigger" aria-haspopup="true" id="triggerFocus">
|
|
5905
|
-
<span id="placeholder" class="${e$
|
|
4343
|
+
<span id="placeholder" class="${e$8(placeholderClass)}"><slot name="placeholder"></slot></span>
|
|
5906
4344
|
</span>
|
|
5907
4345
|
<div class="menuWrapper">
|
|
5908
4346
|
</div>
|
|
5909
4347
|
<slot name="label" slot="label"></slot>
|
|
5910
4348
|
<p slot="helpText">
|
|
5911
4349
|
${!this.validity || this.validity === undefined || this.validity === 'valid'
|
|
5912
|
-
? u$
|
|
4350
|
+
? u$5`
|
|
5913
4351
|
<span id="${this.uniqueId}" part="helpText">
|
|
5914
4352
|
<slot name="helpText"></slot>
|
|
5915
4353
|
</span>`
|
|
5916
|
-
: u$
|
|
4354
|
+
: u$5`
|
|
5917
4355
|
<span id="${this.uniqueId}" role="alert" aria-live="assertive" part="helpText">
|
|
5918
4356
|
${this.errorMessage}
|
|
5919
4357
|
</span>`
|
|
@@ -5926,6 +4364,4 @@ class AuroSelect extends r$9 {
|
|
|
5926
4364
|
}
|
|
5927
4365
|
}
|
|
5928
4366
|
|
|
5929
|
-
AuroSelect.register();
|
|
5930
|
-
|
|
5931
4367
|
export { AuroSelect };
|