@aurodesignsystem/auro-formkit 2.0.0-beta.4 → 2.0.0-beta.6
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/06845874cc82b186-meta.json +1 -0
- package/.turbo/cache/06845874cc82b186.tar.zst +0 -0
- package/.turbo/cache/0a96f136af026d57-meta.json +1 -0
- package/.turbo/cache/0a96f136af026d57.tar.zst +0 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +1 -0
- package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
- package/.turbo/cache/0ca9c5ccf3e90704-meta.json +1 -0
- package/.turbo/cache/0ca9c5ccf3e90704.tar.zst +0 -0
- package/.turbo/cache/14f6c585a8504aed-meta.json +1 -0
- package/.turbo/cache/14f6c585a8504aed.tar.zst +0 -0
- package/.turbo/cache/18129dba20f51b6b-meta.json +1 -0
- package/.turbo/cache/18129dba20f51b6b.tar.zst +0 -0
- package/.turbo/cache/1a8d6e4cab38121a-meta.json +1 -0
- package/.turbo/cache/1a8d6e4cab38121a.tar.zst +0 -0
- package/.turbo/cache/2787020e69f50af2-meta.json +1 -0
- package/.turbo/cache/2787020e69f50af2.tar.zst +0 -0
- package/.turbo/cache/2ec1b6d23563659e-meta.json +1 -0
- package/.turbo/cache/2ec1b6d23563659e.tar.zst +0 -0
- package/.turbo/cache/3afc5b2ea7c1bf51-meta.json +1 -0
- package/.turbo/cache/3afc5b2ea7c1bf51.tar.zst +0 -0
- package/.turbo/cache/3cd8fc5f388323db-meta.json +1 -0
- package/.turbo/cache/3cd8fc5f388323db.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -0
- package/.turbo/cache/4006a206400d5c7b.tar.zst +0 -0
- package/.turbo/cache/40de011abc31c0cf-meta.json +1 -0
- package/.turbo/cache/40de011abc31c0cf.tar.zst +0 -0
- package/.turbo/cache/426c825f57054f5f-meta.json +1 -0
- package/.turbo/cache/426c825f57054f5f.tar.zst +0 -0
- package/.turbo/cache/4524aae614598308-meta.json +1 -0
- package/.turbo/cache/4524aae614598308.tar.zst +0 -0
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -0
- package/.turbo/cache/492dda333b8d15f1.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +1 -0
- package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -0
- package/.turbo/cache/51eaa58d5c167de8.tar.zst +0 -0
- package/.turbo/cache/577d86e4072c01f5-meta.json +1 -0
- package/.turbo/cache/577d86e4072c01f5.tar.zst +0 -0
- package/.turbo/cache/5aadae8d3f94202e-meta.json +1 -0
- package/.turbo/cache/5aadae8d3f94202e.tar.zst +0 -0
- package/.turbo/cache/5d770c787aa78d4d-meta.json +1 -0
- package/.turbo/cache/5d770c787aa78d4d.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -0
- package/.turbo/cache/60ad74320c682a2b.tar.zst +0 -0
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -0
- package/.turbo/cache/61e218aba69cff58.tar.zst +0 -0
- package/.turbo/cache/624bf5350aacae42-meta.json +1 -0
- package/.turbo/cache/624bf5350aacae42.tar.zst +0 -0
- package/.turbo/cache/66333b75c8f57565-meta.json +1 -0
- package/.turbo/cache/66333b75c8f57565.tar.zst +0 -0
- package/.turbo/cache/66e9cca767930b1d-meta.json +1 -0
- package/.turbo/cache/66e9cca767930b1d.tar.zst +0 -0
- package/.turbo/cache/68060c79df03f45a-meta.json +1 -0
- package/.turbo/cache/68060c79df03f45a.tar.zst +0 -0
- package/.turbo/cache/68e3afb31feab4e9-meta.json +1 -0
- package/.turbo/cache/68e3afb31feab4e9.tar.zst +0 -0
- package/.turbo/cache/6a1c28febca6163f-meta.json +1 -0
- package/.turbo/cache/6a1c28febca6163f.tar.zst +0 -0
- package/.turbo/cache/6bc4e2d881af6ffb-meta.json +1 -0
- package/.turbo/cache/6bc4e2d881af6ffb.tar.zst +0 -0
- package/.turbo/cache/6c8ea74dc3b07640-meta.json +1 -0
- package/.turbo/cache/6c8ea74dc3b07640.tar.zst +0 -0
- package/.turbo/cache/71dbeaf0706c12fe-meta.json +1 -0
- package/.turbo/cache/71dbeaf0706c12fe.tar.zst +0 -0
- package/.turbo/cache/7445df6e7feed2a7-meta.json +1 -0
- package/.turbo/cache/7445df6e7feed2a7.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -0
- package/.turbo/cache/77da375a012de9d0.tar.zst +0 -0
- package/.turbo/cache/7a6ef918375d4010-meta.json +1 -0
- package/.turbo/cache/7a6ef918375d4010.tar.zst +0 -0
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -0
- package/.turbo/cache/7bf2b06a479d0b30.tar.zst +0 -0
- package/.turbo/cache/7f3b42ddf36d0158-meta.json +1 -0
- package/.turbo/cache/7f3b42ddf36d0158.tar.zst +0 -0
- package/.turbo/cache/83e1029b14af6545-meta.json +1 -0
- package/.turbo/cache/83e1029b14af6545.tar.zst +0 -0
- package/.turbo/cache/98936c69a55361fc-meta.json +1 -0
- package/.turbo/cache/98936c69a55361fc.tar.zst +0 -0
- package/.turbo/cache/9a9b4e449cd84be4-meta.json +1 -0
- package/.turbo/cache/9a9b4e449cd84be4.tar.zst +0 -0
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +1 -0
- package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
- package/.turbo/cache/a275406512608e45-meta.json +1 -0
- package/.turbo/cache/a275406512608e45.tar.zst +0 -0
- package/.turbo/cache/a3db8f78e018a955-meta.json +1 -0
- package/.turbo/cache/a3db8f78e018a955.tar.zst +0 -0
- package/.turbo/cache/a50fe73cdcf0b30b-meta.json +1 -0
- package/.turbo/cache/a50fe73cdcf0b30b.tar.zst +0 -0
- package/.turbo/cache/ad2b775dd9172ae8-meta.json +1 -0
- package/.turbo/cache/ad2b775dd9172ae8.tar.zst +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f.tar.zst +0 -0
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -0
- package/.turbo/cache/b6a202cc85cb61a0.tar.zst +0 -0
- package/.turbo/cache/b91d2888e699c76a-meta.json +1 -0
- package/.turbo/cache/b91d2888e699c76a.tar.zst +0 -0
- package/.turbo/cache/bdc6aadfdbb6feb9-meta.json +1 -0
- package/.turbo/cache/bdc6aadfdbb6feb9.tar.zst +0 -0
- package/.turbo/cache/be128506a9bcaa65-meta.json +1 -0
- package/.turbo/cache/be128506a9bcaa65.tar.zst +0 -0
- package/.turbo/cache/c114d428251f56a5-meta.json +1 -0
- package/.turbo/cache/c114d428251f56a5.tar.zst +0 -0
- package/.turbo/cache/c44efc9e4ddd8a0e-meta.json +1 -0
- package/.turbo/cache/c44efc9e4ddd8a0e.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -0
- package/.turbo/cache/c6c6411199b68170.tar.zst +0 -0
- package/.turbo/cache/c7338727efbc457a-meta.json +1 -0
- package/.turbo/cache/c7338727efbc457a.tar.zst +0 -0
- package/.turbo/cache/cf235df1ef8d90b0-meta.json +1 -0
- package/.turbo/cache/cf235df1ef8d90b0.tar.zst +0 -0
- package/.turbo/cache/d3a05e38449c9b24-meta.json +1 -0
- package/.turbo/cache/d3a05e38449c9b24.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -0
- package/.turbo/cache/d5db503b2eaf239c.tar.zst +0 -0
- package/.turbo/cache/d9331772756d3d94-meta.json +1 -0
- package/.turbo/cache/d9331772756d3d94.tar.zst +0 -0
- package/.turbo/cache/db4ea5071b44ee8c-meta.json +1 -0
- package/.turbo/cache/db4ea5071b44ee8c.tar.zst +0 -0
- package/.turbo/cache/dc6fbe2a8d5b9d9b-meta.json +1 -0
- package/.turbo/cache/dc6fbe2a8d5b9d9b.tar.zst +0 -0
- package/.turbo/cache/e1e2582a7131011f-meta.json +1 -0
- package/.turbo/cache/e1e2582a7131011f.tar.zst +0 -0
- package/.turbo/cache/e3214a79be4093fc-meta.json +1 -0
- package/.turbo/cache/e3214a79be4093fc.tar.zst +0 -0
- package/.turbo/cache/e6271174c00888fe-meta.json +1 -0
- package/.turbo/cache/e6271174c00888fe.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -0
- package/.turbo/cache/e62cfee068e3ef36.tar.zst +0 -0
- package/.turbo/cache/e86451b8f88594b2-meta.json +1 -0
- package/.turbo/cache/e86451b8f88594b2.tar.zst +0 -0
- package/.turbo/cache/e9872ba002963dd3-meta.json +1 -0
- package/.turbo/cache/e9872ba002963dd3.tar.zst +0 -0
- package/.turbo/cache/ed18f3189ffb1fae-meta.json +1 -0
- package/.turbo/cache/ed18f3189ffb1fae.tar.zst +0 -0
- package/CHANGELOG.md +15 -0
- package/README.md +10 -10
- package/components/checkbox/.turbo/turbo-build$colon$sass.log +10 -10
- package/components/checkbox/.turbo/turbo-build.log +20 -21
- package/components/checkbox/.turbo/turbo-bundler.log +4 -4
- package/components/checkbox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/checkbox/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/checkbox/.turbo/turbo-types.log +1 -1
- package/components/checkbox/README.md +26 -34
- package/components/checkbox/demo/api.md +62 -64
- package/components/checkbox/demo/api.min.js +79 -33
- package/components/checkbox/demo/index.md +62 -62
- package/components/checkbox/demo/index.min.js +79 -33
- package/components/checkbox/dist/auro-checkbox-group.d.ts +35 -16
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +20 -11
- package/components/checkbox/dist/auro-checkbox.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +79 -33
- package/components/checkbox/package.json +1 -1
- package/components/checkbox/src/auro-checkbox-group.js +45 -16
- package/components/checkbox/src/auro-checkbox.js +29 -12
- package/components/combobox/.turbo/turbo-build$colon$sass.log +5 -5
- package/components/combobox/.turbo/turbo-build$colon$version.log +10 -0
- package/components/combobox/.turbo/turbo-build.log +16 -17
- package/components/combobox/.turbo/turbo-bundler.log +24 -0
- package/components/combobox/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/combobox/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/combobox/.turbo/turbo-types.log +4 -0
- package/components/combobox/README.md +21 -26
- package/components/combobox/demo/api.min.js +53 -53
- package/components/combobox/demo/index.min.js +53 -53
- package/components/combobox/dist/index.js +52 -52
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/.husky/pre-commit +1 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/CHANGELOG.md +863 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/README.md +109 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/README.md +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/_auroElement.scss +45 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.js +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/auroElement/auroElement.mjs +38 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials+fv.css +110 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/bundled/essentials.css +106 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/demoWrapper.css +8 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/dist/elementDemoStyles.css +813 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/package.json +134 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/packageScripts/postinstall.mjs +39 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_animation.scss +30 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_blockquote.scss +46 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_breakpoints.scss +155 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_core.scss +25 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_essentials.scss +267 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_focus-visible.scss +36 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_fonts.scss +50 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_grids.scss +395 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_headings.scss +255 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_normalize.scss +663 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_picture.scss +31 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/_utilityClasses.scss +22 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials+fv.scss +19 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/bundled/essentials.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleButton.scss +32 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_anchor-roleTab.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_containedButtons.scss +59 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_table.scss +54 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/componentSupport/_tablist.scss +37 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/README.md +5 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/demoWrapper.scss +18 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/elementDemoStyles/elementDemoStyles.scss +123 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_deprecated.scss +16 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/libSupport/_manageScope.scss +42 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_displayProperties.scss +142 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_fontStyles.scss +151 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_inset.scss +188 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_layoutProperties.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_listProperties.scss +176 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_responsive.scss +249 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/_typeProperties.scss +49 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_capitalize.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_contains.scss +26 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityFunctions/_map-deep-get.scss +29 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleButton.scss +76 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_anchor-roleTab.scss +86 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_insetUtility.scss +9 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_layoutPropertiesGenerator.scss +75 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityMixins/_spacingUtility.scss +96 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_important.scss +20 -0
- package/components/combobox/node_modules/@aurodesignsystem/webcorestylesheets/src/utilityVariables/_spacing-options.scss +13 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/README.md +293 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/cjs/index.js +1377 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/index.js +1370 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/dist/es/package.json +1 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/package.json +89 -0
- package/components/combobox/node_modules/@rollup/plugin-node-resolve/types/index.d.ts +115 -0
- package/components/combobox/node_modules/chalk/package.json +3 -3
- package/components/combobox/node_modules/chalk/readme.md +25 -53
- package/components/combobox/node_modules/chalk/source/index.d.ts +6 -1
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/browser.js +6 -2
- package/components/combobox/node_modules/chalk/source/vendor/supports-color/index.js +2 -2
- package/components/combobox/package.json +5 -5
- package/components/counter/.turbo/turbo-build$colon$sass.log +7 -7
- package/components/counter/.turbo/turbo-build.log +13 -13
- package/components/counter/.turbo/turbo-bundler.log +4 -4
- package/components/counter/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/counter/.turbo/turbo-sass$colon$render.log +3 -3
- package/components/counter/.turbo/turbo-types.log +1 -1
- package/components/counter/demo/api.min.js +5 -5
- package/components/counter/demo/index.min.js +5 -5
- package/components/counter/dist/index.js +5 -5
- package/components/counter/package.json +1 -1
- package/components/datepicker/.turbo/turbo-build$colon$sass.log +34 -34
- package/components/datepicker/.turbo/turbo-build$colon$version.log +13 -0
- package/components/datepicker/.turbo/turbo-build.log +45 -46
- package/components/datepicker/.turbo/turbo-bundler.log +17 -0
- package/components/datepicker/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/datepicker/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/datepicker/.turbo/turbo-types.log +4 -0
- package/components/datepicker/README.md +21 -26
- package/components/datepicker/demo/api.md +20 -20
- package/components/datepicker/demo/api.min.js +311 -268
- package/components/datepicker/demo/index.min.js +311 -268
- package/components/datepicker/dist/auro-datepicker.d.ts +91 -73
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +311 -268
- package/components/datepicker/package.json +1 -1
- package/components/datepicker/src/auro-datepicker.js +113 -70
- package/components/datepicker/src/styles/color-cell-css.js +1 -1
- package/components/datepicker/src/styles/color-cell.css +1 -1
- package/components/datepicker/src/styles/color-cell.scss +1 -1
- package/components/dropdown/.turbo/turbo-build$colon$sass.log +8 -8
- package/components/dropdown/.turbo/turbo-build$colon$version.log +1 -1
- package/components/dropdown/.turbo/turbo-build.log +19 -20
- package/components/dropdown/.turbo/turbo-bundler.log +4 -4
- package/components/dropdown/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/dropdown/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/dropdown/.turbo/turbo-types.log +1 -1
- package/components/dropdown/README.md +18 -26
- package/components/dropdown/demo/api.min.js +39 -39
- package/components/dropdown/demo/index.min.js +39 -39
- package/components/dropdown/dist/index.js +39 -39
- package/components/dropdown/package.json +1 -1
- package/components/form/.turbo/turbo-build$colon$sass.log +6 -6
- package/components/form/.turbo/turbo-build$colon$version.log +1 -1
- package/components/form/.turbo/turbo-build.log +17 -18
- package/components/form/.turbo/turbo-bundler.log +4 -4
- package/components/form/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/form/.turbo/turbo-sass$colon$render.log +2 -2
- package/components/form/.turbo/turbo-types.log +1 -1
- package/components/form/README.md +18 -26
- package/components/form/demo/api.min.js +4 -4
- package/components/form/demo/index.min.js +4 -4
- package/components/form/dist/index.js +4 -4
- package/components/form/package.json +1 -1
- package/components/input/.turbo/turbo-build$colon$sass.log +20 -20
- package/components/input/.turbo/turbo-build$colon$version.log +1 -1
- package/components/input/.turbo/turbo-build.log +31 -34
- package/components/input/.turbo/turbo-bundler.log +4 -4
- package/components/input/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/input/.turbo/turbo-sass$colon$render.log +10 -10
- package/components/input/.turbo/turbo-types.log +1 -1
- package/components/input/README.md +18 -28
- package/components/input/demo/api.md +80 -247
- package/components/input/demo/api.min.js +8 -8
- package/components/input/demo/index.md +9 -59
- package/components/input/demo/index.min.js +8 -8
- package/components/input/dist/index.js +8 -8
- package/components/input/package.json +1 -1
- package/components/menu/.turbo/turbo-build$colon$sass.log +9 -9
- package/components/menu/.turbo/turbo-build$colon$version.log +1 -1
- package/components/menu/.turbo/turbo-build.log +19 -20
- package/components/menu/.turbo/turbo-bundler.log +4 -4
- package/components/menu/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/menu/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/menu/.turbo/turbo-types.log +1 -1
- package/components/menu/README.md +18 -26
- package/components/menu/demo/api.min.js +6 -6
- package/components/menu/demo/index.min.js +6 -6
- package/components/menu/dist/index.js +6 -6
- package/components/menu/package.json +1 -1
- package/components/radio/.turbo/turbo-build$colon$sass.log +13 -13
- package/components/radio/.turbo/turbo-build.log +23 -24
- package/components/radio/.turbo/turbo-bundler.log +4 -4
- package/components/radio/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/radio/.turbo/turbo-sass$colon$render.log +6 -6
- package/components/radio/.turbo/turbo-types.log +1 -1
- package/components/radio/README.md +18 -26
- package/components/radio/demo/api.min.js +6 -6
- package/components/radio/demo/index.min.js +6 -6
- package/components/radio/dist/index.js +6 -6
- package/components/radio/package.json +1 -1
- package/components/select/.turbo/turbo-build$colon$sass.log +12 -12
- package/components/select/.turbo/turbo-build$colon$version.log +7 -0
- package/components/select/.turbo/turbo-build.log +23 -24
- package/components/select/.turbo/turbo-bundler.log +22 -0
- package/components/select/.turbo/turbo-postCss$colon$component.log +1 -2
- package/components/select/.turbo/turbo-sass$colon$render.log +4 -4
- package/components/select/.turbo/turbo-types.log +4 -0
- package/components/select/README.md +21 -42
- package/components/select/demo/api.min.js +45 -45
- package/components/select/demo/index.md +1 -16
- package/components/select/demo/index.min.js +45 -45
- package/components/select/dist/index.js +45 -45
- package/components/select/package.json +1 -1
- package/package.json +21 -21
- package/packages/build-tools/src/docProcessor.mjs +37 -8
- package/.turbo/cache/013a48308b893dac-meta.json +0 -1
- package/.turbo/cache/013a48308b893dac.tar.zst +0 -0
- package/.turbo/cache/02244170c798a2bd-meta.json +0 -1
- package/.turbo/cache/02244170c798a2bd.tar.zst +0 -0
- package/.turbo/cache/051ff97a20add0e2-meta.json +0 -1
- package/.turbo/cache/051ff97a20add0e2.tar.zst +0 -0
- package/.turbo/cache/07ca42419b9f050c-meta.json +0 -1
- package/.turbo/cache/07ca42419b9f050c.tar.zst +0 -0
- package/.turbo/cache/0cea4c1f34f3683b-meta.json +0 -1
- package/.turbo/cache/0cea4c1f34f3683b.tar.zst +0 -0
- package/.turbo/cache/0ea853339c064fa1-meta.json +0 -1
- package/.turbo/cache/0ea853339c064fa1.tar.zst +0 -0
- package/.turbo/cache/16658beec9f4a809-meta.json +0 -1
- package/.turbo/cache/16658beec9f4a809.tar.zst +0 -0
- package/.turbo/cache/17259cf94d8f8925-meta.json +0 -1
- package/.turbo/cache/17259cf94d8f8925.tar.zst +0 -0
- package/.turbo/cache/1b9818717e4bdf9f-meta.json +0 -1
- package/.turbo/cache/1b9818717e4bdf9f.tar.zst +0 -0
- package/.turbo/cache/1c0f580d37370ba2-meta.json +0 -1
- package/.turbo/cache/1c0f580d37370ba2.tar.zst +0 -0
- package/.turbo/cache/1c99a949ec63ab35-meta.json +0 -1
- package/.turbo/cache/1c99a949ec63ab35.tar.zst +0 -0
- package/.turbo/cache/1df4710eef8ed00d-meta.json +0 -1
- package/.turbo/cache/1df4710eef8ed00d.tar.zst +0 -0
- package/.turbo/cache/204b66d1b253e9cc-meta.json +0 -1
- package/.turbo/cache/204b66d1b253e9cc.tar.zst +0 -0
- package/.turbo/cache/257a7a26ea72dbc5-meta.json +0 -1
- package/.turbo/cache/257a7a26ea72dbc5.tar.zst +0 -0
- package/.turbo/cache/2a5d0939d6fc1052-meta.json +0 -1
- package/.turbo/cache/2a5d0939d6fc1052.tar.zst +0 -0
- package/.turbo/cache/2e3b829fcf75c836-meta.json +0 -1
- package/.turbo/cache/2e3b829fcf75c836.tar.zst +0 -0
- package/.turbo/cache/3bf45120d0cc9bd8-meta.json +0 -1
- package/.turbo/cache/3bf45120d0cc9bd8.tar.zst +0 -0
- package/.turbo/cache/3d380d0d40404cac-meta.json +0 -1
- package/.turbo/cache/3d380d0d40404cac.tar.zst +0 -0
- package/.turbo/cache/3e12285c614db539-meta.json +0 -1
- package/.turbo/cache/3e12285c614db539.tar.zst +0 -0
- package/.turbo/cache/45035bf5c4147ccd-meta.json +0 -1
- package/.turbo/cache/45035bf5c4147ccd.tar.zst +0 -0
- package/.turbo/cache/5bf2d3f7ba5891e0-meta.json +0 -1
- package/.turbo/cache/5bf2d3f7ba5891e0.tar.zst +0 -0
- package/.turbo/cache/5f304c0f37ef25f3-meta.json +0 -1
- package/.turbo/cache/5f304c0f37ef25f3.tar.zst +0 -0
- package/.turbo/cache/64de7a53e02db647-meta.json +0 -1
- package/.turbo/cache/64de7a53e02db647.tar.zst +0 -0
- package/.turbo/cache/691a74627ec57993-meta.json +0 -1
- package/.turbo/cache/691a74627ec57993.tar.zst +0 -0
- package/.turbo/cache/69aae513b7ec6c7d-meta.json +0 -1
- package/.turbo/cache/69aae513b7ec6c7d.tar.zst +0 -0
- package/.turbo/cache/6dd67d179191bda8-meta.json +0 -1
- package/.turbo/cache/6dd67d179191bda8.tar.zst +0 -0
- package/.turbo/cache/6dd7058e6703cb35-meta.json +0 -1
- package/.turbo/cache/6dd7058e6703cb35.tar.zst +0 -0
- package/.turbo/cache/73e9073a5274616d-meta.json +0 -1
- package/.turbo/cache/73e9073a5274616d.tar.zst +0 -0
- package/.turbo/cache/773edc0f83c8c5a5-meta.json +0 -1
- package/.turbo/cache/773edc0f83c8c5a5.tar.zst +0 -0
- package/.turbo/cache/786a822763403879-meta.json +0 -1
- package/.turbo/cache/786a822763403879.tar.zst +0 -0
- package/.turbo/cache/7e1043cffa69f327-meta.json +0 -1
- package/.turbo/cache/7e1043cffa69f327.tar.zst +0 -0
- package/.turbo/cache/7ffd501e81790676-meta.json +0 -1
- package/.turbo/cache/7ffd501e81790676.tar.zst +0 -0
- package/.turbo/cache/80a13352066a9801-meta.json +0 -1
- package/.turbo/cache/80a13352066a9801.tar.zst +0 -0
- package/.turbo/cache/80b5d974184a01df-meta.json +0 -1
- package/.turbo/cache/80b5d974184a01df.tar.zst +0 -0
- package/.turbo/cache/8954c6073396fadd-meta.json +0 -1
- package/.turbo/cache/8954c6073396fadd.tar.zst +0 -0
- package/.turbo/cache/8e79bd5c3a16a72e-meta.json +0 -1
- package/.turbo/cache/8e79bd5c3a16a72e.tar.zst +0 -0
- package/.turbo/cache/8e9ebc3df0e18de0-meta.json +0 -1
- package/.turbo/cache/8e9ebc3df0e18de0.tar.zst +0 -0
- package/.turbo/cache/92daa6d7c389d548-meta.json +0 -1
- package/.turbo/cache/92daa6d7c389d548.tar.zst +0 -0
- package/.turbo/cache/973d0eea26083f4b-meta.json +0 -1
- package/.turbo/cache/973d0eea26083f4b.tar.zst +0 -0
- package/.turbo/cache/9c6ad42729c7b2d8-meta.json +0 -1
- package/.turbo/cache/9c6ad42729c7b2d8.tar.zst +0 -0
- package/.turbo/cache/a77bc920ea508bb8-meta.json +0 -1
- package/.turbo/cache/a77bc920ea508bb8.tar.zst +0 -0
- package/.turbo/cache/a9a9d012c83882d8-meta.json +0 -1
- package/.turbo/cache/a9a9d012c83882d8.tar.zst +0 -0
- package/.turbo/cache/b54fc4f664a7a5a0-meta.json +0 -1
- package/.turbo/cache/b54fc4f664a7a5a0.tar.zst +0 -0
- package/.turbo/cache/ba4418918621fbcd-meta.json +0 -1
- package/.turbo/cache/ba4418918621fbcd.tar.zst +0 -0
- package/.turbo/cache/be7c23c37b8ec74b-meta.json +0 -1
- package/.turbo/cache/be7c23c37b8ec74b.tar.zst +0 -0
- package/.turbo/cache/bffc7582905c2a5e-meta.json +0 -1
- package/.turbo/cache/bffc7582905c2a5e.tar.zst +0 -0
- package/.turbo/cache/caa0b4ac8d2a04dd-meta.json +0 -1
- package/.turbo/cache/caa0b4ac8d2a04dd.tar.zst +0 -0
- package/.turbo/cache/cc81de9c0b452a7c-meta.json +0 -1
- package/.turbo/cache/cc81de9c0b452a7c.tar.zst +0 -0
- package/.turbo/cache/d572ebb3c833e8f4-meta.json +0 -1
- package/.turbo/cache/d572ebb3c833e8f4.tar.zst +0 -0
- package/.turbo/cache/d61543843c932504-meta.json +0 -1
- package/.turbo/cache/d61543843c932504.tar.zst +0 -0
- package/.turbo/cache/dad1301ac69bcb85-meta.json +0 -1
- package/.turbo/cache/dad1301ac69bcb85.tar.zst +0 -0
- package/.turbo/cache/db361cb6578dca84-meta.json +0 -1
- package/.turbo/cache/db361cb6578dca84.tar.zst +0 -0
- package/.turbo/cache/dea5945f55c6aba5-meta.json +0 -1
- package/.turbo/cache/dea5945f55c6aba5.tar.zst +0 -0
- package/.turbo/cache/e992dab20aeefbaf-meta.json +0 -1
- package/.turbo/cache/e992dab20aeefbaf.tar.zst +0 -0
- package/.turbo/cache/f3ff9040a2196834-meta.json +0 -1
- package/.turbo/cache/f3ff9040a2196834.tar.zst +0 -0
- package/.turbo/cache/f817d89688cefca8-meta.json +0 -1
- package/.turbo/cache/f817d89688cefca8.tar.zst +0 -0
- package/.turbo/cache/fa132b5b5f0e75f8-meta.json +0 -1
- package/.turbo/cache/fa132b5b5f0e75f8.tar.zst +0 -0
- package/.turbo/cache/fc57c17867dcac3d-meta.json +0 -1
- package/.turbo/cache/fc57c17867dcac3d.tar.zst +0 -0
|
@@ -4,8 +4,8 @@ The README.md file is a compiled document. No edits should be made directly to t
|
|
|
4
4
|
README.md is created by running `npm run build:docs`.
|
|
5
5
|
|
|
6
6
|
This file is generated based on a template fetched from
|
|
7
|
-
|
|
8
|
-
and copied to `./componentDocs/README.md` each time the
|
|
7
|
+
`../../docs/templates/componentReadmeTemplate.md`
|
|
8
|
+
and copied to `./componentDocs/README.md` each time the docs are compiled.
|
|
9
9
|
|
|
10
10
|
The following sections are editable by making changes to the following files:
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@ The following sections are editable by making changes to the following files:
|
|
|
17
17
|
| Component Example Code | HTML sample code of the components use | `./apiExamples/basic.html` |
|
|
18
18
|
-->
|
|
19
19
|
|
|
20
|
-
#
|
|
20
|
+
# Dropdown
|
|
21
21
|
|
|
22
22
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
|
|
23
23
|
<!-- The below content is automatically added from ./docs/partials/description.md -->
|
|
@@ -39,18 +39,12 @@ For the most up to date information on [UI development browser support](https://
|
|
|
39
39
|
|
|
40
40
|
## Install
|
|
41
41
|
|
|
42
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
43
|
-
|
|
44
|
-
[](https://www.npmjs.com/package/@auro-formkit/-formkit/-formkit/auro-dropdown)
|
|
45
|
-
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
46
|
-

|
|
42
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentInstall.md) -->
|
|
43
|
+
<!-- The below content is automatically added from ../../docs/templates/componentInstall.md -->
|
|
47
44
|
|
|
48
45
|
```shell
|
|
49
|
-
$ npm i @auro-formkit
|
|
46
|
+
$ npm i @aurodesignsystem/auro-formkit
|
|
50
47
|
```
|
|
51
|
-
|
|
52
|
-
Installing as a direct, dev or peer dependency is up to the user installing the package. If you are unsure as to what type of dependency you should use, consider reading this [stack overflow](https://stackoverflow.com/questions/18875674/whats-the-difference-between-dependencies-devdependencies-and-peerdependencies) answer.
|
|
53
|
-
|
|
54
48
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
55
49
|
|
|
56
50
|
### Design Token CSS Custom Property dependency
|
|
@@ -63,17 +57,18 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
63
57
|
### Define dependency in project component
|
|
64
58
|
|
|
65
59
|
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/componentImportDescription.md) -->
|
|
66
|
-
Defining the component dependency within each component that is using the
|
|
60
|
+
Defining the component dependency within each component that is using the `<auro-dropdown>` component.
|
|
67
61
|
|
|
68
62
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
69
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
63
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentUsage.md) -->
|
|
64
|
+
<!-- The below content is automatically added from ../../docs/templates/componentUsage.md -->
|
|
70
65
|
|
|
71
66
|
```js
|
|
72
|
-
import "@auro-formkit
|
|
67
|
+
import "@aurodesignsystem/auro-formkit/auro-dropdown";
|
|
73
68
|
```
|
|
74
|
-
|
|
75
69
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
76
70
|
**Reference component in HTML**
|
|
71
|
+
|
|
77
72
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
|
|
78
73
|
<!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
|
|
79
74
|
|
|
@@ -90,7 +85,7 @@ import "@auro-formkit/-formkit/-formkit/auro-dropdown";
|
|
|
90
85
|
## Install bundled assets from CDN
|
|
91
86
|
|
|
92
87
|
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/bundleInstallDescription.md) -->
|
|
93
|
-
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. See --
|
|
88
|
+
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. See -- `auro-dropdown__bundled.js` for modern browsers. Legacy browsers such as IE11 are no longer supported.
|
|
94
89
|
|
|
95
90
|
**WARNING!** When installing into your application environment, DO NOT use `@latest` for the requested version. Risks include unknown MAJOR version releases and instant adoption of any new features and possible bugs without developer knowledge. The `@latest` wildcard should NEVER be used for production customer-facing applications. You have been warned.
|
|
96
91
|
|
|
@@ -98,17 +93,14 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
98
93
|
|
|
99
94
|
### Bundle example code
|
|
100
95
|
|
|
101
|
-
<!-- AURO-GENERATED-CONTENT:START (
|
|
102
|
-
|
|
103
|
-
```html
|
|
96
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../../docs/templates/componentBundleUseModBrowsers.md) -->
|
|
97
|
+
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
104
98
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.9.2/dist/tokens/CSSCustomProperties.css" />
|
|
105
99
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
106
|
-
<script src="https://cdn.jsdelivr.net/npm/@auro-formkit
|
|
107
|
-
```
|
|
108
|
-
|
|
100
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.5/dist/auro-dropdown__bundled.js" type="module"></script>
|
|
109
101
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
102
|
|
|
111
|
-
## auro-
|
|
103
|
+
## auro-dropdown use cases
|
|
112
104
|
|
|
113
105
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
|
|
114
106
|
<!-- The below content is automatically added from ./docs/partials/useCases.md -->
|
|
@@ -121,7 +113,7 @@ The `auro-dropdown` element should be used in situations where users may:
|
|
|
121
113
|
|
|
122
114
|
## API Code Examples
|
|
123
115
|
|
|
124
|
-
### Default auro-
|
|
116
|
+
### Default auro-dropdown
|
|
125
117
|
|
|
126
118
|
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./apiExamples/basic.html) -->
|
|
127
119
|
<!-- The below code snippet is automatically added from ./apiExamples/basic.html -->
|
|
@@ -176,7 +168,7 @@ The custom element API file is generated in the build and committed back to the
|
|
|
176
168
|
### Testing
|
|
177
169
|
|
|
178
170
|
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/development/testing.md) -->
|
|
179
|
-
Automated tests are required for every Auro component. See `.\test
|
|
171
|
+
Automated tests are required for every Auro component. See `.\test\auro-dropdown.test.js` for the tests for this component. Run `npm test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.
|
|
180
172
|
|
|
181
173
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
182
174
|
|
|
@@ -28,33 +28,33 @@ function inDialogExample() {
|
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const t$2=globalThis,i$5=t$2.trustedTypes,s$2=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):
|
|
31
|
+
const t$2=globalThis,i$5=t$2.trustedTypes,s$2=i$5?i$5.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$4="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o$4="?"+h$1,n$3=`<${o$4}>`,r$3=document,l$2=()=>r$3.createComment(""),c$2=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$2=Array.isArray,u$2=t=>a$2(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f$1=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y$1=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y$1(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$3.createTreeWalker(r$3,129);function P(t,i){if(!a$2(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$2?s$2.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$1;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$1?"!--"===u[1]?c=v:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):undefined!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f$1,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m:'"'===u[3]?g:p$1):c===g||c===p$1?c=m:c===v||c===_?c=f$1:(c=m,r=undefined);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f$1?s+n$3:d>=0?(o.push(a),s.slice(0,d)+e$4+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$4)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$5?i$5.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$2()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$2());}}}else if(8===r.nodeType)if(r.data===o$4)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$3.createElement("template");return s.innerHTML=t,s}}function S$1(t,i,s=t,e){if(i===T)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$2(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$1(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$3).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$3,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$1(this,t,i),c$2(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$2(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c$2(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$3.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return undefined===i&&A.set(t.strings,i=new N(t)),i}k(t){a$2(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$2()),this.O(l$2()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$1(this,t,i,0),o=!c$2(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$1(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c$2(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?undefined:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$1(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$1(this,t);}}const j=t$2.litHtmlPolyfillSupport;j?.(N,R),(t$2.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l$2(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2020 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
37
|
*/
|
|
38
|
-
const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$1=t=>({_$litStatic$:t,r:a$1}),i$4=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(
|
|
38
|
+
const a$1=Symbol.for(""),o$3=t=>{if(t?.r===a$1)return t?._$litStatic$},s$1=t=>({_$litStatic$:t,r:a$1}),i$4=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$1}),l$1=new Map,n$2=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$3(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$1.get(t))&&(n.raw=n,l$1.set(t,r=n)),e=u;}return t(r,...e)},u$1=n$2(x);
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* @license
|
|
42
42
|
* Copyright 2019 Google LLC
|
|
43
43
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
44
44
|
*/
|
|
45
|
-
const t$1=globalThis,e$3=t$1.ShadowRoot&&(
|
|
45
|
+
const t$1=globalThis,e$3=t$1.ShadowRoot&&(undefined===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$2=new WeakMap;let n$1 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$3&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$2=t=>new n$1("string"==typeof t?t:t+"",undefined,s),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$1(o,t,s)},S=(s,o)=>{if(e$3)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/const{is:i$2,defineProperty:e$2,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o$1,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i$2(t,s),y={attribute
|
|
51
|
+
*/const{is:i$2,defineProperty:e$2,getOwnPropertyDescriptor:r$1,getOwnPropertyNames:h,getOwnPropertySymbols:o$1,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i$2(t,s),y={attribute:true,type:String,converter:u,reflect:false,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$2(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...h(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1(s));}else undefined!==s&&i.push(c$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d("elementProperties")]=new Map,b[d("finalized")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push("2.0.4");
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* @license
|
|
55
55
|
* Copyright 2017 Google LLC
|
|
56
56
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=
|
|
57
|
+
*/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$1=globalThis.litElementPolyfillSupport;i$1?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
58
58
|
|
|
59
59
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
60
60
|
// See LICENSE in the project root for license information.
|
|
@@ -174,7 +174,7 @@ function getAlignmentAxis(placement) {
|
|
|
174
174
|
return getOppositeAxis(getSideAxis(placement));
|
|
175
175
|
}
|
|
176
176
|
function getAlignmentSides(placement, rects, rtl) {
|
|
177
|
-
if (rtl ===
|
|
177
|
+
if (rtl === undefined) {
|
|
178
178
|
rtl = false;
|
|
179
179
|
}
|
|
180
180
|
const alignment = getAlignment(placement);
|
|
@@ -331,7 +331,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
331
331
|
platform
|
|
332
332
|
} = config;
|
|
333
333
|
const validMiddleware = middleware.filter(Boolean);
|
|
334
|
-
const rtl = await (platform.isRTL == null ?
|
|
334
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(floating));
|
|
335
335
|
let rects = await platform.getElementRects({
|
|
336
336
|
reference,
|
|
337
337
|
floating,
|
|
@@ -417,7 +417,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
417
417
|
*/
|
|
418
418
|
async function detectOverflow(state, options) {
|
|
419
419
|
var _await$platform$isEle;
|
|
420
|
-
if (options ===
|
|
420
|
+
if (options === undefined) {
|
|
421
421
|
options = {};
|
|
422
422
|
}
|
|
423
423
|
const {
|
|
@@ -439,7 +439,7 @@ async function detectOverflow(state, options) {
|
|
|
439
439
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
440
440
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
441
441
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
442
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ?
|
|
442
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? undefined : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? undefined : platform.getDocumentElement(elements.floating))),
|
|
443
443
|
boundary,
|
|
444
444
|
rootBoundary,
|
|
445
445
|
strategy
|
|
@@ -450,8 +450,8 @@ async function detectOverflow(state, options) {
|
|
|
450
450
|
width: rects.floating.width,
|
|
451
451
|
height: rects.floating.height
|
|
452
452
|
} : rects.reference;
|
|
453
|
-
const offsetParent = await (platform.getOffsetParent == null ?
|
|
454
|
-
const offsetScale = (await (platform.isElement == null ?
|
|
453
|
+
const offsetParent = await (platform.getOffsetParent == null ? undefined : platform.getOffsetParent(elements.floating));
|
|
454
|
+
const offsetScale = (await (platform.isElement == null ? undefined : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? undefined : platform.getScale(offsetParent))) || {
|
|
455
455
|
x: 1,
|
|
456
456
|
y: 1
|
|
457
457
|
} : {
|
|
@@ -488,7 +488,7 @@ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
|
488
488
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
489
489
|
*/
|
|
490
490
|
const autoPlacement$1 = function (options) {
|
|
491
|
-
if (options ===
|
|
491
|
+
if (options === undefined) {
|
|
492
492
|
options = {};
|
|
493
493
|
}
|
|
494
494
|
return {
|
|
@@ -512,12 +512,12 @@ const autoPlacement$1 = function (options) {
|
|
|
512
512
|
} = evaluate(options, state);
|
|
513
513
|
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
514
514
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
515
|
-
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ?
|
|
515
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP.index) || 0;
|
|
516
516
|
const currentPlacement = placements$1[currentIndex];
|
|
517
517
|
if (currentPlacement == null) {
|
|
518
518
|
return {};
|
|
519
519
|
}
|
|
520
|
-
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ?
|
|
520
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating)));
|
|
521
521
|
|
|
522
522
|
// Make `computeCoords` start from the right place.
|
|
523
523
|
if (placement !== currentPlacement) {
|
|
@@ -528,7 +528,7 @@ const autoPlacement$1 = function (options) {
|
|
|
528
528
|
};
|
|
529
529
|
}
|
|
530
530
|
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
531
|
-
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ?
|
|
531
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? undefined : _middlewareData$autoP2.overflows) || []), {
|
|
532
532
|
placement: currentPlacement,
|
|
533
533
|
overflows: currentOverflows
|
|
534
534
|
}];
|
|
@@ -558,7 +558,7 @@ const autoPlacement$1 = function (options) {
|
|
|
558
558
|
// Aligned placements should not check their opposite crossAxis
|
|
559
559
|
// side.
|
|
560
560
|
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
561
|
-
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ?
|
|
561
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? undefined : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
562
562
|
if (resetPlacement !== placement) {
|
|
563
563
|
return {
|
|
564
564
|
data: {
|
|
@@ -582,7 +582,7 @@ const autoPlacement$1 = function (options) {
|
|
|
582
582
|
* @see https://floating-ui.com/docs/flip
|
|
583
583
|
*/
|
|
584
584
|
const flip$1 = function (options) {
|
|
585
|
-
if (options ===
|
|
585
|
+
if (options === undefined) {
|
|
586
586
|
options = {};
|
|
587
587
|
}
|
|
588
588
|
return {
|
|
@@ -618,7 +618,7 @@ const flip$1 = function (options) {
|
|
|
618
618
|
const side = getSide(placement);
|
|
619
619
|
const initialSideAxis = getSideAxis(initialPlacement);
|
|
620
620
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
621
|
-
const rtl = await (platform.isRTL == null ?
|
|
621
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
622
622
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
623
623
|
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
|
624
624
|
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
@@ -627,7 +627,7 @@ const flip$1 = function (options) {
|
|
|
627
627
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
628
628
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
629
629
|
const overflows = [];
|
|
630
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ?
|
|
630
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? undefined : _middlewareData$flip.overflows) || [];
|
|
631
631
|
if (checkMainAxis) {
|
|
632
632
|
overflows.push(overflow[side]);
|
|
633
633
|
}
|
|
@@ -643,7 +643,7 @@ const flip$1 = function (options) {
|
|
|
643
643
|
// One or more sides is overflowing.
|
|
644
644
|
if (!overflows.every(side => side <= 0)) {
|
|
645
645
|
var _middlewareData$flip2, _overflowsData$filter;
|
|
646
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ?
|
|
646
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? undefined : _middlewareData$flip2.index) || 0) + 1;
|
|
647
647
|
const nextPlacement = placements[nextIndex];
|
|
648
648
|
if (nextPlacement) {
|
|
649
649
|
// Try next placement and re-run the lifecycle.
|
|
@@ -660,7 +660,7 @@ const flip$1 = function (options) {
|
|
|
660
660
|
|
|
661
661
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
662
662
|
// then find the placement that fits the best on the main crossAxis side.
|
|
663
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ?
|
|
663
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? undefined : _overflowsData$filter.placement;
|
|
664
664
|
|
|
665
665
|
// Otherwise fallback.
|
|
666
666
|
if (!resetPlacement) {
|
|
@@ -677,7 +677,7 @@ const flip$1 = function (options) {
|
|
|
677
677
|
currentSideAxis === 'y';
|
|
678
678
|
}
|
|
679
679
|
return true;
|
|
680
|
-
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ?
|
|
680
|
+
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? undefined : _overflowsData$filter2[0];
|
|
681
681
|
if (placement) {
|
|
682
682
|
resetPlacement = placement;
|
|
683
683
|
}
|
|
@@ -710,7 +710,7 @@ async function convertValueToCoords(state, options) {
|
|
|
710
710
|
platform,
|
|
711
711
|
elements
|
|
712
712
|
} = state;
|
|
713
|
-
const rtl = await (platform.isRTL == null ?
|
|
713
|
+
const rtl = await (platform.isRTL == null ? undefined : platform.isRTL(elements.floating));
|
|
714
714
|
const side = getSide(placement);
|
|
715
715
|
const alignment = getAlignment(placement);
|
|
716
716
|
const isVertical = getSideAxis(placement) === 'y';
|
|
@@ -752,7 +752,7 @@ async function convertValueToCoords(state, options) {
|
|
|
752
752
|
* @see https://floating-ui.com/docs/offset
|
|
753
753
|
*/
|
|
754
754
|
const offset$1 = function (options) {
|
|
755
|
-
if (options ===
|
|
755
|
+
if (options === undefined) {
|
|
756
756
|
options = 0;
|
|
757
757
|
}
|
|
758
758
|
return {
|
|
@@ -770,7 +770,7 @@ const offset$1 = function (options) {
|
|
|
770
770
|
|
|
771
771
|
// If the placement is the same and the arrow caused an alignment offset
|
|
772
772
|
// then we don't need to change the positioning coordinates.
|
|
773
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ?
|
|
773
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? undefined : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
774
774
|
return {};
|
|
775
775
|
}
|
|
776
776
|
return {
|
|
@@ -799,11 +799,11 @@ function getNodeName(node) {
|
|
|
799
799
|
}
|
|
800
800
|
function getWindow(node) {
|
|
801
801
|
var _node$ownerDocument;
|
|
802
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ?
|
|
802
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? undefined : _node$ownerDocument.defaultView) || window;
|
|
803
803
|
}
|
|
804
804
|
function getDocumentElement(node) {
|
|
805
805
|
var _ref;
|
|
806
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ?
|
|
806
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? undefined : _ref.documentElement;
|
|
807
807
|
}
|
|
808
808
|
function isNode(value) {
|
|
809
809
|
if (!hasWindow()) {
|
|
@@ -918,14 +918,14 @@ function getNearestOverflowAncestor(node) {
|
|
|
918
918
|
}
|
|
919
919
|
function getOverflowAncestors(node, list, traverseIframes) {
|
|
920
920
|
var _node$ownerDocument2;
|
|
921
|
-
if (list ===
|
|
921
|
+
if (list === undefined) {
|
|
922
922
|
list = [];
|
|
923
923
|
}
|
|
924
|
-
if (traverseIframes ===
|
|
924
|
+
if (traverseIframes === undefined) {
|
|
925
925
|
traverseIframes = true;
|
|
926
926
|
}
|
|
927
927
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
928
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ?
|
|
928
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? undefined : _node$ownerDocument2.body);
|
|
929
929
|
const win = getWindow(scrollableAncestor);
|
|
930
930
|
if (isBody) {
|
|
931
931
|
const frameElement = getFrameElement(win);
|
|
@@ -1002,7 +1002,7 @@ function getVisualOffsets(element) {
|
|
|
1002
1002
|
};
|
|
1003
1003
|
}
|
|
1004
1004
|
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1005
|
-
if (isFixed ===
|
|
1005
|
+
if (isFixed === undefined) {
|
|
1006
1006
|
isFixed = false;
|
|
1007
1007
|
}
|
|
1008
1008
|
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
@@ -1012,10 +1012,10 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
1014
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1015
|
-
if (includeScale ===
|
|
1015
|
+
if (includeScale === undefined) {
|
|
1016
1016
|
includeScale = false;
|
|
1017
1017
|
}
|
|
1018
|
-
if (isFixedStrategy ===
|
|
1018
|
+
if (isFixedStrategy === undefined) {
|
|
1019
1019
|
isFixedStrategy = false;
|
|
1020
1020
|
}
|
|
1021
1021
|
const clientRect = element.getBoundingClientRect();
|
|
@@ -1075,7 +1075,7 @@ function getWindowScrollBarX(element, rect) {
|
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
1077
|
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1078
|
-
if (ignoreScrollbarX ===
|
|
1078
|
+
if (ignoreScrollbarX === undefined) {
|
|
1079
1079
|
ignoreScrollbarX = false;
|
|
1080
1080
|
}
|
|
1081
1081
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
@@ -1425,10 +1425,10 @@ function observeMove(element, onMove) {
|
|
|
1425
1425
|
io = null;
|
|
1426
1426
|
}
|
|
1427
1427
|
function refresh(skip, threshold) {
|
|
1428
|
-
if (skip ===
|
|
1428
|
+
if (skip === undefined) {
|
|
1429
1429
|
skip = false;
|
|
1430
1430
|
}
|
|
1431
|
-
if (threshold ===
|
|
1431
|
+
if (threshold === undefined) {
|
|
1432
1432
|
threshold = 1;
|
|
1433
1433
|
}
|
|
1434
1434
|
cleanup();
|
|
@@ -1499,7 +1499,7 @@ function observeMove(element, onMove) {
|
|
|
1499
1499
|
* @see https://floating-ui.com/docs/autoUpdate
|
|
1500
1500
|
*/
|
|
1501
1501
|
function autoUpdate(reference, floating, update, options) {
|
|
1502
|
-
if (options ===
|
|
1502
|
+
if (options === undefined) {
|
|
1503
1503
|
options = {};
|
|
1504
1504
|
}
|
|
1505
1505
|
const {
|
|
@@ -1715,7 +1715,7 @@ class AuroFloatingUI {
|
|
|
1715
1715
|
// Compute the position of the bib
|
|
1716
1716
|
computePosition(this.element.trigger, this.element.bib, {
|
|
1717
1717
|
placement: this.element.floaterConfig.placement || 'bottom',
|
|
1718
|
-
middleware: middleware
|
|
1718
|
+
middleware: middleware
|
|
1719
1719
|
}).then(({x, y}) => { // eslint-disable-line id-length
|
|
1720
1720
|
Object.assign(this.element.bib.style, {
|
|
1721
1721
|
left: `${x}px`,
|
|
@@ -2059,7 +2059,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e
|
|
|
2059
2059
|
* @license
|
|
2060
2060
|
* Copyright 2018 Google LLC
|
|
2061
2061
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2062
|
-
*/const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(
|
|
2062
|
+
*/const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T}});
|
|
2063
2063
|
|
|
2064
2064
|
/**
|
|
2065
2065
|
* @license
|