@esri/calcite-components 1.0.0-next.592 → 1.0.0-next.593

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 (844) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-de5498f9.system.js → p-00a85d35.system.js} +2 -2
  5. package/dist/calcite/{p-43eba3ed.js → p-0111e497.js} +2 -2
  6. package/dist/calcite/{p-e0d68072.entry.js → p-02b19abe.entry.js} +2 -2
  7. package/dist/calcite/{p-398329ef.entry.js → p-04036ff7.entry.js} +2 -2
  8. package/dist/calcite/{p-e8950db3.system.entry.js → p-0471c1fc.system.entry.js} +2 -2
  9. package/dist/calcite/{p-1431e528.system.js → p-06c64a85.system.js} +2 -2
  10. package/dist/calcite/{p-70d58764.entry.js → p-07d62041.entry.js} +2 -2
  11. package/dist/calcite/{p-e07e382e.entry.js → p-08549ab3.entry.js} +2 -2
  12. package/dist/calcite/{p-31aa9ed8.js → p-0a076a39.js} +1 -1
  13. package/dist/calcite/{p-6e2cf71c.entry.js → p-0a3f32df.entry.js} +2 -2
  14. package/dist/calcite/{p-b4e8d555.system.js → p-0b1e6419.system.js} +1 -1
  15. package/dist/calcite/{p-621d48b1.system.entry.js → p-0b448959.system.entry.js} +2 -2
  16. package/dist/calcite/{p-ca30591e.system.js → p-0f1d0b42.system.js} +2 -2
  17. package/dist/calcite/{p-c3f4fa63.system.js → p-0f9a8989.system.js} +2 -2
  18. package/dist/calcite/{p-b3414e2c.entry.js → p-1209c9dc.entry.js} +2 -2
  19. package/dist/calcite/{p-4cfdee92.system.entry.js → p-1353b773.system.entry.js} +2 -2
  20. package/dist/calcite/{p-20b824b0.system.entry.js → p-13ade48e.system.entry.js} +2 -2
  21. package/dist/calcite/{p-5acb56bc.system.js → p-13e3df30.system.js} +1 -1
  22. package/dist/calcite/{p-259128ce.entry.js → p-144a0a54.entry.js} +2 -2
  23. package/dist/calcite/{p-f42223e9.system.entry.js → p-17c7749b.system.entry.js} +2 -2
  24. package/dist/calcite/{p-7de4e2e5.entry.js → p-1cfb8759.entry.js} +2 -2
  25. package/dist/calcite/{p-07af0e44.js → p-1d24d085.js} +2 -2
  26. package/dist/calcite/{p-15ba8e71.js → p-1d2ca5c1.js} +2 -2
  27. package/dist/calcite/{p-f65e0370.js → p-205b7df1.js} +1 -1
  28. package/dist/calcite/{p-6b2990ef.system.entry.js → p-23bcdadd.system.entry.js} +2 -2
  29. package/dist/calcite/{p-3e35d437.system.entry.js → p-24294436.system.entry.js} +2 -2
  30. package/dist/calcite/{p-03fde4b7.entry.js → p-256ac35d.entry.js} +2 -2
  31. package/dist/calcite/{p-334e0943.system.entry.js → p-2574930b.system.entry.js} +2 -2
  32. package/dist/calcite/{p-68fd9f72.system.js → p-262d3b01.system.js} +1 -1
  33. package/dist/calcite/{p-5c1a0019.entry.js → p-26b99ba5.entry.js} +2 -2
  34. package/dist/calcite/{p-6ef7760d.js → p-28a6abd8.js} +1 -1
  35. package/dist/calcite/{p-b0483326.system.entry.js → p-291db497.system.entry.js} +2 -2
  36. package/dist/calcite/{p-adcdd6a2.entry.js → p-2acbab5d.entry.js} +2 -2
  37. package/dist/calcite/{p-aa9acb41.system.entry.js → p-2b824781.system.entry.js} +2 -2
  38. package/dist/calcite/{p-6af7ffc6.entry.js → p-2cb33ce9.entry.js} +2 -2
  39. package/dist/calcite/{p-e47ac700.system.entry.js → p-2da09022.system.entry.js} +2 -2
  40. package/dist/calcite/{p-e97738ad.js → p-2db2b39e.js} +2 -2
  41. package/dist/calcite/{p-9cd3bb4e.system.entry.js → p-2e40ce24.system.entry.js} +2 -2
  42. package/dist/calcite/{p-aa9e7429.entry.js → p-2ec433c1.entry.js} +2 -2
  43. package/dist/calcite/{p-f2a3a546.entry.js → p-30b71639.entry.js} +2 -2
  44. package/dist/calcite/{p-5a358b31.system.entry.js → p-33a5e5fd.system.entry.js} +2 -2
  45. package/dist/calcite/{p-52c9eeb2.system.entry.js → p-34420d8d.system.entry.js} +2 -2
  46. package/dist/calcite/{p-21bd7b6c.entry.js → p-34af6fca.entry.js} +2 -2
  47. package/dist/calcite/p-34b91923.js +6 -0
  48. package/dist/calcite/{p-86f0b807.system.entry.js → p-365179bf.system.entry.js} +2 -2
  49. package/dist/calcite/{p-bd3478a2.system.entry.js → p-381af524.system.entry.js} +2 -2
  50. package/dist/calcite/{p-c45b097a.system.entry.js → p-38892a9b.system.entry.js} +2 -2
  51. package/dist/calcite/{p-852df4c4.js → p-3908d04f.js} +1 -1
  52. package/dist/calcite/{p-94fa98ff.entry.js → p-393ae0d2.entry.js} +2 -2
  53. package/dist/calcite/{p-8f2dcdf3.system.entry.js → p-3a5d0c4d.system.entry.js} +2 -2
  54. package/dist/calcite/{p-bee8777d.system.entry.js → p-3e491bef.system.entry.js} +2 -2
  55. package/dist/calcite/{p-09c5039d.system.entry.js → p-40c73076.system.entry.js} +2 -2
  56. package/dist/calcite/{p-8dc489d7.entry.js → p-4171f3cb.entry.js} +2 -2
  57. package/dist/calcite/{p-92a5ce0c.system.entry.js → p-41c84b41.system.entry.js} +2 -2
  58. package/dist/calcite/{p-8c1ef269.system.entry.js → p-4481a2a0.system.entry.js} +2 -2
  59. package/dist/calcite/{p-d7a499fc.system.entry.js → p-459455b3.system.entry.js} +2 -2
  60. package/dist/calcite/{p-b74290a4.entry.js → p-471a0253.entry.js} +2 -2
  61. package/dist/calcite/{p-e437c008.entry.js → p-48381cdf.entry.js} +2 -2
  62. package/dist/calcite/{p-5b8c2cd3.system.entry.js → p-488ad881.system.entry.js} +2 -2
  63. package/dist/calcite/{p-4f9c6acb.js → p-49c3a55e.js} +1 -1
  64. package/dist/calcite/{p-6f8060b6.js → p-4b31a5bb.js} +1 -1
  65. package/dist/calcite/{p-b4609380.entry.js → p-4c2c3cf6.entry.js} +2 -2
  66. package/dist/calcite/{p-e9eaf0c6.system.js → p-4ca4912c.system.js} +2 -2
  67. package/dist/calcite/{p-a850950e.system.js → p-4d7277a7.system.js} +1 -1
  68. package/dist/calcite/{p-749b028b.entry.js → p-4e2089e3.entry.js} +2 -2
  69. package/dist/calcite/{p-398702d5.entry.js → p-4e7bf13b.entry.js} +2 -2
  70. package/dist/calcite/{p-f3fe46cb.system.js → p-4ecb26f0.system.js} +2 -2
  71. package/dist/calcite/{p-53805142.js → p-51459e32.js} +1 -1
  72. package/dist/calcite/{p-57f66a1f.entry.js → p-51e4238c.entry.js} +2 -2
  73. package/dist/calcite/{p-507eaa9e.entry.js → p-523f6d55.entry.js} +2 -2
  74. package/dist/calcite/{p-5cc1a2a7.entry.js → p-54699fd0.entry.js} +2 -2
  75. package/dist/calcite/{p-0deea06b.system.js → p-549559ca.system.js} +1 -1
  76. package/dist/calcite/{p-c2851f09.system.entry.js → p-54c6ea6a.system.entry.js} +2 -2
  77. package/dist/calcite/{p-df11f7f2.system.entry.js → p-56145480.system.entry.js} +2 -2
  78. package/dist/calcite/{p-c9d369b3.system.entry.js → p-58cb7a02.system.entry.js} +2 -2
  79. package/dist/calcite/{p-21dcce33.entry.js → p-5a0fa1d7.entry.js} +2 -2
  80. package/dist/calcite/{p-f6228451.system.entry.js → p-5e5b9b58.system.entry.js} +2 -2
  81. package/dist/calcite/{p-1341e6c0.system.js → p-5f85c037.system.js} +1 -1
  82. package/dist/calcite/{p-662f8abe.system.js → p-5ff7b6e7.system.js} +2 -2
  83. package/dist/calcite/{p-9924d3eb.entry.js → p-6113b20a.entry.js} +2 -2
  84. package/dist/calcite/{p-1fed525f.system.js → p-62b1a00b.system.js} +1 -1
  85. package/dist/calcite/{p-60f58306.system.js → p-62e91dbe.system.js} +2 -2
  86. package/dist/calcite/{p-b66775e8.system.entry.js → p-650e1538.system.entry.js} +2 -2
  87. package/dist/calcite/{p-a8ee7579.js → p-662e9a34.js} +2 -2
  88. package/dist/calcite/{p-42377a28.entry.js → p-6783f41c.entry.js} +2 -2
  89. package/dist/calcite/{p-a231b178.system.entry.js → p-6931dfb3.system.entry.js} +2 -2
  90. package/dist/calcite/{p-fc776463.entry.js → p-696d2c2c.entry.js} +2 -2
  91. package/dist/calcite/{p-3555df0b.entry.js → p-6a86ac33.entry.js} +2 -2
  92. package/dist/calcite/{p-a7e2ab8c.js → p-6e8c44a5.js} +2 -2
  93. package/dist/calcite/{p-4c4bb52a.system.js → p-70ee301a.system.js} +1 -1
  94. package/dist/calcite/{p-0e16509c.js → p-71d9b5cb.js} +1 -1
  95. package/dist/calcite/{p-0efaeaf5.entry.js → p-75cf122d.entry.js} +2 -2
  96. package/dist/calcite/{p-e8d4b496.system.entry.js → p-76386468.system.entry.js} +2 -2
  97. package/dist/calcite/{p-ccbb3e13.js → p-7a83af0f.js} +1 -1
  98. package/dist/calcite/{p-a9118a3b.entry.js → p-7c3b0aa7.entry.js} +2 -2
  99. package/dist/calcite/{p-46b0e18b.entry.js → p-7e8baa36.entry.js} +2 -2
  100. package/dist/calcite/{p-49a21534.js → p-7ef3fac4.js} +1 -1
  101. package/dist/calcite/{p-2a1abc94.entry.js → p-7fa3ef30.entry.js} +2 -2
  102. package/dist/calcite/{p-b4c84a62.entry.js → p-8019b059.entry.js} +2 -2
  103. package/dist/calcite/{p-5ea7b39e.system.js → p-830af929.system.js} +1 -1
  104. package/dist/calcite/{p-e3f3f4f5.js → p-838246f6.js} +2 -2
  105. package/dist/calcite/p-85f84249.js +6 -0
  106. package/dist/calcite/{p-71d02967.entry.js → p-86939404.entry.js} +2 -2
  107. package/dist/calcite/{p-7bb59da2.system.js → p-86e8b1f7.system.js} +1 -1
  108. package/dist/calcite/{p-88330412.system.entry.js → p-87138200.system.entry.js} +2 -2
  109. package/dist/calcite/{p-881cac10.system.entry.js → p-8a1dd298.system.entry.js} +2 -2
  110. package/dist/calcite/{p-50f29486.system.entry.js → p-8a7fb756.system.entry.js} +2 -2
  111. package/dist/calcite/{p-b6377d61.system.js → p-8a84d567.system.js} +1 -1
  112. package/dist/calcite/{p-925cf5fc.entry.js → p-8c81777e.entry.js} +2 -2
  113. package/dist/calcite/{p-dd29318b.system.js → p-8d629a2b.system.js} +1 -1
  114. package/dist/calcite/{p-f56bea80.entry.js → p-8eadf470.entry.js} +2 -2
  115. package/dist/calcite/{p-43e4831f.system.entry.js → p-8eaeed5e.system.entry.js} +2 -2
  116. package/dist/calcite/{p-d819b3c0.entry.js → p-90a28a0b.entry.js} +2 -2
  117. package/dist/calcite/{p-aeaa0368.system.entry.js → p-91bf7e94.system.entry.js} +2 -2
  118. package/dist/calcite/{p-f3de6aea.entry.js → p-92e05097.entry.js} +2 -2
  119. package/dist/calcite/{p-b289c949.system.entry.js → p-92fa7d2f.system.entry.js} +2 -2
  120. package/dist/calcite/{p-8928f77f.system.js → p-95faaa04.system.js} +2 -2
  121. package/dist/calcite/{p-ae94fd5e.entry.js → p-964117a9.entry.js} +2 -2
  122. package/dist/calcite/{p-137dc4b4.entry.js → p-96f0cb24.entry.js} +2 -2
  123. package/dist/calcite/{p-13453422.js → p-96ff8619.js} +1 -1
  124. package/dist/calcite/{p-f6c837f6.system.entry.js → p-9904acd1.system.entry.js} +2 -2
  125. package/dist/calcite/{p-145ec197.system.entry.js → p-9c7b3ceb.system.entry.js} +2 -2
  126. package/dist/calcite/{p-91306617.entry.js → p-a35a65ca.entry.js} +2 -2
  127. package/dist/calcite/{p-47d73fdb.entry.js → p-a40c9a64.entry.js} +2 -2
  128. package/dist/calcite/{p-d92824e8.system.js → p-a587f666.system.js} +1 -1
  129. package/dist/calcite/{p-63f01854.system.js → p-aa0ac76c.system.js} +2 -2
  130. package/dist/calcite/{p-62e7c0c7.system.js → p-abe1f531.system.js} +2 -2
  131. package/dist/calcite/{p-deb99adb.entry.js → p-b1f780c5.entry.js} +2 -2
  132. package/dist/calcite/{p-dd94e6ec.entry.js → p-b2b5aeb3.entry.js} +2 -2
  133. package/dist/calcite/{p-9ba79b4f.system.entry.js → p-b4d0dc7e.system.entry.js} +2 -2
  134. package/dist/calcite/{p-33082c53.entry.js → p-b56ae9d2.entry.js} +2 -2
  135. package/dist/calcite/{p-8983e98c.js → p-b5f9878a.js} +1 -1
  136. package/dist/calcite/{p-8f350063.js → p-b7c45df8.js} +2 -2
  137. package/dist/calcite/{p-cc4904dd.system.entry.js → p-b823b72f.system.entry.js} +2 -2
  138. package/dist/calcite/{p-02651fc0.entry.js → p-b97dd1e5.entry.js} +2 -2
  139. package/dist/calcite/{p-8e8ff289.js → p-bbc1b280.js} +1 -1
  140. package/dist/calcite/{p-62e76388.js → p-bc3dc7a4.js} +2 -2
  141. package/dist/calcite/{p-4c49cd67.system.entry.js → p-bde29121.system.entry.js} +3 -3
  142. package/dist/calcite/{p-3210aee9.system.entry.js → p-c0e0609c.system.entry.js} +2 -2
  143. package/dist/calcite/{p-3984bbe9.system.entry.js → p-c15eae33.system.entry.js} +2 -2
  144. package/dist/calcite/{p-8a50cea2.entry.js → p-c1dafcff.entry.js} +2 -2
  145. package/dist/calcite/{p-4bb5b4d5.js → p-c1f14368.js} +1 -1
  146. package/dist/calcite/{p-4ec2fec5.entry.js → p-c3c0d0ee.entry.js} +2 -2
  147. package/dist/calcite/{p-84c954ea.system.entry.js → p-c3e90a4c.system.entry.js} +2 -2
  148. package/dist/calcite/{p-355aa5ff.entry.js → p-c477d5ac.entry.js} +2 -2
  149. package/dist/calcite/{p-0b65f546.entry.js → p-c87ac3cf.entry.js} +2 -2
  150. package/dist/calcite/{p-0dab41eb.entry.js → p-c994fec8.entry.js} +2 -2
  151. package/dist/calcite/{p-eeabc00f.system.entry.js → p-ca63de2d.system.entry.js} +2 -2
  152. package/dist/calcite/{p-77e9e2d6.entry.js → p-caee63f1.entry.js} +2 -2
  153. package/dist/calcite/{p-85313e95.system.entry.js → p-cc2dd86e.system.entry.js} +3 -3
  154. package/dist/calcite/{p-4ea68514.entry.js → p-cc76b050.entry.js} +2 -2
  155. package/dist/calcite/{p-956d08b5.system.js → p-ce7f87bc.system.js} +1 -1
  156. package/dist/calcite/{p-aa606caa.entry.js → p-d0c1f890.entry.js} +2 -2
  157. package/dist/calcite/{p-21897c99.system.entry.js → p-d192a85e.system.entry.js} +2 -2
  158. package/dist/calcite/{p-e574463c.js → p-d29e5f70.js} +1 -1
  159. package/dist/calcite/{p-233d46a6.system.js → p-d561f95c.system.js} +1 -1
  160. package/dist/calcite/{p-39e16b29.system.js → p-d729219b.system.js} +1 -1
  161. package/dist/calcite/{p-9384fac1.system.js → p-d95dcefc.system.js} +2 -2
  162. package/dist/calcite/{p-06b8e552.system.entry.js → p-db96fc42.system.entry.js} +2 -2
  163. package/dist/calcite/{p-da457a91.system.entry.js → p-ddad1217.system.entry.js} +2 -2
  164. package/dist/calcite/{p-33a0be61.system.entry.js → p-e02cb609.system.entry.js} +2 -2
  165. package/dist/calcite/{p-ae436d73.entry.js → p-e3d77bc3.entry.js} +2 -2
  166. package/dist/calcite/{p-66d674c4.system.entry.js → p-e63dfc86.system.entry.js} +2 -2
  167. package/dist/calcite/{p-81aebdd2.entry.js → p-e8d139d3.entry.js} +2 -2
  168. package/dist/calcite/{p-339a4864.entry.js → p-e9621457.entry.js} +2 -2
  169. package/dist/calcite/{p-6249acca.system.entry.js → p-eaae0fe8.system.entry.js} +2 -2
  170. package/dist/calcite/{p-66b5c873.js → p-eb4e7f54.js} +1 -1
  171. package/dist/calcite/{p-c2f79498.system.entry.js → p-eff9848a.system.entry.js} +2 -2
  172. package/dist/calcite/{p-9608a6fb.system.js → p-f017bcf0.system.js} +1 -1
  173. package/dist/calcite/{p-0219b3d2.js → p-f1c6c7af.js} +2 -2
  174. package/dist/calcite/{p-8520752f.system.js → p-f4c62f4e.system.js} +2 -2
  175. package/dist/calcite/{p-c63e00ed.system.entry.js → p-f52462ef.system.entry.js} +2 -2
  176. package/dist/calcite/{p-d73eab52.system.entry.js → p-f59cc47f.system.entry.js} +3 -3
  177. package/dist/calcite/{p-7913670d.system.entry.js → p-f5ef1391.system.entry.js} +2 -2
  178. package/dist/calcite/{p-6b495904.entry.js → p-f848b813.entry.js} +2 -2
  179. package/dist/calcite/{p-c96d0101.system.entry.js → p-f89e6ca0.system.entry.js} +2 -2
  180. package/dist/calcite/{p-df78045f.system.entry.js → p-f9ad5a72.system.entry.js} +2 -2
  181. package/dist/calcite/{p-f7d53ada.system.entry.js → p-fa2e10d0.system.entry.js} +2 -2
  182. package/dist/cjs/{ExpandToggle-5ef44f6f.js → ExpandToggle-e02e30f8.js} +5 -5
  183. package/dist/cjs/{Heading-b0a376b8.js → Heading-2c9948c6.js} +2 -2
  184. package/dist/cjs/{app-globals-1101941d.js → app-globals-8a7ab730.js} +2 -2
  185. package/dist/cjs/{array-6a5a58a6.js → array-3fb64a10.js} +1 -1
  186. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  190. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  192. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  194. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  195. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  196. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  197. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  198. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  199. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  200. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  201. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +11 -11
  202. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
  206. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
  208. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  209. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  211. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +15 -15
  212. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  213. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  214. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
  216. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  217. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  218. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  219. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  220. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  221. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  222. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  223. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  224. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  225. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  226. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  227. package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -11
  228. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  230. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  231. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  232. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  233. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  234. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  235. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  236. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  237. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  238. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  239. package/dist/cjs/calcite-tab_4.cjs.entry.js +9 -9
  240. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  241. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  242. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  243. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
  244. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  245. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  246. package/dist/cjs/calcite.cjs.js +4 -4
  247. package/dist/cjs/{conditionalSlot-28c1e53c.js → conditionalSlot-f40a77e9.js} +3 -3
  248. package/dist/cjs/{debounce-d326e10a.js → debounce-049ba3c7.js} +1 -1
  249. package/dist/cjs/{dom-563289aa.js → dom-d4474462.js} +3 -3
  250. package/dist/cjs/{filter-4c6b9533.js → filter-f1f52d2e.js} +2 -2
  251. package/dist/cjs/{floating-ui-181c7c69.js → floating-ui-028109c6.js} +2 -2
  252. package/dist/cjs/{form-e3c0a22b.js → form-4101dd9c.js} +3 -3
  253. package/dist/cjs/{globalAttributes-ed82911e.js → globalAttributes-82feb251.js} +3 -3
  254. package/dist/cjs/{guid-fbbbf215.js → guid-f02ea07a.js} +1 -1
  255. package/dist/cjs/{index-3d1c18b4.js → index-3fd10feb.js} +1 -1
  256. package/dist/cjs/index.cjs.js +1 -1
  257. package/dist/cjs/{interactive-7ebe4115.js → interactive-5cb8621f.js} +1 -1
  258. package/dist/cjs/{interfaces-9593545f.js → interfaces-4955296a.js} +1 -1
  259. package/dist/cjs/{key-55bf7b4b.js → key-d886699c.js} +1 -1
  260. package/dist/cjs/{label-553051d5.js → label-fb34c230.js} +2 -2
  261. package/dist/cjs/loader.cjs.js +4 -4
  262. package/dist/cjs/{math-59d009fc.js → math-ef698830.js} +1 -1
  263. package/dist/cjs/{observers-763a17bd.js → observers-72604450.js} +1 -1
  264. package/dist/cjs/{openCloseComponent-91d645c8.js → openCloseComponent-7ba8b46a.js} +1 -1
  265. package/dist/cjs/{resources-ed439731.js → resources-1d7170d9.js} +1 -1
  266. package/dist/cjs/{resources-05be1041.js → resources-43aef217.js} +1 -1
  267. package/dist/cjs/{resources-91752060.js → resources-4d6952f5.js} +1 -1
  268. package/dist/cjs/{resources-02150c59.js → resources-7c5fed5f.js} +5 -5
  269. package/dist/cjs/{resources-de05c4c3.js → resources-955d9fa7.js} +1 -1
  270. package/dist/cjs/{resources-662c4ac8.js → resources-ce39654e.js} +3 -3
  271. package/dist/cjs/{sortable.esm-667e846e.js → sortable.esm-152221f4.js} +1 -1
  272. package/dist/cjs/{utils-7344acf9.js → utils-1253458a.js} +1 -1
  273. package/dist/collection/components/accordion/accordion.js +1 -1
  274. package/dist/collection/components/accordion/interfaces.js +1 -1
  275. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  276. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  277. package/dist/collection/components/accordion-item/resources.js +1 -1
  278. package/dist/collection/components/action/action.js +1 -1
  279. package/dist/collection/components/action/resources.js +1 -1
  280. package/dist/collection/components/action-bar/action-bar.js +1 -1
  281. package/dist/collection/components/action-bar/resources.js +1 -1
  282. package/dist/collection/components/action-bar/utils.js +1 -1
  283. package/dist/collection/components/action-group/action-group.js +1 -1
  284. package/dist/collection/components/action-group/resources.js +1 -1
  285. package/dist/collection/components/action-menu/action-menu.js +1 -1
  286. package/dist/collection/components/action-menu/resources.js +1 -1
  287. package/dist/collection/components/action-pad/action-pad.js +1 -1
  288. package/dist/collection/components/action-pad/resources.js +1 -1
  289. package/dist/collection/components/alert/alert.js +1 -1
  290. package/dist/collection/components/alert/interfaces.js +1 -1
  291. package/dist/collection/components/alert/resources.js +1 -1
  292. package/dist/collection/components/avatar/avatar.js +1 -1
  293. package/dist/collection/components/avatar/utils.js +1 -1
  294. package/dist/collection/components/block/block.js +1 -1
  295. package/dist/collection/components/block/resources.js +1 -1
  296. package/dist/collection/components/block-section/block-section.js +1 -1
  297. package/dist/collection/components/block-section/interfaces.js +1 -1
  298. package/dist/collection/components/block-section/resources.js +1 -1
  299. package/dist/collection/components/button/button.js +1 -1
  300. package/dist/collection/components/button/interfaces.js +1 -1
  301. package/dist/collection/components/button/resources.js +1 -1
  302. package/dist/collection/components/card/card.js +1 -1
  303. package/dist/collection/components/card/resources.js +1 -1
  304. package/dist/collection/components/checkbox/checkbox.js +1 -1
  305. package/dist/collection/components/chip/chip.js +1 -1
  306. package/dist/collection/components/chip/interfaces.js +1 -1
  307. package/dist/collection/components/chip/resources.js +1 -1
  308. package/dist/collection/components/color-picker/color-picker.js +1 -1
  309. package/dist/collection/components/color-picker/interfaces.js +1 -1
  310. package/dist/collection/components/color-picker/resources.js +1 -1
  311. package/dist/collection/components/color-picker/utils.js +1 -1
  312. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  313. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  314. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  315. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  316. package/dist/collection/components/combobox/combobox.js +1 -1
  317. package/dist/collection/components/combobox/interfaces.js +1 -1
  318. package/dist/collection/components/combobox/resources.js +1 -1
  319. package/dist/collection/components/combobox/utils.js +1 -1
  320. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  321. package/dist/collection/components/combobox-item/resources.js +1 -1
  322. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  323. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  324. package/dist/collection/components/date-picker/date-picker.js +1 -1
  325. package/dist/collection/components/date-picker/interfaces.js +1 -1
  326. package/dist/collection/components/date-picker/resources.js +1 -1
  327. package/dist/collection/components/date-picker/utils.js +1 -1
  328. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  329. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  330. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  331. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  332. package/dist/collection/components/dropdown/dropdown.js +1 -1
  333. package/dist/collection/components/dropdown/interfaces.js +1 -1
  334. package/dist/collection/components/dropdown/resources.js +1 -1
  335. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  336. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  337. package/dist/collection/components/dropdown-group/resources.js +1 -1
  338. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  339. package/dist/collection/components/dropdown-item/resources.js +1 -1
  340. package/dist/collection/components/fab/fab.js +1 -1
  341. package/dist/collection/components/fab/resources.js +1 -1
  342. package/dist/collection/components/filter/filter.js +1 -1
  343. package/dist/collection/components/filter/resources.js +1 -1
  344. package/dist/collection/components/flow/flow.js +1 -1
  345. package/dist/collection/components/flow/interfaces.js +1 -1
  346. package/dist/collection/components/flow/resources.js +1 -1
  347. package/dist/collection/components/flow-item/flow-item.js +1 -1
  348. package/dist/collection/components/flow-item/resources.js +1 -1
  349. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  350. package/dist/collection/components/functional/Heading.js +1 -1
  351. package/dist/collection/components/graph/graph.js +1 -1
  352. package/dist/collection/components/graph/interfaces.js +1 -1
  353. package/dist/collection/components/graph/util.js +1 -1
  354. package/dist/collection/components/handle/handle.js +1 -1
  355. package/dist/collection/components/handle/resources.js +1 -1
  356. package/dist/collection/components/icon/icon.js +1 -1
  357. package/dist/collection/components/icon/resources.js +1 -1
  358. package/dist/collection/components/icon/utils.js +1 -1
  359. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  360. package/dist/collection/components/inline-editable/resources.js +1 -1
  361. package/dist/collection/components/input/input.js +1 -1
  362. package/dist/collection/components/input/interfaces.js +1 -1
  363. package/dist/collection/components/input/resources.js +1 -1
  364. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  365. package/dist/collection/components/input-date-picker/resources.js +1 -1
  366. package/dist/collection/components/input-message/input-message.js +1 -1
  367. package/dist/collection/components/input-message/interfaces.js +1 -1
  368. package/dist/collection/components/input-number/input-number.js +1 -1
  369. package/dist/collection/components/input-number/interfaces.js +1 -1
  370. package/dist/collection/components/input-number/resources.js +1 -1
  371. package/dist/collection/components/input-text/input-text.js +1 -1
  372. package/dist/collection/components/input-text/resources.js +1 -1
  373. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  374. package/dist/collection/components/interfaces.js +1 -1
  375. package/dist/collection/components/label/label.js +1 -1
  376. package/dist/collection/components/label/resources.js +1 -1
  377. package/dist/collection/components/link/link.js +1 -1
  378. package/dist/collection/components/list/list.js +1 -1
  379. package/dist/collection/components/list/resources.js +1 -1
  380. package/dist/collection/components/list-item/list-item.js +1 -1
  381. package/dist/collection/components/list-item/resources.js +1 -1
  382. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  383. package/dist/collection/components/list-item-group/resources.js +1 -1
  384. package/dist/collection/components/loader/loader.js +1 -1
  385. package/dist/collection/components/modal/interfaces.js +1 -1
  386. package/dist/collection/components/modal/modal.js +1 -1
  387. package/dist/collection/components/modal/resources.js +1 -1
  388. package/dist/collection/components/notice/notice.js +1 -1
  389. package/dist/collection/components/notice/resources.js +1 -1
  390. package/dist/collection/components/option/option.js +1 -1
  391. package/dist/collection/components/option-group/option-group.js +1 -1
  392. package/dist/collection/components/pagination/pagination.js +1 -1
  393. package/dist/collection/components/pagination/resources.js +1 -1
  394. package/dist/collection/components/panel/panel.js +1 -1
  395. package/dist/collection/components/panel/resources.js +1 -1
  396. package/dist/collection/components/pick-list/pick-list.js +1 -1
  397. package/dist/collection/components/pick-list/resources.js +1 -1
  398. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  399. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  400. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  401. package/dist/collection/components/pick-list-group/resources.js +1 -1
  402. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  403. package/dist/collection/components/pick-list-item/resources.js +1 -1
  404. package/dist/collection/components/popover/PopoverManager.js +1 -1
  405. package/dist/collection/components/popover/popover.js +1 -1
  406. package/dist/collection/components/popover/resources.js +1 -1
  407. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  408. package/dist/collection/components/progress/progress.js +1 -1
  409. package/dist/collection/components/radio-button/radio-button.js +1 -1
  410. package/dist/collection/components/radio-button/resources.js +1 -1
  411. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  412. package/dist/collection/components/radio-group/interfaces.js +1 -1
  413. package/dist/collection/components/radio-group/radio-group.js +1 -1
  414. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  415. package/dist/collection/components/radio-group-item/resources.js +1 -1
  416. package/dist/collection/components/rating/rating.js +1 -1
  417. package/dist/collection/components/rating/resources.js +1 -1
  418. package/dist/collection/components/scrim/resources.js +1 -1
  419. package/dist/collection/components/scrim/scrim.js +1 -1
  420. package/dist/collection/components/select/resources.js +1 -1
  421. package/dist/collection/components/select/select.js +1 -1
  422. package/dist/collection/components/shell/resources.js +1 -1
  423. package/dist/collection/components/shell/shell.js +1 -1
  424. package/dist/collection/components/shell-center-row/resources.js +1 -1
  425. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  426. package/dist/collection/components/shell-panel/resources.js +1 -1
  427. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  428. package/dist/collection/components/slider/resources.js +1 -1
  429. package/dist/collection/components/slider/slider.js +1 -1
  430. package/dist/collection/components/sortable-list/resources.js +1 -1
  431. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  432. package/dist/collection/components/split-button/resources.js +1 -1
  433. package/dist/collection/components/split-button/split-button.js +1 -1
  434. package/dist/collection/components/stepper/interfaces.js +1 -1
  435. package/dist/collection/components/stepper/stepper.js +1 -1
  436. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  437. package/dist/collection/components/switch/switch.js +1 -1
  438. package/dist/collection/components/tab/interfaces.js +1 -1
  439. package/dist/collection/components/tab/tab.js +1 -1
  440. package/dist/collection/components/tab-nav/tab-nav.css +0 -4
  441. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  442. package/dist/collection/components/tab-title/tab-title.css +1 -0
  443. package/dist/collection/components/tab-title/tab-title.js +1 -1
  444. package/dist/collection/components/tabs/interfaces.js +1 -1
  445. package/dist/collection/components/tabs/resources.js +1 -1
  446. package/dist/collection/components/tabs/tabs.js +1 -1
  447. package/dist/collection/components/tile/resources.js +1 -1
  448. package/dist/collection/components/tile/tile.js +1 -1
  449. package/dist/collection/components/tile-select/interfaces.js +1 -1
  450. package/dist/collection/components/tile-select/resources.js +1 -1
  451. package/dist/collection/components/tile-select/tile-select.js +1 -1
  452. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  453. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  454. package/dist/collection/components/time-picker/resources.js +1 -1
  455. package/dist/collection/components/time-picker/time-picker.js +1 -1
  456. package/dist/collection/components/tip/resources.js +1 -1
  457. package/dist/collection/components/tip/tip.js +1 -1
  458. package/dist/collection/components/tip-group/tip-group.js +1 -1
  459. package/dist/collection/components/tip-manager/resources.js +1 -1
  460. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  461. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  462. package/dist/collection/components/tooltip/resources.js +1 -1
  463. package/dist/collection/components/tooltip/tooltip.js +1 -1
  464. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  465. package/dist/collection/components/tree/interfaces.js +1 -1
  466. package/dist/collection/components/tree/tree.js +1 -1
  467. package/dist/collection/components/tree-item/interfaces.js +1 -1
  468. package/dist/collection/components/tree-item/resources.js +1 -1
  469. package/dist/collection/components/tree-item/tree-item.js +1 -1
  470. package/dist/collection/components/value-list/interfaces.js +1 -1
  471. package/dist/collection/components/value-list/resources.js +1 -1
  472. package/dist/collection/components/value-list/utils.js +1 -1
  473. package/dist/collection/components/value-list/value-list.js +1 -1
  474. package/dist/collection/components/value-list-item/resources.js +1 -1
  475. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  476. package/dist/collection/utils/array.js +1 -1
  477. package/dist/collection/utils/conditionalSlot.js +1 -1
  478. package/dist/collection/utils/date.js +1 -1
  479. package/dist/collection/utils/dom.js +1 -1
  480. package/dist/collection/utils/filter.js +1 -1
  481. package/dist/collection/utils/floating-ui.js +1 -1
  482. package/dist/collection/utils/form.js +1 -1
  483. package/dist/collection/utils/globalAttributes.js +1 -1
  484. package/dist/collection/utils/globalScript.js +1 -1
  485. package/dist/collection/utils/guid.js +1 -1
  486. package/dist/collection/utils/interactive.js +1 -1
  487. package/dist/collection/utils/key.js +1 -1
  488. package/dist/collection/utils/label.js +1 -1
  489. package/dist/collection/utils/locale.js +1 -1
  490. package/dist/collection/utils/math.js +1 -1
  491. package/dist/collection/utils/number.js +1 -1
  492. package/dist/collection/utils/observers.js +1 -1
  493. package/dist/collection/utils/openCloseComponent.js +1 -1
  494. package/dist/collection/utils/resources.js +1 -1
  495. package/dist/collection/utils/theme.js +1 -1
  496. package/dist/collection/utils/time.js +1 -1
  497. package/dist/components/ExpandToggle.js +1 -1
  498. package/dist/components/Heading.js +1 -1
  499. package/dist/components/action-group.js +1 -1
  500. package/dist/components/action-menu.js +1 -1
  501. package/dist/components/action.js +1 -1
  502. package/dist/components/array.js +1 -1
  503. package/dist/components/button.js +1 -1
  504. package/dist/components/calcite-accordion-item.js +1 -1
  505. package/dist/components/calcite-accordion.js +1 -1
  506. package/dist/components/calcite-action-bar.js +1 -1
  507. package/dist/components/calcite-action-group.js +1 -1
  508. package/dist/components/calcite-action-menu.js +1 -1
  509. package/dist/components/calcite-action-pad.js +1 -1
  510. package/dist/components/calcite-action.js +1 -1
  511. package/dist/components/calcite-alert.js +1 -1
  512. package/dist/components/calcite-avatar.js +1 -1
  513. package/dist/components/calcite-block-section.js +1 -1
  514. package/dist/components/calcite-block.js +1 -1
  515. package/dist/components/calcite-button.js +1 -1
  516. package/dist/components/calcite-card.js +1 -1
  517. package/dist/components/calcite-checkbox.js +1 -1
  518. package/dist/components/calcite-chip.js +1 -1
  519. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  520. package/dist/components/calcite-color-picker-swatch.js +1 -1
  521. package/dist/components/calcite-color-picker.js +1 -1
  522. package/dist/components/calcite-combobox-item-group.js +1 -1
  523. package/dist/components/calcite-combobox-item.js +1 -1
  524. package/dist/components/calcite-combobox.js +1 -1
  525. package/dist/components/calcite-date-picker-day.js +1 -1
  526. package/dist/components/calcite-date-picker-month-header.js +1 -1
  527. package/dist/components/calcite-date-picker-month.js +1 -1
  528. package/dist/components/calcite-date-picker.js +1 -1
  529. package/dist/components/calcite-dropdown-group.js +1 -1
  530. package/dist/components/calcite-dropdown-item.js +1 -1
  531. package/dist/components/calcite-dropdown.js +1 -1
  532. package/dist/components/calcite-fab.js +1 -1
  533. package/dist/components/calcite-filter.js +1 -1
  534. package/dist/components/calcite-flow-item.js +1 -1
  535. package/dist/components/calcite-flow.js +1 -1
  536. package/dist/components/calcite-graph.js +1 -1
  537. package/dist/components/calcite-handle.js +1 -1
  538. package/dist/components/calcite-icon.js +1 -1
  539. package/dist/components/calcite-inline-editable.js +1 -1
  540. package/dist/components/calcite-input-date-picker.js +1 -1
  541. package/dist/components/calcite-input-message.js +1 -1
  542. package/dist/components/calcite-input-number.js +1 -1
  543. package/dist/components/calcite-input-text.js +1 -1
  544. package/dist/components/calcite-input-time-picker.js +1 -1
  545. package/dist/components/calcite-input.js +1 -1
  546. package/dist/components/calcite-label.js +1 -1
  547. package/dist/components/calcite-link.js +1 -1
  548. package/dist/components/calcite-list-item-group.js +1 -1
  549. package/dist/components/calcite-list-item.js +1 -1
  550. package/dist/components/calcite-list.js +1 -1
  551. package/dist/components/calcite-loader.js +1 -1
  552. package/dist/components/calcite-modal.js +1 -1
  553. package/dist/components/calcite-notice.js +1 -1
  554. package/dist/components/calcite-option-group.js +1 -1
  555. package/dist/components/calcite-option.js +1 -1
  556. package/dist/components/calcite-pagination.js +1 -1
  557. package/dist/components/calcite-panel.js +1 -1
  558. package/dist/components/calcite-pick-list-group.js +1 -1
  559. package/dist/components/calcite-pick-list-item.js +1 -1
  560. package/dist/components/calcite-pick-list.js +1 -1
  561. package/dist/components/calcite-popover-manager.js +1 -1
  562. package/dist/components/calcite-popover.js +1 -1
  563. package/dist/components/calcite-progress.js +1 -1
  564. package/dist/components/calcite-radio-button-group.js +1 -1
  565. package/dist/components/calcite-radio-button.js +1 -1
  566. package/dist/components/calcite-radio-group-item.js +1 -1
  567. package/dist/components/calcite-radio-group.js +1 -1
  568. package/dist/components/calcite-rating.js +1 -1
  569. package/dist/components/calcite-scrim.js +1 -1
  570. package/dist/components/calcite-select.js +1 -1
  571. package/dist/components/calcite-shell-center-row.js +1 -1
  572. package/dist/components/calcite-shell-panel.js +1 -1
  573. package/dist/components/calcite-shell.js +1 -1
  574. package/dist/components/calcite-slider.js +1 -1
  575. package/dist/components/calcite-sortable-list.js +1 -1
  576. package/dist/components/calcite-split-button.js +1 -1
  577. package/dist/components/calcite-stepper-item.js +1 -1
  578. package/dist/components/calcite-stepper.js +1 -1
  579. package/dist/components/calcite-switch.js +1 -1
  580. package/dist/components/calcite-tab-nav.js +1 -1
  581. package/dist/components/calcite-tab-title.js +1 -1
  582. package/dist/components/calcite-tab.js +1 -1
  583. package/dist/components/calcite-tabs.js +1 -1
  584. package/dist/components/calcite-tile-select-group.js +1 -1
  585. package/dist/components/calcite-tile-select.js +1 -1
  586. package/dist/components/calcite-tile.js +1 -1
  587. package/dist/components/calcite-time-picker.js +1 -1
  588. package/dist/components/calcite-tip-group.js +1 -1
  589. package/dist/components/calcite-tip-manager.js +1 -1
  590. package/dist/components/calcite-tip.js +1 -1
  591. package/dist/components/calcite-tooltip-manager.js +1 -1
  592. package/dist/components/calcite-tooltip.js +1 -1
  593. package/dist/components/calcite-tree-item.js +1 -1
  594. package/dist/components/calcite-tree.js +1 -1
  595. package/dist/components/calcite-value-list-item.js +1 -1
  596. package/dist/components/calcite-value-list.js +1 -1
  597. package/dist/components/checkbox.js +1 -1
  598. package/dist/components/chip.js +1 -1
  599. package/dist/components/color-picker-hex-input.js +1 -1
  600. package/dist/components/color-picker-swatch.js +1 -1
  601. package/dist/components/conditionalSlot.js +1 -1
  602. package/dist/components/date-picker-day.js +1 -1
  603. package/dist/components/date-picker-month-header.js +1 -1
  604. package/dist/components/date-picker-month.js +1 -1
  605. package/dist/components/date-picker.js +1 -1
  606. package/dist/components/date.js +1 -1
  607. package/dist/components/debounce.js +1 -1
  608. package/dist/components/dom.js +1 -1
  609. package/dist/components/dropdown.js +1 -1
  610. package/dist/components/filter.js +1 -1
  611. package/dist/components/filter2.js +1 -1
  612. package/dist/components/floating-ui.js +1 -1
  613. package/dist/components/form.js +1 -1
  614. package/dist/components/globalAttributes.js +1 -1
  615. package/dist/components/graph.js +1 -1
  616. package/dist/components/guid.js +1 -1
  617. package/dist/components/handle.js +1 -1
  618. package/dist/components/icon.js +1 -1
  619. package/dist/components/index.js +1 -1
  620. package/dist/components/input.js +1 -1
  621. package/dist/components/interactive.js +1 -1
  622. package/dist/components/interfaces.js +1 -1
  623. package/dist/components/interfaces2.js +1 -1
  624. package/dist/components/key.js +1 -1
  625. package/dist/components/label.js +1 -1
  626. package/dist/components/label2.js +1 -1
  627. package/dist/components/link.js +1 -1
  628. package/dist/components/loader.js +1 -1
  629. package/dist/components/math.js +1 -1
  630. package/dist/components/observers.js +1 -1
  631. package/dist/components/openCloseComponent.js +1 -1
  632. package/dist/components/panel.js +1 -1
  633. package/dist/components/pick-list-item.js +1 -1
  634. package/dist/components/popover.js +1 -1
  635. package/dist/components/progress.js +1 -1
  636. package/dist/components/resources.js +1 -1
  637. package/dist/components/resources2.js +1 -1
  638. package/dist/components/resources3.js +1 -1
  639. package/dist/components/scrim.js +1 -1
  640. package/dist/components/shared-list-render.js +1 -1
  641. package/dist/components/sortable.esm.js +1 -1
  642. package/dist/components/switch.js +1 -1
  643. package/dist/components/tab-nav.js +2 -2
  644. package/dist/components/tab-title.js +2 -2
  645. package/dist/components/tab.js +1 -1
  646. package/dist/components/tabs.js +1 -1
  647. package/dist/components/tile.js +1 -1
  648. package/dist/components/time-picker.js +1 -1
  649. package/dist/components/tooltip.js +1 -1
  650. package/dist/components/utils.js +1 -1
  651. package/dist/components/utils2.js +1 -1
  652. package/dist/custom-elements/index.js +3 -3
  653. package/dist/esm/{ExpandToggle-605598d9.js → ExpandToggle-dd9375c5.js} +5 -5
  654. package/dist/esm/{Heading-b66b5f0c.js → Heading-ca11fa6f.js} +2 -2
  655. package/dist/esm/{app-globals-41837729.js → app-globals-5eafaad1.js} +2 -2
  656. package/dist/esm/{array-76f40853.js → array-11a4bf5f.js} +1 -1
  657. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  658. package/dist/esm/calcite-action-bar.entry.js +11 -11
  659. package/dist/esm/calcite-action-group.entry.js +9 -9
  660. package/dist/esm/calcite-action-menu.entry.js +8 -8
  661. package/dist/esm/calcite-action-pad.entry.js +10 -10
  662. package/dist/esm/calcite-action.entry.js +7 -7
  663. package/dist/esm/calcite-alert.entry.js +7 -7
  664. package/dist/esm/calcite-avatar.entry.js +6 -6
  665. package/dist/esm/calcite-block_2.entry.js +10 -10
  666. package/dist/esm/calcite-button.entry.js +9 -9
  667. package/dist/esm/calcite-card.entry.js +7 -7
  668. package/dist/esm/calcite-checkbox.entry.js +9 -9
  669. package/dist/esm/calcite-chip.entry.js +7 -7
  670. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  671. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  672. package/dist/esm/calcite-date-picker_4.entry.js +11 -11
  673. package/dist/esm/calcite-dropdown_3.entry.js +11 -11
  674. package/dist/esm/calcite-fab.entry.js +6 -6
  675. package/dist/esm/calcite-filter.entry.js +8 -8
  676. package/dist/esm/calcite-flow-item.entry.js +7 -7
  677. package/dist/esm/calcite-flow.entry.js +3 -3
  678. package/dist/esm/calcite-graph_2.entry.js +12 -12
  679. package/dist/esm/calcite-handle.entry.js +5 -5
  680. package/dist/esm/calcite-icon.entry.js +6 -6
  681. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  682. package/dist/esm/calcite-input-date-picker.entry.js +15 -15
  683. package/dist/esm/calcite-input-message.entry.js +5 -5
  684. package/dist/esm/calcite-input-number.entry.js +12 -12
  685. package/dist/esm/calcite-input-text.entry.js +9 -9
  686. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
  687. package/dist/esm/calcite-input.entry.js +12 -12
  688. package/dist/esm/calcite-label.entry.js +6 -6
  689. package/dist/esm/calcite-link.entry.js +6 -6
  690. package/dist/esm/calcite-list_3.entry.js +9 -9
  691. package/dist/esm/calcite-loader.entry.js +3 -3
  692. package/dist/esm/calcite-modal.entry.js +8 -8
  693. package/dist/esm/calcite-notice.entry.js +8 -8
  694. package/dist/esm/calcite-option_3.entry.js +9 -9
  695. package/dist/esm/calcite-pagination.entry.js +5 -5
  696. package/dist/esm/calcite-panel.entry.js +10 -10
  697. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  698. package/dist/esm/calcite-popover_2.entry.js +11 -11
  699. package/dist/esm/calcite-progress.entry.js +2 -2
  700. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  701. package/dist/esm/calcite-radio-button.entry.js +9 -9
  702. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  703. package/dist/esm/calcite-rating.entry.js +9 -9
  704. package/dist/esm/calcite-scrim.entry.js +2 -2
  705. package/dist/esm/calcite-shell_3.entry.js +8 -8
  706. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  707. package/dist/esm/calcite-split-button.entry.js +3 -3
  708. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  709. package/dist/esm/calcite-switch.entry.js +9 -9
  710. package/dist/esm/calcite-tab_4.entry.js +9 -9
  711. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  712. package/dist/esm/calcite-tile.entry.js +8 -8
  713. package/dist/esm/calcite-tip_3.entry.js +8 -8
  714. package/dist/esm/calcite-tooltip_2.entry.js +7 -7
  715. package/dist/esm/calcite-tree_2.entry.js +7 -7
  716. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  717. package/dist/esm/calcite.js +4 -4
  718. package/dist/esm/{conditionalSlot-e24e0791.js → conditionalSlot-f1c2ecc5.js} +3 -3
  719. package/dist/esm/{debounce-f13014d6.js → debounce-b764310f.js} +1 -1
  720. package/dist/esm/{dom-b016f19b.js → dom-5190b19e.js} +3 -3
  721. package/dist/esm/{filter-6fa5f2da.js → filter-64ff86bc.js} +2 -2
  722. package/dist/esm/{floating-ui-45c2962e.js → floating-ui-a23d8692.js} +2 -2
  723. package/dist/esm/{form-cee6ac85.js → form-bd91da77.js} +3 -3
  724. package/dist/esm/{globalAttributes-98cffa0b.js → globalAttributes-0822608d.js} +3 -3
  725. package/dist/esm/{guid-0ff25122.js → guid-0a125b87.js} +1 -1
  726. package/dist/esm/{index-465b79c3.js → index-e65789c4.js} +1 -1
  727. package/dist/esm/index.js +1 -1
  728. package/dist/esm/{interactive-8b08be45.js → interactive-00c23e39.js} +1 -1
  729. package/dist/esm/{interfaces-95c9636f.js → interfaces-51971175.js} +1 -1
  730. package/dist/esm/{key-a06b5055.js → key-3dcd2722.js} +1 -1
  731. package/dist/esm/{label-3273cb53.js → label-d69895c7.js} +2 -2
  732. package/dist/esm/loader.js +4 -4
  733. package/dist/esm/{math-2e1c4dfb.js → math-c97b1a8d.js} +1 -1
  734. package/dist/esm/{observers-3ba92c07.js → observers-57c37e38.js} +1 -1
  735. package/dist/esm/{openCloseComponent-a48a270f.js → openCloseComponent-4e83f698.js} +1 -1
  736. package/dist/esm/{resources-a260e128.js → resources-20d8cd97.js} +5 -5
  737. package/dist/esm/{resources-d7b06237.js → resources-7036a26d.js} +1 -1
  738. package/dist/esm/{resources-63c5fb04.js → resources-72632d12.js} +1 -1
  739. package/dist/esm/{resources-322714ca.js → resources-77c050d5.js} +3 -3
  740. package/dist/esm/{resources-e7b88455.js → resources-9215b7d7.js} +1 -1
  741. package/dist/esm/{resources-44a49f4e.js → resources-be9225a3.js} +1 -1
  742. package/dist/esm/{sortable.esm-8e506460.js → sortable.esm-59abe41c.js} +1 -1
  743. package/dist/esm/{utils-1d759594.js → utils-7fcf8275.js} +1 -1
  744. package/dist/esm-es5/{ExpandToggle-605598d9.js → ExpandToggle-dd9375c5.js} +2 -2
  745. package/dist/esm-es5/Heading-ca11fa6f.js +6 -0
  746. package/dist/esm-es5/{app-globals-41837729.js → app-globals-5eafaad1.js} +2 -2
  747. package/dist/esm-es5/{array-76f40853.js → array-11a4bf5f.js} +1 -1
  748. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  750. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  751. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  752. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  753. package/dist/esm-es5/calcite-action.entry.js +2 -2
  754. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  755. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  756. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  757. package/dist/esm-es5/calcite-button.entry.js +2 -2
  758. package/dist/esm-es5/calcite-card.entry.js +2 -2
  759. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  760. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  761. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  762. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  763. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  764. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  765. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  766. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  767. package/dist/esm-es5/calcite-flow-item.entry.js +2 -2
  768. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  769. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  770. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  771. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  772. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  773. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  774. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  775. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  776. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  777. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  778. package/dist/esm-es5/calcite-input.entry.js +2 -2
  779. package/dist/esm-es5/calcite-label.entry.js +2 -2
  780. package/dist/esm-es5/calcite-link.entry.js +2 -2
  781. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  782. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  783. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  784. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  785. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  786. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  787. package/dist/esm-es5/calcite-panel.entry.js +3 -3
  788. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  789. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  791. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  792. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  793. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  794. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  795. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  796. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  797. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  798. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  799. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  800. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  801. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  802. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  803. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  804. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  805. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  806. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  807. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  808. package/dist/esm-es5/calcite.js +2 -2
  809. package/dist/esm-es5/{conditionalSlot-e24e0791.js → conditionalSlot-f1c2ecc5.js} +2 -2
  810. package/dist/esm-es5/{debounce-f13014d6.js → debounce-b764310f.js} +1 -1
  811. package/dist/esm-es5/{dom-b016f19b.js → dom-5190b19e.js} +2 -2
  812. package/dist/esm-es5/{filter-6fa5f2da.js → filter-64ff86bc.js} +2 -2
  813. package/dist/esm-es5/{floating-ui-45c2962e.js → floating-ui-a23d8692.js} +2 -2
  814. package/dist/esm-es5/{form-cee6ac85.js → form-bd91da77.js} +2 -2
  815. package/dist/esm-es5/{globalAttributes-98cffa0b.js → globalAttributes-0822608d.js} +2 -2
  816. package/dist/esm-es5/{guid-0ff25122.js → guid-0a125b87.js} +1 -1
  817. package/dist/esm-es5/{index-465b79c3.js → index-e65789c4.js} +1 -1
  818. package/dist/esm-es5/index.js +1 -1
  819. package/dist/esm-es5/{interactive-8b08be45.js → interactive-00c23e39.js} +1 -1
  820. package/dist/esm-es5/{interfaces-95c9636f.js → interfaces-51971175.js} +1 -1
  821. package/dist/esm-es5/{key-a06b5055.js → key-3dcd2722.js} +1 -1
  822. package/dist/esm-es5/{label-3273cb53.js → label-d69895c7.js} +2 -2
  823. package/dist/esm-es5/loader.js +2 -2
  824. package/dist/esm-es5/{math-2e1c4dfb.js → math-c97b1a8d.js} +1 -1
  825. package/dist/esm-es5/{observers-3ba92c07.js → observers-57c37e38.js} +1 -1
  826. package/dist/esm-es5/{openCloseComponent-a48a270f.js → openCloseComponent-4e83f698.js} +1 -1
  827. package/dist/esm-es5/{resources-a260e128.js → resources-20d8cd97.js} +2 -2
  828. package/dist/esm-es5/{resources-d7b06237.js → resources-7036a26d.js} +1 -1
  829. package/dist/esm-es5/{resources-63c5fb04.js → resources-72632d12.js} +1 -1
  830. package/dist/esm-es5/{resources-322714ca.js → resources-77c050d5.js} +2 -2
  831. package/dist/esm-es5/{resources-e7b88455.js → resources-9215b7d7.js} +1 -1
  832. package/dist/esm-es5/{resources-44a49f4e.js → resources-be9225a3.js} +1 -1
  833. package/dist/esm-es5/{sortable.esm-8e506460.js → sortable.esm-59abe41c.js} +1 -1
  834. package/dist/esm-es5/{utils-1d759594.js → utils-7fcf8275.js} +1 -1
  835. package/dist/extras/docs-json.json +1 -1
  836. package/dist/loader/cdn.js +1 -1
  837. package/dist/loader/index.cjs.js +1 -1
  838. package/dist/loader/index.es2017.js +1 -1
  839. package/dist/loader/index.js +1 -1
  840. package/hydrate/index.js +3 -3
  841. package/package.json +1 -1
  842. package/dist/calcite/p-57d7d5fc.js +0 -6
  843. package/dist/calcite/p-8ccb2b79.js +0 -6
  844. package/dist/esm-es5/Heading-b66b5f0c.js +0 -6
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  function noopClick() {
7
7
  /** noop */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  var StatusIcons;
7
7
  (function (StatusIcons) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  function isActivationKey(key) {
7
7
  return key === "Enter" || key === " ";
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-b016f19b.js';
6
+ import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-5190b19e.js';
7
7
 
8
8
  /**
9
9
  * Exported for testing purposes only
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import { p as promiseResolve, b as bootstrapLazy } from './index-465b79c3.js';
7
- import { g as globalScripts } from './app-globals-41837729.js';
8
- import './resources-44a49f4e.js';
6
+ import { p as promiseResolve, b as bootstrapLazy } from './index-e65789c4.js';
7
+ import { g as globalScripts } from './app-globals-5eafaad1.js';
8
+ import './resources-be9225a3.js';
9
9
 
10
10
  /*
11
11
  Stencil Client Patch Esm v2.17.4 | MIT Licensed | https://stenciljs.com
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
7
7
  const decimalPlaces = (value) => {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  /**
7
7
  * This utility ensures observers are created only for browser contexts.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  const componentToTransitionListeners = new WeakMap();
7
7
  function transitionStart(event) {
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-b016f19b.js';
7
- import { g as getRoundRobinIndex } from './array-76f40853.js';
8
- import { d as debounce } from './debounce-f13014d6.js';
9
- import { h, H as Host } from './index-465b79c3.js';
6
+ import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-5190b19e.js';
7
+ import { g as getRoundRobinIndex } from './array-11a4bf5f.js';
8
+ import { d as debounce } from './debounce-b764310f.js';
9
+ import { h, H as Host } from './index-e65789c4.js';
10
10
 
11
11
  const CSS$2 = {
12
12
  heading: "heading",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  const CSS = {
7
7
  backButton: "back-button",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  const CSS = {
7
7
  menu: "menu",
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import { a as getAssetPath } from './index-465b79c3.js';
7
- import { b as locales } from './globalAttributes-98cffa0b.js';
6
+ import { a as getAssetPath } from './index-e65789c4.js';
7
+ import { b as locales } from './globalAttributes-0822608d.js';
8
8
 
9
9
  /**
10
10
  * Check if date is within a min and max
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  const SLOTS = {
7
7
  menuActions: "menu-actions",
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  const autoTheme = "calcite-theme-auto";
7
7
  const darkTheme = "calcite-theme-dark";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  /**!
7
7
  * Sortable 1.15.0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  function rgbToHex(color) {
7
7
  const { r, g, b } = color;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import{f as forceUpdate,h}from"./index-465b79c3.js";import{a as getElementDir}from"./dom-b016f19b.js";import{S as SLOTS}from"./resources-63c5fb04.js";import{S as SLOTS$1}from"./resources-e7b88455.js";var overflowActionsDebounceInMs=150;var groupBufferPx=2;var getAverage=function(e){return e.reduce((function(e,t){return e+t}),0)/e.length};var geActionDimensions=function(e){var t=e===null||e===void 0?void 0:e.length;return{actionWidth:t?getAverage(e.map((function(e){return e.clientWidth||0}))):0,actionHeight:t?getAverage(e.map((function(e){return e.clientHeight||0}))):0}};var getMaxActionCount=function(e){var t=e.width,n=e.actionWidth,o=e.layout,r=e.height,i=e.actionHeight,a=e.groupCount;var c=o==="horizontal"?t:r;var l=o==="horizontal"?n:i;return Math.floor((c-a*groupBufferPx)/l)};var getOverflowCount=function(e){var t=e.layout,n=e.actionCount,o=e.actionWidth,r=e.width,i=e.actionHeight,a=e.height,c=e.groupCount;return Math.max(n-getMaxActionCount({width:r,actionWidth:o,layout:t,height:a,actionHeight:i,groupCount:c}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,n=e.expanded,o=e.overflowCount;var r=o;t.reverse().forEach((function(e){var t=0;var o=queryActions(e).reverse();o.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=n}}));if(r>0){o.some((function(e){var n=o.filter((function(e){return!e.slot}));if(n.length>1&&o.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){r--}}return r<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var n;return e||((n=t.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function toggleChildActionText(e){var t=e.parent,n=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=n}));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(e){return e.expanded=n}))}var setTooltipReference=function(e){var t=e.tooltip,n=e.referenceElement,o=e.expanded,r=e.ref;if(t){t.referenceElement=!o&&n?n:null}if(r){r(n)}return n};var ExpandToggle=function(e){var t=e.expanded,n=e.intlExpand,o=e.intlCollapse,r=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var s=getElementDir(i)==="rtl";var f=t?o:n;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(a,i)==="end";var d=g?v[1]:v[0];var p=g?v[0]:v[1];var m=h("calcite-action",{icon:t?d:p,onClick:r,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as b,geActionDimensions as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
6
+ import{f as forceUpdate,h}from"./index-e65789c4.js";import{a as getElementDir}from"./dom-5190b19e.js";import{S as SLOTS}from"./resources-72632d12.js";import{S as SLOTS$1}from"./resources-9215b7d7.js";var overflowActionsDebounceInMs=150;var groupBufferPx=2;var getAverage=function(e){return e.reduce((function(e,t){return e+t}),0)/e.length};var geActionDimensions=function(e){var t=e===null||e===void 0?void 0:e.length;return{actionWidth:t?getAverage(e.map((function(e){return e.clientWidth||0}))):0,actionHeight:t?getAverage(e.map((function(e){return e.clientHeight||0}))):0}};var getMaxActionCount=function(e){var t=e.width,n=e.actionWidth,o=e.layout,r=e.height,i=e.actionHeight,a=e.groupCount;var c=o==="horizontal"?t:r;var l=o==="horizontal"?n:i;return Math.floor((c-a*groupBufferPx)/l)};var getOverflowCount=function(e){var t=e.layout,n=e.actionCount,o=e.actionWidth,r=e.width,i=e.actionHeight,a=e.height,c=e.groupCount;return Math.max(n-getMaxActionCount({width:r,actionWidth:o,layout:t,height:a,actionHeight:i,groupCount:c}),0)};var queryActions=function(e){return Array.from(e.querySelectorAll("calcite-action")).filter((function(e){return e.closest("calcite-action-menu")?e.slot===SLOTS.trigger:true}))};var overflowActions=function(e){var t=e.actionGroups,n=e.expanded,o=e.overflowCount;var r=o;t.reverse().forEach((function(e){var t=0;var o=queryActions(e).reverse();o.forEach((function(e){if(e.slot===SLOTS$1.menuActions){e.removeAttribute("slot");e.textEnabled=n}}));if(r>0){o.some((function(e){var n=o.filter((function(e){return!e.slot}));if(n.length>1&&o.length>2&&!e.closest("calcite-action-menu")){e.textEnabled=true;e.setAttribute("slot",SLOTS$1.menuActions);t++;if(t>1){r--}}return r<1}))}forceUpdate(e)}))};var ICONS={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function getCalcitePosition(e,t){var n;return e||((n=t.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function toggleChildActionText(e){var t=e.parent,n=e.expanded;queryActions(t).filter((function(e){return e.slot!==SLOTS$1.menuActions})).forEach((function(e){return e.textEnabled=n}));t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(e){return e.expanded=n}))}var setTooltipReference=function(e){var t=e.tooltip,n=e.referenceElement,o=e.expanded,r=e.ref;if(t){t.referenceElement=!o&&n?n:null}if(r){r(n)}return n};var ExpandToggle=function(e){var t=e.expanded,n=e.intlExpand,o=e.intlCollapse,r=e.toggle,i=e.el,a=e.position,c=e.tooltip,l=e.ref,u=e.scale;var s=getElementDir(i)==="rtl";var f=t?o:n;var v=[ICONS.chevronsLeft,ICONS.chevronsRight];if(s){v.reverse()}var g=getCalcitePosition(a,i)==="end";var d=g?v[1]:v[0];var p=g?v[0]:v[1];var m=h("calcite-action",{icon:t?d:p,onClick:r,ref:function(e){return setTooltipReference({tooltip:c,referenceElement:e,expanded:t,ref:l})},scale:u,text:f,textEnabled:t});return m};export{ExpandToggle as E,overflowActions as a,getOverflowCount as b,geActionDimensions as g,overflowActionsDebounceInMs as o,queryActions as q,toggleChildActionText as t};
@@ -0,0 +1,6 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(n){for(var e,a=1,t=arguments.length;a<t;a++){e=arguments[a];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))n[i]=e[i]}return n};return __assign.apply(this,arguments)};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-next.593
6
+ */import{h}from"./index-e65789c4.js";function constrainHeadingLevel(n){return Math.min(Math.max(Math.ceil(n),1),6)}var Heading=function(n,e){var a="h".concat(n.level);delete n.level;return h(a,__assign({},n),e)};export{Heading as H,constrainHeadingLevel as c};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import{d as darkTheme,a as autoTheme}from"./resources-44a49f4e.js";function initThemeChangeEvent(){var e=document.body.classList;var t=window.matchMedia("(prefers-color-scheme: dark)").matches;var n=function(){return e.contains(darkTheme)||e.contains(autoTheme)&&t?"dark":"light"};var a=function(e){return document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:true,detail:{theme:e}}))};var o=function(e){r!==e&&a(e);r=e};var r=n();a(r);window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){return o(e.matches?"dark":"light")}));new MutationObserver((function(){return o(n())})).observe(document.body,{attributes:true,attributeFilter:["class"]})}function appGlobalScript(){var e=typeof window!=="undefined"&&typeof location!=="undefined"&&typeof document!=="undefined"&&window.location===location&&window.document===document;if(e){if(document.readyState==="interactive"){initThemeChangeEvent()}else{document.addEventListener("DOMContentLoaded",(function(){return initThemeChangeEvent()}),{once:true})}}}var globalScripts=appGlobalScript;export{globalScripts as g};
6
+ import{d as darkTheme,a as autoTheme}from"./resources-be9225a3.js";function initThemeChangeEvent(){var e=document.body.classList;var t=window.matchMedia("(prefers-color-scheme: dark)").matches;var n=function(){return e.contains(darkTheme)||e.contains(autoTheme)&&t?"dark":"light"};var a=function(e){return document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:true,detail:{theme:e}}))};var o=function(e){r!==e&&a(e);r=e};var r=n();a(r);window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){return o(e.matches?"dark":"light")}));new MutationObserver((function(){return o(n())})).observe(document.body,{attributes:true,attributeFilter:["class"]})}function appGlobalScript(){var e=typeof window!=="undefined"&&typeof location!=="undefined"&&typeof document!=="undefined"&&window.location===location&&window.document===document;if(e){if(document.readyState==="interactive"){initThemeChangeEvent()}else{document.addEventListener("DOMContentLoaded",(function(){return initThemeChangeEvent()}),{once:true})}}}var globalScripts=appGlobalScript;export{globalScripts as g};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
6
  function getRoundRobinIndex(n,e){return(n+e)%e}export{getRoundRobinIndex as g};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-465b79c3.js";import{d as getElementProp,g as getSlotted,a as getElementDir,t as toAriaBoolean}from"./dom-b016f19b.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-e24e0791.js";import{C as CSS_UTILITY}from"./resources-44a49f4e.js";import"./guid-0ff25122.js";import"./observers-3ba92c07.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",6);this.appearance="solid";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){var t=this.appearance==="transparent";var i=this.appearance==="minimal";return h("div",{class:{"accordion--transparent":t,"accordion--minimal":i,accordion:!t&&!i}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var n=i.key;var a=t.target;var o=this.itemIndex(a)===0;var c=this.itemIndex(a)===this.items.length-1;switch(n){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(a)}break;case"ArrowUp":if(o){this.focusLastItem()}else{this.focusPrevItem(a)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i===null||i===void 0?void 0:i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var SLOTS={actionsStart:"actions-start",actionsEnd:"actions-end"};var CSS={icon:"icon",header:"header",headerContent:"header-content",actionsStart:"actions-start",actionsEnd:"actions-end",headerText:"header-text",heading:"heading",description:"description",expandIcon:"expand-icon",content:"content",iconStart:"icon--start",iconEnd:"icon--end",headerContainer:"header-container"};var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin);-webkit-margin-start:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",6);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",6);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",6);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",6);this.active=false;this.expanded=false;this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.activeHandler=function(t){this.expanded=t};t.prototype.expandedHandler=function(t){this.active=t};t.prototype.iconHandler=function(t){this.iconStart=t};t.prototype.iconStartHandler=function(t){this.icon=t};t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition);var t=this.active||this.expanded;if(t){this.activeHandler(t);this.expandedHandler(t)}if(this.iconStart){this.icon=this.iconStart}else if(this.icon){this.iconStart=this.icon}connectConditionalSlotComponent(this)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderActionsStart=function(){var t=this.el;return getSlotted(t,SLOTS.actionsStart)?h("div",{class:CSS.actionsStart},h("slot",{name:SLOTS.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t=this.el;return getSlotted(t,SLOTS.actionsEnd)?h("div",{class:CSS.actionsEnd},h("slot",{name:SLOTS.actionsEnd})):null};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var n=this.iconStart?h("calcite-icon",{class:CSS.iconStart,icon:this.iconStart,key:"icon-start",scale:"s"}):null;var a=this.iconEnd?h("calcite-icon",{class:CSS.iconEnd,icon:this.iconEnd,key:"icon-end",scale:"s"}):null;var o=this.description||this.itemSubtitle;return h(Host,null,h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{class:(i={},i[CSS.header]=true,i[CSS_UTILITY.rtl]=e==="rtl",i)},this.renderActionsStart(),h("div",{"aria-expanded":toAriaBoolean(this.active||this.expanded),class:CSS.headerContent,onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},h("div",{class:CSS.headerContainer},n,h("div",{class:CSS.headerText},h("span",{class:CSS.heading},this.heading||this.itemTitle),o?h("span",{class:CSS.description},o):null),a),h("calcite-icon",{class:CSS.expandIcon,icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),this.renderActionsEnd()),h("div",{class:CSS.content},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.expanded=!this.expanded}break;case"single":this.expanded=this.el===this.requestedAccordionItem?!this.expanded:false;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],expanded:["expandedHandler"],icon:["iconHandler"],iconStart:["iconStartHandler"]}},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-e65789c4.js";import{d as getElementProp,g as getSlotted,a as getElementDir,t as toAriaBoolean}from"./dom-5190b19e.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-f1c2ecc5.js";import{C as CSS_UTILITY}from"./resources-be9225a3.js";import"./guid-0a125b87.js";import"./observers-57c37e38.js";var accordionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";var Accordion=function(){function t(t){registerInstance(this,t);this.calciteInternalAccordionChange=createEvent(this,"calciteInternalAccordionChange",6);this.appearance="solid";this.iconPosition="end";this.iconType="chevron";this.scale="m";this.selectionMode="multi";this.items=[];this.sorted=false;this.sortItems=function(t){return t.sort((function(t,i){return t.position-i.position})).map((function(t){return t.item}))}}t.prototype.componentDidLoad=function(){if(!this.sorted){this.items=this.sortItems(this.items);this.sorted=true}};t.prototype.render=function(){var t=this.appearance==="transparent";var i=this.appearance==="minimal";return h("div",{class:{"accordion--transparent":t,"accordion--minimal":i,accordion:!t&&!i}},h("slot",null))};t.prototype.calciteInternalAccordionItemKeyEvent=function(t){var i=t.detail.item;var e=t.detail.parent;if(this.el===e){var n=i.key;var a=t.target;var o=this.itemIndex(a)===0;var c=this.itemIndex(a)===this.items.length-1;switch(n){case"ArrowDown":if(c){this.focusFirstItem()}else{this.focusNextItem(a)}break;case"ArrowUp":if(o){this.focusLastItem()}else{this.focusPrevItem(a)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}}t.stopPropagation()};t.prototype.registerCalciteAccordionItem=function(t){var i={item:t.target,parent:t.detail.parent,position:t.detail.position};if(this.el===i.parent){this.items.push(i)}t.stopPropagation()};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;this.calciteInternalAccordionChange.emit({requestedAccordionItem:this.requestedAccordionItem});t.stopPropagation()};t.prototype.focusFirstItem=function(){var t=this.items[0];this.focusElement(t)};t.prototype.focusLastItem=function(){var t=this.items[this.items.length-1];this.focusElement(t)};t.prototype.focusNextItem=function(t){var i=this.itemIndex(t);var e=this.items[i+1]||this.items[0];this.focusElement(e)};t.prototype.focusPrevItem=function(t){var i=this.itemIndex(t);var e=this.items[i-1]||this.items[this.items.length-1];this.focusElement(e)};t.prototype.itemIndex=function(t){return this.items.indexOf(t)};t.prototype.focusElement=function(t){var i=t;i===null||i===void 0?void 0:i.focus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Accordion.style=accordionCss;var SLOTS={actionsStart:"actions-start",actionsEnd:"actions-end"};var CSS={icon:"icon",header:"header",headerContent:"header-content",actionsStart:"actions-start",actionsEnd:"actions-end",headerText:"header-text",heading:"heading",description:"description",expandIcon:"expand-icon",content:"content",iconStart:"icon--start",iconEnd:"icon--end",headerContainer:"header-container"};var accordionItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-margin-end:var(--calcite-accordion-icon-margin);margin-inline-end:var(--calcite-accordion-icon-margin);-webkit-margin-start:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{-webkit-border-after:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2));border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .content{display:none;-webkit-padding-before:0px;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-block:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .heading,:host .description{display:-ms-flexbox;display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{-webkit-margin-before:0.25rem;margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{-ms-flex-positive:1;flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (forced-colors: active){:host([expanded]) .header{-webkit-border-after:none;border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}";var AccordionItem=function(){function t(t){var i=this;registerInstance(this,t);this.calciteInternalAccordionItemKeyEvent=createEvent(this,"calciteInternalAccordionItemKeyEvent",6);this.calciteInternalAccordionItemSelect=createEvent(this,"calciteInternalAccordionItemSelect",6);this.calciteInternalAccordionItemClose=createEvent(this,"calciteInternalAccordionItemClose",6);this.calciteInternalAccordionItemRegister=createEvent(this,"calciteInternalAccordionItemRegister",6);this.active=false;this.expanded=false;this.iconPosition="end";this.itemHeaderClickHandler=function(){return i.emitRequestedItem()}}t.prototype.activeHandler=function(t){this.expanded=t};t.prototype.expandedHandler=function(t){this.active=t};t.prototype.iconHandler=function(t){this.iconStart=t};t.prototype.iconStartHandler=function(t){this.icon=t};t.prototype.connectedCallback=function(){this.parent=this.el.parentElement;this.selectionMode=getElementProp(this.el,"selection-mode","multi");this.iconType=getElementProp(this.el,"icon-type","chevron");this.iconPosition=getElementProp(this.el,"icon-position",this.iconPosition);var t=this.active||this.expanded;if(t){this.activeHandler(t);this.expandedHandler(t)}if(this.iconStart){this.icon=this.iconStart}else if(this.icon){this.iconStart=this.icon}connectConditionalSlotComponent(this)};t.prototype.componentDidLoad=function(){this.itemPosition=this.getItemPosition();this.calciteInternalAccordionItemRegister.emit({parent:this.parent,position:this.itemPosition})};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderActionsStart=function(){var t=this.el;return getSlotted(t,SLOTS.actionsStart)?h("div",{class:CSS.actionsStart},h("slot",{name:SLOTS.actionsStart})):null};t.prototype.renderActionsEnd=function(){var t=this.el;return getSlotted(t,SLOTS.actionsEnd)?h("div",{class:CSS.actionsEnd},h("slot",{name:SLOTS.actionsEnd})):null};t.prototype.render=function(){var t,i;var e=getElementDir(this.el);var n=this.iconStart?h("calcite-icon",{class:CSS.iconStart,icon:this.iconStart,key:"icon-start",scale:"s"}):null;var a=this.iconEnd?h("calcite-icon",{class:CSS.iconEnd,icon:this.iconEnd,key:"icon-end",scale:"s"}):null;var o=this.description||this.itemSubtitle;return h(Host,null,h("div",{class:(t={},t["icon-position--".concat(this.iconPosition)]=true,t["icon-type--".concat(this.iconType)]=true,t)},h("div",{class:(i={},i[CSS.header]=true,i[CSS_UTILITY.rtl]=e==="rtl",i)},this.renderActionsStart(),h("div",{"aria-expanded":toAriaBoolean(this.active||this.expanded),class:CSS.headerContent,onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},h("div",{class:CSS.headerContainer},n,h("div",{class:CSS.headerText},h("span",{class:CSS.heading},this.heading||this.itemTitle),o?h("span",{class:CSS.description},o):null),a),h("calcite-icon",{class:CSS.expandIcon,icon:this.iconType==="chevron"?"chevronDown":this.iconType==="caret"?"caretDown":this.expanded||this.active?"minus":"plus",scale:"s"})),this.renderActionsEnd()),h("div",{class:CSS.content},h("slot",null))))};t.prototype.keyDownHandler=function(t){if(t.target===this.el){switch(t.key){case" ":case"Enter":this.emitRequestedItem();t.preventDefault();break;case"ArrowUp":case"ArrowDown":case"Home":case"End":this.calciteInternalAccordionItemKeyEvent.emit({parent:this.parent,item:t});t.preventDefault();break}}};t.prototype.updateActiveItemOnChange=function(t){this.requestedAccordionItem=t.detail.requestedAccordionItem;if(this.el.parentNode!==this.requestedAccordionItem.parentNode){return}this.determineActiveItem();t.stopPropagation()};t.prototype.determineActiveItem=function(){switch(this.selectionMode){case"multi":if(this.el===this.requestedAccordionItem){this.expanded=!this.expanded}break;case"single":this.expanded=this.el===this.requestedAccordionItem?!this.expanded:false;break;case"single-persist":this.expanded=this.el===this.requestedAccordionItem;break}};t.prototype.emitRequestedItem=function(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})};t.prototype.getItemPosition=function(){return Array.prototype.indexOf.call(this.parent.querySelectorAll("calcite-accordion-item"),this.el)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],expanded:["expandedHandler"],icon:["iconHandler"],iconStart:["iconStartHandler"]}},enumerable:false,configurable:true});return t}();AccordionItem.style=accordionItemCss;export{Accordion as calcite_accordion,AccordionItem as calcite_accordion_item};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,o){function i(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.592
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-465b79c3.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,g as geActionDimensions,a as overflowActions,E as ExpandToggle,b as getOverflowCount}from"./ExpandToggle-605598d9.js";import{f as focusElement,g as getSlotted}from"./dom-b016f19b.js";import{c as createObserver}from"./observers-3ba92c07.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-e24e0791.js";import{d as debounce}from"./debounce-f13014d6.js";import"./resources-63c5fb04.js";import"./resources-e7b88455.js";import"./resources-44a49f4e.js";import"./guid-0ff25122.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var actionBarCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:stretch;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px;-webkit-padding-end:0px;padding-inline-end:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",6);this.expandDisabled=false;this.expanded=false;this.layout="vertical";this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect,o=n.width,i=n.height;e.resize({width:o,height:i})};this.resize=debounce((function(t){var n=t.width,o=t.height;var i=e,a=i.el,r=i.expanded,l=i.expandDisabled,c=i.layout;if(c==="vertical"&&!o||c==="horizontal"&&!n){return}var s=queryActions(a);var d=l?s.length:s.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var p=getSlotted(a,SLOTS.bottomActions)||!l?u.length+1:u.length;var f=geActionDimensions(s),m=f.actionHeight,h=f.actionWidth;var b=getOverflowCount({layout:c,actionCount:d,actionHeight:m,actionWidth:h,height:o,width:n,groupCount:p});overflowActions({actionGroups:u,expanded:r,overflowCount:b})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t});this.conditionallyOverflowActions()};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize({width:this.el.clientWidth,height:this.el.clientHeight});return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:n.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,c=t.scale,s=t.layout;var d=getSlotted(a,SLOTS.expandTooltip);var u=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:u,position:r,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:d}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,layout:s,scale:c},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
5
+ * v1.0.0-next.593
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-e65789c4.js";import{t as toggleChildActionText,o as overflowActionsDebounceInMs,q as queryActions,g as geActionDimensions,a as overflowActions,E as ExpandToggle,b as getOverflowCount}from"./ExpandToggle-dd9375c5.js";import{f as focusElement,g as getSlotted}from"./dom-5190b19e.js";import{c as createObserver}from"./observers-57c37e38.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-f1c2ecc5.js";import{d as debounce}from"./debounce-b764310f.js";import"./resources-72632d12.js";import"./resources-9215b7d7.js";import"./resources-be9225a3.js";import"./guid-0a125b87.js";var CSS={actionGroupBottom:"action-group--bottom"};var SLOTS={bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};var TEXT={expand:"Expand",collapse:"Collapse"};var actionBarCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:stretch;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px;-webkit-padding-end:0px;padding-inline-end:0px}";var ActionBar=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionBarToggle=createEvent(this,"calciteActionBarToggle",6);this.expandDisabled=false;this.expanded=false;this.layout="vertical";this.overflowActionsDisabled=false;this.mutationObserver=createObserver("mutation",(function(){var t=e,n=t.el,o=t.expanded;toggleChildActionText({parent:n,expanded:o});e.conditionallyOverflowActions()}));this.resizeObserver=createObserver("resize",(function(t){return e.resizeHandlerEntries(t)}));this.actionMenuOpenChangeHandler=function(t){if(t.detail){var n=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!n.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=function(t){t.forEach(e.resizeHandler)};this.resizeHandler=function(t){var n=t.contentRect,o=n.width,i=n.height;e.resize({width:o,height:i})};this.resize=debounce((function(t){var n=t.width,o=t.height;var i=e,a=i.el,r=i.expanded,l=i.expandDisabled,c=i.layout;if(c==="vertical"&&!o||c==="horizontal"&&!n){return}var s=queryActions(a);var d=l?s.length:s.length+1;var u=Array.from(a.querySelectorAll("calcite-action-group"));var p=getSlotted(a,SLOTS.bottomActions)||!l?u.length+1:u.length;var f=geActionDimensions(s),m=f.actionHeight,h=f.actionWidth;var b=getOverflowCount({layout:c,actionCount:d,actionHeight:m,actionWidth:h,height:o,width:n,groupCount:p});overflowActions({actionGroups:u,expanded:r,overflowCount:b})}),overflowActionsDebounceInMs);this.conditionallyOverflowActions=function(){if(!e.overflowActionsDisabled){e.overflowActions()}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionBarToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandHandler=function(){this.conditionallyOverflowActions()};t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t});this.conditionallyOverflowActions()};t.prototype.overflowDisabledHandler=function(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)};t.prototype.componentDidLoad=function(){this.conditionallyOverflowActions()};t.prototype.connectedCallback=function(){var t,e;var n=this,o=n.el,i=n.expanded;toggleChildActionText({parent:o,expanded:i});(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(o,{childList:true,subtree:true});if(!this.overflowActionsDisabled){(e=this.resizeObserver)===null||e===void 0?void 0:e.observe(o)}this.conditionallyOverflowActions();connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){var t,e;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();disconnectConditionalSlotComponent(this)};t.prototype.overflowActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.resize({width:this.el.clientWidth,height:this.el.clientHeight});return[2]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(n){switch(n.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:n.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,n=t.expandDisabled,o=t.intlExpand,i=t.intlCollapse,a=t.el,r=t.position,l=t.toggleExpand,c=t.scale,s=t.layout;var d=getSlotted(a,SLOTS.expandTooltip);var u=o||TEXT.expand;var p=i||TEXT.collapse;var f=!n?h(ExpandToggle,{el:a,expanded:e,intlCollapse:p,intlExpand:u,position:r,ref:this.setExpandToggleRef,scale:c,toggle:l,tooltip:d}):null;return getSlotted(a,SLOTS.bottomActions)||f?h("calcite-action-group",{class:CSS.actionGroupBottom,layout:s,scale:c},h("slot",{name:SLOTS.bottomActions}),h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("slot",null),this.renderBottomActionGroup())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"]}},enumerable:false,configurable:true});return t}();ActionBar.style=actionBarCss;export{ActionBar as calcite_action_bar};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.592
4
+ * v1.0.0-next.593
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-465b79c3.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-e7b88455.js";import{g as getSlotted}from"./dom-b016f19b.js";import{S as SLOTS$1}from"./resources-63c5fb04.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-e24e0791.js";import"./resources-44a49f4e.js";import"./guid-0ff25122.js";import"./observers-3ba92c07.js";var actionGroupCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale,r=t.layout;var c=getSlotted(n,SLOTS.menuActions);return c?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:r==="horizontal"?"bottom-leading":"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};
6
+ import{r as registerInstance,h,F as Fragment,g as getElement}from"./index-e65789c4.js";import{S as SLOTS,I as ICONS,T as TEXT}from"./resources-9215b7d7.js";import{g as getSlotted}from"./dom-5190b19e.js";import{S as SLOTS$1}from"./resources-72632d12.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-f1c2ecc5.js";import"./resources-be9225a3.js";import"./guid-0a125b87.js";import"./observers-57c37e38.js";var actionGroupCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){-webkit-padding-before:0px;padding-block-start:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';var ActionGroup=function(){function t(t){var n=this;registerInstance(this,t);this.expanded=false;this.layout="vertical";this.menuOpen=false;this.setMenuOpen=function(t){n.menuOpen=!!t.detail}}t.prototype.expandedHandler=function(){this.menuOpen=false};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderTooltip=function(){var t=this.el;var n=getSlotted(t,SLOTS.menuTooltip);return n?h("slot",{name:SLOTS.menuTooltip,slot:SLOTS$1.tooltip}):null};t.prototype.renderMenu=function(){var t=this,n=t.el,a=t.expanded,e=t.intlMore,i=t.menuOpen,o=t.scale,r=t.layout;var c=getSlotted(n,SLOTS.menuActions);return c?h("calcite-action-menu",{expanded:a,flipPlacements:["left","right"],label:e||TEXT.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:i,placement:r==="horizontal"?"bottom-leading":"leading-start",scale:o},h("calcite-action",{icon:ICONS.menu,scale:o,slot:SLOTS$1.trigger,text:e||TEXT.more,textEnabled:a}),h("slot",{name:SLOTS.menuActions}),this.renderTooltip()):null};t.prototype.render=function(){return h(Fragment,null,h("slot",null),this.renderMenu())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionGroup.style=actionGroupCss;export{ActionGroup as calcite_action_group};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.592
6
- */import{r as registerInstance,c as createEvent,h,F as Fragment,g as getElement}from"./index-465b79c3.js";import{C as CSS,I as ICONS,S as SLOTS}from"./resources-63c5fb04.js";import{t as toAriaBoolean,f as focusElement}from"./dom-b016f19b.js";import{g as getRoundRobinIndex}from"./array-76f40853.js";import{g as guid}from"./guid-0ff25122.js";import{i as isActivationKey}from"./key-a06b5055.js";import"./resources-44a49f4e.js";var actionMenuCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var SUPPORTED_BUTTON_NAV_KEYS=["ArrowUp","ArrowDown"];var SUPPORTED_MENU_NAV_KEYS=["ArrowUp","ArrowDown","End","Home"];var ActionMenu=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionMenuOpenChange=createEvent(this,"calciteActionMenuOpenChange",6);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.guid="calcite-action-menu-".concat(guid());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=e,n=t.menuButtonId,i=t.menuId,a=t.open,o=t.label;var r=e.slottedMenuButtonEl||e.defaultMenuButtonEl;if(e.menuButtonEl===r){return}e.disconnectMenuButtonEl();e.menuButtonEl=r;e.setTooltipReferenceElement();if(!r){return}r.active=a;r.setAttribute("aria-controls",i);r.setAttribute("aria-expanded",toAriaBoolean(a));r.setAttribute("aria-haspopup","true");if(!r.id){r.id=n}if(!r.label){r.label=o}if(!r.text){r.text=o}r.addEventListener("pointerdown",e.menuButtonClick);r.addEventListener("keydown",e.menuButtonKeyDown)};this.disconnectMenuButtonEl=function(){var t=e.menuButtonEl;if(!t){return}t.removeEventListener("pointerdown",e.menuButtonClick);t.removeEventListener("keydown",e.menuButtonKeyDown)};this.setMenuButtonEl=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));e.slottedMenuButtonEl=n[0];e.connectMenuButtonEl()};this.setDefaultMenuButtonEl=function(t){e.defaultMenuButtonEl=t;e.connectMenuButtonEl()};this.handleCalciteActionClick=function(){e.open=false;e.setFocus()};this.menuButtonClick=function(){e.toggleOpen()};this.updateTooltip=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));e.tooltipEl=n[0];e.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=e,n=t.tooltipEl,i=t.expanded,a=t.menuButtonEl,o=t.open;if(n){n.referenceElement=!i&&!o?a:null}};this.updateAction=function(t,n){var i=e,a=i.guid,o=i.activeMenuItemIndex;var r="".concat(a,"-action-").concat(n);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=n===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(e.updateAction)};this.handleDefaultSlotChange=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));e.actionElements=n};this.menuButtonKeyDown=function(t){var n=t.key;var i=e.actionElements;if(!i.length){return}if(isActivationKey(n)){t.preventDefault();e.toggleOpen();return}if(!e.isValidKey(n,SUPPORTED_BUTTON_NAV_KEYS)){return}t.preventDefault();e.toggleOpen(true);e.handleActionNavigation(n,i)};this.menuActionsContainerKeyDown=function(t){var n=t.key;var i=e,a=i.actionElements,o=i.activeMenuItemIndex;if(n==="Tab"){e.open=false;return}if(isActivationKey(n)){t.preventDefault();var r=a[o];r?r.click():e.toggleOpen(false);return}if(n==="Escape"){e.toggleOpen(false);t.preventDefault();return}if(!a.length){return}if(e.isValidKey(n,SUPPORTED_MENU_NAV_KEYS)){t.preventDefault()}e.handleActionNavigation(n,a)};this.handleActionNavigation=function(t,n){if(!e.open){return}var i=e.activeMenuItemIndex;if(t==="Home"){e.activeMenuItemIndex=0}if(t==="End"){e.activeMenuItemIndex=n.length-1}if(t==="ArrowUp"){e.activeMenuItemIndex=getRoundRobinIndex(Math.max(i-1,-1),n.length)}if(t==="ArrowDown"){e.activeMenuItemIndex=getRoundRobinIndex(i+1,n.length)}};this.toggleOpenEnd=function(){e.setFocus();e.el.removeEventListener("calcitePopoverOpen",e.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!e.open}e.el.addEventListener("calcitePopoverOpen",e.toggleOpenEnd);e.open=t}}t.prototype.disconnectedCallback=function(){this.disconnectMenuButtonEl()};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t);this.setTooltipReferenceElement()};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale,i=t.expanded;var a=h("slot",{name:SLOTS.trigger,onSlotchange:this.setMenuButtonEl},h("calcite-action",{class:CSS.defaultTrigger,icon:ICONS.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e,textEnabled:i}));return a};t.prototype.renderMenuItems=function(){var t=this,e=t.actionElements,n=t.activeMenuItemIndex,i=t.open,a=t.menuId,o=t.menuButtonEl,r=t.label,l=t.placement,c=t.overlayPositioning,s=t.flipPlacements;var u=e[n];var f=(u===null||u===void 0?void 0:u.id)||null;return h("calcite-popover",{disablePointer:true,flipPlacements:s,label:r,offsetDistance:0,open:i,overlayPositioning:c,placement:l,referenceElement:o},h("div",{"aria-activedescendant":f,"aria-labelledby":o===null||o===void 0?void 0:o.id,class:CSS.menu,id:a,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,role:"menu",tabIndex:-1},h("slot",{onSlotchange:this.handleDefaultSlotChange})))};t.prototype.render=function(){return h(Fragment,null,this.renderMenuButton(),this.renderMenuItems(),h("slot",{name:SLOTS.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}();ActionMenu.style=actionMenuCss;export{ActionMenu as calcite_action_menu};
5
+ * v1.0.0-next.593
6
+ */import{r as registerInstance,c as createEvent,h,F as Fragment,g as getElement}from"./index-e65789c4.js";import{C as CSS,I as ICONS,S as SLOTS}from"./resources-72632d12.js";import{t as toAriaBoolean,f as focusElement}from"./dom-5190b19e.js";import{g as getRoundRobinIndex}from"./array-11a4bf5f.js";import{g as guid}from"./guid-0a125b87.js";import{i as isActivationKey}from"./key-3dcd2722.js";import"./resources-be9225a3.js";var actionMenuCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var SUPPORTED_BUTTON_NAV_KEYS=["ArrowUp","ArrowDown"];var SUPPORTED_MENU_NAV_KEYS=["ArrowUp","ArrowDown","End","Home"];var ActionMenu=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionMenuOpenChange=createEvent(this,"calciteActionMenuOpenChange",6);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.guid="calcite-action-menu-".concat(guid());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=e,n=t.menuButtonId,i=t.menuId,a=t.open,o=t.label;var r=e.slottedMenuButtonEl||e.defaultMenuButtonEl;if(e.menuButtonEl===r){return}e.disconnectMenuButtonEl();e.menuButtonEl=r;e.setTooltipReferenceElement();if(!r){return}r.active=a;r.setAttribute("aria-controls",i);r.setAttribute("aria-expanded",toAriaBoolean(a));r.setAttribute("aria-haspopup","true");if(!r.id){r.id=n}if(!r.label){r.label=o}if(!r.text){r.text=o}r.addEventListener("pointerdown",e.menuButtonClick);r.addEventListener("keydown",e.menuButtonKeyDown)};this.disconnectMenuButtonEl=function(){var t=e.menuButtonEl;if(!t){return}t.removeEventListener("pointerdown",e.menuButtonClick);t.removeEventListener("keydown",e.menuButtonKeyDown)};this.setMenuButtonEl=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));e.slottedMenuButtonEl=n[0];e.connectMenuButtonEl()};this.setDefaultMenuButtonEl=function(t){e.defaultMenuButtonEl=t;e.connectMenuButtonEl()};this.handleCalciteActionClick=function(){e.open=false;e.setFocus()};this.menuButtonClick=function(){e.toggleOpen()};this.updateTooltip=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));e.tooltipEl=n[0];e.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=e,n=t.tooltipEl,i=t.expanded,a=t.menuButtonEl,o=t.open;if(n){n.referenceElement=!i&&!o?a:null}};this.updateAction=function(t,n){var i=e,a=i.guid,o=i.activeMenuItemIndex;var r="".concat(a,"-action-").concat(n);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=n===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(e.updateAction)};this.handleDefaultSlotChange=function(t){var n=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));e.actionElements=n};this.menuButtonKeyDown=function(t){var n=t.key;var i=e.actionElements;if(!i.length){return}if(isActivationKey(n)){t.preventDefault();e.toggleOpen();return}if(!e.isValidKey(n,SUPPORTED_BUTTON_NAV_KEYS)){return}t.preventDefault();e.toggleOpen(true);e.handleActionNavigation(n,i)};this.menuActionsContainerKeyDown=function(t){var n=t.key;var i=e,a=i.actionElements,o=i.activeMenuItemIndex;if(n==="Tab"){e.open=false;return}if(isActivationKey(n)){t.preventDefault();var r=a[o];r?r.click():e.toggleOpen(false);return}if(n==="Escape"){e.toggleOpen(false);t.preventDefault();return}if(!a.length){return}if(e.isValidKey(n,SUPPORTED_MENU_NAV_KEYS)){t.preventDefault()}e.handleActionNavigation(n,a)};this.handleActionNavigation=function(t,n){if(!e.open){return}var i=e.activeMenuItemIndex;if(t==="Home"){e.activeMenuItemIndex=0}if(t==="End"){e.activeMenuItemIndex=n.length-1}if(t==="ArrowUp"){e.activeMenuItemIndex=getRoundRobinIndex(Math.max(i-1,-1),n.length)}if(t==="ArrowDown"){e.activeMenuItemIndex=getRoundRobinIndex(i+1,n.length)}};this.toggleOpenEnd=function(){e.setFocus();e.el.removeEventListener("calcitePopoverOpen",e.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!e.open}e.el.addEventListener("calcitePopoverOpen",e.toggleOpenEnd);e.open=t}}t.prototype.disconnectedCallback=function(){this.disconnectMenuButtonEl()};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t);this.setTooltipReferenceElement()};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale,i=t.expanded;var a=h("slot",{name:SLOTS.trigger,onSlotchange:this.setMenuButtonEl},h("calcite-action",{class:CSS.defaultTrigger,icon:ICONS.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e,textEnabled:i}));return a};t.prototype.renderMenuItems=function(){var t=this,e=t.actionElements,n=t.activeMenuItemIndex,i=t.open,a=t.menuId,o=t.menuButtonEl,r=t.label,l=t.placement,c=t.overlayPositioning,s=t.flipPlacements;var u=e[n];var f=(u===null||u===void 0?void 0:u.id)||null;return h("calcite-popover",{disablePointer:true,flipPlacements:s,label:r,offsetDistance:0,open:i,overlayPositioning:c,placement:l,referenceElement:o},h("div",{"aria-activedescendant":f,"aria-labelledby":o===null||o===void 0?void 0:o.id,class:CSS.menu,id:a,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,role:"menu",tabIndex:-1},h("slot",{onSlotchange:this.handleDefaultSlotChange})))};t.prototype.render=function(){return h(Fragment,null,this.renderMenuButton(),this.renderMenuItems(),h("slot",{name:SLOTS.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}();ActionMenu.style=actionMenuCss;export{ActionMenu as calcite_action_menu};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,a,n){function o(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.592
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-465b79c3.js";import{t as toggleChildActionText,E as ExpandToggle}from"./ExpandToggle-605598d9.js";import{f as focusElement,g as getSlotted}from"./dom-b016f19b.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-e24e0791.js";import"./resources-63c5fb04.js";import"./resources-e7b88455.js";import"./resources-44a49f4e.js";import"./guid-0ff25122.js";import"./observers-3ba92c07.js";var CSS={actionGroupBottom:"action-group--bottom",container:"container"};var TEXT={expand:"Expand",collapse:"Collapse"};var SLOTS={expandTooltip:"expand-tooltip"};var actionPadCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px}:host([layout=horizontal]) .container{-ms-flex-direction:row;flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";var ActionPad=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionPadToggle=createEvent(this,"calciteActionPadToggle",6);this.expandDisabled=false;this.expanded=false;this.layout="vertical";this.actionMenuOpenChangeHandler=function(t){if(t.detail){var a=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!a.includes(t)){t.menuOpen=false}}))}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionPadToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.componentWillLoad=function(){var t=this,e=t.el,a=t.expanded;toggleChildActionText({parent:e,expanded:a})};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){switch(a.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:a.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,a=t.expandDisabled,n=t.intlExpand,o=t.intlCollapse,i=t.el,r=t.position,c=t.toggleExpand,l=t.scale,s=t.layout;var d=getSlotted(i,SLOTS.expandTooltip);var p=n||TEXT.expand;var u=o||TEXT.collapse;var f=!a?h(ExpandToggle,{el:i,expanded:e,intlCollapse:u,intlExpand:p,position:r,ref:this.setExpandToggleRef,scale:l,toggle:c,tooltip:d}):null;return f?h("calcite-action-group",{class:CSS.actionGroupBottom,layout:s,scale:l},h("slot",{name:SLOTS.expandTooltip}),f):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("div",{class:CSS.container},h("slot",null),this.renderBottomActionGroup()))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionPad.style=actionPadCss;export{ActionPad as calcite_action_pad};
5
+ * v1.0.0-next.593
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-e65789c4.js";import{t as toggleChildActionText,E as ExpandToggle}from"./ExpandToggle-dd9375c5.js";import{f as focusElement,g as getSlotted}from"./dom-5190b19e.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-f1c2ecc5.js";import"./resources-72632d12.js";import"./resources-9215b7d7.js";import"./resources-be9225a3.js";import"./guid-0a125b87.js";import"./observers-57c37e38.js";var CSS={actionGroupBottom:"action-group--bottom",container:"container"};var TEXT={expand:"Expand",collapse:"Collapse"};var SLOTS={expandTooltip:"expand-tooltip"};var actionPadCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{-webkit-box-sizing:border-box;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 *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px}:host([layout=horizontal]) .container{-ms-flex-direction:row;flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";var ActionPad=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionPadToggle=createEvent(this,"calciteActionPadToggle",6);this.expandDisabled=false;this.expanded=false;this.layout="vertical";this.actionMenuOpenChangeHandler=function(t){if(t.detail){var a=t.composedPath();Array.from(e.el.querySelectorAll("calcite-action-group")).forEach((function(t){if(!a.includes(t)){t.menuOpen=false}}))}};this.toggleExpand=function(){e.expanded=!e.expanded;e.calciteActionPadToggle.emit()};this.setExpandToggleRef=function(t){e.expandToggleEl=t}}t.prototype.expandedHandler=function(t){toggleChildActionText({parent:this.el,expanded:t})};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.componentWillLoad=function(){var t=this,e=t.el,a=t.expanded;toggleChildActionText({parent:e,expanded:a})};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){switch(a.label){case 0:if(!(t==="expand-toggle"))return[3,2];return[4,focusElement(this.expandToggleEl)];case 1:a.sent();return[2];case 2:(e=this.el)===null||e===void 0?void 0:e.focus();return[2]}}))}))};t.prototype.renderBottomActionGroup=function(){var t=this,e=t.expanded,a=t.expandDisabled,n=t.intlExpand,o=t.intlCollapse,i=t.el,r=t.position,c=t.toggleExpand,l=t.scale,s=t.layout;var d=getSlotted(i,SLOTS.expandTooltip);var p=n||TEXT.expand;var u=o||TEXT.collapse;var m=!a?h(ExpandToggle,{el:i,expanded:e,intlCollapse:u,intlExpand:p,position:r,ref:this.setExpandToggleRef,scale:l,toggle:c,tooltip:d}):null;return m?h("calcite-action-group",{class:CSS.actionGroupBottom,layout:s,scale:l},h("slot",{name:SLOTS.expandTooltip}),m):null};t.prototype.render=function(){return h(Host,{onCalciteActionMenuOpenChange:this.actionMenuOpenChangeHandler},h("div",{class:CSS.container},h("slot",null),this.renderBottomActionGroup()))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"]}},enumerable:false,configurable:true});return t}();ActionPad.style=actionPadCss;export{ActionPad as calcite_action_pad};