@esri/calcite-components 1.0.0-next.520 → 1.0.0-next.523
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-d208b406.system.js → p-004352e0.system.js} +2 -2
- package/dist/calcite/{p-b3a335d4.system.js → p-05c7d561.system.js} +2 -2
- package/dist/calcite/{p-ffbb4b30.system.entry.js → p-0643d361.system.entry.js} +2 -2
- package/dist/calcite/{p-43413fbc.system.entry.js → p-073444a7.system.entry.js} +2 -2
- package/dist/calcite/{p-e604ab6b.system.entry.js → p-07362122.system.entry.js} +2 -2
- package/dist/calcite/{p-cdc700be.system.entry.js → p-079b7d7d.system.entry.js} +2 -2
- package/dist/calcite/p-0ef93269.entry.js +6 -0
- package/dist/calcite/{p-c2d033d5.system.js → p-0fa206b4.system.js} +1 -1
- package/dist/calcite/{p-6dfca84e.entry.js → p-0ff59619.entry.js} +2 -2
- package/dist/calcite/{p-e4a3783d.system.entry.js → p-10ef1d9d.system.entry.js} +3 -3
- package/dist/calcite/{p-3a9aaecf.js → p-1129672f.js} +1 -1
- package/dist/calcite/{p-73f440bb.entry.js → p-11830700.entry.js} +2 -2
- package/dist/calcite/{p-a3507dfe.system.entry.js → p-1195e8b0.system.entry.js} +2 -2
- package/dist/calcite/{p-0e23ec86.system.js → p-13037d93.system.js} +1 -1
- package/dist/calcite/{p-9b239dcc.system.js → p-1552d0c0.system.js} +1 -1
- package/dist/calcite/{p-8cadf826.system.js → p-15d4fb17.system.js} +2 -2
- package/dist/calcite/{p-13088d74.system.entry.js → p-17c4e392.system.entry.js} +2 -2
- package/dist/calcite/{p-d019cd3c.js → p-17d62e32.js} +1 -1
- package/dist/calcite/{p-1920a94e.system.js → p-1aab9ecb.system.js} +1 -1
- package/dist/calcite/{p-eef651a2.system.entry.js → p-1caab2c1.system.entry.js} +2 -2
- package/dist/calcite/{p-decb56ab.entry.js → p-1d6a87fa.entry.js} +2 -2
- package/dist/calcite/{p-1fcf4389.js → p-1d8f336e.js} +1 -1
- package/dist/calcite/{p-7b1075db.system.js → p-204e44ba.system.js} +2 -2
- package/dist/calcite/{p-7add7125.entry.js → p-20705469.entry.js} +2 -2
- package/dist/calcite/{p-d4c5c673.entry.js → p-24c2d2bc.entry.js} +2 -2
- package/dist/calcite/{p-adf0ece2.system.entry.js → p-27ff1873.system.entry.js} +2 -2
- package/dist/calcite/{p-a161f860.system.entry.js → p-28d03e64.system.entry.js} +2 -2
- package/dist/calcite/{p-9b38c931.entry.js → p-2d4b5d19.entry.js} +2 -2
- package/dist/calcite/{p-14bc0533.entry.js → p-2ee49902.entry.js} +2 -2
- package/dist/calcite/{p-06c14b86.system.entry.js → p-2f049da3.system.entry.js} +3 -3
- package/dist/calcite/{p-6d2ba11e.entry.js → p-31eb7bef.entry.js} +2 -2
- package/dist/calcite/{p-abaae4a0.entry.js → p-33e6aeb9.entry.js} +2 -2
- package/dist/calcite/{p-3b3d8fda.system.entry.js → p-33f73519.system.entry.js} +2 -2
- package/dist/calcite/{p-7842b132.entry.js → p-377cc6dd.entry.js} +2 -2
- package/dist/calcite/{p-4668d36a.js → p-37bee3ae.js} +1 -1
- package/dist/calcite/p-3815e8c6.system.entry.js +6 -0
- package/dist/calcite/{p-16f227fc.system.entry.js → p-38227861.system.entry.js} +2 -2
- package/dist/calcite/{p-f2cbad46.system.entry.js → p-3c195b35.system.entry.js} +2 -2
- package/dist/calcite/{p-917106dd.system.entry.js → p-3d1bcc02.system.entry.js} +2 -2
- package/dist/calcite/{p-78274269.system.js → p-3e23417f.system.js} +1 -1
- package/dist/calcite/{p-f4742511.js → p-3ec5ae8d.js} +1 -1
- package/dist/calcite/{p-98ac7b27.entry.js → p-3fc2bb4b.entry.js} +2 -2
- package/dist/calcite/{p-aff0389a.system.js → p-4161a0f7.system.js} +2 -2
- package/dist/calcite/{p-9398bb6c.js → p-41ea7209.js} +2 -2
- package/dist/calcite/{p-0444a89a.js → p-4353401a.js} +2 -2
- package/dist/calcite/{p-973fa781.entry.js → p-449f39b5.entry.js} +2 -2
- package/dist/calcite/p-44f24a20.system.js +6 -0
- package/dist/calcite/{p-772f4a3f.system.entry.js → p-45fa414b.system.entry.js} +2 -2
- package/dist/calcite/{p-a1621fa7.entry.js → p-4606f83e.entry.js} +2 -2
- package/dist/calcite/{p-51586eee.system.entry.js → p-4c26abc4.system.entry.js} +2 -2
- package/dist/calcite/{p-7d329d08.js → p-4c67afa7.js} +2 -2
- package/dist/calcite/{p-007035f4.system.entry.js → p-4cc03417.system.entry.js} +2 -2
- package/dist/calcite/{p-58661475.system.entry.js → p-4d5b7af9.system.entry.js} +2 -2
- package/dist/calcite/{p-abca805d.system.entry.js → p-4dc3dfc3.system.entry.js} +2 -2
- package/dist/calcite/{p-39d3e8e7.entry.js → p-4e86247d.entry.js} +2 -2
- package/dist/calcite/{p-8bf55d55.entry.js → p-52564764.entry.js} +2 -2
- package/dist/calcite/{p-78f47358.system.entry.js → p-525691e4.system.entry.js} +2 -2
- package/dist/calcite/{p-b659cdbb.entry.js → p-53d6bc33.entry.js} +2 -2
- package/dist/calcite/{p-4d71f62d.system.js → p-5493c5e8.system.js} +3 -3
- package/dist/calcite/{p-9781070e.system.js → p-54b2adec.system.js} +1 -1
- package/dist/calcite/{p-ca265c09.system.js → p-55fe6e64.system.js} +1 -1
- package/dist/calcite/{p-cafdc1c6.system.entry.js → p-56d9a456.system.entry.js} +2 -2
- package/dist/calcite/{p-d05ce5f8.entry.js → p-59c3a1c7.entry.js} +2 -2
- package/dist/calcite/{p-c2deb2ce.system.entry.js → p-5a1fb73e.system.entry.js} +2 -2
- package/dist/calcite/{p-534a7ca5.entry.js → p-5b7ee3ae.entry.js} +2 -2
- package/dist/calcite/{p-2df6116d.entry.js → p-5be0d6f7.entry.js} +2 -2
- package/dist/calcite/{p-dbae690a.system.entry.js → p-5bec3378.system.entry.js} +2 -2
- package/dist/calcite/{p-82e2b61e.js → p-6321f252.js} +1 -1
- package/dist/calcite/{p-7157eb29.system.js → p-642a2880.system.js} +1 -1
- package/dist/calcite/p-6798948e.entry.js +6 -0
- package/dist/calcite/{p-75e8e02e.entry.js → p-680a8b94.entry.js} +2 -2
- package/dist/calcite/{p-dc40dde4.system.entry.js → p-6bd57878.system.entry.js} +2 -2
- package/dist/calcite/p-6bddf1ea.system.entry.js +6 -0
- package/dist/calcite/p-6d27fcac.entry.js +6 -0
- package/dist/calcite/{p-7e57e47c.system.entry.js → p-6d8cd80e.system.entry.js} +2 -2
- package/dist/calcite/{p-3191b270.entry.js → p-6d96d095.entry.js} +2 -2
- package/dist/calcite/{p-02362c11.entry.js → p-6e1159f6.entry.js} +2 -2
- package/dist/calcite/{p-e6f77179.js → p-7437f875.js} +2 -2
- package/dist/calcite/{p-75a33e5a.system.entry.js → p-761df8f8.system.entry.js} +2 -2
- package/dist/calcite/p-778c65d2.system.entry.js +6 -0
- package/dist/calcite/p-783e3ab9.entry.js +6 -0
- package/dist/calcite/{p-c8a0343c.system.entry.js → p-78fc4d93.system.entry.js} +2 -2
- package/dist/calcite/{p-2be5f5e4.system.entry.js → p-7d10d214.system.entry.js} +2 -2
- package/dist/calcite/{p-a64bd767.system.entry.js → p-7e09d072.system.entry.js} +2 -2
- package/dist/calcite/{p-f7fd201f.js → p-7f276264.js} +1 -1
- package/dist/calcite/{p-3340e3fb.entry.js → p-7f39e1f9.entry.js} +2 -2
- package/dist/calcite/p-7faeee8c.entry.js +6 -0
- package/dist/calcite/{p-f6cbe0ab.system.js → p-831aba9f.system.js} +2 -2
- package/dist/calcite/{p-1ab88ba3.system.entry.js → p-83263713.system.entry.js} +2 -2
- package/dist/calcite/{p-dd699884.entry.js → p-85a6d514.entry.js} +2 -2
- package/dist/calcite/{p-ee37ffbc.system.entry.js → p-899a9e2a.system.entry.js} +2 -2
- package/dist/calcite/{p-8e1b9b65.js → p-8a2e3c90.js} +1 -1
- package/dist/calcite/{p-da3ed14f.system.js → p-8c79d825.system.js} +1 -1
- package/dist/calcite/p-8cad2d35.system.entry.js +6 -0
- package/dist/calcite/{p-13fe270d.entry.js → p-8d975b20.entry.js} +2 -2
- package/dist/calcite/{p-bb6ff111.system.entry.js → p-8f94d8cc.system.entry.js} +2 -2
- package/dist/calcite/{p-d78d8570.system.entry.js → p-90509e41.system.entry.js} +2 -2
- package/dist/calcite/{p-368f2f77.system.entry.js → p-90af023c.system.entry.js} +2 -2
- package/dist/calcite/{p-d178a247.entry.js → p-91951236.entry.js} +2 -2
- package/dist/calcite/{p-5ff3fb7e.entry.js → p-92d7b2cb.entry.js} +2 -2
- package/dist/calcite/{p-72977808.system.entry.js → p-93d27bf2.system.entry.js} +2 -2
- package/dist/calcite/{p-0c58bda7.entry.js → p-950fdeca.entry.js} +2 -2
- package/dist/calcite/{p-f8c872a2.system.js → p-9606efc1.system.js} +2 -2
- package/dist/calcite/p-990d623d.system.js +6 -0
- package/dist/calcite/{p-c4972e72.system.entry.js → p-9d3d7220.system.entry.js} +2 -2
- package/dist/calcite/{p-8277926c.entry.js → p-9d9bd4a3.entry.js} +2 -2
- package/dist/calcite/{p-b8d25736.entry.js → p-9e12a9c6.entry.js} +2 -2
- package/dist/calcite/{p-815189c6.system.js → p-9f7515c4.system.js} +1 -1
- package/dist/calcite/{p-1ae60c44.entry.js → p-a8f7c29e.entry.js} +2 -2
- package/dist/calcite/{p-29dbb7c3.system.entry.js → p-aaf53c68.system.entry.js} +2 -2
- package/dist/calcite/{p-fce697b5.entry.js → p-ab826c72.entry.js} +2 -2
- package/dist/calcite/{p-96b8ffc2.entry.js → p-abd48562.entry.js} +2 -2
- package/dist/calcite/{p-d25efce4.entry.js → p-ac2b7534.entry.js} +2 -2
- package/dist/calcite/{p-5cd95bda.entry.js → p-adf4922e.entry.js} +2 -2
- package/dist/calcite/p-b00be007.js +6 -0
- package/dist/calcite/{p-f4b079fd.entry.js → p-b060fb39.entry.js} +2 -2
- package/dist/calcite/{p-a081753e.entry.js → p-b0ac5faf.entry.js} +2 -2
- package/dist/calcite/{p-76b6b612.system.entry.js → p-b0b5339f.system.entry.js} +2 -2
- package/dist/calcite/{p-14ea0159.system.js → p-b0bf3474.system.js} +2 -2
- package/dist/calcite/{p-73577e93.system.js → p-b2b07f5b.system.js} +1 -1
- package/dist/calcite/{p-1a04dc2a.entry.js → p-b2c199aa.entry.js} +2 -2
- package/dist/calcite/{p-10f66af0.entry.js → p-b465ee91.entry.js} +2 -2
- package/dist/calcite/{p-9da42c36.js → p-b4f504e3.js} +2 -2
- package/dist/calcite/{p-f2bd3b8f.system.entry.js → p-b614bb85.system.entry.js} +2 -2
- package/dist/calcite/{p-1f3485fd.js → p-b7661f62.js} +2 -2
- package/dist/calcite/{p-73f3b6cd.system.entry.js → p-b775ea70.system.entry.js} +2 -2
- package/dist/calcite/p-b871a2ec.entry.js +6 -0
- package/dist/calcite/{p-d3130f3f.entry.js → p-bb03fd42.entry.js} +2 -2
- package/dist/calcite/{p-7fd5a8a3.js → p-bbce0456.js} +1 -1
- package/dist/calcite/{p-0a3ac5b7.entry.js → p-c6cea668.entry.js} +2 -2
- package/dist/calcite/{p-59b0561b.system.entry.js → p-cbdc4057.system.entry.js} +2 -2
- package/dist/calcite/p-cc25ada3.entry.js +6 -0
- package/dist/calcite/{p-e17c874d.system.entry.js → p-ccd71715.system.entry.js} +2 -2
- package/dist/calcite/{p-d6b6d5a1.entry.js → p-cce748e7.entry.js} +2 -2
- package/dist/calcite/{p-083b105d.js → p-cfa56b79.js} +2 -2
- package/dist/calcite/{p-b3bf4e2b.js → p-d355ad4f.js} +2 -2
- package/dist/calcite/{p-74d1af1c.js → p-d5b606c0.js} +1 -1
- package/dist/calcite/{p-d601ac5d.entry.js → p-d75c12e6.entry.js} +2 -2
- package/dist/calcite/{p-09e283e8.system.entry.js → p-d7f3b711.system.entry.js} +2 -2
- package/dist/calcite/{p-4eee040b.system.entry.js → p-d90f0c15.system.entry.js} +2 -2
- package/dist/calcite/p-d9572c12.system.entry.js +6 -0
- package/dist/calcite/{p-6b844ad2.system.entry.js → p-d9662bea.system.entry.js} +2 -2
- package/dist/calcite/{p-6fb2dac3.js → p-dbd68af0.js} +2 -2
- package/dist/calcite/{p-6fa4fd93.entry.js → p-dc1ca779.entry.js} +2 -2
- package/dist/calcite/{p-f9e32dc5.system.entry.js → p-dc6f46c8.system.entry.js} +2 -2
- package/dist/calcite/{p-9946dd96.system.js → p-ddc38b93.system.js} +1 -1
- package/dist/calcite/{p-6c2b78c1.system.entry.js → p-e0b4f38a.system.entry.js} +3 -3
- package/dist/calcite/{p-ff6b1162.system.js → p-e1e12b8c.system.js} +1 -1
- package/dist/calcite/{p-48b6f6f7.system.js → p-e33bcd83.system.js} +1 -1
- package/dist/calcite/{p-f633dc67.entry.js → p-e4d0deb8.entry.js} +2 -2
- package/dist/calcite/{p-937f4763.js → p-e8c06888.js} +1 -1
- package/dist/calcite/{p-2758b523.entry.js → p-ea6f7dbf.entry.js} +2 -2
- package/dist/calcite/{p-e70390dc.system.entry.js → p-ea7835cb.system.entry.js} +2 -2
- package/dist/calcite/{p-28292cd2.entry.js → p-ecc6eceb.entry.js} +2 -2
- package/dist/calcite/{p-a9945df6.entry.js → p-ed90619e.entry.js} +2 -2
- package/dist/calcite/{p-795b0aa3.system.entry.js → p-f0957544.system.entry.js} +2 -2
- package/dist/calcite/{p-ad6accf2.js → p-f18ea10d.js} +1 -1
- package/dist/calcite/{p-383c5cdf.system.entry.js → p-f5b978d1.system.entry.js} +3 -3
- package/dist/calcite/{p-c2f18e0d.entry.js → p-f6b1db4a.entry.js} +2 -2
- package/dist/calcite/{p-213f3a0c.system.js → p-f70b488e.system.js} +2 -2
- package/dist/calcite/p-f90bf867.entry.js +6 -0
- package/dist/calcite/{p-5f40009c.entry.js → p-f924863b.entry.js} +2 -2
- package/dist/calcite/{p-9a4b8d19.js → p-fb94e654.js} +2 -2
- package/dist/calcite/{p-85ea5712.system.entry.js → p-fc3bd1a3.system.entry.js} +2 -2
- package/dist/calcite/{p-e8b7db23.js → p-fc91c0f8.js} +1 -1
- package/dist/calcite/{p-677f24bf.system.entry.js → p-fdd02185.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-99f3781c.js → ExpandToggle-9507d3ca.js} +5 -5
- package/dist/cjs/{Heading-4337cacd.js → Heading-7e253e8e.js} +2 -2
- package/dist/cjs/{array-2b95adc7.js → array-a57073d5.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-number.cjs.entry.js +531 -0
- 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 +12 -6
- 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 +4 -4
- package/dist/cjs/{conditionalSlot-a86a0d93.js → conditionalSlot-d41127a4.js} +3 -3
- package/dist/cjs/{debounce-d2b703d9.js → debounce-a35c1810.js} +1 -1
- package/dist/cjs/{dom-276aaf99.js → dom-58235738.js} +2 -2
- package/dist/cjs/{forIn-89a77d46.js → forIn-3ba66b3b.js} +2 -2
- package/dist/cjs/{form-90809048.js → form-1abc7765.js} +3 -3
- package/dist/cjs/{guid-05de8683.js → guid-93c89ea3.js} +1 -1
- package/dist/cjs/{index-92b04246.js → index-f1d0c484.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-8f9c108d.js → interactive-5dd9b2a6.js} +1 -1
- package/dist/cjs/{interfaces-1432ba48.js → interfaces-efc36733.js} +1 -1
- package/dist/cjs/{key-14b78e13.js → key-d3ad4863.js} +1 -1
- package/dist/cjs/{label-b7e1da52.js → label-9a7ce420.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-30f27f51.js → locale-89a7456a.js} +2 -2
- package/dist/cjs/{math-c4db1901.js → math-e75ae285.js} +1 -1
- package/dist/cjs/{observers-46d26c87.js → observers-4419aca1.js} +1 -1
- package/dist/cjs/{popper-56aa0819.js → popper-fab63b23.js} +2 -2
- package/dist/cjs/{resources-f9d89ecd.js → resources-12d06a91.js} +1 -1
- package/dist/cjs/{resources-d9fd225b.js → resources-235699e9.js} +3 -3
- package/dist/cjs/{resources-5906f91a.js → resources-7be0bfba.js} +5 -5
- package/dist/cjs/{resources-7afa5ac3.js → resources-a96e38c2.js} +1 -1
- package/dist/cjs/{sortable.esm-d2f57c8a.js → sortable.esm-3196d6bf.js} +1 -1
- package/dist/cjs/{utils-d09ab03a.js → utils-c2ffca01.js} +1 -1
- package/dist/collection/collection-manifest.json +7 -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-number/input-number.css +509 -0
- package/dist/collection/components/input-number/input-number.js +1251 -0
- package/dist/collection/components/input-number/interfaces.js +6 -0
- package/dist/collection/components/input-number/resources.js +27 -0
- 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.css +15 -10
- package/dist/collection/components/label/label.js +28 -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 +3 -3
- 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 +2 -2
- 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 +46 -24
- 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 +2 -2
- package/dist/components/calcite-input-date-picker.js +4 -4
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.d.ts +11 -0
- package/dist/components/calcite-input-number.js +592 -0
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- 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 +22 -12
- 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 +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +2 -2
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +33 -16
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +2 -2
- 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.d.ts +5 -90
- package/dist/components/index.js +1 -91
- package/dist/components/input.js +2 -2
- 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 +112 -80
- package/dist/components/label2.js +87 -112
- 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 +2 -2
- package/dist/components/popper.js +2 -2
- 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 +2 -2
- package/dist/components/tab-nav.js +2 -2
- 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.d.ts +6 -0
- package/dist/custom-elements/index.js +980 -405
- package/dist/esm/{ExpandToggle-d4acd022.js → ExpandToggle-ff0312ae.js} +5 -5
- package/dist/esm/{Heading-252785eb.js → Heading-2dd01e0b.js} +2 -2
- package/dist/esm/{array-bded6ddd.js → array-1a396234.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-number.entry.js +527 -0
- 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 +12 -6
- 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 +4 -4
- package/dist/esm/{conditionalSlot-8a611e76.js → conditionalSlot-dde7a1b0.js} +3 -3
- package/dist/esm/{debounce-17713200.js → debounce-063fdfaf.js} +1 -1
- package/dist/esm/{dom-3bc3e6f2.js → dom-fc734eee.js} +2 -2
- package/dist/esm/{forIn-3302954f.js → forIn-e2ab159c.js} +2 -2
- package/dist/esm/{form-cb292ed6.js → form-3cbdbe57.js} +3 -3
- package/dist/esm/{guid-5aa84743.js → guid-c8a2a54f.js} +1 -1
- package/dist/esm/{index-3ec30bad.js → index-a3bb1052.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-21921578.js → interactive-439f09f8.js} +1 -1
- package/dist/esm/{interfaces-3c2efb02.js → interfaces-04bb2845.js} +1 -1
- package/dist/esm/{key-02ae0e60.js → key-258681fb.js} +1 -1
- package/dist/esm/{label-3a519eed.js → label-0f5ad8c6.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-1e310e6f.js → locale-671abfd4.js} +2 -2
- package/dist/esm/{math-9da1254c.js → math-c1681dd0.js} +1 -1
- package/dist/esm/{observers-f302dd59.js → observers-d616c25a.js} +1 -1
- package/dist/esm/{popper-00afea1c.js → popper-a34dd610.js} +2 -2
- package/dist/esm/{resources-790145ca.js → resources-0f593b6f.js} +3 -3
- package/dist/esm/{resources-21dc5137.js → resources-1e228a4b.js} +1 -1
- package/dist/esm/{resources-3f5a19f3.js → resources-933857c3.js} +1 -1
- package/dist/esm/{resources-2eb35342.js → resources-a194ae6b.js} +5 -5
- package/dist/esm/{sortable.esm-86b33659.js → sortable.esm-f2b5f05a.js} +1 -1
- package/dist/esm/{utils-3bf99050.js → utils-2c4c9ab8.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-d4acd022.js → ExpandToggle-ff0312ae.js} +2 -2
- package/dist/esm-es5/{Heading-252785eb.js → Heading-2dd01e0b.js} +2 -2
- package/dist/esm-es5/{array-bded6ddd.js → array-1a396234.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 +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +6 -0
- 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 +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-dde7a1b0.js} +2 -2
- package/dist/esm-es5/{debounce-17713200.js → debounce-063fdfaf.js} +1 -1
- package/dist/esm-es5/{dom-3bc3e6f2.js → dom-fc734eee.js} +2 -2
- package/dist/esm-es5/{forIn-3302954f.js → forIn-e2ab159c.js} +2 -2
- package/dist/esm-es5/{form-cb292ed6.js → form-3cbdbe57.js} +2 -2
- package/dist/esm-es5/{guid-5aa84743.js → guid-c8a2a54f.js} +1 -1
- package/dist/esm-es5/{index-3ec30bad.js → index-a3bb1052.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-21921578.js → interactive-439f09f8.js} +1 -1
- package/dist/esm-es5/{interfaces-3c2efb02.js → interfaces-04bb2845.js} +1 -1
- package/dist/esm-es5/{key-02ae0e60.js → key-258681fb.js} +1 -1
- package/dist/esm-es5/{label-3a519eed.js → label-0f5ad8c6.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-1e310e6f.js → locale-671abfd4.js} +2 -2
- package/dist/esm-es5/{math-9da1254c.js → math-c1681dd0.js} +1 -1
- package/dist/esm-es5/{observers-f302dd59.js → observers-d616c25a.js} +1 -1
- package/dist/esm-es5/{popper-00afea1c.js → popper-a34dd610.js} +2 -2
- package/dist/esm-es5/{resources-790145ca.js → resources-0f593b6f.js} +2 -2
- package/dist/esm-es5/{resources-21dc5137.js → resources-1e228a4b.js} +1 -1
- package/dist/esm-es5/{resources-3f5a19f3.js → resources-933857c3.js} +1 -1
- package/dist/esm-es5/{resources-2eb35342.js → resources-a194ae6b.js} +2 -2
- package/dist/esm-es5/{sortable.esm-86b33659.js → sortable.esm-f2b5f05a.js} +1 -1
- package/dist/esm-es5/{utils-3bf99050.js → utils-2c4c9ab8.js} +1 -1
- package/dist/extras/docs-json.json +858 -71
- 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/input-number/input-number.d.ts +216 -0
- package/dist/types/components/input-number/interfaces.d.ts +1 -0
- package/dist/types/components/input-number/resources.d.ts +22 -0
- package/dist/types/components/label/label.d.ts +6 -0
- package/dist/types/components/modal/modal.d.ts +9 -3
- package/dist/types/components.d.ts +353 -6
- package/dist/types/preact.d.ts +7 -0
- package/hydrate/index.js +932 -444
- package/package.json +2 -2
- package/readme.md +2 -2
- package/dist/calcite/p-024eb16b.system.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-9ad3c3f4.system.entry.js +0 -6
- package/dist/calcite/p-a1d2b979.entry.js +0 -6
- package/dist/calcite/p-a3f5192b.entry.js +0 -6
- package/dist/calcite/p-aad4f6d0.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-f382a06e.entry.js +0 -6
- package/dist/calcite/p-f388b1ee.system.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const debounce = require('./debounce-a35c1810.js');
|
|
12
|
+
const forIn = require('./forIn-3ba66b3b.js');
|
|
13
|
+
const popper = require('./popper-fab63b23.js');
|
|
14
|
+
const guid = require('./guid-93c89ea3.js');
|
|
15
|
+
const dom = require('./dom-58235738.js');
|
|
16
|
+
const label = require('./label-9a7ce420.js');
|
|
17
|
+
const form = require('./form-1abc7765.js');
|
|
18
|
+
const observers = require('./observers-4419aca1.js');
|
|
19
|
+
const interactive = require('./interactive-5dd9b2a6.js');
|
|
20
|
+
const conditionalSlot = require('./conditionalSlot-d41127a4.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const resources = require('./resources-235699e9.js');
|
|
12
|
+
const dom = require('./dom-58235738.js');
|
|
13
|
+
const interactive = require('./interactive-5dd9b2a6.js');
|
|
14
|
+
const Heading = require('./Heading-7e253e8e.js');
|
|
15
|
+
require('./locale-89a7456a.js');
|
|
16
|
+
require('./key-d3ad4863.js');
|
|
17
|
+
require('./guid-93c89ea3.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const dom = require('./dom-58235738.js');
|
|
12
|
+
const popper = require('./popper-fab63b23.js');
|
|
13
|
+
const observers = require('./observers-4419aca1.js');
|
|
14
|
+
const interactive = require('./interactive-5dd9b2a6.js');
|
|
15
|
+
require('./guid-93c89ea3.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const dom = require('./dom-58235738.js');
|
|
12
|
+
const interactive = require('./interactive-5dd9b2a6.js');
|
|
13
|
+
require('./guid-93c89ea3.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const dom = require('./dom-58235738.js');
|
|
12
|
+
const interactive = require('./interactive-5dd9b2a6.js');
|
|
13
|
+
const debounce = require('./debounce-a35c1810.js');
|
|
14
|
+
const forIn = require('./forIn-3ba66b3b.js');
|
|
15
|
+
require('./guid-93c89ea3.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const observers = require('./observers-4419aca1.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const guid = require('./guid-93c89ea3.js');
|
|
12
|
+
const observers = require('./observers-4419aca1.js');
|
|
13
|
+
const dom = require('./dom-58235738.js');
|
|
14
|
+
const math = require('./math-e75ae285.js');
|
|
15
|
+
const label = require('./label-9a7ce420.js');
|
|
16
|
+
const form = require('./form-1abc7765.js');
|
|
17
|
+
const interactive = require('./interactive-5dd9b2a6.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const dom = require('./dom-58235738.js');
|
|
12
|
+
require('./guid-93c89ea3.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const dom = require('./dom-58235738.js');
|
|
12
|
+
const observers = require('./observers-4419aca1.js');
|
|
13
|
+
require('./guid-93c89ea3.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.523
|
|
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-f1d0c484.js');
|
|
11
|
+
const dom = require('./dom-58235738.js');
|
|
12
|
+
const label = require('./label-9a7ce420.js');
|
|
13
|
+
const observers = require('./observers-4419aca1.js');
|
|
14
|
+
const interactive = require('./interactive-5dd9b2a6.js');
|
|
15
|
+
require('./guid-93c89ea3.js');
|
|
16
16
|
|
|
17
17
|
const CSS = {
|
|
18
18
|
wrapper: "wrapper",
|