@esri/calcite-components 1.0.0-next.444 → 1.0.0-next.445
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-f4f8f027.entry.js → p-01713417.entry.js} +2 -2
- package/dist/calcite/{p-c08b646f.system.entry.js → p-02fd2883.system.entry.js} +2 -2
- package/dist/calcite/p-041b61cd.js +6 -0
- package/dist/calcite/{p-5bd4a7de.entry.js → p-05751f2e.entry.js} +2 -2
- package/dist/calcite/p-07e641ba.js +6 -0
- package/dist/calcite/p-090880ec.entry.js +6 -0
- package/dist/calcite/{p-1d03b887.system.entry.js → p-0b025cd8.system.entry.js} +2 -2
- package/dist/calcite/{p-0d1e261a.system.entry.js → p-0ccf95ca.system.entry.js} +2 -2
- package/dist/calcite/p-0e9766c8.entry.js +6 -0
- package/dist/calcite/{p-2497491e.system.entry.js → p-0f5a49ed.system.entry.js} +2 -2
- package/dist/calcite/{p-d4e98f43.entry.js → p-0f89e70c.entry.js} +2 -2
- package/dist/calcite/{p-bc52abff.system.entry.js → p-108d9717.system.entry.js} +2 -2
- package/dist/calcite/{p-46abf265.system.entry.js → p-11ba757d.system.entry.js} +2 -2
- package/dist/calcite/{p-2155bd03.system.entry.js → p-133372fd.system.entry.js} +2 -2
- package/dist/calcite/{p-87fe1b82.system.entry.js → p-14ec9332.system.entry.js} +2 -2
- package/dist/calcite/{p-593cfd0e.system.entry.js → p-161c0fe3.system.entry.js} +2 -2
- package/dist/calcite/{p-f6c08ab0.system.js → p-16dde710.system.js} +1 -1
- package/dist/calcite/{p-e014cab3.system.js → p-1d36af45.system.js} +1 -1
- package/dist/calcite/{p-41fd2e60.entry.js → p-1deaa010.entry.js} +2 -2
- package/dist/calcite/{p-659bd42a.entry.js → p-1f2f75cb.entry.js} +2 -2
- package/dist/calcite/{p-fe5db1e9.system.entry.js → p-204cff7c.system.entry.js} +2 -2
- package/dist/calcite/{p-6c97aaa7.js → p-253921ef.js} +1 -1
- package/dist/calcite/{p-7b3a4121.system.js → p-258de3b5.system.js} +1 -1
- package/dist/calcite/{p-387d172e.entry.js → p-25ee06e8.entry.js} +2 -2
- package/dist/calcite/{p-68dbf9ed.entry.js → p-266d8bf5.entry.js} +2 -2
- package/dist/calcite/{p-2eaa7fd3.system.entry.js → p-26a03754.system.entry.js} +2 -2
- package/dist/calcite/{p-19d19990.entry.js → p-27627646.entry.js} +2 -2
- package/dist/calcite/p-27bf89cf.system.js +6 -0
- package/dist/calcite/{p-8278746f.entry.js → p-27d2b999.entry.js} +2 -2
- package/dist/calcite/{p-644fa8aa.system.entry.js → p-28383893.system.entry.js} +2 -2
- package/dist/calcite/{p-c9c11da7.system.entry.js → p-28ab1bdc.system.entry.js} +2 -2
- package/dist/calcite/{p-845b388c.system.entry.js → p-29ffb1a4.system.entry.js} +2 -2
- package/dist/calcite/{p-e49d12ed.entry.js → p-2d00654f.entry.js} +2 -2
- package/dist/calcite/{p-a2f2540f.entry.js → p-2daf552b.entry.js} +2 -2
- package/dist/calcite/{p-eb1ae57a.system.js → p-2e5debed.system.js} +1 -1
- package/dist/calcite/{p-10af5f7b.system.entry.js → p-2ef6c164.system.entry.js} +2 -2
- package/dist/calcite/{p-01b6658d.entry.js → p-2ffe62e7.entry.js} +2 -2
- package/dist/calcite/{p-c49a2130.system.js → p-31197ab6.system.js} +1 -1
- package/dist/calcite/{p-75070683.system.js → p-311f6ae3.system.js} +3 -3
- package/dist/calcite/{p-f0e74126.system.entry.js → p-319fca0a.system.entry.js} +3 -3
- package/dist/calcite/{p-90e1a716.js → p-336577c6.js} +1 -1
- package/dist/calcite/{p-9875a0dd.system.js → p-34e35997.system.js} +2 -2
- package/dist/calcite/{p-2a2041ca.js → p-355798dd.js} +1 -1
- package/dist/calcite/{p-b5ef24f6.entry.js → p-3746cde8.entry.js} +2 -2
- package/dist/calcite/{p-9ef15c40.system.entry.js → p-37d36485.system.entry.js} +2 -2
- package/dist/calcite/{p-58a143c6.system.entry.js → p-381ae536.system.entry.js} +2 -2
- package/dist/calcite/{p-7d3aeca6.system.js → p-390993de.system.js} +2 -2
- package/dist/calcite/{p-ccacd403.entry.js → p-39bc7480.entry.js} +2 -2
- package/dist/calcite/{p-f8bf27e8.js → p-3b2f0536.js} +2 -2
- package/dist/calcite/{p-9dafdde4.entry.js → p-3dba8986.entry.js} +2 -2
- package/dist/calcite/{p-bd4422cb.system.js → p-3fea8ac9.system.js} +1 -1
- package/dist/calcite/{p-05d12b58.system.entry.js → p-4039990d.system.entry.js} +2 -2
- package/dist/calcite/{p-12eeeae7.entry.js → p-42dc5adc.entry.js} +2 -2
- package/dist/calcite/{p-3c239dda.system.entry.js → p-4393b27e.system.entry.js} +3 -3
- package/dist/calcite/{p-e356de46.entry.js → p-47872617.entry.js} +2 -2
- package/dist/calcite/{p-799c8be8.entry.js → p-4985c997.entry.js} +2 -2
- package/dist/calcite/{p-4a2c7350.system.js → p-4a13b25d.system.js} +1 -1
- package/dist/calcite/{p-92add9de.system.entry.js → p-4a910e1a.system.entry.js} +2 -2
- package/dist/calcite/{p-6f27e187.entry.js → p-4b259c5a.entry.js} +2 -2
- package/dist/calcite/{p-a736b10c.system.entry.js → p-4bbc21ae.system.entry.js} +2 -2
- package/dist/calcite/{p-2b39fb9c.system.entry.js → p-4cff6ed2.system.entry.js} +2 -2
- package/dist/calcite/{p-45517b9f.system.entry.js → p-50b46f23.system.entry.js} +2 -2
- package/dist/calcite/{p-05a48bd3.system.entry.js → p-548dfc90.system.entry.js} +3 -3
- package/dist/calcite/{p-7be122e2.entry.js → p-5500906f.entry.js} +2 -2
- package/dist/calcite/{p-de3717d7.entry.js → p-569ab61c.entry.js} +2 -2
- package/dist/calcite/{p-5f90a2e2.js → p-57d67d2d.js} +1 -1
- package/dist/calcite/{p-5bd49724.system.js → p-58a52a1c.system.js} +1 -1
- package/dist/calcite/{p-0c4359aa.system.entry.js → p-5a60f994.system.entry.js} +2 -2
- package/dist/calcite/{p-c0d4febc.system.js → p-5bf8f6e9.system.js} +2 -2
- package/dist/calcite/{p-8b7e56e1.system.js → p-5e296f6a.system.js} +2 -2
- package/dist/calcite/{p-3a6c05ea.entry.js → p-6723c6d8.entry.js} +2 -2
- package/dist/calcite/{p-bc62116d.js → p-6aa710a4.js} +1 -1
- package/dist/calcite/{p-31631012.system.entry.js → p-6bef1081.system.entry.js} +2 -2
- package/dist/calcite/{p-d6a992e2.entry.js → p-74c3913a.entry.js} +2 -2
- package/dist/calcite/{p-e632beb8.system.entry.js → p-7c2843ca.system.entry.js} +2 -2
- package/dist/calcite/{p-36865db8.system.entry.js → p-7d21684c.system.entry.js} +2 -2
- package/dist/calcite/{p-bfb5215c.entry.js → p-7ebc43e6.entry.js} +2 -2
- package/dist/calcite/{p-c6ad10d3.system.entry.js → p-80e9f473.system.entry.js} +2 -2
- package/dist/calcite/{p-7a57ed4c.entry.js → p-8491b37f.entry.js} +2 -2
- package/dist/calcite/{p-0d0a9c05.system.entry.js → p-84d89c27.system.entry.js} +2 -2
- package/dist/calcite/{p-7384806e.system.entry.js → p-886b7bfa.system.entry.js} +2 -2
- package/dist/calcite/{p-a5dd1e8d.system.entry.js → p-8b3108fe.system.entry.js} +2 -2
- package/dist/calcite/{p-1b52514a.system.entry.js → p-8b808b4a.system.entry.js} +2 -2
- package/dist/calcite/{p-539049e0.entry.js → p-8b8402ab.entry.js} +2 -2
- package/dist/calcite/{p-2807a4dc.entry.js → p-8eb729b2.entry.js} +2 -2
- package/dist/calcite/{p-0303e573.entry.js → p-8f061a44.entry.js} +2 -2
- package/dist/calcite/{p-9bb2dc46.entry.js → p-926b60ef.entry.js} +2 -2
- package/dist/calcite/{p-e30b9222.entry.js → p-9500d5a1.entry.js} +2 -2
- package/dist/calcite/{p-b27670da.system.entry.js → p-95bfbf7e.system.entry.js} +2 -2
- package/dist/calcite/{p-e3aefa05.system.entry.js → p-97dd099f.system.entry.js} +2 -2
- package/dist/calcite/{p-ae4550a5.js → p-97fd0700.js} +2 -2
- package/dist/calcite/{p-042de3c3.entry.js → p-9988579e.entry.js} +2 -2
- package/dist/calcite/{p-b7e2bd0b.system.entry.js → p-99b389a4.system.entry.js} +2 -2
- package/dist/calcite/{p-dd60aff0.system.js → p-99b56a57.system.js} +1 -1
- package/dist/calcite/{p-f6610385.system.entry.js → p-9ffb0f8e.system.entry.js} +2 -2
- package/dist/calcite/{p-9007a3ab.system.js → p-a01d5702.system.js} +1 -1
- package/dist/calcite/{p-61a20d8d.entry.js → p-a284f057.entry.js} +2 -2
- package/dist/calcite/{p-1ab1e1d8.entry.js → p-a39652a8.entry.js} +2 -2
- package/dist/calcite/{p-b4748dfe.entry.js → p-a39a6120.entry.js} +2 -2
- package/dist/calcite/{p-464554b8.entry.js → p-a4be4ad7.entry.js} +2 -2
- package/dist/calcite/{p-db18576e.entry.js → p-a544af14.entry.js} +2 -2
- package/dist/calcite/{p-b546d056.system.entry.js → p-a6c8b4f4.system.entry.js} +2 -2
- package/dist/calcite/{p-7c2d0fb2.system.js → p-a7793b59.system.js} +1 -1
- package/dist/calcite/{p-29f1bbae.system.entry.js → p-aa8cd021.system.entry.js} +2 -2
- package/dist/calcite/{p-d993e4e4.system.entry.js → p-abc466c1.system.entry.js} +2 -2
- package/dist/calcite/{p-3bd77f1f.js → p-ad7a67c5.js} +1 -1
- package/dist/calcite/{p-2f6ef9cf.entry.js → p-ae1dd9d3.entry.js} +2 -2
- package/dist/calcite/{p-acaf30cd.entry.js → p-b02dac57.entry.js} +2 -2
- package/dist/calcite/{p-83597720.entry.js → p-b0a06984.entry.js} +2 -2
- package/dist/calcite/{p-70120dae.entry.js → p-b0f109f2.entry.js} +2 -2
- package/dist/calcite/p-b17f15dc.js +6 -0
- package/dist/calcite/p-b1b979a8.system.js +6 -0
- package/dist/calcite/{p-c75321f8.js → p-b2caaa6b.js} +2 -2
- package/dist/calcite/p-b31c76ec.system.js +6 -0
- package/dist/calcite/{p-c3f0ae43.js → p-b4d3d3e3.js} +2 -2
- package/dist/calcite/{p-0c5ba25d.system.entry.js → p-b8d7f7c8.system.entry.js} +2 -2
- package/dist/calcite/{p-3fbf2411.entry.js → p-b9a581df.entry.js} +2 -2
- package/dist/calcite/{p-30137ed8.entry.js → p-bbb08025.entry.js} +2 -2
- package/dist/calcite/p-bcbdb44e.entry.js +6 -0
- package/dist/calcite/{p-db8a423f.entry.js → p-be089f07.entry.js} +2 -2
- package/dist/calcite/{p-d1ebf010.js → p-be653c75.js} +1 -1
- package/dist/calcite/{p-38c7596d.entry.js → p-bf8a1a90.entry.js} +2 -2
- package/dist/calcite/{p-0a7a6610.js → p-cb4a4c11.js} +1 -1
- package/dist/calcite/{p-5bff717d.entry.js → p-cbed5ee5.entry.js} +2 -2
- package/dist/calcite/{p-79208d9c.system.entry.js → p-cc06ca0e.system.entry.js} +2 -2
- package/dist/calcite/{p-89667dfb.entry.js → p-cc496db8.entry.js} +2 -2
- package/dist/calcite/{p-25930858.entry.js → p-ced91d61.entry.js} +2 -2
- package/dist/calcite/{p-524dc273.system.js → p-d0dd920e.system.js} +2 -2
- package/dist/calcite/p-d1b2d2c5.js +6 -0
- package/dist/calcite/{p-91d3eb0f.system.entry.js → p-d3a24a92.system.entry.js} +2 -2
- package/dist/calcite/{p-c86c2268.system.entry.js → p-d49affe7.system.entry.js} +2 -2
- package/dist/calcite/{p-c24c2b11.system.js → p-d4f2f493.system.js} +2 -2
- package/dist/calcite/{p-5052a968.system.js → p-d57599f3.system.js} +1 -1
- package/dist/calcite/{p-0b6390de.js → p-d647b605.js} +2 -2
- package/dist/calcite/{p-68d0bb97.system.js → p-d6ef83f2.system.js} +1 -1
- package/dist/calcite/{p-e8ea477f.system.entry.js → p-d9639ef6.system.entry.js} +2 -2
- package/dist/calcite/{p-671987d4.entry.js → p-dac748b6.entry.js} +2 -2
- package/dist/calcite/{p-892b9d15.system.js → p-dcd26c5b.system.js} +2 -2
- package/dist/calcite/{p-ce2197f6.entry.js → p-dcd66dbe.entry.js} +2 -2
- package/dist/calcite/{p-4cbe99ba.entry.js → p-dd148aa5.entry.js} +2 -2
- package/dist/calcite/{p-7b224b0e.js → p-dd2433b8.js} +1 -1
- package/dist/calcite/{p-c31700cb.system.entry.js → p-de88a90d.system.entry.js} +2 -2
- package/dist/calcite/{p-a5197ea3.system.entry.js → p-df191ce8.system.entry.js} +2 -2
- package/dist/calcite/{p-a6e52d69.system.entry.js → p-e455cf93.system.entry.js} +2 -2
- package/dist/calcite/{p-c775d247.entry.js → p-e5147246.entry.js} +2 -2
- package/dist/calcite/{p-3fb3a1f8.system.entry.js → p-e5c97b3c.system.entry.js} +2 -2
- package/dist/calcite/{p-217e64f3.system.entry.js → p-e798397b.system.entry.js} +2 -2
- package/dist/calcite/{p-f34fab2a.system.entry.js → p-e7b32606.system.entry.js} +2 -2
- package/dist/calcite/{p-64859f8a.js → p-ea01de75.js} +2 -2
- package/dist/calcite/{p-9e1e4431.js → p-ec8f422f.js} +1 -1
- package/dist/calcite/{p-0fb02355.system.entry.js → p-f3465688.system.entry.js} +2 -2
- package/dist/calcite/p-f37cb564.js +6 -0
- package/dist/calcite/{p-b682502a.js → p-f53b0e25.js} +1 -1
- package/dist/calcite/{p-b5b717a7.entry.js → p-f6795331.entry.js} +2 -2
- package/dist/calcite/{p-1b346b02.system.js → p-f713dcde.system.js} +2 -2
- package/dist/calcite/{p-ea1cf5fe.system.entry.js → p-f7d5923a.system.entry.js} +2 -2
- package/dist/calcite/{p-1b034e34.system.entry.js → p-f984a8fb.system.entry.js} +2 -2
- package/dist/calcite/{p-ddff97da.js → p-fa493d09.js} +1 -1
- package/dist/calcite/{p-5eb6a996.system.js → p-fbcdf49c.system.js} +1 -1
- package/dist/calcite/{p-d3c30da9.js → p-fe25dd66.js} +1 -1
- package/dist/calcite/{p-15825e50.entry.js → p-fecc0290.entry.js} +2 -2
- package/dist/calcite/{p-c2d85279.entry.js → p-ff299c31.entry.js} +2 -2
- package/dist/calcite/{p-57b0c2ec.system.entry.js → p-ff6ac4c3.system.entry.js} +3 -3
- package/dist/calcite/p-ff8e5fb9.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-703de2d7.js → ExpandToggle-1d84a30f.js} +6 -6
- package/dist/cjs/{Heading-7305ce90.js → Heading-6c577985.js} +2 -2
- package/dist/cjs/{array-519e78d4.js → array-ad1d1402.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 +10 -10
- 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 +12 -12
- 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 +6 -6
- 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 +161 -132
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-a45ff0b1.js → conditionalSlot-df594efd.js} +3 -3
- package/dist/cjs/{debounce-d9c70553.js → debounce-24461fe6.js} +1 -1
- package/dist/cjs/{dom-af03376e.js → dom-9a2cf963.js} +2 -2
- package/dist/cjs/{forIn-622498a8.js → forIn-90fffb54.js} +2 -2
- package/dist/cjs/{form-a85a9196.js → form-9e6d03ef.js} +3 -3
- package/dist/cjs/{guid-905be3ef.js → guid-618238ed.js} +1 -1
- package/dist/cjs/{index-364d3f89.js → index-2e55547d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-38b3c4c0.js → interactive-1f751ab7.js} +1 -1
- package/dist/cjs/{interfaces-1645f86b.js → interfaces-c964aaab.js} +1 -1
- package/dist/cjs/{label-687fe03f.js → label-1069d8bd.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-09c29295.js → locale-8fe40b14.js} +2 -2
- package/dist/cjs/{math-94a03dd3.js → math-d3124585.js} +1 -1
- package/dist/cjs/{number-30001679.js → number-80fc2025.js} +1 -1
- package/dist/cjs/{observers-fc58ce1d.js → observers-c763e03a.js} +1 -1
- package/dist/cjs/{popper-b1a613ed.js → popper-8e628970.js} +2 -2
- package/dist/cjs/{resources-d41ea4f4.js → resources-1233bb3e.js} +5 -5
- package/dist/cjs/{resources-cd0710d6.js → resources-245a82b3.js} +1 -1
- package/dist/cjs/{resources-2c421b78.js → resources-7d180442.js} +1 -1
- package/dist/cjs/{resources-8a0614d4.js → resources-cc8ca6f0.js} +3 -3
- package/dist/cjs/{sortable.esm-37167d4f.js → sortable.esm-42e8dec9.js} +1 -1
- package/dist/cjs/{utils-6571fa3b.js → utils-0d52eee6.js} +1 -1
- package/dist/collection/collection-manifest.json +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 +3 -3
- 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 +1 -1
- 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 +2 -2
- 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/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/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 +157 -0
- package/dist/collection/components/tooltip/resources.js +1 -2
- package/dist/collection/components/tooltip/tooltip.js +6 -10
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +5 -160
- 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 +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +11 -17
- package/dist/components/action-menu.js +11 -17
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +13 -19
- 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 +13 -19
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +15 -21
- 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 +1 -1
- 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 +1 -1
- 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 +13 -19
- 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 +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +47 -2
- package/dist/components/calcite-tooltip.js +167 -14
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +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 +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/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 +1 -1
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +12 -7
- package/dist/components/resources3.js +7 -10
- package/dist/components/resources4.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 +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +161 -132
- package/dist/esm/{ExpandToggle-d94924cf.js → ExpandToggle-2718b8f6.js} +6 -6
- package/dist/esm/{Heading-0584e231.js → Heading-0e4aea69.js} +2 -2
- package/dist/esm/{array-2d086958.js → array-9f67c25d.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 +10 -10
- 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 +12 -12
- 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 +6 -6
- 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 +161 -132
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-43c64211.js → conditionalSlot-2522e30f.js} +3 -3
- package/dist/esm/{debounce-fdbf9d47.js → debounce-1b741867.js} +1 -1
- package/dist/esm/{dom-89411c4a.js → dom-db598077.js} +2 -2
- package/dist/esm/{forIn-902087eb.js → forIn-c5b795e6.js} +2 -2
- package/dist/esm/{form-5c4b306a.js → form-61a289f0.js} +3 -3
- package/dist/esm/{guid-2b811065.js → guid-9fa375f5.js} +1 -1
- package/dist/esm/{index-78a05b47.js → index-894dfc81.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-439c7b37.js → interactive-09f3618d.js} +1 -1
- package/dist/esm/{interfaces-862f5018.js → interfaces-a5204d8f.js} +1 -1
- package/dist/esm/{label-f73534d4.js → label-6c0e1ae1.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-86c2799c.js → locale-3981cfde.js} +2 -2
- package/dist/esm/{math-41511a90.js → math-acdc37ac.js} +1 -1
- package/dist/esm/{number-a2a23577.js → number-84278938.js} +1 -1
- package/dist/esm/{observers-595cf2b6.js → observers-9608d2fa.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-e9e894c5.js → popper-7f6cf197.js} +2 -2
- package/dist/esm/{resources-9e14d883.js → resources-2275dd9a.js} +3 -3
- package/dist/esm/{resources-13445bc5.js → resources-7941421d.js} +5 -5
- package/dist/esm/{resources-37b08111.js → resources-b064c016.js} +1 -1
- package/dist/esm/{resources-f7881ad4.js → resources-b0ef8228.js} +1 -1
- package/dist/esm/{sortable.esm-b647966a.js → sortable.esm-a9eb30f8.js} +1 -1
- package/dist/esm/{utils-74309932.js → utils-442279d6.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-d94924cf.js → ExpandToggle-2718b8f6.js} +2 -2
- package/dist/esm-es5/{Heading-0584e231.js → Heading-0e4aea69.js} +2 -2
- package/dist/esm-es5/{array-2d086958.js → array-9f67c25d.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 +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-43c64211.js → conditionalSlot-2522e30f.js} +2 -2
- package/dist/esm-es5/{debounce-fdbf9d47.js → debounce-1b741867.js} +1 -1
- package/dist/esm-es5/{dom-89411c4a.js → dom-db598077.js} +2 -2
- package/dist/esm-es5/{forIn-902087eb.js → forIn-c5b795e6.js} +2 -2
- package/dist/esm-es5/{form-5c4b306a.js → form-61a289f0.js} +2 -2
- package/dist/esm-es5/{guid-2b811065.js → guid-9fa375f5.js} +1 -1
- package/dist/esm-es5/{index-78a05b47.js → index-894dfc81.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-439c7b37.js → interactive-09f3618d.js} +1 -1
- package/dist/esm-es5/{interfaces-862f5018.js → interfaces-a5204d8f.js} +1 -1
- package/dist/esm-es5/{label-f73534d4.js → label-6c0e1ae1.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-86c2799c.js → locale-3981cfde.js} +2 -2
- package/dist/esm-es5/{math-41511a90.js → math-acdc37ac.js} +1 -1
- package/dist/esm-es5/{number-a2a23577.js → number-84278938.js} +1 -1
- package/dist/esm-es5/{observers-595cf2b6.js → observers-9608d2fa.js} +1 -1
- package/dist/esm-es5/{popper-e9e894c5.js → popper-7f6cf197.js} +2 -2
- package/dist/esm-es5/{resources-9e14d883.js → resources-2275dd9a.js} +2 -2
- package/dist/esm-es5/{resources-13445bc5.js → resources-7941421d.js} +2 -2
- package/dist/esm-es5/{resources-37b08111.js → resources-b064c016.js} +1 -1
- package/dist/esm-es5/{resources-f7881ad4.js → resources-b0ef8228.js} +1 -1
- package/dist/esm-es5/{sortable.esm-b647966a.js → sortable.esm-a9eb30f8.js} +1 -1
- package/dist/esm-es5/{utils-74309932.js → utils-442279d6.js} +1 -1
- package/dist/extras/docs-json.json +16 -68
- 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/tooltip/TooltipManager.d.ts +27 -0
- package/dist/types/components/tooltip/resources.d.ts +0 -1
- package/dist/types/components/tooltip/tooltip.d.ts +0 -2
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -29
- package/hydrate/index.js +176 -136
- package/package.json +7 -7
- package/dist/calcite/p-07d71232.system.js +0 -6
- package/dist/calcite/p-13ee640c.entry.js +0 -6
- package/dist/calcite/p-1fbe622d.js +0 -6
- package/dist/calcite/p-4bacfbaf.js +0 -6
- package/dist/calcite/p-6fe34741.js +0 -6
- package/dist/calcite/p-70122cc7.js +0 -6
- package/dist/calcite/p-a77d4336.system.entry.js +0 -6
- package/dist/calcite/p-bc461506.system.js +0 -6
- package/dist/calcite/p-c315e35d.js +0 -6
- package/dist/calcite/p-c74c6f4d.entry.js +0 -6
- package/dist/calcite/p-ce4008c7.system.js +0 -6
- package/dist/calcite/p-f35cf374.entry.js +0 -6
- package/dist/components/resources5.js +0 -33
- package/dist/components/tooltip-manager.js +0 -172
|
@@ -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.444
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-0a7a6610.js";import{c as o}from"./p-bc62116d.js";const n=new Set;let c;const s={childList:!0};function a(t){c||(c=o("mutation",i)),c.observe(t.el,s)}function f(t){n.delete(t.el),i(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{a as c,f 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.444
|
|
5
|
-
*/
|
|
6
|
-
import{f as t,h as e}from"./p-0a7a6610.js";import{a as o}from"./p-c75321f8.js";import{S as n}from"./p-9e1e4431.js";import{S as a}from"./p-b682502a.js";const i=150,c=({actionCount:t,actionHeight:e,height:o,groupCount:n})=>Math.max(t-(({height:t,actionHeight:e,groupCount:o})=>Math.floor((t-2*o)/e))({height:o,actionHeight:e,groupCount:n}),0),l=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),r=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=l(e).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(e)}))};function s({parent:t,expanded:e}){l(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group").forEach((t=>t.expanded=e))}const p=({expanded:t,intlExpand:n,intlCollapse:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const u="rtl"===o(c),f=t?a:n,d=["chevrons-left","chevrons-right"];u&&d.reverse();const g="end"===function(t,e){var o;return t||(null===(o=e.closest("calcite-shell-panel"))||void 0===o?void 0:o.position)||"start"}(l,c),h=e("calcite-action",{icon:t?g?d[1]:d[0]:g?d[0]:d[1],onClick:i,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s}),scale:p,text:f,textEnabled:t});return r?e("calcite-tooltip-manager",null,h):h};export{p as E,r as a,c as g,i as o,l as q,s as t}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{c(a.next(t))}catch(t){o(t)}}function s(t){try{c(a["throw"](t))}catch(t){o(t)}}function c(t){t.done?i(t.value):n(t.value).then(r,s)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return c([t,e])}}function c(r){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];n=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
-
/*!
|
|
3
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-next.444
|
|
6
|
-
*/System.register(["./p-c49a2130.system.js","./p-68d0bb97.system.js","./p-c24c2b11.system.js","./p-892b9d15.system.js"],(function(t){"use strict";var e,i,a,n,o,r,s,c,l,p;return{setters:[function(t){e=t.r;i=t.h;a=t.H;n=t.g},function(t){o=t.g},function(t){r=t.a;s=t.u;c=t.c;l=t.C},function(t){p=t.q}],execute:function(){var f={container:"container",arrow:"arrow"};var m=500;var u="data-calcite-tooltip-reference";var d="aria-describedby";var h='@-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:999;-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}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-width:20rem;max-height:20rem}.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)}';var v=t("calcite_tooltip",function(){function t(t){var i=this;e(this,t);this.offsetDistance=r;this.offsetSkidding=0;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.guid="calcite-tooltip-".concat(o());this.setUpReferenceElement=function(){i.removeReferences();i.effectiveReferenceElement=i.getReferenceElement();var t=i,e=t.el,a=t.referenceElement,n=t.effectiveReferenceElement;if(a&&!n){console.warn("".concat(e.tagName,': reference-element id "').concat(a,'" was not found.'),{el:e})}i.addReferences();i.createPopper()};this.getId=function(){return i.el.id||i.guid};this.addReferences=function(){var t=i.effectiveReferenceElement;if(!t){return}var e=i.getId();t.setAttribute(u,e);t.setAttribute(d,e)};this.removeReferences=function(){var t=i.effectiveReferenceElement;if(!t){return}t.removeAttribute(u);t.removeAttribute(d)};this.show=function(){i.open=true};this.hide=function(){i.open=false}}t.prototype.offsetDistanceOffsetHandler=function(){this.reposition()};t.prototype.offsetSkiddingHandler=function(){this.reposition()};t.prototype.openHandler=function(){this.reposition()};t.prototype.placementHandler=function(){this.reposition()};t.prototype.referenceElementHandler=function(){this.setUpReferenceElement()};t.prototype.componentWillLoad=function(){this.setUpReferenceElement()};t.prototype.componentDidLoad=function(){this.reposition()};t.prototype.disconnectedCallback=function(){this.removeReferences();this.destroyPopper()};t.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,i,a,n,o;return __generator(this,(function(r){switch(r.label){case 0:t=this,e=t.popper,i=t.el,a=t.placement;n=this.getModifiers();if(!e)return[3,2];return[4,s({el:i,modifiers:n,placement:a,popper:e})];case 1:o=r.sent();return[3,3];case 2:o=this.createPopper();r.label=3;case 3:o;return[2]}}))}))};t.prototype.getReferenceElement=function(){var t=this,e=t.referenceElement,i=t.el;return(typeof e==="string"?p(i,{id:e}):e)||null};t.prototype.getModifiers=function(){var t=this,e=t.arrowEl,i=t.offsetDistance,a=t.offsetSkidding;var n={name:"arrow",enabled:true,options:{element:e}};var o={name:"offset",enabled:true,options:{offset:[a,i]}};var r={name:"eventListeners",enabled:this.open};return[n,o,r]};t.prototype.createPopper=function(){this.destroyPopper();var t=this,e=t.el,i=t.placement,a=t.effectiveReferenceElement,n=t.overlayPositioning;var o=this.getModifiers();this.popper=c({el:e,modifiers:o,placement:i,overlayPositioning:n,referenceEl:a})};t.prototype.destroyPopper=function(){var t=this.popper;if(t){t.destroy()}this.popper=null};t.prototype.render=function(){var t;var e=this;var n=this,o=n.effectiveReferenceElement,r=n.label,s=n.open;var c=o&&s;var p=!c;return i(a,{"aria-hidden":p.toString(),"aria-label":r,"calcite-hydrated-hidden":p,id:this.getId(),role:"tooltip"},i("div",{class:(t={},t[l.animation]=true,t[l.animationActive]=c,t)},i("div",{class:f.arrow,ref:function(t){return e.arrowEl=t}}),i("div",{class:f.container},i("slot",null))))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}},enumerable:false,configurable:true});return t}());v.style=h;var b="@-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}";var w=t("calcite_tooltip_manager",function(){function t(t){var i=this;e(this,t);this.hoverTimeouts=new WeakMap;this.selector="[".concat(u,"]");this.queryTooltip=function(t){var e=i.el;if(!t.includes(e)){return null}var a=t.find((function(t){var e;return(e=t===null||t===void 0?void 0:t.hasAttribute)===null||e===void 0?void 0:e.call(t,u)}));if(!a){return null}var n=a.getAttribute(u);return p(e,{id:n})};this.clearHoverTimeout=function(t){var e=i.hoverTimeouts;if(e.has(t)){window.clearTimeout(e.get(t));e.delete(t)}};this.closeExistingTooltip=function(){var t=i.tooltipEl;if(t){i.toggleTooltip(t,false)}};this.focusTooltip=function(t){var e=t.tooltip,a=t.value;i.closeExistingTooltip();if(a){i.clearHoverTimeout(e)}i.toggleTooltip(e,a)};this.toggleTooltip=function(t,e){t.open=e;if(e){i.tooltipEl=t}};this.hoverToggle=function(t){var e=t.tooltip,a=t.value;var n=i.hoverTimeouts;n.delete(e);if(a){i.closeExistingTooltip()}i.toggleTooltip(e,a)};this.hoverTooltip=function(t){var e=t.tooltip,a=t.value;i.clearHoverTimeout(e);var n=i.hoverTimeouts;var o=window.setTimeout((function(){return i.hoverToggle({tooltip:e,value:a})}),m);n.set(e,o)};this.activeTooltipHover=function(t){var e=i,a=e.tooltipEl,n=e.hoverTimeouts;var o=t.type;if(!a){return}if(o==="mouseover"&&t.composedPath().includes(a)){i.clearHoverTimeout(a)}else if(o==="mouseout"&&!n.has(a)){i.hoverTooltip({tooltip:a,value:false})}};this.hoverEvent=function(t,e){var a=i.queryTooltip(t.composedPath());i.activeTooltipHover(t);if(!a){return}i.hoverTooltip({tooltip:a,value:e})};this.focusEvent=function(t,e){var a=i.queryTooltip(t.composedPath());if(!a||a===i.clickedTooltip){i.clickedTooltip=null;return}i.focusTooltip({tooltip:a,value:e})}}t.prototype.render=function(){return i("slot",null)};t.prototype.keyUpHandler=function(t){if(t.key==="Escape"){var e=this.tooltipEl;if(e){this.clearHoverTimeout(e);this.toggleTooltip(e,false)}}};t.prototype.mouseEnterShow=function(t){this.hoverEvent(t,true)};t.prototype.mouseLeaveHide=function(t){this.hoverEvent(t,false)};t.prototype.clickHandler=function(t){this.clickedTooltip=this.queryTooltip(t.composedPath())};t.prototype.focusShow=function(t){this.focusEvent(t,true)};t.prototype.blurHide=function(t){this.focusEvent(t,false)};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());w.style=b}}}));
|
|
@@ -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.444
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-c49a2130.system.js","./p-eb1ae57a.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 c;var s={childList:true};function i(e){if(!c){c=n("mutation",a)}c.observe(e.el,s)}function o(e){r.delete(e.el);a(c.takeRecords());c.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];c.observe(i,s)}}function a(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.444
|
|
5
|
-
*/
|
|
6
|
-
import{a as n,i as e,b as r}from"./p-5f90a2e2.js";const t=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],i=new RegExp("[.](?=.*[.])","g"),u=new RegExp("[^0-9-.]","g"),s=new RegExp(",","g");function a(n){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20})}function c(r,t){return n(r,(n=>{const r=n.replace(g(t),"-").replace(o(t),"").replace(f(t),".").replace(i,"").replace(u,"");return e(r)?r:n}))}function o(n){const e=a(n).formatToParts(1234567).find((n=>"group"===n.type)).value;return 0===e.trim().length?" ":e}function f(n){return a(n).formatToParts(1.1).find((n=>"decimal"===n.type)).value}function g(n){return a(n).formatToParts(-9).find((n=>"minusSign"===n.type)).value}function m(e,t,i=!1){return n(e,(n=>{if(n){const e=Number(r(n.replace(s,"")));if(!isNaN(e))return a(t).formatToParts(e).map((({type:n,value:e})=>{switch(n){case"group":return i?o(t):"";case"decimal":return f(t);case"minusSign":return g(t);default:return e}})).reduce(((n,e)=>n+e))}return n}))}export{t as a,c as d,f as g,m as l}
|
|
@@ -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.444
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as a,H as i,g as e}from"./p-0a7a6610.js";import{g as n}from"./p-ddff97da.js";import{a as r,u as o,c as s,C as l}from"./p-ae4550a5.js";import{q as c}from"./p-c75321f8.js";const m="data-calcite-tooltip-reference",p=class{constructor(a){t(this,a),this.offsetDistance=r,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.guid=`calcite-tooltip-${n()}`,this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement();const{el:t,referenceElement:a,effectiveReferenceElement:i}=this;a&&!i&&console.warn(`${t.tagName}: reference-element id "${a}" was not found.`,{el:t}),this.addReferences(),this.createPopper()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const a=this.getId();t.setAttribute(m,a),t.setAttribute("aria-describedby",a)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&(t.removeAttribute(m),t.removeAttribute("aria-describedby"))},this.show=()=>{this.open=!0},this.hide=()=>{this.open=!1}}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),this.destroyPopper()}async reposition(){const{popper:t,el:a,placement:i}=this,e=this.getModifiers();t?await o({el:a,modifiers:e,placement:i,popper:t}):this.createPopper()}getReferenceElement(){const{referenceElement:t,el:a}=this;return("string"==typeof t?c(a,{id:t}):t)||null}getModifiers(){const{arrowEl:t,offsetDistance:a,offsetSkidding:i}=this;return[{name:"arrow",enabled:!0,options:{element:t}},{name:"offset",enabled:!0,options:{offset:[i,a]}},{name:"eventListeners",enabled:this.open}]}createPopper(){this.destroyPopper();const{el:t,placement:a,effectiveReferenceElement:i,overlayPositioning:e}=this,n=this.getModifiers();this.popper=s({el:t,modifiers:n,placement:a,overlayPositioning:e,referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}render(){const{effectiveReferenceElement:t,label:e,open:n}=this,r=t&&n,o=!r;return a(i,{"aria-hidden":o.toString(),"aria-label":e,"calcite-hydrated-hidden":o,id:this.getId(),role:"tooltip"},a("div",{class:{[l.animation]:!0,[l.animationActive]:r}},a("div",{class:"arrow",ref:t=>this.arrowEl=t}),a("div",{class:"container"},a("slot",null))))}get el(){return e(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};p.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:999;-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}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-width:20rem;max-height:20rem}.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)}';const f=class{constructor(a){t(this,a),this.hoverTimeouts=new WeakMap,this.selector=`[${m}]`,this.queryTooltip=t=>{const{el:a}=this;if(!t.includes(a))return null;const i=t.find((t=>{var a;return null===(a=null==t?void 0:t.hasAttribute)||void 0===a?void 0:a.call(t,m)}));if(!i)return null;const e=i.getAttribute(m);return c(a,{id:e})},this.clearHoverTimeout=t=>{const{hoverTimeouts:a}=this;a.has(t)&&(window.clearTimeout(a.get(t)),a.delete(t))},this.closeExistingTooltip=()=>{const{tooltipEl:t}=this;t&&this.toggleTooltip(t,!1)},this.focusTooltip=({tooltip:t,value:a})=>{this.closeExistingTooltip(),a&&this.clearHoverTimeout(t),this.toggleTooltip(t,a)},this.toggleTooltip=(t,a)=>{t.open=a,a&&(this.tooltipEl=t)},this.hoverToggle=({tooltip:t,value:a})=>{const{hoverTimeouts:i}=this;i.delete(t),a&&this.closeExistingTooltip(),this.toggleTooltip(t,a)},this.hoverTooltip=({tooltip:t,value:a})=>{this.clearHoverTimeout(t);const{hoverTimeouts:i}=this,e=window.setTimeout((()=>this.hoverToggle({tooltip:t,value:a})),500);i.set(t,e)},this.activeTooltipHover=t=>{const{tooltipEl:a,hoverTimeouts:i}=this,{type:e}=t;a&&("mouseover"===e&&t.composedPath().includes(a)?this.clearHoverTimeout(a):"mouseout"!==e||i.has(a)||this.hoverTooltip({tooltip:a,value:!1}))},this.hoverEvent=(t,a)=>{const i=this.queryTooltip(t.composedPath());this.activeTooltipHover(t),i&&this.hoverTooltip({tooltip:i,value:a})},this.focusEvent=(t,a)=>{const i=this.queryTooltip(t.composedPath());i&&i!==this.clickedTooltip?this.focusTooltip({tooltip:i,value:a}):this.clickedTooltip=null}}render(){return a("slot",null)}keyUpHandler(t){if("Escape"===t.key){const{tooltipEl:t}=this;t&&(this.clearHoverTimeout(t),this.toggleTooltip(t,!1))}}mouseEnterShow(t){this.hoverEvent(t,!0)}mouseLeaveHide(t){this.hoverEvent(t,!1)}clickHandler(t){this.clickedTooltip=this.queryTooltip(t.composedPath())}focusShow(t){this.focusEvent(t,!0)}blurHide(t){this.focusEvent(t,!1)}get el(){return e(this)}};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{position:relative;display:block}";export{p as calcite_tooltip,f as calcite_tooltip_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.444
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-c49a2130.system.js","./p-892b9d15.system.js","./p-f6c08ab0.system.js","./p-9007a3ab.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a},function(t){o=t.S},function(t){i=t.S}],execute:function(){t("t",p);var a=t("o",150);var c=2;var u=function(t){var e=t.height,n=t.actionHeight,r=t.groupCount;return Math.floor((e-r*c)/n)};var l=t("g",(function(t){var e=t.actionCount,n=t.actionHeight,r=t.height,o=t.groupCount;return Math.max(e-u({height:r,actionHeight:n,groupCount:o}),0)}));var f=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===o.trigger:true}))}));var s=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var a=o;n.reverse().forEach((function(t){var n=0;var o=f(t).reverse();o.forEach((function(t){if(t.slot===i.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(a>0){o.some((function(t){var e=o.filter((function(t){return!t.slot}));if(e.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",i.menuActions);n++;if(n>1){a--}}return a<1}))}e(t)}))}));var v={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function h(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function p(t){var e=t.parent,n=t.expanded;f(e).filter((function(t){return t.slot!==i.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group").forEach((function(t){return t.expanded=n}))}var g=function(t){var e=t.tooltip,n=t.referenceElement,r=t.expanded,o=t.ref;if(e){e.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var d=t("E",(function(t){var e=t.expanded,o=t.intlExpand,i=t.intlCollapse,a=t.toggle,c=t.el,u=t.position,l=t.tooltip,f=t.ref,s=t.scale;var p=r(c)==="rtl";var d=e?i:o;var m=[v.chevronsLeft,v.chevronsRight];if(p){m.reverse()}var x=h(u,c)==="end";var E=x?m[1]:m[0];var b=x?m[0]:m[1];var y=n("calcite-action",{icon:e?E:b,onClick:a,ref:function(t){return g({tooltip:l,referenceElement:t,expanded:e,ref:f})},scale:s,text:d,textEnabled:e});return l?n("calcite-tooltip-manager",null,y):y}))}}}));
|
|
@@ -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.444
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,F as a,g as n}from"./p-0a7a6610.js";import{C as s,I as o,S as l}from"./p-9e1e4431.js";import{g as r,f as c}from"./p-c75321f8.js";import{g as m}from"./p-d1ebf010.js";import{g as h}from"./p-ddff97da.js";import{c as u}from"./p-bc62116d.js";import{c as p,d}from"./p-6fe34741.js";const f=["ArrowUp","ArrowDown"],b=["ArrowUp","ArrowDown","End","Home"],x=class{constructor(e){t(this,e),this.calciteActionMenuOpenChange=i(this,"calciteActionMenuOpenChange",7),this.expanded=!1,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.actionElements=[],this.mutationObserver=u("mutation",(()=>this.getActions())),this.guid=`calcite-action-menu-${h()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.activeMenuItemIndex=-1,this.connectMenuButtonEl=()=>{const{el:t,menuButtonId:i,menuId:e,open:a,label:n}=this,s=r(t,l.trigger)||this.defaultMenuButtonEl;this.menuButtonEl!==s&&(this.disconnectMenuButtonEl(),this.menuButtonEl=s,this.setTooltipReferenceElement(),s&&(s.active=a,s.setAttribute("aria-controls",e),s.setAttribute("aria-expanded",a.toString()),s.setAttribute("aria-haspopup","true"),s.id||(s.id=i),s.label||(s.label=n),s.text||(s.text=n),s.addEventListener("click",this.menuButtonClick),s.addEventListener("keydown",this.menuButtonKeyDown),s.addEventListener("keyup",this.menuButtonKeyUp)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;t&&(t.removeEventListener("click",this.menuButtonClick),t.removeEventListener("keydown",this.menuButtonKeyDown),t.removeEventListener("keyup",this.menuButtonKeyUp))},this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.setTooltipReferenceElement=()=>{const{el:t,expanded:i,menuButtonEl:e}=this,a=r(t,l.tooltip),n="SLOT"===(null==a?void 0:a.tagName)?a.assignedElements()[0]:a;"CALCITE-TOOLTIP"===(null==n?void 0:n.tagName)&&(n.referenceElement=i?null:e)},this.updateAction=(t,i)=>{const{guid:e,activeMenuItemIndex:a}=this,n=`${e}-action-${i}`;t.tabIndex=-1,t.setAttribute("role","menuitem"),t.id||(t.id=n),t.active=i===a},this.updateActions=t=>{null==t||t.forEach(this.updateAction)},this.getActions=()=>{const{el:t}=this,i=r(t,{all:!0,matches:"calcite-action"});this.updateActions(i),this.actionElements=i,this.connectMenuButtonEl()},this.menuButtonKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;this.isValidKey(i,f)&&(t.preventDefault(),e.length&&(this.toggleOpen(!0),this.handleActionNavigation(i,e)))},this.menuButtonKeyDown=t=>{const{key:i}=t;this.isValidKey(i,f)&&t.preventDefault()},this.menuActionsContainerKeyDown=t=>{const{key:i}=t,{actionElements:e,activeMenuItemIndex:a}=this;if("Tab"!==i)if(" "!==i&&"Enter"!==i)this.isValidKey(i,b)&&t.preventDefault();else{t.preventDefault();const i=e[a];i?i.click():this.toggleOpen(!1)}else this.open=!1},this.menuActionsContainerKeyUp=t=>{const{key:i}=t,{actionElements:e}=this;"Escape"!==i?this.isValidKey(i,b)&&(t.preventDefault(),e.length&&this.handleActionNavigation(i,e)):this.toggleOpen(!1)},this.handleActionNavigation=(t,i)=>{const e=this.activeMenuItemIndex;"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1),"ArrowUp"===t&&(this.activeMenuItemIndex=m(Math.max(e-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=m(e+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=t}}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.getActions(),p(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.disconnectMenuButtonEl(),d(this)}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=t),this.calciteActionMenuOpenChange.emit(t)}closeCalciteActionMenuOnClick(t){t.composedPath().includes(this.el)||(this.open=!1)}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){c(this.open?this.menuEl:this.menuButtonEl)}renderMenuButton(){const{el:t,label:i,scale:a}=this,n=e("slot",{name:l.trigger},e("calcite-action",{class:s.defaultTrigger,icon:o.menu,ref:this.setDefaultMenuButtonEl,scale:a,text:i}));return r(t,l.tooltip)?e("calcite-tooltip-manager",null,n):n}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:i,open:a,menuId:n,menuButtonEl:o,label:l,placement:r,overlayPositioning:c,flipPlacements:m}=this,h=t[i];return e("calcite-popover",{disablePointer:!0,flipPlacements:m,label:l,offsetDistance:0,open:a,overlayPositioning:c,placement:r,referenceElement:o},e("div",{"aria-activedescendant":(null==h?void 0:h.id)||null,"aria-labelledby":null==o?void 0:o.id,class:s.menu,id:n,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:t=>this.menuEl=t,role:"menu",tabIndex:-1},e("slot",null)))}render(){return e(a,null,this.renderMenuButton(),this.renderMenuItems(),e("slot",{name:l.tooltip}))}getAssignedElements(){return Array.from(this.el.querySelectorAll("slot")).map((t=>t.assignedElements({flatten:!0}))).reduce(((t,i)=>t.concat(i)),[])}isValidKey(t,i){return!!i.find((i=>i===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};x.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{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";export{x as calcite_action_menu}
|
|
@@ -1,33 +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.444
|
|
5
|
-
*/
|
|
6
|
-
const CSS = {
|
|
7
|
-
header: "header",
|
|
8
|
-
heading: "heading",
|
|
9
|
-
close: "close",
|
|
10
|
-
container: "container",
|
|
11
|
-
tipContainer: "tip-container",
|
|
12
|
-
tipContainerAdvancing: "tip-container--advancing",
|
|
13
|
-
tipContainerRetreating: "tip-container--retreating",
|
|
14
|
-
pagination: "pagination",
|
|
15
|
-
pagePosition: "page-position",
|
|
16
|
-
pageNext: "page-next",
|
|
17
|
-
pagePrevious: "page-previous"
|
|
18
|
-
};
|
|
19
|
-
const ICONS = {
|
|
20
|
-
chevronLeft: "chevron-left",
|
|
21
|
-
chevronRight: "chevron-right",
|
|
22
|
-
close: "x"
|
|
23
|
-
};
|
|
24
|
-
const TEXT = {
|
|
25
|
-
defaultGroupTitle: "Tips",
|
|
26
|
-
defaultPaginationLabel: "Tip",
|
|
27
|
-
close: "Close",
|
|
28
|
-
previous: "Previous",
|
|
29
|
-
next: "Next"
|
|
30
|
-
};
|
|
31
|
-
const HEADING_LEVEL = 2;
|
|
32
|
-
|
|
33
|
-
export { CSS as C, HEADING_LEVEL as H, ICONS as I, TEXT as T };
|
|
@@ -1,172 +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.444
|
|
5
|
-
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
7
|
-
import { T as TOOLTIP_REFERENCE, a as TOOLTIP_DELAY_MS } from './resources2.js';
|
|
8
|
-
import { q as queryElementRoots } from './dom.js';
|
|
9
|
-
|
|
10
|
-
const tooltipManagerCss = "@-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}";
|
|
11
|
-
|
|
12
|
-
const TooltipManager = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.__registerHost();
|
|
16
|
-
this.__attachShadow();
|
|
17
|
-
this.hoverTimeouts = new WeakMap();
|
|
18
|
-
// --------------------------------------------------------------------------
|
|
19
|
-
//
|
|
20
|
-
// Properties
|
|
21
|
-
//
|
|
22
|
-
// --------------------------------------------------------------------------
|
|
23
|
-
/**
|
|
24
|
-
* CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.
|
|
25
|
-
* @default `[data-calcite-tooltip-reference]`
|
|
26
|
-
*/
|
|
27
|
-
this.selector = `[${TOOLTIP_REFERENCE}]`;
|
|
28
|
-
// --------------------------------------------------------------------------
|
|
29
|
-
//
|
|
30
|
-
// Private Methods
|
|
31
|
-
//
|
|
32
|
-
// --------------------------------------------------------------------------
|
|
33
|
-
this.queryTooltip = (composedPath) => {
|
|
34
|
-
const { el } = this;
|
|
35
|
-
if (!composedPath.includes(el)) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
const referenceElement = composedPath.find((pathEl) => { var _a; return (_a = pathEl === null || pathEl === void 0 ? void 0 : pathEl.hasAttribute) === null || _a === void 0 ? void 0 : _a.call(pathEl, TOOLTIP_REFERENCE); });
|
|
39
|
-
if (!referenceElement) {
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
const id = referenceElement.getAttribute(TOOLTIP_REFERENCE);
|
|
43
|
-
return queryElementRoots(el, { id });
|
|
44
|
-
};
|
|
45
|
-
this.clearHoverTimeout = (tooltip) => {
|
|
46
|
-
const { hoverTimeouts } = this;
|
|
47
|
-
if (hoverTimeouts.has(tooltip)) {
|
|
48
|
-
window.clearTimeout(hoverTimeouts.get(tooltip));
|
|
49
|
-
hoverTimeouts.delete(tooltip);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
this.closeExistingTooltip = () => {
|
|
53
|
-
const { tooltipEl } = this;
|
|
54
|
-
if (tooltipEl) {
|
|
55
|
-
this.toggleTooltip(tooltipEl, false);
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
this.focusTooltip = ({ tooltip, value }) => {
|
|
59
|
-
this.closeExistingTooltip();
|
|
60
|
-
if (value) {
|
|
61
|
-
this.clearHoverTimeout(tooltip);
|
|
62
|
-
}
|
|
63
|
-
this.toggleTooltip(tooltip, value);
|
|
64
|
-
};
|
|
65
|
-
this.toggleTooltip = (tooltip, value) => {
|
|
66
|
-
tooltip.open = value;
|
|
67
|
-
if (value) {
|
|
68
|
-
this.tooltipEl = tooltip;
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
this.hoverToggle = ({ tooltip, value }) => {
|
|
72
|
-
const { hoverTimeouts } = this;
|
|
73
|
-
hoverTimeouts.delete(tooltip);
|
|
74
|
-
if (value) {
|
|
75
|
-
this.closeExistingTooltip();
|
|
76
|
-
}
|
|
77
|
-
this.toggleTooltip(tooltip, value);
|
|
78
|
-
};
|
|
79
|
-
this.hoverTooltip = ({ tooltip, value }) => {
|
|
80
|
-
this.clearHoverTimeout(tooltip);
|
|
81
|
-
const { hoverTimeouts } = this;
|
|
82
|
-
const timeoutId = window.setTimeout(() => this.hoverToggle({ tooltip, value }), TOOLTIP_DELAY_MS );
|
|
83
|
-
hoverTimeouts.set(tooltip, timeoutId);
|
|
84
|
-
};
|
|
85
|
-
this.activeTooltipHover = (event) => {
|
|
86
|
-
const { tooltipEl, hoverTimeouts } = this;
|
|
87
|
-
const { type } = event;
|
|
88
|
-
if (!tooltipEl) {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
if (type === "mouseover" && event.composedPath().includes(tooltipEl)) {
|
|
92
|
-
this.clearHoverTimeout(tooltipEl);
|
|
93
|
-
}
|
|
94
|
-
else if (type === "mouseout" && !hoverTimeouts.has(tooltipEl)) {
|
|
95
|
-
this.hoverTooltip({ tooltip: tooltipEl, value: false });
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
this.hoverEvent = (event, value) => {
|
|
99
|
-
const tooltip = this.queryTooltip(event.composedPath());
|
|
100
|
-
this.activeTooltipHover(event);
|
|
101
|
-
if (!tooltip) {
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
this.hoverTooltip({ tooltip, value });
|
|
105
|
-
};
|
|
106
|
-
this.focusEvent = (event, value) => {
|
|
107
|
-
const tooltip = this.queryTooltip(event.composedPath());
|
|
108
|
-
if (!tooltip || tooltip === this.clickedTooltip) {
|
|
109
|
-
this.clickedTooltip = null;
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
this.focusTooltip({ tooltip, value });
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
// --------------------------------------------------------------------------
|
|
116
|
-
//
|
|
117
|
-
// Render Methods
|
|
118
|
-
//
|
|
119
|
-
// --------------------------------------------------------------------------
|
|
120
|
-
render() {
|
|
121
|
-
return h("slot", null);
|
|
122
|
-
}
|
|
123
|
-
//--------------------------------------------------------------------------
|
|
124
|
-
//
|
|
125
|
-
// Event Listeners
|
|
126
|
-
//
|
|
127
|
-
//--------------------------------------------------------------------------
|
|
128
|
-
keyUpHandler(event) {
|
|
129
|
-
if (event.key === "Escape") {
|
|
130
|
-
const { tooltipEl } = this;
|
|
131
|
-
if (tooltipEl) {
|
|
132
|
-
this.clearHoverTimeout(tooltipEl);
|
|
133
|
-
this.toggleTooltip(tooltipEl, false);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
mouseEnterShow(event) {
|
|
138
|
-
this.hoverEvent(event, true);
|
|
139
|
-
}
|
|
140
|
-
mouseLeaveHide(event) {
|
|
141
|
-
this.hoverEvent(event, false);
|
|
142
|
-
}
|
|
143
|
-
clickHandler(event) {
|
|
144
|
-
this.clickedTooltip = this.queryTooltip(event.composedPath());
|
|
145
|
-
}
|
|
146
|
-
focusShow(event) {
|
|
147
|
-
this.focusEvent(event, true);
|
|
148
|
-
}
|
|
149
|
-
blurHide(event) {
|
|
150
|
-
this.focusEvent(event, false);
|
|
151
|
-
}
|
|
152
|
-
get el() { return this; }
|
|
153
|
-
static get style() { return tooltipManagerCss; }
|
|
154
|
-
}, [1, "calcite-tooltip-manager", {
|
|
155
|
-
"selector": [1]
|
|
156
|
-
}, [[4, "keyup", "keyUpHandler"], [3, "mouseover", "mouseEnterShow"], [3, "mouseout", "mouseLeaveHide"], [2, "click", "clickHandler"], [2, "focus", "focusShow"], [2, "blur", "blurHide"]]]);
|
|
157
|
-
function defineCustomElement() {
|
|
158
|
-
if (typeof customElements === "undefined") {
|
|
159
|
-
return;
|
|
160
|
-
}
|
|
161
|
-
const components = ["calcite-tooltip-manager"];
|
|
162
|
-
components.forEach(tagName => { switch (tagName) {
|
|
163
|
-
case "calcite-tooltip-manager":
|
|
164
|
-
if (!customElements.get(tagName)) {
|
|
165
|
-
customElements.define(tagName, TooltipManager);
|
|
166
|
-
}
|
|
167
|
-
break;
|
|
168
|
-
} });
|
|
169
|
-
}
|
|
170
|
-
defineCustomElement();
|
|
171
|
-
|
|
172
|
-
export { TooltipManager as T, defineCustomElement as d };
|