@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
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
| [focusShow](#focusShow) | `focusShow` | ` Boolean ` | | If declared, the bib will display when focus is applied to the trigger. |
|
|
23
23
|
| [hoverToggle](#hoverToggle) | `hoverToggle` | ` Boolean ` | | If declared, the trigger will toggle the dropdown on mouseover/mouseout. |
|
|
24
24
|
| [inset](#inset) | `inset` | ` Boolean ` | | If declared, will apply padding around trigger slot content. |
|
|
25
|
+
| [isBibFullscreen](#isBibFullscreen) | `isBibFullscreen` | `boolean` | false | If true, the dropdown bib is taking the fullscreen when it's open |
|
|
25
26
|
| [isPopoverVisible](#isPopoverVisible) | `isPopoverVisible` | ` Boolean ` | false | If true, the dropdown bib is displayed. |
|
|
26
27
|
| [matchWidth](#matchWidth) | `matchWidth` | ` Boolean ` | false | If declared, the popover and trigger will be set to the same width. |
|
|
27
28
|
| [mobileFullscreenBreakpoint](#mobileFullscreenBreakpoint) | `mobileFullscreenBreakpoint` | ` String ` | | 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. |
|
|
@@ -32,10 +33,11 @@
|
|
|
32
33
|
|
|
33
34
|
## Methods
|
|
34
35
|
|
|
35
|
-
| Method
|
|
36
|
-
|
|
37
|
-
| [
|
|
38
|
-
| [
|
|
36
|
+
| Method | Type | Description |
|
|
37
|
+
|------------------|------------|--------------------------------------------------|
|
|
38
|
+
| [exposeCssParts](#exposeCssParts) | `(): void` | Exposes CSS parts for styling from parent components. |
|
|
39
|
+
| [hide](#hide) | `(): void` | Public method to hide the dropdown. |
|
|
40
|
+
| [show](#show) | `(): void` | Public method to show the dropdown. |
|
|
39
41
|
|
|
40
42
|
## Events
|
|
41
43
|
|
|
@@ -1634,37 +1634,23 @@ class AuroFloatingUI {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
1636
|
/**
|
|
1637
|
-
*
|
|
1638
|
-
*
|
|
1639
|
-
*
|
|
1640
|
-
* This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
|
|
1641
|
-
* If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
|
|
1642
|
-
* mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
|
|
1643
|
-
*
|
|
1644
|
-
* @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
|
|
1645
|
-
* If true, the bib content dimensions are cleared; if false, they are set
|
|
1646
|
-
* based on the bibSizer's computed styles.
|
|
1637
|
+
* Mirrors the size of the bibSizer element to the bib content.
|
|
1638
|
+
* Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
|
|
1639
|
+
* This ensures that the bib content has the same dimensions as the sizer element.
|
|
1647
1640
|
*/
|
|
1648
|
-
mirrorSize(
|
|
1641
|
+
mirrorSize() {
|
|
1649
1642
|
// mirror the boxsize from bibSizer
|
|
1650
1643
|
if (this.element.bibSizer) {
|
|
1651
1644
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
1652
1645
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
1653
|
-
if (
|
|
1654
|
-
bibContent.style.width =
|
|
1655
|
-
bibContent.style.height = '';
|
|
1656
|
-
bibContent.style.maxWidth = '';
|
|
1657
|
-
bibContent.style.maxHeight = '';
|
|
1658
|
-
} else {
|
|
1659
|
-
if (sizerStyle.width !== '0px') {
|
|
1660
|
-
bibContent.style.width = sizerStyle.width;
|
|
1661
|
-
}
|
|
1662
|
-
if (sizerStyle.height !== '0px') {
|
|
1663
|
-
bibContent.style.height = sizerStyle.height;
|
|
1664
|
-
}
|
|
1665
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
1666
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
1646
|
+
if (sizerStyle.width !== '0px') {
|
|
1647
|
+
bibContent.style.width = sizerStyle.width;
|
|
1667
1648
|
}
|
|
1649
|
+
if (sizerStyle.height !== '0px') {
|
|
1650
|
+
bibContent.style.height = sizerStyle.height;
|
|
1651
|
+
}
|
|
1652
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
1653
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
1668
1654
|
}
|
|
1669
1655
|
}
|
|
1670
1656
|
|
|
@@ -1680,11 +1666,12 @@ class AuroFloatingUI {
|
|
|
1680
1666
|
getPositioningStrategy() {
|
|
1681
1667
|
let strategy = 'floating';
|
|
1682
1668
|
if (this.element.bib.mobileFullscreenBreakpoint) {
|
|
1683
|
-
const
|
|
1684
|
-
if (
|
|
1669
|
+
const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
|
|
1670
|
+
if (smallerThanBreakpoint) {
|
|
1685
1671
|
strategy = 'fullscreen';
|
|
1686
1672
|
}
|
|
1687
1673
|
}
|
|
1674
|
+
|
|
1688
1675
|
return strategy;
|
|
1689
1676
|
}
|
|
1690
1677
|
|
|
@@ -1698,13 +1685,10 @@ class AuroFloatingUI {
|
|
|
1698
1685
|
*/
|
|
1699
1686
|
position() {
|
|
1700
1687
|
const strategy = this.getPositioningStrategy();
|
|
1701
|
-
|
|
1702
|
-
this.configureBibFullscreen(true);
|
|
1703
|
-
this.mirrorSize(true);
|
|
1704
|
-
} else {
|
|
1705
|
-
this.configureBibFullscreen(false);
|
|
1706
|
-
this.mirrorSize(false);
|
|
1688
|
+
this.configureBibStrategy(strategy);
|
|
1707
1689
|
|
|
1690
|
+
if (strategy === 'floating') {
|
|
1691
|
+
this.mirrorSize();
|
|
1708
1692
|
// Define the middlware for the floater configuration
|
|
1709
1693
|
const middleware = [
|
|
1710
1694
|
offset(this.element.floaterConfig.offset || 0),
|
|
@@ -1727,22 +1711,62 @@ class AuroFloatingUI {
|
|
|
1727
1711
|
|
|
1728
1712
|
/**
|
|
1729
1713
|
* @private
|
|
1730
|
-
*
|
|
1714
|
+
* Controls whether to lock the scrolling for the document's body.
|
|
1715
|
+
* @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
|
|
1716
|
+
*/
|
|
1717
|
+
lockScroll(lock = true) {
|
|
1718
|
+
if (lock) {
|
|
1719
|
+
document.body.style.overflow = 'hidden'; // hide body's scrollbar
|
|
1720
|
+
|
|
1721
|
+
// Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
|
|
1722
|
+
this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
|
|
1723
|
+
} else {
|
|
1724
|
+
document.body.style.overflow = '';
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* @private
|
|
1730
|
+
* Configures the bib element's display strategy.
|
|
1731
1731
|
*
|
|
1732
|
-
*
|
|
1733
|
-
*
|
|
1734
|
-
* 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
|
|
1732
|
+
* Sets the bib to fullscreen or floating mode based on the provided strategy.
|
|
1733
|
+
* Dispatches a 'strategy-change' event if the strategy changes.
|
|
1735
1734
|
*
|
|
1736
|
-
* @param {
|
|
1735
|
+
* @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
|
|
1737
1736
|
*/
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1737
|
+
configureBibStrategy(strategy) {
|
|
1738
|
+
const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
|
|
1739
|
+
if (strategy === 'fullscreen') {
|
|
1740
|
+
this.element.isBibFullscreen = true;
|
|
1741
1741
|
// reset the prev position
|
|
1742
1742
|
this.element.bib.style.top = "0px";
|
|
1743
1743
|
this.element.bib.style.left = "0px";
|
|
1744
|
+
|
|
1745
|
+
// reset the size that was mirroring `size` css-part
|
|
1746
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
1747
|
+
bibContent.style.width = '';
|
|
1748
|
+
bibContent.style.height = '';
|
|
1749
|
+
bibContent.style.maxWidth = '';
|
|
1750
|
+
bibContent.style.maxHeight = `${window.visualViewport.height}px`;
|
|
1751
|
+
|
|
1752
|
+
if (this.element.isPopoverVisible) {
|
|
1753
|
+
this.lockScroll(true);
|
|
1754
|
+
}
|
|
1744
1755
|
} else {
|
|
1745
|
-
this.element.
|
|
1756
|
+
this.element.isBibFullscreen = false;
|
|
1757
|
+
|
|
1758
|
+
this.lockScroll(false);
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
if (prevStrategy !== strategy) {
|
|
1762
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
|
|
1763
|
+
detail: {
|
|
1764
|
+
strategy,
|
|
1765
|
+
},
|
|
1766
|
+
composed: true
|
|
1767
|
+
});
|
|
1768
|
+
|
|
1769
|
+
this.element.dispatchEvent(event);
|
|
1746
1770
|
}
|
|
1747
1771
|
}
|
|
1748
1772
|
|
|
@@ -1848,6 +1872,7 @@ class AuroFloatingUI {
|
|
|
1848
1872
|
this.updateCurrentExpandedDropdown();
|
|
1849
1873
|
this.element.isPopoverVisible = true;
|
|
1850
1874
|
this.element.triggerChevron?.setAttribute('data-expanded', true);
|
|
1875
|
+
|
|
1851
1876
|
this.dispatchEventDropdownToggle();
|
|
1852
1877
|
this.position();
|
|
1853
1878
|
|
|
@@ -1865,6 +1890,7 @@ class AuroFloatingUI {
|
|
|
1865
1890
|
hideBib() {
|
|
1866
1891
|
if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
|
|
1867
1892
|
this.element.isPopoverVisible = false;
|
|
1893
|
+
this.lockScroll(false);
|
|
1868
1894
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
1869
1895
|
this.dispatchEventDropdownToggle();
|
|
1870
1896
|
}
|
|
@@ -1877,7 +1903,7 @@ class AuroFloatingUI {
|
|
|
1877
1903
|
dispatchEventDropdownToggle() {
|
|
1878
1904
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
1879
1905
|
detail: {
|
|
1880
|
-
expanded: this.isPopoverVisible,
|
|
1906
|
+
expanded: this.element.isPopoverVisible,
|
|
1881
1907
|
},
|
|
1882
1908
|
composed: true
|
|
1883
1909
|
});
|
|
@@ -1894,7 +1920,7 @@ class AuroFloatingUI {
|
|
|
1894
1920
|
|
|
1895
1921
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
1896
1922
|
composed: true,
|
|
1897
|
-
|
|
1923
|
+
detail: {
|
|
1898
1924
|
expanded: this.element.isPopoverVisible
|
|
1899
1925
|
}
|
|
1900
1926
|
});
|
|
@@ -1946,6 +1972,12 @@ class AuroFloatingUI {
|
|
|
1946
1972
|
}
|
|
1947
1973
|
}
|
|
1948
1974
|
|
|
1975
|
+
/**
|
|
1976
|
+
* Manages the tabIndex of the trigger element based on its focusability.
|
|
1977
|
+
*
|
|
1978
|
+
* If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
|
|
1979
|
+
* This prevents the component itself from being focusable when the trigger element already handles focus.
|
|
1980
|
+
*/
|
|
1949
1981
|
handleTriggerTabIndex() {
|
|
1950
1982
|
const focusableElementSelectors = [
|
|
1951
1983
|
'a',
|
|
@@ -1960,6 +1992,9 @@ class AuroFloatingUI {
|
|
|
1960
1992
|
];
|
|
1961
1993
|
|
|
1962
1994
|
const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
|
|
1995
|
+
if (!triggerNode) {
|
|
1996
|
+
return;
|
|
1997
|
+
}
|
|
1963
1998
|
const triggerNodeTagName = triggerNode.tagName.toLowerCase();
|
|
1964
1999
|
|
|
1965
2000
|
focusableElementSelectors.forEach((selector) => {
|
|
@@ -1988,12 +2023,13 @@ class AuroFloatingUI {
|
|
|
1988
2023
|
|
|
1989
2024
|
this.handleTriggerTabIndex();
|
|
1990
2025
|
|
|
1991
|
-
this.
|
|
1992
|
-
this.element.trigger.addEventListener('
|
|
1993
|
-
this.element.trigger.addEventListener('
|
|
1994
|
-
this.element.trigger.addEventListener('
|
|
1995
|
-
this.element.trigger.addEventListener('
|
|
1996
|
-
this.element.trigger.addEventListener('
|
|
2026
|
+
this.handleEvent = this.handleEvent.bind(this);
|
|
2027
|
+
this.element.trigger.addEventListener('keydown', this.handleEvent);
|
|
2028
|
+
this.element.trigger.addEventListener('click', this.handleEvent);
|
|
2029
|
+
this.element.trigger.addEventListener('mouseenter', this.handleEvent);
|
|
2030
|
+
this.element.trigger.addEventListener('mouseleave', this.handleEvent);
|
|
2031
|
+
this.element.trigger.addEventListener('focus', this.handleEvent);
|
|
2032
|
+
this.element.trigger.addEventListener('blur', this.handleEvent);
|
|
1997
2033
|
}
|
|
1998
2034
|
|
|
1999
2035
|
disconnect() {
|
|
@@ -2002,12 +2038,12 @@ class AuroFloatingUI {
|
|
|
2002
2038
|
|
|
2003
2039
|
// Remove event & keyboard listeners
|
|
2004
2040
|
if (this.element?.trigger) {
|
|
2005
|
-
this.element.trigger.removeEventListener('keydown',
|
|
2006
|
-
this.element.trigger.removeEventListener('click',
|
|
2007
|
-
this.element.trigger.removeEventListener('mouseenter',
|
|
2008
|
-
this.element.trigger.removeEventListener('mouseleave',
|
|
2009
|
-
this.element.trigger.removeEventListener('focus',
|
|
2010
|
-
this.element.trigger.removeEventListener('blur',
|
|
2041
|
+
this.element.trigger.removeEventListener('keydown', this.handleEvent);
|
|
2042
|
+
this.element.trigger.removeEventListener('click', this.handleEvent);
|
|
2043
|
+
this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
|
|
2044
|
+
this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
|
|
2045
|
+
this.element.trigger.removeEventListener('focus', this.handleEvent);
|
|
2046
|
+
this.element.trigger.removeEventListener('blur', this.handleEvent);
|
|
2011
2047
|
}
|
|
2012
2048
|
}
|
|
2013
2049
|
}
|
|
@@ -2431,12 +2467,135 @@ class AuroIcon extends BaseIcon {
|
|
|
2431
2467
|
|
|
2432
2468
|
var iconVersion = '6.1.2';
|
|
2433
2469
|
|
|
2434
|
-
var styleCss$2 = i$7`:host{position:
|
|
2470
|
+
var styleCss$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}`;
|
|
2435
2471
|
|
|
2436
|
-
var colorCss$2 = i$7`.
|
|
2472
|
+
var colorCss$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)}`;
|
|
2437
2473
|
|
|
2438
2474
|
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)}`;
|
|
2439
2475
|
|
|
2476
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2477
|
+
// See LICENSE in the project root for license information.
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2482
|
+
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2483
|
+
'lg',
|
|
2484
|
+
'md',
|
|
2485
|
+
'sm',
|
|
2486
|
+
'xs',
|
|
2487
|
+
];
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* @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.
|
|
2491
|
+
* @csspart bibContainer - Apply css to the bib container.
|
|
2492
|
+
*/
|
|
2493
|
+
|
|
2494
|
+
class AuroDropdownBib extends r$4 {
|
|
2495
|
+
|
|
2496
|
+
constructor() {
|
|
2497
|
+
super();
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* @private
|
|
2501
|
+
*/
|
|
2502
|
+
this._mobileBreakpointValue = undefined;
|
|
2503
|
+
|
|
2504
|
+
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
static get styles() {
|
|
2508
|
+
return [
|
|
2509
|
+
styleCss$2,
|
|
2510
|
+
colorCss$2,
|
|
2511
|
+
tokensCss$1
|
|
2512
|
+
];
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
static get properties() {
|
|
2516
|
+
return {
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* If declared, will take the fullscreen when the bib is displayed.
|
|
2520
|
+
*/
|
|
2521
|
+
isFullscreen: {
|
|
2522
|
+
type: Boolean,
|
|
2523
|
+
reflect: true
|
|
2524
|
+
},
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* If declared, will apply all styles for the common theme.
|
|
2528
|
+
*/
|
|
2529
|
+
common: {
|
|
2530
|
+
type: Boolean,
|
|
2531
|
+
reflect: true
|
|
2532
|
+
},
|
|
2533
|
+
|
|
2534
|
+
/**
|
|
2535
|
+
* If declared, will apply extra padding to bib content.
|
|
2536
|
+
*/
|
|
2537
|
+
inset: {
|
|
2538
|
+
type: Boolean,
|
|
2539
|
+
reflect: true
|
|
2540
|
+
},
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* If declared, will apply border-radius to the bib.
|
|
2544
|
+
*/
|
|
2545
|
+
rounded: {
|
|
2546
|
+
type: Boolean,
|
|
2547
|
+
reflect: true
|
|
2548
|
+
},
|
|
2549
|
+
};
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
set mobileFullscreenBreakpoint(value) {
|
|
2553
|
+
// verify the defined breakpoint is valid and exit out if not
|
|
2554
|
+
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2555
|
+
if (!validatedValue) {
|
|
2556
|
+
this._mobileBreakpointValue = undefined;
|
|
2557
|
+
} else {
|
|
2558
|
+
// get the pixel value for the defined breakpoint
|
|
2559
|
+
const docStyle = getComputedStyle(document.documentElement);
|
|
2560
|
+
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
get mobileFullscreenBreakpoint() {
|
|
2565
|
+
return this._mobileBreakpointValue;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
updated(changedProperties) {
|
|
2569
|
+
if (changedProperties.has('isFullscreen')) {
|
|
2570
|
+
this.childNodes.forEach((child) => {
|
|
2571
|
+
// skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
|
|
2572
|
+
if (child.nodeName !== '#text') {
|
|
2573
|
+
if (this.isFullscreen) {
|
|
2574
|
+
child.setAttribute('isFullscreen', 'true');
|
|
2575
|
+
} else {
|
|
2576
|
+
child.removeAttribute('isFullscreen');
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
});
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
2584
|
+
render() {
|
|
2585
|
+
return u$3`
|
|
2586
|
+
<div class="container" part="bibContainer">
|
|
2587
|
+
<slot></slot>
|
|
2588
|
+
</div>
|
|
2589
|
+
`;
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
var dropdownVersion = '3.0.0';
|
|
2594
|
+
|
|
2595
|
+
var styleCss$1 = 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)}`;
|
|
2596
|
+
|
|
2597
|
+
var colorCss$1 = 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)}`;
|
|
2598
|
+
|
|
2440
2599
|
/**
|
|
2441
2600
|
* @license
|
|
2442
2601
|
* Copyright 2019 Google LLC
|
|
@@ -2463,9 +2622,9 @@ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createH
|
|
|
2463
2622
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2464
2623
|
*/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");
|
|
2465
2624
|
|
|
2466
|
-
var colorCss
|
|
2625
|
+
var colorCss = i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
2467
2626
|
|
|
2468
|
-
var styleCss
|
|
2627
|
+
var styleCss = 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}`;
|
|
2469
2628
|
|
|
2470
2629
|
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
2471
2630
|
|
|
@@ -2559,8 +2718,8 @@ class AuroHelpText extends r {
|
|
|
2559
2718
|
|
|
2560
2719
|
static get styles() {
|
|
2561
2720
|
return [
|
|
2562
|
-
colorCss
|
|
2563
|
-
styleCss
|
|
2721
|
+
colorCss,
|
|
2722
|
+
styleCss,
|
|
2564
2723
|
tokensCss
|
|
2565
2724
|
];
|
|
2566
2725
|
}
|
|
@@ -2660,107 +2819,6 @@ class AuroHelpText extends r {
|
|
|
2660
2819
|
|
|
2661
2820
|
AuroHelpText.register();
|
|
2662
2821
|
|
|
2663
|
-
var styleCss = 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}`;
|
|
2664
|
-
|
|
2665
|
-
var colorCss = 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)}`;
|
|
2666
|
-
|
|
2667
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2668
|
-
// See LICENSE in the project root for license information.
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2673
|
-
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2674
|
-
'lg',
|
|
2675
|
-
'md',
|
|
2676
|
-
'sm',
|
|
2677
|
-
'xs',
|
|
2678
|
-
];
|
|
2679
|
-
|
|
2680
|
-
/**
|
|
2681
|
-
* @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.
|
|
2682
|
-
* @csspart bibContainer - Apply css to the bib container.
|
|
2683
|
-
*/
|
|
2684
|
-
|
|
2685
|
-
class AuroDropdownBib extends r$4 {
|
|
2686
|
-
|
|
2687
|
-
constructor() {
|
|
2688
|
-
super();
|
|
2689
|
-
|
|
2690
|
-
/**
|
|
2691
|
-
* @private
|
|
2692
|
-
*/
|
|
2693
|
-
this._mobileBreakpointValue = undefined;
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
|
-
static get styles() {
|
|
2697
|
-
return [
|
|
2698
|
-
styleCss,
|
|
2699
|
-
colorCss,
|
|
2700
|
-
tokensCss$1
|
|
2701
|
-
];
|
|
2702
|
-
}
|
|
2703
|
-
|
|
2704
|
-
static get properties() {
|
|
2705
|
-
return {
|
|
2706
|
-
|
|
2707
|
-
/**
|
|
2708
|
-
* If declared, will apply all styles for the common theme.
|
|
2709
|
-
*/
|
|
2710
|
-
common: {
|
|
2711
|
-
type: Boolean,
|
|
2712
|
-
reflect: true
|
|
2713
|
-
},
|
|
2714
|
-
|
|
2715
|
-
/**
|
|
2716
|
-
* If declared, will apply extra padding to bib content.
|
|
2717
|
-
*/
|
|
2718
|
-
inset: {
|
|
2719
|
-
type: Boolean,
|
|
2720
|
-
reflect: true
|
|
2721
|
-
},
|
|
2722
|
-
|
|
2723
|
-
/**
|
|
2724
|
-
* If declared, will apply border-radius to the bib.
|
|
2725
|
-
*/
|
|
2726
|
-
rounded: {
|
|
2727
|
-
type: Boolean,
|
|
2728
|
-
reflect: true
|
|
2729
|
-
},
|
|
2730
|
-
};
|
|
2731
|
-
}
|
|
2732
|
-
|
|
2733
|
-
set mobileFullscreenBreakpoint(value) {
|
|
2734
|
-
// verify the defined breakpoint is valid and exit out if not
|
|
2735
|
-
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2736
|
-
if (!validatedValue) {
|
|
2737
|
-
this._mobileBreakpointValue = undefined;
|
|
2738
|
-
} else {
|
|
2739
|
-
// get the pixel value for the defined breakpoint
|
|
2740
|
-
const docStyle = getComputedStyle(document.documentElement);
|
|
2741
|
-
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
2742
|
-
}
|
|
2743
|
-
}
|
|
2744
|
-
|
|
2745
|
-
get mobileFullscreenBreakpoint() {
|
|
2746
|
-
return this._mobileBreakpointValue;
|
|
2747
|
-
}
|
|
2748
|
-
|
|
2749
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
2750
|
-
render() {
|
|
2751
|
-
return u$3`
|
|
2752
|
-
<div class="container" part="bibContainer">
|
|
2753
|
-
<slot></slot>
|
|
2754
|
-
</div>
|
|
2755
|
-
`;
|
|
2756
|
-
}
|
|
2757
|
-
}
|
|
2758
|
-
|
|
2759
|
-
// default internal definition
|
|
2760
|
-
if (!customElements.get("auro-dropdownbib")) {
|
|
2761
|
-
customElements.define("auro-dropdownbib", AuroDropdownBib);
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2764
2822
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2765
2823
|
// See LICENSE in the project root for license information.
|
|
2766
2824
|
|
|
@@ -2782,6 +2840,7 @@ class AuroDropdown extends r$4 {
|
|
|
2782
2840
|
super();
|
|
2783
2841
|
|
|
2784
2842
|
this.isPopoverVisible = false;
|
|
2843
|
+
this.isBibFullscreen = false;
|
|
2785
2844
|
this.matchWidth = false;
|
|
2786
2845
|
this.noHideOnThisFocusLoss = false;
|
|
2787
2846
|
|
|
@@ -2856,7 +2915,16 @@ class AuroDropdown extends r$4 {
|
|
|
2856
2915
|
* Generate unique names for dependency components.
|
|
2857
2916
|
*/
|
|
2858
2917
|
const versioning = new AuroDependencyVersioning();
|
|
2918
|
+
|
|
2919
|
+
/**
|
|
2920
|
+
* @private
|
|
2921
|
+
*/
|
|
2859
2922
|
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
2923
|
+
|
|
2924
|
+
/**
|
|
2925
|
+
* @private
|
|
2926
|
+
*/
|
|
2927
|
+
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion, AuroDropdownBib);
|
|
2860
2928
|
}
|
|
2861
2929
|
|
|
2862
2930
|
/**
|
|
@@ -2958,6 +3026,14 @@ class AuroDropdown extends r$4 {
|
|
|
2958
3026
|
type: Boolean
|
|
2959
3027
|
},
|
|
2960
3028
|
|
|
3029
|
+
/**
|
|
3030
|
+
* If true, the dropdown bib is taking the fullscreen when it's open
|
|
3031
|
+
*/
|
|
3032
|
+
isBibFullscreen: {
|
|
3033
|
+
type: Boolean,
|
|
3034
|
+
reflect: true,
|
|
3035
|
+
},
|
|
3036
|
+
|
|
2961
3037
|
/**
|
|
2962
3038
|
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
2963
3039
|
*/
|
|
@@ -3036,8 +3112,8 @@ class AuroDropdown extends r$4 {
|
|
|
3036
3112
|
|
|
3037
3113
|
static get styles() {
|
|
3038
3114
|
return [
|
|
3039
|
-
colorCss$
|
|
3040
|
-
styleCss$
|
|
3115
|
+
colorCss$1,
|
|
3116
|
+
styleCss$1,
|
|
3041
3117
|
tokensCss$1
|
|
3042
3118
|
];
|
|
3043
3119
|
}
|
|
@@ -3086,7 +3162,6 @@ class AuroDropdown extends r$4 {
|
|
|
3086
3162
|
|
|
3087
3163
|
/**
|
|
3088
3164
|
* Exposes CSS parts for styling from parent components.
|
|
3089
|
-
* @private
|
|
3090
3165
|
* @returns {void}
|
|
3091
3166
|
*/
|
|
3092
3167
|
exposeCssParts() {
|
|
@@ -3292,13 +3367,14 @@ class AuroDropdown extends r$4 {
|
|
|
3292
3367
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
3293
3368
|
</div>
|
|
3294
3369
|
<div id="bibSizer" part="size"></div>
|
|
3295
|
-
|
|
3370
|
+
<${this.dropdownBibTag}
|
|
3296
3371
|
id="bib"
|
|
3297
3372
|
role="tooltip"
|
|
3373
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
3298
3374
|
?common="${this.common}"
|
|
3299
3375
|
?rounded="${this.common || this.rounded}"
|
|
3300
3376
|
?inset="${this.common || this.inset}">
|
|
3301
|
-
|
|
3377
|
+
</${this.dropdownBibTag}>
|
|
3302
3378
|
</div>
|
|
3303
3379
|
`;
|
|
3304
3380
|
}
|