@aurodesignsystem/auro-formkit 2.0.0-beta.41 → 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 +33 -0
- package/NOTICE +2 -0
- package/README.md +116 -48
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +38 -0
- package/components/{combobox/dist/formkit/auro-dropdownVersion.d.ts → bibtemplate/dist/headerVersion.d.ts} +0 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +2 -0
- package/components/bibtemplate/dist/index.d.ts +2 -0
- package/components/bibtemplate/dist/index.js +790 -0
- package/components/bibtemplate/dist/registered.js +790 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts +2 -0
- package/components/bibtemplate/dist/styles/style-css.d.ts +2 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +2 -0
- 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 +6 -4
- package/components/combobox/demo/api.js +1 -1
- package/components/combobox/demo/api.md +79 -0
- package/components/combobox/demo/api.min.js +908 -1650
- package/components/combobox/demo/index.html +57 -0
- package/components/combobox/demo/index.js +1 -1
- package/components/combobox/demo/index.md +16 -0
- package/components/combobox/demo/index.min.js +908 -1650
- package/components/combobox/dist/auro-combobox.d.ts +45 -3
- package/components/combobox/dist/bibtemplateVersion.d.ts +2 -0
- package/components/combobox/dist/dropdownVersion.d.ts +0 -1
- package/components/combobox/dist/index.d.ts +0 -1
- package/components/combobox/dist/index.js +896 -1640
- 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 +293 -410
- package/components/counter/demo/index.html +53 -0
- package/components/counter/demo/index.min.js +293 -410
- 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 +293 -413
- 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 +503 -817
- package/components/datepicker/demo/index.html +57 -0
- package/components/datepicker/demo/index.min.js +503 -817
- 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 +503 -819
- 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.md +6 -4
- package/components/dropdown/demo/api.min.js +241 -356
- package/components/dropdown/demo/index.html +53 -0
- package/components/dropdown/demo/index.min.js +241 -356
- package/components/dropdown/dist/auro-dropdown.d.ts +17 -4
- package/components/dropdown/dist/auro-dropdownBib.d.ts +8 -1
- package/components/{select/dist/formkit/auro-dropdownVersion.d.ts → 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 +241 -358
- 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/{datepicker/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 +431 -1917
- package/components/select/demo/index.html +49 -0
- package/components/select/demo/index.js +1 -1
- package/components/select/demo/index.min.js +431 -1917
- 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 +373 -1861
- 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 +114 -10
- package/.husky/commit-msg +0 -4
- package/.husky/pre-commit +0 -3
- package/.turbo/cache/006be80261b993a5-meta.json +0 -1
- package/.turbo/cache/006be80261b993a5.tar.zst +0 -0
- package/.turbo/cache/03338963f2ae4c89-meta.json +0 -1
- package/.turbo/cache/03338963f2ae4c89.tar.zst +0 -0
- package/.turbo/cache/06dfc9c20aacd0fa-meta.json +0 -1
- package/.turbo/cache/06dfc9c20aacd0fa.tar.zst +0 -0
- package/.turbo/cache/075034ccdb82fbea-meta.json +0 -1
- package/.turbo/cache/075034ccdb82fbea.tar.zst +0 -0
- package/.turbo/cache/0ff927ad868537f6-meta.json +0 -1
- package/.turbo/cache/0ff927ad868537f6.tar.zst +0 -0
- package/.turbo/cache/10b8500a6b0c6655-meta.json +0 -1
- package/.turbo/cache/10b8500a6b0c6655.tar.zst +0 -0
- package/.turbo/cache/138466aaa06fa946-meta.json +0 -1
- package/.turbo/cache/138466aaa06fa946.tar.zst +0 -0
- package/.turbo/cache/1614475ba17e5c7e-meta.json +0 -1
- package/.turbo/cache/1614475ba17e5c7e.tar.zst +0 -0
- package/.turbo/cache/1a8525cb6ad91e2a-meta.json +0 -1
- package/.turbo/cache/1a8525cb6ad91e2a.tar.zst +0 -0
- package/.turbo/cache/1c347bdf63624c8a-meta.json +0 -1
- package/.turbo/cache/1c347bdf63624c8a.tar.zst +0 -0
- package/.turbo/cache/1d4e8167ea8e924f-meta.json +0 -1
- package/.turbo/cache/1d4e8167ea8e924f.tar.zst +0 -0
- package/.turbo/cache/2289d12debb3c42c-meta.json +0 -1
- package/.turbo/cache/2289d12debb3c42c.tar.zst +0 -0
- package/.turbo/cache/22fc147c04804f70-meta.json +0 -1
- package/.turbo/cache/22fc147c04804f70.tar.zst +0 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +0 -1
- package/.turbo/cache/3025cdff2ca7afbf.tar.zst +0 -0
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +0 -1
- package/.turbo/cache/3082b3a86c0f9b94.tar.zst +0 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0-meta.json +0 -1
- package/.turbo/cache/3dba2f8fdc7eb1d0.tar.zst +0 -0
- package/.turbo/cache/43995f6c84a2de33-meta.json +0 -1
- package/.turbo/cache/43995f6c84a2de33.tar.zst +0 -0
- package/.turbo/cache/45d6aea680ecb5ec-meta.json +0 -1
- package/.turbo/cache/45d6aea680ecb5ec.tar.zst +0 -0
- package/.turbo/cache/45ecc27552696bd6-meta.json +0 -1
- package/.turbo/cache/45ecc27552696bd6.tar.zst +0 -0
- package/.turbo/cache/47d63056350252e5-meta.json +0 -1
- package/.turbo/cache/47d63056350252e5.tar.zst +0 -0
- package/.turbo/cache/4aadd7fe6b69cccf-meta.json +0 -1
- package/.turbo/cache/4aadd7fe6b69cccf.tar.zst +0 -0
- package/.turbo/cache/4fcee148860094a6-meta.json +0 -1
- package/.turbo/cache/4fcee148860094a6.tar.zst +0 -0
- package/.turbo/cache/5b3bb164db4c477c-meta.json +0 -1
- package/.turbo/cache/5b3bb164db4c477c.tar.zst +0 -0
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +0 -1
- package/.turbo/cache/6bfd7cffad1e6b8a.tar.zst +0 -0
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +0 -1
- package/.turbo/cache/6d48e8dc24e08c8c.tar.zst +0 -0
- package/.turbo/cache/70e65d2581c9de95-meta.json +0 -1
- package/.turbo/cache/70e65d2581c9de95.tar.zst +0 -0
- package/.turbo/cache/71640e378e0b68af-meta.json +0 -1
- package/.turbo/cache/71640e378e0b68af.tar.zst +0 -0
- package/.turbo/cache/7a2e937d0f5acb7c-meta.json +0 -1
- package/.turbo/cache/7a2e937d0f5acb7c.tar.zst +0 -0
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +0 -1
- package/.turbo/cache/85f181c5a0ebfdc3.tar.zst +0 -0
- package/.turbo/cache/8830b8b624914679-meta.json +0 -1
- package/.turbo/cache/8830b8b624914679.tar.zst +0 -0
- package/.turbo/cache/88d4c5b7339b081b-meta.json +0 -1
- package/.turbo/cache/88d4c5b7339b081b.tar.zst +0 -0
- package/.turbo/cache/8f20a1cd3533e2cb-meta.json +0 -1
- package/.turbo/cache/8f20a1cd3533e2cb.tar.zst +0 -0
- package/.turbo/cache/91de2098a36b6939-meta.json +0 -1
- package/.turbo/cache/91de2098a36b6939.tar.zst +0 -0
- package/.turbo/cache/96edc0764ed4ab77-meta.json +0 -1
- package/.turbo/cache/96edc0764ed4ab77.tar.zst +0 -0
- package/.turbo/cache/a776eb6f87cd7464-meta.json +0 -1
- package/.turbo/cache/a776eb6f87cd7464.tar.zst +0 -0
- package/.turbo/cache/aa2a6d9e7beff7fc-meta.json +0 -1
- package/.turbo/cache/aa2a6d9e7beff7fc.tar.zst +0 -0
- package/.turbo/cache/ac47b2df8381d990-meta.json +0 -1
- package/.turbo/cache/ac47b2df8381d990.tar.zst +0 -0
- package/.turbo/cache/ac98992ca27cd36e-meta.json +0 -1
- package/.turbo/cache/ac98992ca27cd36e.tar.zst +0 -0
- package/.turbo/cache/aed38ae5ce3d8439-meta.json +0 -1
- package/.turbo/cache/aed38ae5ce3d8439.tar.zst +0 -0
- package/.turbo/cache/b323342fa340ccb5-meta.json +0 -1
- package/.turbo/cache/b323342fa340ccb5.tar.zst +0 -0
- package/.turbo/cache/b681d1652a7f2aca-meta.json +0 -1
- package/.turbo/cache/b681d1652a7f2aca.tar.zst +0 -0
- package/.turbo/cache/b99d21002170d86d-meta.json +0 -1
- package/.turbo/cache/b99d21002170d86d.tar.zst +0 -0
- package/.turbo/cache/bff34c0db361f414-meta.json +0 -1
- package/.turbo/cache/bff34c0db361f414.tar.zst +0 -0
- package/.turbo/cache/c1c7334875426ff3-meta.json +0 -1
- package/.turbo/cache/c1c7334875426ff3.tar.zst +0 -0
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +0 -1
- package/.turbo/cache/cd12b66dd972aaf7.tar.zst +0 -0
- package/.turbo/cache/cf74604f39b00f11-meta.json +0 -1
- package/.turbo/cache/cf74604f39b00f11.tar.zst +0 -0
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +0 -1
- package/.turbo/cache/d5dbe6fb31ae5667.tar.zst +0 -0
- package/.turbo/cache/e2688cc026390fd6-meta.json +0 -1
- package/.turbo/cache/e2688cc026390fd6.tar.zst +0 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +0 -1
- package/.turbo/cache/e64bd75c16c140f3.tar.zst +0 -0
- package/.turbo/cache/ea92743dea3b7023-meta.json +0 -1
- package/.turbo/cache/ea92743dea3b7023.tar.zst +0 -0
- package/.turbo/cache/f1b0cb8241603223-meta.json +0 -1
- package/.turbo/cache/f1b0cb8241603223.tar.zst +0 -0
- package/.turbo/cache/f22dc2dd55715ba2-meta.json +0 -1
- package/.turbo/cache/f22dc2dd55715ba2.tar.zst +0 -0
- package/.turbo/cache/f8f7a8045f230b79-meta.json +0 -1
- package/.turbo/cache/f8f7a8045f230b79.tar.zst +0 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +0 -1
- package/.turbo/cache/f8f99ba69bff8f2c.tar.zst +0 -0
- package/.turbo/cache/faafa5cc35d12e06-meta.json +0 -1
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- package/.vscode/settings.json +0 -3
- 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 -162
- 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/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 -66
- package/components/combobox/src/auro-combobox.js +0 -776
- 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 -60
- package/components/combobox/src/styles/style.scss +0 -46
- 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.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 -205
- 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/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 -565
- package/components/dropdown/src/auro-dropdownBib.js +0 -106
- 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 -43
- package/components/dropdown/src/styles/bibStyles.scss +0 -60
- 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.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 -133
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
* Copyright 2017 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):
|
|
6
|
+
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};
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2020 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
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(
|
|
13
|
+
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);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2019 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
19
|
*/
|
|
20
|
-
const t$3=globalThis,e$6=t$3.ShadowRoot&&(
|
|
20
|
+
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=Symbol(),o$5=new WeakMap;let n$4 = 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$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),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)},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;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @license
|
|
24
24
|
* Copyright 2017 Google LLC
|
|
25
25
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
|
-
*/const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4,getPrototypeOf:n$3}=Object,a$2=globalThis,c$3=a$2.trustedTypes,l$2=c$3?c$3.emptyScript:"",p$2=a$2.reactiveElementPolyfillSupport,d$2=(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$2=(t,s)=>!i$6(t,s),y
|
|
26
|
+
*/const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4,getPrototypeOf:n$3}=Object,a$2=globalThis,c$3=a$2.trustedTypes,l$2=c$3?c$3.emptyScript:"",p$2=a$2.reactiveElementPolyfillSupport,d$2=(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$2=(t,s)=>!i$6(t,s),y={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$2.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(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(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).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$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.reactiveElementVersions??=[]).push("2.0.4");
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
32
|
+
*/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=globalThis.litElementPolyfillSupport;i$5?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
33
33
|
|
|
34
34
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
35
35
|
// See LICENSE in the project root for license information.
|
|
@@ -38,7 +38,7 @@ const t$3=globalThis,e$6=t$3.ShadowRoot&&(undefined===t$3.ShadyCSS||t$3.ShadyCSS
|
|
|
38
38
|
|
|
39
39
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
class AuroLibraryRuntimeUtils {
|
|
42
42
|
|
|
43
43
|
/* eslint-disable jsdoc/require-param */
|
|
44
44
|
|
|
@@ -99,7 +99,7 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
|
99
99
|
|
|
100
100
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
101
101
|
}
|
|
102
|
-
}
|
|
102
|
+
}
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Custom positioning reference element.
|
|
@@ -149,7 +149,7 @@ function getAlignmentAxis(placement) {
|
|
|
149
149
|
return getOppositeAxis(getSideAxis(placement));
|
|
150
150
|
}
|
|
151
151
|
function getAlignmentSides(placement, rects, rtl) {
|
|
152
|
-
if (rtl ===
|
|
152
|
+
if (rtl === void 0) {
|
|
153
153
|
rtl = false;
|
|
154
154
|
}
|
|
155
155
|
const alignment = getAlignment(placement);
|
|
@@ -306,7 +306,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
306
306
|
platform
|
|
307
307
|
} = config;
|
|
308
308
|
const validMiddleware = middleware.filter(Boolean);
|
|
309
|
-
const rtl = await (platform.isRTL == null ?
|
|
309
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
310
310
|
let rects = await platform.getElementRects({
|
|
311
311
|
reference,
|
|
312
312
|
floating,
|
|
@@ -392,7 +392,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
392
392
|
*/
|
|
393
393
|
async function detectOverflow(state, options) {
|
|
394
394
|
var _await$platform$isEle;
|
|
395
|
-
if (options ===
|
|
395
|
+
if (options === void 0) {
|
|
396
396
|
options = {};
|
|
397
397
|
}
|
|
398
398
|
const {
|
|
@@ -414,7 +414,7 @@ async function detectOverflow(state, options) {
|
|
|
414
414
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
415
415
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
416
416
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
417
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
417
|
+
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))),
|
|
418
418
|
boundary,
|
|
419
419
|
rootBoundary,
|
|
420
420
|
strategy
|
|
@@ -425,8 +425,8 @@ async function detectOverflow(state, options) {
|
|
|
425
425
|
width: rects.floating.width,
|
|
426
426
|
height: rects.floating.height
|
|
427
427
|
} : rects.reference;
|
|
428
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
429
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
428
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
429
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
430
430
|
x: 1,
|
|
431
431
|
y: 1
|
|
432
432
|
} : {
|
|
@@ -463,7 +463,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
463
463
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
464
464
|
*/
|
|
465
465
|
const autoPlacement$1 = function (options) {
|
|
466
|
-
if (options ===
|
|
466
|
+
if (options === void 0) {
|
|
467
467
|
options = {};
|
|
468
468
|
}
|
|
469
469
|
return {
|
|
@@ -487,12 +487,12 @@ const autoPlacement$1 = function (options) {
|
|
|
487
487
|
} = evaluate(options, state);
|
|
488
488
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
489
489
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
490
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
490
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
491
491
|
const currentPlacement = placements$1[currentIndex];
|
|
492
492
|
if (currentPlacement == null) {
|
|
493
493
|
return {};
|
|
494
494
|
}
|
|
495
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
495
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
496
496
|
|
|
497
497
|
// Make `computeCoords` start from the right place.
|
|
498
498
|
if (placement !== currentPlacement) {
|
|
@@ -503,7 +503,7 @@ const autoPlacement$1 = function (options) {
|
|
|
503
503
|
};
|
|
504
504
|
}
|
|
505
505
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
506
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
506
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
507
507
|
placement: currentPlacement,
|
|
508
508
|
overflows: currentOverflows
|
|
509
509
|
}];
|
|
@@ -533,7 +533,7 @@ const autoPlacement$1 = function (options) {
|
|
|
533
533
|
// Aligned placements should not check their opposite crossAxis
|
|
534
534
|
// side.
|
|
535
535
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
536
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
536
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
537
537
|
if (resetPlacement !== placement) {
|
|
538
538
|
return {
|
|
539
539
|
data: {
|
|
@@ -557,7 +557,7 @@ const autoPlacement$1 = function (options) {
|
|
|
557
557
|
* @see https://floating-ui.com/docs/flip
|
|
558
558
|
*/
|
|
559
559
|
const flip$1 = function (options) {
|
|
560
|
-
if (options ===
|
|
560
|
+
if (options === void 0) {
|
|
561
561
|
options = {};
|
|
562
562
|
}
|
|
563
563
|
return {
|
|
@@ -593,7 +593,7 @@ const flip$1 = function (options) {
|
|
|
593
593
|
const side = getSide(placement);
|
|
594
594
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
595
595
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
596
|
-
const rtl = await (platform.isRTL == null ?
|
|
596
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
597
597
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
598
598
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
599
599
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -602,7 +602,7 @@ const flip$1 = function (options) {
|
|
|
602
602
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
603
603
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
604
604
|
const overflows = [];
|
|
605
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
605
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
606
606
|
if (checkMainAxis) {
|
|
607
607
|
overflows.push(overflow[side]);
|
|
608
608
|
}
|
|
@@ -618,7 +618,7 @@ const flip$1 = function (options) {
|
|
|
618
618
|
// One or more sides is overflowing.
|
|
619
619
|
if (!overflows.every(side => side <= 0)) {
|
|
620
620
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
621
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
621
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
622
622
|
const nextPlacement = placements[nextIndex];
|
|
623
623
|
if (nextPlacement) {
|
|
624
624
|
// Try next placement and re-run the lifecycle.
|
|
@@ -635,7 +635,7 @@ const flip$1 = function (options) {
|
|
|
635
635
|
|
|
636
636
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
637
637
|
// then find the placement that fits the best on the main crossAxis side.
|
|
638
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
638
|
+
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;
|
|
639
639
|
|
|
640
640
|
// Otherwise fallback.
|
|
641
641
|
if (!resetPlacement) {
|
|
@@ -652,7 +652,7 @@ const flip$1 = function (options) {
|
|
|
652
652
|
currentSideAxis === 'y';
|
|
653
653
|
}
|
|
654
654
|
return true;
|
|
655
|
-
}).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 ?
|
|
655
|
+
}).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];
|
|
656
656
|
if (placement) {
|
|
657
657
|
resetPlacement = placement;
|
|
658
658
|
}
|
|
@@ -685,7 +685,7 @@ async function convertValueToCoords(state, options) {
|
|
|
685
685
|
platform,
|
|
686
686
|
elements
|
|
687
687
|
} = state;
|
|
688
|
-
const rtl = await (platform.isRTL == null ?
|
|
688
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
689
689
|
const side = getSide(placement);
|
|
690
690
|
const alignment = getAlignment(placement);
|
|
691
691
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -727,7 +727,7 @@ async function convertValueToCoords(state, options) {
|
|
|
727
727
|
* @see https://floating-ui.com/docs/offset
|
|
728
728
|
*/
|
|
729
729
|
const offset$1 = function (options) {
|
|
730
|
-
if (options ===
|
|
730
|
+
if (options === void 0) {
|
|
731
731
|
options = 0;
|
|
732
732
|
}
|
|
733
733
|
return {
|
|
@@ -745,7 +745,7 @@ const offset$1 = function (options) {
|
|
|
745
745
|
|
|
746
746
|
// If the placement is the same and the arrow caused an alignment offset
|
|
747
747
|
// then we don't need to change the positioning coordinates.
|
|
748
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
748
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
749
749
|
return {};
|
|
750
750
|
}
|
|
751
751
|
return {
|
|
@@ -774,11 +774,11 @@ function getNodeName(node) {
|
|
|
774
774
|
}
|
|
775
775
|
function getWindow(node) {
|
|
776
776
|
var _node$ownerDocument;
|
|
777
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
777
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
778
778
|
}
|
|
779
779
|
function getDocumentElement(node) {
|
|
780
780
|
var _ref;
|
|
781
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
781
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
782
782
|
}
|
|
783
783
|
function isNode(value) {
|
|
784
784
|
if (!hasWindow()) {
|
|
@@ -893,14 +893,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
893
893
|
}
|
|
894
894
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
895
895
|
var _node$ownerDocument2;
|
|
896
|
-
if (list ===
|
|
896
|
+
if (list === void 0) {
|
|
897
897
|
list = [];
|
|
898
898
|
}
|
|
899
|
-
if (traverseIframes ===
|
|
899
|
+
if (traverseIframes === void 0) {
|
|
900
900
|
traverseIframes = true;
|
|
901
901
|
}
|
|
902
902
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
903
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
903
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
904
904
|
const win = getWindow(scrollableAncestor);
|
|
905
905
|
if (isBody) {
|
|
906
906
|
const frameElement = getFrameElement(win);
|
|
@@ -977,7 +977,7 @@ function getVisualOffsets(element) {
|
|
|
977
977
|
};
|
|
978
978
|
}
|
|
979
979
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
980
|
-
if (isFixed ===
|
|
980
|
+
if (isFixed === void 0) {
|
|
981
981
|
isFixed = false;
|
|
982
982
|
}
|
|
983
983
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -987,10 +987,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
987
987
|
}
|
|
988
988
|
|
|
989
989
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
990
|
-
if (includeScale ===
|
|
990
|
+
if (includeScale === void 0) {
|
|
991
991
|
includeScale = false;
|
|
992
992
|
}
|
|
993
|
-
if (isFixedStrategy ===
|
|
993
|
+
if (isFixedStrategy === void 0) {
|
|
994
994
|
isFixedStrategy = false;
|
|
995
995
|
}
|
|
996
996
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -1050,7 +1050,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
1052
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1053
|
-
if (ignoreScrollbarX ===
|
|
1053
|
+
if (ignoreScrollbarX === void 0) {
|
|
1054
1054
|
ignoreScrollbarX = false;
|
|
1055
1055
|
}
|
|
1056
1056
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -1400,10 +1400,10 @@ function observeMove(element, onMove) {
|
|
|
1400
1400
|
io = null;
|
|
1401
1401
|
}
|
|
1402
1402
|
function refresh(skip, threshold) {
|
|
1403
|
-
if (skip ===
|
|
1403
|
+
if (skip === void 0) {
|
|
1404
1404
|
skip = false;
|
|
1405
1405
|
}
|
|
1406
|
-
if (threshold ===
|
|
1406
|
+
if (threshold === void 0) {
|
|
1407
1407
|
threshold = 1;
|
|
1408
1408
|
}
|
|
1409
1409
|
cleanup();
|
|
@@ -1474,7 +1474,7 @@ function observeMove(element, onMove) {
|
|
|
1474
1474
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
1475
1475
|
*/
|
|
1476
1476
|
function autoUpdate(reference, floating, update, options) {
|
|
1477
|
-
if (options ===
|
|
1477
|
+
if (options === void 0) {
|
|
1478
1478
|
options = {};
|
|
1479
1479
|
}
|
|
1480
1480
|
const {
|
|
@@ -1609,37 +1609,23 @@ class AuroFloatingUI {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
|
|
1611
1611
|
/**
|
|
1612
|
-
*
|
|
1613
|
-
*
|
|
1614
|
-
*
|
|
1615
|
-
* This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
|
|
1616
|
-
* If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
|
|
1617
|
-
* mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
|
|
1618
|
-
*
|
|
1619
|
-
* @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
|
|
1620
|
-
* If true, the bib content dimensions are cleared; if false, they are set
|
|
1621
|
-
* based on the bibSizer's computed styles.
|
|
1612
|
+
* Mirrors the size of the bibSizer element to the bib content.
|
|
1613
|
+
* Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
|
|
1614
|
+
* This ensures that the bib content has the same dimensions as the sizer element.
|
|
1622
1615
|
*/
|
|
1623
|
-
mirrorSize(
|
|
1616
|
+
mirrorSize() {
|
|
1624
1617
|
// mirror the boxsize from bibSizer
|
|
1625
1618
|
if (this.element.bibSizer) {
|
|
1626
1619
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
1627
1620
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
1628
|
-
if (
|
|
1629
|
-
bibContent.style.width =
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
bibContent.style.
|
|
1633
|
-
} else {
|
|
1634
|
-
if (sizerStyle.width !== '0px') {
|
|
1635
|
-
bibContent.style.width = sizerStyle.width;
|
|
1636
|
-
}
|
|
1637
|
-
if (sizerStyle.height !== '0px') {
|
|
1638
|
-
bibContent.style.height = sizerStyle.height;
|
|
1639
|
-
}
|
|
1640
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
1641
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
1621
|
+
if (sizerStyle.width !== '0px') {
|
|
1622
|
+
bibContent.style.width = sizerStyle.width;
|
|
1623
|
+
}
|
|
1624
|
+
if (sizerStyle.height !== '0px') {
|
|
1625
|
+
bibContent.style.height = sizerStyle.height;
|
|
1642
1626
|
}
|
|
1627
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
1628
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
1643
1629
|
}
|
|
1644
1630
|
}
|
|
1645
1631
|
|
|
@@ -1655,11 +1641,12 @@ class AuroFloatingUI {
|
|
|
1655
1641
|
getPositioningStrategy() {
|
|
1656
1642
|
let strategy = 'floating';
|
|
1657
1643
|
if (this.element.bib.mobileFullscreenBreakpoint) {
|
|
1658
|
-
const
|
|
1659
|
-
if (
|
|
1644
|
+
const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
|
|
1645
|
+
if (smallerThanBreakpoint) {
|
|
1660
1646
|
strategy = 'fullscreen';
|
|
1661
1647
|
}
|
|
1662
1648
|
}
|
|
1649
|
+
|
|
1663
1650
|
return strategy;
|
|
1664
1651
|
}
|
|
1665
1652
|
|
|
@@ -1673,13 +1660,10 @@ class AuroFloatingUI {
|
|
|
1673
1660
|
*/
|
|
1674
1661
|
position() {
|
|
1675
1662
|
const strategy = this.getPositioningStrategy();
|
|
1676
|
-
|
|
1677
|
-
this.configureBibFullscreen(true);
|
|
1678
|
-
this.mirrorSize(true);
|
|
1679
|
-
} else {
|
|
1680
|
-
this.configureBibFullscreen(false);
|
|
1681
|
-
this.mirrorSize(false);
|
|
1663
|
+
this.configureBibStrategy(strategy);
|
|
1682
1664
|
|
|
1665
|
+
if (strategy === 'floating') {
|
|
1666
|
+
this.mirrorSize();
|
|
1683
1667
|
// Define the middlware for the floater configuration
|
|
1684
1668
|
const middleware = [
|
|
1685
1669
|
offset(this.element.floaterConfig.offset || 0),
|
|
@@ -1690,7 +1674,7 @@ class AuroFloatingUI {
|
|
|
1690
1674
|
// Compute the position of the bib
|
|
1691
1675
|
computePosition(this.element.trigger, this.element.bib, {
|
|
1692
1676
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
1693
|
-
middleware: middleware
|
|
1677
|
+
middleware: middleware || []
|
|
1694
1678
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
1695
1679
|
Object.assign(this.element.bib.style, {
|
|
1696
1680
|
left: `${x}px`,
|
|
@@ -1702,22 +1686,62 @@ class AuroFloatingUI {
|
|
|
1702
1686
|
|
|
1703
1687
|
/**
|
|
1704
1688
|
* @private
|
|
1705
|
-
*
|
|
1689
|
+
* Controls whether to lock the scrolling for the document's body.
|
|
1690
|
+
* @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
|
|
1691
|
+
*/
|
|
1692
|
+
lockScroll(lock = true) {
|
|
1693
|
+
if (lock) {
|
|
1694
|
+
document.body.style.overflow = 'hidden'; // hide body's scrollbar
|
|
1695
|
+
|
|
1696
|
+
// Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
|
|
1697
|
+
this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
|
|
1698
|
+
} else {
|
|
1699
|
+
document.body.style.overflow = '';
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* @private
|
|
1705
|
+
* Configures the bib element's display strategy.
|
|
1706
1706
|
*
|
|
1707
|
-
*
|
|
1708
|
-
*
|
|
1709
|
-
* 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
|
|
1707
|
+
* Sets the bib to fullscreen or floating mode based on the provided strategy.
|
|
1708
|
+
* Dispatches a 'strategy-change' event if the strategy changes.
|
|
1710
1709
|
*
|
|
1711
|
-
* @param {
|
|
1710
|
+
* @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
|
|
1712
1711
|
*/
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1712
|
+
configureBibStrategy(strategy) {
|
|
1713
|
+
const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
|
|
1714
|
+
if (strategy === 'fullscreen') {
|
|
1715
|
+
this.element.isBibFullscreen = true;
|
|
1716
1716
|
// reset the prev position
|
|
1717
1717
|
this.element.bib.style.top = "0px";
|
|
1718
1718
|
this.element.bib.style.left = "0px";
|
|
1719
|
+
|
|
1720
|
+
// reset the size that was mirroring `size` css-part
|
|
1721
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
1722
|
+
bibContent.style.width = '';
|
|
1723
|
+
bibContent.style.height = '';
|
|
1724
|
+
bibContent.style.maxWidth = '';
|
|
1725
|
+
bibContent.style.maxHeight = `${window.visualViewport.height}px`;
|
|
1726
|
+
|
|
1727
|
+
if (this.element.isPopoverVisible) {
|
|
1728
|
+
this.lockScroll(true);
|
|
1729
|
+
}
|
|
1719
1730
|
} else {
|
|
1720
|
-
this.element.
|
|
1731
|
+
this.element.isBibFullscreen = false;
|
|
1732
|
+
|
|
1733
|
+
this.lockScroll(false);
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
if (prevStrategy !== strategy) {
|
|
1737
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
|
|
1738
|
+
detail: {
|
|
1739
|
+
strategy,
|
|
1740
|
+
},
|
|
1741
|
+
composed: true
|
|
1742
|
+
});
|
|
1743
|
+
|
|
1744
|
+
this.element.dispatchEvent(event);
|
|
1721
1745
|
}
|
|
1722
1746
|
}
|
|
1723
1747
|
|
|
@@ -1823,6 +1847,7 @@ class AuroFloatingUI {
|
|
|
1823
1847
|
this.updateCurrentExpandedDropdown();
|
|
1824
1848
|
this.element.isPopoverVisible = true;
|
|
1825
1849
|
this.element.triggerChevron?.setAttribute('data-expanded', true);
|
|
1850
|
+
|
|
1826
1851
|
this.dispatchEventDropdownToggle();
|
|
1827
1852
|
this.position();
|
|
1828
1853
|
|
|
@@ -1840,6 +1865,7 @@ class AuroFloatingUI {
|
|
|
1840
1865
|
hideBib() {
|
|
1841
1866
|
if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
|
|
1842
1867
|
this.element.isPopoverVisible = false;
|
|
1868
|
+
this.lockScroll(false);
|
|
1843
1869
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
1844
1870
|
this.dispatchEventDropdownToggle();
|
|
1845
1871
|
}
|
|
@@ -1852,7 +1878,7 @@ class AuroFloatingUI {
|
|
|
1852
1878
|
dispatchEventDropdownToggle() {
|
|
1853
1879
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
1854
1880
|
detail: {
|
|
1855
|
-
expanded: this.isPopoverVisible,
|
|
1881
|
+
expanded: this.element.isPopoverVisible,
|
|
1856
1882
|
},
|
|
1857
1883
|
composed: true
|
|
1858
1884
|
});
|
|
@@ -1869,7 +1895,7 @@ class AuroFloatingUI {
|
|
|
1869
1895
|
|
|
1870
1896
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
1871
1897
|
composed: true,
|
|
1872
|
-
|
|
1898
|
+
detail: {
|
|
1873
1899
|
expanded: this.element.isPopoverVisible
|
|
1874
1900
|
}
|
|
1875
1901
|
});
|
|
@@ -1921,6 +1947,12 @@ class AuroFloatingUI {
|
|
|
1921
1947
|
}
|
|
1922
1948
|
}
|
|
1923
1949
|
|
|
1950
|
+
/**
|
|
1951
|
+
* Manages the tabIndex of the trigger element based on its focusability.
|
|
1952
|
+
*
|
|
1953
|
+
* If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
|
|
1954
|
+
* This prevents the component itself from being focusable when the trigger element already handles focus.
|
|
1955
|
+
*/
|
|
1924
1956
|
handleTriggerTabIndex() {
|
|
1925
1957
|
const focusableElementSelectors = [
|
|
1926
1958
|
'a',
|
|
@@ -1935,6 +1967,9 @@ class AuroFloatingUI {
|
|
|
1935
1967
|
];
|
|
1936
1968
|
|
|
1937
1969
|
const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
|
|
1970
|
+
if (!triggerNode) {
|
|
1971
|
+
return;
|
|
1972
|
+
}
|
|
1938
1973
|
const triggerNodeTagName = triggerNode.tagName.toLowerCase();
|
|
1939
1974
|
|
|
1940
1975
|
focusableElementSelectors.forEach((selector) => {
|
|
@@ -1963,12 +1998,13 @@ class AuroFloatingUI {
|
|
|
1963
1998
|
|
|
1964
1999
|
this.handleTriggerTabIndex();
|
|
1965
2000
|
|
|
1966
|
-
this.
|
|
1967
|
-
this.element.trigger.addEventListener('
|
|
1968
|
-
this.element.trigger.addEventListener('
|
|
1969
|
-
this.element.trigger.addEventListener('
|
|
1970
|
-
this.element.trigger.addEventListener('
|
|
1971
|
-
this.element.trigger.addEventListener('
|
|
2001
|
+
this.handleEvent = this.handleEvent.bind(this);
|
|
2002
|
+
this.element.trigger.addEventListener('keydown', this.handleEvent);
|
|
2003
|
+
this.element.trigger.addEventListener('click', this.handleEvent);
|
|
2004
|
+
this.element.trigger.addEventListener('mouseenter', this.handleEvent);
|
|
2005
|
+
this.element.trigger.addEventListener('mouseleave', this.handleEvent);
|
|
2006
|
+
this.element.trigger.addEventListener('focus', this.handleEvent);
|
|
2007
|
+
this.element.trigger.addEventListener('blur', this.handleEvent);
|
|
1972
2008
|
}
|
|
1973
2009
|
|
|
1974
2010
|
disconnect() {
|
|
@@ -1977,12 +2013,12 @@ class AuroFloatingUI {
|
|
|
1977
2013
|
|
|
1978
2014
|
// Remove event & keyboard listeners
|
|
1979
2015
|
if (this.element?.trigger) {
|
|
1980
|
-
this.element.trigger.removeEventListener('keydown',
|
|
1981
|
-
this.element.trigger.removeEventListener('click',
|
|
1982
|
-
this.element.trigger.removeEventListener('mouseenter',
|
|
1983
|
-
this.element.trigger.removeEventListener('mouseleave',
|
|
1984
|
-
this.element.trigger.removeEventListener('focus',
|
|
1985
|
-
this.element.trigger.removeEventListener('blur',
|
|
2016
|
+
this.element.trigger.removeEventListener('keydown', this.handleEvent);
|
|
2017
|
+
this.element.trigger.removeEventListener('click', this.handleEvent);
|
|
2018
|
+
this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
|
|
2019
|
+
this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
|
|
2020
|
+
this.element.trigger.removeEventListener('focus', this.handleEvent);
|
|
2021
|
+
this.element.trigger.removeEventListener('blur', this.handleEvent);
|
|
1986
2022
|
}
|
|
1987
2023
|
}
|
|
1988
2024
|
}
|
|
@@ -2032,13 +2068,13 @@ class AuroDependencyVersioning {
|
|
|
2032
2068
|
* Copyright 2017 Google LLC
|
|
2033
2069
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2034
2070
|
*/
|
|
2035
|
-
const t$2={ATTRIBUTE:1
|
|
2071
|
+
const t$2={ATTRIBUTE:1},e$4=t=>(...e)=>({_$litDirective$:t,values:e});let i$4 = 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)}};
|
|
2036
2072
|
|
|
2037
2073
|
/**
|
|
2038
2074
|
* @license
|
|
2039
2075
|
* Copyright 2018 Google LLC
|
|
2040
2076
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2041
|
-
*/const e$3=e$4(class extends i$4{constructor(t){if(super(t),t.type!==t$2.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(
|
|
2077
|
+
*/const e$3=e$4(class extends i$4{constructor(t){if(super(t),t.type!==t$2.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}});
|
|
2042
2078
|
|
|
2043
2079
|
/**
|
|
2044
2080
|
* @license
|
|
@@ -2082,7 +2118,7 @@ class AuroElement extends r$4 {
|
|
|
2082
2118
|
}
|
|
2083
2119
|
}
|
|
2084
2120
|
|
|
2085
|
-
var error = {"
|
|
2121
|
+
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>"};
|
|
2086
2122
|
|
|
2087
2123
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2088
2124
|
|
|
@@ -2112,7 +2148,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
2112
2148
|
return _fetchMap.get(uri);
|
|
2113
2149
|
};
|
|
2114
2150
|
|
|
2115
|
-
var styleCss$
|
|
2151
|
+
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}`;
|
|
2116
2152
|
|
|
2117
2153
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2118
2154
|
// See LICENSE in the project root for license information.
|
|
@@ -2152,7 +2188,7 @@ class BaseIcon extends AuroElement {
|
|
|
2152
2188
|
|
|
2153
2189
|
static get styles() {
|
|
2154
2190
|
return i$7`
|
|
2155
|
-
${styleCss$
|
|
2191
|
+
${styleCss$2}
|
|
2156
2192
|
`;
|
|
2157
2193
|
}
|
|
2158
2194
|
|
|
@@ -2193,9 +2229,9 @@ class BaseIcon extends AuroElement {
|
|
|
2193
2229
|
}
|
|
2194
2230
|
}
|
|
2195
2231
|
|
|
2196
|
-
var tokensCss$
|
|
2232
|
+
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)}`;
|
|
2197
2233
|
|
|
2198
|
-
var colorCss$
|
|
2234
|
+
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)}`;
|
|
2199
2235
|
|
|
2200
2236
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2201
2237
|
// See LICENSE in the project root for license information.
|
|
@@ -2257,7 +2293,7 @@ class AuroIcon extends BaseIcon {
|
|
|
2257
2293
|
this.success = false;
|
|
2258
2294
|
this.tertiary = false;
|
|
2259
2295
|
this.warning = false;
|
|
2260
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
2296
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
2261
2297
|
}
|
|
2262
2298
|
|
|
2263
2299
|
// function to define props used within the scope of this component
|
|
@@ -2339,9 +2375,9 @@ class AuroIcon extends BaseIcon {
|
|
|
2339
2375
|
static get styles() {
|
|
2340
2376
|
return [
|
|
2341
2377
|
super.styles,
|
|
2342
|
-
i$7`${tokensCss$
|
|
2343
|
-
i$7`${styleCss$
|
|
2344
|
-
i$7`${colorCss$
|
|
2378
|
+
i$7`${tokensCss$1}`,
|
|
2379
|
+
i$7`${styleCss$2}`,
|
|
2380
|
+
i$7`${colorCss$2}`
|
|
2345
2381
|
];
|
|
2346
2382
|
}
|
|
2347
2383
|
|
|
@@ -2354,7 +2390,7 @@ class AuroIcon extends BaseIcon {
|
|
|
2354
2390
|
*
|
|
2355
2391
|
*/
|
|
2356
2392
|
static register(name = "auro-icon") {
|
|
2357
|
-
AuroLibraryRuntimeUtils
|
|
2393
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
2358
2394
|
}
|
|
2359
2395
|
|
|
2360
2396
|
connectedCallback() {
|
|
@@ -2383,14 +2419,14 @@ class AuroIcon extends BaseIcon {
|
|
|
2383
2419
|
'wrapper': true,
|
|
2384
2420
|
};
|
|
2385
2421
|
|
|
2386
|
-
return x
|
|
2422
|
+
return x`
|
|
2387
2423
|
<div
|
|
2388
2424
|
class="${e$3(classes)}"
|
|
2389
2425
|
title="${o$3(this.title || undefined)}">
|
|
2390
2426
|
<span aria-hidden="${o$3(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
2391
|
-
${this.customSvg ? x
|
|
2427
|
+
${this.customSvg ? x`
|
|
2392
2428
|
<slot name="svg"></slot>
|
|
2393
|
-
` : x
|
|
2429
|
+
` : x`
|
|
2394
2430
|
${this.svg}
|
|
2395
2431
|
`
|
|
2396
2432
|
}
|
|
@@ -2406,238 +2442,11 @@ class AuroIcon extends BaseIcon {
|
|
|
2406
2442
|
|
|
2407
2443
|
var iconVersion = '6.1.2';
|
|
2408
2444
|
|
|
2409
|
-
var styleCss$
|
|
2410
|
-
|
|
2411
|
-
var colorCss$2 = 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)}`;
|
|
2412
|
-
|
|
2413
|
-
var tokensCss$1 = 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)}`;
|
|
2414
|
-
|
|
2415
|
-
/**
|
|
2416
|
-
* @license
|
|
2417
|
-
* Copyright 2019 Google LLC
|
|
2418
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2419
|
-
*/
|
|
2420
|
-
const t$1=globalThis,e$2=t$1.ShadowRoot&&(undefined===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$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&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",undefined,s$1),i$3=(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(o,t,s$1)},S$1=(s,o)=>{if(e$2)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.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
2421
|
-
|
|
2422
|
-
/**
|
|
2423
|
-
* @license
|
|
2424
|
-
* Copyright 2017 Google LLC
|
|
2425
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2426
|
-
*/const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$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=(t,s)=>!i$2(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.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);undefined!==r&&e$1(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$1(this);t.finalize(),undefined!==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$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(undefined!==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);undefined!==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 undefined!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,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),undefined!==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(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$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(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==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=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===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$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
2427
|
-
|
|
2428
|
-
/**
|
|
2429
|
-
* @license
|
|
2430
|
-
* Copyright 2017 Google LLC
|
|
2431
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2432
|
-
*/
|
|
2433
|
-
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(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,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),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(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s?s.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:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):undefined!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=undefined);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+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)){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$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.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,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=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=undefined,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(;undefined!==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) undefined!==s&&(undefined!==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=undefined,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 undefined!==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):undefined!==t._$litType$?this.$(t):undefined!==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&&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):(undefined===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 undefined===i&&A.set(t.strings,i=new N(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){ undefined===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=undefined,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(undefined===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?undefined: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=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
2434
|
-
|
|
2435
|
-
/**
|
|
2436
|
-
* @license
|
|
2437
|
-
* Copyright 2017 Google LLC
|
|
2438
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2439
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}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=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
2440
|
-
|
|
2441
|
-
var colorCss$1 = i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
2442
|
-
|
|
2443
|
-
var styleCss$1 = i$3`.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}`;
|
|
2444
|
-
|
|
2445
|
-
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
2446
|
-
|
|
2447
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
2448
|
-
// See LICENSE in the project root for license information.
|
|
2449
|
-
|
|
2450
|
-
// ---------------------------------------------------------------------
|
|
2451
|
-
|
|
2452
|
-
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2453
|
-
|
|
2454
|
-
class AuroLibraryRuntimeUtils {
|
|
2455
|
-
|
|
2456
|
-
/* eslint-disable jsdoc/require-param */
|
|
2457
|
-
|
|
2458
|
-
/**
|
|
2459
|
-
* This will register a new custom element with the browser.
|
|
2460
|
-
* @param {String} name - The name of the custom element.
|
|
2461
|
-
* @param {Object} componentClass - The class to register as a custom element.
|
|
2462
|
-
* @returns {void}
|
|
2463
|
-
*/
|
|
2464
|
-
registerComponent(name, componentClass) {
|
|
2465
|
-
if (!customElements.get(name)) {
|
|
2466
|
-
customElements.define(name, class extends componentClass {});
|
|
2467
|
-
}
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
/**
|
|
2471
|
-
* Finds and returns the closest HTML Element based on a selector.
|
|
2472
|
-
* @returns {void}
|
|
2473
|
-
*/
|
|
2474
|
-
closestElement(
|
|
2475
|
-
selector, // selector like in .closest()
|
|
2476
|
-
base = this, // extra functionality to skip a parent
|
|
2477
|
-
__Closest = (el, found = el && el.closest(selector)) =>
|
|
2478
|
-
!el || el === document || el === window
|
|
2479
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
2480
|
-
: found
|
|
2481
|
-
? found // found a selector INside this element
|
|
2482
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
2483
|
-
) {
|
|
2484
|
-
return __Closest(base);
|
|
2485
|
-
}
|
|
2486
|
-
/* eslint-enable jsdoc/require-param */
|
|
2487
|
-
|
|
2488
|
-
/**
|
|
2489
|
-
* 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.
|
|
2490
|
-
* @param {Object} elem - The element to check.
|
|
2491
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
2492
|
-
* @returns {void}
|
|
2493
|
-
*/
|
|
2494
|
-
handleComponentTagRename(elem, tagName) {
|
|
2495
|
-
const tag = tagName.toLowerCase();
|
|
2496
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
2497
|
-
|
|
2498
|
-
if (elemTag !== tag) {
|
|
2499
|
-
elem.setAttribute(tag, true);
|
|
2500
|
-
}
|
|
2501
|
-
}
|
|
2502
|
-
|
|
2503
|
-
/**
|
|
2504
|
-
* Validates if an element is a specific Auro component.
|
|
2505
|
-
* @param {Object} elem - The element to validate.
|
|
2506
|
-
* @param {String} tagName - The name of the Auro component to check against.
|
|
2507
|
-
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
2508
|
-
*/
|
|
2509
|
-
elementMatch(elem, tagName) {
|
|
2510
|
-
const tag = tagName.toLowerCase();
|
|
2511
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
2512
|
-
|
|
2513
|
-
return elemTag === tag || elem.hasAttribute(tag);
|
|
2514
|
-
}
|
|
2515
|
-
}
|
|
2516
|
-
|
|
2517
|
-
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2518
|
-
// See LICENSE in the project root for license information.
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
/**
|
|
2522
|
-
* Displays help text or error messages within form elements - Internal Use Only.
|
|
2523
|
-
*
|
|
2524
|
-
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
2525
|
-
*/
|
|
2526
|
-
class AuroHelpText extends r {
|
|
2527
|
-
|
|
2528
|
-
constructor() {
|
|
2529
|
-
super();
|
|
2530
|
-
|
|
2531
|
-
this.error = false;
|
|
2532
|
-
this.hasTextContent = false;
|
|
2533
|
-
}
|
|
2534
|
-
|
|
2535
|
-
static get styles() {
|
|
2536
|
-
return [
|
|
2537
|
-
colorCss$1,
|
|
2538
|
-
styleCss$1,
|
|
2539
|
-
tokensCss
|
|
2540
|
-
];
|
|
2541
|
-
}
|
|
2542
|
-
|
|
2543
|
-
// function to define props used within the scope of this component
|
|
2544
|
-
static get properties() {
|
|
2545
|
-
return {
|
|
2546
|
-
|
|
2547
|
-
/**
|
|
2548
|
-
* @private
|
|
2549
|
-
*/
|
|
2550
|
-
slotNodes: {
|
|
2551
|
-
type: Boolean,
|
|
2552
|
-
},
|
|
2553
|
-
|
|
2554
|
-
/**
|
|
2555
|
-
* @private
|
|
2556
|
-
*/
|
|
2557
|
-
hasTextContent: {
|
|
2558
|
-
type: Boolean,
|
|
2559
|
-
},
|
|
2560
|
-
|
|
2561
|
-
/**
|
|
2562
|
-
* If declared, make font color red.
|
|
2563
|
-
*/
|
|
2564
|
-
error: {
|
|
2565
|
-
type: Boolean,
|
|
2566
|
-
reflect: true,
|
|
2567
|
-
},
|
|
2568
|
-
};
|
|
2569
|
-
}
|
|
2570
|
-
|
|
2571
|
-
/**
|
|
2572
|
-
* This will register this element with the browser.
|
|
2573
|
-
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
2574
|
-
*
|
|
2575
|
-
* @example
|
|
2576
|
-
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
2577
|
-
*
|
|
2578
|
-
*/
|
|
2579
|
-
static register(name = "auro-helptext") {
|
|
2580
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
|
-
updated() {
|
|
2584
|
-
this.handleSlotChange();
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
|
-
handleSlotChange(event) {
|
|
2588
|
-
if (event) {
|
|
2589
|
-
this.slotNodes = event.target.assignedNodes();
|
|
2590
|
-
}
|
|
2591
|
-
|
|
2592
|
-
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
2593
|
-
}
|
|
2594
|
-
|
|
2595
|
-
/**
|
|
2596
|
-
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
2597
|
-
*
|
|
2598
|
-
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
2599
|
-
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
2600
|
-
* @private
|
|
2601
|
-
*/
|
|
2602
|
-
checkSlotsForContent(nodes) {
|
|
2603
|
-
if (!nodes) {
|
|
2604
|
-
return false;
|
|
2605
|
-
}
|
|
2606
|
-
|
|
2607
|
-
return nodes.some((node) => {
|
|
2608
|
-
if (node.textContent.trim()) {
|
|
2609
|
-
return true;
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2612
|
-
if (!node.querySelector) {
|
|
2613
|
-
return false;
|
|
2614
|
-
}
|
|
2615
|
-
|
|
2616
|
-
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
2617
|
-
if (!nestedSlot) {
|
|
2618
|
-
return false;
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
2622
|
-
return this.checkSlotsForContent(nestedSlotNodes);
|
|
2623
|
-
});
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
2627
|
-
render() {
|
|
2628
|
-
return x`
|
|
2629
|
-
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
2630
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
2631
|
-
</div>
|
|
2632
|
-
`;
|
|
2633
|
-
}
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
|
-
AuroHelpText.register();
|
|
2445
|
+
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}`;
|
|
2637
2446
|
|
|
2638
|
-
var
|
|
2447
|
+
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)}`;
|
|
2639
2448
|
|
|
2640
|
-
var
|
|
2449
|
+
var tokensCss = 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)}`;
|
|
2641
2450
|
|
|
2642
2451
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2643
2452
|
// See LICENSE in the project root for license information.
|
|
@@ -2666,19 +2475,29 @@ class AuroDropdownBib extends r$4 {
|
|
|
2666
2475
|
* @private
|
|
2667
2476
|
*/
|
|
2668
2477
|
this._mobileBreakpointValue = undefined;
|
|
2478
|
+
|
|
2479
|
+
AuroLibraryRuntimeUtils.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
2669
2480
|
}
|
|
2670
2481
|
|
|
2671
2482
|
static get styles() {
|
|
2672
2483
|
return [
|
|
2673
|
-
styleCss,
|
|
2674
|
-
colorCss,
|
|
2675
|
-
tokensCss
|
|
2484
|
+
styleCss$1,
|
|
2485
|
+
colorCss$1,
|
|
2486
|
+
tokensCss
|
|
2676
2487
|
];
|
|
2677
2488
|
}
|
|
2678
2489
|
|
|
2679
2490
|
static get properties() {
|
|
2680
2491
|
return {
|
|
2681
2492
|
|
|
2493
|
+
/**
|
|
2494
|
+
* If declared, will take the fullscreen when the bib is displayed.
|
|
2495
|
+
*/
|
|
2496
|
+
isFullscreen: {
|
|
2497
|
+
type: Boolean,
|
|
2498
|
+
reflect: true
|
|
2499
|
+
},
|
|
2500
|
+
|
|
2682
2501
|
/**
|
|
2683
2502
|
* If declared, will apply all styles for the common theme.
|
|
2684
2503
|
*/
|
|
@@ -2721,6 +2540,21 @@ class AuroDropdownBib extends r$4 {
|
|
|
2721
2540
|
return this._mobileBreakpointValue;
|
|
2722
2541
|
}
|
|
2723
2542
|
|
|
2543
|
+
updated(changedProperties) {
|
|
2544
|
+
if (changedProperties.has('isFullscreen')) {
|
|
2545
|
+
this.childNodes.forEach((child) => {
|
|
2546
|
+
// skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
|
|
2547
|
+
if (child.nodeName !== '#text') {
|
|
2548
|
+
if (this.isFullscreen) {
|
|
2549
|
+
child.setAttribute('isFullscreen', 'true');
|
|
2550
|
+
} else {
|
|
2551
|
+
child.removeAttribute('isFullscreen');
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
});
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2724
2558
|
// function that renders the HTML and CSS into the scope of the component
|
|
2725
2559
|
render() {
|
|
2726
2560
|
return u$3`
|
|
@@ -2731,10 +2565,43 @@ class AuroDropdownBib extends r$4 {
|
|
|
2731
2565
|
}
|
|
2732
2566
|
}
|
|
2733
2567
|
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2568
|
+
var dropdownVersion = '3.0.0';
|
|
2569
|
+
|
|
2570
|
+
var styleCss = 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)}`;
|
|
2571
|
+
|
|
2572
|
+
var colorCss = 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)}`;
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
* @license
|
|
2576
|
+
* Copyright 2019 Google LLC
|
|
2577
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2578
|
+
*/
|
|
2579
|
+
const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$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&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",void 0,s$1),i$3=(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(o,t,s$1)},S$1=(s,o)=>{if(e$2)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.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* @license
|
|
2583
|
+
* Copyright 2017 Google LLC
|
|
2584
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2585
|
+
*/const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$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=(t,s)=>!i$2(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.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$1(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$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("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$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(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$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;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$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* @license
|
|
2589
|
+
* Copyright 2017 Google LLC
|
|
2590
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2591
|
+
*/
|
|
2592
|
+
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(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(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.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:d>=0?(o.push(a),s.slice(0,d)+e+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)){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$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.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,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(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(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));}}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.litHtmlPolyfillSupport;j?.(N,R),(t.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(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
2593
|
+
|
|
2594
|
+
/**
|
|
2595
|
+
* @license
|
|
2596
|
+
* Copyright 2017 Google LLC
|
|
2597
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2598
|
+
*/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=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
2599
|
+
|
|
2600
|
+
i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
2601
|
+
|
|
2602
|
+
i$3`.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}`;
|
|
2603
|
+
|
|
2604
|
+
i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
2738
2605
|
|
|
2739
2606
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2740
2607
|
// See LICENSE in the project root for license information.
|
|
@@ -2757,6 +2624,7 @@ class AuroDropdown extends r$4 {
|
|
|
2757
2624
|
super();
|
|
2758
2625
|
|
|
2759
2626
|
this.isPopoverVisible = false;
|
|
2627
|
+
this.isBibFullscreen = false;
|
|
2760
2628
|
this.matchWidth = false;
|
|
2761
2629
|
this.noHideOnThisFocusLoss = false;
|
|
2762
2630
|
|
|
@@ -2810,7 +2678,7 @@ class AuroDropdown extends r$4 {
|
|
|
2810
2678
|
/**
|
|
2811
2679
|
* @private
|
|
2812
2680
|
*/
|
|
2813
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils
|
|
2681
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
2814
2682
|
|
|
2815
2683
|
/**
|
|
2816
2684
|
* @private
|
|
@@ -2831,7 +2699,16 @@ class AuroDropdown extends r$4 {
|
|
|
2831
2699
|
* Generate unique names for dependency components.
|
|
2832
2700
|
*/
|
|
2833
2701
|
const versioning = new AuroDependencyVersioning();
|
|
2702
|
+
|
|
2703
|
+
/**
|
|
2704
|
+
* @private
|
|
2705
|
+
*/
|
|
2834
2706
|
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* @private
|
|
2710
|
+
*/
|
|
2711
|
+
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion, AuroDropdownBib);
|
|
2835
2712
|
}
|
|
2836
2713
|
|
|
2837
2714
|
/**
|
|
@@ -2933,6 +2810,14 @@ class AuroDropdown extends r$4 {
|
|
|
2933
2810
|
type: Boolean
|
|
2934
2811
|
},
|
|
2935
2812
|
|
|
2813
|
+
/**
|
|
2814
|
+
* If true, the dropdown bib is taking the fullscreen when it's open
|
|
2815
|
+
*/
|
|
2816
|
+
isBibFullscreen: {
|
|
2817
|
+
type: Boolean,
|
|
2818
|
+
reflect: true,
|
|
2819
|
+
},
|
|
2820
|
+
|
|
2936
2821
|
/**
|
|
2937
2822
|
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
2938
2823
|
*/
|
|
@@ -3011,9 +2896,9 @@ class AuroDropdown extends r$4 {
|
|
|
3011
2896
|
|
|
3012
2897
|
static get styles() {
|
|
3013
2898
|
return [
|
|
3014
|
-
colorCss
|
|
3015
|
-
styleCss
|
|
3016
|
-
tokensCss
|
|
2899
|
+
colorCss,
|
|
2900
|
+
styleCss,
|
|
2901
|
+
tokensCss
|
|
3017
2902
|
];
|
|
3018
2903
|
}
|
|
3019
2904
|
|
|
@@ -3026,7 +2911,7 @@ class AuroDropdown extends r$4 {
|
|
|
3026
2911
|
*
|
|
3027
2912
|
*/
|
|
3028
2913
|
static register(name = "auro-dropdown") {
|
|
3029
|
-
AuroLibraryRuntimeUtils
|
|
2914
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroDropdown);
|
|
3030
2915
|
}
|
|
3031
2916
|
|
|
3032
2917
|
connectedCallback() {
|
|
@@ -3061,7 +2946,6 @@ class AuroDropdown extends r$4 {
|
|
|
3061
2946
|
|
|
3062
2947
|
/**
|
|
3063
2948
|
* Exposes CSS parts for styling from parent components.
|
|
3064
|
-
* @private
|
|
3065
2949
|
* @returns {void}
|
|
3066
2950
|
*/
|
|
3067
2951
|
exposeCssParts() {
|
|
@@ -3267,18 +3151,17 @@ class AuroDropdown extends r$4 {
|
|
|
3267
3151
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
3268
3152
|
</div>
|
|
3269
3153
|
<div id="bibSizer" part="size"></div>
|
|
3270
|
-
|
|
3154
|
+
<${this.dropdownBibTag}
|
|
3271
3155
|
id="bib"
|
|
3272
3156
|
role="tooltip"
|
|
3157
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
3273
3158
|
?common="${this.common}"
|
|
3274
3159
|
?rounded="${this.common || this.rounded}"
|
|
3275
3160
|
?inset="${this.common || this.inset}">
|
|
3276
|
-
|
|
3161
|
+
</${this.dropdownBibTag}>
|
|
3277
3162
|
</div>
|
|
3278
3163
|
`;
|
|
3279
3164
|
}
|
|
3280
3165
|
}
|
|
3281
3166
|
|
|
3282
|
-
AuroDropdown.register();
|
|
3283
|
-
|
|
3284
3167
|
export { AuroDropdown };
|