@esri/calcite-components 1.5.0-next.35 → 1.5.0-next.37

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 (931) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +2 -2
  3. package/dist/calcite/{p-e804b50a.entry.js → p-00d0b8cd.entry.js} +2 -2
  4. package/dist/calcite/{p-48dd08ea.js → p-03d7ae08.js} +1 -1
  5. package/dist/calcite/{p-cae0457c.js → p-0426d83c.js} +2 -2
  6. package/dist/calcite/{p-8b15b5eb.js → p-0e5e7a4f.js} +2 -2
  7. package/dist/calcite/{p-150248ad.js → p-0f33c64a.js} +2 -2
  8. package/dist/calcite/{p-bc10ae1f.entry.js → p-1117f15f.entry.js} +2 -2
  9. package/dist/calcite/{p-c61fe6a9.entry.js → p-14e1b3fb.entry.js} +2 -2
  10. package/dist/calcite/p-15bba441.entry.js +6 -0
  11. package/dist/calcite/p-19b543f3.js +6 -0
  12. package/dist/calcite/{p-97f174e6.js → p-20a8671f.js} +2 -2
  13. package/dist/calcite/{p-1be48f45.js → p-20c03c18.js} +3 -3
  14. package/dist/calcite/{p-bb0076f6.entry.js → p-24558766.entry.js} +2 -2
  15. package/dist/calcite/{p-78d7ac59.js → p-268f5084.js} +2 -2
  16. package/dist/calcite/{p-73d578e9.js → p-281f7380.js} +2 -2
  17. package/dist/calcite/p-283e84f3.js +6 -0
  18. package/dist/calcite/{p-c190285e.js → p-298eb07c.js} +1 -1
  19. package/dist/calcite/{p-e5ff5f8c.entry.js → p-2b6770b6.entry.js} +2 -2
  20. package/dist/calcite/p-2ca71f7e.js +6 -0
  21. package/dist/calcite/p-2fc85460.entry.js +6 -0
  22. package/dist/calcite/{p-eec357bc.js → p-3077def5.js} +1 -1
  23. package/dist/calcite/{p-203c7db6.entry.js → p-33366d5d.entry.js} +2 -2
  24. package/dist/calcite/p-33e77588.entry.js +6 -0
  25. package/dist/calcite/{p-a90a03de.js → p-354ac043.js} +2 -2
  26. package/dist/calcite/{p-661b17c3.js → p-373ca6d3.js} +2 -2
  27. package/dist/calcite/{p-59fe6ac1.js → p-374827ae.js} +2 -2
  28. package/dist/calcite/{p-a0e97ebc.js → p-37dca9f7.js} +2 -2
  29. package/dist/calcite/{p-9c483171.js → p-37e53cad.js} +1 -1
  30. package/dist/calcite/{p-948bea2f.entry.js → p-388c2720.entry.js} +2 -2
  31. package/dist/calcite/{p-dd6be7cc.js → p-3d733a24.js} +2 -2
  32. package/dist/calcite/{p-64b5fc65.js → p-3eca8537.js} +2 -2
  33. package/dist/calcite/{p-03eadc59.entry.js → p-43e73ae3.entry.js} +2 -2
  34. package/dist/calcite/{p-9be3bf14.js → p-456f5a3d.js} +2 -2
  35. package/dist/calcite/{p-b8d6f5fc.js → p-4663c5ad.js} +2 -2
  36. package/dist/calcite/{p-5596ede7.entry.js → p-4759f061.entry.js} +2 -2
  37. package/dist/calcite/{p-5dbc541e.entry.js → p-47a39c53.entry.js} +2 -2
  38. package/dist/calcite/{p-e52c491b.entry.js → p-50b90385.entry.js} +2 -2
  39. package/dist/calcite/{p-54e00e84.js → p-53449882.js} +2 -2
  40. package/dist/calcite/{p-8b4a1ba6.entry.js → p-56a8673f.entry.js} +2 -2
  41. package/dist/calcite/{p-ea32636b.js → p-56f9882b.js} +1 -1
  42. package/dist/calcite/{p-0b236cc5.entry.js → p-57222ca8.entry.js} +2 -2
  43. package/dist/calcite/{p-6cb6d422.entry.js → p-57e2c2ed.entry.js} +2 -2
  44. package/dist/calcite/{p-7f50e3a5.js → p-58f469f7.js} +2 -2
  45. package/dist/calcite/{p-36b2aaf8.js → p-5c9f772a.js} +2 -2
  46. package/dist/calcite/{p-d2667670.entry.js → p-5efd59e6.entry.js} +2 -2
  47. package/dist/calcite/{p-e6f76699.entry.js → p-61e6e5d5.entry.js} +2 -2
  48. package/dist/calcite/{p-8bc14bae.js → p-63991630.js} +2 -2
  49. package/dist/calcite/{p-b5f308c8.js → p-65b14067.js} +2 -2
  50. package/dist/calcite/{p-d942a8d3.js → p-65d484f5.js} +2 -2
  51. package/dist/calcite/{p-6cdb7cd9.js → p-6b2ef6ec.js} +2 -2
  52. package/dist/calcite/{p-c7caaad0.entry.js → p-6c8f13d4.entry.js} +2 -2
  53. package/dist/calcite/{p-789cf8f6.js → p-6ecf9197.js} +2 -2
  54. package/dist/calcite/{p-ca12be0e.entry.js → p-6f6fc61b.entry.js} +2 -2
  55. package/dist/calcite/p-70b9e764.js +6 -0
  56. package/dist/calcite/{p-25793125.js → p-71c985bc.js} +2 -2
  57. package/dist/calcite/{p-e18f2022.js → p-74a0430a.js} +2 -2
  58. package/dist/calcite/{p-da0b8328.js → p-79849e57.js} +2 -2
  59. package/dist/calcite/{p-fc0c9a9a.js → p-7f22fdcd.js} +1 -1
  60. package/dist/calcite/{p-a963e03f.js → p-7f27de76.js} +1 -1
  61. package/dist/calcite/{p-646a69ae.js → p-817135c7.js} +2 -2
  62. package/dist/calcite/{p-473461e2.entry.js → p-818fe01b.entry.js} +2 -2
  63. package/dist/calcite/{p-6b58fad7.js → p-82cdbdcd.js} +1 -1
  64. package/dist/calcite/{p-da889e25.js → p-85ffe8e1.js} +1 -1
  65. package/dist/calcite/{p-2213dd08.entry.js → p-876b164a.entry.js} +2 -2
  66. package/dist/calcite/{p-989ae9ff.entry.js → p-8d3c8c38.entry.js} +2 -2
  67. package/dist/calcite/{p-91fb43c5.entry.js → p-8f08a922.entry.js} +2 -2
  68. package/dist/calcite/{p-142adcff.js → p-906b874d.js} +2 -2
  69. package/dist/calcite/{p-64a354cc.entry.js → p-92c1ca63.entry.js} +2 -2
  70. package/dist/calcite/{p-c9c3203e.js → p-9452181d.js} +1 -1
  71. package/dist/calcite/{p-a48242ee.js → p-96e9da93.js} +1 -1
  72. package/dist/calcite/{p-dbb5254e.js → p-98b7d5d7.js} +2 -2
  73. package/dist/calcite/{p-e255ca68.js → p-9b7b286d.js} +2 -2
  74. package/dist/calcite/{p-9626c54f.entry.js → p-9d3a368f.entry.js} +2 -2
  75. package/dist/calcite/{p-e48ad234.entry.js → p-9d8ce1c0.entry.js} +2 -2
  76. package/dist/calcite/{p-4c5793a1.entry.js → p-9eb66efc.entry.js} +2 -2
  77. package/dist/calcite/{p-1439c5f0.js → p-9f0873d2.js} +2 -2
  78. package/dist/calcite/{p-794edb71.js → p-9f5ec1fa.js} +1 -1
  79. package/dist/calcite/p-9f934e81.entry.js +6 -0
  80. package/dist/calcite/{p-7e719f75.js → p-a0e74ecf.js} +1 -1
  81. package/dist/calcite/{p-52677d16.entry.js → p-a110f4b2.entry.js} +2 -2
  82. package/dist/calcite/{p-c58cbe08.entry.js → p-a157d351.entry.js} +2 -2
  83. package/dist/calcite/{p-cf915d4d.js → p-a1a743a1.js} +2 -2
  84. package/dist/calcite/p-a25facfc.entry.js +6 -0
  85. package/dist/calcite/{p-a50cf1dd.js → p-a27012d0.js} +1 -1
  86. package/dist/calcite/{p-33116a29.entry.js → p-a7604eaf.entry.js} +2 -2
  87. package/dist/calcite/{p-f67b69cf.entry.js → p-a7bc164c.entry.js} +2 -2
  88. package/dist/calcite/{p-706a7a9f.entry.js → p-a8a3ac66.entry.js} +2 -2
  89. package/dist/calcite/{p-d6fbdd98.js → p-a8d9caa8.js} +2 -2
  90. package/dist/calcite/{p-d702c3c4.entry.js → p-aa000a6a.entry.js} +2 -2
  91. package/dist/calcite/{p-464757c5.js → p-aadb694a.js} +2 -2
  92. package/dist/calcite/{p-4a8579be.js → p-aba30c51.js} +2 -2
  93. package/dist/calcite/{p-d607cd60.entry.js → p-ad4d6873.entry.js} +2 -2
  94. package/dist/calcite/{p-b3c1cd9c.entry.js → p-ae5277f5.entry.js} +2 -2
  95. package/dist/calcite/{p-f107904f.js → p-b060e06d.js} +2 -2
  96. package/dist/calcite/{p-f21b88d0.js → p-b1511445.js} +2 -2
  97. package/dist/calcite/{p-81855eda.entry.js → p-b22fe944.entry.js} +2 -2
  98. package/dist/calcite/{p-2fd15e9b.entry.js → p-b2e71397.entry.js} +2 -2
  99. package/dist/calcite/{p-9098772b.entry.js → p-b3121ad8.entry.js} +2 -2
  100. package/dist/calcite/{p-2f0d5864.entry.js → p-b31cea1c.entry.js} +2 -2
  101. package/dist/calcite/{p-02112900.entry.js → p-b485ae31.entry.js} +2 -2
  102. package/dist/calcite/{p-4bc12a11.entry.js → p-b79ad7fe.entry.js} +2 -2
  103. package/dist/calcite/{p-09ecd579.js → p-b878f4e2.js} +2 -2
  104. package/dist/calcite/{p-bb5a540b.js → p-b9d20910.js} +2 -2
  105. package/dist/calcite/{p-563637e6.entry.js → p-ba85d699.entry.js} +2 -2
  106. package/dist/calcite/{p-4cd49f1a.js → p-bb98de19.js} +2 -2
  107. package/dist/calcite/{p-a14be4ef.js → p-bc16997d.js} +2 -2
  108. package/dist/calcite/{p-6bcf2c81.js → p-bcd1e33c.js} +2 -2
  109. package/dist/calcite/{p-cc9dee38.entry.js → p-bf6ca6b9.entry.js} +2 -2
  110. package/dist/calcite/{p-514b19b5.entry.js → p-bfc3977c.entry.js} +2 -2
  111. package/dist/calcite/{p-715379c5.js → p-c189f8d7.js} +2 -2
  112. package/dist/calcite/{p-f27df2a7.js → p-c6c51779.js} +2 -2
  113. package/dist/calcite/{p-a88c525b.entry.js → p-c8731c2a.entry.js} +2 -2
  114. package/dist/calcite/{p-ff24dce2.js → p-c8c8b535.js} +2 -2
  115. package/dist/calcite/{p-f9ef2231.js → p-ca6c4dbe.js} +2 -2
  116. package/dist/calcite/{p-601cb9ba.entry.js → p-cb861113.entry.js} +2 -2
  117. package/dist/calcite/{p-6f488236.js → p-cce06fa7.js} +2 -2
  118. package/dist/calcite/{p-ef7200f3.js → p-cce40122.js} +1 -1
  119. package/dist/calcite/p-ce5854b2.entry.js +6 -0
  120. package/dist/calcite/{p-d5c970b5.js → p-ce7b6762.js} +2 -2
  121. package/dist/calcite/{p-5aaf9db4.js → p-d048bcbc.js} +2 -2
  122. package/dist/calcite/{p-5ce86e4d.js → p-d131423d.js} +2 -2
  123. package/dist/calcite/{p-2a99991c.js → p-d18b99be.js} +2 -2
  124. package/dist/calcite/{p-6842f54b.js → p-d21e5297.js} +2 -2
  125. package/dist/calcite/{p-9f698c3e.js → p-d45f8fce.js} +2 -2
  126. package/dist/calcite/{p-5857848c.js → p-d4664913.js} +2 -2
  127. package/dist/calcite/{p-2926b951.js → p-d4743786.js} +2 -2
  128. package/dist/calcite/p-d485e381.entry.js +6 -0
  129. package/dist/calcite/{p-60e730ea.entry.js → p-d622df7e.entry.js} +2 -2
  130. package/dist/calcite/p-d7a811f3.entry.js +6 -0
  131. package/dist/calcite/{p-8b7e6c91.entry.js → p-d873fb10.entry.js} +2 -2
  132. package/dist/calcite/{p-27da5f0a.entry.js → p-db3e8a7f.entry.js} +2 -2
  133. package/dist/calcite/p-dcb20d27.entry.js +6 -0
  134. package/dist/calcite/{p-576afa84.js → p-e0183b81.js} +2 -2
  135. package/dist/calcite/{p-6566621d.entry.js → p-e018ea09.entry.js} +2 -2
  136. package/dist/calcite/{p-a4f2a453.entry.js → p-e10116d5.entry.js} +2 -2
  137. package/dist/calcite/{p-3ecdda82.js → p-e175abee.js} +2 -2
  138. package/dist/calcite/{p-32e8902b.entry.js → p-e241de63.entry.js} +2 -2
  139. package/dist/calcite/{p-cd296143.js → p-e268ec5b.js} +2 -2
  140. package/dist/calcite/{p-2930aaf0.js → p-e386f71f.js} +2 -2
  141. package/dist/calcite/{p-8908ebd6.js → p-e72882ee.js} +2 -2
  142. package/dist/calcite/{p-213a7cf1.js → p-ec4808e0.js} +2 -2
  143. package/dist/calcite/{p-d031cdc5.entry.js → p-ecc2ca94.entry.js} +2 -2
  144. package/dist/calcite/{p-1c4c382a.entry.js → p-f03a2a8e.entry.js} +2 -2
  145. package/dist/calcite/{p-35b07beb.entry.js → p-f0b14542.entry.js} +2 -2
  146. package/dist/calcite/{p-31d202b4.js → p-f1db40b6.js} +2 -2
  147. package/dist/calcite/{p-67c5aee3.entry.js → p-f2a208e8.entry.js} +2 -2
  148. package/dist/calcite/{p-a7c5dda4.entry.js → p-f2e6905b.entry.js} +2 -2
  149. package/dist/calcite/{p-57a97c59.js → p-f2f66060.js} +2 -2
  150. package/dist/calcite/{p-10ba1385.js → p-f83fb54d.js} +2 -2
  151. package/dist/calcite/{p-052501d3.js → p-fc5a3526.js} +2 -2
  152. package/dist/calcite/{p-6ca62068.entry.js → p-ff50344a.entry.js} +2 -2
  153. package/dist/cjs/{ExpandToggle-7a6a13ab.js → ExpandToggle-16daf934.js} +5 -5
  154. package/dist/cjs/{FloatingArrow-e1a56c97.js → FloatingArrow-c575eaf5.js} +2 -2
  155. package/dist/cjs/{Heading-90dc87d1.js → Heading-0668bfb0.js} +2 -2
  156. package/dist/cjs/{app-globals-0ed26d73.js → app-globals-71948013.js} +2 -2
  157. package/dist/cjs/{ar-8b94143e.js → ar-c9bd28e3.js} +15 -15
  158. package/dist/cjs/{array-65c78c3f.js → array-72ec1f48.js} +1 -1
  159. package/dist/cjs/{bg-aa2fc5b5.js → bg-119fedeb.js} +15 -15
  160. package/dist/cjs/{bs-96f628a1.js → bs-3450b685.js} +15 -15
  161. package/dist/cjs/{ca-f427e14b.js → ca-f0805c0d.js} +15 -15
  162. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  163. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  164. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
  165. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  166. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  167. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  168. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  169. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  170. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
  171. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  172. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  173. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
  176. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
  177. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  178. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  179. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  180. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  182. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  183. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  184. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  185. package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
  186. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
  188. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  189. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  190. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  191. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  192. package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-155ad9a2.js → calcite-input-time-picker.calcite-time-picker-62431c04.js} +60 -60
  193. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
  194. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
  195. package/dist/cjs/calcite-input.cjs.entry.js +13 -13
  196. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  197. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  198. package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
  199. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  200. package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
  201. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  202. package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
  206. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  208. package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
  209. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  211. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  212. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  214. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  218. package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
  219. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  220. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
  222. package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
  226. package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -9
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
  229. package/dist/cjs/calcite.cjs.js +4 -4
  230. package/dist/cjs/{conditionalSlot-cf83758b.js → conditionalSlot-40d9de64.js} +3 -3
  231. package/dist/cjs/{cs-23c98f06.js → cs-4a91b27d.js} +15 -15
  232. package/dist/cjs/{da-ae605043.js → da-900b8c40.js} +15 -15
  233. package/dist/cjs/{de-ae91fb72.js → de-263bd905.js} +15 -15
  234. package/dist/cjs/{de-at-45437b91.js → de-at-f4c1efa6.js} +15 -15
  235. package/dist/cjs/{de-ch-28b11d73.js → de-ch-9a5ec1a8.js} +15 -15
  236. package/dist/cjs/{debounce-5ca2785d.js → debounce-23d5459e.js} +1 -1
  237. package/dist/cjs/{dom-1e93aa4d.js → dom-d3493307.js} +3 -3
  238. package/dist/cjs/{el-83e69dc6.js → el-d494dfce.js} +15 -15
  239. package/dist/cjs/{en-au-bc94cceb.js → en-au-e1f7ee63.js} +15 -15
  240. package/dist/cjs/{en-ca-2aa29c87.js → en-ca-230af2db.js} +15 -15
  241. package/dist/cjs/{en-gb-4284db08.js → en-gb-e136b765.js} +15 -15
  242. package/dist/cjs/{es-1800e343.js → es-5188665c.js} +15 -15
  243. package/dist/cjs/{es-mx-d47605ec.js → es-mx-5c1f8832.js} +15 -15
  244. package/dist/cjs/{et-50d36917.js → et-34cd956a.js} +15 -15
  245. package/dist/cjs/{fi-d3c44359.js → fi-9ae99d87.js} +15 -15
  246. package/dist/cjs/{filter-10184335.js → filter-2df9e8cf.js} +2 -2
  247. package/dist/cjs/{floating-ui-3cb6840f.js → floating-ui-e66208b6.js} +3 -3
  248. package/dist/cjs/{focusTrapComponent-e8b02d4b.js → focusTrapComponent-870f8f2f.js} +2 -2
  249. package/dist/cjs/{form-3b5bf150.js → form-81584164.js} +3 -3
  250. package/dist/cjs/{fr-ch-433477c8.js → fr-ch-f07d45d5.js} +15 -15
  251. package/dist/cjs/{fr-d260100f.js → fr-e4ffb510.js} +15 -15
  252. package/dist/cjs/{guid-19af6739.js → guid-683f104e.js} +1 -1
  253. package/dist/cjs/{he-e38a6102.js → he-d80bf73d.js} +15 -15
  254. package/dist/cjs/{hi-709f261f.js → hi-a6fecf12.js} +15 -15
  255. package/dist/cjs/{hr-b4f0657a.js → hr-8482d5a2.js} +15 -15
  256. package/dist/cjs/{hu-6f5e6937.js → hu-ebacfa55.js} +15 -15
  257. package/dist/cjs/{id-841a4c0b.js → id-5cf49a1d.js} +15 -15
  258. package/dist/cjs/{index-597abb9f.js → index-7a4bb102.js} +1 -1
  259. package/dist/cjs/index.cjs.js +2 -2
  260. package/dist/cjs/{interactive-5e2f5aac.js → interactive-ae4b5cfd.js} +1 -1
  261. package/dist/cjs/{it-60ddf148.js → it-4768d747.js} +15 -15
  262. package/dist/cjs/{it-ch-33ceae9e.js → it-ch-45519b63.js} +15 -15
  263. package/dist/cjs/{ja-7e492e8c.js → ja-c570ec94.js} +15 -15
  264. package/dist/cjs/{key-643772fd.js → key-33e2c6bf.js} +1 -1
  265. package/dist/cjs/{ko-f8332ae9.js → ko-12e97430.js} +15 -15
  266. package/dist/cjs/{label-ac1cdec6.js → label-71c38251.js} +2 -2
  267. package/dist/cjs/{loadable-afb3f8f7.js → loadable-02084a9f.js} +2 -2
  268. package/dist/cjs/loader.cjs.js +4 -4
  269. package/dist/cjs/{locale-c3b7289d.js → locale-6c4f3048.js} +4 -4
  270. package/dist/cjs/{lt-7f8e2da9.js → lt-4d106de8.js} +15 -15
  271. package/dist/cjs/{lv-19d2ec24.js → lv-1d6403be.js} +15 -15
  272. package/dist/cjs/{math-1621633f.js → math-b167a9ac.js} +1 -1
  273. package/dist/cjs/{mk-f7a32b50.js → mk-4ba9bc40.js} +15 -15
  274. package/dist/cjs/{nb-7bb09522.js → nb-e2b33f81.js} +15 -15
  275. package/dist/cjs/{nl-0bd2fec9.js → nl-733cfbfd.js} +15 -15
  276. package/dist/cjs/{observers-5d11b15d.js → observers-1d99603d.js} +1 -1
  277. package/dist/cjs/openCloseComponent-52941f87.js +79 -0
  278. package/dist/cjs/{pl-275ecef1.js → pl-ac4f5d1e.js} +15 -15
  279. package/dist/cjs/{pt-br-9b07b728.js → pt-br-fd51701e.js} +15 -15
  280. package/dist/cjs/{pt-fbbd0b2f.js → pt-d902362d.js} +15 -15
  281. package/dist/cjs/{resources-cc861e4d.js → resources-0e5ef869.js} +1 -1
  282. package/dist/cjs/{resources-87002b98.js → resources-15657c41.js} +5 -5
  283. package/dist/cjs/{resources-04f79749.js → resources-2670d7c6.js} +1 -1
  284. package/dist/cjs/{resources-8dd51f08.js → resources-8264370a.js} +1 -1
  285. package/dist/cjs/{resources-6b8d775d.js → resources-c03b95ce.js} +1 -1
  286. package/dist/cjs/{resources-e1a2a8f4.js → resources-c74a3ae7.js} +1 -1
  287. package/dist/cjs/{resources-c355c039.js → resources-efda7010.js} +1 -1
  288. package/dist/cjs/{ro-a5f7b6a0.js → ro-9434d084.js} +15 -15
  289. package/dist/cjs/{ru-86a1b8de.js → ru-b93593e6.js} +15 -15
  290. package/dist/cjs/{sk-2597b2cc.js → sk-ef212a4d.js} +15 -15
  291. package/dist/cjs/{sl-eb41a4ea.js → sl-76a74f6d.js} +15 -15
  292. package/dist/cjs/{sortableComponent-891e1f41.js → sortableComponent-920ebd32.js} +2 -2
  293. package/dist/cjs/{sr-a9bfb41d.js → sr-324706c4.js} +15 -15
  294. package/dist/cjs/{sv-36c3d9b8.js → sv-d85edf7d.js} +15 -15
  295. package/dist/cjs/{t9n-a5f323b1.js → t9n-43972a9b.js} +3 -3
  296. package/dist/cjs/{th-a5009035.js → th-064cf50a.js} +15 -15
  297. package/dist/cjs/{throttle-4d8610a8.js → throttle-47f5c355.js} +2 -2
  298. package/dist/cjs/{tr-2d761686.js → tr-f8567cab.js} +15 -15
  299. package/dist/cjs/{uk-3612c0b5.js → uk-6f3e413e.js} +15 -15
  300. package/dist/cjs/{utils-7fc9de1d.js → utils-744fcb6a.js} +1 -1
  301. package/dist/cjs/{utils-2654440f.js → utils-ee9c8fe8.js} +3 -3
  302. package/dist/cjs/{vi-06b213ae.js → vi-93a4b1c1.js} +15 -15
  303. package/dist/cjs/{zh-cn-aa338560.js → zh-cn-788d38f6.js} +15 -15
  304. package/dist/cjs/{zh-hk-3d6690e9.js → zh-hk-63666ff5.js} +15 -15
  305. package/dist/cjs/{zh-tw-af15d60b.js → zh-tw-035bc421.js} +15 -15
  306. package/dist/collection/components/accordion/accordion.js +1 -1
  307. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  308. package/dist/collection/components/accordion-item/resources.js +1 -1
  309. package/dist/collection/components/action/action.js +1 -1
  310. package/dist/collection/components/action/resources.js +1 -1
  311. package/dist/collection/components/action-bar/action-bar.js +1 -1
  312. package/dist/collection/components/action-bar/resources.js +1 -1
  313. package/dist/collection/components/action-bar/utils.js +1 -1
  314. package/dist/collection/components/action-group/action-group.js +1 -1
  315. package/dist/collection/components/action-group/resources.js +1 -1
  316. package/dist/collection/components/action-menu/action-menu.js +1 -1
  317. package/dist/collection/components/action-menu/resources.js +1 -1
  318. package/dist/collection/components/action-pad/action-pad.js +1 -1
  319. package/dist/collection/components/action-pad/resources.js +1 -1
  320. package/dist/collection/components/alert/alert.js +1 -1
  321. package/dist/collection/components/alert/resources.js +1 -1
  322. package/dist/collection/components/avatar/avatar.js +1 -1
  323. package/dist/collection/components/avatar/utils.js +1 -1
  324. package/dist/collection/components/block/block.css +1 -0
  325. package/dist/collection/components/block/block.js +1 -1
  326. package/dist/collection/components/block/resources.js +1 -1
  327. package/dist/collection/components/block-section/block-section.js +1 -1
  328. package/dist/collection/components/block-section/resources.js +1 -1
  329. package/dist/collection/components/button/button.js +1 -1
  330. package/dist/collection/components/button/resources.js +1 -1
  331. package/dist/collection/components/card/card.js +1 -1
  332. package/dist/collection/components/card/resources.js +1 -1
  333. package/dist/collection/components/checkbox/checkbox.js +1 -1
  334. package/dist/collection/components/chip/chip.js +1 -1
  335. package/dist/collection/components/chip/resources.js +1 -1
  336. package/dist/collection/components/chip-group/chip-group.js +1 -1
  337. package/dist/collection/components/color-picker/color-picker.js +1 -1
  338. package/dist/collection/components/color-picker/resources.js +1 -1
  339. package/dist/collection/components/color-picker/utils.js +1 -1
  340. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  341. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  342. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  343. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  344. package/dist/collection/components/combobox/combobox.js +1 -1
  345. package/dist/collection/components/combobox/resources.js +1 -1
  346. package/dist/collection/components/combobox/utils.js +1 -1
  347. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  348. package/dist/collection/components/combobox-item/resources.js +1 -1
  349. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  350. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  351. package/dist/collection/components/date-picker/date-picker.js +1 -1
  352. package/dist/collection/components/date-picker/resources.js +1 -1
  353. package/dist/collection/components/date-picker/utils.js +1 -1
  354. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  355. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  356. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  357. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  358. package/dist/collection/components/dropdown/dropdown.js +1 -1
  359. package/dist/collection/components/dropdown/resources.js +1 -1
  360. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  361. package/dist/collection/components/dropdown-group/resources.js +1 -1
  362. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  363. package/dist/collection/components/dropdown-item/resources.js +1 -1
  364. package/dist/collection/components/fab/fab.js +1 -1
  365. package/dist/collection/components/fab/resources.js +1 -1
  366. package/dist/collection/components/filter/filter.js +1 -1
  367. package/dist/collection/components/filter/resources.js +1 -1
  368. package/dist/collection/components/flow/flow.js +1 -1
  369. package/dist/collection/components/flow/resources.js +1 -1
  370. package/dist/collection/components/flow-item/flow-item.js +1 -1
  371. package/dist/collection/components/flow-item/resources.js +1 -1
  372. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  373. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  374. package/dist/collection/components/functional/Heading.js +1 -1
  375. package/dist/collection/components/functional/XButton.js +1 -1
  376. package/dist/collection/components/graph/graph.js +1 -1
  377. package/dist/collection/components/graph/util.js +1 -1
  378. package/dist/collection/components/handle/handle.js +1 -1
  379. package/dist/collection/components/handle/resources.js +1 -1
  380. package/dist/collection/components/icon/icon.js +1 -1
  381. package/dist/collection/components/icon/resources.js +1 -1
  382. package/dist/collection/components/icon/utils.js +1 -1
  383. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  384. package/dist/collection/components/inline-editable/resources.js +1 -1
  385. package/dist/collection/components/input/input.js +1 -1
  386. package/dist/collection/components/input/resources.js +1 -1
  387. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  388. package/dist/collection/components/input-date-picker/resources.js +1 -1
  389. package/dist/collection/components/input-message/input-message.js +1 -1
  390. package/dist/collection/components/input-message/interfaces.js +1 -1
  391. package/dist/collection/components/input-number/input-number.js +1 -1
  392. package/dist/collection/components/input-number/resources.js +1 -1
  393. package/dist/collection/components/input-text/input-text.js +1 -1
  394. package/dist/collection/components/input-text/resources.js +1 -1
  395. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  396. package/dist/collection/components/input-time-picker/resources.js +1 -1
  397. package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
  398. package/dist/collection/components/input-time-zone/utils.js +1 -1
  399. package/dist/collection/components/label/label.js +1 -1
  400. package/dist/collection/components/label/resources.js +1 -1
  401. package/dist/collection/components/link/link.js +1 -1
  402. package/dist/collection/components/list/list.js +1 -1
  403. package/dist/collection/components/list/resources.js +1 -1
  404. package/dist/collection/components/list-item/list-item.js +1 -1
  405. package/dist/collection/components/list-item/resources.js +1 -1
  406. package/dist/collection/components/list-item/utils.js +1 -1
  407. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  408. package/dist/collection/components/list-item-group/resources.js +1 -1
  409. package/dist/collection/components/loader/loader.js +1 -1
  410. package/dist/collection/components/menu/menu.js +1 -1
  411. package/dist/collection/components/menu-item/menu-item.js +1 -1
  412. package/dist/collection/components/menu-item/resources.js +1 -1
  413. package/dist/collection/components/modal/modal.js +1 -1
  414. package/dist/collection/components/modal/resources.js +1 -1
  415. package/dist/collection/components/navigation/navigation.js +1 -1
  416. package/dist/collection/components/navigation/resources.js +1 -1
  417. package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
  418. package/dist/collection/components/navigation-logo/resources.js +1 -1
  419. package/dist/collection/components/navigation-user/navigation-user.js +1 -1
  420. package/dist/collection/components/navigation-user/resources.js +1 -1
  421. package/dist/collection/components/notice/notice.js +1 -1
  422. package/dist/collection/components/notice/resources.js +1 -1
  423. package/dist/collection/components/option/option.js +1 -1
  424. package/dist/collection/components/option-group/option-group.js +1 -1
  425. package/dist/collection/components/pagination/pagination.js +1 -1
  426. package/dist/collection/components/pagination/resources.js +1 -1
  427. package/dist/collection/components/panel/panel.js +1 -1
  428. package/dist/collection/components/panel/resources.js +1 -1
  429. package/dist/collection/components/pick-list/pick-list.js +1 -1
  430. package/dist/collection/components/pick-list/resources.js +1 -1
  431. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  432. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  433. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  434. package/dist/collection/components/pick-list-group/resources.js +1 -1
  435. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  436. package/dist/collection/components/pick-list-item/resources.js +1 -1
  437. package/dist/collection/components/popover/PopoverManager.js +1 -1
  438. package/dist/collection/components/popover/popover.js +1 -1
  439. package/dist/collection/components/popover/resources.js +1 -1
  440. package/dist/collection/components/progress/progress.js +1 -1
  441. package/dist/collection/components/radio-button/radio-button.js +1 -1
  442. package/dist/collection/components/radio-button/resources.js +1 -1
  443. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  444. package/dist/collection/components/rating/function/star.js +1 -1
  445. package/dist/collection/components/rating/rating.js +1 -1
  446. package/dist/collection/components/resources.js +1 -1
  447. package/dist/collection/components/scrim/resources.js +1 -1
  448. package/dist/collection/components/scrim/scrim.js +1 -1
  449. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  450. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  451. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  452. package/dist/collection/components/select/resources.js +1 -1
  453. package/dist/collection/components/select/select.js +1 -1
  454. package/dist/collection/components/shell/resources.js +1 -1
  455. package/dist/collection/components/shell/shell.js +1 -1
  456. package/dist/collection/components/shell-center-row/resources.js +1 -1
  457. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  458. package/dist/collection/components/shell-panel/resources.js +1 -1
  459. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  460. package/dist/collection/components/slider/resources.js +1 -1
  461. package/dist/collection/components/slider/slider.js +1 -1
  462. package/dist/collection/components/sortable-list/resources.js +1 -1
  463. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  464. package/dist/collection/components/split-button/resources.js +1 -1
  465. package/dist/collection/components/split-button/split-button.js +1 -1
  466. package/dist/collection/components/stack/resources.js +1 -1
  467. package/dist/collection/components/stack/stack.js +1 -1
  468. package/dist/collection/components/stepper/stepper.js +1 -1
  469. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  470. package/dist/collection/components/switch/switch.js +1 -1
  471. package/dist/collection/components/tab/tab.js +1 -1
  472. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  473. package/dist/collection/components/tab-title/resources.js +1 -1
  474. package/dist/collection/components/tab-title/tab-title.js +1 -1
  475. package/dist/collection/components/tabs/resources.js +1 -1
  476. package/dist/collection/components/tabs/tabs.js +1 -1
  477. package/dist/collection/components/text-area/resources.js +1 -1
  478. package/dist/collection/components/text-area/text-area.js +1 -1
  479. package/dist/collection/components/tile/resources.js +1 -1
  480. package/dist/collection/components/tile/tile.js +1 -1
  481. package/dist/collection/components/tile-select/resources.js +1 -1
  482. package/dist/collection/components/tile-select/tile-select.js +1 -1
  483. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  484. package/dist/collection/components/time-picker/resources.js +1 -1
  485. package/dist/collection/components/time-picker/time-picker.js +1 -1
  486. package/dist/collection/components/tip/resources.js +1 -1
  487. package/dist/collection/components/tip/tip.js +1 -1
  488. package/dist/collection/components/tip-group/tip-group.js +1 -1
  489. package/dist/collection/components/tip-manager/resources.js +1 -1
  490. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  491. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  492. package/dist/collection/components/tooltip/resources.js +1 -1
  493. package/dist/collection/components/tooltip/tooltip.js +6 -1
  494. package/dist/collection/components/tooltip/utils.js +1 -1
  495. package/dist/collection/components/tree/tree.js +1 -1
  496. package/dist/collection/components/tree/utils.js +1 -1
  497. package/dist/collection/components/tree-item/resources.js +1 -1
  498. package/dist/collection/components/tree-item/tree-item.js +1 -1
  499. package/dist/collection/components/value-list/resources.js +1 -1
  500. package/dist/collection/components/value-list/utils.js +1 -1
  501. package/dist/collection/components/value-list/value-list.js +1 -1
  502. package/dist/collection/components/value-list-item/resources.js +1 -1
  503. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  504. package/dist/collection/index.js +1 -1
  505. package/dist/collection/utils/array.js +1 -1
  506. package/dist/collection/utils/browser.js +1 -1
  507. package/dist/collection/utils/conditionalSlot.js +1 -1
  508. package/dist/collection/utils/config.js +1 -1
  509. package/dist/collection/utils/date.js +1 -1
  510. package/dist/collection/utils/dom.js +1 -1
  511. package/dist/collection/utils/filter.js +1 -1
  512. package/dist/collection/utils/floating-ui.js +1 -1
  513. package/dist/collection/utils/focusTrapComponent.js +1 -1
  514. package/dist/collection/utils/form.js +1 -1
  515. package/dist/collection/utils/globalAttributes.js +1 -1
  516. package/dist/collection/utils/globalScript.js +1 -1
  517. package/dist/collection/utils/guid.js +1 -1
  518. package/dist/collection/utils/interactive.js +1 -1
  519. package/dist/collection/utils/key.js +1 -1
  520. package/dist/collection/utils/label.js +1 -1
  521. package/dist/collection/utils/loadable.js +1 -1
  522. package/dist/collection/utils/locale.js +1 -1
  523. package/dist/collection/utils/math.js +1 -1
  524. package/dist/collection/utils/mode.js +1 -1
  525. package/dist/collection/utils/number.js +1 -1
  526. package/dist/collection/utils/observers.js +1 -1
  527. package/dist/collection/utils/openCloseComponent.js +48 -14
  528. package/dist/collection/utils/resources.js +1 -1
  529. package/dist/collection/utils/sortableComponent.js +1 -1
  530. package/dist/collection/utils/t9n.js +1 -1
  531. package/dist/collection/utils/time.js +1 -1
  532. package/dist/components/ExpandToggle.js +1 -1
  533. package/dist/components/FloatingArrow.js +1 -1
  534. package/dist/components/Heading.js +1 -1
  535. package/dist/components/action-group.js +1 -1
  536. package/dist/components/action-menu.js +1 -1
  537. package/dist/components/action.js +1 -1
  538. package/dist/components/ar.js +1 -1
  539. package/dist/components/array.js +1 -1
  540. package/dist/components/avatar.js +1 -1
  541. package/dist/components/bg.js +1 -1
  542. package/dist/components/bs.js +1 -1
  543. package/dist/components/button.js +1 -1
  544. package/dist/components/ca.js +1 -1
  545. package/dist/components/calcite-accordion-item.js +1 -1
  546. package/dist/components/calcite-accordion.js +1 -1
  547. package/dist/components/calcite-action-bar.js +1 -1
  548. package/dist/components/calcite-action-group.js +1 -1
  549. package/dist/components/calcite-action-menu.js +1 -1
  550. package/dist/components/calcite-action-pad.js +1 -1
  551. package/dist/components/calcite-action.js +1 -1
  552. package/dist/components/calcite-alert.js +1 -1
  553. package/dist/components/calcite-avatar.js +1 -1
  554. package/dist/components/calcite-block-section.js +1 -1
  555. package/dist/components/calcite-block.js +2 -2
  556. package/dist/components/calcite-button.js +1 -1
  557. package/dist/components/calcite-card.js +1 -1
  558. package/dist/components/calcite-checkbox.js +1 -1
  559. package/dist/components/calcite-chip-group.js +1 -1
  560. package/dist/components/calcite-chip.js +1 -1
  561. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  562. package/dist/components/calcite-color-picker-swatch.js +1 -1
  563. package/dist/components/calcite-color-picker.js +1 -1
  564. package/dist/components/calcite-combobox-item-group.js +1 -1
  565. package/dist/components/calcite-combobox-item.js +1 -1
  566. package/dist/components/calcite-combobox.js +1 -1
  567. package/dist/components/calcite-date-picker-day.js +1 -1
  568. package/dist/components/calcite-date-picker-month-header.js +1 -1
  569. package/dist/components/calcite-date-picker-month.js +1 -1
  570. package/dist/components/calcite-date-picker.js +1 -1
  571. package/dist/components/calcite-dropdown-group.js +1 -1
  572. package/dist/components/calcite-dropdown-item.js +1 -1
  573. package/dist/components/calcite-dropdown.js +1 -1
  574. package/dist/components/calcite-fab.js +1 -1
  575. package/dist/components/calcite-filter.js +1 -1
  576. package/dist/components/calcite-flow-item.js +1 -1
  577. package/dist/components/calcite-flow.js +1 -1
  578. package/dist/components/calcite-graph.js +1 -1
  579. package/dist/components/calcite-handle.js +1 -1
  580. package/dist/components/calcite-icon.js +1 -1
  581. package/dist/components/calcite-inline-editable.js +1 -1
  582. package/dist/components/calcite-input-date-picker.js +1 -1
  583. package/dist/components/calcite-input-message.js +1 -1
  584. package/dist/components/calcite-input-number.js +1 -1
  585. package/dist/components/calcite-input-text.js +1 -1
  586. package/dist/components/calcite-input-time-picker.js +1 -1
  587. package/dist/components/calcite-input-time-zone.js +1 -1
  588. package/dist/components/calcite-input.js +1 -1
  589. package/dist/components/calcite-label.js +1 -1
  590. package/dist/components/calcite-link.js +1 -1
  591. package/dist/components/calcite-list-item-group.js +1 -1
  592. package/dist/components/calcite-list-item.js +1 -1
  593. package/dist/components/calcite-list.js +1 -1
  594. package/dist/components/calcite-loader.js +1 -1
  595. package/dist/components/calcite-menu-item.js +1 -1
  596. package/dist/components/calcite-menu.js +1 -1
  597. package/dist/components/calcite-modal.js +1 -1
  598. package/dist/components/calcite-navigation-logo.js +1 -1
  599. package/dist/components/calcite-navigation-user.js +1 -1
  600. package/dist/components/calcite-navigation.js +1 -1
  601. package/dist/components/calcite-notice.js +1 -1
  602. package/dist/components/calcite-option-group.js +1 -1
  603. package/dist/components/calcite-option.js +1 -1
  604. package/dist/components/calcite-pagination.js +1 -1
  605. package/dist/components/calcite-panel.js +1 -1
  606. package/dist/components/calcite-pick-list-group.js +1 -1
  607. package/dist/components/calcite-pick-list-item.js +1 -1
  608. package/dist/components/calcite-pick-list.js +1 -1
  609. package/dist/components/calcite-popover.js +1 -1
  610. package/dist/components/calcite-progress.js +1 -1
  611. package/dist/components/calcite-radio-button-group.js +1 -1
  612. package/dist/components/calcite-radio-button.js +1 -1
  613. package/dist/components/calcite-rating.js +1 -1
  614. package/dist/components/calcite-scrim.js +1 -1
  615. package/dist/components/calcite-segmented-control-item.js +1 -1
  616. package/dist/components/calcite-segmented-control.js +1 -1
  617. package/dist/components/calcite-select.js +1 -1
  618. package/dist/components/calcite-shell-center-row.js +1 -1
  619. package/dist/components/calcite-shell-panel.js +1 -1
  620. package/dist/components/calcite-shell.js +1 -1
  621. package/dist/components/calcite-slider.js +1 -1
  622. package/dist/components/calcite-sortable-list.js +1 -1
  623. package/dist/components/calcite-split-button.js +1 -1
  624. package/dist/components/calcite-stack.js +1 -1
  625. package/dist/components/calcite-stepper-item.js +1 -1
  626. package/dist/components/calcite-stepper.js +1 -1
  627. package/dist/components/calcite-switch.js +1 -1
  628. package/dist/components/calcite-tab-nav.js +1 -1
  629. package/dist/components/calcite-tab-title.js +1 -1
  630. package/dist/components/calcite-tab.js +1 -1
  631. package/dist/components/calcite-tabs.js +1 -1
  632. package/dist/components/calcite-text-area.js +1 -1
  633. package/dist/components/calcite-tile-select-group.js +1 -1
  634. package/dist/components/calcite-tile-select.js +1 -1
  635. package/dist/components/calcite-tile.js +1 -1
  636. package/dist/components/calcite-time-picker.js +1 -1
  637. package/dist/components/calcite-tip-group.js +1 -1
  638. package/dist/components/calcite-tip-manager.js +1 -1
  639. package/dist/components/calcite-tip.js +1 -1
  640. package/dist/components/calcite-tooltip.js +1 -1
  641. package/dist/components/calcite-tree-item.js +1 -1
  642. package/dist/components/calcite-tree.js +1 -1
  643. package/dist/components/calcite-value-list-item.js +1 -1
  644. package/dist/components/calcite-value-list.js +1 -1
  645. package/dist/components/checkbox.js +1 -1
  646. package/dist/components/chip.js +1 -1
  647. package/dist/components/color-picker-hex-input.js +1 -1
  648. package/dist/components/color-picker-swatch.js +1 -1
  649. package/dist/components/combobox-item.js +1 -1
  650. package/dist/components/combobox.js +1 -1
  651. package/dist/components/conditionalSlot.js +1 -1
  652. package/dist/components/cs.js +1 -1
  653. package/dist/components/da.js +1 -1
  654. package/dist/components/date-picker-day.js +1 -1
  655. package/dist/components/date-picker-month-header.js +1 -1
  656. package/dist/components/date-picker-month.js +1 -1
  657. package/dist/components/date-picker.js +1 -1
  658. package/dist/components/date.js +1 -1
  659. package/dist/components/de-at.js +1 -1
  660. package/dist/components/de-ch.js +1 -1
  661. package/dist/components/de.js +1 -1
  662. package/dist/components/debounce.js +1 -1
  663. package/dist/components/dom.js +1 -1
  664. package/dist/components/dropdown.js +1 -1
  665. package/dist/components/el.js +1 -1
  666. package/dist/components/en-au.js +1 -1
  667. package/dist/components/en-ca.js +1 -1
  668. package/dist/components/en-gb.js +1 -1
  669. package/dist/components/es-mx.js +1 -1
  670. package/dist/components/es.js +1 -1
  671. package/dist/components/et.js +1 -1
  672. package/dist/components/fi.js +1 -1
  673. package/dist/components/filter.js +1 -1
  674. package/dist/components/filter2.js +1 -1
  675. package/dist/components/floating-ui.js +1 -1
  676. package/dist/components/focusTrapComponent.js +1 -1
  677. package/dist/components/form.js +1 -1
  678. package/dist/components/fr-ch.js +1 -1
  679. package/dist/components/fr.js +1 -1
  680. package/dist/components/graph.js +1 -1
  681. package/dist/components/guid.js +1 -1
  682. package/dist/components/handle.js +1 -1
  683. package/dist/components/he.js +1 -1
  684. package/dist/components/hi.js +1 -1
  685. package/dist/components/hr.js +1 -1
  686. package/dist/components/hu.js +1 -1
  687. package/dist/components/icon.js +1 -1
  688. package/dist/components/id.js +1 -1
  689. package/dist/components/index.js +1 -1
  690. package/dist/components/index2.js +1 -1
  691. package/dist/components/input-number.js +1 -1
  692. package/dist/components/input-text.js +1 -1
  693. package/dist/components/input.js +1 -1
  694. package/dist/components/interactive.js +1 -1
  695. package/dist/components/it-ch.js +1 -1
  696. package/dist/components/it.js +1 -1
  697. package/dist/components/ja.js +1 -1
  698. package/dist/components/key.js +1 -1
  699. package/dist/components/ko.js +1 -1
  700. package/dist/components/label.js +1 -1
  701. package/dist/components/label2.js +1 -1
  702. package/dist/components/link.js +1 -1
  703. package/dist/components/loadable.js +1 -1
  704. package/dist/components/loader.js +1 -1
  705. package/dist/components/locale.js +1 -1
  706. package/dist/components/lt.js +1 -1
  707. package/dist/components/lv.js +1 -1
  708. package/dist/components/math.js +1 -1
  709. package/dist/components/menu.js +1 -1
  710. package/dist/components/mk.js +1 -1
  711. package/dist/components/nb.js +1 -1
  712. package/dist/components/nl.js +1 -1
  713. package/dist/components/observers.js +1 -1
  714. package/dist/components/openCloseComponent.js +46 -14
  715. package/dist/components/panel.js +1 -1
  716. package/dist/components/pick-list-item.js +1 -1
  717. package/dist/components/pl.js +1 -1
  718. package/dist/components/popover.js +1 -1
  719. package/dist/components/progress.js +1 -1
  720. package/dist/components/pt-br.js +1 -1
  721. package/dist/components/pt.js +1 -1
  722. package/dist/components/resources.js +1 -1
  723. package/dist/components/resources2.js +1 -1
  724. package/dist/components/resources3.js +1 -1
  725. package/dist/components/ro.js +1 -1
  726. package/dist/components/ru.js +1 -1
  727. package/dist/components/scrim.js +1 -1
  728. package/dist/components/shared-list-render.js +1 -1
  729. package/dist/components/sk.js +1 -1
  730. package/dist/components/sl.js +1 -1
  731. package/dist/components/sortableComponent.js +1 -1
  732. package/dist/components/sr.js +1 -1
  733. package/dist/components/stack.js +1 -1
  734. package/dist/components/sv.js +1 -1
  735. package/dist/components/switch.js +1 -1
  736. package/dist/components/t9n.js +1 -1
  737. package/dist/components/tab-nav.js +1 -1
  738. package/dist/components/tab-title.js +1 -1
  739. package/dist/components/tab.js +1 -1
  740. package/dist/components/tabs.js +1 -1
  741. package/dist/components/th.js +1 -1
  742. package/dist/components/throttle.js +1 -1
  743. package/dist/components/tile.js +1 -1
  744. package/dist/components/time-picker.js +1 -1
  745. package/dist/components/tooltip.js +6 -1
  746. package/dist/components/tr.js +1 -1
  747. package/dist/components/uk.js +1 -1
  748. package/dist/components/utils.js +1 -1
  749. package/dist/components/utils2.js +1 -1
  750. package/dist/components/utils3.js +1 -1
  751. package/dist/components/vi.js +1 -1
  752. package/dist/components/zh-cn.js +1 -1
  753. package/dist/components/zh-hk.js +1 -1
  754. package/dist/components/zh-tw.js +1 -1
  755. package/dist/esm/{ExpandToggle-bb401c5e.js → ExpandToggle-b8d85afe.js} +5 -5
  756. package/dist/esm/{FloatingArrow-f2caea67.js → FloatingArrow-a1d0919b.js} +2 -2
  757. package/dist/esm/{Heading-bf439757.js → Heading-eaba6017.js} +2 -2
  758. package/dist/esm/{app-globals-d2577425.js → app-globals-44f5fe80.js} +2 -2
  759. package/dist/esm/{ar-2bf0c0b2.js → ar-6d679cb9.js} +15 -15
  760. package/dist/esm/{array-5466d4fd.js → array-9de35ebe.js} +1 -1
  761. package/dist/esm/{bg-15f3b645.js → bg-e80e33f1.js} +15 -15
  762. package/dist/esm/{bs-98e3a009.js → bs-7ed44d1e.js} +15 -15
  763. package/dist/esm/{ca-bfae7093.js → ca-3554978d.js} +15 -15
  764. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  765. package/dist/esm/calcite-action-bar.entry.js +15 -15
  766. package/dist/esm/calcite-action-group.entry.js +13 -13
  767. package/dist/esm/calcite-action-menu.entry.js +9 -9
  768. package/dist/esm/calcite-action-pad.entry.js +14 -14
  769. package/dist/esm/calcite-action.entry.js +11 -11
  770. package/dist/esm/calcite-alert.entry.js +12 -12
  771. package/dist/esm/calcite-avatar.entry.js +6 -6
  772. package/dist/esm/calcite-block_2.entry.js +14 -14
  773. package/dist/esm/calcite-button.entry.js +13 -13
  774. package/dist/esm/calcite-card.entry.js +10 -10
  775. package/dist/esm/calcite-checkbox.entry.js +10 -10
  776. package/dist/esm/calcite-chip-group.entry.js +8 -8
  777. package/dist/esm/calcite-chip.entry.js +12 -12
  778. package/dist/esm/calcite-color-picker_3.entry.js +15 -15
  779. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  780. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  781. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  782. package/dist/esm/calcite-fab.entry.js +7 -7
  783. package/dist/esm/calcite-filter.entry.js +13 -13
  784. package/dist/esm/calcite-flow-item.entry.js +12 -12
  785. package/dist/esm/calcite-flow.entry.js +4 -4
  786. package/dist/esm/calcite-graph_2.entry.js +13 -13
  787. package/dist/esm/calcite-handle.entry.js +10 -10
  788. package/dist/esm/calcite-icon.entry.js +6 -6
  789. package/dist/esm/calcite-inline-editable.entry.js +12 -12
  790. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  791. package/dist/esm/calcite-input-message.entry.js +5 -5
  792. package/dist/esm/calcite-input-number.entry.js +13 -13
  793. package/dist/esm/calcite-input-text.entry.js +13 -13
  794. package/dist/esm/{calcite-input-time-picker.calcite-time-picker-330d7995.js → calcite-input-time-picker.calcite-time-picker-323c63b7.js} +60 -60
  795. package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
  796. package/dist/esm/calcite-input-time-zone.entry.js +13 -13
  797. package/dist/esm/calcite-input.entry.js +13 -13
  798. package/dist/esm/calcite-label.entry.js +6 -6
  799. package/dist/esm/calcite-link.entry.js +7 -7
  800. package/dist/esm/calcite-list_3.entry.js +14 -14
  801. package/dist/esm/calcite-loader.entry.js +3 -3
  802. package/dist/esm/calcite-menu_2.entry.js +10 -10
  803. package/dist/esm/calcite-modal.entry.js +13 -13
  804. package/dist/esm/calcite-navigation_3.entry.js +6 -6
  805. package/dist/esm/calcite-notice.entry.js +12 -12
  806. package/dist/esm/calcite-option_3.entry.js +10 -10
  807. package/dist/esm/calcite-pagination.entry.js +10 -10
  808. package/dist/esm/calcite-panel.entry.js +14 -14
  809. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  810. package/dist/esm/calcite-popover.entry.js +16 -16
  811. package/dist/esm/calcite-progress.entry.js +2 -2
  812. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  813. package/dist/esm/calcite-radio-button.entry.js +10 -10
  814. package/dist/esm/calcite-rating.entry.js +13 -13
  815. package/dist/esm/calcite-scrim.entry.js +9 -9
  816. package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
  817. package/dist/esm/calcite-shell_3.entry.js +11 -11
  818. package/dist/esm/calcite-sortable-list.entry.js +8 -8
  819. package/dist/esm/calcite-split-button.entry.js +4 -4
  820. package/dist/esm/calcite-stack.entry.js +6 -6
  821. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  822. package/dist/esm/calcite-switch.entry.js +10 -10
  823. package/dist/esm/calcite-tab_4.entry.js +10 -10
  824. package/dist/esm/calcite-text-area.entry.js +15 -15
  825. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  826. package/dist/esm/calcite-tile.entry.js +8 -8
  827. package/dist/esm/calcite-tip_3.entry.js +11 -11
  828. package/dist/esm/calcite-tooltip.entry.js +14 -9
  829. package/dist/esm/calcite-tree_2.entry.js +8 -8
  830. package/dist/esm/calcite-value-list_2.entry.js +16 -16
  831. package/dist/esm/calcite.js +5 -5
  832. package/dist/esm/{conditionalSlot-b4c63bec.js → conditionalSlot-301396f9.js} +3 -3
  833. package/dist/esm/{cs-4871a233.js → cs-4dfa5843.js} +15 -15
  834. package/dist/esm/{da-9b0ef3e6.js → da-3e9ad974.js} +15 -15
  835. package/dist/esm/{de-32ad4a81.js → de-78ccadc8.js} +15 -15
  836. package/dist/esm/{de-at-42e9059f.js → de-at-5b4a2eb7.js} +15 -15
  837. package/dist/esm/{de-ch-08b77cfa.js → de-ch-73fc483d.js} +15 -15
  838. package/dist/esm/{debounce-3c5d74d2.js → debounce-1e7263fa.js} +1 -1
  839. package/dist/esm/{dom-4d04bf25.js → dom-00402642.js} +3 -3
  840. package/dist/esm/{el-14277fe7.js → el-3c3ef331.js} +15 -15
  841. package/dist/esm/{en-au-54caf2bf.js → en-au-f0fb8fec.js} +15 -15
  842. package/dist/esm/{en-ca-d040ff6c.js → en-ca-d3110117.js} +15 -15
  843. package/dist/esm/{en-gb-6a4a3706.js → en-gb-10a51950.js} +15 -15
  844. package/dist/esm/{es-5175b0f7.js → es-0060e708.js} +15 -15
  845. package/dist/esm/{es-mx-cdc1993e.js → es-mx-9000ef44.js} +15 -15
  846. package/dist/esm/{et-8be2b9f3.js → et-cd4439d6.js} +15 -15
  847. package/dist/esm/{fi-e77fddf4.js → fi-83698625.js} +15 -15
  848. package/dist/esm/{filter-11d5304f.js → filter-72ae00ac.js} +2 -2
  849. package/dist/esm/{floating-ui-ba6d8425.js → floating-ui-4f58e0a2.js} +3 -3
  850. package/dist/esm/{focusTrapComponent-9947563f.js → focusTrapComponent-d230f9f0.js} +2 -2
  851. package/dist/esm/{form-73744ddd.js → form-dedd9c02.js} +3 -3
  852. package/dist/esm/{fr-1f75176b.js → fr-36fef870.js} +15 -15
  853. package/dist/esm/{fr-ch-3c9e1b71.js → fr-ch-14a7c3bb.js} +15 -15
  854. package/dist/esm/{guid-cce0eebd.js → guid-dd83e889.js} +1 -1
  855. package/dist/esm/{he-a602e12e.js → he-ef45602c.js} +15 -15
  856. package/dist/esm/{hi-2afa356b.js → hi-cfa9cb3d.js} +15 -15
  857. package/dist/esm/{hr-ec55b42d.js → hr-0ba8f5d9.js} +15 -15
  858. package/dist/esm/{hu-b905ad05.js → hu-ce3427cd.js} +15 -15
  859. package/dist/esm/{id-ff0480a0.js → id-445685f5.js} +15 -15
  860. package/dist/esm/{index-d69cf7cb.js → index-1c787312.js} +1 -1
  861. package/dist/esm/index.js +2 -2
  862. package/dist/esm/{interactive-86d35bba.js → interactive-77d349b6.js} +1 -1
  863. package/dist/esm/{it-7dffb752.js → it-cba8166e.js} +15 -15
  864. package/dist/esm/{it-ch-cc510515.js → it-ch-69f6be13.js} +15 -15
  865. package/dist/esm/{ja-ad00fafe.js → ja-7b05aa7c.js} +15 -15
  866. package/dist/esm/{key-f67f7210.js → key-dfb4039b.js} +1 -1
  867. package/dist/esm/{ko-e53a51f5.js → ko-f2dd5e30.js} +15 -15
  868. package/dist/esm/{label-dfd28d56.js → label-5b1f39ae.js} +2 -2
  869. package/dist/esm/{loadable-a941991c.js → loadable-9d63468b.js} +2 -2
  870. package/dist/esm/loader.js +5 -5
  871. package/dist/esm/{locale-7251af66.js → locale-ce540ef4.js} +4 -4
  872. package/dist/esm/{lt-9d8fcd8f.js → lt-a61c3c16.js} +15 -15
  873. package/dist/esm/{lv-d4816815.js → lv-dc7180bb.js} +15 -15
  874. package/dist/esm/{math-d9a73015.js → math-c4d1f97a.js} +1 -1
  875. package/dist/esm/{mk-60596b7a.js → mk-d687803b.js} +15 -15
  876. package/dist/esm/{nb-a7e04514.js → nb-35580fb7.js} +15 -15
  877. package/dist/esm/{nl-5f801b10.js → nl-91f06794.js} +15 -15
  878. package/dist/esm/{observers-cb320739.js → observers-207a0a9b.js} +1 -1
  879. package/dist/esm/openCloseComponent-9c1ea93a.js +77 -0
  880. package/dist/esm/{pl-2a56b3dd.js → pl-93e93934.js} +15 -15
  881. package/dist/esm/{pt-8e27cb17.js → pt-8493d669.js} +15 -15
  882. package/dist/esm/{pt-br-09439257.js → pt-br-72d6ced1.js} +15 -15
  883. package/dist/esm/{resources-c399dfa7.js → resources-6c5593fe.js} +1 -1
  884. package/dist/esm/{resources-3c559dd4.js → resources-7ecdceab.js} +1 -1
  885. package/dist/esm/{resources-694bbdb7.js → resources-8919ed9f.js} +1 -1
  886. package/dist/esm/{resources-b3a3f6c3.js → resources-cb5c8598.js} +1 -1
  887. package/dist/esm/{resources-cfcd196b.js → resources-e4513dd9.js} +1 -1
  888. package/dist/esm/{resources-d27ba9c3.js → resources-e823ebc3.js} +5 -5
  889. package/dist/esm/{resources-95912128.js → resources-f06380a2.js} +1 -1
  890. package/dist/esm/{ro-a94c885d.js → ro-0d9e66e0.js} +15 -15
  891. package/dist/esm/{ru-24cc5021.js → ru-38e0c0ca.js} +15 -15
  892. package/dist/esm/{sk-3c1af2d2.js → sk-bdde866b.js} +15 -15
  893. package/dist/esm/{sl-02b053f9.js → sl-e9ce6fc4.js} +15 -15
  894. package/dist/esm/{sortableComponent-adf7cf2c.js → sortableComponent-e1480531.js} +2 -2
  895. package/dist/esm/{sr-d5110f83.js → sr-9ac31f84.js} +15 -15
  896. package/dist/esm/{sv-1fcb6730.js → sv-30c17229.js} +15 -15
  897. package/dist/esm/{t9n-0eee5b60.js → t9n-2fe49921.js} +3 -3
  898. package/dist/esm/{th-a8223048.js → th-9ca3da3b.js} +15 -15
  899. package/dist/esm/{throttle-61d7d48d.js → throttle-86965076.js} +2 -2
  900. package/dist/esm/{tr-d1a8ce8c.js → tr-4a0a251a.js} +15 -15
  901. package/dist/esm/{uk-b5a6852f.js → uk-ba472ef5.js} +15 -15
  902. package/dist/esm/{utils-433abd08.js → utils-630ee859.js} +1 -1
  903. package/dist/esm/{utils-f9b9f183.js → utils-639d6b92.js} +3 -3
  904. package/dist/esm/{vi-eaffa1bf.js → vi-7f11cba2.js} +15 -15
  905. package/dist/esm/{zh-cn-fa73d3a2.js → zh-cn-ea039dad.js} +15 -15
  906. package/dist/esm/{zh-hk-d8317feb.js → zh-hk-f0258758.js} +15 -15
  907. package/dist/esm/{zh-tw-b961f5fa.js → zh-tw-e14d064c.js} +15 -15
  908. package/dist/extras/docs-json.json +1 -1
  909. package/dist/loader/cdn.js +1 -1
  910. package/dist/loader/index.cjs.js +1 -1
  911. package/dist/loader/index.es2017.js +1 -1
  912. package/dist/loader/index.js +1 -1
  913. package/dist/types/components/tooltip/tooltip.d.ts +1 -0
  914. package/dist/types/utils/openCloseComponent.d.ts +17 -2
  915. package/hydrate/index.js +52 -15
  916. package/package.json +2 -2
  917. package/dist/calcite/p-212bf266.entry.js +0 -6
  918. package/dist/calcite/p-26603abc.entry.js +0 -6
  919. package/dist/calcite/p-3a06cc84.js +0 -6
  920. package/dist/calcite/p-3a2af43c.js +0 -6
  921. package/dist/calcite/p-59c14c65.entry.js +0 -6
  922. package/dist/calcite/p-7e552559.entry.js +0 -6
  923. package/dist/calcite/p-8b8f26af.entry.js +0 -6
  924. package/dist/calcite/p-a0b46caa.entry.js +0 -6
  925. package/dist/calcite/p-ab0af5c0.entry.js +0 -6
  926. package/dist/calcite/p-c6fbab69.js +0 -6
  927. package/dist/calcite/p-dacf4f71.entry.js +0 -6
  928. package/dist/calcite/p-f480fa99.entry.js +0 -6
  929. package/dist/calcite/p-f55909c9.js +0 -6
  930. package/dist/cjs/openCloseComponent-2d557554.js +0 -47
  931. package/dist/esm/openCloseComponent-9ba211ff.js +0 -45
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
4
+ * v1.5.0-next.37
5
5
  */
6
6
  'use strict';
7
7
 
@@ -10304,12 +10304,33 @@ class ActionPad {
10304
10304
  }; }
10305
10305
  }
10306
10306
 
10307
+ function emitImmediately(component, nonOpenCloseComponent = false) {
10308
+ (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
10309
+ ? component.onBeforeOpen()
10310
+ : component.onBeforeClose();
10311
+ (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
10312
+ ? component.onOpen()
10313
+ : component.onClose();
10314
+ }
10307
10315
  /**
10308
10316
  * Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
10309
10317
  * Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
10310
10318
  *
10311
- * @param component
10312
- * @param nonOpenCloseComponent
10319
+ * @example
10320
+ * import { onToggleOpenCloseComponent, OpenCloseComponent } from "../../utils/openCloseComponent";
10321
+ *
10322
+ * async componentWillLoad() {
10323
+ * // When component initially renders, if `open` was set we need to trigger on load as watcher doesn't fire.
10324
+ * if (this.open) {
10325
+ * onToggleOpenCloseComponent(this);
10326
+ * }
10327
+ * @Watch("open")
10328
+ * async toggleModal(value: boolean): Promise<void> {
10329
+ * onToggleOpenCloseComponent(this);
10330
+ * }
10331
+ *
10332
+ * @param component - OpenCloseComponent uses `open` prop to emit (before)open/close.
10333
+ * @param nonOpenCloseComponent - OpenCloseComponent uses `expanded` prop to emit (before)open/close.
10313
10334
  */
10314
10335
  function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
10315
10336
  readTask(() => {
@@ -10318,24 +10339,35 @@ function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
10318
10339
  const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
10319
10340
  const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
10320
10341
  if (transitionDuration === "0s") {
10321
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
10322
- ? component.onBeforeOpen()
10323
- : component.onBeforeClose();
10324
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
10325
- ? component.onOpen()
10326
- : component.onClose();
10342
+ emitImmediately(component, nonOpenCloseComponent);
10343
+ return;
10327
10344
  }
10328
- else {
10329
- component.transitionEl.addEventListener("transitionstart", () => {
10345
+ const fallbackTimeoutId = setTimeout(() => {
10346
+ component.transitionEl.removeEventListener("transitionstart", onStart);
10347
+ component.transitionEl.removeEventListener("transitionend", onEndOrCancel);
10348
+ component.transitionEl.removeEventListener("transitioncancel", onEndOrCancel);
10349
+ emitImmediately(component, nonOpenCloseComponent);
10350
+ }, parseFloat(transitionDuration) * 1000);
10351
+ component.transitionEl.addEventListener("transitionstart", onStart);
10352
+ component.transitionEl.addEventListener("transitionend", onEndOrCancel);
10353
+ component.transitionEl.addEventListener("transitioncancel", onEndOrCancel);
10354
+ function onStart(event) {
10355
+ if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
10356
+ clearTimeout(fallbackTimeoutId);
10357
+ component.transitionEl.removeEventListener("transitionstart", onStart);
10330
10358
  (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
10331
10359
  ? component.onBeforeOpen()
10332
10360
  : component.onBeforeClose();
10333
- }, { once: true });
10334
- component.transitionEl.addEventListener("transitionend", () => {
10361
+ }
10362
+ }
10363
+ function onEndOrCancel(event) {
10364
+ if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
10335
10365
  (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
10336
10366
  ? component.onOpen()
10337
10367
  : component.onClose();
10338
- }, { once: true });
10368
+ component.transitionEl.removeEventListener("transitionend", onEndOrCancel);
10369
+ component.transitionEl.removeEventListener("transitioncancel", onEndOrCancel);
10370
+ }
10339
10371
  }
10340
10372
  }
10341
10373
  });
@@ -11020,7 +11052,7 @@ const ICONS$g = {
11020
11052
  invalid: "exclamation-mark-triangle",
11021
11053
  };
11022
11054
 
11023
- const blockCss = "/*!@:host*/.sc-calcite-block-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-block-h *.sc-calcite-block{box-sizing:border-box}/*!@:host*/.sc-calcite-block-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:host([disabled])*/[disabled].sc-calcite-block-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-block-h *.sc-calcite-block,.sc-calcite-block-h[disabled] .sc-calcite-block-s>*{pointer-events:none}/*!@:host*/.sc-calcite-block-h{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-block-h[disabled] .sc-calcite-block-s>[calcite-hydrated][disabled],[disabled].sc-calcite-block-h [calcite-hydrated][disabled].sc-calcite-block{opacity:1}/*!@.header*/.header.sc-calcite-block{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-block{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-block .heading.sc-calcite-block{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-block{justify-content:flex-start;padding:0px}/*!@.header,\n.toggle*/.header.sc-calcite-block,.toggle.sc-calcite-block{grid-area:header}/*!@.header-container*/.header-container.sc-calcite-block{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}/*!@.toggle*/.toggle.sc-calcite-block{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}/*!@.toggle:hover*/.toggle.sc-calcite-block:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.toggle:focus*/.toggle.sc-calcite-block:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@calcite-loader[inline]*/calcite-loader[inline].sc-calcite-block{grid-area:control;align-self:center}/*!@calcite-handle*/calcite-handle.sc-calcite-block{grid-area:handle}/*!@.title*/.title.sc-calcite-block{margin:0px;padding:0.75rem}/*!@.header .title .heading*/.header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@.description*/.description.sc-calcite-block{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}/*!@.icon*/.icon.sc-calcite-block{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block{color:var(--calcite-ui-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}/*!@.toggle-icon*/.toggle-icon.sc-calcite-block{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}/*!@.toggle:hover .toggle-icon*/.toggle.sc-calcite-block:hover .toggle-icon.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-block{position:relative;display:flex;block-size:100%;flex-direction:column}/*!@.content*/.content.sc-calcite-block{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@.content*/.content.sc-calcite-block{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}/*!@.control-container*/.control-container.sc-calcite-block{margin:0px;display:flex;grid-area:control}/*!@calcite-action-menu*/calcite-action-menu.sc-calcite-block{grid-area:menu}/*!@:host([open])*/[open].sc-calcite-block-h{margin-block:0.5rem}/*!@:host([open]) .header .title .heading*/[open].sc-calcite-block-h .header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@:host([hidden])*/[hidden].sc-calcite-block-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-block{display:none}";
11055
+ const blockCss = "/*!@:host*/.sc-calcite-block-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-block-h *.sc-calcite-block{box-sizing:border-box}/*!@:host*/.sc-calcite-block-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:host([disabled])*/[disabled].sc-calcite-block-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-block-h *.sc-calcite-block,.sc-calcite-block-h[disabled] .sc-calcite-block-s>*{pointer-events:none}/*!@:host*/.sc-calcite-block-h{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-block-h[disabled] .sc-calcite-block-s>[calcite-hydrated][disabled],[disabled].sc-calcite-block-h [calcite-hydrated][disabled].sc-calcite-block{opacity:1}/*!@.header*/.header.sc-calcite-block{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-block{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-block .heading.sc-calcite-block{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-block{justify-content:flex-start;padding:0px}/*!@.header,\n.toggle*/.header.sc-calcite-block,.toggle.sc-calcite-block{grid-area:header}/*!@.header-container*/.header-container.sc-calcite-block{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}/*!@.toggle*/.toggle.sc-calcite-block{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}/*!@.toggle:hover*/.toggle.sc-calcite-block:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.toggle:focus*/.toggle.sc-calcite-block:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@calcite-loader[inline]*/calcite-loader[inline].sc-calcite-block{grid-area:control;align-self:center}/*!@calcite-handle*/calcite-handle.sc-calcite-block{grid-area:handle}/*!@.title*/.title.sc-calcite-block{margin:0px;padding:0.75rem}/*!@.header .title .heading*/.header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@.description*/.description.sc-calcite-block{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}/*!@.icon*/.icon.sc-calcite-block{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block{color:var(--calcite-ui-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}/*!@.toggle-icon*/.toggle-icon.sc-calcite-block{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}/*!@.toggle:hover .toggle-icon*/.toggle.sc-calcite-block:hover .toggle-icon.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-block{position:relative;display:flex;block-size:100%;flex-direction:column}/*!@.content*/.content.sc-calcite-block{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@.content*/.content.sc-calcite-block{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}/*!@.control-container*/.control-container.sc-calcite-block{margin:0px;display:flex;grid-area:control}/*!@calcite-action-menu*/calcite-action-menu.sc-calcite-block{grid-area:menu}/*!@:host([open])*/[open].sc-calcite-block-h{margin-block:0.5rem}/*!@:host([open]) .header .title .heading*/[open].sc-calcite-block-h .header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@:host([hidden])*/[hidden].sc-calcite-block-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-block{display:none}";
11024
11056
 
11025
11057
  /**
11026
11058
  * @slot - A slot for adding custom content.
@@ -42024,6 +42056,11 @@ class Tooltip {
42024
42056
  onToggleOpenCloseComponent(this);
42025
42057
  }
42026
42058
  }
42059
+ async componentWillLoad() {
42060
+ if (this.open) {
42061
+ onToggleOpenCloseComponent(this);
42062
+ }
42063
+ }
42027
42064
  componentDidLoad() {
42028
42065
  if (this.referenceElement && !this.effectiveReferenceElement) {
42029
42066
  this.setUpReferenceElement();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.5.0-next.35",
3
+ "version": "1.5.0-next.37",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -86,5 +86,5 @@
86
86
  "volta": {
87
87
  "extends": "../../package.json"
88
88
  },
89
- "gitHead": "baece4261bc38023d0fba3b7442cd4abadc3b17b"
89
+ "gitHead": "b4f07bd818b8b056e463a934f260648ed50e9cb6"
90
90
  }
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{h as i,r as t,c as s,H as e,a}from"./p-a48242ee.js";import{c as n,d as o,H as h}from"./p-f55909c9.js";import{g as l}from"./p-c190285e.js";import{c,d as r,u as d}from"./p-7e719f75.js";import{c as p,d as u}from"./p-4cd49f1a.js";import{s as m,a as f,c as v}from"./p-b8d6f5fc.js";import{c as b,d as g}from"./p-73d578e9.js";import{u as y,c as w,s as k,d as x}from"./p-d6fbdd98.js";import"./p-1be48f45.js";import"./p-fc0c9a9a.js";import"./p-da889e25.js";import"./p-c9c3203e.js";const j=({full:t,scale:s,partial:e})=>i("calcite-icon",{class:e?void 0:"icon",icon:t?"star-f":"star",scale:s}),z=class{constructor(i){t(this,i),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null,this.focusValue=null,this.hasFocus=!1},this.handleRatingFocusIn=()=>{const i=this.inputRefs[this.value>0?this.value-1:0],t=Number(i.value);i.select(),this.focusValue=t,this.hoverValue=t,this.hasFocus=!0},this.handleRatingFocusLeave=()=>{this.focusValue=null,this.hoverValue=null,this.hasFocus=!1},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleInputKeyDown=i=>{const t=Number(i.currentTarget.value),s=i.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==t?t:0;break;case"ArrowLeft":this.value=t-1;break;case"ArrowRight":this.value=t+1;break;case"Tab":this.hasFocus&&(this.hasFocus=!1,this.focusValue=null,this.hoverValue=null)}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e)},this.handleInputChange=i=>{if(!0===this.isKeyboardInteraction){const t=Number(i.target.value);this.focusValue=t,this.hoverValue=t,this.value=t}},this.handleLabelPointerOver=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.hoverValue=t,this.focusValue=null},this.handleLabelPointerDown=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.focusValue=null,this.hoverValue=null,this.emit=!0,this.value=this.required||this.value!==t?t:0},this.emit=!1,this.guid=`calcite-ratings-${l()}`,this.isKeyboardInteraction=!0,this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0,this.focusValue=void 0,this.hasFocus=void 0}onMessagesChange(){}handleValueUpdate(i){this.hoverValue=i,this.focusValue=i,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){c(this),b(this),w(this),p(this),n(this)}async componentWillLoad(){await k(this),m(this),this.inputRefs=Array(this.max)}componentWillRender(){this.starsMap=Array.from({length:this.max},((i,t)=>{const s=t+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.focusValue&&!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,focused:this.isKeyboardInteraction&&this.hasFocus&&this.focusValue===s,fraction:e,hovered:a,id:`${this.guid}-${s}`,idx:t,partial:!this.focusValue&&!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s}}))}componentDidLoad(){f(this)}disconnectedCallback(){r(this),g(this),x(this),u(this),o(this)}componentDidRender(){d(this)}render(){return i(e,{onBlur:this.handleRatingFocusLeave,onFocus:this.handleRatingFocusIn,onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},i("span",{class:"wrapper"},i("fieldset",{class:"fieldset",disabled:this.disabled},i("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:t,checked:s,focused:e,fraction:a,hovered:n,id:o,idx:h,partial:l,selected:c,value:r})=>i("label",{class:{star:!0,focused:e,selected:c,hovered:n,average:t,partial:l},htmlFor:o,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver},i("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:o,name:this.guid,onChange:this.handleInputChange,onKeyDown:this.handleInputKeyDown,type:"radio",value:r,ref:i=>(this.inputRefs[h]=i,(1===r||r===this.value)&&(this.inputFocusRef=i))}),i(j,{full:c||t,scale:this.scale}),l&&i("div",{class:"fraction",style:{width:100*a+"%"}},i(j,{full:!0,partial:!0,scale:this.scale})),i("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${r}`))))),(this.count||this.average)&&this.showChip?i("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&i("span",{class:"number--average"},this.average.toString()),!!this.count&&i("span",{class:"number--count"},"(",this.count?.toString(),")")):null),i(h,{component:this})))}onLabelClick(){this.setFocus()}async setFocus(){await v(this),this.inputFocusRef?.focus()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_rating}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{r as t,c as e,h as i,a as s,F as a}from"./p-a48242ee.js";import{c as n,d as o,u as c}from"./p-7e719f75.js";import{s as l,a as r,c as h}from"./p-b8d6f5fc.js";import{c as d}from"./p-c9c3203e.js";import{m as p,d as m,a as u,s as g,h as b,b as f,c as v,k as x,i as w,f as k,l as y,j as z,r as C,o as L,p as j,n as I,q as H,t as W,I as F,L as _,u as D,v as R,w as M,C as S,S as V}from"./p-8bc14bae.js";import{c as A,d as P}from"./p-3a06cc84.js";import{g as T,t as U}from"./p-1be48f45.js";import{H as K,c as O}from"./p-8908ebd6.js";import{c as q,d as E}from"./p-73d578e9.js";import{u as B,c as G,s as J,d as N}from"./p-d6fbdd98.js";import"./p-eec357bc.js";import"./p-6b58fad7.js";import"./p-c190285e.js";import"./p-fc0c9a9a.js";import"./p-da889e25.js";const Q=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=d("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=u.bind(this),this.selectSiblings=g.bind(this),this.handleFilter=b.bind(this),this.handleFilterEvent=f.bind(this),this.getItemData=v.bind(this),this.keyDownHandler=x.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){w.call(this),k.call(this),n(this)}disconnectedCallback(){y.call(this),o(this)}componentWillLoad(){l(this)}componentDidLoad(){r(this),z.call(this)}componentDidRender(){c(this)}calciteListItemRemoveHandler(t){C.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){j.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){I.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await h(this),W.call(this,t)}getIconType(){return this.multiple?F.square:F.circle}render(){return i(_,{onKeyDown:this.keyDownHandler,props:this})}get el(){return s(this)}};Q.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";const X=class{constructor(e){t(this,e),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){A(this)}disconnectedCallback(){P(this)}render(){const{el:t,groupTitle:e,headingLevel:s}=this,n=null!==T(t,D.parentItem),o={[R.container]:!0,[R.indented]:n},c=e,l=t.closest("calcite-pick-list")?.headingLevel,r=l?O(l+1):null;return i(a,null,c?i(K,{class:R.heading,level:s||r},c):null,i("slot",{name:D.parentItem}),i("section",{class:o},i("slot",null)))}get el(){return s(this)}};X.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";const Y=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){B(this,this.effectiveLocale)}connectedCallback(){n(this),q(this),G(this),A(this)}async componentWillLoad(){await J(this),l(this)}componentDidLoad(){r(this)}disconnectedCallback(){o(this),E(this),N(this),P(this)}componentDidRender(){c(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){await h(this),this.focusEl?.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[S.icon]:!0,[S.iconDot]:t===F.circle},onClick:this.pickListClickHandler},t===F.square?i("calcite-icon",{flipRtl:e,icon:M.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:S.remove,icon:M.remove,onClick:this.removeClickHandler,slot:V.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return T(t,V.actionsStart)?i("div",{class:{[S.actions]:!0,[S.actionsStart]:!0}},i("slot",{name:V.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return T(t,V.actionsEnd)||e?i("div",{class:{[S.actions]:!0,[S.actionsEnd]:!0}},i("slot",{name:V.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:S.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":U(this.selected),class:S.textContainer,role:"menuitemcheckbox"},i("span",{class:S.title},e),t?i("span",{class:S.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{Q as calcite_pick_list,X as calcite_pick_list_group,Y as calcite_pick_list_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{f as t}from"./p-a48242ee.js";import{c as o}from"./p-c9c3203e.js";const c=new Set;let n;const s={childList:!0};function e(t){n||(n=o("mutation",i)),n.observe(t.el,s)}function f(t){c.delete(t.el),i(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{e 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-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{e as t}from"./p-a48242ee.js";function o(o,e=!1){t((()=>{if(o.transitionEl){const t=getComputedStyle(o.transitionEl).transition.split(" "),n=t.findIndex((t=>t===o.openTransitionProp));"0s"===t[n+1]?((e?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose(),(e?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()):(o.transitionEl.addEventListener("transitionstart",(()=>{(e?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose()}),{once:!0}),o.transitionEl.addEventListener("transitionend",(()=>{(e?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()}),{once:!0}))}}))}export{o}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{r as t,h as a,a as o}from"./p-a48242ee.js";import{d as s}from"./p-1be48f45.js";import{c as i,u as d,d as e}from"./p-7e719f75.js";import{s as r,a as l,c as p}from"./p-b8d6f5fc.js";import"./p-c190285e.js";import"./p-fc0c9a9a.js";const c=class{constructor(a){t(this,a),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}connectedCallback(){i(this)}componentWillLoad(){r(this)}componentDidLoad(){l(this)}componentDidRender(){d(this)}disconnectedCallback(){e(this)}async setFocus(){await p(this),s(this.buttonEl)}render(){const{appearance:t,kind:o,disabled:s,loading:i,scale:d,textEnabled:e,icon:r,label:l,text:p,iconFlipRtl:c}=this;return a("calcite-button",{appearance:"solid"===t?"solid":"outline-fill",class:"button",disabled:s,iconFlipRtl:c?"start":null,iconStart:r,kind:o,label:l,loading:i,round:!0,scale:d,title:e?null:l||p||null,type:"button",width:"auto",ref:t=>{this.buttonEl=t}},this.textEnabled?this.text:null)}get el(){return o(this)}};c.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([hidden]){display:none}[hidden]{display:none}";export{c as calcite_fab}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{r as t,c as i,h as s,a as e,H as a}from"./p-a48242ee.js";import{c as o,u as n,d as r}from"./p-7e719f75.js";import{s as h,a as c,c as l}from"./p-b8d6f5fc.js";import{c as d,d as u}from"./p-73d578e9.js";import{c as p}from"./p-c9c3203e.js";import{u as m,c as v,s as w,d as f}from"./p-d6fbdd98.js";import{g as b,m as g,d as x,a as y,s as k,h as L,b as j,c as C,k as I,e as D,i as z,f as H,j as A,l as F,n as S,r as R,o as B,p as U,q as _,t as E,L as M,I as O,C as V,S as q}from"./p-8bc14bae.js";import{d as K,c as T}from"./p-e18f2022.js";import{d as W,g as P}from"./p-1be48f45.js";import{c as $,d as G}from"./p-3a06cc84.js";import{g as J}from"./p-c190285e.js";import"./p-da889e25.js";import"./p-eec357bc.js";import"./p-6b58fad7.js";import"./p-fc0c9a9a.js";var N;function Q(t,i,s){const{items:e,messages:a}=s,o=e.length,n=b(s,t)+1;return function(t,i,s,e){return t.replace("{position}",s.toString()).replace("{itemLabel}",i).replace("{total}",e.toString())}("idle"===i?a.dragHandleIdle:"active"===i?a.dragHandleActive:"change"===i?a.dragHandleChange:a.dragHandleCommit,t.label,n,o)}function X(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}!function(t){t.grip="grip"}(N||(N={}));const Y=class{constructor(s){t(this,s),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=p("mutation",g.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=x.bind(this),this.deselectSiblingItems=y.bind(this),this.selectSiblings=k.bind(this),this.handleFilter=L.bind(this),this.handleFilterEvent=j.bind(this),this.getItemData=C.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:i,item:s}=X(t);if(i&&!s.handleActivated&&" "===t.key&&this.updateScreenReaderText(Q(s,"commit",this)),!i||!s.handleActivated)return void I.call(this,t);t.preventDefault();const{items:e}=this;if(" "===t.key&&this.updateScreenReaderText(Q(s,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||e.length<=1)return;const{el:a}=this,o=D(this,s,"ArrowUp"===t.key?"up":"down");if(o===e.length-1)a.appendChild(s);else{const t=a.children[o];a.insertBefore(s,t===s.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>W(i))),s.handleActivated=!0,this.updateHandleAriaLabel(i,Q(s,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:i,item:s}=X(t);!s?.handleActivated&&s&&i&&this.updateHandleAriaLabel(i,Q(s,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){m(this,this.effectiveLocale)}connectedCallback(){o(this),d(this),v(this),z.call(this),H.call(this),this.setUpSorting()}async componentWillLoad(){h(this),await w(this)}componentDidLoad(){c(this),A.call(this)}componentDidRender(){n(this)}disconnectedCallback(){r(this),K(this),u(this),f(this),F.call(this)}calciteListFocusOutHandler(t){S.call(this,t)}calciteListItemRemoveHandler(t){R.call(this,t)}calciteListItemChangeHandler(t){B.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){U.call(this,t),t.stopPropagation()}onDragStart(){F.call(this)}onDragEnd(){H.call(this)}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){_.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&T(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await l(this),E.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=N.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,i){t.ariaLabel=i}handleValueListItemBlur(t){const{item:i,handle:s}=t.detail;!i?.handleActivated&&i&&this.updateHandleAriaLabel(s,Q(i,"idle",this)),t.stopPropagation()}render(){return s(M,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}calcite-filter{margin-block-end:1px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const Z="actions-end",tt="actions-start",it=class{constructor(s){t(this,s),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=i(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${J()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){$(this),o(this)}disconnectedCallback(){G(this),r(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this)}componentDidRender(){n(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){return await l(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return P(t,Z)?s("slot",{name:Z,slot:q.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return P(t,tt)?s("slot",{name:tt,slot:q.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:i}=this;if(t===O.grip)return s("span",{class:{[V.handle]:!0,[V.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},s("calcite-icon",{flipRtl:i,icon:"drag",scale:"s"}))}render(){return s(a,{id:this.el.id||this.guid},this.renderHandle(),s("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};it.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{Y as calcite_value_list,it as calcite_value_list_item}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{r as t,c as i,h as s,a as e}from"./p-a48242ee.js";import{c as a,d as o,u as r}from"./p-7e719f75.js";import{c as n}from"./p-c9c3203e.js";import{d as h,c as d}from"./p-e18f2022.js";import{d as c}from"./p-1be48f45.js";import"./p-c190285e.js";import"./p-fc0c9a9a.js";const l=class{constructor(s){t(this,s),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=n("mutation",(()=>{this.setUpSorting()})),this.dragEnabled=!0,this.canPull=void 0,this.canPut=void 0,this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1}connectedCallback(){this.setUpSorting(),this.beginObserving(),a(this)}disconnectedCallback(){o(this),h(this),this.endObserving()}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onDragStart(){this.endObserving()}onDragEnd(){this.beginObserving()}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:i}=t.detail,s=t.composedPath().find((t=>t.matches(this.handleSelector))),e=this.items.find((i=>i.contains(s)||t.composedPath().includes(i))),a=this.items.length-1,o=this.items.indexOf(e);let r,n=!1;"up"===i?0===o?n=!0:r=o-1:o===a?r=0:o===a-1?n=!0:r=o+2,this.endObserving(),n?e.parentElement.appendChild(e):e.parentElement.insertBefore(e,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>c(s))),"activated"in s&&(s.activated=!0)}setUpSorting(){this.items=Array.from(this.el.children),d(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){const{layout:t}=this,i="horizontal"===t||!1;return s("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},s("slot",null))}get el(){return e(this)}};l.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_sortable_list}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{r as t,c as e,h as i,a as s,F as n}from"./p-a48242ee.js";import{c as a}from"./p-c9c3203e.js";import{d as o}from"./p-1be48f45.js";import{c,d as r,a as l,H as h}from"./p-f55909c9.js";import{c as d,d as p,u}from"./p-7e719f75.js";import{c as m,d as b,g as f}from"./p-4cd49f1a.js";import{s as g,a as v,c as C}from"./p-b8d6f5fc.js";import"./p-c190285e.js";import"./p-fc0c9a9a.js";const w=class{constructor(i){t(this,i),this.calciteInternalOptionChange=e(this,"calciteInternalOptionChange",6),this.mutationObserver=a("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,e,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";const x=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=e(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};x.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function y(t){return"CALCITE-OPTION"===t.tagName}const z=class{constructor(i){t(this,i),this.calciteSelectChange=e(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=a("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>this.selectEl?.append(this.toNativeElement(t))))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((e=>e.selected=e.value===t))}selectedOptionHandler(t){this.value=t?.value}connectedCallback(){const{el:t}=this;this.mutationObserver?.observe(t,{subtree:!0,childList:!0}),d(this),m(this),c(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),p(this),b(this),r(this)}componentWillLoad(){g(this)}componentDidLoad(){v(this),l(this,this.selectedOption?.value??"")}componentDidRender(){u(this)}async setFocus(){await C(this),o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const e=t.target,i=this.componentToNativeEl.get(e);i&&(this.updateNativeElement(e,i),y(e)&&e.selected&&(this.deselectAllExcept(e),this.selectedOption=e))}onLabelClick(){this.setFocus()}updateNativeElement(t,e){if(e.disabled=t.disabled,e.label=t.label,y(t)){const i=e;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let e;this.componentToNativeEl.forEach(((i,s)=>{y(s)&&i===t&&(s.selected=!0,e=s,this.deselectAllExcept(s))})),e&&(this.selectedOption=e)}toNativeElement(t){if(y(t)){const e=document.createElement("option");return this.updateNativeElement(t,e),this.componentToNativeEl.set(t,e),e}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const e=document.createElement("optgroup");return this.updateNativeElement(t,e),Array.from(t.children).forEach((i=>{const s=this.toNativeElement(i);e.append(s),this.componentToNativeEl.set(t,s)})),this.componentToNativeEl.set(t,e),e}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((e=>{e!==t&&(e.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":f(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_option,x as calcite_option_group,z as calcite_select}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-9f698c3e.js";import"./p-a48242ee.js";import"./p-f55909c9.js";import"./p-1be48f45.js";import"./p-c190285e.js";import"./p-fc0c9a9a.js";import"./p-7e719f75.js";import"./p-da889e25.js";import"./p-4cd49f1a.js";import"./p-b8d6f5fc.js";import"./p-73d578e9.js";import"./p-c9c3203e.js";import"./p-2a99991c.js";import"./p-d6fbdd98.js";
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{f as t,h as e}from"./p-a48242ee.js";import{b as o}from"./p-1be48f45.js";import{S as a}from"./p-a963e03f.js";import{S as n}from"./p-a50cf1dd.js";const i=150,c=t=>t.reduce(((t,e)=>t+e),0)/t.length,l=t=>{const e=t?.length;return{actionWidth:e?c(t.map((t=>t.clientWidth||0))):0,actionHeight:e?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:e,actionWidth:o,width:a,actionHeight:n,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:a,actionHeight:n,groupCount:i})=>Math.floor((("horizontal"===o?t:a)-2*i)/("horizontal"===o?e:n)))({width:a,actionWidth:o,layout:t,height:i,actionHeight:n,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),p=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=s(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 h({el:t,expanded:e}){s(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const d=({expanded:t,expandText:a,collapseText:n,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===o(c),d=t?n:a,u=["chevrons-left","chevrons-right"];h&&u.reverse();const f="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(l,c),g=e("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,scale:p,text:d,textEnabled:t,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:a})=>(t&&(t.referenceElement=!o&&e?e:null),a&&a(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s})});return g};export{d as E,p as a,r as b,l as g,i as o,s as q,h as t}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{r as t,h as i,a}from"./p-a48242ee.js";import{c as e}from"./p-c9c3203e.js";import{c as s,s as n,a as o}from"./p-b8d6f5fc.js";const r=class{constructor(i){t(this,i),this.itemMutationObserver=e("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{el:t,items:i}=this,a=Array.from(t.querySelectorAll("calcite-flow-item")).filter((i=>i.closest("calcite-flow")===t)),e=i.length,s=a.length,n=a[s-1],o=a[s-2];if(s&&n&&a.forEach((t=>{t.showBackButton=t===n&&s>1,t.hidden=t!==n})),o&&(o.menuOpen=!1),this.items=a,e!==s){const t=this.getFlowDirection(e,s);this.itemCount=s,this.flowDirection=t}},this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const a=i.beforeBack?i.beforeBack:()=>Promise.resolve();return await a.call(i),i.remove(),i}async setFocus(){await s(this);const{items:t}=this;return t[t.length-1]?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){n(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(){return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{class:{frame:!0,"frame--advancing":"advancing"===t,"frame--retreating":"retreating"===t}},i("slot",null))}get el(){return a(this)}};r.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_flow}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{r as t,c as i,h as e,H as s,a as o}from"./p-a48242ee.js";import{q as n,i as a,v as r,t as l}from"./p-1be48f45.js";import{c,b as h,a as d,r as f,F as p}from"./p-b5f308c8.js";import{g as u}from"./p-c190285e.js";import{o as m}from"./p-3a2af43c.js";import{F as v}from"./p-ff24dce2.js";import"./p-fc0c9a9a.js";import"./p-6b58fad7.js";const g="aria-describedby";function b(t){const{referenceElement:i}=t;return("string"==typeof i?n(t,{id:i}):i)||null}const w=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const e=b(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltip:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const s=this.queryTooltip(i);this.hoveredTooltip=s,this.isClosableClickedTooltip(s)||(this.clickedTooltip=null,s?this.openHoveredTooltip(s):e&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!a(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.activeTooltip!==this.hoveredTooltip&&(this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0)))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);e&&this.registerShadowRoot(e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);i&&this.unregisterShadowRoot(i),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeActiveTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=(i.get(t)??0)+1;1===e&&this.addShadowListeners(t),i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=i.get(t)-1;0===e&&this.removeShadowListeners(t),i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}},y=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${u()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=b(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;t&&e&&!s&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(g,i),w.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(g),w.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=h,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){m(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&m(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return f(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this,a=t&&o,r=!a;return e(s,{"aria-hidden":l(r),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},e("div",{class:{[p.animation]:!0,[p.animationActive]:a},ref:this.setTransitionEl},e(v,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};y.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline: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-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-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)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tooltip}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import{q as n,c as e}from"./p-1be48f45.js";import{h as t}from"./p-a48242ee.js";!function(n){function e(n,e,t){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",t)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,t){n instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||e(TypeError,"The specified element is not a submit button"),n.form==t||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);const o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:e}=n;return!!e&&(e.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:t,value:o}=n,c=m(n);if(!c||function(n,t){if(e(t.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,t))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(t)}function m(t){const{el:o,form:r}=t;return r?n(o,{id:r}):e(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:e,formEl:t}=n;if(!t)return;const o=i.get(e);t.removeEventListener("reset",o),i.delete(e),n.formEl=null,s.delete(e)}function p(n,e){n.defaultValue=e}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,e,t){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;e.defaultValue=o,e.disabled=i,e.name=c,e.required=u,e.tabIndex=-1,s?e.setAttribute("form",s):e.removeAttribute("form"),r(n)?(e.checked=n.checked,e.defaultChecked=n.defaultChecked,e.value=n.checked?t||"on":""):e.value=t||"",n.syncHiddenFormInput?.(e)}const E=({component:n})=>(function(n){const{el:e,formEl:t,name:r,value:i}=n,{ownerDocument:s}=e,c=e.querySelectorAll(`input[slot="${o}"]`);if(!t||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((e=>{const t=u.find((n=>n==e.value));null!=t?(m.add(t),b(n,e,t)):f.push(e)})),u.forEach((e=>{if(m.has(e))return;let t=f.pop();t||(t=s.createElement("input"),t.slot=o),a||(a=s.createDocumentFragment()),a.append(t),t.addEventListener("change",d),b(n,t,e)})),a&&e.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),t("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
@@ -1,47 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- 'use strict';
7
-
8
- const index = require('./index-597abb9f.js');
9
-
10
- /**
11
- * Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
12
- * Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
13
- *
14
- * @param component
15
- * @param nonOpenCloseComponent
16
- */
17
- function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
18
- index.readTask(() => {
19
- if (component.transitionEl) {
20
- const allTransitionPropsArray = getComputedStyle(component.transitionEl).transition.split(" ");
21
- const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
22
- const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
23
- if (transitionDuration === "0s") {
24
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
25
- ? component.onBeforeOpen()
26
- : component.onBeforeClose();
27
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
28
- ? component.onOpen()
29
- : component.onClose();
30
- }
31
- else {
32
- component.transitionEl.addEventListener("transitionstart", () => {
33
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
34
- ? component.onBeforeOpen()
35
- : component.onBeforeClose();
36
- }, { once: true });
37
- component.transitionEl.addEventListener("transitionend", () => {
38
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
39
- ? component.onOpen()
40
- : component.onClose();
41
- }, { once: true });
42
- }
43
- }
44
- });
45
- }
46
-
47
- exports.onToggleOpenCloseComponent = onToggleOpenCloseComponent;
@@ -1,45 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
4
- * v1.5.0-next.35
5
- */
6
- import { e as readTask } from './index-d69cf7cb.js';
7
-
8
- /**
9
- * Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
10
- * Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
11
- *
12
- * @param component
13
- * @param nonOpenCloseComponent
14
- */
15
- function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
16
- readTask(() => {
17
- if (component.transitionEl) {
18
- const allTransitionPropsArray = getComputedStyle(component.transitionEl).transition.split(" ");
19
- const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
20
- const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
21
- if (transitionDuration === "0s") {
22
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
23
- ? component.onBeforeOpen()
24
- : component.onBeforeClose();
25
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
26
- ? component.onOpen()
27
- : component.onClose();
28
- }
29
- else {
30
- component.transitionEl.addEventListener("transitionstart", () => {
31
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
32
- ? component.onBeforeOpen()
33
- : component.onBeforeClose();
34
- }, { once: true });
35
- component.transitionEl.addEventListener("transitionend", () => {
36
- (nonOpenCloseComponent ? component[component.transitionProp] : component.open)
37
- ? component.onOpen()
38
- : component.onClose();
39
- }, { once: true });
40
- }
41
- }
42
- });
43
- }
44
-
45
- export { onToggleOpenCloseComponent as o };