@esri/calcite-components 1.0.0-next.442 → 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-33052713.entry.js → p-01713417.entry.js} +2 -2
- package/dist/calcite/{p-5d9d078d.system.entry.js → p-02fd2883.system.entry.js} +2 -2
- package/dist/calcite/{p-0d1c5707.js → p-041b61cd.js} +2 -2
- package/dist/calcite/p-05751f2e.entry.js +6 -0
- package/dist/calcite/p-07e641ba.js +6 -0
- package/dist/calcite/p-090880ec.entry.js +6 -0
- package/dist/calcite/{p-ad36023a.system.entry.js → p-0b025cd8.system.entry.js} +2 -2
- package/dist/calcite/{p-ce37501d.system.entry.js → p-0ccf95ca.system.entry.js} +2 -2
- package/dist/calcite/p-0e9766c8.entry.js +6 -0
- package/dist/calcite/{p-9bec437f.system.entry.js → p-0f5a49ed.system.entry.js} +2 -2
- package/dist/calcite/{p-95f3f34b.entry.js → p-0f89e70c.entry.js} +2 -2
- package/dist/calcite/{p-d4d75ba6.system.entry.js → p-108d9717.system.entry.js} +2 -2
- package/dist/calcite/{p-6ad109fa.system.entry.js → p-11ba757d.system.entry.js} +2 -2
- package/dist/calcite/{p-68688c2e.system.entry.js → p-133372fd.system.entry.js} +2 -2
- package/dist/calcite/{p-7853d93c.system.entry.js → p-14ec9332.system.entry.js} +2 -2
- package/dist/calcite/{p-c247533e.system.entry.js → p-161c0fe3.system.entry.js} +3 -3
- package/dist/calcite/{p-6c467929.system.js → p-16dde710.system.js} +1 -1
- package/dist/calcite/{p-e804e1ec.system.js → p-1d36af45.system.js} +1 -1
- package/dist/calcite/{p-7f1849d1.entry.js → p-1deaa010.entry.js} +2 -2
- package/dist/calcite/{p-dcd5fc83.entry.js → p-1f2f75cb.entry.js} +2 -2
- package/dist/calcite/{p-d0710c22.system.entry.js → p-204cff7c.system.entry.js} +2 -2
- package/dist/calcite/{p-c8618e02.js → p-253921ef.js} +1 -1
- package/dist/calcite/{p-4eeb59cb.system.js → p-258de3b5.system.js} +1 -1
- package/dist/calcite/{p-db8ddafb.entry.js → p-25ee06e8.entry.js} +2 -2
- package/dist/calcite/{p-7cb13427.entry.js → p-266d8bf5.entry.js} +2 -2
- package/dist/calcite/{p-1891170c.system.entry.js → p-26a03754.system.entry.js} +2 -2
- package/dist/calcite/{p-164c480c.entry.js → p-27627646.entry.js} +2 -2
- package/dist/calcite/{p-c5680ed3.system.js → p-27bf89cf.system.js} +2 -2
- package/dist/calcite/{p-3f028403.entry.js → p-27d2b999.entry.js} +2 -2
- package/dist/calcite/{p-44473ead.system.entry.js → p-28383893.system.entry.js} +2 -2
- package/dist/calcite/{p-e36fd7f8.system.entry.js → p-28ab1bdc.system.entry.js} +2 -2
- package/dist/calcite/{p-e20f6136.system.entry.js → p-29ffb1a4.system.entry.js} +2 -2
- package/dist/calcite/{p-5b64c3a7.entry.js → p-2d00654f.entry.js} +2 -2
- package/dist/calcite/{p-343d5421.entry.js → p-2daf552b.entry.js} +2 -2
- package/dist/calcite/{p-71153bb4.system.js → p-2e5debed.system.js} +1 -1
- package/dist/calcite/{p-cec2c39f.system.entry.js → p-2ef6c164.system.entry.js} +2 -2
- package/dist/calcite/{p-2c4da511.entry.js → p-2ffe62e7.entry.js} +2 -2
- package/dist/calcite/{p-d6ed0fa5.system.js → p-31197ab6.system.js} +1 -1
- package/dist/calcite/{p-4a4e0482.system.js → p-311f6ae3.system.js} +3 -3
- package/dist/calcite/{p-a9f49aba.system.entry.js → p-319fca0a.system.entry.js} +2 -2
- package/dist/calcite/{p-876086da.js → p-336577c6.js} +1 -1
- package/dist/calcite/{p-d845a221.system.js → p-34e35997.system.js} +2 -2
- package/dist/calcite/{p-ef71ed4d.js → p-355798dd.js} +1 -1
- package/dist/calcite/{p-b7a0dc57.entry.js → p-3746cde8.entry.js} +2 -2
- package/dist/calcite/{p-eb343d7c.system.entry.js → p-37d36485.system.entry.js} +2 -2
- package/dist/calcite/{p-daa14b5d.system.entry.js → p-381ae536.system.entry.js} +2 -2
- package/dist/calcite/{p-43db2b70.system.js → p-390993de.system.js} +3 -3
- package/dist/calcite/{p-341b024c.entry.js → p-39bc7480.entry.js} +2 -2
- package/dist/calcite/{p-2b10093d.js → p-3b2f0536.js} +2 -2
- package/dist/calcite/{p-c79d0614.entry.js → p-3dba8986.entry.js} +2 -2
- package/dist/calcite/{p-1ee6d0d4.system.js → p-3fea8ac9.system.js} +1 -1
- package/dist/calcite/{p-2e0be8a8.system.entry.js → p-4039990d.system.entry.js} +2 -2
- package/dist/calcite/{p-284dcfd1.entry.js → p-42dc5adc.entry.js} +2 -2
- package/dist/calcite/{p-e04fc57e.system.entry.js → p-4393b27e.system.entry.js} +2 -2
- package/dist/calcite/{p-57b016e9.entry.js → p-47872617.entry.js} +2 -2
- package/dist/calcite/{p-baee9a51.entry.js → p-4985c997.entry.js} +2 -2
- package/dist/calcite/{p-113f98cd.system.js → p-4a13b25d.system.js} +1 -1
- package/dist/calcite/{p-01a3f9a2.system.entry.js → p-4a910e1a.system.entry.js} +2 -2
- package/dist/calcite/{p-643ab994.entry.js → p-4b259c5a.entry.js} +2 -2
- package/dist/calcite/{p-7fa4665b.system.entry.js → p-4bbc21ae.system.entry.js} +2 -2
- package/dist/calcite/{p-dfa1a3db.system.entry.js → p-4cff6ed2.system.entry.js} +2 -2
- package/dist/calcite/{p-a6f6ea44.system.entry.js → p-50b46f23.system.entry.js} +2 -2
- package/dist/calcite/{p-a692a2b4.system.entry.js → p-548dfc90.system.entry.js} +3 -3
- package/dist/calcite/{p-854d1ac1.entry.js → p-5500906f.entry.js} +2 -2
- package/dist/calcite/{p-2134e42a.entry.js → p-569ab61c.entry.js} +2 -2
- package/dist/calcite/{p-95779802.js → p-57d67d2d.js} +1 -1
- package/dist/calcite/{p-dd94caa9.system.js → p-58a52a1c.system.js} +1 -1
- package/dist/calcite/{p-643bc2de.system.entry.js → p-5a60f994.system.entry.js} +2 -2
- package/dist/calcite/p-5bf8f6e9.system.js +6 -0
- package/dist/calcite/{p-af237d7a.system.js → p-5e296f6a.system.js} +2 -2
- package/dist/calcite/{p-3aa0fc1f.entry.js → p-6723c6d8.entry.js} +2 -2
- package/dist/calcite/{p-7e2e7425.js → p-6aa710a4.js} +1 -1
- package/dist/calcite/{p-0d2be404.system.entry.js → p-6bef1081.system.entry.js} +2 -2
- package/dist/calcite/{p-a723b07f.entry.js → p-74c3913a.entry.js} +2 -2
- package/dist/calcite/{p-1b93ee1f.system.entry.js → p-7c2843ca.system.entry.js} +2 -2
- package/dist/calcite/{p-54857871.system.entry.js → p-7d21684c.system.entry.js} +2 -2
- package/dist/calcite/{p-8e33274a.entry.js → p-7ebc43e6.entry.js} +2 -2
- package/dist/calcite/{p-e1afa707.system.entry.js → p-80e9f473.system.entry.js} +2 -2
- package/dist/calcite/{p-e0bc8a42.entry.js → p-8491b37f.entry.js} +2 -2
- package/dist/calcite/{p-d76c1857.system.entry.js → p-84d89c27.system.entry.js} +2 -2
- package/dist/calcite/{p-967b0d5c.system.entry.js → p-886b7bfa.system.entry.js} +2 -2
- package/dist/calcite/{p-dae31e5f.system.entry.js → p-8b3108fe.system.entry.js} +2 -2
- package/dist/calcite/{p-886d0ac9.system.entry.js → p-8b808b4a.system.entry.js} +2 -2
- package/dist/calcite/{p-78e3886c.entry.js → p-8b8402ab.entry.js} +2 -2
- package/dist/calcite/{p-6f203345.entry.js → p-8eb729b2.entry.js} +2 -2
- package/dist/calcite/{p-f7d7bad9.entry.js → p-8f061a44.entry.js} +2 -2
- package/dist/calcite/{p-38bb1024.entry.js → p-926b60ef.entry.js} +2 -2
- package/dist/calcite/p-9500d5a1.entry.js +6 -0
- package/dist/calcite/{p-46698107.system.entry.js → p-95bfbf7e.system.entry.js} +2 -2
- package/dist/calcite/{p-30edf4d0.system.entry.js → p-97dd099f.system.entry.js} +2 -2
- package/dist/calcite/{p-7ddb381f.js → p-97fd0700.js} +2 -2
- package/dist/calcite/{p-9188a778.entry.js → p-9988579e.entry.js} +2 -2
- package/dist/calcite/{p-dfc3aa2a.system.entry.js → p-99b389a4.system.entry.js} +2 -2
- package/dist/calcite/{p-9e12764a.system.js → p-99b56a57.system.js} +1 -1
- package/dist/calcite/{p-5820b406.system.entry.js → p-9ffb0f8e.system.entry.js} +2 -2
- package/dist/calcite/{p-93a12f34.system.js → p-a01d5702.system.js} +1 -1
- package/dist/calcite/{p-1c4f0248.entry.js → p-a284f057.entry.js} +2 -2
- package/dist/calcite/{p-13e09a60.entry.js → p-a39652a8.entry.js} +2 -2
- package/dist/calcite/{p-0d821056.entry.js → p-a39a6120.entry.js} +2 -2
- package/dist/calcite/{p-521b5c5f.entry.js → p-a4be4ad7.entry.js} +2 -2
- package/dist/calcite/{p-a67a436b.entry.js → p-a544af14.entry.js} +2 -2
- package/dist/calcite/{p-7c3d07cd.system.entry.js → p-a6c8b4f4.system.entry.js} +2 -2
- package/dist/calcite/{p-948eeaf1.system.js → p-a7793b59.system.js} +1 -1
- package/dist/calcite/{p-a87b026c.system.entry.js → p-aa8cd021.system.entry.js} +2 -2
- package/dist/calcite/{p-6d264ef2.system.entry.js → p-abc466c1.system.entry.js} +2 -2
- package/dist/calcite/{p-54ece774.js → p-ad7a67c5.js} +1 -1
- package/dist/calcite/{p-5d08adeb.entry.js → p-ae1dd9d3.entry.js} +2 -2
- package/dist/calcite/{p-08ac85e4.entry.js → p-b02dac57.entry.js} +2 -2
- package/dist/calcite/p-b0a06984.entry.js +6 -0
- package/dist/calcite/{p-d40c49db.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-d6da85a7.js → p-b2caaa6b.js} +2 -2
- package/dist/calcite/p-b31c76ec.system.js +6 -0
- package/dist/calcite/{p-7a9ae2ca.js → p-b4d3d3e3.js} +2 -2
- package/dist/calcite/{p-0de41b26.system.entry.js → p-b8d7f7c8.system.entry.js} +2 -2
- package/dist/calcite/{p-c6f66549.entry.js → p-b9a581df.entry.js} +2 -2
- package/dist/calcite/{p-e4a3e626.entry.js → p-bbb08025.entry.js} +2 -2
- package/dist/calcite/p-bcbdb44e.entry.js +6 -0
- package/dist/calcite/{p-22527dd8.entry.js → p-be089f07.entry.js} +2 -2
- package/dist/calcite/{p-cccf7888.js → p-be653c75.js} +1 -1
- package/dist/calcite/{p-eeed1462.entry.js → p-bf8a1a90.entry.js} +2 -2
- package/dist/calcite/{p-788d9af6.js → p-cb4a4c11.js} +1 -1
- package/dist/calcite/{p-8d28bdeb.entry.js → p-cbed5ee5.entry.js} +2 -2
- package/dist/calcite/{p-94869dec.system.entry.js → p-cc06ca0e.system.entry.js} +2 -2
- package/dist/calcite/{p-65304fd3.entry.js → p-cc496db8.entry.js} +2 -2
- package/dist/calcite/{p-81ffe774.entry.js → p-ced91d61.entry.js} +2 -2
- package/dist/calcite/{p-1931fab1.system.js → p-d0dd920e.system.js} +2 -2
- package/dist/calcite/p-d1b2d2c5.js +6 -0
- package/dist/calcite/{p-577c6140.system.entry.js → p-d3a24a92.system.entry.js} +2 -2
- package/dist/calcite/{p-8bb3fb6e.system.entry.js → p-d49affe7.system.entry.js} +2 -2
- package/dist/calcite/{p-8e7e6bf1.system.js → p-d4f2f493.system.js} +2 -2
- package/dist/calcite/{p-4d5badd1.system.js → p-d57599f3.system.js} +1 -1
- package/dist/calcite/{p-018a7a88.js → p-d647b605.js} +2 -2
- package/dist/calcite/{p-5fe433a2.system.js → p-d6ef83f2.system.js} +1 -1
- package/dist/calcite/{p-dd19dab2.system.entry.js → p-d9639ef6.system.entry.js} +2 -2
- package/dist/calcite/{p-f600eeb3.entry.js → p-dac748b6.entry.js} +2 -2
- package/dist/calcite/{p-9e58d2f5.system.js → p-dcd26c5b.system.js} +2 -2
- package/dist/calcite/{p-2753f19d.entry.js → p-dcd66dbe.entry.js} +2 -2
- package/dist/calcite/{p-59164e48.entry.js → p-dd148aa5.entry.js} +2 -2
- package/dist/calcite/{p-8b66caeb.js → p-dd2433b8.js} +1 -1
- package/dist/calcite/{p-d9ca5de6.system.entry.js → p-de88a90d.system.entry.js} +2 -2
- package/dist/calcite/{p-270c69af.system.entry.js → p-df191ce8.system.entry.js} +2 -2
- package/dist/calcite/{p-63be73b7.system.entry.js → p-e455cf93.system.entry.js} +2 -2
- package/dist/calcite/{p-50a8b856.entry.js → p-e5147246.entry.js} +2 -2
- package/dist/calcite/{p-4df1f8b0.system.entry.js → p-e5c97b3c.system.entry.js} +2 -2
- package/dist/calcite/{p-e350bf84.system.entry.js → p-e798397b.system.entry.js} +2 -2
- package/dist/calcite/{p-0443feac.system.entry.js → p-e7b32606.system.entry.js} +2 -2
- package/dist/calcite/p-ea01de75.js +6 -0
- package/dist/calcite/{p-82264ba9.js → p-ec8f422f.js} +1 -1
- package/dist/calcite/{p-e0b0486e.system.entry.js → p-f3465688.system.entry.js} +2 -2
- package/dist/calcite/p-f37cb564.js +6 -0
- package/dist/calcite/{p-76fad783.js → p-f53b0e25.js} +1 -1
- package/dist/calcite/{p-5ee7283a.entry.js → p-f6795331.entry.js} +2 -2
- package/dist/calcite/{p-afaded78.system.js → p-f713dcde.system.js} +2 -2
- package/dist/calcite/{p-9cdb2412.system.entry.js → p-f7d5923a.system.entry.js} +2 -2
- package/dist/calcite/{p-199d6edc.system.entry.js → p-f984a8fb.system.entry.js} +2 -2
- package/dist/calcite/{p-0fd5298e.js → p-fa493d09.js} +1 -1
- package/dist/calcite/{p-eada3f06.system.js → p-fbcdf49c.system.js} +1 -1
- package/dist/calcite/{p-adb9456b.js → p-fe25dd66.js} +1 -1
- package/dist/calcite/{p-74f44d5c.entry.js → p-fecc0290.entry.js} +2 -2
- package/dist/calcite/{p-ee6e86eb.entry.js → p-ff299c31.entry.js} +2 -2
- package/dist/calcite/{p-fda6176c.system.entry.js → p-ff6ac4c3.system.entry.js} +3 -3
- package/dist/calcite/p-ff8e5fb9.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-520a0d2c.js → ExpandToggle-1d84a30f.js} +6 -6
- package/dist/cjs/{Heading-4031b535.js → Heading-6c577985.js} +2 -2
- package/dist/cjs/{array-97a0d49e.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 +6 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- 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 +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1293 -1309
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
- 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 +4 -4
- 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 +20 -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 +7 -7
- 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 +12 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- 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 +9 -9
- 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 +7 -7
- 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 +10 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +162 -133
- 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-19898f15.js → conditionalSlot-df594efd.js} +3 -3
- package/dist/cjs/{debounce-555e4ed9.js → debounce-24461fe6.js} +1 -1
- package/dist/cjs/{dom-ffb42c1c.js → dom-9a2cf963.js} +2 -2
- package/dist/cjs/{forIn-56621a4f.js → forIn-90fffb54.js} +2 -2
- package/dist/cjs/{form-0df8a093.js → form-9e6d03ef.js} +3 -3
- package/dist/cjs/{guid-54059c72.js → guid-618238ed.js} +1 -1
- package/dist/cjs/{index-4713f23e.js → index-2e55547d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-e72cf638.js → interactive-1f751ab7.js} +1 -1
- package/dist/cjs/{interfaces-00ba5ab7.js → interfaces-c964aaab.js} +1 -1
- package/dist/cjs/{label-e9a5abfd.js → label-1069d8bd.js} +10 -9
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-e8cda1ee.js → locale-8fe40b14.js} +2 -2
- package/dist/cjs/{math-bf4c07bb.js → math-d3124585.js} +1 -1
- package/dist/cjs/{number-b4ff4db6.js → number-80fc2025.js} +1 -1
- package/dist/cjs/{observers-0fdbbd41.js → observers-c763e03a.js} +1 -1
- package/dist/cjs/{popper-d8549139.js → popper-8e628970.js} +2 -2
- package/dist/cjs/{resources-af4d8c96.js → resources-1233bb3e.js} +5 -5
- package/dist/cjs/{resources-8c5beef1.js → resources-245a82b3.js} +1 -1
- package/dist/cjs/{resources-95373e4d.js → resources-7d180442.js} +1 -1
- package/dist/cjs/{resources-febfc928.js → resources-cc8ca6f0.js} +3 -3
- package/dist/cjs/{sortable.esm-284bc36c.js → sortable.esm-42e8dec9.js} +1 -1
- package/dist/cjs/{utils-ee711a3e.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.css +2 -6
- 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.css +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.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +2 -2
- 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.css +0 -2
- 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.css +1 -9
- 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 +10 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +1 -37
- 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.css +1 -1
- package/dist/collection/components/panel/panel.js +21 -2
- 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.css +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.css +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.css +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +5 -2
- 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.css +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.css +1 -9
- package/dist/collection/components/tip-manager/tip-manager.js +21 -2
- package/dist/collection/components/tooltip/TooltipManager.js +157 -0
- package/dist/collection/components/tooltip/resources.js +1 -2
- package/dist/collection/components/tooltip/tooltip.css +1 -1
- 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 +9 -8
- 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 +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- 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 +2 -2
- 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 +10 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +16 -20
- 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 +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- 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 +5 -3
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +47 -2
- package/dist/components/calcite-tooltip.js +168 -15
- 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 +2 -2
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1335 -1351
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- 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 +9 -8
- 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 +3 -3
- 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 +2 -2
- 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 +1474 -1447
- package/dist/esm/{ExpandToggle-ff36d4fc.js → ExpandToggle-2718b8f6.js} +6 -6
- package/dist/esm/{Heading-c533056b.js → Heading-0e4aea69.js} +2 -2
- package/dist/esm/{array-0f0c73df.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 +6 -6
- package/dist/esm/calcite-avatar.entry.js +6 -6
- 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 +8 -8
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +1293 -1309
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +10 -10
- 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 +4 -4
- 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 +20 -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 +7 -7
- 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 +12 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- 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 +9 -9
- 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 +7 -7
- 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 +10 -8
- package/dist/esm/calcite-tooltip_2.entry.js +162 -133
- 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-ed38fca0.js → conditionalSlot-2522e30f.js} +3 -3
- package/dist/esm/{debounce-53edee6a.js → debounce-1b741867.js} +1 -1
- package/dist/esm/{dom-56d2cefe.js → dom-db598077.js} +2 -2
- package/dist/esm/{forIn-e13f90af.js → forIn-c5b795e6.js} +2 -2
- package/dist/esm/{form-e118b118.js → form-61a289f0.js} +3 -3
- package/dist/esm/{guid-11fa23a4.js → guid-9fa375f5.js} +1 -1
- package/dist/esm/{index-971981a8.js → index-894dfc81.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-3f20f596.js → interactive-09f3618d.js} +1 -1
- package/dist/esm/{interfaces-c3dd93ae.js → interfaces-a5204d8f.js} +1 -1
- package/dist/esm/{label-6596400a.js → label-6c0e1ae1.js} +10 -9
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-3fefdde0.js → locale-3981cfde.js} +2 -2
- package/dist/esm/{math-3a3d00c6.js → math-acdc37ac.js} +1 -1
- package/dist/esm/{number-bb529b14.js → number-84278938.js} +1 -1
- package/dist/esm/{observers-475be65a.js → observers-9608d2fa.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-e39fe9b7.js → popper-7f6cf197.js} +2 -2
- package/dist/esm/{resources-10754ff5.js → resources-2275dd9a.js} +3 -3
- package/dist/esm/{resources-2b57ce37.js → resources-7941421d.js} +5 -5
- package/dist/esm/{resources-fa277bee.js → resources-b064c016.js} +1 -1
- package/dist/esm/{resources-4d608b62.js → resources-b0ef8228.js} +1 -1
- package/dist/esm/{sortable.esm-1e94286b.js → sortable.esm-a9eb30f8.js} +1 -1
- package/dist/esm/{utils-6ce13142.js → utils-442279d6.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-ff36d4fc.js → ExpandToggle-2718b8f6.js} +2 -2
- package/dist/esm-es5/{Heading-c533056b.js → Heading-0e4aea69.js} +2 -2
- package/dist/esm-es5/{array-0f0c73df.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 +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- 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-ed38fca0.js → conditionalSlot-2522e30f.js} +2 -2
- package/dist/esm-es5/{debounce-53edee6a.js → debounce-1b741867.js} +1 -1
- package/dist/esm-es5/{dom-56d2cefe.js → dom-db598077.js} +2 -2
- package/dist/esm-es5/{forIn-e13f90af.js → forIn-c5b795e6.js} +2 -2
- package/dist/esm-es5/{form-e118b118.js → form-61a289f0.js} +2 -2
- package/dist/esm-es5/{guid-11fa23a4.js → guid-9fa375f5.js} +1 -1
- package/dist/esm-es5/{index-971981a8.js → index-894dfc81.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-3f20f596.js → interactive-09f3618d.js} +1 -1
- package/dist/esm-es5/{interfaces-c3dd93ae.js → interfaces-a5204d8f.js} +1 -1
- package/dist/esm-es5/label-6c0e1ae1.js +6 -0
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-3fefdde0.js → locale-3981cfde.js} +2 -2
- package/dist/esm-es5/{math-3a3d00c6.js → math-acdc37ac.js} +1 -1
- package/dist/esm-es5/{number-bb529b14.js → number-84278938.js} +1 -1
- package/dist/esm-es5/{observers-475be65a.js → observers-9608d2fa.js} +1 -1
- package/dist/esm-es5/{popper-e39fe9b7.js → popper-7f6cf197.js} +2 -2
- package/dist/esm-es5/{resources-10754ff5.js → resources-2275dd9a.js} +2 -2
- package/dist/esm-es5/{resources-2b57ce37.js → resources-7941421d.js} +2 -2
- package/dist/esm-es5/{resources-fa277bee.js → resources-b064c016.js} +1 -1
- package/dist/esm-es5/{resources-4d608b62.js → resources-b0ef8228.js} +1 -1
- package/dist/esm-es5/{sortable.esm-1e94286b.js → sortable.esm-a9eb30f8.js} +1 -1
- package/dist/esm-es5/{utils-6ce13142.js → utils-442279d6.js} +1 -1
- package/dist/extras/docs-json.json +55 -71
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/panel/panel.d.ts +5 -0
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +5 -0
- 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/dist/types/components.d.ts +11 -0
- package/dist/types/preact.d.ts +4 -2
- package/hydrate/index.js +1493 -1455
- package/package.json +14 -16
- package/dist/calcite/p-3dba6477.js +0 -6
- package/dist/calcite/p-5b46f643.entry.js +0 -6
- package/dist/calcite/p-738cd7bf.js +0 -6
- package/dist/calcite/p-91bf6b14.entry.js +0 -6
- package/dist/calcite/p-a729f472.system.js +0 -6
- package/dist/calcite/p-c8e8cbf8.system.js +0 -6
- package/dist/calcite/p-d7dd9ab1.entry.js +0 -6
- package/dist/calcite/p-dd2d3722.js +0 -6
- package/dist/calcite/p-e3ba876d.entry.js +0 -6
- package/dist/calcite/p-e54cf4d5.system.entry.js +0 -6
- package/dist/calcite/p-f10a9390.entry.js +0 -6
- package/dist/calcite/p-f4a430e9.js +0 -6
- package/dist/calcite/p-f58f22f5.entry.js +0 -6
- package/dist/calcite/p-f78e589a.system.js +0 -6
- package/dist/calcite/p-fad0ea8b.js +0 -6
- package/dist/components/resources5.js +0 -33
- package/dist/components/tooltip-manager.js +0 -172
- package/dist/esm-es5/label-6596400a.js +0 -6
|
@@ -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.442
|
|
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 };
|
|
@@ -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.442
|
|
5
|
-
*/
|
|
6
|
-
import{q as queryElementRoots,c as closestElementCrossShadowBoundary}from"./dom-56d2cefe.js";var labelClickEvent="calciteInternalLabelClick";var labelConnectedEvent="calciteInternalLabelConnected";var labelDisconnectedEvent="calciteInternaLabelDisconnected";var labelTagName="calcite-label";var onLabelClickMap=new WeakMap;var unlabeledComponents=new Set;var findLabelForComponent=function(e){var n=e.id;var t=n&&queryElementRoots(e,{selector:"".concat(labelTagName,'[for="').concat(n,'"]')});if(t){return t}var l=closestElementCrossShadowBoundary(e,labelTagName);if(!l||hasAncestorCustomElements(l,e)){return null}return l};function hasAncestorCustomElements(e,n){var t;var l="custom-element-ancestor-check";var a=function(l){l.stopImmediatePropagation();var a=l.composedPath();t=a.slice(a.indexOf(n),a.indexOf(e))};e.addEventListener(l,a,{once:true});n.dispatchEvent(new CustomEvent(l,{composed:true,bubbles:true}));e.removeEventListener(l,a);var o=t.filter((function(t){return t!==n&&t!==e})).filter((function(e){var n;return(n=e.tagName)===null||n===void 0?void 0:n.includes("-")}));return o.length>0}function connectLabel(e){var n=findLabelForComponent(e.el);if(onLabelClickMap.has(n)){return}var t=onLabelConnected.bind(e);var l=onLabelDisconnected.bind(e);if(n){var a=function(){e.labelEl=n;var t=onLabelClick.bind(e);onLabelClickMap.set(e.labelEl,t);e.labelEl.addEventListener(labelClickEvent,t)};a();unlabeledComponents.delete(e);document.removeEventListener(labelConnectedEvent,t);document.addEventListener(labelDisconnectedEvent,l)}else if(!n&&!unlabeledComponents.has(e)){l();document.removeEventListener(labelDisconnectedEvent,l)}}function disconnectLabel(e){var n=onLabelConnected.bind(e);var t=onLabelDisconnected.bind(e);unlabeledComponents.delete(e);document.removeEventListener(labelConnectedEvent,n);document.removeEventListener(labelDisconnectedEvent,t);if(!e.labelEl){return}var l=onLabelClickMap.get(e.labelEl);e.labelEl.removeEventListener(labelClickEvent,l);onLabelClickMap.delete(e.labelEl)}function getLabelText(e){var n,t;return e.label||((t=(n=e.labelEl)===null||n===void 0?void 0:n.textContent)===null||t===void 0?void 0:t.trim())||""}function onLabelClick(e){if(this.disabled){return}var n=this.el.contains(e.detail.sourceEvent.target);if(n){return}this.onLabelClick(e)}function onLabelConnected(){if(unlabeledComponents.has(this)){connectLabel(this)}}function onLabelDisconnected(){unlabeledComponents.add(this);var e=onLabelConnected.bind(this);document.addEventListener(labelConnectedEvent,e)}export{labelDisconnectedEvent as a,connectLabel as c,disconnectLabel as d,getLabelText as g,labelConnectedEvent as l};
|