@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.
Files changed (800) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-f4f8f027.entry.js → p-01713417.entry.js} +2 -2
  5. package/dist/calcite/{p-c08b646f.system.entry.js → p-02fd2883.system.entry.js} +2 -2
  6. package/dist/calcite/p-041b61cd.js +6 -0
  7. package/dist/calcite/{p-5bd4a7de.entry.js → p-05751f2e.entry.js} +2 -2
  8. package/dist/calcite/p-07e641ba.js +6 -0
  9. package/dist/calcite/p-090880ec.entry.js +6 -0
  10. package/dist/calcite/{p-1d03b887.system.entry.js → p-0b025cd8.system.entry.js} +2 -2
  11. package/dist/calcite/{p-0d1e261a.system.entry.js → p-0ccf95ca.system.entry.js} +2 -2
  12. package/dist/calcite/p-0e9766c8.entry.js +6 -0
  13. package/dist/calcite/{p-2497491e.system.entry.js → p-0f5a49ed.system.entry.js} +2 -2
  14. package/dist/calcite/{p-d4e98f43.entry.js → p-0f89e70c.entry.js} +2 -2
  15. package/dist/calcite/{p-bc52abff.system.entry.js → p-108d9717.system.entry.js} +2 -2
  16. package/dist/calcite/{p-46abf265.system.entry.js → p-11ba757d.system.entry.js} +2 -2
  17. package/dist/calcite/{p-2155bd03.system.entry.js → p-133372fd.system.entry.js} +2 -2
  18. package/dist/calcite/{p-87fe1b82.system.entry.js → p-14ec9332.system.entry.js} +2 -2
  19. package/dist/calcite/{p-593cfd0e.system.entry.js → p-161c0fe3.system.entry.js} +2 -2
  20. package/dist/calcite/{p-f6c08ab0.system.js → p-16dde710.system.js} +1 -1
  21. package/dist/calcite/{p-e014cab3.system.js → p-1d36af45.system.js} +1 -1
  22. package/dist/calcite/{p-41fd2e60.entry.js → p-1deaa010.entry.js} +2 -2
  23. package/dist/calcite/{p-659bd42a.entry.js → p-1f2f75cb.entry.js} +2 -2
  24. package/dist/calcite/{p-fe5db1e9.system.entry.js → p-204cff7c.system.entry.js} +2 -2
  25. package/dist/calcite/{p-6c97aaa7.js → p-253921ef.js} +1 -1
  26. package/dist/calcite/{p-7b3a4121.system.js → p-258de3b5.system.js} +1 -1
  27. package/dist/calcite/{p-387d172e.entry.js → p-25ee06e8.entry.js} +2 -2
  28. package/dist/calcite/{p-68dbf9ed.entry.js → p-266d8bf5.entry.js} +2 -2
  29. package/dist/calcite/{p-2eaa7fd3.system.entry.js → p-26a03754.system.entry.js} +2 -2
  30. package/dist/calcite/{p-19d19990.entry.js → p-27627646.entry.js} +2 -2
  31. package/dist/calcite/p-27bf89cf.system.js +6 -0
  32. package/dist/calcite/{p-8278746f.entry.js → p-27d2b999.entry.js} +2 -2
  33. package/dist/calcite/{p-644fa8aa.system.entry.js → p-28383893.system.entry.js} +2 -2
  34. package/dist/calcite/{p-c9c11da7.system.entry.js → p-28ab1bdc.system.entry.js} +2 -2
  35. package/dist/calcite/{p-845b388c.system.entry.js → p-29ffb1a4.system.entry.js} +2 -2
  36. package/dist/calcite/{p-e49d12ed.entry.js → p-2d00654f.entry.js} +2 -2
  37. package/dist/calcite/{p-a2f2540f.entry.js → p-2daf552b.entry.js} +2 -2
  38. package/dist/calcite/{p-eb1ae57a.system.js → p-2e5debed.system.js} +1 -1
  39. package/dist/calcite/{p-10af5f7b.system.entry.js → p-2ef6c164.system.entry.js} +2 -2
  40. package/dist/calcite/{p-01b6658d.entry.js → p-2ffe62e7.entry.js} +2 -2
  41. package/dist/calcite/{p-c49a2130.system.js → p-31197ab6.system.js} +1 -1
  42. package/dist/calcite/{p-75070683.system.js → p-311f6ae3.system.js} +3 -3
  43. package/dist/calcite/{p-f0e74126.system.entry.js → p-319fca0a.system.entry.js} +3 -3
  44. package/dist/calcite/{p-90e1a716.js → p-336577c6.js} +1 -1
  45. package/dist/calcite/{p-9875a0dd.system.js → p-34e35997.system.js} +2 -2
  46. package/dist/calcite/{p-2a2041ca.js → p-355798dd.js} +1 -1
  47. package/dist/calcite/{p-b5ef24f6.entry.js → p-3746cde8.entry.js} +2 -2
  48. package/dist/calcite/{p-9ef15c40.system.entry.js → p-37d36485.system.entry.js} +2 -2
  49. package/dist/calcite/{p-58a143c6.system.entry.js → p-381ae536.system.entry.js} +2 -2
  50. package/dist/calcite/{p-7d3aeca6.system.js → p-390993de.system.js} +2 -2
  51. package/dist/calcite/{p-ccacd403.entry.js → p-39bc7480.entry.js} +2 -2
  52. package/dist/calcite/{p-f8bf27e8.js → p-3b2f0536.js} +2 -2
  53. package/dist/calcite/{p-9dafdde4.entry.js → p-3dba8986.entry.js} +2 -2
  54. package/dist/calcite/{p-bd4422cb.system.js → p-3fea8ac9.system.js} +1 -1
  55. package/dist/calcite/{p-05d12b58.system.entry.js → p-4039990d.system.entry.js} +2 -2
  56. package/dist/calcite/{p-12eeeae7.entry.js → p-42dc5adc.entry.js} +2 -2
  57. package/dist/calcite/{p-3c239dda.system.entry.js → p-4393b27e.system.entry.js} +3 -3
  58. package/dist/calcite/{p-e356de46.entry.js → p-47872617.entry.js} +2 -2
  59. package/dist/calcite/{p-799c8be8.entry.js → p-4985c997.entry.js} +2 -2
  60. package/dist/calcite/{p-4a2c7350.system.js → p-4a13b25d.system.js} +1 -1
  61. package/dist/calcite/{p-92add9de.system.entry.js → p-4a910e1a.system.entry.js} +2 -2
  62. package/dist/calcite/{p-6f27e187.entry.js → p-4b259c5a.entry.js} +2 -2
  63. package/dist/calcite/{p-a736b10c.system.entry.js → p-4bbc21ae.system.entry.js} +2 -2
  64. package/dist/calcite/{p-2b39fb9c.system.entry.js → p-4cff6ed2.system.entry.js} +2 -2
  65. package/dist/calcite/{p-45517b9f.system.entry.js → p-50b46f23.system.entry.js} +2 -2
  66. package/dist/calcite/{p-05a48bd3.system.entry.js → p-548dfc90.system.entry.js} +3 -3
  67. package/dist/calcite/{p-7be122e2.entry.js → p-5500906f.entry.js} +2 -2
  68. package/dist/calcite/{p-de3717d7.entry.js → p-569ab61c.entry.js} +2 -2
  69. package/dist/calcite/{p-5f90a2e2.js → p-57d67d2d.js} +1 -1
  70. package/dist/calcite/{p-5bd49724.system.js → p-58a52a1c.system.js} +1 -1
  71. package/dist/calcite/{p-0c4359aa.system.entry.js → p-5a60f994.system.entry.js} +2 -2
  72. package/dist/calcite/{p-c0d4febc.system.js → p-5bf8f6e9.system.js} +2 -2
  73. package/dist/calcite/{p-8b7e56e1.system.js → p-5e296f6a.system.js} +2 -2
  74. package/dist/calcite/{p-3a6c05ea.entry.js → p-6723c6d8.entry.js} +2 -2
  75. package/dist/calcite/{p-bc62116d.js → p-6aa710a4.js} +1 -1
  76. package/dist/calcite/{p-31631012.system.entry.js → p-6bef1081.system.entry.js} +2 -2
  77. package/dist/calcite/{p-d6a992e2.entry.js → p-74c3913a.entry.js} +2 -2
  78. package/dist/calcite/{p-e632beb8.system.entry.js → p-7c2843ca.system.entry.js} +2 -2
  79. package/dist/calcite/{p-36865db8.system.entry.js → p-7d21684c.system.entry.js} +2 -2
  80. package/dist/calcite/{p-bfb5215c.entry.js → p-7ebc43e6.entry.js} +2 -2
  81. package/dist/calcite/{p-c6ad10d3.system.entry.js → p-80e9f473.system.entry.js} +2 -2
  82. package/dist/calcite/{p-7a57ed4c.entry.js → p-8491b37f.entry.js} +2 -2
  83. package/dist/calcite/{p-0d0a9c05.system.entry.js → p-84d89c27.system.entry.js} +2 -2
  84. package/dist/calcite/{p-7384806e.system.entry.js → p-886b7bfa.system.entry.js} +2 -2
  85. package/dist/calcite/{p-a5dd1e8d.system.entry.js → p-8b3108fe.system.entry.js} +2 -2
  86. package/dist/calcite/{p-1b52514a.system.entry.js → p-8b808b4a.system.entry.js} +2 -2
  87. package/dist/calcite/{p-539049e0.entry.js → p-8b8402ab.entry.js} +2 -2
  88. package/dist/calcite/{p-2807a4dc.entry.js → p-8eb729b2.entry.js} +2 -2
  89. package/dist/calcite/{p-0303e573.entry.js → p-8f061a44.entry.js} +2 -2
  90. package/dist/calcite/{p-9bb2dc46.entry.js → p-926b60ef.entry.js} +2 -2
  91. package/dist/calcite/{p-e30b9222.entry.js → p-9500d5a1.entry.js} +2 -2
  92. package/dist/calcite/{p-b27670da.system.entry.js → p-95bfbf7e.system.entry.js} +2 -2
  93. package/dist/calcite/{p-e3aefa05.system.entry.js → p-97dd099f.system.entry.js} +2 -2
  94. package/dist/calcite/{p-ae4550a5.js → p-97fd0700.js} +2 -2
  95. package/dist/calcite/{p-042de3c3.entry.js → p-9988579e.entry.js} +2 -2
  96. package/dist/calcite/{p-b7e2bd0b.system.entry.js → p-99b389a4.system.entry.js} +2 -2
  97. package/dist/calcite/{p-dd60aff0.system.js → p-99b56a57.system.js} +1 -1
  98. package/dist/calcite/{p-f6610385.system.entry.js → p-9ffb0f8e.system.entry.js} +2 -2
  99. package/dist/calcite/{p-9007a3ab.system.js → p-a01d5702.system.js} +1 -1
  100. package/dist/calcite/{p-61a20d8d.entry.js → p-a284f057.entry.js} +2 -2
  101. package/dist/calcite/{p-1ab1e1d8.entry.js → p-a39652a8.entry.js} +2 -2
  102. package/dist/calcite/{p-b4748dfe.entry.js → p-a39a6120.entry.js} +2 -2
  103. package/dist/calcite/{p-464554b8.entry.js → p-a4be4ad7.entry.js} +2 -2
  104. package/dist/calcite/{p-db18576e.entry.js → p-a544af14.entry.js} +2 -2
  105. package/dist/calcite/{p-b546d056.system.entry.js → p-a6c8b4f4.system.entry.js} +2 -2
  106. package/dist/calcite/{p-7c2d0fb2.system.js → p-a7793b59.system.js} +1 -1
  107. package/dist/calcite/{p-29f1bbae.system.entry.js → p-aa8cd021.system.entry.js} +2 -2
  108. package/dist/calcite/{p-d993e4e4.system.entry.js → p-abc466c1.system.entry.js} +2 -2
  109. package/dist/calcite/{p-3bd77f1f.js → p-ad7a67c5.js} +1 -1
  110. package/dist/calcite/{p-2f6ef9cf.entry.js → p-ae1dd9d3.entry.js} +2 -2
  111. package/dist/calcite/{p-acaf30cd.entry.js → p-b02dac57.entry.js} +2 -2
  112. package/dist/calcite/{p-83597720.entry.js → p-b0a06984.entry.js} +2 -2
  113. package/dist/calcite/{p-70120dae.entry.js → p-b0f109f2.entry.js} +2 -2
  114. package/dist/calcite/p-b17f15dc.js +6 -0
  115. package/dist/calcite/p-b1b979a8.system.js +6 -0
  116. package/dist/calcite/{p-c75321f8.js → p-b2caaa6b.js} +2 -2
  117. package/dist/calcite/p-b31c76ec.system.js +6 -0
  118. package/dist/calcite/{p-c3f0ae43.js → p-b4d3d3e3.js} +2 -2
  119. package/dist/calcite/{p-0c5ba25d.system.entry.js → p-b8d7f7c8.system.entry.js} +2 -2
  120. package/dist/calcite/{p-3fbf2411.entry.js → p-b9a581df.entry.js} +2 -2
  121. package/dist/calcite/{p-30137ed8.entry.js → p-bbb08025.entry.js} +2 -2
  122. package/dist/calcite/p-bcbdb44e.entry.js +6 -0
  123. package/dist/calcite/{p-db8a423f.entry.js → p-be089f07.entry.js} +2 -2
  124. package/dist/calcite/{p-d1ebf010.js → p-be653c75.js} +1 -1
  125. package/dist/calcite/{p-38c7596d.entry.js → p-bf8a1a90.entry.js} +2 -2
  126. package/dist/calcite/{p-0a7a6610.js → p-cb4a4c11.js} +1 -1
  127. package/dist/calcite/{p-5bff717d.entry.js → p-cbed5ee5.entry.js} +2 -2
  128. package/dist/calcite/{p-79208d9c.system.entry.js → p-cc06ca0e.system.entry.js} +2 -2
  129. package/dist/calcite/{p-89667dfb.entry.js → p-cc496db8.entry.js} +2 -2
  130. package/dist/calcite/{p-25930858.entry.js → p-ced91d61.entry.js} +2 -2
  131. package/dist/calcite/{p-524dc273.system.js → p-d0dd920e.system.js} +2 -2
  132. package/dist/calcite/p-d1b2d2c5.js +6 -0
  133. package/dist/calcite/{p-91d3eb0f.system.entry.js → p-d3a24a92.system.entry.js} +2 -2
  134. package/dist/calcite/{p-c86c2268.system.entry.js → p-d49affe7.system.entry.js} +2 -2
  135. package/dist/calcite/{p-c24c2b11.system.js → p-d4f2f493.system.js} +2 -2
  136. package/dist/calcite/{p-5052a968.system.js → p-d57599f3.system.js} +1 -1
  137. package/dist/calcite/{p-0b6390de.js → p-d647b605.js} +2 -2
  138. package/dist/calcite/{p-68d0bb97.system.js → p-d6ef83f2.system.js} +1 -1
  139. package/dist/calcite/{p-e8ea477f.system.entry.js → p-d9639ef6.system.entry.js} +2 -2
  140. package/dist/calcite/{p-671987d4.entry.js → p-dac748b6.entry.js} +2 -2
  141. package/dist/calcite/{p-892b9d15.system.js → p-dcd26c5b.system.js} +2 -2
  142. package/dist/calcite/{p-ce2197f6.entry.js → p-dcd66dbe.entry.js} +2 -2
  143. package/dist/calcite/{p-4cbe99ba.entry.js → p-dd148aa5.entry.js} +2 -2
  144. package/dist/calcite/{p-7b224b0e.js → p-dd2433b8.js} +1 -1
  145. package/dist/calcite/{p-c31700cb.system.entry.js → p-de88a90d.system.entry.js} +2 -2
  146. package/dist/calcite/{p-a5197ea3.system.entry.js → p-df191ce8.system.entry.js} +2 -2
  147. package/dist/calcite/{p-a6e52d69.system.entry.js → p-e455cf93.system.entry.js} +2 -2
  148. package/dist/calcite/{p-c775d247.entry.js → p-e5147246.entry.js} +2 -2
  149. package/dist/calcite/{p-3fb3a1f8.system.entry.js → p-e5c97b3c.system.entry.js} +2 -2
  150. package/dist/calcite/{p-217e64f3.system.entry.js → p-e798397b.system.entry.js} +2 -2
  151. package/dist/calcite/{p-f34fab2a.system.entry.js → p-e7b32606.system.entry.js} +2 -2
  152. package/dist/calcite/{p-64859f8a.js → p-ea01de75.js} +2 -2
  153. package/dist/calcite/{p-9e1e4431.js → p-ec8f422f.js} +1 -1
  154. package/dist/calcite/{p-0fb02355.system.entry.js → p-f3465688.system.entry.js} +2 -2
  155. package/dist/calcite/p-f37cb564.js +6 -0
  156. package/dist/calcite/{p-b682502a.js → p-f53b0e25.js} +1 -1
  157. package/dist/calcite/{p-b5b717a7.entry.js → p-f6795331.entry.js} +2 -2
  158. package/dist/calcite/{p-1b346b02.system.js → p-f713dcde.system.js} +2 -2
  159. package/dist/calcite/{p-ea1cf5fe.system.entry.js → p-f7d5923a.system.entry.js} +2 -2
  160. package/dist/calcite/{p-1b034e34.system.entry.js → p-f984a8fb.system.entry.js} +2 -2
  161. package/dist/calcite/{p-ddff97da.js → p-fa493d09.js} +1 -1
  162. package/dist/calcite/{p-5eb6a996.system.js → p-fbcdf49c.system.js} +1 -1
  163. package/dist/calcite/{p-d3c30da9.js → p-fe25dd66.js} +1 -1
  164. package/dist/calcite/{p-15825e50.entry.js → p-fecc0290.entry.js} +2 -2
  165. package/dist/calcite/{p-c2d85279.entry.js → p-ff299c31.entry.js} +2 -2
  166. package/dist/calcite/{p-57b0c2ec.system.entry.js → p-ff6ac4c3.system.entry.js} +3 -3
  167. package/dist/calcite/p-ff8e5fb9.system.entry.js +6 -0
  168. package/dist/cjs/{ExpandToggle-703de2d7.js → ExpandToggle-1d84a30f.js} +6 -6
  169. package/dist/cjs/{Heading-7305ce90.js → Heading-6c577985.js} +2 -2
  170. package/dist/cjs/{array-519e78d4.js → array-ad1d1402.js} +1 -1
  171. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  172. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  175. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  176. package/dist/cjs/calcite-action.cjs.entry.js +4 -4
  177. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-button.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  184. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  186. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  187. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  189. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  190. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  191. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
  193. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  194. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  196. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  199. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  202. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  205. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
  207. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  208. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  209. package/dist/cjs/calcite-popover_2.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  211. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  212. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  217. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  222. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  223. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +161 -132
  226. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  227. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite.cjs.js +4 -4
  229. package/dist/cjs/{conditionalSlot-a45ff0b1.js → conditionalSlot-df594efd.js} +3 -3
  230. package/dist/cjs/{debounce-d9c70553.js → debounce-24461fe6.js} +1 -1
  231. package/dist/cjs/{dom-af03376e.js → dom-9a2cf963.js} +2 -2
  232. package/dist/cjs/{forIn-622498a8.js → forIn-90fffb54.js} +2 -2
  233. package/dist/cjs/{form-a85a9196.js → form-9e6d03ef.js} +3 -3
  234. package/dist/cjs/{guid-905be3ef.js → guid-618238ed.js} +1 -1
  235. package/dist/cjs/{index-364d3f89.js → index-2e55547d.js} +1 -1
  236. package/dist/cjs/index.cjs.js +1 -1
  237. package/dist/cjs/{interactive-38b3c4c0.js → interactive-1f751ab7.js} +1 -1
  238. package/dist/cjs/{interfaces-1645f86b.js → interfaces-c964aaab.js} +1 -1
  239. package/dist/cjs/{label-687fe03f.js → label-1069d8bd.js} +2 -2
  240. package/dist/cjs/loader.cjs.js +4 -4
  241. package/dist/cjs/{locale-09c29295.js → locale-8fe40b14.js} +2 -2
  242. package/dist/cjs/{math-94a03dd3.js → math-d3124585.js} +1 -1
  243. package/dist/cjs/{number-30001679.js → number-80fc2025.js} +1 -1
  244. package/dist/cjs/{observers-fc58ce1d.js → observers-c763e03a.js} +1 -1
  245. package/dist/cjs/{popper-b1a613ed.js → popper-8e628970.js} +2 -2
  246. package/dist/cjs/{resources-d41ea4f4.js → resources-1233bb3e.js} +5 -5
  247. package/dist/cjs/{resources-cd0710d6.js → resources-245a82b3.js} +1 -1
  248. package/dist/cjs/{resources-2c421b78.js → resources-7d180442.js} +1 -1
  249. package/dist/cjs/{resources-8a0614d4.js → resources-cc8ca6f0.js} +3 -3
  250. package/dist/cjs/{sortable.esm-37167d4f.js → sortable.esm-42e8dec9.js} +1 -1
  251. package/dist/cjs/{utils-6571fa3b.js → utils-0d52eee6.js} +1 -1
  252. package/dist/collection/collection-manifest.json +1 -1
  253. package/dist/collection/components/accordion/accordion.js +1 -1
  254. package/dist/collection/components/accordion/interfaces.js +1 -1
  255. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  256. package/dist/collection/components/action/action.js +1 -1
  257. package/dist/collection/components/action/resources.js +1 -1
  258. package/dist/collection/components/action-bar/action-bar.js +1 -1
  259. package/dist/collection/components/action-bar/resources.js +1 -1
  260. package/dist/collection/components/action-bar/utils.js +1 -1
  261. package/dist/collection/components/action-group/action-group.js +1 -1
  262. package/dist/collection/components/action-group/resources.js +1 -1
  263. package/dist/collection/components/action-menu/action-menu.js +3 -3
  264. package/dist/collection/components/action-menu/resources.js +1 -1
  265. package/dist/collection/components/action-pad/action-pad.js +1 -1
  266. package/dist/collection/components/action-pad/resources.js +1 -1
  267. package/dist/collection/components/alert/alert.js +1 -1
  268. package/dist/collection/components/alert/interfaces.js +1 -1
  269. package/dist/collection/components/alert/resources.js +1 -1
  270. package/dist/collection/components/avatar/avatar.js +1 -1
  271. package/dist/collection/components/avatar/utils.js +1 -1
  272. package/dist/collection/components/block/block.js +1 -1
  273. package/dist/collection/components/block/resources.js +1 -1
  274. package/dist/collection/components/block-section/block-section.js +1 -1
  275. package/dist/collection/components/block-section/interfaces.js +1 -1
  276. package/dist/collection/components/block-section/resources.js +1 -1
  277. package/dist/collection/components/button/button.js +1 -1
  278. package/dist/collection/components/button/interfaces.js +1 -1
  279. package/dist/collection/components/button/resources.js +1 -1
  280. package/dist/collection/components/card/card.js +1 -1
  281. package/dist/collection/components/card/resources.js +1 -1
  282. package/dist/collection/components/checkbox/checkbox.js +1 -1
  283. package/dist/collection/components/chip/chip.js +1 -1
  284. package/dist/collection/components/chip/interfaces.js +1 -1
  285. package/dist/collection/components/chip/resources.js +1 -1
  286. package/dist/collection/components/color-picker/color-picker.js +1 -1
  287. package/dist/collection/components/color-picker/interfaces.js +1 -1
  288. package/dist/collection/components/color-picker/resources.js +1 -1
  289. package/dist/collection/components/color-picker/utils.js +1 -1
  290. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  291. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  292. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  293. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  294. package/dist/collection/components/combobox/combobox.js +1 -1
  295. package/dist/collection/components/combobox/interfaces.js +1 -1
  296. package/dist/collection/components/combobox/resources.js +1 -1
  297. package/dist/collection/components/combobox/utils.js +1 -1
  298. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  299. package/dist/collection/components/combobox-item/resources.js +1 -1
  300. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  301. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  302. package/dist/collection/components/date-picker/date-picker.js +1 -1
  303. package/dist/collection/components/date-picker/interfaces.js +1 -1
  304. package/dist/collection/components/date-picker/resources.js +1 -1
  305. package/dist/collection/components/date-picker/utils.js +1 -1
  306. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  307. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  308. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  309. package/dist/collection/components/dropdown/dropdown.js +1 -1
  310. package/dist/collection/components/dropdown/interfaces.js +1 -1
  311. package/dist/collection/components/dropdown/resources.js +1 -1
  312. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  313. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  314. package/dist/collection/components/dropdown-group/resources.js +1 -1
  315. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  316. package/dist/collection/components/dropdown-item/resources.js +1 -1
  317. package/dist/collection/components/fab/fab.js +1 -1
  318. package/dist/collection/components/fab/resources.js +1 -1
  319. package/dist/collection/components/filter/filter.js +1 -1
  320. package/dist/collection/components/filter/resources.js +1 -1
  321. package/dist/collection/components/flow/flow.js +1 -1
  322. package/dist/collection/components/flow/interfaces.js +1 -1
  323. package/dist/collection/components/flow/resources.js +1 -1
  324. package/dist/collection/components/functional/ExpandToggle.js +2 -2
  325. package/dist/collection/components/functional/Heading.js +1 -1
  326. package/dist/collection/components/graph/graph.js +1 -1
  327. package/dist/collection/components/graph/interfaces.js +1 -1
  328. package/dist/collection/components/graph/util.js +1 -1
  329. package/dist/collection/components/handle/handle.js +1 -1
  330. package/dist/collection/components/handle/resources.js +1 -1
  331. package/dist/collection/components/icon/icon.js +1 -1
  332. package/dist/collection/components/icon/resources.js +1 -1
  333. package/dist/collection/components/icon/utils.js +1 -1
  334. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  335. package/dist/collection/components/inline-editable/resources.js +1 -1
  336. package/dist/collection/components/input/input.js +1 -1
  337. package/dist/collection/components/input/interfaces.js +1 -1
  338. package/dist/collection/components/input/resources.js +1 -1
  339. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  340. package/dist/collection/components/input-message/input-message.js +1 -1
  341. package/dist/collection/components/input-message/interfaces.js +1 -1
  342. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  343. package/dist/collection/components/interfaces.js +1 -1
  344. package/dist/collection/components/label/label.js +1 -1
  345. package/dist/collection/components/label/resources.js +1 -1
  346. package/dist/collection/components/link/link.js +1 -1
  347. package/dist/collection/components/list/list.js +1 -1
  348. package/dist/collection/components/list/resources.js +1 -1
  349. package/dist/collection/components/list-item/list-item.js +1 -1
  350. package/dist/collection/components/list-item/resources.js +1 -1
  351. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  352. package/dist/collection/components/list-item-group/resources.js +1 -1
  353. package/dist/collection/components/loader/loader.js +1 -1
  354. package/dist/collection/components/modal/interfaces.js +1 -1
  355. package/dist/collection/components/modal/modal.js +1 -1
  356. package/dist/collection/components/modal/resources.js +1 -1
  357. package/dist/collection/components/notice/notice.js +1 -1
  358. package/dist/collection/components/notice/resources.js +1 -1
  359. package/dist/collection/components/option/option.js +1 -1
  360. package/dist/collection/components/option-group/option-group.js +1 -1
  361. package/dist/collection/components/pagination/pagination.js +1 -1
  362. package/dist/collection/components/pagination/resources.js +1 -1
  363. package/dist/collection/components/panel/panel.js +1 -1
  364. package/dist/collection/components/panel/resources.js +1 -1
  365. package/dist/collection/components/pick-list/pick-list.js +1 -1
  366. package/dist/collection/components/pick-list/resources.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  368. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  369. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  370. package/dist/collection/components/pick-list-group/resources.js +1 -1
  371. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  372. package/dist/collection/components/pick-list-item/resources.js +1 -1
  373. package/dist/collection/components/popover/popover.js +1 -1
  374. package/dist/collection/components/popover/resources.js +1 -1
  375. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  376. package/dist/collection/components/progress/progress.js +1 -1
  377. package/dist/collection/components/radio-button/radio-button.js +1 -1
  378. package/dist/collection/components/radio-button/resources.js +1 -1
  379. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  380. package/dist/collection/components/radio-group/interfaces.js +1 -1
  381. package/dist/collection/components/radio-group/radio-group.js +1 -1
  382. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  383. package/dist/collection/components/radio-group-item/resources.js +1 -1
  384. package/dist/collection/components/rating/rating.js +1 -1
  385. package/dist/collection/components/rating/resources.js +1 -1
  386. package/dist/collection/components/scrim/resources.js +1 -1
  387. package/dist/collection/components/scrim/scrim.js +1 -1
  388. package/dist/collection/components/select/resources.js +1 -1
  389. package/dist/collection/components/select/select.js +1 -1
  390. package/dist/collection/components/shell/resources.js +1 -1
  391. package/dist/collection/components/shell/shell.js +1 -1
  392. package/dist/collection/components/shell-center-row/resources.js +1 -1
  393. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  394. package/dist/collection/components/shell-panel/resources.js +1 -1
  395. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  396. package/dist/collection/components/slider/slider.js +1 -1
  397. package/dist/collection/components/sortable-list/resources.js +1 -1
  398. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  399. package/dist/collection/components/split-button/resources.js +1 -1
  400. package/dist/collection/components/split-button/split-button.js +1 -1
  401. package/dist/collection/components/stepper/stepper.js +1 -1
  402. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  403. package/dist/collection/components/switch/switch.js +1 -1
  404. package/dist/collection/components/tab/interfaces.js +1 -1
  405. package/dist/collection/components/tab/tab.js +1 -1
  406. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  407. package/dist/collection/components/tab-title/tab-title.js +1 -1
  408. package/dist/collection/components/tabs/interfaces.js +1 -1
  409. package/dist/collection/components/tabs/resources.js +1 -1
  410. package/dist/collection/components/tabs/tabs.js +1 -1
  411. package/dist/collection/components/tile/resources.js +1 -1
  412. package/dist/collection/components/tile/tile.js +1 -1
  413. package/dist/collection/components/tile-select/interfaces.js +1 -1
  414. package/dist/collection/components/tile-select/resources.js +1 -1
  415. package/dist/collection/components/tile-select/tile-select.js +1 -1
  416. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  417. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  418. package/dist/collection/components/time-picker/resources.js +1 -1
  419. package/dist/collection/components/time-picker/time-picker.js +1 -1
  420. package/dist/collection/components/tip/resources.js +1 -1
  421. package/dist/collection/components/tip/tip.js +1 -1
  422. package/dist/collection/components/tip-group/tip-group.js +1 -1
  423. package/dist/collection/components/tip-manager/resources.js +1 -1
  424. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  425. package/dist/collection/components/tooltip/TooltipManager.js +157 -0
  426. package/dist/collection/components/tooltip/resources.js +1 -2
  427. package/dist/collection/components/tooltip/tooltip.js +6 -10
  428. package/dist/collection/components/tooltip-manager/tooltip-manager.js +5 -160
  429. package/dist/collection/components/tree/interfaces.js +1 -1
  430. package/dist/collection/components/tree/tree.js +1 -1
  431. package/dist/collection/components/tree-item/interfaces.js +1 -1
  432. package/dist/collection/components/tree-item/resources.js +1 -1
  433. package/dist/collection/components/tree-item/tree-item.js +1 -1
  434. package/dist/collection/components/value-list/resources.js +1 -1
  435. package/dist/collection/components/value-list/value-list.js +1 -1
  436. package/dist/collection/components/value-list-item/resources.js +1 -1
  437. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  438. package/dist/collection/utils/array.js +1 -1
  439. package/dist/collection/utils/conditionalSlot.js +1 -1
  440. package/dist/collection/utils/date.js +1 -1
  441. package/dist/collection/utils/dom.js +1 -1
  442. package/dist/collection/utils/filter.js +1 -1
  443. package/dist/collection/utils/form.js +1 -1
  444. package/dist/collection/utils/globalAttributes.js +1 -1
  445. package/dist/collection/utils/guid.js +1 -1
  446. package/dist/collection/utils/interactive.js +1 -1
  447. package/dist/collection/utils/key.js +1 -1
  448. package/dist/collection/utils/label.js +1 -1
  449. package/dist/collection/utils/locale.js +1 -1
  450. package/dist/collection/utils/math.js +1 -1
  451. package/dist/collection/utils/number.js +1 -1
  452. package/dist/collection/utils/observers.js +1 -1
  453. package/dist/collection/utils/popper.js +1 -1
  454. package/dist/collection/utils/resources.js +1 -1
  455. package/dist/collection/utils/time.js +1 -1
  456. package/dist/components/ExpandToggle.js +2 -2
  457. package/dist/components/Heading.js +1 -1
  458. package/dist/components/action-group.js +11 -17
  459. package/dist/components/action-menu.js +11 -17
  460. package/dist/components/action.js +1 -1
  461. package/dist/components/array.js +1 -1
  462. package/dist/components/button.js +1 -1
  463. package/dist/components/calcite-accordion-item.js +1 -1
  464. package/dist/components/calcite-accordion.js +1 -1
  465. package/dist/components/calcite-action-bar.js +13 -19
  466. package/dist/components/calcite-action-group.js +1 -1
  467. package/dist/components/calcite-action-menu.js +1 -1
  468. package/dist/components/calcite-action-pad.js +13 -19
  469. package/dist/components/calcite-action.js +1 -1
  470. package/dist/components/calcite-alert.js +1 -1
  471. package/dist/components/calcite-avatar.js +1 -1
  472. package/dist/components/calcite-block-section.js +1 -1
  473. package/dist/components/calcite-block.js +15 -21
  474. package/dist/components/calcite-button.js +1 -1
  475. package/dist/components/calcite-card.js +1 -1
  476. package/dist/components/calcite-checkbox.js +1 -1
  477. package/dist/components/calcite-chip.js +1 -1
  478. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  479. package/dist/components/calcite-color-picker-swatch.js +1 -1
  480. package/dist/components/calcite-color-picker.js +1 -1
  481. package/dist/components/calcite-combobox-item-group.js +1 -1
  482. package/dist/components/calcite-combobox-item.js +1 -1
  483. package/dist/components/calcite-combobox.js +1 -1
  484. package/dist/components/calcite-date-picker-day.js +1 -1
  485. package/dist/components/calcite-date-picker-month-header.js +1 -1
  486. package/dist/components/calcite-date-picker-month.js +1 -1
  487. package/dist/components/calcite-date-picker.js +1 -1
  488. package/dist/components/calcite-dropdown-group.js +1 -1
  489. package/dist/components/calcite-dropdown-item.js +1 -1
  490. package/dist/components/calcite-dropdown.js +1 -1
  491. package/dist/components/calcite-fab.js +1 -1
  492. package/dist/components/calcite-filter.js +1 -1
  493. package/dist/components/calcite-flow.js +1 -1
  494. package/dist/components/calcite-graph.js +1 -1
  495. package/dist/components/calcite-handle.js +1 -1
  496. package/dist/components/calcite-icon.js +1 -1
  497. package/dist/components/calcite-inline-editable.js +1 -1
  498. package/dist/components/calcite-input-date-picker.js +1 -1
  499. package/dist/components/calcite-input-message.js +1 -1
  500. package/dist/components/calcite-input-time-picker.js +1 -1
  501. package/dist/components/calcite-input.js +1 -1
  502. package/dist/components/calcite-label.js +1 -1
  503. package/dist/components/calcite-link.js +1 -1
  504. package/dist/components/calcite-list-item-group.js +1 -1
  505. package/dist/components/calcite-list-item.js +1 -1
  506. package/dist/components/calcite-list.js +1 -1
  507. package/dist/components/calcite-loader.js +1 -1
  508. package/dist/components/calcite-modal.js +1 -1
  509. package/dist/components/calcite-notice.js +1 -1
  510. package/dist/components/calcite-option-group.js +1 -1
  511. package/dist/components/calcite-option.js +1 -1
  512. package/dist/components/calcite-pagination.js +1 -1
  513. package/dist/components/calcite-panel.js +13 -19
  514. package/dist/components/calcite-pick-list-group.js +2 -2
  515. package/dist/components/calcite-pick-list-item.js +1 -1
  516. package/dist/components/calcite-pick-list.js +2 -2
  517. package/dist/components/calcite-popover-manager.js +1 -1
  518. package/dist/components/calcite-popover.js +1 -1
  519. package/dist/components/calcite-progress.js +1 -1
  520. package/dist/components/calcite-radio-button-group.js +1 -1
  521. package/dist/components/calcite-radio-button.js +1 -1
  522. package/dist/components/calcite-radio-group-item.js +1 -1
  523. package/dist/components/calcite-radio-group.js +1 -1
  524. package/dist/components/calcite-rating.js +1 -1
  525. package/dist/components/calcite-scrim.js +1 -1
  526. package/dist/components/calcite-select.js +1 -1
  527. package/dist/components/calcite-shell-center-row.js +1 -1
  528. package/dist/components/calcite-shell-panel.js +1 -1
  529. package/dist/components/calcite-shell.js +1 -1
  530. package/dist/components/calcite-slider.js +1 -1
  531. package/dist/components/calcite-sortable-list.js +1 -1
  532. package/dist/components/calcite-split-button.js +1 -1
  533. package/dist/components/calcite-stepper-item.js +1 -1
  534. package/dist/components/calcite-stepper.js +1 -1
  535. package/dist/components/calcite-switch.js +1 -1
  536. package/dist/components/calcite-tab-nav.js +1 -1
  537. package/dist/components/calcite-tab-title.js +1 -1
  538. package/dist/components/calcite-tab.js +1 -1
  539. package/dist/components/calcite-tabs.js +1 -1
  540. package/dist/components/calcite-tile-select-group.js +1 -1
  541. package/dist/components/calcite-tile-select.js +1 -1
  542. package/dist/components/calcite-tile.js +1 -1
  543. package/dist/components/calcite-time-picker.js +1 -1
  544. package/dist/components/calcite-tip-group.js +1 -1
  545. package/dist/components/calcite-tip-manager.js +2 -2
  546. package/dist/components/calcite-tip.js +2 -2
  547. package/dist/components/calcite-tooltip-manager.js +47 -2
  548. package/dist/components/calcite-tooltip.js +167 -14
  549. package/dist/components/calcite-tree-item.js +1 -1
  550. package/dist/components/calcite-tree.js +1 -1
  551. package/dist/components/calcite-value-list-item.js +2 -2
  552. package/dist/components/calcite-value-list.js +1 -1
  553. package/dist/components/checkbox.js +1 -1
  554. package/dist/components/chip.js +1 -1
  555. package/dist/components/color-picker-hex-input.js +1 -1
  556. package/dist/components/color-picker-swatch.js +1 -1
  557. package/dist/components/conditionalSlot.js +1 -1
  558. package/dist/components/date-picker-day.js +1 -1
  559. package/dist/components/date-picker-month-header.js +1 -1
  560. package/dist/components/date-picker-month.js +1 -1
  561. package/dist/components/date-picker.js +1 -1
  562. package/dist/components/date.js +1 -1
  563. package/dist/components/debounce.js +1 -1
  564. package/dist/components/dom.js +1 -1
  565. package/dist/components/dropdown.js +1 -1
  566. package/dist/components/filter.js +1 -1
  567. package/dist/components/forIn.js +1 -1
  568. package/dist/components/form.js +1 -1
  569. package/dist/components/graph.js +1 -1
  570. package/dist/components/guid.js +1 -1
  571. package/dist/components/handle.js +1 -1
  572. package/dist/components/icon.js +1 -1
  573. package/dist/components/index.js +1 -1
  574. package/dist/components/input.js +1 -1
  575. package/dist/components/interactive.js +1 -1
  576. package/dist/components/interfaces.js +1 -1
  577. package/dist/components/interfaces2.js +1 -1
  578. package/dist/components/label.js +1 -1
  579. package/dist/components/label2.js +1 -1
  580. package/dist/components/link.js +1 -1
  581. package/dist/components/loader.js +1 -1
  582. package/dist/components/locale.js +1 -1
  583. package/dist/components/math.js +1 -1
  584. package/dist/components/number.js +1 -1
  585. package/dist/components/observers.js +1 -1
  586. package/dist/components/pick-list-item.js +2 -2
  587. package/dist/components/popover.js +1 -1
  588. package/dist/components/popper.js +1 -1
  589. package/dist/components/progress.js +1 -1
  590. package/dist/components/resources.js +1 -1
  591. package/dist/components/resources2.js +12 -7
  592. package/dist/components/resources3.js +7 -10
  593. package/dist/components/resources4.js +23 -6
  594. package/dist/components/scrim.js +1 -1
  595. package/dist/components/shared-list-render.js +3 -3
  596. package/dist/components/sortable.esm.js +1 -1
  597. package/dist/components/switch.js +1 -1
  598. package/dist/components/tab-nav.js +1 -1
  599. package/dist/components/tab-title.js +1 -1
  600. package/dist/components/tab.js +1 -1
  601. package/dist/components/tabs.js +1 -1
  602. package/dist/components/tile.js +1 -1
  603. package/dist/components/time-picker.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +161 -132
  607. package/dist/esm/{ExpandToggle-d94924cf.js → ExpandToggle-2718b8f6.js} +6 -6
  608. package/dist/esm/{Heading-0584e231.js → Heading-0e4aea69.js} +2 -2
  609. package/dist/esm/{array-2d086958.js → array-9f67c25d.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  611. package/dist/esm/calcite-action-bar.entry.js +10 -10
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +10 -10
  614. package/dist/esm/calcite-action-pad.entry.js +9 -9
  615. package/dist/esm/calcite-action.entry.js +4 -4
  616. package/dist/esm/calcite-alert.entry.js +5 -5
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +8 -8
  619. package/dist/esm/calcite-button.entry.js +7 -7
  620. package/dist/esm/calcite-card.entry.js +6 -6
  621. package/dist/esm/calcite-checkbox.entry.js +7 -7
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  624. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  625. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  626. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +7 -7
  629. package/dist/esm/calcite-flow.entry.js +3 -3
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +2 -2
  632. package/dist/esm/calcite-icon.entry.js +5 -5
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  637. package/dist/esm/calcite-input.entry.js +11 -11
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +2 -2
  646. package/dist/esm/calcite-panel.entry.js +9 -9
  647. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  648. package/dist/esm/calcite-popover_2.entry.js +6 -6
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +8 -8
  652. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  659. package/dist/esm/calcite-switch.entry.js +7 -7
  660. package/dist/esm/calcite-tab_4.entry.js +6 -6
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +7 -7
  663. package/dist/esm/calcite-tip_3.entry.js +7 -7
  664. package/dist/esm/calcite-tooltip_2.entry.js +161 -132
  665. package/dist/esm/calcite-tree_2.entry.js +6 -6
  666. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  667. package/dist/esm/calcite.js +4 -4
  668. package/dist/esm/{conditionalSlot-43c64211.js → conditionalSlot-2522e30f.js} +3 -3
  669. package/dist/esm/{debounce-fdbf9d47.js → debounce-1b741867.js} +1 -1
  670. package/dist/esm/{dom-89411c4a.js → dom-db598077.js} +2 -2
  671. package/dist/esm/{forIn-902087eb.js → forIn-c5b795e6.js} +2 -2
  672. package/dist/esm/{form-5c4b306a.js → form-61a289f0.js} +3 -3
  673. package/dist/esm/{guid-2b811065.js → guid-9fa375f5.js} +1 -1
  674. package/dist/esm/{index-78a05b47.js → index-894dfc81.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-439c7b37.js → interactive-09f3618d.js} +1 -1
  677. package/dist/esm/{interfaces-862f5018.js → interfaces-a5204d8f.js} +1 -1
  678. package/dist/esm/{label-f73534d4.js → label-6c0e1ae1.js} +2 -2
  679. package/dist/esm/loader.js +4 -4
  680. package/dist/esm/{locale-86c2799c.js → locale-3981cfde.js} +2 -2
  681. package/dist/esm/{math-41511a90.js → math-acdc37ac.js} +1 -1
  682. package/dist/esm/{number-a2a23577.js → number-84278938.js} +1 -1
  683. package/dist/esm/{observers-595cf2b6.js → observers-9608d2fa.js} +1 -1
  684. package/dist/esm/polyfills/css-shim.js +1 -1
  685. package/dist/esm/{popper-e9e894c5.js → popper-7f6cf197.js} +2 -2
  686. package/dist/esm/{resources-9e14d883.js → resources-2275dd9a.js} +3 -3
  687. package/dist/esm/{resources-13445bc5.js → resources-7941421d.js} +5 -5
  688. package/dist/esm/{resources-37b08111.js → resources-b064c016.js} +1 -1
  689. package/dist/esm/{resources-f7881ad4.js → resources-b0ef8228.js} +1 -1
  690. package/dist/esm/{sortable.esm-b647966a.js → sortable.esm-a9eb30f8.js} +1 -1
  691. package/dist/esm/{utils-74309932.js → utils-442279d6.js} +1 -1
  692. package/dist/esm-es5/{ExpandToggle-d94924cf.js → ExpandToggle-2718b8f6.js} +2 -2
  693. package/dist/esm-es5/{Heading-0584e231.js → Heading-0e4aea69.js} +2 -2
  694. package/dist/esm-es5/{array-2d086958.js → array-9f67c25d.js} +1 -1
  695. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
  699. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  700. package/dist/esm-es5/calcite-action.entry.js +2 -2
  701. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  702. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  703. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  704. package/dist/esm-es5/calcite-button.entry.js +2 -2
  705. package/dist/esm-es5/calcite-card.entry.js +2 -2
  706. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  707. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  708. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  709. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  710. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  711. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  712. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  713. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  714. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  715. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  716. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  717. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  718. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  722. package/dist/esm-es5/calcite-input.entry.js +2 -2
  723. package/dist/esm-es5/calcite-label.entry.js +2 -2
  724. package/dist/esm-es5/calcite-link.entry.js +2 -2
  725. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  726. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  727. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  728. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  729. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  730. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  731. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  732. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  733. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  736. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  737. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  738. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  739. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  740. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  741. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  742. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  743. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  744. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  750. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  752. package/dist/esm-es5/calcite.js +2 -2
  753. package/dist/esm-es5/{conditionalSlot-43c64211.js → conditionalSlot-2522e30f.js} +2 -2
  754. package/dist/esm-es5/{debounce-fdbf9d47.js → debounce-1b741867.js} +1 -1
  755. package/dist/esm-es5/{dom-89411c4a.js → dom-db598077.js} +2 -2
  756. package/dist/esm-es5/{forIn-902087eb.js → forIn-c5b795e6.js} +2 -2
  757. package/dist/esm-es5/{form-5c4b306a.js → form-61a289f0.js} +2 -2
  758. package/dist/esm-es5/{guid-2b811065.js → guid-9fa375f5.js} +1 -1
  759. package/dist/esm-es5/{index-78a05b47.js → index-894dfc81.js} +1 -1
  760. package/dist/esm-es5/index.js +1 -1
  761. package/dist/esm-es5/{interactive-439c7b37.js → interactive-09f3618d.js} +1 -1
  762. package/dist/esm-es5/{interfaces-862f5018.js → interfaces-a5204d8f.js} +1 -1
  763. package/dist/esm-es5/{label-f73534d4.js → label-6c0e1ae1.js} +2 -2
  764. package/dist/esm-es5/loader.js +2 -2
  765. package/dist/esm-es5/{locale-86c2799c.js → locale-3981cfde.js} +2 -2
  766. package/dist/esm-es5/{math-41511a90.js → math-acdc37ac.js} +1 -1
  767. package/dist/esm-es5/{number-a2a23577.js → number-84278938.js} +1 -1
  768. package/dist/esm-es5/{observers-595cf2b6.js → observers-9608d2fa.js} +1 -1
  769. package/dist/esm-es5/{popper-e9e894c5.js → popper-7f6cf197.js} +2 -2
  770. package/dist/esm-es5/{resources-9e14d883.js → resources-2275dd9a.js} +2 -2
  771. package/dist/esm-es5/{resources-13445bc5.js → resources-7941421d.js} +2 -2
  772. package/dist/esm-es5/{resources-37b08111.js → resources-b064c016.js} +1 -1
  773. package/dist/esm-es5/{resources-f7881ad4.js → resources-b0ef8228.js} +1 -1
  774. package/dist/esm-es5/{sortable.esm-b647966a.js → sortable.esm-a9eb30f8.js} +1 -1
  775. package/dist/esm-es5/{utils-74309932.js → utils-442279d6.js} +1 -1
  776. package/dist/extras/docs-json.json +16 -68
  777. package/dist/loader/cdn.js +1 -1
  778. package/dist/loader/index.cjs.js +1 -1
  779. package/dist/loader/index.es2017.js +1 -1
  780. package/dist/loader/index.js +1 -1
  781. package/dist/types/components/tooltip/TooltipManager.d.ts +27 -0
  782. package/dist/types/components/tooltip/resources.d.ts +0 -1
  783. package/dist/types/components/tooltip/tooltip.d.ts +0 -2
  784. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -29
  785. package/hydrate/index.js +176 -136
  786. package/package.json +7 -7
  787. package/dist/calcite/p-07d71232.system.js +0 -6
  788. package/dist/calcite/p-13ee640c.entry.js +0 -6
  789. package/dist/calcite/p-1fbe622d.js +0 -6
  790. package/dist/calcite/p-4bacfbaf.js +0 -6
  791. package/dist/calcite/p-6fe34741.js +0 -6
  792. package/dist/calcite/p-70122cc7.js +0 -6
  793. package/dist/calcite/p-a77d4336.system.entry.js +0 -6
  794. package/dist/calcite/p-bc461506.system.js +0 -6
  795. package/dist/calcite/p-c315e35d.js +0 -6
  796. package/dist/calcite/p-c74c6f4d.entry.js +0 -6
  797. package/dist/calcite/p-ce4008c7.system.js +0 -6
  798. package/dist/calcite/p-f35cf374.entry.js +0 -6
  799. package/dist/components/resources5.js +0 -33
  800. 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 };