@esri/calcite-components 1.0.0-next.519 → 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.css +1 -1
- 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-f51ad078.entry.js → p-02a3583d.entry.js} +2 -2
- package/dist/calcite/{p-7a620018.entry.js → p-037f81e1.entry.js} +2 -2
- package/dist/calcite/{p-2a2ab38e.entry.js → p-05a4b9dd.entry.js} +2 -2
- package/dist/calcite/{p-5a186cc4.system.entry.js → p-06332d21.system.entry.js} +2 -2
- package/dist/calcite/{p-f9ffe552.entry.js → p-0664c198.entry.js} +2 -2
- package/dist/calcite/p-08e28998.system.entry.js +6 -0
- package/dist/calcite/{p-f2b60079.js → p-08f334c1.js} +2 -2
- package/dist/calcite/{p-a6ad8cf1.system.entry.js → p-0c6874b0.system.entry.js} +2 -2
- package/dist/calcite/{p-09a29635.js → p-0c8eb394.js} +1 -1
- package/dist/calcite/{p-26d50186.entry.js → p-0d86e14f.entry.js} +2 -2
- package/dist/calcite/{p-a10f8e3a.system.entry.js → p-0df3ffa0.system.entry.js} +2 -2
- package/dist/calcite/{p-906175f7.entry.js → p-0e8275de.entry.js} +2 -2
- package/dist/calcite/{p-7ceb3745.js → p-0e88270b.js} +2 -2
- package/dist/calcite/{p-07e9999d.entry.js → p-0f7446cb.entry.js} +2 -2
- package/dist/calcite/{p-0723212a.system.entry.js → p-0ff0ca0b.system.entry.js} +2 -2
- package/dist/calcite/{p-6fdd6c41.entry.js → p-10fe1682.entry.js} +2 -2
- package/dist/calcite/p-15a2f2b5.entry.js +6 -0
- package/dist/calcite/{p-5eef1490.js → p-1786fb93.js} +1 -1
- package/dist/calcite/{p-35fc8b6d.system.entry.js → p-18de0e0b.system.entry.js} +2 -2
- package/dist/calcite/{p-685e27e5.entry.js → p-18e94c9f.entry.js} +2 -2
- package/dist/calcite/{p-b83117e6.entry.js → p-1934cb89.entry.js} +2 -2
- package/dist/calcite/p-196346bf.system.entry.js +6 -0
- package/dist/calcite/{p-0091b5c5.system.js → p-19f87399.system.js} +1 -1
- package/dist/calcite/{p-ca1395f2.system.entry.js → p-1a7dcfc0.system.entry.js} +2 -2
- package/dist/calcite/{p-dcc15111.system.js → p-1c45719a.system.js} +1 -1
- package/dist/calcite/{p-87bea8ac.js → p-1d7e2d4a.js} +1 -1
- package/dist/calcite/p-22d40d65.entry.js +6 -0
- package/dist/calcite/{p-99ef36e8.system.js → p-22ffda43.system.js} +2 -2
- package/dist/calcite/{p-ddb9cd89.system.entry.js → p-25129b54.system.entry.js} +2 -2
- package/dist/calcite/{p-9f31b6b6.system.entry.js → p-28b4be8f.system.entry.js} +2 -2
- package/dist/calcite/{p-5d81499a.js → p-2981a893.js} +2 -2
- package/dist/calcite/p-2b8e9cae.system.entry.js +6 -0
- package/dist/calcite/{p-474b0782.js → p-2bceb3cc.js} +2 -2
- package/dist/calcite/{p-26089116.system.entry.js → p-302615c5.system.entry.js} +2 -2
- package/dist/calcite/{p-c7fa1924.system.js → p-3111a501.system.js} +1 -1
- package/dist/calcite/{p-0b23068d.system.js → p-37ae8843.system.js} +2 -2
- package/dist/calcite/{p-ebb490fd.entry.js → p-3854aaa3.entry.js} +2 -2
- package/dist/calcite/{p-504fdccb.js → p-3ade5098.js} +1 -1
- package/dist/calcite/{p-09ecd7fb.js → p-3bbfc3a1.js} +1 -1
- package/dist/calcite/{p-238178a6.system.entry.js → p-3c9fb8a0.system.entry.js} +2 -2
- package/dist/calcite/{p-ea213b92.system.entry.js → p-3ebebd84.system.entry.js} +2 -2
- package/dist/calcite/{p-fddb6d35.entry.js → p-3ecd2c17.entry.js} +2 -2
- package/dist/calcite/{p-4fbf5d4c.entry.js → p-3ecec156.entry.js} +2 -2
- package/dist/calcite/{p-42a46d48.system.js → p-43e7a8f1.system.js} +3 -3
- package/dist/calcite/{p-4f679aad.system.js → p-4565c114.system.js} +2 -2
- package/dist/calcite/{p-ec27599a.entry.js → p-46c73e88.entry.js} +2 -2
- package/dist/calcite/{p-d71a6389.entry.js → p-477ca75f.entry.js} +2 -2
- package/dist/calcite/p-490d284a.entry.js +6 -0
- package/dist/calcite/{p-86fefd33.js → p-4a08a094.js} +2 -2
- package/dist/calcite/{p-1a004f9f.entry.js → p-4d012e6d.entry.js} +2 -2
- package/dist/calcite/{p-7cc5e4de.js → p-503ffd79.js} +1 -1
- package/dist/calcite/p-5321532e.entry.js +6 -0
- package/dist/calcite/{p-86f09fa7.system.js → p-53cb1579.system.js} +1 -1
- package/dist/calcite/{p-e1eea524.system.entry.js → p-54bc93ca.system.entry.js} +2 -2
- package/dist/calcite/{p-08149b94.system.entry.js → p-56fad8eb.system.entry.js} +2 -2
- package/dist/calcite/{p-8bd09449.system.js → p-5956ae2b.system.js} +1 -1
- package/dist/calcite/{p-45b61d41.entry.js → p-597100a7.entry.js} +2 -2
- package/dist/calcite/{p-b75b9840.system.entry.js → p-5a8d424e.system.entry.js} +2 -2
- package/dist/calcite/{p-85419f32.entry.js → p-5b152346.entry.js} +2 -2
- package/dist/calcite/{p-2881b928.js → p-5b2d7828.js} +2 -2
- package/dist/calcite/{p-f5763663.system.entry.js → p-5bbaac2e.system.entry.js} +2 -2
- package/dist/calcite/{p-aa4162e2.system.entry.js → p-5c335596.system.entry.js} +2 -2
- package/dist/calcite/{p-dd869c6a.entry.js → p-5c81572b.entry.js} +2 -2
- package/dist/calcite/{p-c79e56fc.system.entry.js → p-5d1ea183.system.entry.js} +2 -2
- package/dist/calcite/{p-23092943.js → p-60224344.js} +1 -1
- package/dist/calcite/{p-43ae2537.entry.js → p-616f05fa.entry.js} +2 -2
- package/dist/calcite/{p-99ae68c8.system.entry.js → p-62a0f380.system.entry.js} +2 -2
- package/dist/calcite/{p-68f356e6.entry.js → p-66240c05.entry.js} +2 -2
- package/dist/calcite/{p-e66a86ee.system.entry.js → p-67f1f6b9.system.entry.js} +2 -2
- package/dist/calcite/{p-9e87daca.entry.js → p-68605411.entry.js} +2 -2
- package/dist/calcite/{p-55c22c0e.js → p-68c538e6.js} +2 -2
- package/dist/calcite/{p-df17983c.system.entry.js → p-709ffc8a.system.entry.js} +2 -2
- package/dist/calcite/{p-03aa2156.js → p-71a5a7b9.js} +1 -1
- package/dist/calcite/{p-7e4972a5.system.js → p-74508b15.system.js} +1 -1
- package/dist/calcite/{p-b0629fb6.entry.js → p-7609b260.entry.js} +2 -2
- package/dist/calcite/{p-c861729b.entry.js → p-7779dcec.entry.js} +2 -2
- package/dist/calcite/{p-9a33179e.system.js → p-7b5c7678.system.js} +1 -1
- package/dist/calcite/{p-9728c32f.entry.js → p-7f80ef30.entry.js} +2 -2
- package/dist/calcite/{p-e26f5c04.system.entry.js → p-803997da.system.entry.js} +2 -2
- package/dist/calcite/{p-f307e6ad.js → p-80dd019b.js} +1 -1
- package/dist/calcite/{p-805540d5.system.entry.js → p-82894cb4.system.entry.js} +2 -2
- package/dist/calcite/{p-a47f34ac.system.entry.js → p-836254a6.system.entry.js} +2 -2
- package/dist/calcite/{p-8f159278.system.entry.js → p-8469c3f5.system.entry.js} +2 -2
- package/dist/calcite/{p-2c968fec.system.js → p-8aafc60e.system.js} +2 -2
- package/dist/calcite/{p-e308a47b.entry.js → p-8ad36643.entry.js} +2 -2
- package/dist/calcite/{p-92ec9447.system.js → p-8d193648.system.js} +1 -1
- package/dist/calcite/{p-93dd6f44.system.js → p-8e6d31eb.system.js} +1 -1
- package/dist/calcite/{p-1e90bddb.system.entry.js → p-90bd223c.system.entry.js} +2 -2
- package/dist/calcite/{p-9d1db56d.entry.js → p-9109755c.entry.js} +2 -2
- package/dist/calcite/{p-74c5b3e6.system.js → p-922cca1a.system.js} +2 -2
- package/dist/calcite/{p-b924456a.system.entry.js → p-956aea00.system.entry.js} +2 -2
- package/dist/calcite/{p-c3dd776b.system.entry.js → p-9814a422.system.entry.js} +2 -2
- package/dist/calcite/{p-3a7bf5d8.entry.js → p-98d13115.entry.js} +2 -2
- package/dist/calcite/{p-2d8d9716.entry.js → p-9a775e97.entry.js} +2 -2
- package/dist/calcite/{p-15e8cb6a.system.js → p-9ed3942c.system.js} +2 -2
- package/dist/calcite/{p-e346a217.entry.js → p-a056927a.entry.js} +2 -2
- package/dist/calcite/{p-40df87d8.entry.js → p-a186a81b.entry.js} +2 -2
- package/dist/calcite/{p-226c27f6.system.js → p-a56d7998.system.js} +2 -2
- package/dist/calcite/{p-3cf68d3b.system.entry.js → p-a6339811.system.entry.js} +2 -2
- package/dist/calcite/{p-fe0e0ab6.system.entry.js → p-a63dc521.system.entry.js} +2 -2
- package/dist/calcite/{p-cced096d.system.entry.js → p-a799c49f.system.entry.js} +2 -2
- package/dist/calcite/{p-1bc517fb.entry.js → p-a7a4705c.entry.js} +2 -2
- package/dist/calcite/{p-432fe288.system.entry.js → p-a7ae0c54.system.entry.js} +2 -2
- package/dist/calcite/{p-6f0a468e.system.js → p-aa04303b.system.js} +2 -2
- package/dist/calcite/{p-b9cc79ce.system.js → p-ab08ad49.system.js} +2 -2
- package/dist/calcite/{p-3326ae60.system.js → p-ab5101d8.system.js} +1 -1
- package/dist/calcite/{p-fdc4e698.system.js → p-adcd9271.system.js} +1 -1
- package/dist/calcite/{p-799883f1.system.entry.js → p-b2f3fc3d.system.entry.js} +2 -2
- package/dist/calcite/{p-c6435adf.system.entry.js → p-b2f5c885.system.entry.js} +2 -2
- package/dist/calcite/{p-59aadc1c.entry.js → p-b64ac51f.entry.js} +2 -2
- package/dist/calcite/{p-c10b91f3.entry.js → p-b72717bd.entry.js} +2 -2
- package/dist/calcite/{p-332ae63b.entry.js → p-b80bbe57.entry.js} +2 -2
- package/dist/calcite/{p-99e6746a.system.entry.js → p-b905df83.system.entry.js} +2 -2
- package/dist/calcite/p-b9ba2995.system.js +6 -0
- package/dist/calcite/{p-f516cb6c.entry.js → p-ba1931db.entry.js} +2 -2
- package/dist/calcite/{p-be30007b.js → p-bc269b24.js} +2 -2
- package/dist/calcite/{p-d049b038.system.entry.js → p-bcbe7ce6.system.entry.js} +2 -2
- package/dist/calcite/{p-b6df6cb0.system.entry.js → p-bd5694e0.system.entry.js} +2 -2
- package/dist/calcite/{p-fe636dc7.js → p-be33578d.js} +2 -2
- package/dist/calcite/{p-f6662765.js → p-bee3c541.js} +1 -1
- package/dist/calcite/{p-534fb34e.system.entry.js → p-c57bfa50.system.entry.js} +2 -2
- package/dist/calcite/{p-b347fd14.system.entry.js → p-c74ae0e9.system.entry.js} +2 -2
- package/dist/calcite/{p-42759bb3.js → p-c7e7cc3f.js} +1 -1
- package/dist/calcite/{p-0850c86e.system.entry.js → p-c9878d39.system.entry.js} +2 -2
- package/dist/calcite/{p-76c1e8d6.system.entry.js → p-c9962a82.system.entry.js} +2 -2
- package/dist/calcite/{p-c3f5834e.entry.js → p-ca13fa8e.entry.js} +2 -2
- package/dist/calcite/p-cc236a7d.js +6 -0
- package/dist/calcite/p-ce350a0c.js +6 -0
- package/dist/calcite/{p-114de801.entry.js → p-ce9659f4.entry.js} +2 -2
- package/dist/calcite/{p-db708677.entry.js → p-cea960cf.entry.js} +2 -2
- package/dist/calcite/{p-9a6ddaf4.system.entry.js → p-d418b98e.system.entry.js} +2 -2
- package/dist/calcite/{p-3c90254d.system.js → p-d44c6b32.system.js} +1 -1
- package/dist/calcite/{p-f8fd9bf9.system.entry.js → p-d461e15b.system.entry.js} +2 -2
- package/dist/calcite/{p-72798679.entry.js → p-d4a4f33e.entry.js} +2 -2
- package/dist/calcite/{p-4df47a15.system.js → p-d6299c4e.system.js} +2 -2
- package/dist/calcite/{p-6020161d.system.js → p-d7a237ba.system.js} +1 -1
- package/dist/calcite/{p-b868fd63.js → p-d8bf5b29.js} +1 -1
- package/dist/calcite/{p-546f6650.entry.js → p-d9d2294a.entry.js} +2 -2
- package/dist/calcite/{p-4aec9b21.system.entry.js → p-d9e6af1c.system.entry.js} +2 -2
- package/dist/calcite/{p-b895307a.system.entry.js → p-dc5fb654.system.entry.js} +2 -2
- package/dist/calcite/{p-691c5cb2.entry.js → p-dd9f25da.entry.js} +2 -2
- package/dist/calcite/{p-60a5b722.system.entry.js → p-df8177da.system.entry.js} +2 -2
- package/dist/calcite/{p-4c7bc581.entry.js → p-e029f7a3.entry.js} +2 -2
- package/dist/calcite/p-e0edddf8.entry.js +6 -0
- package/dist/calcite/{p-eac66f74.entry.js → p-e72532a8.entry.js} +2 -2
- package/dist/calcite/{p-c95966f1.entry.js → p-e99806ce.entry.js} +2 -2
- package/dist/calcite/{p-041c0013.entry.js → p-ea37aa52.entry.js} +2 -2
- package/dist/calcite/{p-77b54732.system.entry.js → p-ec3ac306.system.entry.js} +2 -2
- package/dist/calcite/{p-83318d8e.system.entry.js → p-ed2772f3.system.entry.js} +2 -2
- package/dist/calcite/{p-37766af7.entry.js → p-eef3c9fd.entry.js} +2 -2
- package/dist/calcite/{p-d07bab46.entry.js → p-ef10300b.entry.js} +2 -2
- package/dist/calcite/{p-3c1d8106.js → p-f0f828f4.js} +1 -1
- package/dist/calcite/{p-96474516.system.entry.js → p-f105b00b.system.entry.js} +2 -2
- package/dist/calcite/{p-f8e06931.system.entry.js → p-f18df807.system.entry.js} +2 -2
- package/dist/calcite/{p-58242945.system.entry.js → p-f2efb50c.system.entry.js} +2 -2
- package/dist/calcite/{p-d70497d2.system.entry.js → p-f463e742.system.entry.js} +2 -2
- package/dist/calcite/{p-c4078601.entry.js → p-f4a4e6fd.entry.js} +2 -2
- package/dist/calcite/{p-22cf3837.system.entry.js → p-f5fcb884.system.entry.js} +2 -2
- package/dist/calcite/{p-68f92688.entry.js → p-f6032fac.entry.js} +2 -2
- package/dist/calcite/{p-08615b84.system.entry.js → p-f8360ef0.system.entry.js} +2 -2
- package/dist/calcite/{p-28d0772c.system.entry.js → p-fa49f87b.system.entry.js} +2 -2
- package/dist/calcite/{p-cb69bd7d.entry.js → p-fb4d2cca.entry.js} +2 -2
- package/dist/calcite/{p-b271359f.system.js → p-fc76a97f.system.js} +1 -1
- package/dist/cjs/{ExpandToggle-f6091e86.js → ExpandToggle-8aaaf12b.js} +5 -5
- package/dist/cjs/{Heading-439d0305.js → Heading-5f2ed366.js} +2 -2
- package/dist/cjs/{array-183e4ddb.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 +10 -7
- 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-39cb45e0.js → conditionalSlot-345c638f.js} +3 -3
- package/dist/cjs/{debounce-e2fa6e5f.js → debounce-cff73118.js} +1 -1
- package/dist/cjs/{dom-c942dac0.js → dom-006119f9.js} +2 -2
- package/dist/cjs/{forIn-987d0822.js → forIn-63725cb3.js} +2 -2
- package/dist/cjs/{form-6838f210.js → form-4aa36914.js} +3 -3
- package/dist/cjs/{guid-45cdc289.js → guid-7ac09c7c.js} +1 -1
- package/dist/cjs/{index-70f8d366.js → index-345bd03e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3ed10fb1.js → interactive-4c089305.js} +1 -1
- package/dist/cjs/{interfaces-5ca7718b.js → interfaces-ed5629c9.js} +1 -1
- package/dist/cjs/{key-84224200.js → key-ad47ec79.js} +1 -1
- package/dist/cjs/{label-176be1a1.js → label-cbd2fca0.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-195b8060.js → locale-a7606dce.js} +2 -2
- package/dist/cjs/{math-5b43870a.js → math-cb0eba16.js} +1 -1
- package/dist/cjs/{observers-f4aa0ec8.js → observers-e7215a23.js} +1 -1
- package/dist/cjs/{popper-b8cc03bf.js → popper-a6799f73.js} +2 -2
- package/dist/cjs/{resources-93b9c4fb.js → resources-3dfb6262.js} +1 -1
- package/dist/cjs/{resources-37f0cb50.js → resources-e4f2b649.js} +1 -1
- package/dist/cjs/{resources-67f9a468.js → resources-e78d08e9.js} +5 -5
- package/dist/cjs/{resources-b952625b.js → resources-ec4ddd5b.js} +3 -3
- package/dist/cjs/{sortable.esm-50f83340.js → sortable.esm-75596196.js} +1 -1
- package/dist/cjs/{utils-1c5561b5.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.css +4 -0
- package/dist/collection/components/chip/chip.js +22 -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 +6 -2
- 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 +114 -56
- package/dist/esm/{ExpandToggle-615aef84.js → ExpandToggle-f015017d.js} +5 -5
- package/dist/esm/{Heading-5ccaa054.js → Heading-d8e9c4d0.js} +2 -2
- package/dist/esm/{array-6c52bfc3.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 +10 -7
- 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-5833e9f1.js → conditionalSlot-251f048d.js} +3 -3
- package/dist/esm/{debounce-b313dae7.js → debounce-671be4ab.js} +1 -1
- package/dist/esm/{dom-a8a904b8.js → dom-1d25d90d.js} +2 -2
- package/dist/esm/{forIn-634f1be2.js → forIn-61b8f555.js} +2 -2
- package/dist/esm/{form-3e92b679.js → form-9231bd75.js} +3 -3
- package/dist/esm/{guid-3cacc190.js → guid-681ada01.js} +1 -1
- package/dist/esm/{index-d8874173.js → index-3d4e33c9.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-f8ab7c5e.js → interactive-206f3e33.js} +1 -1
- package/dist/esm/{interfaces-32674f6e.js → interfaces-1e8297e0.js} +1 -1
- package/dist/esm/{key-835c7134.js → key-aaa7a17a.js} +1 -1
- package/dist/esm/{label-1b2d8b99.js → label-78ef6888.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-75592121.js → locale-ddc99d54.js} +2 -2
- package/dist/esm/{math-f368aecb.js → math-6704b0cd.js} +1 -1
- package/dist/esm/{observers-a5f44357.js → observers-f4b26851.js} +1 -1
- package/dist/esm/{popper-c724cdf6.js → popper-0f8ca820.js} +2 -2
- package/dist/esm/{resources-de00b8ca.js → resources-8bc22c30.js} +1 -1
- package/dist/esm/{resources-f4b11110.js → resources-9cd6c136.js} +3 -3
- package/dist/esm/{resources-899bc715.js → resources-c23513d4.js} +5 -5
- package/dist/esm/{resources-48cb66e2.js → resources-f108bb2c.js} +1 -1
- package/dist/esm/{sortable.esm-fca82674.js → sortable.esm-b5154dfc.js} +1 -1
- package/dist/esm/{utils-4cc978ea.js → utils-29143248.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-615aef84.js → ExpandToggle-f015017d.js} +2 -2
- package/dist/esm-es5/Heading-d8e9c4d0.js +6 -0
- package/dist/esm-es5/{array-6c52bfc3.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 +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
- 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-5833e9f1.js → conditionalSlot-251f048d.js} +2 -2
- package/dist/esm-es5/{debounce-b313dae7.js → debounce-671be4ab.js} +1 -1
- package/dist/esm-es5/{dom-a8a904b8.js → dom-1d25d90d.js} +2 -2
- package/dist/esm-es5/{forIn-634f1be2.js → forIn-61b8f555.js} +2 -2
- package/dist/esm-es5/{form-3e92b679.js → form-9231bd75.js} +2 -2
- package/dist/esm-es5/{guid-3cacc190.js → guid-681ada01.js} +1 -1
- package/dist/esm-es5/{index-d8874173.js → index-3d4e33c9.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-f8ab7c5e.js → interactive-206f3e33.js} +1 -1
- package/dist/esm-es5/{interfaces-32674f6e.js → interfaces-1e8297e0.js} +1 -1
- package/dist/esm-es5/{key-835c7134.js → key-aaa7a17a.js} +1 -1
- package/dist/esm-es5/{label-1b2d8b99.js → label-78ef6888.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-75592121.js → locale-ddc99d54.js} +2 -2
- package/dist/esm-es5/{math-f368aecb.js → math-6704b0cd.js} +1 -1
- package/dist/esm-es5/{observers-a5f44357.js → observers-f4b26851.js} +1 -1
- package/dist/esm-es5/{popper-c724cdf6.js → popper-0f8ca820.js} +2 -2
- package/dist/esm-es5/{resources-de00b8ca.js → resources-8bc22c30.js} +1 -1
- package/dist/esm-es5/{resources-f4b11110.js → resources-9cd6c136.js} +2 -2
- package/dist/esm-es5/{resources-899bc715.js → resources-c23513d4.js} +2 -2
- package/dist/esm-es5/{resources-48cb66e2.js → resources-f108bb2c.js} +1 -1
- package/dist/esm-es5/{sortable.esm-fca82674.js → sortable.esm-b5154dfc.js} +1 -1
- package/dist/esm-es5/{utils-4cc978ea.js → utils-29143248.js} +1 -1
- package/dist/extras/docs-json.json +117 -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/chip/chip.d.ts +2 -0
- 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 +54 -6
- package/hydrate/index.js +119 -56
- package/package.json +1 -1
- package/dist/calcite/p-09854013.entry.js +0 -6
- package/dist/calcite/p-2e1491da.entry.js +0 -6
- package/dist/calcite/p-47bcb060.system.entry.js +0 -6
- package/dist/calcite/p-4b4ff426.js +0 -6
- package/dist/calcite/p-4d9dd9e3.system.entry.js +0 -6
- package/dist/calcite/p-53abe760.system.js +0 -6
- package/dist/calcite/p-5bc79da8.entry.js +0 -6
- package/dist/calcite/p-5ca4c426.entry.js +0 -6
- package/dist/calcite/p-b62639a5.entry.js +0 -6
- package/dist/calcite/p-cad3a0e2.system.entry.js +0 -6
- package/dist/calcite/p-d4ba6958.entry.js +0 -6
- package/dist/calcite/p-d4eabd92.js +0 -6
- package/dist/esm-es5/Heading-5ccaa054.js +0 -6
|
@@ -1,23 +1,23 @@
|
|
|
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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const debounce = require('./debounce-
|
|
12
|
-
const forIn = require('./forIn-
|
|
13
|
-
const popper = require('./popper-
|
|
14
|
-
const guid = require('./guid-
|
|
15
|
-
const dom = require('./dom-
|
|
16
|
-
const label = require('./label-
|
|
17
|
-
const form = require('./form-
|
|
18
|
-
const observers = require('./observers-
|
|
19
|
-
const interactive = require('./interactive-
|
|
20
|
-
const conditionalSlot = require('./conditionalSlot-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const debounce = require('./debounce-cff73118.js');
|
|
12
|
+
const forIn = require('./forIn-63725cb3.js');
|
|
13
|
+
const popper = require('./popper-a6799f73.js');
|
|
14
|
+
const guid = require('./guid-7ac09c7c.js');
|
|
15
|
+
const dom = require('./dom-006119f9.js');
|
|
16
|
+
const label = require('./label-cbd2fca0.js');
|
|
17
|
+
const form = require('./form-4aa36914.js');
|
|
18
|
+
const observers = require('./observers-e7215a23.js');
|
|
19
|
+
const interactive = require('./interactive-4c089305.js');
|
|
20
|
+
const conditionalSlot = require('./conditionalSlot-345c638f.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -211,8 +211,14 @@ const Combobox = class {
|
|
|
211
211
|
// Public Properties
|
|
212
212
|
//
|
|
213
213
|
//--------------------------------------------------------------------------
|
|
214
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* When true, opens the combobox
|
|
216
|
+
*
|
|
217
|
+
* @deprecated use open instead
|
|
218
|
+
*/
|
|
215
219
|
this.active = false;
|
|
220
|
+
/**When true, opens the combobox */
|
|
221
|
+
this.open = false;
|
|
216
222
|
/** Disable combobox input */
|
|
217
223
|
this.disabled = false;
|
|
218
224
|
/** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
|
|
@@ -286,8 +292,9 @@ const Combobox = class {
|
|
|
286
292
|
this.addCustomChip(this.text, true);
|
|
287
293
|
event.preventDefault();
|
|
288
294
|
}
|
|
289
|
-
else if (this.active) {
|
|
295
|
+
else if (this.open || this.active) {
|
|
290
296
|
this.active = false;
|
|
297
|
+
this.open = false;
|
|
291
298
|
event.preventDefault();
|
|
292
299
|
}
|
|
293
300
|
break;
|
|
@@ -304,9 +311,10 @@ const Combobox = class {
|
|
|
304
311
|
}
|
|
305
312
|
break;
|
|
306
313
|
case "ArrowDown":
|
|
307
|
-
if (!this.active) {
|
|
314
|
+
if (!(this.open || this.active)) {
|
|
308
315
|
event.preventDefault();
|
|
309
316
|
this.active = true;
|
|
317
|
+
this.open = true;
|
|
310
318
|
}
|
|
311
319
|
this.shiftActiveItemIndex(1);
|
|
312
320
|
if (!this.comboboxInViewport()) {
|
|
@@ -317,11 +325,12 @@ const Combobox = class {
|
|
|
317
325
|
if (!this.textInput.value) {
|
|
318
326
|
event.preventDefault();
|
|
319
327
|
this.active = true;
|
|
328
|
+
this.open = true;
|
|
320
329
|
this.shiftActiveItemIndex(1);
|
|
321
330
|
}
|
|
322
331
|
break;
|
|
323
332
|
case "Home":
|
|
324
|
-
if (this.active) {
|
|
333
|
+
if (this.open || this.active) {
|
|
325
334
|
event.preventDefault();
|
|
326
335
|
}
|
|
327
336
|
this.updateActiveItemIndex(0);
|
|
@@ -331,7 +340,7 @@ const Combobox = class {
|
|
|
331
340
|
}
|
|
332
341
|
break;
|
|
333
342
|
case "End":
|
|
334
|
-
if (this.active) {
|
|
343
|
+
if (this.open || this.active) {
|
|
335
344
|
event.preventDefault();
|
|
336
345
|
}
|
|
337
346
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
@@ -342,6 +351,7 @@ const Combobox = class {
|
|
|
342
351
|
break;
|
|
343
352
|
case "Escape":
|
|
344
353
|
this.active = false;
|
|
354
|
+
this.open = false;
|
|
345
355
|
break;
|
|
346
356
|
case "Enter":
|
|
347
357
|
if (this.activeItemIndex > -1) {
|
|
@@ -370,15 +380,17 @@ const Combobox = class {
|
|
|
370
380
|
};
|
|
371
381
|
this.toggleCloseEnd = () => {
|
|
372
382
|
this.active = false;
|
|
383
|
+
this.open = false;
|
|
373
384
|
this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
|
374
385
|
};
|
|
375
386
|
this.toggleOpenEnd = () => {
|
|
376
387
|
this.active = true;
|
|
388
|
+
this.open = false;
|
|
377
389
|
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
|
378
390
|
};
|
|
379
391
|
this.transitionEnd = (event) => {
|
|
380
392
|
if (event.propertyName === this.activeTransitionProp) {
|
|
381
|
-
this.active ? this.onOpen() : this.onClose();
|
|
393
|
+
this.open || this.active ? this.onOpen() : this.onClose();
|
|
382
394
|
}
|
|
383
395
|
};
|
|
384
396
|
/* *
|
|
@@ -387,12 +399,13 @@ const Combobox = class {
|
|
|
387
399
|
*/
|
|
388
400
|
this.transitionRunHandler = (event) => {
|
|
389
401
|
if (event.propertyName === this.activeTransitionProp) {
|
|
390
|
-
this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
402
|
+
this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
391
403
|
}
|
|
392
404
|
};
|
|
393
405
|
this.setMaxScrollerHeight = async () => {
|
|
394
|
-
const { active, listContainerEl } = this;
|
|
395
|
-
|
|
406
|
+
const { active, listContainerEl, open } = this;
|
|
407
|
+
const isOpen = !(active || open);
|
|
408
|
+
if (!listContainerEl || isOpen) {
|
|
396
409
|
return;
|
|
397
410
|
}
|
|
398
411
|
await this.reposition();
|
|
@@ -402,6 +415,7 @@ const Combobox = class {
|
|
|
402
415
|
};
|
|
403
416
|
this.calciteChipDismissHandler = (event, comboboxItem) => {
|
|
404
417
|
this.active = false;
|
|
418
|
+
this.open = false;
|
|
405
419
|
const selection = this.items.find((item) => item === comboboxItem);
|
|
406
420
|
if (selection) {
|
|
407
421
|
this.toggleSelection(selection, false);
|
|
@@ -413,12 +427,14 @@ const Combobox = class {
|
|
|
413
427
|
return;
|
|
414
428
|
}
|
|
415
429
|
this.active = !this.active;
|
|
430
|
+
this.open = !this.open;
|
|
416
431
|
this.updateActiveItemIndex(0);
|
|
417
432
|
this.setFocus();
|
|
418
433
|
};
|
|
419
434
|
this.setInactiveIfNotContained = (event) => {
|
|
420
435
|
const composedPath = event.composedPath();
|
|
421
|
-
|
|
436
|
+
const isOpen = !(this.open || this.active);
|
|
437
|
+
if (isOpen || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
422
438
|
return;
|
|
423
439
|
}
|
|
424
440
|
if (this.allowCustomValues && this.text.trim().length) {
|
|
@@ -433,6 +449,7 @@ const Combobox = class {
|
|
|
433
449
|
this.updateActiveItemIndex(-1);
|
|
434
450
|
}
|
|
435
451
|
this.active = false;
|
|
452
|
+
this.open = false;
|
|
436
453
|
};
|
|
437
454
|
this.setMenuEl = (el) => {
|
|
438
455
|
this.menuEl = el;
|
|
@@ -524,6 +541,7 @@ const Combobox = class {
|
|
|
524
541
|
activeHandler() {
|
|
525
542
|
if (this.disabled) {
|
|
526
543
|
this.active = false;
|
|
544
|
+
this.open = false;
|
|
527
545
|
return;
|
|
528
546
|
}
|
|
529
547
|
this.setMaxScrollerHeight();
|
|
@@ -531,6 +549,7 @@ const Combobox = class {
|
|
|
531
549
|
handleDisabledChange(value) {
|
|
532
550
|
if (!value) {
|
|
533
551
|
this.active = false;
|
|
552
|
+
this.open = false;
|
|
534
553
|
}
|
|
535
554
|
}
|
|
536
555
|
maxItemsHandler() {
|
|
@@ -674,7 +693,7 @@ const Combobox = class {
|
|
|
674
693
|
};
|
|
675
694
|
const eventListenerModifier = {
|
|
676
695
|
name: "eventListeners",
|
|
677
|
-
enabled: this.active
|
|
696
|
+
enabled: this.open || this.active
|
|
678
697
|
};
|
|
679
698
|
return [flipModifier, eventListenerModifier];
|
|
680
699
|
}
|
|
@@ -752,6 +771,7 @@ const Combobox = class {
|
|
|
752
771
|
this.textInput.value = item.textLabel;
|
|
753
772
|
}
|
|
754
773
|
this.active = false;
|
|
774
|
+
this.open = false;
|
|
755
775
|
this.updateActiveItemIndex(-1);
|
|
756
776
|
this.resetText();
|
|
757
777
|
this.filterItems("");
|
|
@@ -934,10 +954,10 @@ const Combobox = class {
|
|
|
934
954
|
});
|
|
935
955
|
}
|
|
936
956
|
renderInput() {
|
|
937
|
-
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
|
|
957
|
+
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems, open } = this;
|
|
938
958
|
const single = selectionMode === "single";
|
|
939
959
|
const selectedItem = selectedItems[0];
|
|
940
|
-
const showLabel = !active && single && !!selectedItem;
|
|
960
|
+
const showLabel = !(open || active) && single && !!selectedItem;
|
|
941
961
|
return (index.h("span", { class: {
|
|
942
962
|
"input-wrap": true,
|
|
943
963
|
"input-wrap--single": single
|
|
@@ -956,13 +976,13 @@ const Combobox = class {
|
|
|
956
976
|
return this.visibleItems.map((item) => (index.h("li", { "aria-selected": dom.toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
957
977
|
}
|
|
958
978
|
renderPopperContainer() {
|
|
959
|
-
const { active, setMenuEl, setListContainerEl } = this;
|
|
979
|
+
const { active, setMenuEl, setListContainerEl, open } = this;
|
|
960
980
|
const classes = {
|
|
961
981
|
"list-container": true,
|
|
962
982
|
[popper.CSS.animation]: true,
|
|
963
|
-
[popper.CSS.animationActive]: active
|
|
983
|
+
[popper.CSS.animationActive]: open || active
|
|
964
984
|
};
|
|
965
|
-
return (index.h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": active }, ref: setMenuEl }, index.h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, index.h("ul", { class: { list: true, "list--hide": !active } }, index.h("slot", null)))));
|
|
985
|
+
return (index.h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open || active }, ref: setMenuEl }, index.h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, index.h("ul", { class: { list: true, "list--hide": !(open || active) } }, index.h("slot", null)))));
|
|
966
986
|
}
|
|
967
987
|
renderIconStart() {
|
|
968
988
|
var _a;
|
|
@@ -973,21 +993,22 @@ const Combobox = class {
|
|
|
973
993
|
((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) || placeholderIcon) && (index.h("span", { class: "icon-start" }, index.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" }))));
|
|
974
994
|
}
|
|
975
995
|
renderIconEnd() {
|
|
976
|
-
const { active } = this;
|
|
977
|
-
return (index.h("span", { class: "icon-end" }, index.h("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
996
|
+
const { active, open } = this;
|
|
997
|
+
return (index.h("span", { class: "icon-end" }, index.h("calcite-icon", { icon: active || open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
978
998
|
}
|
|
979
999
|
render() {
|
|
980
|
-
const { active, guid, label } = this;
|
|
1000
|
+
const { active, guid, label, open } = this;
|
|
981
1001
|
const single = this.selectionMode === "single";
|
|
982
|
-
return (index.h(index.Host, { onKeyDown: this.keydownHandler }, index.h("div", { "aria-autocomplete": "list", "aria-expanded": dom.toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
1002
|
+
return (index.h(index.Host, { onKeyDown: this.keydownHandler }, index.h("div", { "aria-autocomplete": "list", "aria-expanded": dom.toAriaBoolean(open || active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
983
1003
|
wrapper: true,
|
|
984
1004
|
"wrapper--single": single || !this.selectedItems.length,
|
|
985
|
-
"wrapper--active": active
|
|
1005
|
+
"wrapper--active": open || active
|
|
986
1006
|
}, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" }, index.h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), index.h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), index.h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), index.h(form.HiddenFormInputSlot, { component: this })));
|
|
987
1007
|
}
|
|
988
1008
|
get el() { return index.getElement(this); }
|
|
989
1009
|
static get watchers() { return {
|
|
990
1010
|
"active": ["activeHandler"],
|
|
1011
|
+
"open": ["activeHandler"],
|
|
991
1012
|
"disabled": ["handleDisabledChange"],
|
|
992
1013
|
"maxItems": ["maxItemsHandler"],
|
|
993
1014
|
"value": ["valueHandler"],
|
|
@@ -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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const resources = require('./resources-
|
|
12
|
-
const dom = require('./dom-
|
|
13
|
-
const interactive = require('./interactive-
|
|
14
|
-
const Heading = require('./Heading-
|
|
15
|
-
require('./locale-
|
|
16
|
-
require('./key-
|
|
17
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const resources = require('./resources-ec4ddd5b.js');
|
|
12
|
+
const dom = require('./dom-006119f9.js');
|
|
13
|
+
const interactive = require('./interactive-4c089305.js');
|
|
14
|
+
const Heading = require('./Heading-5f2ed366.js');
|
|
15
|
+
require('./locale-a7606dce.js');
|
|
16
|
+
require('./key-ad47ec79.js');
|
|
17
|
+
require('./guid-7ac09c7c.js');
|
|
18
18
|
|
|
19
19
|
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}";
|
|
20
20
|
|
|
@@ -1,24 +1,24 @@
|
|
|
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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const popper = require('./popper-
|
|
13
|
-
const observers = require('./observers-
|
|
14
|
-
const interactive = require('./interactive-
|
|
15
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const dom = require('./dom-006119f9.js');
|
|
12
|
+
const popper = require('./popper-a6799f73.js');
|
|
13
|
+
const observers = require('./observers-e7215a23.js');
|
|
14
|
+
const interactive = require('./interactive-4c089305.js');
|
|
15
|
+
require('./guid-7ac09c7c.js');
|
|
16
16
|
|
|
17
17
|
const SLOTS = {
|
|
18
18
|
dropdownTrigger: "dropdown-trigger"
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
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}";
|
|
21
|
+
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}";
|
|
22
22
|
|
|
23
23
|
const Dropdown = class {
|
|
24
24
|
constructor(hostRef) {
|
|
@@ -33,8 +33,14 @@ const Dropdown = class {
|
|
|
33
33
|
// Public Properties
|
|
34
34
|
//
|
|
35
35
|
//--------------------------------------------------------------------------
|
|
36
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Opens or closes the dropdown
|
|
38
|
+
*
|
|
39
|
+
* @deprecated use open instead.
|
|
40
|
+
*/
|
|
37
41
|
this.active = false;
|
|
42
|
+
/** When true, opens the dropdown */
|
|
43
|
+
this.open = false;
|
|
38
44
|
/**
|
|
39
45
|
allow the dropdown to remain open after a selection is made
|
|
40
46
|
if the selection-mode of the selected item's containing group is "none", the dropdown will always close
|
|
@@ -121,8 +127,9 @@ const Dropdown = class {
|
|
|
121
127
|
scrollerEl.style.minWidth = `${referenceElWidth}px`;
|
|
122
128
|
};
|
|
123
129
|
this.setMaxScrollerHeight = () => {
|
|
124
|
-
const { active, scrollerEl } = this;
|
|
125
|
-
|
|
130
|
+
const { active, scrollerEl, open } = this;
|
|
131
|
+
const isOpen = !(active || open);
|
|
132
|
+
if (!scrollerEl || isOpen) {
|
|
126
133
|
return;
|
|
127
134
|
}
|
|
128
135
|
this.reposition();
|
|
@@ -137,12 +144,14 @@ const Dropdown = class {
|
|
|
137
144
|
};
|
|
138
145
|
this.transitionEnd = (event) => {
|
|
139
146
|
if (event.propertyName === this.activeTransitionProp) {
|
|
140
|
-
this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
|
|
147
|
+
this.open || this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
|
|
141
148
|
}
|
|
142
149
|
};
|
|
143
150
|
this.transitionRunHandler = (event) => {
|
|
144
151
|
if (event.propertyName === this.activeTransitionProp) {
|
|
145
|
-
this.active
|
|
152
|
+
this.active || this.open
|
|
153
|
+
? this.emitOpenCloseEvent("beforeOpen")
|
|
154
|
+
: this.emitOpenCloseEvent("beforeClose");
|
|
146
155
|
}
|
|
147
156
|
};
|
|
148
157
|
this.setReferenceEl = (el) => {
|
|
@@ -158,7 +167,7 @@ const Dropdown = class {
|
|
|
158
167
|
return;
|
|
159
168
|
}
|
|
160
169
|
const key = e.key;
|
|
161
|
-
if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
170
|
+
if ((this.open || this.active) && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
162
171
|
this.closeCalciteDropdown();
|
|
163
172
|
return;
|
|
164
173
|
}
|
|
@@ -181,7 +190,8 @@ const Dropdown = class {
|
|
|
181
190
|
};
|
|
182
191
|
this.openCalciteDropdown = () => {
|
|
183
192
|
this.active = !this.active;
|
|
184
|
-
|
|
193
|
+
this.open = !this.open;
|
|
194
|
+
if (this.active || this.open) {
|
|
185
195
|
this.el.addEventListener("calciteDropdownOpen", this.toggleOpenEnd);
|
|
186
196
|
}
|
|
187
197
|
};
|
|
@@ -192,10 +202,12 @@ const Dropdown = class {
|
|
|
192
202
|
return;
|
|
193
203
|
}
|
|
194
204
|
this.active = false;
|
|
205
|
+
this.open = false;
|
|
195
206
|
}
|
|
196
207
|
handleDisabledChange(value) {
|
|
197
208
|
if (!value) {
|
|
198
209
|
this.active = false;
|
|
210
|
+
this.open = false;
|
|
199
211
|
}
|
|
200
212
|
}
|
|
201
213
|
flipPlacementsHandler() {
|
|
@@ -234,12 +246,12 @@ const Dropdown = class {
|
|
|
234
246
|
}
|
|
235
247
|
}
|
|
236
248
|
render() {
|
|
237
|
-
const { active } = this;
|
|
238
|
-
return (index.h(index.Host, null, index.h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, index.h("slot", { "aria-expanded": dom.toAriaBoolean(active), "aria-haspopup": "true", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), index.h("div", { "aria-hidden": dom.toAriaBoolean(!active), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, index.h("div", { class: {
|
|
249
|
+
const { active, open } = this;
|
|
250
|
+
return (index.h(index.Host, null, index.h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, index.h("slot", { "aria-expanded": dom.toAriaBoolean(active || open), "aria-haspopup": "true", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), index.h("div", { "aria-hidden": dom.toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, index.h("div", { class: {
|
|
239
251
|
["calcite-dropdown-content"]: true,
|
|
240
252
|
[popper.CSS.animation]: true,
|
|
241
|
-
[popper.CSS.animationActive]: active
|
|
242
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, index.h("div", { hidden: !
|
|
253
|
+
[popper.CSS.animationActive]: active || open
|
|
254
|
+
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, index.h("div", { hidden: !(open || active) }, index.h("slot", { onSlotchange: this.updateGroups }))))));
|
|
243
255
|
}
|
|
244
256
|
//--------------------------------------------------------------------------
|
|
245
257
|
//
|
|
@@ -260,7 +272,8 @@ const Dropdown = class {
|
|
|
260
272
|
: this.createPopper();
|
|
261
273
|
}
|
|
262
274
|
closeCalciteDropdownOnClick(e) {
|
|
263
|
-
|
|
275
|
+
const isOpen = !(this.open || this.active);
|
|
276
|
+
if (isOpen || e.composedPath().includes(this.el)) {
|
|
264
277
|
return;
|
|
265
278
|
}
|
|
266
279
|
this.closeCalciteDropdown(false);
|
|
@@ -274,6 +287,7 @@ const Dropdown = class {
|
|
|
274
287
|
return;
|
|
275
288
|
}
|
|
276
289
|
this.active = false;
|
|
290
|
+
this.open = false;
|
|
277
291
|
}
|
|
278
292
|
mouseEnterHandler() {
|
|
279
293
|
if (this.type === "hover") {
|
|
@@ -355,7 +369,7 @@ const Dropdown = class {
|
|
|
355
369
|
};
|
|
356
370
|
const eventListenerModifier = {
|
|
357
371
|
name: "eventListeners",
|
|
358
|
-
enabled: this.active
|
|
372
|
+
enabled: this.open || this.active
|
|
359
373
|
};
|
|
360
374
|
return [flipModifier, eventListenerModifier];
|
|
361
375
|
}
|
|
@@ -406,6 +420,7 @@ const Dropdown = class {
|
|
|
406
420
|
}
|
|
407
421
|
closeCalciteDropdown(focusTrigger = true) {
|
|
408
422
|
this.active = false;
|
|
423
|
+
this.open = false;
|
|
409
424
|
if (focusTrigger) {
|
|
410
425
|
dom.focusElement(this.triggers[0]);
|
|
411
426
|
}
|
|
@@ -443,6 +458,7 @@ const Dropdown = class {
|
|
|
443
458
|
get el() { return index.getElement(this); }
|
|
444
459
|
static get watchers() { return {
|
|
445
460
|
"active": ["activeHandler"],
|
|
461
|
+
"open": ["activeHandler"],
|
|
446
462
|
"disabled": ["handleDisabledChange"],
|
|
447
463
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
448
464
|
"maxItems": ["maxItemsHandler"],
|
|
@@ -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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const interactive = require('./interactive-
|
|
13
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const dom = require('./dom-006119f9.js');
|
|
12
|
+
const interactive = require('./interactive-4c089305.js');
|
|
13
|
+
require('./guid-7ac09c7c.js');
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
16
16
|
button: "button"
|
|
@@ -1,18 +1,18 @@
|
|
|
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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const interactive = require('./interactive-
|
|
13
|
-
const debounce = require('./debounce-
|
|
14
|
-
const forIn = require('./forIn-
|
|
15
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const dom = require('./dom-006119f9.js');
|
|
12
|
+
const interactive = require('./interactive-4c089305.js');
|
|
13
|
+
const debounce = require('./debounce-cff73118.js');
|
|
14
|
+
const forIn = require('./forIn-63725cb3.js');
|
|
15
|
+
require('./guid-7ac09c7c.js');
|
|
16
16
|
|
|
17
17
|
const CSS = {
|
|
18
18
|
container: "container",
|
|
@@ -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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const observers = require('./observers-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const observers = require('./observers-e7215a23.js');
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
frame: "frame",
|
|
@@ -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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const guid = require('./guid-
|
|
12
|
-
const observers = require('./observers-
|
|
13
|
-
const dom = require('./dom-
|
|
14
|
-
const math = require('./math-
|
|
15
|
-
const label = require('./label-
|
|
16
|
-
const form = require('./form-
|
|
17
|
-
const interactive = require('./interactive-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const guid = require('./guid-7ac09c7c.js');
|
|
12
|
+
const observers = require('./observers-e7215a23.js');
|
|
13
|
+
const dom = require('./dom-006119f9.js');
|
|
14
|
+
const math = require('./math-cb0eba16.js');
|
|
15
|
+
const label = require('./label-cbd2fca0.js');
|
|
16
|
+
const form = require('./form-4aa36914.js');
|
|
17
|
+
const interactive = require('./interactive-4c089305.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Calculate slope of the tangents
|
|
@@ -1,15 +1,15 @@
|
|
|
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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const dom = require('./dom-006119f9.js');
|
|
12
|
+
require('./guid-7ac09c7c.js');
|
|
13
13
|
|
|
14
14
|
const CSS = {
|
|
15
15
|
handle: "handle",
|
|
@@ -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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const observers = require('./observers-
|
|
13
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const dom = require('./dom-006119f9.js');
|
|
12
|
+
const observers = require('./observers-e7215a23.js');
|
|
13
|
+
require('./guid-7ac09c7c.js');
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
16
16
|
icon: "icon",
|
|
@@ -1,18 +1,18 @@
|
|
|
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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const observers = require('./observers-
|
|
14
|
-
const interactive = require('./interactive-
|
|
15
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-345bd03e.js');
|
|
11
|
+
const dom = require('./dom-006119f9.js');
|
|
12
|
+
const label = require('./label-cbd2fca0.js');
|
|
13
|
+
const observers = require('./observers-e7215a23.js');
|
|
14
|
+
const interactive = require('./interactive-4c089305.js');
|
|
15
|
+
require('./guid-7ac09c7c.js');
|
|
16
16
|
|
|
17
17
|
const CSS = {
|
|
18
18
|
wrapper: "wrapper",
|