@esri/calcite-components 1.0.0-next.520 → 1.0.0-next.521
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/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-01b638d1.entry.js +6 -0
- package/dist/calcite/{p-dd699884.entry.js → p-02a3583d.entry.js} +2 -2
- package/dist/calcite/{p-a081753e.entry.js → p-037f81e1.entry.js} +2 -2
- package/dist/calcite/{p-f633dc67.entry.js → p-05a4b9dd.entry.js} +2 -2
- package/dist/calcite/{p-2be5f5e4.system.entry.js → p-06332d21.system.entry.js} +2 -2
- package/dist/calcite/{p-d178a247.entry.js → p-0664c198.entry.js} +2 -2
- package/dist/calcite/p-08e28998.system.entry.js +6 -0
- package/dist/calcite/{p-7d329d08.js → p-08f334c1.js} +2 -2
- package/dist/calcite/{p-007035f4.system.entry.js → p-0c6874b0.system.entry.js} +2 -2
- package/dist/calcite/{p-3a9aaecf.js → p-0c8eb394.js} +1 -1
- package/dist/calcite/{p-6d2ba11e.entry.js → p-0d86e14f.entry.js} +2 -2
- package/dist/calcite/{p-f2bd3b8f.system.entry.js → p-0df3ffa0.system.entry.js} +2 -2
- package/dist/calcite/{p-d25efce4.entry.js → p-0e8275de.entry.js} +2 -2
- package/dist/calcite/{p-083b105d.js → p-0e88270b.js} +2 -2
- package/dist/calcite/{p-a1621fa7.entry.js → p-0f7446cb.entry.js} +2 -2
- package/dist/calcite/{p-06c14b86.system.entry.js → p-0ff0ca0b.system.entry.js} +3 -3
- package/dist/calcite/{p-534a7ca5.entry.js → p-10fe1682.entry.js} +2 -2
- package/dist/calcite/{p-f382a06e.entry.js → p-15a2f2b5.entry.js} +2 -2
- package/dist/calcite/{p-ad6accf2.js → p-1786fb93.js} +1 -1
- package/dist/calcite/{p-73f3b6cd.system.entry.js → p-18de0e0b.system.entry.js} +2 -2
- package/dist/calcite/{p-13fe270d.entry.js → p-18e94c9f.entry.js} +2 -2
- package/dist/calcite/{p-973fa781.entry.js → p-1934cb89.entry.js} +2 -2
- package/dist/calcite/p-196346bf.system.entry.js +6 -0
- package/dist/calcite/{p-9781070e.system.js → p-19f87399.system.js} +1 -1
- package/dist/calcite/{p-cdc700be.system.entry.js → p-1a7dcfc0.system.entry.js} +2 -2
- package/dist/calcite/{p-78274269.system.js → p-1c45719a.system.js} +1 -1
- package/dist/calcite/{p-8e1b9b65.js → p-1d7e2d4a.js} +1 -1
- package/dist/calcite/p-22d40d65.entry.js +6 -0
- package/dist/calcite/{p-8cadf826.system.js → p-22ffda43.system.js} +2 -2
- package/dist/calcite/{p-a64bd767.system.entry.js → p-25129b54.system.entry.js} +2 -2
- package/dist/calcite/{p-76b6b612.system.entry.js → p-28b4be8f.system.entry.js} +2 -2
- package/dist/calcite/{p-1f3485fd.js → p-2981a893.js} +2 -2
- package/dist/calcite/p-2b8e9cae.system.entry.js +6 -0
- package/dist/calcite/{p-0444a89a.js → p-2bceb3cc.js} +2 -2
- package/dist/calcite/{p-3b3d8fda.system.entry.js → p-302615c5.system.entry.js} +2 -2
- package/dist/calcite/{p-c2d033d5.system.js → p-3111a501.system.js} +1 -1
- package/dist/calcite/{p-aff0389a.system.js → p-37ae8843.system.js} +2 -2
- package/dist/calcite/p-3854aaa3.entry.js +6 -0
- package/dist/calcite/{p-f4742511.js → p-3ade5098.js} +1 -1
- package/dist/calcite/{p-74d1af1c.js → p-3bbfc3a1.js} +1 -1
- package/dist/calcite/{p-383c5cdf.system.entry.js → p-3c9fb8a0.system.entry.js} +3 -3
- package/dist/calcite/{p-29dbb7c3.system.entry.js → p-3ebebd84.system.entry.js} +3 -3
- package/dist/calcite/{p-14bc0533.entry.js → p-3ecd2c17.entry.js} +2 -2
- package/dist/calcite/{p-96b8ffc2.entry.js → p-3ecec156.entry.js} +2 -2
- package/dist/calcite/{p-4d71f62d.system.js → p-43e7a8f1.system.js} +3 -3
- package/dist/calcite/{p-213f3a0c.system.js → p-4565c114.system.js} +2 -2
- package/dist/calcite/{p-abaae4a0.entry.js → p-46c73e88.entry.js} +2 -2
- package/dist/calcite/{p-28292cd2.entry.js → p-477ca75f.entry.js} +2 -2
- package/dist/calcite/p-490d284a.entry.js +6 -0
- package/dist/calcite/{p-b3bf4e2b.js → p-4a08a094.js} +2 -2
- package/dist/calcite/{p-d601ac5d.entry.js → p-4d012e6d.entry.js} +2 -2
- package/dist/calcite/{p-937f4763.js → p-503ffd79.js} +1 -1
- package/dist/calcite/p-5321532e.entry.js +6 -0
- package/dist/calcite/{p-48b6f6f7.system.js → p-53cb1579.system.js} +1 -1
- package/dist/calcite/{p-917106dd.system.entry.js → p-54bc93ca.system.entry.js} +2 -2
- package/dist/calcite/{p-9ad3c3f4.system.entry.js → p-56fad8eb.system.entry.js} +2 -2
- package/dist/calcite/{p-9b239dcc.system.js → p-5956ae2b.system.js} +1 -1
- package/dist/calcite/{p-39d3e8e7.entry.js → p-597100a7.entry.js} +2 -2
- package/dist/calcite/{p-bb6ff111.system.entry.js → p-5a8d424e.system.entry.js} +2 -2
- package/dist/calcite/{p-98ac7b27.entry.js → p-5b152346.entry.js} +2 -2
- package/dist/calcite/{p-9a4b8d19.js → p-5b2d7828.js} +2 -2
- package/dist/calcite/{p-6b844ad2.system.entry.js → p-5bbaac2e.system.entry.js} +2 -2
- package/dist/calcite/{p-e4a3783d.system.entry.js → p-5c335596.system.entry.js} +2 -2
- package/dist/calcite/{p-75e8e02e.entry.js → p-5c81572b.entry.js} +2 -2
- package/dist/calcite/{p-4eee040b.system.entry.js → p-5d1ea183.system.entry.js} +2 -2
- package/dist/calcite/{p-d019cd3c.js → p-60224344.js} +1 -1
- package/dist/calcite/{p-8bf55d55.entry.js → p-616f05fa.entry.js} +2 -2
- package/dist/calcite/{p-a161f860.system.entry.js → p-62a0f380.system.entry.js} +2 -2
- package/dist/calcite/{p-73f440bb.entry.js → p-66240c05.entry.js} +2 -2
- package/dist/calcite/{p-16f227fc.system.entry.js → p-67f1f6b9.system.entry.js} +2 -2
- package/dist/calcite/{p-3191b270.entry.js → p-68605411.entry.js} +2 -2
- package/dist/calcite/{p-9398bb6c.js → p-68c538e6.js} +2 -2
- package/dist/calcite/{p-677f24bf.system.entry.js → p-709ffc8a.system.entry.js} +2 -2
- package/dist/calcite/{p-4668d36a.js → p-71a5a7b9.js} +1 -1
- package/dist/calcite/{p-9946dd96.system.js → p-74508b15.system.js} +1 -1
- package/dist/calcite/{p-0c58bda7.entry.js → p-7609b260.entry.js} +2 -2
- package/dist/calcite/{p-02362c11.entry.js → p-7779dcec.entry.js} +2 -2
- package/dist/calcite/{p-1920a94e.system.js → p-7b5c7678.system.js} +1 -1
- package/dist/calcite/{p-decb56ab.entry.js → p-7f80ef30.entry.js} +2 -2
- package/dist/calcite/{p-f9e32dc5.system.entry.js → p-803997da.system.entry.js} +2 -2
- package/dist/calcite/{p-f7fd201f.js → p-80dd019b.js} +1 -1
- package/dist/calcite/{p-6c2b78c1.system.entry.js → p-82894cb4.system.entry.js} +2 -2
- package/dist/calcite/{p-51586eee.system.entry.js → p-836254a6.system.entry.js} +2 -2
- package/dist/calcite/{p-a3507dfe.system.entry.js → p-8469c3f5.system.entry.js} +2 -2
- package/dist/calcite/{p-f6cbe0ab.system.js → p-8aafc60e.system.js} +2 -2
- package/dist/calcite/{p-aad4f6d0.entry.js → p-8ad36643.entry.js} +2 -2
- package/dist/calcite/{p-815189c6.system.js → p-8d193648.system.js} +1 -1
- package/dist/calcite/{p-73577e93.system.js → p-8e6d31eb.system.js} +1 -1
- package/dist/calcite/{p-e70390dc.system.entry.js → p-90bd223c.system.entry.js} +2 -2
- package/dist/calcite/{p-1ae60c44.entry.js → p-9109755c.entry.js} +2 -2
- package/dist/calcite/{p-b3a335d4.system.js → p-922cca1a.system.js} +2 -2
- package/dist/calcite/{p-59b0561b.system.entry.js → p-956aea00.system.entry.js} +2 -2
- package/dist/calcite/{p-e604ab6b.system.entry.js → p-9814a422.system.entry.js} +2 -2
- package/dist/calcite/{p-d05ce5f8.entry.js → p-98d13115.entry.js} +2 -2
- package/dist/calcite/{p-a3f5192b.entry.js → p-9a775e97.entry.js} +2 -2
- package/dist/calcite/{p-d208b406.system.js → p-9ed3942c.system.js} +2 -2
- package/dist/calcite/{p-5cd95bda.entry.js → p-a056927a.entry.js} +2 -2
- package/dist/calcite/{p-d4c5c673.entry.js → p-a186a81b.entry.js} +2 -2
- package/dist/calcite/{p-7b1075db.system.js → p-a56d7998.system.js} +2 -2
- package/dist/calcite/{p-dc40dde4.system.entry.js → p-a6339811.system.entry.js} +2 -2
- package/dist/calcite/{p-c4972e72.system.entry.js → p-a63dc521.system.entry.js} +2 -2
- package/dist/calcite/{p-d78d8570.system.entry.js → p-a799c49f.system.entry.js} +2 -2
- package/dist/calcite/{p-6fa4fd93.entry.js → p-a7a4705c.entry.js} +2 -2
- package/dist/calcite/{p-13088d74.system.entry.js → p-a7ae0c54.system.entry.js} +2 -2
- package/dist/calcite/p-aa04303b.system.js +6 -0
- package/dist/calcite/{p-f8c872a2.system.js → p-ab08ad49.system.js} +2 -2
- package/dist/calcite/{p-ca265c09.system.js → p-ab5101d8.system.js} +1 -1
- package/dist/calcite/{p-0e23ec86.system.js → p-adcd9271.system.js} +1 -1
- package/dist/calcite/{p-eef651a2.system.entry.js → p-b2f3fc3d.system.entry.js} +2 -2
- package/dist/calcite/{p-7e57e47c.system.entry.js → p-b2f5c885.system.entry.js} +2 -2
- package/dist/calcite/{p-a9945df6.entry.js → p-b64ac51f.entry.js} +2 -2
- package/dist/calcite/{p-b659cdbb.entry.js → p-b72717bd.entry.js} +2 -2
- package/dist/calcite/{p-9b38c931.entry.js → p-b80bbe57.entry.js} +2 -2
- package/dist/calcite/{p-72977808.system.entry.js → p-b905df83.system.entry.js} +2 -2
- package/dist/calcite/p-b9ba2995.system.js +6 -0
- package/dist/calcite/{p-fce697b5.entry.js → p-ba1931db.entry.js} +2 -2
- package/dist/calcite/{p-9da42c36.js → p-bc269b24.js} +2 -2
- package/dist/calcite/{p-772f4a3f.system.entry.js → p-bcbe7ce6.system.entry.js} +2 -2
- package/dist/calcite/{p-adf0ece2.system.entry.js → p-bd5694e0.system.entry.js} +2 -2
- package/dist/calcite/{p-e6f77179.js → p-be33578d.js} +2 -2
- package/dist/calcite/{p-e8b7db23.js → p-bee3c541.js} +1 -1
- package/dist/calcite/{p-ffbb4b30.system.entry.js → p-c57bfa50.system.entry.js} +2 -2
- package/dist/calcite/{p-ee37ffbc.system.entry.js → p-c74ae0e9.system.entry.js} +2 -2
- package/dist/calcite/{p-7fd5a8a3.js → p-c7e7cc3f.js} +1 -1
- package/dist/calcite/{p-c8a0343c.system.entry.js → p-c9878d39.system.entry.js} +2 -2
- package/dist/calcite/{p-75a33e5a.system.entry.js → p-c9962a82.system.entry.js} +2 -2
- package/dist/calcite/{p-2758b523.entry.js → p-ca13fa8e.entry.js} +2 -2
- package/dist/calcite/p-cc236a7d.js +6 -0
- package/dist/calcite/{p-6fb2dac3.js → p-ce350a0c.js} +2 -2
- package/dist/calcite/{p-6dfca84e.entry.js → p-ce9659f4.entry.js} +2 -2
- package/dist/calcite/{p-b8d25736.entry.js → p-cea960cf.entry.js} +2 -2
- package/dist/calcite/{p-85ea5712.system.entry.js → p-d418b98e.system.entry.js} +2 -2
- package/dist/calcite/{p-7157eb29.system.js → p-d44c6b32.system.js} +1 -1
- package/dist/calcite/{p-78f47358.system.entry.js → p-d461e15b.system.entry.js} +2 -2
- package/dist/calcite/{p-0a3ac5b7.entry.js → p-d4a4f33e.entry.js} +2 -2
- package/dist/calcite/{p-14ea0159.system.js → p-d6299c4e.system.js} +2 -2
- package/dist/calcite/{p-da3ed14f.system.js → p-d7a237ba.system.js} +1 -1
- package/dist/calcite/{p-1fcf4389.js → p-d8bf5b29.js} +1 -1
- package/dist/calcite/{p-d3130f3f.entry.js → p-d9d2294a.entry.js} +2 -2
- package/dist/calcite/{p-c2deb2ce.system.entry.js → p-d9e6af1c.system.entry.js} +2 -2
- package/dist/calcite/{p-09e283e8.system.entry.js → p-dc5fb654.system.entry.js} +2 -2
- package/dist/calcite/{p-2df6116d.entry.js → p-dd9f25da.entry.js} +2 -2
- package/dist/calcite/{p-f2cbad46.system.entry.js → p-df8177da.system.entry.js} +2 -2
- package/dist/calcite/{p-7842b132.entry.js → p-e029f7a3.entry.js} +2 -2
- package/dist/calcite/{p-5f40009c.entry.js → p-e0edddf8.entry.js} +2 -2
- package/dist/calcite/{p-f4b079fd.entry.js → p-e72532a8.entry.js} +2 -2
- package/dist/calcite/{p-c2f18e0d.entry.js → p-e99806ce.entry.js} +2 -2
- package/dist/calcite/{p-7add7125.entry.js → p-ea37aa52.entry.js} +2 -2
- package/dist/calcite/{p-abca805d.system.entry.js → p-ec3ac306.system.entry.js} +2 -2
- package/dist/calcite/{p-dbae690a.system.entry.js → p-ed2772f3.system.entry.js} +2 -2
- package/dist/calcite/{p-1a04dc2a.entry.js → p-eef3c9fd.entry.js} +2 -2
- package/dist/calcite/{p-8277926c.entry.js → p-ef10300b.entry.js} +2 -2
- package/dist/calcite/{p-82e2b61e.js → p-f0f828f4.js} +1 -1
- package/dist/calcite/{p-43413fbc.system.entry.js → p-f105b00b.system.entry.js} +2 -2
- package/dist/calcite/{p-368f2f77.system.entry.js → p-f18df807.system.entry.js} +2 -2
- package/dist/calcite/{p-58661475.system.entry.js → p-f2efb50c.system.entry.js} +2 -2
- package/dist/calcite/{p-1ab88ba3.system.entry.js → p-f463e742.system.entry.js} +2 -2
- package/dist/calcite/{p-3340e3fb.entry.js → p-f4a4e6fd.entry.js} +2 -2
- package/dist/calcite/{p-cafdc1c6.system.entry.js → p-f5fcb884.system.entry.js} +2 -2
- package/dist/calcite/{p-5ff3fb7e.entry.js → p-f6032fac.entry.js} +2 -2
- package/dist/calcite/{p-e17c874d.system.entry.js → p-f8360ef0.system.entry.js} +2 -2
- package/dist/calcite/{p-795b0aa3.system.entry.js → p-fa49f87b.system.entry.js} +2 -2
- package/dist/calcite/p-fb4d2cca.entry.js +6 -0
- package/dist/calcite/{p-ff6b1162.system.js → p-fc76a97f.system.js} +1 -1
- package/dist/cjs/{ExpandToggle-99f3781c.js → ExpandToggle-8aaaf12b.js} +5 -5
- package/dist/cjs/{Heading-4337cacd.js → Heading-5f2ed366.js} +2 -2
- package/dist/cjs/{array-2b95adc7.js → array-332f1ad8.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +17 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +54 -33
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +37 -21
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +25 -16
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-a86a0d93.js → conditionalSlot-345c638f.js} +3 -3
- package/dist/cjs/{debounce-d2b703d9.js → debounce-cff73118.js} +1 -1
- package/dist/cjs/{dom-276aaf99.js → dom-006119f9.js} +2 -2
- package/dist/cjs/{forIn-89a77d46.js → forIn-63725cb3.js} +2 -2
- package/dist/cjs/{form-90809048.js → form-4aa36914.js} +3 -3
- package/dist/cjs/{guid-05de8683.js → guid-7ac09c7c.js} +1 -1
- package/dist/cjs/{index-92b04246.js → index-345bd03e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-8f9c108d.js → interactive-4c089305.js} +1 -1
- package/dist/cjs/{interfaces-1432ba48.js → interfaces-ed5629c9.js} +1 -1
- package/dist/cjs/{key-14b78e13.js → key-ad47ec79.js} +1 -1
- package/dist/cjs/{label-b7e1da52.js → label-cbd2fca0.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-30f27f51.js → locale-a7606dce.js} +2 -2
- package/dist/cjs/{math-c4db1901.js → math-cb0eba16.js} +1 -1
- package/dist/cjs/{observers-46d26c87.js → observers-e7215a23.js} +1 -1
- package/dist/cjs/{popper-56aa0819.js → popper-a6799f73.js} +2 -2
- package/dist/cjs/{resources-f9d89ecd.js → resources-3dfb6262.js} +1 -1
- package/dist/cjs/{resources-7afa5ac3.js → resources-e4f2b649.js} +1 -1
- package/dist/cjs/{resources-5906f91a.js → resources-e78d08e9.js} +5 -5
- package/dist/cjs/{resources-d9fd225b.js → resources-ec4ddd5b.js} +3 -3
- package/dist/cjs/{sortable.esm-d2f57c8a.js → sortable.esm-75596196.js} +1 -1
- package/dist/cjs/{utils-d09ab03a.js → utils-cd5ed41f.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +18 -9
- package/dist/collection/components/accordion-item/accordion-item.js +35 -5
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +69 -25
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +55 -16
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +10 -5
- package/dist/collection/components/modal/modal.js +44 -12
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +15 -5
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +44 -22
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +21 -11
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +32 -15
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +109 -54
- package/dist/esm/{ExpandToggle-d4acd022.js → ExpandToggle-f015017d.js} +5 -5
- package/dist/esm/{Heading-252785eb.js → Heading-d8e9c4d0.js} +2 -2
- package/dist/esm/{array-bded6ddd.js → array-cc249c07.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +17 -8
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +54 -33
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +37 -21
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +25 -16
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-8a611e76.js → conditionalSlot-251f048d.js} +3 -3
- package/dist/esm/{debounce-17713200.js → debounce-671be4ab.js} +1 -1
- package/dist/esm/{dom-3bc3e6f2.js → dom-1d25d90d.js} +2 -2
- package/dist/esm/{forIn-3302954f.js → forIn-61b8f555.js} +2 -2
- package/dist/esm/{form-cb292ed6.js → form-9231bd75.js} +3 -3
- package/dist/esm/{guid-5aa84743.js → guid-681ada01.js} +1 -1
- package/dist/esm/{index-3ec30bad.js → index-3d4e33c9.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-21921578.js → interactive-206f3e33.js} +1 -1
- package/dist/esm/{interfaces-3c2efb02.js → interfaces-1e8297e0.js} +1 -1
- package/dist/esm/{key-02ae0e60.js → key-aaa7a17a.js} +1 -1
- package/dist/esm/{label-3a519eed.js → label-78ef6888.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-1e310e6f.js → locale-ddc99d54.js} +2 -2
- package/dist/esm/{math-9da1254c.js → math-6704b0cd.js} +1 -1
- package/dist/esm/{observers-f302dd59.js → observers-f4b26851.js} +1 -1
- package/dist/esm/{popper-00afea1c.js → popper-0f8ca820.js} +2 -2
- package/dist/esm/{resources-3f5a19f3.js → resources-8bc22c30.js} +1 -1
- package/dist/esm/{resources-790145ca.js → resources-9cd6c136.js} +3 -3
- package/dist/esm/{resources-2eb35342.js → resources-c23513d4.js} +5 -5
- package/dist/esm/{resources-21dc5137.js → resources-f108bb2c.js} +1 -1
- package/dist/esm/{sortable.esm-86b33659.js → sortable.esm-b5154dfc.js} +1 -1
- package/dist/esm/{utils-3bf99050.js → utils-29143248.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-d4acd022.js → ExpandToggle-f015017d.js} +2 -2
- package/dist/esm-es5/Heading-d8e9c4d0.js +6 -0
- package/dist/esm-es5/{array-bded6ddd.js → array-cc249c07.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-8a611e76.js → conditionalSlot-251f048d.js} +2 -2
- package/dist/esm-es5/{debounce-17713200.js → debounce-671be4ab.js} +1 -1
- package/dist/esm-es5/{dom-3bc3e6f2.js → dom-1d25d90d.js} +2 -2
- package/dist/esm-es5/{forIn-3302954f.js → forIn-61b8f555.js} +2 -2
- package/dist/esm-es5/{form-cb292ed6.js → form-9231bd75.js} +2 -2
- package/dist/esm-es5/{guid-5aa84743.js → guid-681ada01.js} +1 -1
- package/dist/esm-es5/{index-3ec30bad.js → index-3d4e33c9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-21921578.js → interactive-206f3e33.js} +1 -1
- package/dist/esm-es5/{interfaces-3c2efb02.js → interfaces-1e8297e0.js} +1 -1
- package/dist/esm-es5/{key-02ae0e60.js → key-aaa7a17a.js} +1 -1
- package/dist/esm-es5/{label-3a519eed.js → label-78ef6888.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-1e310e6f.js → locale-ddc99d54.js} +2 -2
- package/dist/esm-es5/{math-9da1254c.js → math-6704b0cd.js} +1 -1
- package/dist/esm-es5/{observers-f302dd59.js → observers-f4b26851.js} +1 -1
- package/dist/esm-es5/{popper-00afea1c.js → popper-0f8ca820.js} +2 -2
- package/dist/esm-es5/{resources-3f5a19f3.js → resources-8bc22c30.js} +1 -1
- package/dist/esm-es5/{resources-790145ca.js → resources-9cd6c136.js} +2 -2
- package/dist/esm-es5/{resources-2eb35342.js → resources-c23513d4.js} +2 -2
- package/dist/esm-es5/{resources-21dc5137.js → resources-f108bb2c.js} +1 -1
- package/dist/esm-es5/{sortable.esm-86b33659.js → sortable.esm-b5154dfc.js} +1 -1
- package/dist/esm-es5/{utils-3bf99050.js → utils-29143248.js} +1 -1
- package/dist/extras/docs-json.json +100 -8
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion-item/accordion-item.d.ts +7 -1
- package/dist/types/components/combobox/combobox.d.ts +7 -1
- package/dist/types/components/dropdown/dropdown.d.ts +7 -1
- package/dist/types/components/modal/modal.d.ts +9 -3
- package/dist/types/components.d.ts +46 -6
- package/hydrate/index.js +113 -54
- package/package.json +1 -1
- package/dist/calcite/p-024eb16b.system.entry.js +0 -6
- package/dist/calcite/p-10f66af0.entry.js +0 -6
- package/dist/calcite/p-138c88a6.system.entry.js +0 -6
- package/dist/calcite/p-23441fd3.system.entry.js +0 -6
- package/dist/calcite/p-298f8c90.system.js +0 -6
- package/dist/calcite/p-428d25b3.entry.js +0 -6
- package/dist/calcite/p-a1d2b979.entry.js +0 -6
- package/dist/calcite/p-d6b6d5a1.entry.js +0 -6
- package/dist/calcite/p-e8e9da27.entry.js +0 -6
- package/dist/calcite/p-ef130fda.js +0 -6
- package/dist/calcite/p-ef2be757.entry.js +0 -6
- package/dist/calcite/p-f388b1ee.system.js +0 -6
- package/dist/esm-es5/Heading-252785eb.js +0 -6
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-
|
|
8
|
-
import { i as isArray, f as forIn } from './forIn-
|
|
9
|
-
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-
|
|
10
|
-
import { g as guid } from './guid-
|
|
11
|
-
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-
|
|
12
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
13
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
14
|
-
import { c as createObserver } from './observers-
|
|
15
|
-
import { u as updateHostInteraction } from './interactive-
|
|
16
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-671be4ab.js';
|
|
8
|
+
import { i as isArray, f as forIn } from './forIn-61b8f555.js';
|
|
9
|
+
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-0f8ca820.js';
|
|
10
|
+
import { g as guid } from './guid-681ada01.js';
|
|
11
|
+
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-1d25d90d.js';
|
|
12
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-78ef6888.js';
|
|
13
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-9231bd75.js';
|
|
14
|
+
import { c as createObserver } from './observers-f4b26851.js';
|
|
15
|
+
import { u as updateHostInteraction } from './interactive-206f3e33.js';
|
|
16
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-251f048d.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -207,8 +207,14 @@ const Combobox = class {
|
|
|
207
207
|
// Public Properties
|
|
208
208
|
//
|
|
209
209
|
//--------------------------------------------------------------------------
|
|
210
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* When true, opens the combobox
|
|
212
|
+
*
|
|
213
|
+
* @deprecated use open instead
|
|
214
|
+
*/
|
|
211
215
|
this.active = false;
|
|
216
|
+
/**When true, opens the combobox */
|
|
217
|
+
this.open = false;
|
|
212
218
|
/** Disable combobox input */
|
|
213
219
|
this.disabled = false;
|
|
214
220
|
/** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
|
|
@@ -282,8 +288,9 @@ const Combobox = class {
|
|
|
282
288
|
this.addCustomChip(this.text, true);
|
|
283
289
|
event.preventDefault();
|
|
284
290
|
}
|
|
285
|
-
else if (this.active) {
|
|
291
|
+
else if (this.open || this.active) {
|
|
286
292
|
this.active = false;
|
|
293
|
+
this.open = false;
|
|
287
294
|
event.preventDefault();
|
|
288
295
|
}
|
|
289
296
|
break;
|
|
@@ -300,9 +307,10 @@ const Combobox = class {
|
|
|
300
307
|
}
|
|
301
308
|
break;
|
|
302
309
|
case "ArrowDown":
|
|
303
|
-
if (!this.active) {
|
|
310
|
+
if (!(this.open || this.active)) {
|
|
304
311
|
event.preventDefault();
|
|
305
312
|
this.active = true;
|
|
313
|
+
this.open = true;
|
|
306
314
|
}
|
|
307
315
|
this.shiftActiveItemIndex(1);
|
|
308
316
|
if (!this.comboboxInViewport()) {
|
|
@@ -313,11 +321,12 @@ const Combobox = class {
|
|
|
313
321
|
if (!this.textInput.value) {
|
|
314
322
|
event.preventDefault();
|
|
315
323
|
this.active = true;
|
|
324
|
+
this.open = true;
|
|
316
325
|
this.shiftActiveItemIndex(1);
|
|
317
326
|
}
|
|
318
327
|
break;
|
|
319
328
|
case "Home":
|
|
320
|
-
if (this.active) {
|
|
329
|
+
if (this.open || this.active) {
|
|
321
330
|
event.preventDefault();
|
|
322
331
|
}
|
|
323
332
|
this.updateActiveItemIndex(0);
|
|
@@ -327,7 +336,7 @@ const Combobox = class {
|
|
|
327
336
|
}
|
|
328
337
|
break;
|
|
329
338
|
case "End":
|
|
330
|
-
if (this.active) {
|
|
339
|
+
if (this.open || this.active) {
|
|
331
340
|
event.preventDefault();
|
|
332
341
|
}
|
|
333
342
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
@@ -338,6 +347,7 @@ const Combobox = class {
|
|
|
338
347
|
break;
|
|
339
348
|
case "Escape":
|
|
340
349
|
this.active = false;
|
|
350
|
+
this.open = false;
|
|
341
351
|
break;
|
|
342
352
|
case "Enter":
|
|
343
353
|
if (this.activeItemIndex > -1) {
|
|
@@ -366,15 +376,17 @@ const Combobox = class {
|
|
|
366
376
|
};
|
|
367
377
|
this.toggleCloseEnd = () => {
|
|
368
378
|
this.active = false;
|
|
379
|
+
this.open = false;
|
|
369
380
|
this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
|
370
381
|
};
|
|
371
382
|
this.toggleOpenEnd = () => {
|
|
372
383
|
this.active = true;
|
|
384
|
+
this.open = false;
|
|
373
385
|
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
|
374
386
|
};
|
|
375
387
|
this.transitionEnd = (event) => {
|
|
376
388
|
if (event.propertyName === this.activeTransitionProp) {
|
|
377
|
-
this.active ? this.onOpen() : this.onClose();
|
|
389
|
+
this.open || this.active ? this.onOpen() : this.onClose();
|
|
378
390
|
}
|
|
379
391
|
};
|
|
380
392
|
/* *
|
|
@@ -383,12 +395,13 @@ const Combobox = class {
|
|
|
383
395
|
*/
|
|
384
396
|
this.transitionRunHandler = (event) => {
|
|
385
397
|
if (event.propertyName === this.activeTransitionProp) {
|
|
386
|
-
this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
398
|
+
this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
387
399
|
}
|
|
388
400
|
};
|
|
389
401
|
this.setMaxScrollerHeight = async () => {
|
|
390
|
-
const { active, listContainerEl } = this;
|
|
391
|
-
|
|
402
|
+
const { active, listContainerEl, open } = this;
|
|
403
|
+
const isOpen = !(active || open);
|
|
404
|
+
if (!listContainerEl || isOpen) {
|
|
392
405
|
return;
|
|
393
406
|
}
|
|
394
407
|
await this.reposition();
|
|
@@ -398,6 +411,7 @@ const Combobox = class {
|
|
|
398
411
|
};
|
|
399
412
|
this.calciteChipDismissHandler = (event, comboboxItem) => {
|
|
400
413
|
this.active = false;
|
|
414
|
+
this.open = false;
|
|
401
415
|
const selection = this.items.find((item) => item === comboboxItem);
|
|
402
416
|
if (selection) {
|
|
403
417
|
this.toggleSelection(selection, false);
|
|
@@ -409,12 +423,14 @@ const Combobox = class {
|
|
|
409
423
|
return;
|
|
410
424
|
}
|
|
411
425
|
this.active = !this.active;
|
|
426
|
+
this.open = !this.open;
|
|
412
427
|
this.updateActiveItemIndex(0);
|
|
413
428
|
this.setFocus();
|
|
414
429
|
};
|
|
415
430
|
this.setInactiveIfNotContained = (event) => {
|
|
416
431
|
const composedPath = event.composedPath();
|
|
417
|
-
|
|
432
|
+
const isOpen = !(this.open || this.active);
|
|
433
|
+
if (isOpen || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
418
434
|
return;
|
|
419
435
|
}
|
|
420
436
|
if (this.allowCustomValues && this.text.trim().length) {
|
|
@@ -429,6 +445,7 @@ const Combobox = class {
|
|
|
429
445
|
this.updateActiveItemIndex(-1);
|
|
430
446
|
}
|
|
431
447
|
this.active = false;
|
|
448
|
+
this.open = false;
|
|
432
449
|
};
|
|
433
450
|
this.setMenuEl = (el) => {
|
|
434
451
|
this.menuEl = el;
|
|
@@ -520,6 +537,7 @@ const Combobox = class {
|
|
|
520
537
|
activeHandler() {
|
|
521
538
|
if (this.disabled) {
|
|
522
539
|
this.active = false;
|
|
540
|
+
this.open = false;
|
|
523
541
|
return;
|
|
524
542
|
}
|
|
525
543
|
this.setMaxScrollerHeight();
|
|
@@ -527,6 +545,7 @@ const Combobox = class {
|
|
|
527
545
|
handleDisabledChange(value) {
|
|
528
546
|
if (!value) {
|
|
529
547
|
this.active = false;
|
|
548
|
+
this.open = false;
|
|
530
549
|
}
|
|
531
550
|
}
|
|
532
551
|
maxItemsHandler() {
|
|
@@ -670,7 +689,7 @@ const Combobox = class {
|
|
|
670
689
|
};
|
|
671
690
|
const eventListenerModifier = {
|
|
672
691
|
name: "eventListeners",
|
|
673
|
-
enabled: this.active
|
|
692
|
+
enabled: this.open || this.active
|
|
674
693
|
};
|
|
675
694
|
return [flipModifier, eventListenerModifier];
|
|
676
695
|
}
|
|
@@ -748,6 +767,7 @@ const Combobox = class {
|
|
|
748
767
|
this.textInput.value = item.textLabel;
|
|
749
768
|
}
|
|
750
769
|
this.active = false;
|
|
770
|
+
this.open = false;
|
|
751
771
|
this.updateActiveItemIndex(-1);
|
|
752
772
|
this.resetText();
|
|
753
773
|
this.filterItems("");
|
|
@@ -930,10 +950,10 @@ const Combobox = class {
|
|
|
930
950
|
});
|
|
931
951
|
}
|
|
932
952
|
renderInput() {
|
|
933
|
-
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
|
|
953
|
+
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems, open } = this;
|
|
934
954
|
const single = selectionMode === "single";
|
|
935
955
|
const selectedItem = selectedItems[0];
|
|
936
|
-
const showLabel = !active && single && !!selectedItem;
|
|
956
|
+
const showLabel = !(open || active) && single && !!selectedItem;
|
|
937
957
|
return (h("span", { class: {
|
|
938
958
|
"input-wrap": true,
|
|
939
959
|
"input-wrap--single": single
|
|
@@ -952,13 +972,13 @@ const Combobox = class {
|
|
|
952
972
|
return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
953
973
|
}
|
|
954
974
|
renderPopperContainer() {
|
|
955
|
-
const { active, setMenuEl, setListContainerEl } = this;
|
|
975
|
+
const { active, setMenuEl, setListContainerEl, open } = this;
|
|
956
976
|
const classes = {
|
|
957
977
|
"list-container": true,
|
|
958
978
|
[CSS$2.animation]: true,
|
|
959
|
-
[CSS$2.animationActive]: active
|
|
979
|
+
[CSS$2.animationActive]: open || active
|
|
960
980
|
};
|
|
961
|
-
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !active } }, h("slot", null)))));
|
|
981
|
+
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open || active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !(open || active) } }, h("slot", null)))));
|
|
962
982
|
}
|
|
963
983
|
renderIconStart() {
|
|
964
984
|
var _a;
|
|
@@ -969,21 +989,22 @@ const Combobox = class {
|
|
|
969
989
|
((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) || placeholderIcon) && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", icon: (_a = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) !== null && _a !== void 0 ? _a : placeholderIcon, scale: "s" }))));
|
|
970
990
|
}
|
|
971
991
|
renderIconEnd() {
|
|
972
|
-
const { active } = this;
|
|
973
|
-
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
992
|
+
const { active, open } = this;
|
|
993
|
+
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active || open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
974
994
|
}
|
|
975
995
|
render() {
|
|
976
|
-
const { active, guid, label } = this;
|
|
996
|
+
const { active, guid, label, open } = this;
|
|
977
997
|
const single = this.selectionMode === "single";
|
|
978
|
-
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
998
|
+
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(open || active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
979
999
|
wrapper: true,
|
|
980
1000
|
"wrapper--single": single || !this.selectedItems.length,
|
|
981
|
-
"wrapper--active": active
|
|
1001
|
+
"wrapper--active": open || active
|
|
982
1002
|
}, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
|
|
983
1003
|
}
|
|
984
1004
|
get el() { return getElement(this); }
|
|
985
1005
|
static get watchers() { return {
|
|
986
1006
|
"active": ["activeHandler"],
|
|
1007
|
+
"open": ["activeHandler"],
|
|
987
1008
|
"disabled": ["handleDisabledChange"],
|
|
988
1009
|
"maxItems": ["maxItemsHandler"],
|
|
989
1010
|
"value": ["valueHandler"],
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, e as getOrder, n as nextMonth, f as prevMonth, l as localizeNumber, h as parseNumber } from './resources-
|
|
8
|
-
import { a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { H as Heading } from './Heading-
|
|
11
|
-
import './locale-
|
|
12
|
-
import './key-
|
|
13
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-3d4e33c9.js';
|
|
7
|
+
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, e as getOrder, n as nextMonth, f as prevMonth, l as localizeNumber, h as parseNumber } from './resources-9cd6c136.js';
|
|
8
|
+
import { a as getElementDir, C as CSS_UTILITY } from './dom-1d25d90d.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-206f3e33.js';
|
|
10
|
+
import { H as Heading } from './Heading-d8e9c4d0.js';
|
|
11
|
+
import './locale-ddc99d54.js';
|
|
12
|
+
import './key-aaa7a17a.js';
|
|
13
|
+
import './guid-681ada01.js';
|
|
14
14
|
|
|
15
15
|
const datePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";
|
|
16
16
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { t as toAriaBoolean, f as focusElement, d as getElementProp } from './dom-
|
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, C as CSS$2, u as updatePopper, c as createPopper, p as popperMenuComputedPlacements } from './popper-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { t as toAriaBoolean, f as focusElement, d as getElementProp } from './dom-1d25d90d.js';
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, C as CSS$2, u as updatePopper, c as createPopper, p as popperMenuComputedPlacements } from './popper-0f8ca820.js';
|
|
9
|
+
import { c as createObserver } from './observers-f4b26851.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-206f3e33.js';
|
|
11
|
+
import './guid-681ada01.js';
|
|
12
12
|
|
|
13
13
|
const SLOTS = {
|
|
14
14
|
dropdownTrigger: "dropdown-trigger"
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
|
|
17
|
+
const dropdownCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper,:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
|
|
18
18
|
|
|
19
19
|
const Dropdown = class {
|
|
20
20
|
constructor(hostRef) {
|
|
@@ -29,8 +29,14 @@ const Dropdown = class {
|
|
|
29
29
|
// Public Properties
|
|
30
30
|
//
|
|
31
31
|
//--------------------------------------------------------------------------
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Opens or closes the dropdown
|
|
34
|
+
*
|
|
35
|
+
* @deprecated use open instead.
|
|
36
|
+
*/
|
|
33
37
|
this.active = false;
|
|
38
|
+
/** When true, opens the dropdown */
|
|
39
|
+
this.open = false;
|
|
34
40
|
/**
|
|
35
41
|
allow the dropdown to remain open after a selection is made
|
|
36
42
|
if the selection-mode of the selected item's containing group is "none", the dropdown will always close
|
|
@@ -117,8 +123,9 @@ const Dropdown = class {
|
|
|
117
123
|
scrollerEl.style.minWidth = `${referenceElWidth}px`;
|
|
118
124
|
};
|
|
119
125
|
this.setMaxScrollerHeight = () => {
|
|
120
|
-
const { active, scrollerEl } = this;
|
|
121
|
-
|
|
126
|
+
const { active, scrollerEl, open } = this;
|
|
127
|
+
const isOpen = !(active || open);
|
|
128
|
+
if (!scrollerEl || isOpen) {
|
|
122
129
|
return;
|
|
123
130
|
}
|
|
124
131
|
this.reposition();
|
|
@@ -133,12 +140,14 @@ const Dropdown = class {
|
|
|
133
140
|
};
|
|
134
141
|
this.transitionEnd = (event) => {
|
|
135
142
|
if (event.propertyName === this.activeTransitionProp) {
|
|
136
|
-
this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
|
|
143
|
+
this.open || this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
|
|
137
144
|
}
|
|
138
145
|
};
|
|
139
146
|
this.transitionRunHandler = (event) => {
|
|
140
147
|
if (event.propertyName === this.activeTransitionProp) {
|
|
141
|
-
this.active
|
|
148
|
+
this.active || this.open
|
|
149
|
+
? this.emitOpenCloseEvent("beforeOpen")
|
|
150
|
+
: this.emitOpenCloseEvent("beforeClose");
|
|
142
151
|
}
|
|
143
152
|
};
|
|
144
153
|
this.setReferenceEl = (el) => {
|
|
@@ -154,7 +163,7 @@ const Dropdown = class {
|
|
|
154
163
|
return;
|
|
155
164
|
}
|
|
156
165
|
const key = e.key;
|
|
157
|
-
if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
166
|
+
if ((this.open || this.active) && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
158
167
|
this.closeCalciteDropdown();
|
|
159
168
|
return;
|
|
160
169
|
}
|
|
@@ -177,7 +186,8 @@ const Dropdown = class {
|
|
|
177
186
|
};
|
|
178
187
|
this.openCalciteDropdown = () => {
|
|
179
188
|
this.active = !this.active;
|
|
180
|
-
|
|
189
|
+
this.open = !this.open;
|
|
190
|
+
if (this.active || this.open) {
|
|
181
191
|
this.el.addEventListener("calciteDropdownOpen", this.toggleOpenEnd);
|
|
182
192
|
}
|
|
183
193
|
};
|
|
@@ -188,10 +198,12 @@ const Dropdown = class {
|
|
|
188
198
|
return;
|
|
189
199
|
}
|
|
190
200
|
this.active = false;
|
|
201
|
+
this.open = false;
|
|
191
202
|
}
|
|
192
203
|
handleDisabledChange(value) {
|
|
193
204
|
if (!value) {
|
|
194
205
|
this.active = false;
|
|
206
|
+
this.open = false;
|
|
195
207
|
}
|
|
196
208
|
}
|
|
197
209
|
flipPlacementsHandler() {
|
|
@@ -230,12 +242,12 @@ const Dropdown = class {
|
|
|
230
242
|
}
|
|
231
243
|
}
|
|
232
244
|
render() {
|
|
233
|
-
const { active } = this;
|
|
234
|
-
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active), "aria-haspopup": "true", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!active), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
|
|
245
|
+
const { active, open } = this;
|
|
246
|
+
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "true", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
|
|
235
247
|
["calcite-dropdown-content"]: true,
|
|
236
248
|
[CSS$2.animation]: true,
|
|
237
|
-
[CSS$2.animationActive]: active
|
|
238
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !
|
|
249
|
+
[CSS$2.animationActive]: active || open
|
|
250
|
+
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !(open || active) }, h("slot", { onSlotchange: this.updateGroups }))))));
|
|
239
251
|
}
|
|
240
252
|
//--------------------------------------------------------------------------
|
|
241
253
|
//
|
|
@@ -256,7 +268,8 @@ const Dropdown = class {
|
|
|
256
268
|
: this.createPopper();
|
|
257
269
|
}
|
|
258
270
|
closeCalciteDropdownOnClick(e) {
|
|
259
|
-
|
|
271
|
+
const isOpen = !(this.open || this.active);
|
|
272
|
+
if (isOpen || e.composedPath().includes(this.el)) {
|
|
260
273
|
return;
|
|
261
274
|
}
|
|
262
275
|
this.closeCalciteDropdown(false);
|
|
@@ -270,6 +283,7 @@ const Dropdown = class {
|
|
|
270
283
|
return;
|
|
271
284
|
}
|
|
272
285
|
this.active = false;
|
|
286
|
+
this.open = false;
|
|
273
287
|
}
|
|
274
288
|
mouseEnterHandler() {
|
|
275
289
|
if (this.type === "hover") {
|
|
@@ -351,7 +365,7 @@ const Dropdown = class {
|
|
|
351
365
|
};
|
|
352
366
|
const eventListenerModifier = {
|
|
353
367
|
name: "eventListeners",
|
|
354
|
-
enabled: this.active
|
|
368
|
+
enabled: this.open || this.active
|
|
355
369
|
};
|
|
356
370
|
return [flipModifier, eventListenerModifier];
|
|
357
371
|
}
|
|
@@ -402,6 +416,7 @@ const Dropdown = class {
|
|
|
402
416
|
}
|
|
403
417
|
closeCalciteDropdown(focusTrigger = true) {
|
|
404
418
|
this.active = false;
|
|
419
|
+
this.open = false;
|
|
405
420
|
if (focusTrigger) {
|
|
406
421
|
focusElement(this.triggers[0]);
|
|
407
422
|
}
|
|
@@ -439,6 +454,7 @@ const Dropdown = class {
|
|
|
439
454
|
get el() { return getElement(this); }
|
|
440
455
|
static get watchers() { return {
|
|
441
456
|
"active": ["activeHandler"],
|
|
457
|
+
"open": ["activeHandler"],
|
|
442
458
|
"disabled": ["handleDisabledChange"],
|
|
443
459
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
444
460
|
"maxItems": ["maxItemsHandler"],
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { f as focusElement } from './dom-1d25d90d.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-206f3e33.js';
|
|
9
|
+
import './guid-681ada01.js';
|
|
10
10
|
|
|
11
11
|
const CSS = {
|
|
12
12
|
button: "button"
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import { d as debounce } from './debounce-
|
|
10
|
-
import { f as forIn } from './forIn-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { f as focusElement } from './dom-1d25d90d.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-206f3e33.js';
|
|
9
|
+
import { d as debounce } from './debounce-671be4ab.js';
|
|
10
|
+
import { f as forIn } from './forIn-61b8f555.js';
|
|
11
|
+
import './guid-681ada01.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
container: "container",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { c as createObserver } from './observers-f4b26851.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
10
10
|
frame: "frame",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, f as forceUpdate, h, g as getElement, c as createEvent, H as Host } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { c as createObserver } from './observers-
|
|
9
|
-
import { h as intersects } from './dom-
|
|
10
|
-
import { d as decimalPlaces, c as clamp } from './math-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel } from './label-
|
|
12
|
-
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-
|
|
13
|
-
import { u as updateHostInteraction } from './interactive-
|
|
6
|
+
import { r as registerInstance, f as forceUpdate, h, g as getElement, c as createEvent, H as Host } from './index-3d4e33c9.js';
|
|
7
|
+
import { g as guid } from './guid-681ada01.js';
|
|
8
|
+
import { c as createObserver } from './observers-f4b26851.js';
|
|
9
|
+
import { h as intersects } from './dom-1d25d90d.js';
|
|
10
|
+
import { d as decimalPlaces, c as clamp } from './math-6704b0cd.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel } from './label-78ef6888.js';
|
|
12
|
+
import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-9231bd75.js';
|
|
13
|
+
import { u as updateHostInteraction } from './interactive-206f3e33.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Calculate slope of the tangents
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { t as toAriaBoolean } from './dom-
|
|
8
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { t as toAriaBoolean } from './dom-1d25d90d.js';
|
|
8
|
+
import './guid-681ada01.js';
|
|
9
9
|
|
|
10
10
|
const CSS = {
|
|
11
11
|
handle: "handle",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { a as getElementDir, t as toAriaBoolean } from './dom-
|
|
8
|
-
import { c as createObserver } from './observers-
|
|
9
|
-
import './guid-
|
|
6
|
+
import { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { a as getElementDir, t as toAriaBoolean } from './dom-1d25d90d.js';
|
|
8
|
+
import { c as createObserver } from './observers-f4b26851.js';
|
|
9
|
+
import './guid-681ada01.js';
|
|
10
10
|
|
|
11
11
|
const CSS = {
|
|
12
12
|
icon: "icon",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.521
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { d as getElementProp, g as getSlotted } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-3d4e33c9.js';
|
|
7
|
+
import { d as getElementProp, g as getSlotted } from './dom-1d25d90d.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-78ef6888.js';
|
|
9
|
+
import { c as createObserver } from './observers-f4b26851.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-206f3e33.js';
|
|
11
|
+
import './guid-681ada01.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
wrapper: "wrapper",
|