@esri/calcite-components 1.0.0-next.445 → 1.0.0-next.446
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-8b3108fe.system.entry.js → p-00243b0e.system.entry.js} +2 -2
- package/dist/calcite/{p-a284f057.entry.js → p-009bb637.entry.js} +2 -2
- package/dist/calcite/{p-1f2f75cb.entry.js → p-02614308.entry.js} +2 -2
- package/dist/calcite/{p-5500906f.entry.js → p-027bb0e3.entry.js} +2 -2
- package/dist/calcite/{p-84d89c27.system.entry.js → p-040c921c.system.entry.js} +2 -2
- package/dist/calcite/{p-d57599f3.system.js → p-0481ec28.system.js} +1 -1
- package/dist/calcite/{p-02fd2883.system.entry.js → p-06e039cd.system.entry.js} +2 -2
- package/dist/calcite/{p-133372fd.system.entry.js → p-088cfb79.system.entry.js} +2 -2
- package/dist/calcite/{p-a39a6120.entry.js → p-09fcb51c.entry.js} +2 -2
- package/dist/calcite/p-0d536cae.entry.js +6 -0
- package/dist/calcite/{p-ae1dd9d3.entry.js → p-0e9be575.entry.js} +2 -2
- package/dist/calcite/p-108d5b81.js +6 -0
- package/dist/calcite/{p-b0a06984.entry.js → p-111b34ab.entry.js} +2 -2
- package/dist/calcite/{p-0f89e70c.entry.js → p-12df7bfa.entry.js} +2 -2
- package/dist/calcite/{p-7ebc43e6.entry.js → p-166584cf.entry.js} +2 -2
- package/dist/calcite/{p-95bfbf7e.system.entry.js → p-1cfd9355.system.entry.js} +2 -2
- package/dist/calcite/{p-0ccf95ca.system.entry.js → p-1db1f077.system.entry.js} +2 -2
- package/dist/calcite/{p-f3465688.system.entry.js → p-1eda13c6.system.entry.js} +2 -2
- package/dist/calcite/{p-6723c6d8.entry.js → p-2090ac1c.entry.js} +2 -2
- package/dist/calcite/{p-26a03754.system.entry.js → p-2108a352.system.entry.js} +2 -2
- package/dist/calcite/{p-336577c6.js → p-210b55df.js} +1 -1
- package/dist/calcite/{p-a4be4ad7.entry.js → p-21a8831b.entry.js} +2 -2
- package/dist/calcite/{p-fe25dd66.js → p-22f3cbd6.js} +1 -1
- package/dist/calcite/{p-29ffb1a4.system.entry.js → p-250afbe1.system.entry.js} +2 -2
- package/dist/calcite/p-2a2ca38d.system.js +6 -0
- package/dist/calcite/{p-3fea8ac9.system.js → p-2a3c19f9.system.js} +1 -1
- package/dist/calcite/{p-a7793b59.system.js → p-2aa4c050.system.js} +1 -1
- package/dist/calcite/{p-569ab61c.entry.js → p-2b9aec48.entry.js} +2 -2
- package/dist/calcite/{p-4039990d.system.entry.js → p-2c42a1ba.system.entry.js} +2 -2
- package/dist/calcite/{p-ea01de75.js → p-2dd0e688.js} +2 -2
- package/dist/calcite/{p-dcd66dbe.entry.js → p-2e5f34e4.entry.js} +2 -2
- package/dist/calcite/{p-2daf552b.entry.js → p-2eecf741.entry.js} +2 -2
- package/dist/calcite/{p-ad7a67c5.js → p-2f5d936e.js} +1 -1
- package/dist/calcite/{p-6aa710a4.js → p-3336fe83.js} +1 -1
- package/dist/calcite/{p-99b389a4.system.entry.js → p-3443963e.system.entry.js} +2 -2
- package/dist/calcite/{p-05751f2e.entry.js → p-34a5ebd2.entry.js} +2 -2
- package/dist/calcite/{p-cc496db8.entry.js → p-351ad306.entry.js} +2 -2
- package/dist/calcite/{p-d49affe7.system.entry.js → p-364081bb.system.entry.js} +2 -2
- package/dist/calcite/{p-42dc5adc.entry.js → p-3857bd25.entry.js} +2 -2
- package/dist/calcite/{p-ec8f422f.js → p-3bbe7573.js} +1 -1
- package/dist/calcite/p-3d4c9641.entry.js +6 -0
- package/dist/calcite/{p-be089f07.entry.js → p-3df7839e.entry.js} +2 -2
- package/dist/calcite/{p-47872617.entry.js → p-3ed97f44.entry.js} +2 -2
- package/dist/calcite/{p-3dba8986.entry.js → p-3f0dcdb8.entry.js} +2 -2
- package/dist/calcite/{p-926b60ef.entry.js → p-3f921071.entry.js} +2 -2
- package/dist/calcite/{p-d4f2f493.system.js → p-40b6e9ff.system.js} +2 -2
- package/dist/calcite/{p-8b8402ab.entry.js → p-415647ea.entry.js} +2 -2
- package/dist/calcite/{p-5a60f994.system.entry.js → p-41996bc0.system.entry.js} +2 -2
- package/dist/calcite/{p-319fca0a.system.entry.js → p-425595c9.system.entry.js} +2 -2
- package/dist/calcite/{p-11ba757d.system.entry.js → p-42830e6b.system.entry.js} +2 -2
- package/dist/calcite/{p-dd2433b8.js → p-45d02a58.js} +1 -1
- package/dist/calcite/{p-ff299c31.entry.js → p-46bb6331.entry.js} +2 -2
- package/dist/calcite/p-46e5afcd.system.entry.js +6 -0
- package/dist/calcite/{p-d0dd920e.system.js → p-46f357db.system.js} +2 -2
- package/dist/calcite/p-47fc5d29.entry.js +6 -0
- package/dist/calcite/{p-dac748b6.entry.js → p-4851a11a.entry.js} +2 -2
- package/dist/calcite/{p-34e35997.system.js → p-4bb11901.system.js} +2 -2
- package/dist/calcite/{p-1d36af45.system.js → p-4ca06c5c.system.js} +1 -1
- package/dist/calcite/{p-b4d3d3e3.js → p-4caeef60.js} +2 -2
- package/dist/calcite/{p-df191ce8.system.entry.js → p-4e1cd357.system.entry.js} +2 -2
- package/dist/calcite/{p-253921ef.js → p-4ea70c7c.js} +1 -1
- package/dist/calcite/{p-7c2843ca.system.entry.js → p-4ef10a1d.system.entry.js} +2 -2
- package/dist/calcite/{p-9ffb0f8e.system.entry.js → p-5214c4a5.system.entry.js} +2 -2
- package/dist/calcite/{p-e798397b.system.entry.js → p-537b0d8e.system.entry.js} +2 -2
- package/dist/calcite/{p-390993de.system.js → p-53c78633.system.js} +3 -3
- package/dist/calcite/{p-50b46f23.system.entry.js → p-54218d0a.system.entry.js} +2 -2
- package/dist/calcite/{p-266d8bf5.entry.js → p-570252d3.entry.js} +2 -2
- package/dist/calcite/{p-97dd099f.system.entry.js → p-58580d05.system.entry.js} +2 -2
- package/dist/calcite/{p-d647b605.js → p-5b8aeeea.js} +2 -2
- package/dist/calcite/{p-886b7bfa.system.entry.js → p-5cf5dc69.system.entry.js} +2 -2
- package/dist/calcite/{p-bbb08025.entry.js → p-5daaa36a.entry.js} +2 -2
- package/dist/calcite/{p-4cff6ed2.system.entry.js → p-5f3291d7.system.entry.js} +2 -2
- package/dist/calcite/{p-5e296f6a.system.js → p-5feb053b.system.js} +2 -2
- package/dist/calcite/{p-8b808b4a.system.entry.js → p-618a7502.system.entry.js} +2 -2
- package/dist/calcite/{p-4b259c5a.entry.js → p-65404fbb.entry.js} +2 -2
- package/dist/calcite/{p-8eb729b2.entry.js → p-6a44b9bc.entry.js} +2 -2
- package/dist/calcite/{p-e5147246.entry.js → p-6b02af02.entry.js} +2 -2
- package/dist/calcite/{p-311f6ae3.system.js → p-6c07fea1.system.js} +3 -3
- package/dist/calcite/{p-7d21684c.system.entry.js → p-6cdec8ec.system.entry.js} +2 -2
- package/dist/calcite/{p-fbcdf49c.system.js → p-6f2c4383.system.js} +1 -1
- package/dist/calcite/{p-27627646.entry.js → p-70231f4b.entry.js} +2 -2
- package/dist/calcite/{p-0f5a49ed.system.entry.js → p-70619815.system.entry.js} +2 -2
- package/dist/calcite/p-76cc07dc.js +6 -0
- package/dist/calcite/{p-5bf8f6e9.system.js → p-76e23dae.system.js} +2 -2
- package/dist/calcite/{p-b0f109f2.entry.js → p-7a006396.entry.js} +2 -2
- package/dist/calcite/{p-3b2f0536.js → p-7a649e3c.js} +2 -2
- package/dist/calcite/p-7c3dbf83.entry.js +6 -0
- package/dist/calcite/{p-f53b0e25.js → p-7c761b9a.js} +1 -1
- package/dist/calcite/{p-8f061a44.entry.js → p-7ce80fae.entry.js} +2 -2
- package/dist/calcite/{p-cb4a4c11.js → p-7d153b88.js} +1 -1
- package/dist/calcite/p-7de686a9.js +6 -0
- package/dist/calcite/{p-d6ef83f2.system.js → p-802e8fd2.system.js} +1 -1
- package/dist/calcite/{p-108d9717.system.entry.js → p-8071cd7e.system.entry.js} +2 -2
- package/dist/calcite/{p-f7d5923a.system.entry.js → p-828387fb.system.entry.js} +2 -2
- package/dist/calcite/{p-4393b27e.system.entry.js → p-845dca22.system.entry.js} +2 -2
- package/dist/calcite/{p-27d2b999.entry.js → p-8aa24079.entry.js} +2 -2
- package/dist/calcite/{p-dd148aa5.entry.js → p-8be49f2b.entry.js} +2 -2
- package/dist/calcite/{p-9500d5a1.entry.js → p-8c953bd0.entry.js} +2 -2
- package/dist/calcite/{p-ff8e5fb9.system.entry.js → p-8cd3e8eb.system.entry.js} +2 -2
- package/dist/calcite/{p-041b61cd.js → p-8d2d7d94.js} +2 -2
- package/dist/calcite/p-8f98ccbd.system.entry.js +6 -0
- package/dist/calcite/{p-99b56a57.system.js → p-903d1bfe.system.js} +1 -1
- package/dist/calcite/{p-fa493d09.js → p-9215c2ef.js} +1 -1
- package/dist/calcite/{p-6bef1081.system.entry.js → p-95898516.system.entry.js} +2 -2
- package/dist/calcite/{p-b31c76ec.system.js → p-97e974de.system.js} +2 -2
- package/dist/calcite/{p-14ec9332.system.entry.js → p-981f5bcb.system.entry.js} +2 -2
- package/dist/calcite/{p-e5c97b3c.system.entry.js → p-99b007d1.system.entry.js} +2 -2
- package/dist/calcite/{p-a544af14.entry.js → p-9b61bb45.entry.js} +2 -2
- package/dist/calcite/{p-a6c8b4f4.system.entry.js → p-9b9f67e7.system.entry.js} +2 -2
- package/dist/calcite/{p-abc466c1.system.entry.js → p-9c19e6ab.system.entry.js} +2 -2
- package/dist/calcite/{p-2ffe62e7.entry.js → p-9cbf6717.entry.js} +2 -2
- package/dist/calcite/{p-dcd26c5b.system.js → p-9d6e1b2e.system.js} +2 -2
- package/dist/calcite/{p-9988579e.entry.js → p-a38a4d3b.entry.js} +2 -2
- package/dist/calcite/{p-e7b32606.system.entry.js → p-a3ee9567.system.entry.js} +2 -2
- package/dist/calcite/{p-2ef6c164.system.entry.js → p-a460ad61.system.entry.js} +2 -2
- package/dist/calcite/{p-0b025cd8.system.entry.js → p-a49f7489.system.entry.js} +2 -2
- package/dist/calcite/p-a5298400.js +6 -0
- package/dist/calcite/{p-a01d5702.system.js → p-a70d310d.system.js} +1 -1
- package/dist/calcite/{p-d9639ef6.system.entry.js → p-a9f8c005.system.entry.js} +2 -2
- package/dist/calcite/{p-cbed5ee5.entry.js → p-af76ae1c.entry.js} +2 -2
- package/dist/calcite/{p-37d36485.system.entry.js → p-b058e434.system.entry.js} +2 -2
- package/dist/calcite/{p-58a52a1c.system.js → p-b16708e0.system.js} +1 -1
- package/dist/calcite/{p-f984a8fb.system.entry.js → p-b287a698.system.entry.js} +2 -2
- package/dist/calcite/{p-d3a24a92.system.entry.js → p-b67b8eb7.system.entry.js} +2 -2
- package/dist/calcite/{p-74c3913a.entry.js → p-b759b61f.entry.js} +2 -2
- package/dist/calcite/{p-39bc7480.entry.js → p-ba6fdaca.entry.js} +2 -2
- package/dist/calcite/{p-be653c75.js → p-baa954af.js} +1 -1
- package/dist/calcite/{p-090880ec.entry.js → p-bb9fecb9.entry.js} +2 -2
- package/dist/calcite/{p-aa8cd021.system.entry.js → p-bc1f286a.system.entry.js} +2 -2
- package/dist/calcite/{p-b8d7f7c8.system.entry.js → p-bf6d1607.system.entry.js} +2 -2
- package/dist/calcite/{p-f713dcde.system.js → p-bfc88695.system.js} +2 -2
- package/dist/calcite/{p-4a910e1a.system.entry.js → p-c187388a.system.entry.js} +2 -2
- package/dist/calcite/{p-381ae536.system.entry.js → p-c1e94a9d.system.entry.js} +2 -2
- package/dist/calcite/{p-ff6ac4c3.system.entry.js → p-c26ccc1a.system.entry.js} +2 -2
- package/dist/calcite/{p-4a13b25d.system.js → p-c4717eab.system.js} +1 -1
- package/dist/calcite/{p-e455cf93.system.entry.js → p-c8f27776.system.entry.js} +2 -2
- package/dist/calcite/{p-355798dd.js → p-c97f9e25.js} +1 -1
- package/dist/calcite/p-ccf2d036.entry.js +6 -0
- package/dist/calcite/{p-31197ab6.system.js → p-cf935a56.system.js} +1 -1
- package/dist/calcite/{p-204cff7c.system.entry.js → p-d4b8f891.system.entry.js} +2 -2
- package/dist/calcite/{p-57d67d2d.js → p-d6583d3f.js} +1 -1
- package/dist/calcite/{p-8491b37f.entry.js → p-d9611f32.entry.js} +2 -2
- package/dist/calcite/{p-28ab1bdc.system.entry.js → p-d9ff47df.system.entry.js} +2 -2
- package/dist/calcite/{p-bf8a1a90.entry.js → p-da73bddc.entry.js} +2 -2
- package/dist/calcite/{p-2d00654f.entry.js → p-df95f759.entry.js} +2 -2
- package/dist/calcite/{p-16dde710.system.js → p-e00847a7.system.js} +1 -1
- package/dist/calcite/{p-28383893.system.entry.js → p-e0924ca1.system.entry.js} +2 -2
- package/dist/calcite/{p-cc06ca0e.system.entry.js → p-e27952d3.system.entry.js} +2 -2
- package/dist/calcite/{p-97fd0700.js → p-e5c0c372.js} +2 -2
- package/dist/calcite/p-e7162b71.entry.js +6 -0
- package/dist/calcite/{p-548dfc90.system.entry.js → p-e7b4ab89.system.entry.js} +2 -2
- package/dist/calcite/{p-a39652a8.entry.js → p-e8bcf00f.entry.js} +2 -2
- package/dist/calcite/{p-de88a90d.system.entry.js → p-e9927077.system.entry.js} +2 -2
- package/dist/calcite/{p-ced91d61.entry.js → p-eb970222.entry.js} +2 -2
- package/dist/calcite/{p-b02dac57.entry.js → p-ee4f79a4.entry.js} +2 -2
- package/dist/calcite/{p-b2caaa6b.js → p-f1688ab4.js} +2 -2
- package/dist/calcite/{p-01713417.entry.js → p-f38ace28.entry.js} +2 -2
- package/dist/calcite/{p-2e5debed.system.js → p-f4d31372.system.js} +1 -1
- package/dist/calcite/{p-b9a581df.entry.js → p-fd00cf2b.entry.js} +2 -2
- package/dist/calcite/p-fd5ae86c.system.js +6 -0
- package/dist/calcite/{p-258de3b5.system.js → p-fecaf9ab.system.js} +1 -1
- package/dist/calcite/{p-f6795331.entry.js → p-ff2b0adf.entry.js} +2 -2
- package/dist/calcite/{p-161c0fe3.system.entry.js → p-ff359bf2.system.entry.js} +3 -3
- package/dist/calcite/{p-25ee06e8.entry.js → p-ff95e367.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-1d84a30f.js → ExpandToggle-dba0fcaa.js} +5 -5
- package/dist/cjs/{Heading-6c577985.js → Heading-ac4b7c37.js} +2 -2
- package/dist/cjs/{array-ad1d1402.js → array-cf62a599.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- 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 +4 -4
- 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 +7 -7
- 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 +14 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- 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 +2 -2
- 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 +8 -8
- 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 +6 -6
- 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 +2 -2
- 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 +100 -43
- 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 +7 -7
- 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-df594efd.js → conditionalSlot-b1dc0efe.js} +3 -3
- package/dist/cjs/{debounce-24461fe6.js → debounce-4f783a51.js} +1 -1
- package/dist/cjs/{dom-9a2cf963.js → dom-88c482ed.js} +2 -2
- package/dist/cjs/{forIn-90fffb54.js → forIn-8dcf3c8e.js} +2 -2
- package/dist/cjs/{form-9e6d03ef.js → form-c55c57d5.js} +3 -3
- package/dist/cjs/{guid-618238ed.js → guid-6d7a2eb3.js} +1 -1
- package/dist/cjs/{index-2e55547d.js → index-bf5d3db9.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-1f751ab7.js → interactive-5d0e6eb3.js} +1 -1
- package/dist/cjs/{interfaces-c964aaab.js → interfaces-5d2f1759.js} +1 -1
- package/dist/cjs/{label-1069d8bd.js → label-dd505aa6.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-8fe40b14.js → locale-7a9612f8.js} +2 -2
- package/dist/cjs/{math-d3124585.js → math-06997963.js} +1 -1
- package/dist/cjs/{number-80fc2025.js → number-c4b7f6a5.js} +1 -1
- package/dist/cjs/{observers-c763e03a.js → observers-76820ba8.js} +1 -1
- package/dist/cjs/{popper-8e628970.js → popper-1401699a.js} +2 -2
- package/dist/cjs/{resources-1233bb3e.js → resources-112859f8.js} +5 -5
- package/dist/cjs/{resources-7d180442.js → resources-8f35b2fd.js} +1 -1
- package/dist/cjs/{resources-cc8ca6f0.js → resources-bfebb5f2.js} +3 -3
- package/dist/cjs/{resources-245a82b3.js → resources-d9a9b6c5.js} +1 -1
- package/dist/cjs/{sortable.esm-42e8dec9.js → sortable.esm-798b541a.js} +1 -1
- package/dist/cjs/{utils-0d52eee6.js → utils-46954700.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.js +1 -1
- 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 +3 -4
- 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/dropdown/dropdown.js +1 -1
- 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.js +1 -1
- 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 +64 -0
- package/dist/collection/components/popover/popover.js +28 -4
- package/dist/collection/components/popover/resources.js +1 -2
- package/dist/collection/components/popover-manager/popover-manager.js +32 -45
- 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/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/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 +2 -2
- package/dist/components/calcite-accordion-item.js +1 -1
- 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 +2 -2
- 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 +3 -4
- 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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +30 -38
- 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 +2 -2
- package/dist/components/calcite-tip.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +2 -2
- 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 +2 -2
- package/dist/components/dropdown.js +1 -1
- 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.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/label.js +2 -2
- 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/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +89 -5
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +11 -19
- package/dist/components/resources2.js +7 -10
- package/dist/components/resources3.js +23 -6
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- 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.js +98 -43
- package/dist/esm/{ExpandToggle-2718b8f6.js → ExpandToggle-5fa04bda.js} +5 -5
- package/dist/esm/{Heading-0e4aea69.js → Heading-cdd59491.js} +2 -2
- package/dist/esm/{array-9f67c25d.js → array-ebbabd6a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- 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 +4 -4
- 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 +7 -7
- 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 +14 -15
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- 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 +2 -2
- 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 +8 -8
- 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 +6 -6
- 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 +2 -2
- 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 +100 -43
- 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 +7 -7
- 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-2522e30f.js → conditionalSlot-e5224eb1.js} +3 -3
- package/dist/esm/{debounce-1b741867.js → debounce-63f45e35.js} +1 -1
- package/dist/esm/{dom-db598077.js → dom-9e24bef3.js} +2 -2
- package/dist/esm/{forIn-c5b795e6.js → forIn-26056d97.js} +2 -2
- package/dist/esm/{form-61a289f0.js → form-a95d2293.js} +3 -3
- package/dist/esm/{guid-9fa375f5.js → guid-a97b6f4c.js} +1 -1
- package/dist/esm/{index-894dfc81.js → index-8147e804.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-09f3618d.js → interactive-a000c576.js} +1 -1
- package/dist/esm/{interfaces-a5204d8f.js → interfaces-22c273b9.js} +1 -1
- package/dist/esm/{label-6c0e1ae1.js → label-64db58d7.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-3981cfde.js → locale-cc81c938.js} +2 -2
- package/dist/esm/{math-acdc37ac.js → math-3103fbb8.js} +1 -1
- package/dist/esm/{number-84278938.js → number-09e6d1ef.js} +1 -1
- package/dist/esm/{observers-9608d2fa.js → observers-986a1e30.js} +1 -1
- package/dist/esm/{popper-7f6cf197.js → popper-9df3aa9a.js} +2 -2
- package/dist/esm/{resources-2275dd9a.js → resources-2e3e56d7.js} +3 -3
- package/dist/esm/{resources-b0ef8228.js → resources-a71ac888.js} +1 -1
- package/dist/esm/{resources-b064c016.js → resources-b04c771d.js} +1 -1
- package/dist/esm/{resources-7941421d.js → resources-ef25303e.js} +5 -5
- package/dist/esm/{sortable.esm-a9eb30f8.js → sortable.esm-f12c3949.js} +1 -1
- package/dist/esm/{utils-442279d6.js → utils-5b955ed9.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-2718b8f6.js → ExpandToggle-5fa04bda.js} +2 -2
- package/dist/esm-es5/{Heading-0e4aea69.js → Heading-cdd59491.js} +2 -2
- package/dist/esm-es5/{array-9f67c25d.js → array-ebbabd6a.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 +2 -2
- 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 +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-2522e30f.js → conditionalSlot-e5224eb1.js} +2 -2
- package/dist/esm-es5/{debounce-1b741867.js → debounce-63f45e35.js} +1 -1
- package/dist/esm-es5/{dom-db598077.js → dom-9e24bef3.js} +2 -2
- package/dist/esm-es5/{forIn-c5b795e6.js → forIn-26056d97.js} +2 -2
- package/dist/esm-es5/{form-61a289f0.js → form-a95d2293.js} +2 -2
- package/dist/esm-es5/{guid-9fa375f5.js → guid-a97b6f4c.js} +1 -1
- package/dist/esm-es5/{index-894dfc81.js → index-8147e804.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-09f3618d.js → interactive-a000c576.js} +1 -1
- package/dist/esm-es5/{interfaces-a5204d8f.js → interfaces-22c273b9.js} +1 -1
- package/dist/esm-es5/{label-6c0e1ae1.js → label-64db58d7.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-3981cfde.js → locale-cc81c938.js} +2 -2
- package/dist/esm-es5/{math-acdc37ac.js → math-3103fbb8.js} +1 -1
- package/dist/esm-es5/{number-84278938.js → number-09e6d1ef.js} +1 -1
- package/dist/esm-es5/{observers-9608d2fa.js → observers-986a1e30.js} +1 -1
- package/dist/esm-es5/{popper-7f6cf197.js → popper-9df3aa9a.js} +2 -2
- package/dist/esm-es5/{resources-2275dd9a.js → resources-2e3e56d7.js} +3 -3
- package/dist/esm-es5/{resources-b0ef8228.js → resources-a71ac888.js} +1 -1
- package/dist/esm-es5/{resources-b064c016.js → resources-b04c771d.js} +1 -1
- package/dist/esm-es5/{resources-7941421d.js → resources-ef25303e.js} +2 -2
- package/dist/esm-es5/{sortable.esm-a9eb30f8.js → sortable.esm-f12c3949.js} +1 -1
- package/dist/esm-es5/{utils-442279d6.js → utils-5b955ed9.js} +1 -1
- package/dist/extras/docs-json.json +26 -11
- 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/popover/PopoverManager.d.ts +10 -0
- package/dist/types/components/popover/popover.d.ts +4 -0
- package/dist/types/components/popover/resources.d.ts +0 -1
- package/dist/types/components/popover-manager/popover-manager.d.ts +6 -2
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +100 -43
- package/package.json +1 -1
- package/dist/calcite/p-07e641ba.js +0 -6
- package/dist/calcite/p-0e9766c8.entry.js +0 -6
- package/dist/calcite/p-1deaa010.entry.js +0 -6
- package/dist/calcite/p-27bf89cf.system.js +0 -6
- package/dist/calcite/p-3746cde8.entry.js +0 -6
- package/dist/calcite/p-4985c997.entry.js +0 -6
- package/dist/calcite/p-4bbc21ae.system.entry.js +0 -6
- package/dist/calcite/p-80e9f473.system.entry.js +0 -6
- package/dist/calcite/p-b17f15dc.js +0 -6
- package/dist/calcite/p-b1b979a8.system.js +0 -6
- package/dist/calcite/p-bcbdb44e.entry.js +0 -6
- package/dist/calcite/p-d1b2d2c5.js +0 -6
- package/dist/calcite/p-f37cb564.js +0 -6
- package/dist/calcite/p-fecc0290.entry.js +0 -6
- package/dist/components/resources4.js +0 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-04-
|
|
2
|
+
"timestamp": "2022-04-20T18:44:10",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "2.15.1",
|
|
@@ -13384,6 +13384,23 @@
|
|
|
13384
13384
|
"Manager": "```html\n<calcite-popover reference-element=\"popover-button\">Hello! I am some popover content!</calcite-popover>\n\n<calcite-popover-manager\n ><calcite-button id=\"popover-button\">Clickable popover</calcite-button></calcite-popover-manager\n>\n```\n"
|
|
13385
13385
|
},
|
|
13386
13386
|
"props": [
|
|
13387
|
+
{
|
|
13388
|
+
"name": "autoClose",
|
|
13389
|
+
"type": "boolean",
|
|
13390
|
+
"mutable": false,
|
|
13391
|
+
"attr": "auto-close",
|
|
13392
|
+
"reflectToAttr": true,
|
|
13393
|
+
"docs": "Automatically closes any currently open popovers when clicking outside of a popover.",
|
|
13394
|
+
"docsTags": [],
|
|
13395
|
+
"default": "false",
|
|
13396
|
+
"values": [
|
|
13397
|
+
{
|
|
13398
|
+
"type": "boolean"
|
|
13399
|
+
}
|
|
13400
|
+
],
|
|
13401
|
+
"optional": false,
|
|
13402
|
+
"required": false
|
|
13403
|
+
},
|
|
13387
13404
|
{
|
|
13388
13405
|
"name": "closeButton",
|
|
13389
13406
|
"type": "boolean",
|
|
@@ -13789,6 +13806,10 @@
|
|
|
13789
13806
|
{
|
|
13790
13807
|
"name": "slot",
|
|
13791
13808
|
"text": "- A slot for adding elements that reference a 'calcite-popover' by the 'selector' property."
|
|
13809
|
+
},
|
|
13810
|
+
{
|
|
13811
|
+
"name": "deprecated",
|
|
13812
|
+
"text": "No longer required for popover usage."
|
|
13792
13813
|
}
|
|
13793
13814
|
],
|
|
13794
13815
|
"usage": {},
|
|
@@ -13823,7 +13844,7 @@
|
|
|
13823
13844
|
"text": "`[data-calcite-popover-reference]`"
|
|
13824
13845
|
}
|
|
13825
13846
|
],
|
|
13826
|
-
"default": "
|
|
13847
|
+
"default": "\"[data-calcite-popover-reference]\"",
|
|
13827
13848
|
"values": [
|
|
13828
13849
|
{
|
|
13829
13850
|
"type": "string"
|
|
@@ -13835,14 +13856,7 @@
|
|
|
13835
13856
|
],
|
|
13836
13857
|
"methods": [],
|
|
13837
13858
|
"events": [],
|
|
13838
|
-
"listeners": [
|
|
13839
|
-
{
|
|
13840
|
-
"event": "click",
|
|
13841
|
-
"target": "window",
|
|
13842
|
-
"capture": true,
|
|
13843
|
-
"passive": false
|
|
13844
|
-
}
|
|
13845
|
-
],
|
|
13859
|
+
"listeners": [],
|
|
13846
13860
|
"styles": [],
|
|
13847
13861
|
"slots": [
|
|
13848
13862
|
{
|
|
@@ -13853,7 +13867,8 @@
|
|
|
13853
13867
|
"parts": [],
|
|
13854
13868
|
"dependents": [],
|
|
13855
13869
|
"dependencies": [],
|
|
13856
|
-
"dependencyGraph": {}
|
|
13870
|
+
"dependencyGraph": {},
|
|
13871
|
+
"deprecation": "No longer required for popover usage."
|
|
13857
13872
|
},
|
|
13858
13873
|
{
|
|
13859
13874
|
"filePath": "./src/components/progress/progress.tsx",
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.446
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.446
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
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.446
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.446
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default class PopoverManager {
|
|
2
|
+
private registeredElements;
|
|
3
|
+
private registeredElementCount;
|
|
4
|
+
registerElement(referenceEl: HTMLElement, popover: HTMLCalcitePopoverElement): void;
|
|
5
|
+
unregisterElement(referenceEl: HTMLElement): void;
|
|
6
|
+
private queryPopover;
|
|
7
|
+
private clickHandler;
|
|
8
|
+
private addListeners;
|
|
9
|
+
private removeListeners;
|
|
10
|
+
}
|
|
@@ -6,6 +6,10 @@ import { HeadingLevel } from "../functional/Heading";
|
|
|
6
6
|
* @slot - A slot for adding custom content.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Popover {
|
|
9
|
+
/**
|
|
10
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
11
|
+
*/
|
|
12
|
+
autoClose: boolean;
|
|
9
13
|
/**
|
|
10
14
|
* Display a close button within the Popover.
|
|
11
15
|
* @deprecated use dismissible instead.
|
|
@@ -14,7 +14,6 @@ export declare const TEXT: {
|
|
|
14
14
|
close: string;
|
|
15
15
|
};
|
|
16
16
|
export declare const defaultPopoverPlacement = "auto";
|
|
17
|
-
export declare const POPOVER_REFERENCE = "data-calcite-popover-reference";
|
|
18
17
|
export declare const ARIA_CONTROLS = "aria-controls";
|
|
19
18
|
export declare const ARIA_EXPANDED = "aria-expanded";
|
|
20
19
|
export declare const HEADING_LEVEL = 2;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.
|
|
4
|
+
* @deprecated No longer required for popover usage.
|
|
4
5
|
*/
|
|
5
6
|
export declare class PopoverManager {
|
|
6
7
|
el: HTMLCalcitePopoverManagerElement;
|
|
8
|
+
mutationObserver: MutationObserver;
|
|
7
9
|
/**
|
|
8
10
|
* CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
|
|
9
11
|
* @default `[data-calcite-popover-reference]`
|
|
@@ -13,7 +15,9 @@ export declare class PopoverManager {
|
|
|
13
15
|
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
14
16
|
*/
|
|
15
17
|
autoClose: boolean;
|
|
18
|
+
autoCloseHandler(): void;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
16
21
|
render(): VNode;
|
|
17
|
-
|
|
18
|
-
closeOpenPopovers(event: Event): void;
|
|
22
|
+
setAutoClose(): void;
|
|
19
23
|
}
|
|
@@ -2311,6 +2311,10 @@ export namespace Components {
|
|
|
2311
2311
|
"value": any;
|
|
2312
2312
|
}
|
|
2313
2313
|
interface CalcitePopover {
|
|
2314
|
+
/**
|
|
2315
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
2316
|
+
*/
|
|
2317
|
+
"autoClose": boolean;
|
|
2314
2318
|
/**
|
|
2315
2319
|
* Display a close button within the Popover.
|
|
2316
2320
|
* @deprecated use dismissible instead.
|
|
@@ -6451,6 +6455,10 @@ declare namespace LocalJSX {
|
|
|
6451
6455
|
"value": any;
|
|
6452
6456
|
}
|
|
6453
6457
|
interface CalcitePopover {
|
|
6458
|
+
/**
|
|
6459
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
6460
|
+
*/
|
|
6461
|
+
"autoClose"?: boolean;
|
|
6454
6462
|
/**
|
|
6455
6463
|
* Display a close button within the Popover.
|
|
6456
6464
|
* @deprecated use dismissible instead.
|
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.446
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -15561,7 +15561,7 @@ class Combobox {
|
|
|
15561
15561
|
const find = (item, filteredData) => item &&
|
|
15562
15562
|
filteredData.some(({ label, value }) => {
|
|
15563
15563
|
if (isGroup(item)) {
|
|
15564
|
-
return value === item.label
|
|
15564
|
+
return value === item.label;
|
|
15565
15565
|
}
|
|
15566
15566
|
return (value === item.textLabel ||
|
|
15567
15567
|
value === item.value ||
|
|
@@ -15888,8 +15888,7 @@ class Combobox {
|
|
|
15888
15888
|
return this.items.map((item) => ({
|
|
15889
15889
|
constant: item.constant,
|
|
15890
15890
|
value: item.value,
|
|
15891
|
-
label: item.textLabel
|
|
15892
|
-
guid: item.guid
|
|
15891
|
+
label: item.textLabel
|
|
15893
15892
|
}));
|
|
15894
15893
|
}
|
|
15895
15894
|
getNeedsIcon() {
|
|
@@ -23289,13 +23288,72 @@ const TEXT$6 = {
|
|
|
23289
23288
|
close: "Close"
|
|
23290
23289
|
};
|
|
23291
23290
|
const defaultPopoverPlacement = "auto";
|
|
23292
|
-
const POPOVER_REFERENCE = "data-calcite-popover-reference";
|
|
23293
23291
|
const ARIA_CONTROLS = "aria-controls";
|
|
23294
23292
|
const ARIA_EXPANDED = "aria-expanded";
|
|
23295
23293
|
const HEADING_LEVEL$2 = 2;
|
|
23296
23294
|
|
|
23295
|
+
class PopoverManager$1 {
|
|
23296
|
+
constructor() {
|
|
23297
|
+
// --------------------------------------------------------------------------
|
|
23298
|
+
//
|
|
23299
|
+
// Private Properties
|
|
23300
|
+
//
|
|
23301
|
+
// --------------------------------------------------------------------------
|
|
23302
|
+
this.registeredElements = new WeakMap();
|
|
23303
|
+
this.registeredElementCount = 0;
|
|
23304
|
+
// --------------------------------------------------------------------------
|
|
23305
|
+
//
|
|
23306
|
+
// Private Methods
|
|
23307
|
+
//
|
|
23308
|
+
// --------------------------------------------------------------------------
|
|
23309
|
+
this.queryPopover = (composedPath) => {
|
|
23310
|
+
const { registeredElements } = this;
|
|
23311
|
+
const registeredElement = composedPath.find((pathEl) => registeredElements.has(pathEl));
|
|
23312
|
+
return registeredElements.get(registeredElement);
|
|
23313
|
+
};
|
|
23314
|
+
this.clickHandler = (event) => {
|
|
23315
|
+
const composedPath = event.composedPath();
|
|
23316
|
+
const popover = this.queryPopover(composedPath);
|
|
23317
|
+
if (popover) {
|
|
23318
|
+
popover.toggle();
|
|
23319
|
+
return;
|
|
23320
|
+
}
|
|
23321
|
+
queryElementsRoots(event.target, "calcite-popover")
|
|
23322
|
+
.filter((popover) => popover.autoClose && popover.open && !composedPath.includes(popover))
|
|
23323
|
+
.forEach((popover) => popover.toggle(false));
|
|
23324
|
+
};
|
|
23325
|
+
}
|
|
23326
|
+
// --------------------------------------------------------------------------
|
|
23327
|
+
//
|
|
23328
|
+
// Public Methods
|
|
23329
|
+
//
|
|
23330
|
+
// --------------------------------------------------------------------------
|
|
23331
|
+
registerElement(referenceEl, popover) {
|
|
23332
|
+
this.registeredElementCount++;
|
|
23333
|
+
this.registeredElements.set(referenceEl, popover);
|
|
23334
|
+
if (this.registeredElementCount === 1) {
|
|
23335
|
+
this.addListeners();
|
|
23336
|
+
}
|
|
23337
|
+
}
|
|
23338
|
+
unregisterElement(referenceEl) {
|
|
23339
|
+
if (this.registeredElements.delete(referenceEl)) {
|
|
23340
|
+
this.registeredElementCount--;
|
|
23341
|
+
}
|
|
23342
|
+
if (this.registeredElementCount === 0) {
|
|
23343
|
+
this.removeListeners();
|
|
23344
|
+
}
|
|
23345
|
+
}
|
|
23346
|
+
addListeners() {
|
|
23347
|
+
document.addEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
23348
|
+
}
|
|
23349
|
+
removeListeners() {
|
|
23350
|
+
document.removeEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
23351
|
+
}
|
|
23352
|
+
}
|
|
23353
|
+
|
|
23297
23354
|
const popoverCss = "@-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*/.sc-calcite-popover: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*/.calcite-animate.sc-calcite-popover{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*/.calcite-animate__in.sc-calcite-popover{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-popover:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{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}/*!@:host([data-popper-placement^=bottom]) .calcite-popper-anim*/[data-popper-placement^=bottom].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@:host([data-popper-placement^=top]) .calcite-popper-anim*/[data-popper-placement^=top].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@:host([data-popper-placement^=left]) .calcite-popper-anim*/[data-popper-placement^=left].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@:host([data-popper-placement^=right]) .calcite-popper-anim*/[data-popper-placement^=right].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@:host([data-popper-placement]) .calcite-popper-anim--active*/[data-popper-placement].sc-calcite-popover-h .calcite-popper-anim--active.sc-calcite-popover{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([data-popper-placement][data-popper-reference-hidden])*/[data-popper-placement][data-popper-reference-hidden].sc-calcite-popover-h{pointer-events:none;opacity:0}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;width:8px;height:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{content:\"\";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-popper-placement^=top]) .arrow*/[data-popper-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{bottom:-4px}/*!@:host([data-popper-placement^=bottom]) .arrow*/[data-popper-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{top:-4px}/*!@:host([data-popper-placement^=left]) .arrow*/[data-popper-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{right:-4px}/*!@:host([data-popper-placement^=right]) .arrow*/[data-popper-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{left:-4px}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3)}/*!@.heading*/.heading.sc-calcite-popover{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}/*!@.container*/.container.sc-calcite-popover{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{-ms-flex-direction:column;flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}/*!@.close-button-container*/.close-button-container.sc-calcite-popover{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}/*!@::slotted(calcite-panel), ::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{height:100%}";
|
|
23298
23355
|
|
|
23356
|
+
const manager$1 = new PopoverManager$1();
|
|
23299
23357
|
/**
|
|
23300
23358
|
* @slot - A slot for adding custom content.
|
|
23301
23359
|
*/
|
|
@@ -23309,6 +23367,10 @@ class Popover {
|
|
|
23309
23367
|
// Properties
|
|
23310
23368
|
//
|
|
23311
23369
|
// --------------------------------------------------------------------------
|
|
23370
|
+
/**
|
|
23371
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
23372
|
+
*/
|
|
23373
|
+
this.autoClose = false;
|
|
23312
23374
|
/**
|
|
23313
23375
|
* Display a close button within the Popover.
|
|
23314
23376
|
* @deprecated use dismissible instead.
|
|
@@ -23391,8 +23453,8 @@ class Popover {
|
|
|
23391
23453
|
return;
|
|
23392
23454
|
}
|
|
23393
23455
|
const id = this.getId();
|
|
23394
|
-
effectiveReferenceElement.setAttribute(POPOVER_REFERENCE, id);
|
|
23395
23456
|
effectiveReferenceElement.setAttribute(ARIA_CONTROLS, id);
|
|
23457
|
+
manager$1.registerElement(effectiveReferenceElement, this.el);
|
|
23396
23458
|
this.setExpandedAttr();
|
|
23397
23459
|
};
|
|
23398
23460
|
this.removeReferences = () => {
|
|
@@ -23400,9 +23462,9 @@ class Popover {
|
|
|
23400
23462
|
if (!effectiveReferenceElement) {
|
|
23401
23463
|
return;
|
|
23402
23464
|
}
|
|
23403
|
-
effectiveReferenceElement.removeAttribute(POPOVER_REFERENCE);
|
|
23404
23465
|
effectiveReferenceElement.removeAttribute(ARIA_CONTROLS);
|
|
23405
23466
|
effectiveReferenceElement.removeAttribute(ARIA_EXPANDED);
|
|
23467
|
+
manager$1.unregisterElement(effectiveReferenceElement);
|
|
23406
23468
|
};
|
|
23407
23469
|
this.hide = () => {
|
|
23408
23470
|
this.open = false;
|
|
@@ -23582,6 +23644,7 @@ class Popover {
|
|
|
23582
23644
|
"$flags$": 9,
|
|
23583
23645
|
"$tagName$": "calcite-popover",
|
|
23584
23646
|
"$members$": {
|
|
23647
|
+
"autoClose": [516, "auto-close"],
|
|
23585
23648
|
"closeButton": [516, "close-button"],
|
|
23586
23649
|
"dismissible": [516],
|
|
23587
23650
|
"disableFlip": [516, "disable-flip"],
|
|
@@ -23604,7 +23667,7 @@ class Popover {
|
|
|
23604
23667
|
},
|
|
23605
23668
|
"$listeners$": undefined,
|
|
23606
23669
|
"$lazyBundleId$": "-",
|
|
23607
|
-
"$attrsToReflect$": [["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"]]
|
|
23670
|
+
"$attrsToReflect$": [["autoClose", "auto-close"], ["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"]]
|
|
23608
23671
|
}; }
|
|
23609
23672
|
}
|
|
23610
23673
|
|
|
@@ -23612,10 +23675,12 @@ const popoverManagerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@k
|
|
|
23612
23675
|
|
|
23613
23676
|
/**
|
|
23614
23677
|
* @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.
|
|
23678
|
+
* @deprecated No longer required for popover usage.
|
|
23615
23679
|
*/
|
|
23616
23680
|
class PopoverManager {
|
|
23617
23681
|
constructor(hostRef) {
|
|
23618
23682
|
registerInstance(this, hostRef);
|
|
23683
|
+
this.mutationObserver = createObserver();
|
|
23619
23684
|
// --------------------------------------------------------------------------
|
|
23620
23685
|
//
|
|
23621
23686
|
// Properties
|
|
@@ -23625,28 +23690,28 @@ class PopoverManager {
|
|
|
23625
23690
|
* CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
|
|
23626
23691
|
* @default `[data-calcite-popover-reference]`
|
|
23627
23692
|
*/
|
|
23628
|
-
this.selector =
|
|
23693
|
+
this.selector = "[data-calcite-popover-reference]";
|
|
23629
23694
|
/**
|
|
23630
23695
|
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
23631
23696
|
*/
|
|
23632
23697
|
this.autoClose = false;
|
|
23633
|
-
|
|
23634
|
-
|
|
23635
|
-
|
|
23636
|
-
|
|
23637
|
-
|
|
23638
|
-
|
|
23639
|
-
|
|
23640
|
-
|
|
23641
|
-
|
|
23642
|
-
|
|
23643
|
-
|
|
23644
|
-
|
|
23645
|
-
|
|
23646
|
-
|
|
23647
|
-
|
|
23648
|
-
|
|
23649
|
-
|
|
23698
|
+
}
|
|
23699
|
+
autoCloseHandler() {
|
|
23700
|
+
this.setAutoClose();
|
|
23701
|
+
}
|
|
23702
|
+
// --------------------------------------------------------------------------
|
|
23703
|
+
//
|
|
23704
|
+
// Lifecycle
|
|
23705
|
+
//
|
|
23706
|
+
// --------------------------------------------------------------------------
|
|
23707
|
+
connectedCallback() {
|
|
23708
|
+
var _a;
|
|
23709
|
+
this.setAutoClose();
|
|
23710
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
23711
|
+
}
|
|
23712
|
+
disconnectedCallback() {
|
|
23713
|
+
var _a;
|
|
23714
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
23650
23715
|
}
|
|
23651
23716
|
// --------------------------------------------------------------------------
|
|
23652
23717
|
//
|
|
@@ -23656,27 +23721,19 @@ class PopoverManager {
|
|
|
23656
23721
|
render() {
|
|
23657
23722
|
return hAsync("slot", null);
|
|
23658
23723
|
}
|
|
23659
|
-
|
|
23724
|
+
// --------------------------------------------------------------------------
|
|
23660
23725
|
//
|
|
23661
|
-
//
|
|
23726
|
+
// Private Methods
|
|
23662
23727
|
//
|
|
23663
|
-
|
|
23664
|
-
|
|
23728
|
+
// --------------------------------------------------------------------------
|
|
23729
|
+
setAutoClose() {
|
|
23665
23730
|
const { autoClose, el } = this;
|
|
23666
|
-
|
|
23667
|
-
const composedPath = event.composedPath();
|
|
23668
|
-
const popover = this.queryPopover(composedPath);
|
|
23669
|
-
if (popover) {
|
|
23670
|
-
popover.toggle();
|
|
23671
|
-
return;
|
|
23672
|
-
}
|
|
23673
|
-
if (autoClose) {
|
|
23674
|
-
queryElementsRoots(el, popoverSelector)
|
|
23675
|
-
.filter((popover) => popover.open && !composedPath.includes(popover))
|
|
23676
|
-
.forEach((popover) => popover.toggle(false));
|
|
23677
|
-
}
|
|
23731
|
+
el.querySelectorAll("calcite-popover").forEach((popover) => (popover.autoClose = autoClose));
|
|
23678
23732
|
}
|
|
23679
23733
|
get el() { return getElement(this); }
|
|
23734
|
+
static get watchers() { return {
|
|
23735
|
+
"autoClose": ["autoCloseHandler"]
|
|
23736
|
+
}; }
|
|
23680
23737
|
static get style() { return popoverManagerCss; }
|
|
23681
23738
|
static get cmpMeta() { return {
|
|
23682
23739
|
"$flags$": 9,
|
|
@@ -23685,7 +23742,7 @@ class PopoverManager {
|
|
|
23685
23742
|
"selector": [1],
|
|
23686
23743
|
"autoClose": [516, "auto-close"]
|
|
23687
23744
|
},
|
|
23688
|
-
"$listeners$":
|
|
23745
|
+
"$listeners$": undefined,
|
|
23689
23746
|
"$lazyBundleId$": "-",
|
|
23690
23747
|
"$attrsToReflect$": [["autoClose", "auto-close"]]
|
|
23691
23748
|
}; }
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{c as n}from"./p-b2caaa6b.js";import{h as t}from"./p-cb4a4c11.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,s=n(o,"form");if(!s||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(s,o))return;t.formEl=s,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const u=(t.onFormReset||c).bind(t);s.addEventListener("reset",u),i.add(o)}function c(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function s(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function u(n,t){n.defaultValue=t}function a(n,t,o){var i;const{defaultValue:r,disabled:c,name:s,required:u}=n;t.defaultValue=r,t.disabled=c,t.name=s,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",c||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const l=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,c=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void c.forEach((n=>n.remove()));const s=Array.isArray(i)?i:[i],u=[],l=new Set;let f;c.forEach((t=>{const e=s.find((n=>n==t.value));null!=e?(l.add(e),a(n,t,e)):u.push(t)})),s.forEach((t=>{if(l.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),a(n,e,t)})),f&&t.append(f),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{l as H,u as a,r as c,s as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as o}from"./p-cb4a4c11.js";import{g as r}from"./p-fa493d09.js";import{a as n,f as s}from"./p-b2caaa6b.js";import{c,d,g as l}from"./p-ea01de75.js";import{c as h,d as m,H as p}from"./p-07e641ba.js";import{g as b}from"./p-be653c75.js";import{u}from"./p-ad7a67c5.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-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:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}: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]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_button}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,f as a,h as i,H as n,g as r}from"./p-cb4a4c11.js";import{a as o,f as s,u as l,c,C as p}from"./p-97fd0700.js";import{g as m}from"./p-fa493d09.js";import{q as d,h as f}from"./p-b2caaa6b.js";import{H as h}from"./p-b17f15dc.js";const b="data-calcite-popover-reference",w=class{constructor(a){t(this,a),this.calcitePopoverClose=e(this,"calcitePopoverClose",7),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",7),this.closeButton=!1,this.dismissible=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.intlClose="Close",this.guid=`calcite-popover-${m()}`,this.activeTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement();const{el:t,referenceElement:e,effectiveReferenceElement:a}=this;e&&!a&&console.warn(`${t.tagName}: reference-element id "${e}" was not found.`,{el:t}),this.addReferences(),this.createPopper()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&t.setAttribute("aria-expanded",e.toString())},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();t.setAttribute(b,e),t.setAttribute("aria-controls",e),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&(t.removeAttribute(b),t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded"))},this.hide=()=>{this.open=!1},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.open?this.calcitePopoverOpen.emit():this.calcitePopoverClose.emit())}}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setFilteredPlacements()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),this.destroyPopper()}async reposition(){const{popper:t,el:e,placement:a}=this,i=this.getModifiers();t?await l({el:e,modifiers:i,placement:a,popper:t}):this.createPopper()}async setFocus(t){var e;const{closeButtonEl:i}=this;if("close-button"===t&&i)return a(i),void i.setFocus();null===(e=this.el)||void 0===e||e.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?d(e,{id:t}):t)||null}getModifiers(){const{arrowEl:t,disableFlip:e,disablePointer:a,offsetDistance:i,offsetSkidding:n,filteredFlipPlacements:r}=this,o={name:"flip",enabled:!e};r&&(o.options={fallbackPlacements:r});const s={name:"arrow",enabled:!a};return t&&(s.options={element:t}),[s,o,{name:"offset",enabled:!0,options:{offset:[n,i]}},{name:"eventListeners",enabled:this.open}]}createPopper(){this.destroyPopper();const{el:t,placement:e,effectiveReferenceElement:a,overlayPositioning:i}=this,n=this.getModifiers();this.popper=c({el:t,modifiers:n,overlayPositioning:i,placement:e,referenceEl:a})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}renderCloseButton(){const{dismissible:t,closeButton:e,intlClose:a}=this;return t||e?i("div",{class:"close-button-container"},i("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,text:a},i("calcite-icon",{icon:"x",scale:"m"}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,a=t?i(h,{class:"heading",level:e||2},t):null;return a?i("div",{class:"header"},a,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:a,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:i("div",{class:"arrow",ref:t=>this.arrowEl=t});return i(n,{"aria-hidden":l.toString(),"aria-label":a,"calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},i("div",{class:{[p.animation]:!0,[p.animationActive]:s},onTransitionEnd:this.transitionEnd},c,i("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),i("div",{class:"content"},i("slot",null)),e?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};w.style='@-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:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.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}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([data-popper-placement][data-popper-reference-hidden]){pointer-events:none;opacity:0}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}';const u=class{constructor(e){t(this,e),this.selector=`[${b}]`,this.autoClose=!1,this.queryPopover=t=>{const{el:e}=this;if(!t.includes(e))return null;const a=t.find((t=>{var e;return null===(e=null==t?void 0:t.hasAttribute)||void 0===e?void 0:e.call(t,b)}));if(!a)return null;const i=a.getAttribute(b);return d(e,{id:i})}}render(){return i("slot",null)}closeOpenPopovers(t){const{autoClose:e,el:a}=this,i=t.composedPath(),n=this.queryPopover(i);n?n.toggle():e&&f(a,"calcite-popover").filter((t=>t.open&&!i.includes(t))).forEach((t=>t.toggle(!1)))}get el(){return r(this)}};u.style="@-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:block}";export{w as calcite_popover,u as calcite_popover_manager}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-31197ab6.system.js","./p-2e5debed.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var s;var c={childList:true};function i(e){if(!s){s=n("mutation",u)}s.observe(e.el,c)}function o(e){r.delete(e.el);u(s.takeRecords());s.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];s.observe(i,c)}}function u(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{a,r as t,h as i,H as n,g as e}from"./p-cb4a4c11.js";import{a as r}from"./p-b2caaa6b.js";import{c as s}from"./p-6aa710a4.js";import"./p-fa493d09.js";const o={},c={},l={s:16,m:24,l:32};const m=class{constructor(a){t(this,a),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var a;null===(a=this.intersectionObserver)||void 0===a||a.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:a,flipRtl:t,pathData:e,scale:s,textLabel:o}=this,c=r(a),m=l[s],h=!!o,f=[].concat(e||"");return i(n,{"aria-hidden":(!h).toString(),"aria-label":h?o:null,role:h?"img":null},i("svg",{class:{"flip-rtl":"rtl"===c&&t,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((a=>i("path","string"==typeof a?{d:a}:{d:a.d,opacity:"opacity"in a?a.opacity:1})))))}async loadIconPathData(){const{icon:t,scale:i,visible:n}=this;t&&n&&(this.pathData=await async function({icon:t,scale:i}){const n=l[i],e=function(a){const t=!isNaN(Number(a.charAt(0))),i=a.split("-");return 1===i.length?t?`i${a}`:a:i.map(((a,i)=>0===i?t?`i${a.toUpperCase()}`:a:a.charAt(0).toUpperCase()+a.slice(1))).join("")}(t),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(o[s])return o[s];c[s]||(c[s]=fetch(a(`./assets/icon/${s}.json`)).then((a=>a.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const m=await c[s];return o[s]=m,m}({icon:t,scale:i}))}waitUntilVisible(a){this.intersectionObserver=s("intersection",(t=>{t.forEach((t=>{t.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,a())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):a()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style="@-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;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{m as calcite_icon}
|