@aurodesignsystem/auro-formkit 2.0.0-beta.40 → 2.0.0-beta.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/cache/04e52430125e8954-meta.json +1 -0
- package/.turbo/cache/04e52430125e8954.tar.zst +0 -0
- package/.turbo/cache/0593ea8b5b3ed321-meta.json +1 -0
- package/.turbo/cache/068b8eef3688b4e2-meta.json +1 -0
- package/.turbo/cache/068b8eef3688b4e2.tar.zst +0 -0
- package/.turbo/cache/06c6468593bc10ab-meta.json +1 -0
- package/.turbo/cache/06c6468593bc10ab.tar.zst +0 -0
- package/.turbo/cache/0c48a4d7b5aac928-meta.json +1 -0
- package/.turbo/cache/0c48a4d7b5aac928.tar.zst +0 -0
- package/.turbo/cache/1959dd19c8cca5b3-meta.json +1 -0
- package/.turbo/cache/1c16e59f30927b15-meta.json +1 -0
- package/.turbo/cache/29ac8c4304c43ba8-meta.json +1 -0
- package/.turbo/cache/29ac8c4304c43ba8.tar.zst +0 -0
- package/.turbo/cache/2b46337c7a6faa1f-meta.json +1 -0
- package/.turbo/cache/33b12bddab905466-meta.json +1 -0
- package/.turbo/cache/{6d48e8dc24e08c8c.tar.zst → 33b12bddab905466.tar.zst} +0 -0
- package/.turbo/cache/3e068f9ea52e35fd-meta.json +1 -0
- package/.turbo/cache/3f6725da0ddcb57a-meta.json +1 -0
- package/.turbo/cache/3fa3b39e63c49920-meta.json +1 -0
- package/.turbo/cache/3fbb4335136fe72b-meta.json +1 -0
- package/.turbo/cache/3fbb4335136fe72b.tar.zst +0 -0
- package/.turbo/cache/4d32cb975704a7bc-meta.json +1 -0
- package/.turbo/cache/4d32cb975704a7bc.tar.zst +0 -0
- package/.turbo/cache/504dc5478398bc23-meta.json +1 -0
- package/.turbo/cache/504dc5478398bc23.tar.zst +0 -0
- package/.turbo/cache/5736b4ba6916fd8d-meta.json +1 -0
- package/.turbo/cache/5736b4ba6916fd8d.tar.zst +0 -0
- package/.turbo/cache/5aae6a716a40ac0d-meta.json +1 -0
- package/.turbo/cache/618b3075ce2d9a61-meta.json +1 -0
- package/.turbo/cache/618b3075ce2d9a61.tar.zst +0 -0
- package/.turbo/cache/67c13dfc4fd939fc-meta.json +1 -0
- package/.turbo/cache/68fe65245fb34e68-meta.json +1 -0
- package/.turbo/cache/68fe65245fb34e68.tar.zst +0 -0
- package/.turbo/cache/6a25a3c0fc92f44d-meta.json +1 -0
- package/.turbo/cache/6a25a3c0fc92f44d.tar.zst +0 -0
- package/.turbo/cache/6cd6d76ac166da16-meta.json +1 -0
- package/.turbo/cache/71cd21072abc2990-meta.json +1 -0
- package/.turbo/cache/7b4e0f3ba43fedf0-meta.json +1 -0
- package/.turbo/cache/7b9897d3439462f4-meta.json +1 -0
- package/.turbo/cache/7b9897d3439462f4.tar.zst +0 -0
- package/.turbo/cache/80a42a1ee43a7b11-meta.json +1 -0
- package/.turbo/cache/{7a2e937d0f5acb7c.tar.zst → 80a42a1ee43a7b11.tar.zst} +0 -0
- package/.turbo/cache/80bda930b819e4e5-meta.json +1 -0
- package/.turbo/cache/826ecc96865e3b2b-meta.json +1 -0
- package/.turbo/cache/{4aadd7fe6b69cccf.tar.zst → 826ecc96865e3b2b.tar.zst} +0 -0
- package/.turbo/cache/8a66291a4385f56d-meta.json +1 -0
- package/.turbo/cache/8b33dd53ac78ffcb-meta.json +1 -0
- package/.turbo/cache/8b33dd53ac78ffcb.tar.zst +0 -0
- package/.turbo/cache/922ac9eb482cf470-meta.json +1 -0
- package/.turbo/cache/939cf3ccc40e9ab0-meta.json +1 -0
- package/.turbo/cache/{47d63056350252e5.tar.zst → 939cf3ccc40e9ab0.tar.zst} +0 -0
- package/.turbo/cache/997795fcad6346cf-meta.json +1 -0
- package/.turbo/cache/9d39077f59442e6d-meta.json +1 -0
- package/.turbo/cache/9f33c2699df2acc2-meta.json +1 -0
- package/.turbo/cache/9f33c2699df2acc2.tar.zst +0 -0
- package/.turbo/cache/a95cdb7b2836627c-meta.json +1 -0
- package/.turbo/cache/aa7a71eea03e0057-meta.json +1 -0
- package/.turbo/cache/ac01a85fedf6d42a-meta.json +1 -0
- package/.turbo/cache/ac01a85fedf6d42a.tar.zst +0 -0
- package/.turbo/cache/b0b5371ee9e6fd7b-meta.json +1 -0
- package/.turbo/cache/b0b5371ee9e6fd7b.tar.zst +0 -0
- package/.turbo/cache/b21472a210e5d253-meta.json +1 -0
- package/.turbo/cache/b21472a210e5d253.tar.zst +0 -0
- package/.turbo/cache/ba6844de212fdfc5-meta.json +1 -0
- package/.turbo/cache/bb95b8c7cc483fe7-meta.json +1 -0
- package/.turbo/cache/bb95b8c7cc483fe7.tar.zst +0 -0
- package/.turbo/cache/be89ec729b2d7aa1-meta.json +1 -0
- package/.turbo/cache/be89ec729b2d7aa1.tar.zst +0 -0
- package/.turbo/cache/c0c0f7ab71b548fe-meta.json +1 -0
- package/.turbo/cache/c0c0f7ab71b548fe.tar.zst +0 -0
- package/.turbo/cache/c4b442aa3a612c5a-meta.json +1 -0
- package/.turbo/cache/c833fd369811f0b3-meta.json +1 -0
- package/.turbo/cache/c833fd369811f0b3.tar.zst +0 -0
- package/.turbo/cache/cc1bb0ba75999fd5-meta.json +1 -0
- package/.turbo/cache/cc1bb0ba75999fd5.tar.zst +0 -0
- package/.turbo/cache/cc999fcae80b9892-meta.json +1 -0
- package/.turbo/cache/cf739f73c4d81043-meta.json +1 -0
- package/.turbo/cache/cf87272227a0d544-meta.json +1 -0
- package/.turbo/cache/cf87272227a0d544.tar.zst +0 -0
- package/.turbo/cache/d09e82feba2c48a3-meta.json +1 -0
- package/.turbo/cache/d264bb58130e3915-meta.json +1 -0
- package/.turbo/cache/d4fda50b9aa326d9-meta.json +1 -0
- package/.turbo/cache/da0461631780f1e1-meta.json +1 -0
- package/.turbo/cache/dbdfe30495790f74-meta.json +1 -0
- package/.turbo/cache/dea41fd4a13eb241-meta.json +1 -0
- package/.turbo/cache/e229b033acee0336-meta.json +1 -0
- package/.turbo/cache/ed401f9a734e292c-meta.json +1 -0
- package/.turbo/cache/efafac21cf262b2c-meta.json +1 -0
- package/.turbo/cache/{b323342fa340ccb5.tar.zst → efafac21cf262b2c.tar.zst} +0 -0
- package/.turbo/cache/f20df212682f7978-meta.json +1 -0
- package/.turbo/cache/f20df212682f7978.tar.zst +0 -0
- package/.turbo/cache/f272ad05432871ac-meta.json +1 -0
- package/CHANGELOG.md +27 -0
- package/components/bibtemplate/.stylelintrc.json +3 -0
- package/components/bibtemplate/.turbo/turbo-build$colon$sass.log +24 -0
- package/components/bibtemplate/.turbo/turbo-build$colon$version.log +10 -0
- package/components/bibtemplate/.turbo/turbo-build.log +49 -0
- package/components/bibtemplate/.turbo/turbo-bundler.log +7 -0
- package/components/bibtemplate/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/bibtemplate/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/bibtemplate/.turbo/turbo-types.log +4 -0
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +39 -0
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts.map +1 -0
- package/components/bibtemplate/dist/headerVersion.d.ts +3 -0
- package/components/bibtemplate/dist/headerVersion.d.ts.map +1 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +3 -0
- package/components/bibtemplate/dist/iconVersion.d.ts.map +1 -0
- package/components/bibtemplate/dist/index.d.ts +3 -0
- package/components/bibtemplate/dist/index.d.ts.map +1 -0
- package/components/bibtemplate/dist/index.js +792 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts +3 -0
- package/components/bibtemplate/dist/styles/color-css.d.ts.map +1 -0
- package/components/bibtemplate/dist/styles/style-css.d.ts +3 -0
- package/components/bibtemplate/dist/styles/style-css.d.ts.map +1 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts +3 -0
- package/components/bibtemplate/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/bibtemplate/node_modules/chalk/package.json +83 -0
- package/components/bibtemplate/node_modules/chalk/readme.md +297 -0
- package/components/bibtemplate/node_modules/chalk/source/index.d.ts +325 -0
- package/components/bibtemplate/node_modules/chalk/source/index.js +225 -0
- package/components/bibtemplate/node_modules/chalk/source/utilities.js +33 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/bibtemplate/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/bibtemplate/package.json +60 -0
- package/components/bibtemplate/src/auro-bibtemplate.js +137 -0
- package/components/bibtemplate/src/headerVersion.js +1 -0
- package/components/bibtemplate/src/iconVersion.js +1 -0
- package/components/bibtemplate/src/index.js +6 -0
- package/components/bibtemplate/src/styles/color-css.js +2 -0
- package/components/bibtemplate/src/styles/color.css +1 -0
- package/components/bibtemplate/src/styles/color.scss +0 -0
- package/components/bibtemplate/src/styles/style-css.js +2 -0
- package/components/bibtemplate/src/styles/style.css +58 -0
- package/components/bibtemplate/src/styles/style.scss +62 -0
- package/components/bibtemplate/src/styles/tokens-css.js +2 -0
- package/components/bibtemplate/src/styles/tokens.css +3 -0
- package/components/bibtemplate/src/styles/tokens.scss +5 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/combobox/.turbo/turbo-build.log +5 -0
- package/components/combobox/README.md +6 -4
- package/components/combobox/demo/api.md +79 -0
- package/components/combobox/demo/api.min.js +1529 -514
- package/components/combobox/demo/index.md +16 -0
- package/components/combobox/demo/index.min.js +1529 -514
- package/components/combobox/dist/auro-combobox.d.ts +45 -2
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/bibtemplateVersion.d.ts +3 -0
- package/components/combobox/dist/bibtemplateVersion.d.ts.map +1 -0
- package/components/combobox/dist/index.js +1454 -439
- package/components/combobox/package.json +1 -0
- package/components/combobox/src/auro-combobox.js +172 -23
- package/components/combobox/src/bibtemplateVersion.js +1 -0
- package/components/combobox/src/styles/style-css.js +1 -1
- package/components/combobox/src/styles/style.css +0 -4
- package/components/combobox/src/styles/style.scss +0 -8
- package/components/counter/.turbo/turbo-build.log +2 -2
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +244 -168
- package/components/counter/demo/index.min.js +244 -168
- package/components/counter/dist/index.js +244 -168
- package/components/datepicker/.turbo/turbo-build.log +3 -3
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +245 -169
- package/components/datepicker/demo/index.min.js +245 -169
- package/components/datepicker/dist/index.js +245 -169
- package/components/datepicker/src/auro-calendar.js +1 -1
- package/components/dropdown/.turbo/turbo-build.log +6 -3
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +6 -4
- package/components/dropdown/demo/api.min.js +244 -168
- package/components/dropdown/demo/index.min.js +244 -168
- package/components/dropdown/dist/auro-dropdown.d.ts +17 -3
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/auro-dropdownBib.d.ts +8 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts.map +1 -1
- package/components/dropdown/dist/dropdownVersion.d.ts +3 -0
- package/components/dropdown/dist/dropdownVersion.d.ts.map +1 -0
- package/components/dropdown/dist/index.js +244 -168
- package/components/dropdown/src/auro-dropdown.js +25 -4
- package/components/dropdown/src/auro-dropdownBib.js +27 -5
- package/components/dropdown/src/dropdownVersion.js +1 -0
- package/components/dropdown/src/styles/bibStyles-css.js +1 -1
- package/components/dropdown/src/styles/bibStyles.css +1 -0
- package/components/dropdown/src/styles/bibStyles.scss +1 -0
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/form/demo/api.min.js +15 -2
- package/components/form/demo/index.min.js +15 -2
- package/components/form/dist/auro-form.d.ts +1 -0
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +15 -2
- package/components/form/src/auro-form.js +15 -2
- package/components/helptext/.turbo/turbo-build.log +1 -1
- package/components/helptext/.turbo/turbo-bundler.log +1 -1
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/README.md +1 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/select/.turbo/turbo-build.log +2 -2
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +244 -168
- package/components/select/demo/index.min.js +244 -168
- package/components/select/dist/index.js +244 -168
- package/package.json +2 -2
- package/turbo.json +1 -0
- 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/06dfc9c20aacd0fa-meta.json +0 -1
- package/.turbo/cache/075034ccdb82fbea-meta.json +0 -1
- 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/138466aaa06fa946-meta.json +0 -1
- 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/1d4e8167ea8e924f-meta.json +0 -1
- 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/2d51091c22fc92f5-meta.json +0 -1
- package/.turbo/cache/2d51091c22fc92f5.tar.zst +0 -0
- package/.turbo/cache/3025cdff2ca7afbf-meta.json +0 -1
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +0 -1
- package/.turbo/cache/366fc19b143f7957-meta.json +0 -1
- package/.turbo/cache/366fc19b143f7957.tar.zst +0 -0
- package/.turbo/cache/3dba2f8fdc7eb1d0-meta.json +0 -1
- package/.turbo/cache/43995f6c84a2de33-meta.json +0 -1
- package/.turbo/cache/45d6aea680ecb5ec-meta.json +0 -1
- 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/4aadd7fe6b69cccf-meta.json +0 -1
- package/.turbo/cache/5b3bb164db4c477c-meta.json +0 -1
- package/.turbo/cache/6bfd7cffad1e6b8a-meta.json +0 -1
- package/.turbo/cache/6d48e8dc24e08c8c-meta.json +0 -1
- package/.turbo/cache/70e65d2581c9de95-meta.json +0 -1
- package/.turbo/cache/78629f56974cc5d7-meta.json +0 -1
- package/.turbo/cache/78629f56974cc5d7.tar.zst +0 -0
- package/.turbo/cache/7a2e937d0f5acb7c-meta.json +0 -1
- package/.turbo/cache/85f181c5a0ebfdc3-meta.json +0 -1
- 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/8f20a1cd3533e2cb-meta.json +0 -1
- package/.turbo/cache/91de2098a36b6939-meta.json +0 -1
- package/.turbo/cache/96edc0764ed4ab77-meta.json +0 -1
- package/.turbo/cache/a776eb6f87cd7464-meta.json +0 -1
- 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/b323342fa340ccb5-meta.json +0 -1
- 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/c1c7334875426ff3-meta.json +0 -1
- package/.turbo/cache/cd12b66dd972aaf7-meta.json +0 -1
- package/.turbo/cache/cf74604f39b00f11-meta.json +0 -1
- package/.turbo/cache/d5dbe6fb31ae5667-meta.json +0 -1
- package/.turbo/cache/e2688cc026390fd6-meta.json +0 -1
- package/.turbo/cache/e2688cc026390fd6.tar.zst +0 -0
- package/.turbo/cache/e34579fa4cd85684-meta.json +0 -1
- package/.turbo/cache/e34579fa4cd85684.tar.zst +0 -0
- package/.turbo/cache/e64bd75c16c140f3-meta.json +0 -1
- package/.turbo/cache/ea92743dea3b7023-meta.json +0 -1
- 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/f8f7a8045f230b79-meta.json +0 -1
- package/.turbo/cache/f8f7a8045f230b79.tar.zst +0 -0
- package/.turbo/cache/f8f99ba69bff8f2c-meta.json +0 -1
- package/.turbo/cache/faafa5cc35d12e06-meta.json +0 -1
- package/.turbo/cache/faafa5cc35d12e06.tar.zst +0 -0
- /package/.turbo/cache/{03338963f2ae4c89.tar.zst → 0593ea8b5b3ed321.tar.zst} +0 -0
- /package/.turbo/cache/{d5dbe6fb31ae5667.tar.zst → 1959dd19c8cca5b3.tar.zst} +0 -0
- /package/.turbo/cache/{cd12b66dd972aaf7.tar.zst → 1c16e59f30927b15.tar.zst} +0 -0
- /package/.turbo/cache/{8f20a1cd3533e2cb.tar.zst → 2b46337c7a6faa1f.tar.zst} +0 -0
- /package/.turbo/cache/{f22dc2dd55715ba2.tar.zst → 3e068f9ea52e35fd.tar.zst} +0 -0
- /package/.turbo/cache/{91de2098a36b6939.tar.zst → 3f6725da0ddcb57a.tar.zst} +0 -0
- /package/.turbo/cache/{43995f6c84a2de33.tar.zst → 3fa3b39e63c49920.tar.zst} +0 -0
- /package/.turbo/cache/{bff34c0db361f414.tar.zst → 5aae6a716a40ac0d.tar.zst} +0 -0
- /package/.turbo/cache/{a776eb6f87cd7464.tar.zst → 67c13dfc4fd939fc.tar.zst} +0 -0
- /package/.turbo/cache/{3dba2f8fdc7eb1d0.tar.zst → 6cd6d76ac166da16.tar.zst} +0 -0
- /package/.turbo/cache/{10b8500a6b0c6655.tar.zst → 71cd21072abc2990.tar.zst} +0 -0
- /package/.turbo/cache/{88d4c5b7339b081b.tar.zst → 7b4e0f3ba43fedf0.tar.zst} +0 -0
- /package/.turbo/cache/{1d4e8167ea8e924f.tar.zst → 80bda930b819e4e5.tar.zst} +0 -0
- /package/.turbo/cache/{5b3bb164db4c477c.tar.zst → 8a66291a4385f56d.tar.zst} +0 -0
- /package/.turbo/cache/{45d6aea680ecb5ec.tar.zst → 922ac9eb482cf470.tar.zst} +0 -0
- /package/.turbo/cache/{3025cdff2ca7afbf.tar.zst → 997795fcad6346cf.tar.zst} +0 -0
- /package/.turbo/cache/{06dfc9c20aacd0fa.tar.zst → 9d39077f59442e6d.tar.zst} +0 -0
- /package/.turbo/cache/{22fc147c04804f70.tar.zst → a95cdb7b2836627c.tar.zst} +0 -0
- /package/.turbo/cache/{f8f99ba69bff8f2c.tar.zst → aa7a71eea03e0057.tar.zst} +0 -0
- /package/.turbo/cache/{96edc0764ed4ab77.tar.zst → ba6844de212fdfc5.tar.zst} +0 -0
- /package/.turbo/cache/{85f181c5a0ebfdc3.tar.zst → c4b442aa3a612c5a.tar.zst} +0 -0
- /package/.turbo/cache/{70e65d2581c9de95.tar.zst → cc999fcae80b9892.tar.zst} +0 -0
- /package/.turbo/cache/{3082b3a86c0f9b94.tar.zst → cf739f73c4d81043.tar.zst} +0 -0
- /package/.turbo/cache/{ea92743dea3b7023.tar.zst → d09e82feba2c48a3.tar.zst} +0 -0
- /package/.turbo/cache/{c1c7334875426ff3.tar.zst → d264bb58130e3915.tar.zst} +0 -0
- /package/.turbo/cache/{1c347bdf63624c8a.tar.zst → d4fda50b9aa326d9.tar.zst} +0 -0
- /package/.turbo/cache/{138466aaa06fa946.tar.zst → da0461631780f1e1.tar.zst} +0 -0
- /package/.turbo/cache/{075034ccdb82fbea.tar.zst → dbdfe30495790f74.tar.zst} +0 -0
- /package/.turbo/cache/{ac98992ca27cd36e.tar.zst → dea41fd4a13eb241.tar.zst} +0 -0
- /package/.turbo/cache/{6bfd7cffad1e6b8a.tar.zst → e229b033acee0336.tar.zst} +0 -0
- /package/.turbo/cache/{e64bd75c16c140f3.tar.zst → ed401f9a734e292c.tar.zst} +0 -0
- /package/.turbo/cache/{cf74604f39b00f11.tar.zst → f272ad05432871ac.tar.zst} +0 -0
|
@@ -2183,37 +2183,23 @@ class AuroFloatingUI {
|
|
|
2183
2183
|
}
|
|
2184
2184
|
|
|
2185
2185
|
/**
|
|
2186
|
-
*
|
|
2187
|
-
*
|
|
2188
|
-
*
|
|
2189
|
-
* This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
|
|
2190
|
-
* If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
|
|
2191
|
-
* mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
|
|
2192
|
-
*
|
|
2193
|
-
* @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
|
|
2194
|
-
* If true, the bib content dimensions are cleared; if false, they are set
|
|
2195
|
-
* based on the bibSizer's computed styles.
|
|
2186
|
+
* Mirrors the size of the bibSizer element to the bib content.
|
|
2187
|
+
* Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
|
|
2188
|
+
* This ensures that the bib content has the same dimensions as the sizer element.
|
|
2196
2189
|
*/
|
|
2197
|
-
mirrorSize(
|
|
2190
|
+
mirrorSize() {
|
|
2198
2191
|
// mirror the boxsize from bibSizer
|
|
2199
2192
|
if (this.element.bibSizer) {
|
|
2200
2193
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
2201
2194
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2202
|
-
if (
|
|
2203
|
-
bibContent.style.width =
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
bibContent.style.
|
|
2207
|
-
} else {
|
|
2208
|
-
if (sizerStyle.width !== '0px') {
|
|
2209
|
-
bibContent.style.width = sizerStyle.width;
|
|
2210
|
-
}
|
|
2211
|
-
if (sizerStyle.height !== '0px') {
|
|
2212
|
-
bibContent.style.height = sizerStyle.height;
|
|
2213
|
-
}
|
|
2214
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2215
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2195
|
+
if (sizerStyle.width !== '0px') {
|
|
2196
|
+
bibContent.style.width = sizerStyle.width;
|
|
2197
|
+
}
|
|
2198
|
+
if (sizerStyle.height !== '0px') {
|
|
2199
|
+
bibContent.style.height = sizerStyle.height;
|
|
2216
2200
|
}
|
|
2201
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
2202
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
2217
2203
|
}
|
|
2218
2204
|
}
|
|
2219
2205
|
|
|
@@ -2229,11 +2215,12 @@ class AuroFloatingUI {
|
|
|
2229
2215
|
getPositioningStrategy() {
|
|
2230
2216
|
let strategy = 'floating';
|
|
2231
2217
|
if (this.element.bib.mobileFullscreenBreakpoint) {
|
|
2232
|
-
const
|
|
2233
|
-
if (
|
|
2218
|
+
const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
|
|
2219
|
+
if (smallerThanBreakpoint) {
|
|
2234
2220
|
strategy = 'fullscreen';
|
|
2235
2221
|
}
|
|
2236
2222
|
}
|
|
2223
|
+
|
|
2237
2224
|
return strategy;
|
|
2238
2225
|
}
|
|
2239
2226
|
|
|
@@ -2247,13 +2234,10 @@ class AuroFloatingUI {
|
|
|
2247
2234
|
*/
|
|
2248
2235
|
position() {
|
|
2249
2236
|
const strategy = this.getPositioningStrategy();
|
|
2250
|
-
|
|
2251
|
-
this.configureBibFullscreen(true);
|
|
2252
|
-
this.mirrorSize(true);
|
|
2253
|
-
} else {
|
|
2254
|
-
this.configureBibFullscreen(false);
|
|
2255
|
-
this.mirrorSize(false);
|
|
2237
|
+
this.configureBibStrategy(strategy);
|
|
2256
2238
|
|
|
2239
|
+
if (strategy === 'floating') {
|
|
2240
|
+
this.mirrorSize();
|
|
2257
2241
|
// Define the middlware for the floater configuration
|
|
2258
2242
|
const middleware = [
|
|
2259
2243
|
offset(this.element.floaterConfig.offset || 0),
|
|
@@ -2276,22 +2260,62 @@ class AuroFloatingUI {
|
|
|
2276
2260
|
|
|
2277
2261
|
/**
|
|
2278
2262
|
* @private
|
|
2279
|
-
*
|
|
2263
|
+
* Controls whether to lock the scrolling for the document's body.
|
|
2264
|
+
* @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
|
|
2265
|
+
*/
|
|
2266
|
+
lockScroll(lock = true) {
|
|
2267
|
+
if (lock) {
|
|
2268
|
+
document.body.style.overflow = 'hidden'; // hide body's scrollbar
|
|
2269
|
+
|
|
2270
|
+
// Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
|
|
2271
|
+
this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
|
|
2272
|
+
} else {
|
|
2273
|
+
document.body.style.overflow = '';
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* @private
|
|
2279
|
+
* Configures the bib element's display strategy.
|
|
2280
2280
|
*
|
|
2281
|
-
*
|
|
2282
|
-
*
|
|
2283
|
-
* 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
|
|
2281
|
+
* Sets the bib to fullscreen or floating mode based on the provided strategy.
|
|
2282
|
+
* Dispatches a 'strategy-change' event if the strategy changes.
|
|
2284
2283
|
*
|
|
2285
|
-
* @param {
|
|
2284
|
+
* @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
|
|
2286
2285
|
*/
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2286
|
+
configureBibStrategy(strategy) {
|
|
2287
|
+
const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
|
|
2288
|
+
if (strategy === 'fullscreen') {
|
|
2289
|
+
this.element.isBibFullscreen = true;
|
|
2290
2290
|
// reset the prev position
|
|
2291
2291
|
this.element.bib.style.top = "0px";
|
|
2292
2292
|
this.element.bib.style.left = "0px";
|
|
2293
|
+
|
|
2294
|
+
// reset the size that was mirroring `size` css-part
|
|
2295
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
2296
|
+
bibContent.style.width = '';
|
|
2297
|
+
bibContent.style.height = '';
|
|
2298
|
+
bibContent.style.maxWidth = '';
|
|
2299
|
+
bibContent.style.maxHeight = `${window.visualViewport.height}px`;
|
|
2300
|
+
|
|
2301
|
+
if (this.element.isPopoverVisible) {
|
|
2302
|
+
this.lockScroll(true);
|
|
2303
|
+
}
|
|
2293
2304
|
} else {
|
|
2294
|
-
this.element.
|
|
2305
|
+
this.element.isBibFullscreen = false;
|
|
2306
|
+
|
|
2307
|
+
this.lockScroll(false);
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
if (prevStrategy !== strategy) {
|
|
2311
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
|
|
2312
|
+
detail: {
|
|
2313
|
+
strategy,
|
|
2314
|
+
},
|
|
2315
|
+
composed: true
|
|
2316
|
+
});
|
|
2317
|
+
|
|
2318
|
+
this.element.dispatchEvent(event);
|
|
2295
2319
|
}
|
|
2296
2320
|
}
|
|
2297
2321
|
|
|
@@ -2397,6 +2421,7 @@ class AuroFloatingUI {
|
|
|
2397
2421
|
this.updateCurrentExpandedDropdown();
|
|
2398
2422
|
this.element.isPopoverVisible = true;
|
|
2399
2423
|
this.element.triggerChevron?.setAttribute('data-expanded', true);
|
|
2424
|
+
|
|
2400
2425
|
this.dispatchEventDropdownToggle();
|
|
2401
2426
|
this.position();
|
|
2402
2427
|
|
|
@@ -2414,6 +2439,7 @@ class AuroFloatingUI {
|
|
|
2414
2439
|
hideBib() {
|
|
2415
2440
|
if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
|
|
2416
2441
|
this.element.isPopoverVisible = false;
|
|
2442
|
+
this.lockScroll(false);
|
|
2417
2443
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
2418
2444
|
this.dispatchEventDropdownToggle();
|
|
2419
2445
|
}
|
|
@@ -2426,7 +2452,7 @@ class AuroFloatingUI {
|
|
|
2426
2452
|
dispatchEventDropdownToggle() {
|
|
2427
2453
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
2428
2454
|
detail: {
|
|
2429
|
-
expanded: this.isPopoverVisible,
|
|
2455
|
+
expanded: this.element.isPopoverVisible,
|
|
2430
2456
|
},
|
|
2431
2457
|
composed: true
|
|
2432
2458
|
});
|
|
@@ -2443,7 +2469,7 @@ class AuroFloatingUI {
|
|
|
2443
2469
|
|
|
2444
2470
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
2445
2471
|
composed: true,
|
|
2446
|
-
|
|
2472
|
+
detail: {
|
|
2447
2473
|
expanded: this.element.isPopoverVisible
|
|
2448
2474
|
}
|
|
2449
2475
|
});
|
|
@@ -2495,6 +2521,12 @@ class AuroFloatingUI {
|
|
|
2495
2521
|
}
|
|
2496
2522
|
}
|
|
2497
2523
|
|
|
2524
|
+
/**
|
|
2525
|
+
* Manages the tabIndex of the trigger element based on its focusability.
|
|
2526
|
+
*
|
|
2527
|
+
* If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
|
|
2528
|
+
* This prevents the component itself from being focusable when the trigger element already handles focus.
|
|
2529
|
+
*/
|
|
2498
2530
|
handleTriggerTabIndex() {
|
|
2499
2531
|
const focusableElementSelectors = [
|
|
2500
2532
|
'a',
|
|
@@ -2509,6 +2541,9 @@ class AuroFloatingUI {
|
|
|
2509
2541
|
];
|
|
2510
2542
|
|
|
2511
2543
|
const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
|
|
2544
|
+
if (!triggerNode) {
|
|
2545
|
+
return;
|
|
2546
|
+
}
|
|
2512
2547
|
const triggerNodeTagName = triggerNode.tagName.toLowerCase();
|
|
2513
2548
|
|
|
2514
2549
|
focusableElementSelectors.forEach((selector) => {
|
|
@@ -2537,12 +2572,13 @@ class AuroFloatingUI {
|
|
|
2537
2572
|
|
|
2538
2573
|
this.handleTriggerTabIndex();
|
|
2539
2574
|
|
|
2540
|
-
this.
|
|
2541
|
-
this.element.trigger.addEventListener('
|
|
2542
|
-
this.element.trigger.addEventListener('
|
|
2543
|
-
this.element.trigger.addEventListener('
|
|
2544
|
-
this.element.trigger.addEventListener('
|
|
2545
|
-
this.element.trigger.addEventListener('
|
|
2575
|
+
this.handleEvent = this.handleEvent.bind(this);
|
|
2576
|
+
this.element.trigger.addEventListener('keydown', this.handleEvent);
|
|
2577
|
+
this.element.trigger.addEventListener('click', this.handleEvent);
|
|
2578
|
+
this.element.trigger.addEventListener('mouseenter', this.handleEvent);
|
|
2579
|
+
this.element.trigger.addEventListener('mouseleave', this.handleEvent);
|
|
2580
|
+
this.element.trigger.addEventListener('focus', this.handleEvent);
|
|
2581
|
+
this.element.trigger.addEventListener('blur', this.handleEvent);
|
|
2546
2582
|
}
|
|
2547
2583
|
|
|
2548
2584
|
disconnect() {
|
|
@@ -2551,12 +2587,12 @@ class AuroFloatingUI {
|
|
|
2551
2587
|
|
|
2552
2588
|
// Remove event & keyboard listeners
|
|
2553
2589
|
if (this.element?.trigger) {
|
|
2554
|
-
this.element.trigger.removeEventListener('keydown',
|
|
2555
|
-
this.element.trigger.removeEventListener('click',
|
|
2556
|
-
this.element.trigger.removeEventListener('mouseenter',
|
|
2557
|
-
this.element.trigger.removeEventListener('mouseleave',
|
|
2558
|
-
this.element.trigger.removeEventListener('focus',
|
|
2559
|
-
this.element.trigger.removeEventListener('blur',
|
|
2590
|
+
this.element.trigger.removeEventListener('keydown', this.handleEvent);
|
|
2591
|
+
this.element.trigger.removeEventListener('click', this.handleEvent);
|
|
2592
|
+
this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
|
|
2593
|
+
this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
|
|
2594
|
+
this.element.trigger.removeEventListener('focus', this.handleEvent);
|
|
2595
|
+
this.element.trigger.removeEventListener('blur', this.handleEvent);
|
|
2560
2596
|
}
|
|
2561
2597
|
}
|
|
2562
2598
|
}
|
|
@@ -2980,12 +3016,135 @@ let AuroIcon$2 = class AuroIcon extends BaseIcon$2 {
|
|
|
2980
3016
|
|
|
2981
3017
|
var iconVersion$2 = '6.1.2';
|
|
2982
3018
|
|
|
2983
|
-
var styleCss$2$2 = i$7`:host{position:
|
|
3019
|
+
var styleCss$2$2 = 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}`;
|
|
2984
3020
|
|
|
2985
|
-
var colorCss$2$2 = i$7`.
|
|
3021
|
+
var colorCss$2$2 = 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)}`;
|
|
2986
3022
|
|
|
2987
3023
|
var tokensCss$1$2 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2988
3024
|
|
|
3025
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3026
|
+
// See LICENSE in the project root for license information.
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
3031
|
+
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
3032
|
+
'lg',
|
|
3033
|
+
'md',
|
|
3034
|
+
'sm',
|
|
3035
|
+
'xs',
|
|
3036
|
+
];
|
|
3037
|
+
|
|
3038
|
+
/**
|
|
3039
|
+
* @prop { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3040
|
+
* @csspart bibContainer - Apply css to the bib container.
|
|
3041
|
+
*/
|
|
3042
|
+
|
|
3043
|
+
class AuroDropdownBib extends r$4 {
|
|
3044
|
+
|
|
3045
|
+
constructor() {
|
|
3046
|
+
super();
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* @private
|
|
3050
|
+
*/
|
|
3051
|
+
this._mobileBreakpointValue = undefined;
|
|
3052
|
+
|
|
3053
|
+
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
static get styles() {
|
|
3057
|
+
return [
|
|
3058
|
+
styleCss$2$2,
|
|
3059
|
+
colorCss$2$2,
|
|
3060
|
+
tokensCss$1$2
|
|
3061
|
+
];
|
|
3062
|
+
}
|
|
3063
|
+
|
|
3064
|
+
static get properties() {
|
|
3065
|
+
return {
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* If declared, will take the fullscreen when the bib is displayed.
|
|
3069
|
+
*/
|
|
3070
|
+
isFullscreen: {
|
|
3071
|
+
type: Boolean,
|
|
3072
|
+
reflect: true
|
|
3073
|
+
},
|
|
3074
|
+
|
|
3075
|
+
/**
|
|
3076
|
+
* If declared, will apply all styles for the common theme.
|
|
3077
|
+
*/
|
|
3078
|
+
common: {
|
|
3079
|
+
type: Boolean,
|
|
3080
|
+
reflect: true
|
|
3081
|
+
},
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* If declared, will apply extra padding to bib content.
|
|
3085
|
+
*/
|
|
3086
|
+
inset: {
|
|
3087
|
+
type: Boolean,
|
|
3088
|
+
reflect: true
|
|
3089
|
+
},
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* If declared, will apply border-radius to the bib.
|
|
3093
|
+
*/
|
|
3094
|
+
rounded: {
|
|
3095
|
+
type: Boolean,
|
|
3096
|
+
reflect: true
|
|
3097
|
+
},
|
|
3098
|
+
};
|
|
3099
|
+
}
|
|
3100
|
+
|
|
3101
|
+
set mobileFullscreenBreakpoint(value) {
|
|
3102
|
+
// verify the defined breakpoint is valid and exit out if not
|
|
3103
|
+
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
3104
|
+
if (!validatedValue) {
|
|
3105
|
+
this._mobileBreakpointValue = undefined;
|
|
3106
|
+
} else {
|
|
3107
|
+
// get the pixel value for the defined breakpoint
|
|
3108
|
+
const docStyle = getComputedStyle(document.documentElement);
|
|
3109
|
+
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
3110
|
+
}
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
get mobileFullscreenBreakpoint() {
|
|
3114
|
+
return this._mobileBreakpointValue;
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
updated(changedProperties) {
|
|
3118
|
+
if (changedProperties.has('isFullscreen')) {
|
|
3119
|
+
this.childNodes.forEach((child) => {
|
|
3120
|
+
// skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
|
|
3121
|
+
if (child.nodeName !== '#text') {
|
|
3122
|
+
if (this.isFullscreen) {
|
|
3123
|
+
child.setAttribute('isFullscreen', 'true');
|
|
3124
|
+
} else {
|
|
3125
|
+
child.removeAttribute('isFullscreen');
|
|
3126
|
+
}
|
|
3127
|
+
}
|
|
3128
|
+
});
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
3133
|
+
render() {
|
|
3134
|
+
return u$3`
|
|
3135
|
+
<div class="container" part="bibContainer">
|
|
3136
|
+
<slot></slot>
|
|
3137
|
+
</div>
|
|
3138
|
+
`;
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
|
|
3142
|
+
var dropdownVersion$1 = '3.0.0';
|
|
3143
|
+
|
|
3144
|
+
var styleCss$1$2 = 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)}`;
|
|
3145
|
+
|
|
3146
|
+
var colorCss$1$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)}`;
|
|
3147
|
+
|
|
2989
3148
|
/**
|
|
2990
3149
|
* @license
|
|
2991
3150
|
* Copyright 2019 Google LLC
|
|
@@ -3012,9 +3171,9 @@ const t$5=globalThis,i$1$1=t$5.trustedTypes,s$5=i$1$1?i$1$1.createPolicy("lit-ht
|
|
|
3012
3171
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3013
3172
|
*/let r$8 = class r extends b$2{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$2(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$2}};r$8._$litElement$=true,r$8["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$8});const i$a=globalThis.litElementPolyfillSupport;i$a?.({LitElement:r$8});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
3014
3173
|
|
|
3015
|
-
var colorCss$
|
|
3174
|
+
var colorCss$5 = i$3$1`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
3016
3175
|
|
|
3017
|
-
var styleCss$
|
|
3176
|
+
var styleCss$5 = i$3$1`.helptext-wrapper{display:none;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(*:not(:empty)){margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0}::slotted(p){margin-block:0}`;
|
|
3018
3177
|
|
|
3019
3178
|
var tokensCss$4 = i$3$1`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
3020
3179
|
|
|
@@ -3108,8 +3267,8 @@ class AuroHelpText extends r$8 {
|
|
|
3108
3267
|
|
|
3109
3268
|
static get styles() {
|
|
3110
3269
|
return [
|
|
3111
|
-
colorCss$
|
|
3112
|
-
styleCss$
|
|
3270
|
+
colorCss$5,
|
|
3271
|
+
styleCss$5,
|
|
3113
3272
|
tokensCss$4
|
|
3114
3273
|
];
|
|
3115
3274
|
}
|
|
@@ -3209,107 +3368,6 @@ class AuroHelpText extends r$8 {
|
|
|
3209
3368
|
|
|
3210
3369
|
AuroHelpText.register();
|
|
3211
3370
|
|
|
3212
|
-
var styleCss$5 = 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}: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}`;
|
|
3213
|
-
|
|
3214
|
-
var colorCss$5 = 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)}`;
|
|
3215
|
-
|
|
3216
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3217
|
-
// See LICENSE in the project root for license information.
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
3222
|
-
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
3223
|
-
'lg',
|
|
3224
|
-
'md',
|
|
3225
|
-
'sm',
|
|
3226
|
-
'xs',
|
|
3227
|
-
];
|
|
3228
|
-
|
|
3229
|
-
/**
|
|
3230
|
-
* @prop { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
3231
|
-
* @csspart bibContainer - Apply css to the bib container.
|
|
3232
|
-
*/
|
|
3233
|
-
|
|
3234
|
-
class AuroDropdownBib extends r$4 {
|
|
3235
|
-
|
|
3236
|
-
constructor() {
|
|
3237
|
-
super();
|
|
3238
|
-
|
|
3239
|
-
/**
|
|
3240
|
-
* @private
|
|
3241
|
-
*/
|
|
3242
|
-
this._mobileBreakpointValue = undefined;
|
|
3243
|
-
}
|
|
3244
|
-
|
|
3245
|
-
static get styles() {
|
|
3246
|
-
return [
|
|
3247
|
-
styleCss$5,
|
|
3248
|
-
colorCss$5,
|
|
3249
|
-
tokensCss$1$2
|
|
3250
|
-
];
|
|
3251
|
-
}
|
|
3252
|
-
|
|
3253
|
-
static get properties() {
|
|
3254
|
-
return {
|
|
3255
|
-
|
|
3256
|
-
/**
|
|
3257
|
-
* If declared, will apply all styles for the common theme.
|
|
3258
|
-
*/
|
|
3259
|
-
common: {
|
|
3260
|
-
type: Boolean,
|
|
3261
|
-
reflect: true
|
|
3262
|
-
},
|
|
3263
|
-
|
|
3264
|
-
/**
|
|
3265
|
-
* If declared, will apply extra padding to bib content.
|
|
3266
|
-
*/
|
|
3267
|
-
inset: {
|
|
3268
|
-
type: Boolean,
|
|
3269
|
-
reflect: true
|
|
3270
|
-
},
|
|
3271
|
-
|
|
3272
|
-
/**
|
|
3273
|
-
* If declared, will apply border-radius to the bib.
|
|
3274
|
-
*/
|
|
3275
|
-
rounded: {
|
|
3276
|
-
type: Boolean,
|
|
3277
|
-
reflect: true
|
|
3278
|
-
},
|
|
3279
|
-
};
|
|
3280
|
-
}
|
|
3281
|
-
|
|
3282
|
-
set mobileFullscreenBreakpoint(value) {
|
|
3283
|
-
// verify the defined breakpoint is valid and exit out if not
|
|
3284
|
-
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
3285
|
-
if (!validatedValue) {
|
|
3286
|
-
this._mobileBreakpointValue = undefined;
|
|
3287
|
-
} else {
|
|
3288
|
-
// get the pixel value for the defined breakpoint
|
|
3289
|
-
const docStyle = getComputedStyle(document.documentElement);
|
|
3290
|
-
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
3291
|
-
}
|
|
3292
|
-
}
|
|
3293
|
-
|
|
3294
|
-
get mobileFullscreenBreakpoint() {
|
|
3295
|
-
return this._mobileBreakpointValue;
|
|
3296
|
-
}
|
|
3297
|
-
|
|
3298
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
3299
|
-
render() {
|
|
3300
|
-
return u$3`
|
|
3301
|
-
<div class="container" part="bibContainer">
|
|
3302
|
-
<slot></slot>
|
|
3303
|
-
</div>
|
|
3304
|
-
`;
|
|
3305
|
-
}
|
|
3306
|
-
}
|
|
3307
|
-
|
|
3308
|
-
// default internal definition
|
|
3309
|
-
if (!customElements.get("auro-dropdownbib")) {
|
|
3310
|
-
customElements.define("auro-dropdownbib", AuroDropdownBib);
|
|
3311
|
-
}
|
|
3312
|
-
|
|
3313
3371
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
3314
3372
|
// See LICENSE in the project root for license information.
|
|
3315
3373
|
|
|
@@ -3331,6 +3389,7 @@ class AuroDropdown extends r$4 {
|
|
|
3331
3389
|
super();
|
|
3332
3390
|
|
|
3333
3391
|
this.isPopoverVisible = false;
|
|
3392
|
+
this.isBibFullscreen = false;
|
|
3334
3393
|
this.matchWidth = false;
|
|
3335
3394
|
this.noHideOnThisFocusLoss = false;
|
|
3336
3395
|
|
|
@@ -3405,7 +3464,16 @@ class AuroDropdown extends r$4 {
|
|
|
3405
3464
|
* Generate unique names for dependency components.
|
|
3406
3465
|
*/
|
|
3407
3466
|
const versioning = new AuroDependencyVersioning$1();
|
|
3467
|
+
|
|
3468
|
+
/**
|
|
3469
|
+
* @private
|
|
3470
|
+
*/
|
|
3408
3471
|
this.iconTag = versioning.generateTag('auro-icon', iconVersion$2, AuroIcon$2);
|
|
3472
|
+
|
|
3473
|
+
/**
|
|
3474
|
+
* @private
|
|
3475
|
+
*/
|
|
3476
|
+
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion$1, AuroDropdownBib);
|
|
3409
3477
|
}
|
|
3410
3478
|
|
|
3411
3479
|
/**
|
|
@@ -3507,6 +3575,14 @@ class AuroDropdown extends r$4 {
|
|
|
3507
3575
|
type: Boolean
|
|
3508
3576
|
},
|
|
3509
3577
|
|
|
3578
|
+
/**
|
|
3579
|
+
* If true, the dropdown bib is taking the fullscreen when it's open
|
|
3580
|
+
*/
|
|
3581
|
+
isBibFullscreen: {
|
|
3582
|
+
type: Boolean,
|
|
3583
|
+
reflect: true,
|
|
3584
|
+
},
|
|
3585
|
+
|
|
3510
3586
|
/**
|
|
3511
3587
|
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
3512
3588
|
*/
|
|
@@ -3585,8 +3661,8 @@ class AuroDropdown extends r$4 {
|
|
|
3585
3661
|
|
|
3586
3662
|
static get styles() {
|
|
3587
3663
|
return [
|
|
3588
|
-
colorCss$
|
|
3589
|
-
styleCss$
|
|
3664
|
+
colorCss$1$2,
|
|
3665
|
+
styleCss$1$2,
|
|
3590
3666
|
tokensCss$1$2
|
|
3591
3667
|
];
|
|
3592
3668
|
}
|
|
@@ -3635,7 +3711,6 @@ class AuroDropdown extends r$4 {
|
|
|
3635
3711
|
|
|
3636
3712
|
/**
|
|
3637
3713
|
* Exposes CSS parts for styling from parent components.
|
|
3638
|
-
* @private
|
|
3639
3714
|
* @returns {void}
|
|
3640
3715
|
*/
|
|
3641
3716
|
exposeCssParts() {
|
|
@@ -3841,13 +3916,14 @@ class AuroDropdown extends r$4 {
|
|
|
3841
3916
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
3842
3917
|
</div>
|
|
3843
3918
|
<div id="bibSizer" part="size"></div>
|
|
3844
|
-
|
|
3919
|
+
<${this.dropdownBibTag}
|
|
3845
3920
|
id="bib"
|
|
3846
3921
|
role="tooltip"
|
|
3922
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
3847
3923
|
?common="${this.common}"
|
|
3848
3924
|
?rounded="${this.common || this.rounded}"
|
|
3849
3925
|
?inset="${this.common || this.inset}">
|
|
3850
|
-
|
|
3926
|
+
</${this.dropdownBibTag}>
|
|
3851
3927
|
</div>
|
|
3852
3928
|
`;
|
|
3853
3929
|
}
|