@aurodesignsystem/auro-formkit 2.0.0-beta.41 → 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/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/{1614475ba17e5c7e.tar.zst → 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/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/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 +15 -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 +7 -2
- 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 +2 -2
- 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/helptext/.turbo/turbo-build.log +1 -1
- package/components/helptext/.turbo/turbo-bundler.log +1 -1
- package/components/input/.turbo/turbo-build.log +2 -2
- 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/1614475ba17e5c7e-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/3025cdff2ca7afbf-meta.json +0 -1
- package/.turbo/cache/3082b3a86c0f9b94-meta.json +0 -1
- 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/4aadd7fe6b69cccf.tar.zst +0 -0
- package/.turbo/cache/4fcee148860094a6-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/71640e378e0b68af-meta.json +0 -1
- package/.turbo/cache/71640e378e0b68af.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/aed38ae5ce3d8439-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/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/{4fcee148860094a6.tar.zst → 29ac8c4304c43ba8.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/{aed38ae5ce3d8439.tar.zst → be89ec729b2d7aa1.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
|
@@ -1609,37 +1609,23 @@ class AuroFloatingUI {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
|
|
1611
1611
|
/**
|
|
1612
|
-
*
|
|
1613
|
-
*
|
|
1614
|
-
*
|
|
1615
|
-
* This method retrieves the computed styles of the bibSizer element and applies them to the bib content.
|
|
1616
|
-
* If the fullscreen parameter is true, it resets the dimensions to their default values. Otherwise, it
|
|
1617
|
-
* mirrors the width and height from the bibSizer, ensuring that they are not set to zero.
|
|
1618
|
-
*
|
|
1619
|
-
* @param {boolean} fullscreen - A flag indicating whether to reset the dimensions for fullscreen mode.
|
|
1620
|
-
* If true, the bib content dimensions are cleared; if false, they are set
|
|
1621
|
-
* based on the bibSizer's computed styles.
|
|
1612
|
+
* Mirrors the size of the bibSizer element to the bib content.
|
|
1613
|
+
* Copies the width, height, max-width, and max-height styles from the bibSizer element to the bib content container.
|
|
1614
|
+
* This ensures that the bib content has the same dimensions as the sizer element.
|
|
1622
1615
|
*/
|
|
1623
|
-
mirrorSize(
|
|
1616
|
+
mirrorSize() {
|
|
1624
1617
|
// mirror the boxsize from bibSizer
|
|
1625
1618
|
if (this.element.bibSizer) {
|
|
1626
1619
|
const sizerStyle = window.getComputedStyle(this.element.bibSizer);
|
|
1627
1620
|
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
1628
|
-
if (
|
|
1629
|
-
bibContent.style.width =
|
|
1630
|
-
bibContent.style.height = '';
|
|
1631
|
-
bibContent.style.maxWidth = '';
|
|
1632
|
-
bibContent.style.maxHeight = '';
|
|
1633
|
-
} else {
|
|
1634
|
-
if (sizerStyle.width !== '0px') {
|
|
1635
|
-
bibContent.style.width = sizerStyle.width;
|
|
1636
|
-
}
|
|
1637
|
-
if (sizerStyle.height !== '0px') {
|
|
1638
|
-
bibContent.style.height = sizerStyle.height;
|
|
1639
|
-
}
|
|
1640
|
-
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
1641
|
-
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
1621
|
+
if (sizerStyle.width !== '0px') {
|
|
1622
|
+
bibContent.style.width = sizerStyle.width;
|
|
1642
1623
|
}
|
|
1624
|
+
if (sizerStyle.height !== '0px') {
|
|
1625
|
+
bibContent.style.height = sizerStyle.height;
|
|
1626
|
+
}
|
|
1627
|
+
bibContent.style.maxWidth = sizerStyle.maxWidth;
|
|
1628
|
+
bibContent.style.maxHeight = sizerStyle.maxHeight;
|
|
1643
1629
|
}
|
|
1644
1630
|
}
|
|
1645
1631
|
|
|
@@ -1655,11 +1641,12 @@ class AuroFloatingUI {
|
|
|
1655
1641
|
getPositioningStrategy() {
|
|
1656
1642
|
let strategy = 'floating';
|
|
1657
1643
|
if (this.element.bib.mobileFullscreenBreakpoint) {
|
|
1658
|
-
const
|
|
1659
|
-
if (
|
|
1644
|
+
const smallerThanBreakpoint = window.matchMedia(`(max-width: ${this.element.bib.mobileFullscreenBreakpoint})`).matches;
|
|
1645
|
+
if (smallerThanBreakpoint) {
|
|
1660
1646
|
strategy = 'fullscreen';
|
|
1661
1647
|
}
|
|
1662
1648
|
}
|
|
1649
|
+
|
|
1663
1650
|
return strategy;
|
|
1664
1651
|
}
|
|
1665
1652
|
|
|
@@ -1673,13 +1660,10 @@ class AuroFloatingUI {
|
|
|
1673
1660
|
*/
|
|
1674
1661
|
position() {
|
|
1675
1662
|
const strategy = this.getPositioningStrategy();
|
|
1676
|
-
|
|
1677
|
-
this.configureBibFullscreen(true);
|
|
1678
|
-
this.mirrorSize(true);
|
|
1679
|
-
} else {
|
|
1680
|
-
this.configureBibFullscreen(false);
|
|
1681
|
-
this.mirrorSize(false);
|
|
1663
|
+
this.configureBibStrategy(strategy);
|
|
1682
1664
|
|
|
1665
|
+
if (strategy === 'floating') {
|
|
1666
|
+
this.mirrorSize();
|
|
1683
1667
|
// Define the middlware for the floater configuration
|
|
1684
1668
|
const middleware = [
|
|
1685
1669
|
offset(this.element.floaterConfig.offset || 0),
|
|
@@ -1702,22 +1686,62 @@ class AuroFloatingUI {
|
|
|
1702
1686
|
|
|
1703
1687
|
/**
|
|
1704
1688
|
* @private
|
|
1705
|
-
*
|
|
1689
|
+
* Controls whether to lock the scrolling for the document's body.
|
|
1690
|
+
* @param {Boolean} lock - If true, locks the body's scrolling functionlity; otherwise, unlock.
|
|
1691
|
+
*/
|
|
1692
|
+
lockScroll(lock = true) {
|
|
1693
|
+
if (lock) {
|
|
1694
|
+
document.body.style.overflow = 'hidden'; // hide body's scrollbar
|
|
1695
|
+
|
|
1696
|
+
// Move `bib` by the amount the viewport is shifted to stay aligned in fullscreen.
|
|
1697
|
+
this.element.bib.style.transform = `translateY(${visualViewport.offsetTop}px)`;
|
|
1698
|
+
} else {
|
|
1699
|
+
document.body.style.overflow = '';
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* @private
|
|
1705
|
+
* Configures the bib element's display strategy.
|
|
1706
1706
|
*
|
|
1707
|
-
*
|
|
1708
|
-
*
|
|
1709
|
-
* 'isFullscreen' attribute, indicating that the bib is not in fullscreen mode.
|
|
1707
|
+
* Sets the bib to fullscreen or floating mode based on the provided strategy.
|
|
1708
|
+
* Dispatches a 'strategy-change' event if the strategy changes.
|
|
1710
1709
|
*
|
|
1711
|
-
* @param {
|
|
1710
|
+
* @param {string} strategy - The positioning strategy ('fullscreen' or 'floating').
|
|
1712
1711
|
*/
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1712
|
+
configureBibStrategy(strategy) {
|
|
1713
|
+
const prevStrategy = this.element.isBibFullscreen ? 'fullscreen' : 'floating';
|
|
1714
|
+
if (strategy === 'fullscreen') {
|
|
1715
|
+
this.element.isBibFullscreen = true;
|
|
1716
1716
|
// reset the prev position
|
|
1717
1717
|
this.element.bib.style.top = "0px";
|
|
1718
1718
|
this.element.bib.style.left = "0px";
|
|
1719
|
+
|
|
1720
|
+
// reset the size that was mirroring `size` css-part
|
|
1721
|
+
const bibContent = this.element.bib.shadowRoot.querySelector(".container");
|
|
1722
|
+
bibContent.style.width = '';
|
|
1723
|
+
bibContent.style.height = '';
|
|
1724
|
+
bibContent.style.maxWidth = '';
|
|
1725
|
+
bibContent.style.maxHeight = `${window.visualViewport.height}px`;
|
|
1726
|
+
|
|
1727
|
+
if (this.element.isPopoverVisible) {
|
|
1728
|
+
this.lockScroll(true);
|
|
1729
|
+
}
|
|
1719
1730
|
} else {
|
|
1720
|
-
this.element.
|
|
1731
|
+
this.element.isBibFullscreen = false;
|
|
1732
|
+
|
|
1733
|
+
this.lockScroll(false);
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
if (prevStrategy !== strategy) {
|
|
1737
|
+
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-strategy-change` : 'strategy-change', {
|
|
1738
|
+
detail: {
|
|
1739
|
+
strategy,
|
|
1740
|
+
},
|
|
1741
|
+
composed: true
|
|
1742
|
+
});
|
|
1743
|
+
|
|
1744
|
+
this.element.dispatchEvent(event);
|
|
1721
1745
|
}
|
|
1722
1746
|
}
|
|
1723
1747
|
|
|
@@ -1823,6 +1847,7 @@ class AuroFloatingUI {
|
|
|
1823
1847
|
this.updateCurrentExpandedDropdown();
|
|
1824
1848
|
this.element.isPopoverVisible = true;
|
|
1825
1849
|
this.element.triggerChevron?.setAttribute('data-expanded', true);
|
|
1850
|
+
|
|
1826
1851
|
this.dispatchEventDropdownToggle();
|
|
1827
1852
|
this.position();
|
|
1828
1853
|
|
|
@@ -1840,6 +1865,7 @@ class AuroFloatingUI {
|
|
|
1840
1865
|
hideBib() {
|
|
1841
1866
|
if (this.element.isPopoverVisible && !this.element.disabled && !this.element.noToggle) {
|
|
1842
1867
|
this.element.isPopoverVisible = false;
|
|
1868
|
+
this.lockScroll(false);
|
|
1843
1869
|
this.element.triggerChevron?.removeAttribute('data-expanded');
|
|
1844
1870
|
this.dispatchEventDropdownToggle();
|
|
1845
1871
|
}
|
|
@@ -1852,7 +1878,7 @@ class AuroFloatingUI {
|
|
|
1852
1878
|
dispatchEventDropdownToggle() {
|
|
1853
1879
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-toggled` : 'toggled', {
|
|
1854
1880
|
detail: {
|
|
1855
|
-
expanded: this.isPopoverVisible,
|
|
1881
|
+
expanded: this.element.isPopoverVisible,
|
|
1856
1882
|
},
|
|
1857
1883
|
composed: true
|
|
1858
1884
|
});
|
|
@@ -1869,7 +1895,7 @@ class AuroFloatingUI {
|
|
|
1869
1895
|
|
|
1870
1896
|
const event = new CustomEvent(this.eventPrefix ? `${this.eventPrefix}-triggerClick` : "triggerClick", {
|
|
1871
1897
|
composed: true,
|
|
1872
|
-
|
|
1898
|
+
detail: {
|
|
1873
1899
|
expanded: this.element.isPopoverVisible
|
|
1874
1900
|
}
|
|
1875
1901
|
});
|
|
@@ -1921,6 +1947,12 @@ class AuroFloatingUI {
|
|
|
1921
1947
|
}
|
|
1922
1948
|
}
|
|
1923
1949
|
|
|
1950
|
+
/**
|
|
1951
|
+
* Manages the tabIndex of the trigger element based on its focusability.
|
|
1952
|
+
*
|
|
1953
|
+
* If the trigger element or any of its children are inherently focusable, the tabIndex of the component is set to -1.
|
|
1954
|
+
* This prevents the component itself from being focusable when the trigger element already handles focus.
|
|
1955
|
+
*/
|
|
1924
1956
|
handleTriggerTabIndex() {
|
|
1925
1957
|
const focusableElementSelectors = [
|
|
1926
1958
|
'a',
|
|
@@ -1935,6 +1967,9 @@ class AuroFloatingUI {
|
|
|
1935
1967
|
];
|
|
1936
1968
|
|
|
1937
1969
|
const triggerNode = this.element.querySelectorAll('[slot="trigger"]')[0];
|
|
1970
|
+
if (!triggerNode) {
|
|
1971
|
+
return;
|
|
1972
|
+
}
|
|
1938
1973
|
const triggerNodeTagName = triggerNode.tagName.toLowerCase();
|
|
1939
1974
|
|
|
1940
1975
|
focusableElementSelectors.forEach((selector) => {
|
|
@@ -1963,12 +1998,13 @@ class AuroFloatingUI {
|
|
|
1963
1998
|
|
|
1964
1999
|
this.handleTriggerTabIndex();
|
|
1965
2000
|
|
|
1966
|
-
this.
|
|
1967
|
-
this.element.trigger.addEventListener('
|
|
1968
|
-
this.element.trigger.addEventListener('
|
|
1969
|
-
this.element.trigger.addEventListener('
|
|
1970
|
-
this.element.trigger.addEventListener('
|
|
1971
|
-
this.element.trigger.addEventListener('
|
|
2001
|
+
this.handleEvent = this.handleEvent.bind(this);
|
|
2002
|
+
this.element.trigger.addEventListener('keydown', this.handleEvent);
|
|
2003
|
+
this.element.trigger.addEventListener('click', this.handleEvent);
|
|
2004
|
+
this.element.trigger.addEventListener('mouseenter', this.handleEvent);
|
|
2005
|
+
this.element.trigger.addEventListener('mouseleave', this.handleEvent);
|
|
2006
|
+
this.element.trigger.addEventListener('focus', this.handleEvent);
|
|
2007
|
+
this.element.trigger.addEventListener('blur', this.handleEvent);
|
|
1972
2008
|
}
|
|
1973
2009
|
|
|
1974
2010
|
disconnect() {
|
|
@@ -1977,12 +2013,12 @@ class AuroFloatingUI {
|
|
|
1977
2013
|
|
|
1978
2014
|
// Remove event & keyboard listeners
|
|
1979
2015
|
if (this.element?.trigger) {
|
|
1980
|
-
this.element.trigger.removeEventListener('keydown',
|
|
1981
|
-
this.element.trigger.removeEventListener('click',
|
|
1982
|
-
this.element.trigger.removeEventListener('mouseenter',
|
|
1983
|
-
this.element.trigger.removeEventListener('mouseleave',
|
|
1984
|
-
this.element.trigger.removeEventListener('focus',
|
|
1985
|
-
this.element.trigger.removeEventListener('blur',
|
|
2016
|
+
this.element.trigger.removeEventListener('keydown', this.handleEvent);
|
|
2017
|
+
this.element.trigger.removeEventListener('click', this.handleEvent);
|
|
2018
|
+
this.element.trigger.removeEventListener('mouseenter', this.handleEvent);
|
|
2019
|
+
this.element.trigger.removeEventListener('mouseleave', this.handleEvent);
|
|
2020
|
+
this.element.trigger.removeEventListener('focus', this.handleEvent);
|
|
2021
|
+
this.element.trigger.removeEventListener('blur', this.handleEvent);
|
|
1986
2022
|
}
|
|
1987
2023
|
}
|
|
1988
2024
|
}
|
|
@@ -2406,12 +2442,135 @@ class AuroIcon extends BaseIcon {
|
|
|
2406
2442
|
|
|
2407
2443
|
var iconVersion = '6.1.2';
|
|
2408
2444
|
|
|
2409
|
-
var styleCss$2 = i$7`:host{position:
|
|
2445
|
+
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}`;
|
|
2410
2446
|
|
|
2411
|
-
var colorCss$2 = i$7`.
|
|
2447
|
+
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)}`;
|
|
2412
2448
|
|
|
2413
2449
|
var tokensCss$1 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-outline-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2414
2450
|
|
|
2451
|
+
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2452
|
+
// See LICENSE in the project root for license information.
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2457
|
+
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2458
|
+
'lg',
|
|
2459
|
+
'md',
|
|
2460
|
+
'sm',
|
|
2461
|
+
'xs',
|
|
2462
|
+
];
|
|
2463
|
+
|
|
2464
|
+
/**
|
|
2465
|
+
* @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.
|
|
2466
|
+
* @csspart bibContainer - Apply css to the bib container.
|
|
2467
|
+
*/
|
|
2468
|
+
|
|
2469
|
+
class AuroDropdownBib extends r$4 {
|
|
2470
|
+
|
|
2471
|
+
constructor() {
|
|
2472
|
+
super();
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* @private
|
|
2476
|
+
*/
|
|
2477
|
+
this._mobileBreakpointValue = undefined;
|
|
2478
|
+
|
|
2479
|
+
AuroLibraryRuntimeUtils$1.prototype.handleComponentTagRename(this, 'auro-dropdownbib');
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
static get styles() {
|
|
2483
|
+
return [
|
|
2484
|
+
styleCss$2,
|
|
2485
|
+
colorCss$2,
|
|
2486
|
+
tokensCss$1
|
|
2487
|
+
];
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
static get properties() {
|
|
2491
|
+
return {
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* If declared, will take the fullscreen when the bib is displayed.
|
|
2495
|
+
*/
|
|
2496
|
+
isFullscreen: {
|
|
2497
|
+
type: Boolean,
|
|
2498
|
+
reflect: true
|
|
2499
|
+
},
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* If declared, will apply all styles for the common theme.
|
|
2503
|
+
*/
|
|
2504
|
+
common: {
|
|
2505
|
+
type: Boolean,
|
|
2506
|
+
reflect: true
|
|
2507
|
+
},
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* If declared, will apply extra padding to bib content.
|
|
2511
|
+
*/
|
|
2512
|
+
inset: {
|
|
2513
|
+
type: Boolean,
|
|
2514
|
+
reflect: true
|
|
2515
|
+
},
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* If declared, will apply border-radius to the bib.
|
|
2519
|
+
*/
|
|
2520
|
+
rounded: {
|
|
2521
|
+
type: Boolean,
|
|
2522
|
+
reflect: true
|
|
2523
|
+
},
|
|
2524
|
+
};
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
set mobileFullscreenBreakpoint(value) {
|
|
2528
|
+
// verify the defined breakpoint is valid and exit out if not
|
|
2529
|
+
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2530
|
+
if (!validatedValue) {
|
|
2531
|
+
this._mobileBreakpointValue = undefined;
|
|
2532
|
+
} else {
|
|
2533
|
+
// get the pixel value for the defined breakpoint
|
|
2534
|
+
const docStyle = getComputedStyle(document.documentElement);
|
|
2535
|
+
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
get mobileFullscreenBreakpoint() {
|
|
2540
|
+
return this._mobileBreakpointValue;
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
updated(changedProperties) {
|
|
2544
|
+
if (changedProperties.has('isFullscreen')) {
|
|
2545
|
+
this.childNodes.forEach((child) => {
|
|
2546
|
+
// skip any text that is not in an HTMLElement on setting `isFullscreen` attr.
|
|
2547
|
+
if (child.nodeName !== '#text') {
|
|
2548
|
+
if (this.isFullscreen) {
|
|
2549
|
+
child.setAttribute('isFullscreen', 'true');
|
|
2550
|
+
} else {
|
|
2551
|
+
child.removeAttribute('isFullscreen');
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
});
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
2559
|
+
render() {
|
|
2560
|
+
return u$3`
|
|
2561
|
+
<div class="container" part="bibContainer">
|
|
2562
|
+
<slot></slot>
|
|
2563
|
+
</div>
|
|
2564
|
+
`;
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
var dropdownVersion = '3.0.0';
|
|
2569
|
+
|
|
2570
|
+
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)}`;
|
|
2571
|
+
|
|
2572
|
+
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)}`;
|
|
2573
|
+
|
|
2415
2574
|
/**
|
|
2416
2575
|
* @license
|
|
2417
2576
|
* Copyright 2019 Google LLC
|
|
@@ -2438,9 +2597,9 @@ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createH
|
|
|
2438
2597
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2439
2598
|
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
2440
2599
|
|
|
2441
|
-
var colorCss
|
|
2600
|
+
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)}`;
|
|
2442
2601
|
|
|
2443
|
-
var styleCss
|
|
2602
|
+
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}`;
|
|
2444
2603
|
|
|
2445
2604
|
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
2446
2605
|
|
|
@@ -2534,8 +2693,8 @@ class AuroHelpText extends r {
|
|
|
2534
2693
|
|
|
2535
2694
|
static get styles() {
|
|
2536
2695
|
return [
|
|
2537
|
-
colorCss
|
|
2538
|
-
styleCss
|
|
2696
|
+
colorCss,
|
|
2697
|
+
styleCss,
|
|
2539
2698
|
tokensCss
|
|
2540
2699
|
];
|
|
2541
2700
|
}
|
|
@@ -2635,107 +2794,6 @@ class AuroHelpText extends r {
|
|
|
2635
2794
|
|
|
2636
2795
|
AuroHelpText.register();
|
|
2637
2796
|
|
|
2638
|
-
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}`;
|
|
2639
|
-
|
|
2640
|
-
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)}`;
|
|
2641
|
-
|
|
2642
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2643
|
-
// See LICENSE in the project root for license information.
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
const DESIGN_TOKEN_BREAKPOINT_PREFIX = '--ds-grid-breakpoint-';
|
|
2648
|
-
const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
2649
|
-
'lg',
|
|
2650
|
-
'md',
|
|
2651
|
-
'sm',
|
|
2652
|
-
'xs',
|
|
2653
|
-
];
|
|
2654
|
-
|
|
2655
|
-
/**
|
|
2656
|
-
* @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.
|
|
2657
|
-
* @csspart bibContainer - Apply css to the bib container.
|
|
2658
|
-
*/
|
|
2659
|
-
|
|
2660
|
-
class AuroDropdownBib extends r$4 {
|
|
2661
|
-
|
|
2662
|
-
constructor() {
|
|
2663
|
-
super();
|
|
2664
|
-
|
|
2665
|
-
/**
|
|
2666
|
-
* @private
|
|
2667
|
-
*/
|
|
2668
|
-
this._mobileBreakpointValue = undefined;
|
|
2669
|
-
}
|
|
2670
|
-
|
|
2671
|
-
static get styles() {
|
|
2672
|
-
return [
|
|
2673
|
-
styleCss,
|
|
2674
|
-
colorCss,
|
|
2675
|
-
tokensCss$1
|
|
2676
|
-
];
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
|
-
static get properties() {
|
|
2680
|
-
return {
|
|
2681
|
-
|
|
2682
|
-
/**
|
|
2683
|
-
* If declared, will apply all styles for the common theme.
|
|
2684
|
-
*/
|
|
2685
|
-
common: {
|
|
2686
|
-
type: Boolean,
|
|
2687
|
-
reflect: true
|
|
2688
|
-
},
|
|
2689
|
-
|
|
2690
|
-
/**
|
|
2691
|
-
* If declared, will apply extra padding to bib content.
|
|
2692
|
-
*/
|
|
2693
|
-
inset: {
|
|
2694
|
-
type: Boolean,
|
|
2695
|
-
reflect: true
|
|
2696
|
-
},
|
|
2697
|
-
|
|
2698
|
-
/**
|
|
2699
|
-
* If declared, will apply border-radius to the bib.
|
|
2700
|
-
*/
|
|
2701
|
-
rounded: {
|
|
2702
|
-
type: Boolean,
|
|
2703
|
-
reflect: true
|
|
2704
|
-
},
|
|
2705
|
-
};
|
|
2706
|
-
}
|
|
2707
|
-
|
|
2708
|
-
set mobileFullscreenBreakpoint(value) {
|
|
2709
|
-
// verify the defined breakpoint is valid and exit out if not
|
|
2710
|
-
const validatedValue = DESIGN_TOKEN_BREAKPOINT_OPTIONS.includes(value) ? value : undefined;
|
|
2711
|
-
if (!validatedValue) {
|
|
2712
|
-
this._mobileBreakpointValue = undefined;
|
|
2713
|
-
} else {
|
|
2714
|
-
// get the pixel value for the defined breakpoint
|
|
2715
|
-
const docStyle = getComputedStyle(document.documentElement);
|
|
2716
|
-
this._mobileBreakpointValue = docStyle.getPropertyValue(DESIGN_TOKEN_BREAKPOINT_PREFIX + value);
|
|
2717
|
-
}
|
|
2718
|
-
}
|
|
2719
|
-
|
|
2720
|
-
get mobileFullscreenBreakpoint() {
|
|
2721
|
-
return this._mobileBreakpointValue;
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
2725
|
-
render() {
|
|
2726
|
-
return u$3`
|
|
2727
|
-
<div class="container" part="bibContainer">
|
|
2728
|
-
<slot></slot>
|
|
2729
|
-
</div>
|
|
2730
|
-
`;
|
|
2731
|
-
}
|
|
2732
|
-
}
|
|
2733
|
-
|
|
2734
|
-
// default internal definition
|
|
2735
|
-
if (!customElements.get("auro-dropdownbib")) {
|
|
2736
|
-
customElements.define("auro-dropdownbib", AuroDropdownBib);
|
|
2737
|
-
}
|
|
2738
|
-
|
|
2739
2797
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2740
2798
|
// See LICENSE in the project root for license information.
|
|
2741
2799
|
|
|
@@ -2757,6 +2815,7 @@ class AuroDropdown extends r$4 {
|
|
|
2757
2815
|
super();
|
|
2758
2816
|
|
|
2759
2817
|
this.isPopoverVisible = false;
|
|
2818
|
+
this.isBibFullscreen = false;
|
|
2760
2819
|
this.matchWidth = false;
|
|
2761
2820
|
this.noHideOnThisFocusLoss = false;
|
|
2762
2821
|
|
|
@@ -2831,7 +2890,16 @@ class AuroDropdown extends r$4 {
|
|
|
2831
2890
|
* Generate unique names for dependency components.
|
|
2832
2891
|
*/
|
|
2833
2892
|
const versioning = new AuroDependencyVersioning();
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* @private
|
|
2896
|
+
*/
|
|
2834
2897
|
this.iconTag = versioning.generateTag('auro-icon', iconVersion, AuroIcon);
|
|
2898
|
+
|
|
2899
|
+
/**
|
|
2900
|
+
* @private
|
|
2901
|
+
*/
|
|
2902
|
+
this.dropdownBibTag = versioning.generateTag('auro-dropdownbib', dropdownVersion, AuroDropdownBib);
|
|
2835
2903
|
}
|
|
2836
2904
|
|
|
2837
2905
|
/**
|
|
@@ -2933,6 +3001,14 @@ class AuroDropdown extends r$4 {
|
|
|
2933
3001
|
type: Boolean
|
|
2934
3002
|
},
|
|
2935
3003
|
|
|
3004
|
+
/**
|
|
3005
|
+
* If true, the dropdown bib is taking the fullscreen when it's open
|
|
3006
|
+
*/
|
|
3007
|
+
isBibFullscreen: {
|
|
3008
|
+
type: Boolean,
|
|
3009
|
+
reflect: true,
|
|
3010
|
+
},
|
|
3011
|
+
|
|
2936
3012
|
/**
|
|
2937
3013
|
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
2938
3014
|
*/
|
|
@@ -3011,8 +3087,8 @@ class AuroDropdown extends r$4 {
|
|
|
3011
3087
|
|
|
3012
3088
|
static get styles() {
|
|
3013
3089
|
return [
|
|
3014
|
-
colorCss$
|
|
3015
|
-
styleCss$
|
|
3090
|
+
colorCss$1,
|
|
3091
|
+
styleCss$1,
|
|
3016
3092
|
tokensCss$1
|
|
3017
3093
|
];
|
|
3018
3094
|
}
|
|
@@ -3061,7 +3137,6 @@ class AuroDropdown extends r$4 {
|
|
|
3061
3137
|
|
|
3062
3138
|
/**
|
|
3063
3139
|
* Exposes CSS parts for styling from parent components.
|
|
3064
|
-
* @private
|
|
3065
3140
|
* @returns {void}
|
|
3066
3141
|
*/
|
|
3067
3142
|
exposeCssParts() {
|
|
@@ -3267,13 +3342,14 @@ class AuroDropdown extends r$4 {
|
|
|
3267
3342
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
3268
3343
|
</div>
|
|
3269
3344
|
<div id="bibSizer" part="size"></div>
|
|
3270
|
-
|
|
3345
|
+
<${this.dropdownBibTag}
|
|
3271
3346
|
id="bib"
|
|
3272
3347
|
role="tooltip"
|
|
3348
|
+
?isfullscreen="${this.isBibFullscreen}"
|
|
3273
3349
|
?common="${this.common}"
|
|
3274
3350
|
?rounded="${this.common || this.rounded}"
|
|
3275
3351
|
?inset="${this.common || this.inset}">
|
|
3276
|
-
|
|
3352
|
+
</${this.dropdownBibTag}>
|
|
3277
3353
|
</div>
|
|
3278
3354
|
`;
|
|
3279
3355
|
}
|
|
@@ -81,6 +81,13 @@ export class AuroDropdown extends LitElement {
|
|
|
81
81
|
isPopoverVisible: {
|
|
82
82
|
type: BooleanConstructor;
|
|
83
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* If true, the dropdown bib is taking the fullscreen when it's open
|
|
86
|
+
*/
|
|
87
|
+
isBibFullscreen: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
reflect: boolean;
|
|
90
|
+
};
|
|
84
91
|
/**
|
|
85
92
|
* If declared, the trigger will toggle the dropdown on mouseover/mouseout.
|
|
86
93
|
*/
|
|
@@ -157,6 +164,7 @@ export class AuroDropdown extends LitElement {
|
|
|
157
164
|
*/
|
|
158
165
|
static register(name?: string): void;
|
|
159
166
|
isPopoverVisible: boolean;
|
|
167
|
+
isBibFullscreen: boolean;
|
|
160
168
|
matchWidth: boolean;
|
|
161
169
|
noHideOnThisFocusLoss: boolean;
|
|
162
170
|
/**
|
|
@@ -200,7 +208,14 @@ export class AuroDropdown extends LitElement {
|
|
|
200
208
|
* @private
|
|
201
209
|
*/
|
|
202
210
|
private floaterConfig;
|
|
203
|
-
|
|
211
|
+
/**
|
|
212
|
+
* @private
|
|
213
|
+
*/
|
|
214
|
+
private iconTag;
|
|
215
|
+
/**
|
|
216
|
+
* @private
|
|
217
|
+
*/
|
|
218
|
+
private dropdownBibTag;
|
|
204
219
|
/**
|
|
205
220
|
* Public method to hide the dropdown.
|
|
206
221
|
* @returns {void}
|
|
@@ -216,10 +231,9 @@ export class AuroDropdown extends LitElement {
|
|
|
216
231
|
bibContent: any;
|
|
217
232
|
/**
|
|
218
233
|
* Exposes CSS parts for styling from parent components.
|
|
219
|
-
* @private
|
|
220
234
|
* @returns {void}
|
|
221
235
|
*/
|
|
222
|
-
|
|
236
|
+
exposeCssParts(): void;
|
|
223
237
|
/**
|
|
224
238
|
* Determines if content is within a custom slot.
|
|
225
239
|
* @private
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-dropdown.d.ts","sourceRoot":"","sources":["../src/auro-dropdown.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auro-dropdown.d.ts","sourceRoot":"","sources":["../src/auro-dropdown.js"],"names":[],"mappings":"AA4BA;;;;;;;;;;;GAWG;AACH;IA6GE;QAGI;;WAEG;;;;;QAMH;;;WAGG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;;;;;QAWH;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;MAKN;IAED,+CAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAjSC,0BAA6B;IAC7B,yBAA4B;IAC5B,oBAAuB;IACvB,+BAAkC;IAalC;;OAEG;IACH,gCAAoC;IAEpC;;OAEG;IACH,2BAA8B;IAGhC;;;OAGG;IACH,wBAuDC;IAtDC,kBAAqB;IACrB,iBAAoB;IACpB,kBAAqB;IACrB,eAAkB;IAClB,eAAkB;IAClB,kBAA+B;IAC/B,iBAAoB;IAEpB,kBAAqB;IAErB;;OAEG;IACH,0BAA8B;IAE9B;;OAEG;IACH,2BAAmC;IAEnC;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,gBAAmC;IAEnC;;OAEG;IACH,sBAKC;IAOD;;OAEG;IACH,gBAAyE;IAEzE;;OAEG;IACH,uBAAkG;IAGpG;;;OAGG;IACH,QAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,QAFa,IAAI,CAIhB;IAqMD,sCAYC;IAED,qBAMC;IAJC,gBAA0C;IAM5C;;;OAGG;IACH,kBAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,4BAiBC;IAED;;;;;OAKG;IACH,iCAkDC;IAED;;;;;;;;;;;OAWG;IACH,uCAyCC;IAnBG,yBAA+B;IAqBnC;;;;;;;;;;;OAWG;IACH,0BAMC;IAGD,4CAoDC;CACF;2BAjkB0B,KAAK"}
|