@esri/calcite-components 1.0.0-next.581 → 1.0.0-next.582

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 (855) 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-eea7d29e.entry.js → p-020b7335.entry.js} +2 -2
  5. package/dist/calcite/{p-61245ed4.entry.js → p-044a36ff.entry.js} +2 -2
  6. package/dist/calcite/{p-52eccc9c.entry.js → p-0628d4fa.entry.js} +2 -2
  7. package/dist/calcite/{p-ed16ce78.entry.js → p-0837835e.entry.js} +2 -2
  8. package/dist/calcite/{p-62d360ea.system.entry.js → p-0919bd04.system.entry.js} +2 -2
  9. package/dist/calcite/{p-df786353.system.js → p-098ff3d1.system.js} +1 -1
  10. package/dist/calcite/{p-e02d3fc3.system.js → p-0cc2b66e.system.js} +2 -2
  11. package/dist/calcite/{p-a96d9b76.system.js → p-0cc68113.system.js} +1 -1
  12. package/dist/calcite/{p-18400108.system.entry.js → p-0e7f3d68.system.entry.js} +2 -2
  13. package/dist/calcite/{p-f504edcf.js → p-0ecf827d.js} +1 -1
  14. package/dist/calcite/{p-ddc7efbd.system.js → p-0ff77d9e.system.js} +1 -1
  15. package/dist/calcite/{p-ed9e6537.entry.js → p-122ff199.entry.js} +2 -2
  16. package/dist/calcite/{p-6fcd4f94.js → p-12e50576.js} +1 -1
  17. package/dist/calcite/{p-5d500814.system.entry.js → p-16337b72.system.entry.js} +2 -2
  18. package/dist/calcite/{p-60757c0e.entry.js → p-17871ec0.entry.js} +2 -2
  19. package/dist/calcite/{p-ba592172.entry.js → p-17ed4384.entry.js} +2 -2
  20. package/dist/calcite/p-182f08ed.js +6 -0
  21. package/dist/calcite/p-185e4033.entry.js +6 -0
  22. package/dist/calcite/{p-de967fdc.entry.js → p-18729d36.entry.js} +2 -2
  23. package/dist/calcite/{p-12341d58.system.js → p-18c10a64.system.js} +1 -1
  24. package/dist/calcite/{p-740eac70.js → p-1afc3e11.js} +1 -1
  25. package/dist/calcite/{p-cf932962.entry.js → p-1b1b7f95.entry.js} +2 -2
  26. package/dist/calcite/{p-691196fa.entry.js → p-1b5b4129.entry.js} +2 -2
  27. package/dist/calcite/{p-f6b501ad.entry.js → p-1c7b839d.entry.js} +2 -2
  28. package/dist/calcite/{p-e23e21a5.entry.js → p-1d56b5d1.entry.js} +2 -2
  29. package/dist/calcite/{p-b9aa9181.js → p-1fe080cb.js} +1 -1
  30. package/dist/calcite/{p-354fb90c.system.entry.js → p-204db6f8.system.entry.js} +2 -2
  31. package/dist/calcite/{p-c6bad61e.js → p-20d51326.js} +1 -1
  32. package/dist/calcite/{p-062e51e6.system.entry.js → p-2505662a.system.entry.js} +2 -2
  33. package/dist/calcite/{p-0e8e841f.entry.js → p-274dbad7.entry.js} +2 -2
  34. package/dist/calcite/{p-cf99ea1d.system.js → p-279abaf1.system.js} +2 -2
  35. package/dist/calcite/{p-e6d161da.js → p-29c8e1a6.js} +2 -2
  36. package/dist/calcite/{p-ffa5ccce.entry.js → p-2a6d26fa.entry.js} +2 -2
  37. package/dist/calcite/{p-46031d7e.js → p-2d8d2bc3.js} +1 -1
  38. package/dist/calcite/{p-8e303469.entry.js → p-2dff9777.entry.js} +2 -2
  39. package/dist/calcite/{p-bdc73d0e.entry.js → p-2e0eddd9.entry.js} +2 -2
  40. package/dist/calcite/{p-3c764685.entry.js → p-2e6208da.entry.js} +2 -2
  41. package/dist/calcite/{p-7a138bae.entry.js → p-31fe9129.entry.js} +2 -2
  42. package/dist/calcite/{p-8934b322.system.entry.js → p-35b725c5.system.entry.js} +2 -2
  43. package/dist/calcite/{p-b1c34e7e.system.entry.js → p-362eec7f.system.entry.js} +2 -2
  44. package/dist/calcite/{p-ca3b7cd3.js → p-374eb734.js} +2 -2
  45. package/dist/calcite/{p-31fc8445.entry.js → p-3964bca6.entry.js} +2 -2
  46. package/dist/calcite/{p-015edf64.entry.js → p-3c3cd88e.entry.js} +2 -2
  47. package/dist/calcite/{p-083b4fd2.system.entry.js → p-3ce7c235.system.entry.js} +2 -2
  48. package/dist/calcite/{p-d12b027a.system.js → p-3d8c351b.system.js} +2 -2
  49. package/dist/calcite/{p-a72f42d4.system.entry.js → p-40fcd81b.system.entry.js} +2 -2
  50. package/dist/calcite/{p-459839ea.entry.js → p-41ced97d.entry.js} +2 -2
  51. package/dist/calcite/{p-d16d988e.entry.js → p-41d7a335.entry.js} +2 -2
  52. package/dist/calcite/{p-1470b6ac.system.js → p-42d329b3.system.js} +2 -2
  53. package/dist/calcite/{p-fe9bfa3a.entry.js → p-433128a1.entry.js} +2 -2
  54. package/dist/calcite/{p-d52e217f.entry.js → p-442f4954.entry.js} +2 -2
  55. package/dist/calcite/{p-23873bc9.entry.js → p-45c6d6e7.entry.js} +2 -2
  56. package/dist/calcite/{p-0cad9fd7.system.entry.js → p-48c54c7d.system.entry.js} +2 -2
  57. package/dist/calcite/{p-7af19423.entry.js → p-4d4e57ed.entry.js} +2 -2
  58. package/dist/calcite/{p-d1e446f2.entry.js → p-4e349099.entry.js} +2 -2
  59. package/dist/calcite/{p-53ef55a4.system.entry.js → p-4e5ee7b0.system.entry.js} +2 -2
  60. package/dist/calcite/{p-f4e0d30b.system.entry.js → p-4ea8ee10.system.entry.js} +2 -2
  61. package/dist/calcite/p-4ef2ed85.js +6 -0
  62. package/dist/calcite/{p-bb57b795.system.entry.js → p-4f29fc37.system.entry.js} +2 -2
  63. package/dist/calcite/p-4f5cb52e.system.js +6 -0
  64. package/dist/calcite/{p-dfbf5122.js → p-545ce743.js} +1 -1
  65. package/dist/calcite/{p-053d62f5.entry.js → p-5560ff32.entry.js} +2 -2
  66. package/dist/calcite/{p-1d1b744b.system.js → p-57651170.system.js} +1 -1
  67. package/dist/calcite/{p-25d4df62.entry.js → p-582b01c7.entry.js} +2 -2
  68. package/dist/calcite/{p-b524f2c7.system.entry.js → p-58b5721c.system.entry.js} +2 -2
  69. package/dist/calcite/{p-8004e14b.system.entry.js → p-5948bb1f.system.entry.js} +2 -2
  70. package/dist/calcite/{p-661caaf1.entry.js → p-5cbd1d05.entry.js} +2 -2
  71. package/dist/calcite/{p-b8e6a15f.entry.js → p-5ef4827c.entry.js} +2 -2
  72. package/dist/calcite/{p-7401cad5.entry.js → p-5ef87b07.entry.js} +2 -2
  73. package/dist/calcite/{p-3e3e6390.js → p-5fa63bed.js} +1 -1
  74. package/dist/calcite/{p-6b0e989e.js → p-603b4125.js} +2 -2
  75. package/dist/calcite/{p-d407d923.entry.js → p-605b39af.entry.js} +2 -2
  76. package/dist/calcite/{p-24237f6c.entry.js → p-61b467ff.entry.js} +2 -2
  77. package/dist/calcite/{p-6e2dcd5a.system.entry.js → p-65671b2f.system.entry.js} +2 -2
  78. package/dist/calcite/{p-923ea4dd.system.entry.js → p-661d0327.system.entry.js} +2 -2
  79. package/dist/calcite/{p-cc3987d7.system.entry.js → p-66764961.system.entry.js} +2 -2
  80. package/dist/calcite/{p-9fe44ee8.system.entry.js → p-6701137d.system.entry.js} +2 -2
  81. package/dist/calcite/{p-6220b73a.system.entry.js → p-678a91c5.system.entry.js} +2 -2
  82. package/dist/calcite/{p-affaa2a5.system.entry.js → p-68f946ff.system.entry.js} +2 -2
  83. package/dist/calcite/{p-30585607.system.js → p-694ff37b.system.js} +2 -2
  84. package/dist/calcite/{p-1deae9df.system.js → p-6bf804dd.system.js} +2 -2
  85. package/dist/calcite/{p-df86bbe8.system.entry.js → p-6c1a2d2b.system.entry.js} +2 -2
  86. package/dist/calcite/{p-e49532a5.entry.js → p-6dfa7697.entry.js} +2 -2
  87. package/dist/calcite/{p-79e899a9.system.entry.js → p-6e5eb5b2.system.entry.js} +2 -2
  88. package/dist/calcite/{p-45adbdc4.entry.js → p-6f56e56c.entry.js} +2 -2
  89. package/dist/calcite/p-6fc3d49c.js +6 -0
  90. package/dist/calcite/p-72cfbf77.system.js +6 -0
  91. package/dist/calcite/{p-1edd9ad9.js → p-73be60ce.js} +1 -1
  92. package/dist/calcite/{p-8c9798f7.entry.js → p-7424691d.entry.js} +2 -2
  93. package/dist/calcite/{p-ab50eb36.system.entry.js → p-782a99bd.system.entry.js} +2 -2
  94. package/dist/calcite/{p-f1f0ed33.system.js → p-7bc15ada.system.js} +1 -1
  95. package/dist/calcite/{p-c64a7e8b.system.entry.js → p-7c1aef18.system.entry.js} +2 -2
  96. package/dist/calcite/{p-4f094383.js → p-7c44afe7.js} +1 -1
  97. package/dist/calcite/{p-de2d48bc.system.js → p-7c8377f5.system.js} +1 -1
  98. package/dist/calcite/{p-8dc7fa15.system.entry.js → p-7dc5887a.system.entry.js} +2 -2
  99. package/dist/calcite/p-7fa6d3b0.js +6 -0
  100. package/dist/calcite/{p-de73825b.system.entry.js → p-8102a036.system.entry.js} +2 -2
  101. package/dist/calcite/{p-61d8f010.system.entry.js → p-81298e69.system.entry.js} +2 -2
  102. package/dist/calcite/{p-098cb9c2.entry.js → p-81de2b34.entry.js} +2 -2
  103. package/dist/calcite/{p-2c728600.system.js → p-8368023a.system.js} +2 -2
  104. package/dist/calcite/{p-1984dd20.system.entry.js → p-84f7d73f.system.entry.js} +3 -3
  105. package/dist/calcite/{p-626d74fb.system.entry.js → p-85ecce0d.system.entry.js} +2 -2
  106. package/dist/calcite/{p-a8819c11.system.entry.js → p-888f9bcc.system.entry.js} +2 -2
  107. package/dist/calcite/{p-bcd9ea7e.system.entry.js → p-8a95a841.system.entry.js} +2 -2
  108. package/dist/calcite/{p-fe1f3a85.system.entry.js → p-8b3e9377.system.entry.js} +2 -2
  109. package/dist/calcite/{p-1a5f2e89.system.entry.js → p-8ef605cf.system.entry.js} +2 -2
  110. package/dist/calcite/{p-5e239a89.system.js → p-9281e57d.system.js} +1 -1
  111. package/dist/calcite/{p-fd9ce919.system.js → p-94d37793.system.js} +1 -1
  112. package/dist/calcite/{p-e7761a36.system.js → p-99a31d6b.system.js} +1 -1
  113. package/dist/calcite/{p-8f97abae.system.entry.js → p-9b8801d0.system.entry.js} +2 -2
  114. package/dist/calcite/{p-61c3cffa.system.js → p-9bd2efca.system.js} +1 -1
  115. package/dist/calcite/{p-d82da3c9.system.entry.js → p-9d7ea9bc.system.entry.js} +2 -2
  116. package/dist/calcite/{p-51cfe95e.entry.js → p-9deaec06.entry.js} +2 -2
  117. package/dist/calcite/{p-8973abbf.system.js → p-a055dba3.system.js} +1 -1
  118. package/dist/calcite/{p-c652fbb1.system.entry.js → p-a26537de.system.entry.js} +2 -2
  119. package/dist/calcite/{p-b4251b60.js → p-a28a85ba.js} +1 -1
  120. package/dist/calcite/{p-cdb157db.entry.js → p-a8cae99f.entry.js} +2 -2
  121. package/dist/calcite/{p-3e76561a.entry.js → p-a91a76fb.entry.js} +2 -2
  122. package/dist/calcite/{p-7fa2d4c2.entry.js → p-aa17cea2.entry.js} +2 -2
  123. package/dist/calcite/{p-3de1a16b.system.js → p-ab4a4f6e.system.js} +2 -2
  124. package/dist/calcite/{p-fa6fff5e.entry.js → p-abe5dc8f.entry.js} +2 -2
  125. package/dist/calcite/{p-0ca8f16f.js → p-ad64211a.js} +2 -2
  126. package/dist/calcite/{p-7ce84b5a.system.entry.js → p-ae698fec.system.entry.js} +2 -2
  127. package/dist/calcite/{p-165f0ae9.entry.js → p-b029b317.entry.js} +2 -2
  128. package/dist/calcite/{p-3d30d9e1.system.entry.js → p-b254146a.system.entry.js} +2 -2
  129. package/dist/calcite/{p-92093ecc.system.entry.js → p-b34556f5.system.entry.js} +2 -2
  130. package/dist/calcite/{p-cdedb653.system.entry.js → p-b3c01d69.system.entry.js} +2 -2
  131. package/dist/calcite/{p-55a07cc1.system.js → p-b4d6884d.system.js} +1 -1
  132. package/dist/calcite/{p-7814f7dc.js → p-b555b13d.js} +1 -1
  133. package/dist/calcite/{p-5295203c.system.entry.js → p-b85b77f4.system.entry.js} +2 -2
  134. package/dist/calcite/{p-fe415982.system.entry.js → p-b9109e51.system.entry.js} +2 -2
  135. package/dist/calcite/{p-4ef838e7.system.entry.js → p-b95ae634.system.entry.js} +2 -2
  136. package/dist/calcite/{p-71a3e1a6.js → p-bd3f71b3.js} +2 -2
  137. package/dist/calcite/{p-63a1c5df.entry.js → p-bf97e224.entry.js} +2 -2
  138. package/dist/calcite/{p-59cfa1c1.entry.js → p-bfa635aa.entry.js} +2 -2
  139. package/dist/calcite/{p-f9c2b761.entry.js → p-c095a9cd.entry.js} +2 -2
  140. package/dist/calcite/{p-c4c12c2f.system.js → p-c14b6d51.system.js} +1 -1
  141. package/dist/calcite/{p-4a77bf0b.system.entry.js → p-c19c1492.system.entry.js} +2 -2
  142. package/dist/calcite/{p-3ccb2630.entry.js → p-c278dfc3.entry.js} +2 -2
  143. package/dist/calcite/{p-77cf2748.system.entry.js → p-c43b5d4a.system.entry.js} +2 -2
  144. package/dist/calcite/{p-2efec344.entry.js → p-c73c6312.entry.js} +2 -2
  145. package/dist/calcite/{p-c7011dff.system.js → p-c8dab959.system.js} +1 -1
  146. package/dist/calcite/{p-8096b4af.js → p-c9b78750.js} +1 -1
  147. package/dist/calcite/{p-ba585cd2.system.entry.js → p-c9f7a134.system.entry.js} +2 -2
  148. package/dist/calcite/{p-dd0fb82d.system.js → p-ca32932f.system.js} +2 -2
  149. package/dist/calcite/{p-0a8c4a4a.entry.js → p-ca359984.entry.js} +2 -2
  150. package/dist/calcite/{p-794cfee9.system.js → p-ca696651.system.js} +2 -2
  151. package/dist/calcite/{p-58c1a47d.entry.js → p-cc11b456.entry.js} +2 -2
  152. package/dist/calcite/{p-1cadb360.system.js → p-cd5b7657.system.js} +2 -2
  153. package/dist/calcite/{p-8386fb61.system.entry.js → p-d062dc3d.system.entry.js} +2 -2
  154. package/dist/calcite/{p-1ee0231e.entry.js → p-d07137ec.entry.js} +2 -2
  155. package/dist/calcite/{p-650971a7.system.js → p-d0734575.system.js} +1 -1
  156. package/dist/calcite/p-d1379efd.js +6 -0
  157. package/dist/calcite/{p-9f9e9428.js → p-d21fd180.js} +1 -1
  158. package/dist/calcite/{p-c5505604.system.entry.js → p-d256d6b7.system.entry.js} +2 -2
  159. package/dist/calcite/{p-58bb5ada.system.entry.js → p-d4bee283.system.entry.js} +2 -2
  160. package/dist/calcite/{p-da6dd95e.system.entry.js → p-d53af3e2.system.entry.js} +2 -2
  161. package/dist/calcite/{p-ab3bf113.js → p-d5fc1f81.js} +2 -2
  162. package/dist/calcite/{p-e005a0ec.system.js → p-d6a1ad38.system.js} +1 -1
  163. package/dist/calcite/{p-b6d7e788.system.entry.js → p-d6bf0b00.system.entry.js} +2 -2
  164. package/dist/calcite/{p-82507fa6.entry.js → p-d994cde9.entry.js} +2 -2
  165. package/dist/calcite/{p-9eb78975.system.entry.js → p-ddb43295.system.entry.js} +2 -2
  166. package/dist/calcite/{p-64e3fb04.entry.js → p-df3081ca.entry.js} +2 -2
  167. package/dist/calcite/{p-44257e65.system.entry.js → p-dfcb7ee3.system.entry.js} +2 -2
  168. package/dist/calcite/{p-a22d643b.system.entry.js → p-e2504e6f.system.entry.js} +2 -2
  169. package/dist/calcite/{p-073d365b.system.entry.js → p-e61da410.system.entry.js} +2 -2
  170. package/dist/calcite/{p-96a13532.js → p-e6aa9c0c.js} +2 -2
  171. package/dist/calcite/{p-f32c5492.js → p-ea23aca2.js} +1 -1
  172. package/dist/calcite/{p-b24fe4ed.entry.js → p-ecd09941.entry.js} +2 -2
  173. package/dist/calcite/{p-d67d8463.entry.js → p-f135bf99.entry.js} +2 -2
  174. package/dist/calcite/{p-3a4b73e4.js → p-f2a116c3.js} +1 -1
  175. package/dist/calcite/{p-f50feaf0.system.entry.js → p-f2ec06b1.system.entry.js} +2 -2
  176. package/dist/calcite/{p-051e4b48.system.entry.js → p-f34efde2.system.entry.js} +3 -3
  177. package/dist/calcite/{p-7bc45a68.entry.js → p-f3a4b03b.entry.js} +2 -2
  178. package/dist/calcite/{p-2c1e9659.entry.js → p-f4e90521.entry.js} +2 -2
  179. package/dist/calcite/{p-fba62e14.system.entry.js → p-f5d5b66e.system.entry.js} +2 -2
  180. package/dist/calcite/{p-6a62ad99.entry.js → p-f700fbe6.entry.js} +2 -2
  181. package/dist/calcite/{p-4450e4e9.js → p-f88c62d6.js} +2 -2
  182. package/dist/calcite/{p-e5d28b87.system.entry.js → p-f8907fe2.system.entry.js} +2 -2
  183. package/dist/calcite/{p-3f093216.system.js → p-f99d102f.system.js} +2 -2
  184. package/dist/cjs/{ExpandToggle-adc546ab.js → ExpandToggle-54212980.js} +5 -5
  185. package/dist/cjs/{Heading-de3aeada.js → Heading-5929aab8.js} +2 -2
  186. package/dist/cjs/{app-globals-44a9fea8.js → app-globals-aca3470f.js} +2 -2
  187. package/dist/cjs/{array-35fcfd09.js → array-3ee32b53.js} +1 -1
  188. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  190. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  191. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  192. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  193. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  194. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  196. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  197. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  198. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  199. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  200. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  201. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  202. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  203. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  204. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -10
  205. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  206. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  207. package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
  208. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  209. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
  210. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  211. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  212. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +13 -13
  214. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  215. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  216. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  217. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
  218. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  219. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  220. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  221. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  222. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  223. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  224. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  225. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  226. package/dist/cjs/calcite-pagination.cjs.entry.js +23 -8
  227. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  228. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  229. package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
  230. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  231. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  232. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  233. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  234. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  235. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  236. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  237. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  238. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  239. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  240. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  241. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  242. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  243. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  244. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  245. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  246. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  247. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  248. package/dist/cjs/calcite.cjs.js +5 -5
  249. package/dist/cjs/{conditionalSlot-7c9a25a8.js → conditionalSlot-de7d5c07.js} +3 -3
  250. package/dist/cjs/{debounce-5c1d40b6.js → debounce-e972ebe7.js} +1 -1
  251. package/dist/cjs/{dom-76ca84ee.js → dom-8cac60ba.js} +3 -3
  252. package/dist/cjs/{filter-1bb8c969.js → filter-644f7cdb.js} +2 -2
  253. package/dist/cjs/{floating-ui-1533b15e.js → floating-ui-d083f38f.js} +2 -2
  254. package/dist/cjs/{form-66d9e5c4.js → form-fa762a8b.js} +3 -3
  255. package/dist/cjs/{globalAttributes-f86352f9.js → globalAttributes-cca5e885.js} +2 -2
  256. package/dist/cjs/{guid-4476f796.js → guid-6dcc12e9.js} +1 -1
  257. package/dist/cjs/{index-b987367c.js → index-5412affa.js} +1 -1
  258. package/dist/cjs/index.cjs.js +1 -1
  259. package/dist/cjs/{interactive-361f1598.js → interactive-40b9e879.js} +1 -1
  260. package/dist/cjs/{interfaces-1bb935f6.js → interfaces-1b0e0a36.js} +1 -1
  261. package/dist/cjs/{key-508c6836.js → key-ad8390a1.js} +1 -1
  262. package/dist/cjs/{label-b1554a89.js → label-77feed87.js} +2 -2
  263. package/dist/cjs/loader.cjs.js +5 -5
  264. package/dist/cjs/{locale-c72fafad.js → locale-554a2c95.js} +2 -2
  265. package/dist/cjs/{math-675bd44e.js → math-418e778f.js} +1 -1
  266. package/dist/cjs/{observers-66cd9b10.js → observers-5771e68f.js} +1 -1
  267. package/dist/cjs/{openCloseComponent-83fa4c36.js → openCloseComponent-bccbbdd3.js} +1 -1
  268. package/dist/cjs/{resources-3f3d1f7d.js → resources-0ad083b0.js} +1 -1
  269. package/dist/cjs/{resources-f0642ea4.js → resources-7a37c911.js} +3 -3
  270. package/dist/cjs/{resources-556c4032.js → resources-b0dcd1b8.js} +1 -1
  271. package/dist/cjs/{resources-6c843427.js → resources-c46cc45d.js} +1 -1
  272. package/dist/cjs/{resources-0cca1b72.js → resources-d11b3479.js} +5 -5
  273. package/dist/cjs/{resources-92d288c2.js → resources-d8d4848e.js} +1 -1
  274. package/dist/cjs/{sortable.esm-04779203.js → sortable.esm-2c0694bc.js} +1 -1
  275. package/dist/cjs/{utils-6f369590.js → utils-1f0ae80b.js} +1 -1
  276. package/dist/collection/components/accordion/accordion.js +1 -1
  277. package/dist/collection/components/accordion/interfaces.js +1 -1
  278. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  279. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  280. package/dist/collection/components/accordion-item/resources.js +1 -1
  281. package/dist/collection/components/action/action.js +1 -1
  282. package/dist/collection/components/action/resources.js +1 -1
  283. package/dist/collection/components/action-bar/action-bar.js +1 -1
  284. package/dist/collection/components/action-bar/resources.js +1 -1
  285. package/dist/collection/components/action-bar/utils.js +1 -1
  286. package/dist/collection/components/action-group/action-group.js +1 -1
  287. package/dist/collection/components/action-group/resources.js +1 -1
  288. package/dist/collection/components/action-menu/action-menu.js +1 -1
  289. package/dist/collection/components/action-menu/resources.js +1 -1
  290. package/dist/collection/components/action-pad/action-pad.js +1 -1
  291. package/dist/collection/components/action-pad/resources.js +1 -1
  292. package/dist/collection/components/alert/alert.js +1 -1
  293. package/dist/collection/components/alert/interfaces.js +1 -1
  294. package/dist/collection/components/alert/resources.js +1 -1
  295. package/dist/collection/components/avatar/avatar.js +1 -1
  296. package/dist/collection/components/avatar/utils.js +1 -1
  297. package/dist/collection/components/block/block.js +1 -1
  298. package/dist/collection/components/block/resources.js +1 -1
  299. package/dist/collection/components/block-section/block-section.js +1 -1
  300. package/dist/collection/components/block-section/interfaces.js +1 -1
  301. package/dist/collection/components/block-section/resources.js +1 -1
  302. package/dist/collection/components/button/button.js +1 -1
  303. package/dist/collection/components/button/interfaces.js +1 -1
  304. package/dist/collection/components/button/resources.js +1 -1
  305. package/dist/collection/components/card/card.js +1 -1
  306. package/dist/collection/components/card/resources.js +1 -1
  307. package/dist/collection/components/checkbox/checkbox.js +1 -1
  308. package/dist/collection/components/chip/chip.js +1 -1
  309. package/dist/collection/components/chip/interfaces.js +1 -1
  310. package/dist/collection/components/chip/resources.js +1 -1
  311. package/dist/collection/components/color-picker/color-picker.js +1 -1
  312. package/dist/collection/components/color-picker/interfaces.js +1 -1
  313. package/dist/collection/components/color-picker/resources.js +1 -1
  314. package/dist/collection/components/color-picker/utils.js +1 -1
  315. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  316. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  317. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  318. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  319. package/dist/collection/components/combobox/combobox.js +1 -1
  320. package/dist/collection/components/combobox/interfaces.js +1 -1
  321. package/dist/collection/components/combobox/resources.js +1 -1
  322. package/dist/collection/components/combobox/utils.js +1 -1
  323. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  324. package/dist/collection/components/combobox-item/resources.js +1 -1
  325. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  326. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  327. package/dist/collection/components/date-picker/date-picker.js +1 -1
  328. package/dist/collection/components/date-picker/interfaces.js +1 -1
  329. package/dist/collection/components/date-picker/resources.js +1 -1
  330. package/dist/collection/components/date-picker/utils.js +1 -1
  331. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  332. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  333. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  334. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  335. package/dist/collection/components/dropdown/dropdown.js +1 -1
  336. package/dist/collection/components/dropdown/interfaces.js +1 -1
  337. package/dist/collection/components/dropdown/resources.js +1 -1
  338. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  339. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  340. package/dist/collection/components/dropdown-group/resources.js +1 -1
  341. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  342. package/dist/collection/components/dropdown-item/resources.js +1 -1
  343. package/dist/collection/components/fab/fab.js +1 -1
  344. package/dist/collection/components/fab/resources.js +1 -1
  345. package/dist/collection/components/filter/filter.js +1 -1
  346. package/dist/collection/components/filter/resources.js +1 -1
  347. package/dist/collection/components/flow/flow.js +1 -1
  348. package/dist/collection/components/flow/interfaces.js +1 -1
  349. package/dist/collection/components/flow/resources.js +1 -1
  350. package/dist/collection/components/flow-item/flow-item.js +1 -1
  351. package/dist/collection/components/flow-item/resources.js +1 -1
  352. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  353. package/dist/collection/components/functional/Heading.js +1 -1
  354. package/dist/collection/components/graph/graph.js +1 -1
  355. package/dist/collection/components/graph/interfaces.js +1 -1
  356. package/dist/collection/components/graph/util.js +1 -1
  357. package/dist/collection/components/handle/handle.js +1 -1
  358. package/dist/collection/components/handle/resources.js +1 -1
  359. package/dist/collection/components/icon/icon.js +1 -1
  360. package/dist/collection/components/icon/resources.js +1 -1
  361. package/dist/collection/components/icon/utils.js +1 -1
  362. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  363. package/dist/collection/components/inline-editable/resources.js +1 -1
  364. package/dist/collection/components/input/input.js +1 -1
  365. package/dist/collection/components/input/interfaces.js +1 -1
  366. package/dist/collection/components/input/resources.js +1 -1
  367. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  368. package/dist/collection/components/input-date-picker/resources.js +1 -1
  369. package/dist/collection/components/input-message/input-message.js +1 -1
  370. package/dist/collection/components/input-message/interfaces.js +1 -1
  371. package/dist/collection/components/input-number/input-number.js +1 -1
  372. package/dist/collection/components/input-number/interfaces.js +1 -1
  373. package/dist/collection/components/input-number/resources.js +1 -1
  374. package/dist/collection/components/input-text/input-text.js +1 -1
  375. package/dist/collection/components/input-text/resources.js +1 -1
  376. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  377. package/dist/collection/components/interfaces.js +1 -1
  378. package/dist/collection/components/label/label.js +1 -1
  379. package/dist/collection/components/label/resources.js +1 -1
  380. package/dist/collection/components/link/link.js +1 -1
  381. package/dist/collection/components/list/list.js +1 -1
  382. package/dist/collection/components/list/resources.js +1 -1
  383. package/dist/collection/components/list-item/list-item.js +1 -1
  384. package/dist/collection/components/list-item/resources.js +1 -1
  385. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  386. package/dist/collection/components/list-item-group/resources.js +1 -1
  387. package/dist/collection/components/loader/loader.js +1 -1
  388. package/dist/collection/components/modal/interfaces.js +1 -1
  389. package/dist/collection/components/modal/modal.js +1 -1
  390. package/dist/collection/components/modal/resources.js +1 -1
  391. package/dist/collection/components/notice/notice.js +1 -1
  392. package/dist/collection/components/notice/resources.js +1 -1
  393. package/dist/collection/components/option/option.js +1 -1
  394. package/dist/collection/components/option-group/option-group.js +1 -1
  395. package/dist/collection/components/pagination/pagination.js +56 -3
  396. package/dist/collection/components/pagination/resources.js +1 -1
  397. package/dist/collection/components/panel/panel.js +1 -1
  398. package/dist/collection/components/panel/resources.js +1 -1
  399. package/dist/collection/components/pick-list/pick-list.js +1 -1
  400. package/dist/collection/components/pick-list/resources.js +1 -1
  401. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  402. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  403. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  404. package/dist/collection/components/pick-list-group/resources.js +1 -1
  405. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  406. package/dist/collection/components/pick-list-item/resources.js +1 -1
  407. package/dist/collection/components/popover/PopoverManager.js +1 -1
  408. package/dist/collection/components/popover/popover.js +1 -1
  409. package/dist/collection/components/popover/resources.js +1 -1
  410. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  411. package/dist/collection/components/progress/progress.js +1 -1
  412. package/dist/collection/components/radio-button/radio-button.js +1 -1
  413. package/dist/collection/components/radio-button/resources.js +1 -1
  414. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  415. package/dist/collection/components/radio-group/interfaces.js +1 -1
  416. package/dist/collection/components/radio-group/radio-group.js +1 -1
  417. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  418. package/dist/collection/components/radio-group-item/resources.js +1 -1
  419. package/dist/collection/components/rating/rating.js +1 -1
  420. package/dist/collection/components/rating/resources.js +1 -1
  421. package/dist/collection/components/scrim/resources.js +1 -1
  422. package/dist/collection/components/scrim/scrim.js +1 -1
  423. package/dist/collection/components/select/resources.js +1 -1
  424. package/dist/collection/components/select/select.js +1 -1
  425. package/dist/collection/components/shell/resources.js +1 -1
  426. package/dist/collection/components/shell/shell.js +1 -1
  427. package/dist/collection/components/shell-center-row/resources.js +1 -1
  428. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  429. package/dist/collection/components/shell-panel/resources.js +1 -1
  430. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  431. package/dist/collection/components/slider/resources.js +1 -1
  432. package/dist/collection/components/slider/slider.js +1 -1
  433. package/dist/collection/components/sortable-list/resources.js +1 -1
  434. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  435. package/dist/collection/components/split-button/resources.js +1 -1
  436. package/dist/collection/components/split-button/split-button.js +1 -1
  437. package/dist/collection/components/stepper/interfaces.js +1 -1
  438. package/dist/collection/components/stepper/stepper.js +1 -1
  439. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  440. package/dist/collection/components/switch/switch.js +1 -1
  441. package/dist/collection/components/tab/interfaces.js +1 -1
  442. package/dist/collection/components/tab/tab.js +1 -1
  443. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  444. package/dist/collection/components/tab-title/tab-title.js +1 -1
  445. package/dist/collection/components/tabs/interfaces.js +1 -1
  446. package/dist/collection/components/tabs/resources.js +1 -1
  447. package/dist/collection/components/tabs/tabs.js +1 -1
  448. package/dist/collection/components/tile/resources.js +1 -1
  449. package/dist/collection/components/tile/tile.js +1 -1
  450. package/dist/collection/components/tile-select/interfaces.js +1 -1
  451. package/dist/collection/components/tile-select/resources.js +1 -1
  452. package/dist/collection/components/tile-select/tile-select.js +1 -1
  453. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  454. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  455. package/dist/collection/components/time-picker/resources.js +1 -1
  456. package/dist/collection/components/time-picker/time-picker.js +1 -1
  457. package/dist/collection/components/tip/resources.js +1 -1
  458. package/dist/collection/components/tip/tip.js +1 -1
  459. package/dist/collection/components/tip-group/tip-group.js +1 -1
  460. package/dist/collection/components/tip-manager/resources.js +1 -1
  461. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  462. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  463. package/dist/collection/components/tooltip/resources.js +1 -1
  464. package/dist/collection/components/tooltip/tooltip.js +1 -1
  465. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  466. package/dist/collection/components/tree/interfaces.js +1 -1
  467. package/dist/collection/components/tree/tree.js +1 -1
  468. package/dist/collection/components/tree-item/interfaces.js +1 -1
  469. package/dist/collection/components/tree-item/resources.js +1 -1
  470. package/dist/collection/components/tree-item/tree-item.js +1 -1
  471. package/dist/collection/components/value-list/interfaces.js +1 -1
  472. package/dist/collection/components/value-list/resources.js +1 -1
  473. package/dist/collection/components/value-list/utils.js +1 -1
  474. package/dist/collection/components/value-list/value-list.js +1 -1
  475. package/dist/collection/components/value-list-item/resources.js +1 -1
  476. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  477. package/dist/collection/utils/array.js +1 -1
  478. package/dist/collection/utils/conditionalSlot.js +1 -1
  479. package/dist/collection/utils/date.js +1 -1
  480. package/dist/collection/utils/dom.js +1 -1
  481. package/dist/collection/utils/filter.js +1 -1
  482. package/dist/collection/utils/floating-ui.js +1 -1
  483. package/dist/collection/utils/form.js +1 -1
  484. package/dist/collection/utils/globalAttributes.js +1 -1
  485. package/dist/collection/utils/globalScript.js +1 -1
  486. package/dist/collection/utils/guid.js +1 -1
  487. package/dist/collection/utils/interactive.js +1 -1
  488. package/dist/collection/utils/key.js +1 -1
  489. package/dist/collection/utils/label.js +1 -1
  490. package/dist/collection/utils/locale.js +1 -1
  491. package/dist/collection/utils/math.js +1 -1
  492. package/dist/collection/utils/number.js +1 -1
  493. package/dist/collection/utils/observers.js +1 -1
  494. package/dist/collection/utils/openCloseComponent.js +1 -1
  495. package/dist/collection/utils/resources.js +1 -1
  496. package/dist/collection/utils/theme.js +1 -1
  497. package/dist/collection/utils/time.js +1 -1
  498. package/dist/components/ExpandToggle.js +1 -1
  499. package/dist/components/Heading.js +1 -1
  500. package/dist/components/action-group.js +1 -1
  501. package/dist/components/action-menu.js +1 -1
  502. package/dist/components/action.js +1 -1
  503. package/dist/components/array.js +1 -1
  504. package/dist/components/button.js +1 -1
  505. package/dist/components/calcite-accordion-item.js +1 -1
  506. package/dist/components/calcite-accordion.js +1 -1
  507. package/dist/components/calcite-action-bar.js +1 -1
  508. package/dist/components/calcite-action-group.js +1 -1
  509. package/dist/components/calcite-action-menu.js +1 -1
  510. package/dist/components/calcite-action-pad.js +1 -1
  511. package/dist/components/calcite-action.js +1 -1
  512. package/dist/components/calcite-alert.js +1 -1
  513. package/dist/components/calcite-avatar.js +1 -1
  514. package/dist/components/calcite-block-section.js +1 -1
  515. package/dist/components/calcite-block.js +1 -1
  516. package/dist/components/calcite-button.js +1 -1
  517. package/dist/components/calcite-card.js +1 -1
  518. package/dist/components/calcite-checkbox.js +1 -1
  519. package/dist/components/calcite-chip.js +1 -1
  520. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  521. package/dist/components/calcite-color-picker-swatch.js +1 -1
  522. package/dist/components/calcite-color-picker.js +1 -1
  523. package/dist/components/calcite-combobox-item-group.js +1 -1
  524. package/dist/components/calcite-combobox-item.js +1 -1
  525. package/dist/components/calcite-combobox.js +1 -1
  526. package/dist/components/calcite-date-picker-day.js +1 -1
  527. package/dist/components/calcite-date-picker-month-header.js +1 -1
  528. package/dist/components/calcite-date-picker-month.js +1 -1
  529. package/dist/components/calcite-date-picker.js +1 -1
  530. package/dist/components/calcite-dropdown-group.js +1 -1
  531. package/dist/components/calcite-dropdown-item.js +1 -1
  532. package/dist/components/calcite-dropdown.js +1 -1
  533. package/dist/components/calcite-fab.js +1 -1
  534. package/dist/components/calcite-filter.js +1 -1
  535. package/dist/components/calcite-flow-item.js +1 -1
  536. package/dist/components/calcite-flow.js +1 -1
  537. package/dist/components/calcite-graph.js +1 -1
  538. package/dist/components/calcite-handle.js +1 -1
  539. package/dist/components/calcite-icon.js +1 -1
  540. package/dist/components/calcite-inline-editable.js +1 -1
  541. package/dist/components/calcite-input-date-picker.js +1 -1
  542. package/dist/components/calcite-input-message.js +1 -1
  543. package/dist/components/calcite-input-number.js +1 -1
  544. package/dist/components/calcite-input-text.js +1 -1
  545. package/dist/components/calcite-input-time-picker.js +1 -1
  546. package/dist/components/calcite-input.js +1 -1
  547. package/dist/components/calcite-label.js +1 -1
  548. package/dist/components/calcite-link.js +1 -1
  549. package/dist/components/calcite-list-item-group.js +1 -1
  550. package/dist/components/calcite-list-item.js +1 -1
  551. package/dist/components/calcite-list.js +1 -1
  552. package/dist/components/calcite-loader.js +1 -1
  553. package/dist/components/calcite-modal.js +1 -1
  554. package/dist/components/calcite-notice.js +1 -1
  555. package/dist/components/calcite-option-group.js +1 -1
  556. package/dist/components/calcite-option.js +1 -1
  557. package/dist/components/calcite-pagination.js +20 -3
  558. package/dist/components/calcite-panel.js +1 -1
  559. package/dist/components/calcite-pick-list-group.js +1 -1
  560. package/dist/components/calcite-pick-list-item.js +1 -1
  561. package/dist/components/calcite-pick-list.js +1 -1
  562. package/dist/components/calcite-popover-manager.js +1 -1
  563. package/dist/components/calcite-popover.js +1 -1
  564. package/dist/components/calcite-progress.js +1 -1
  565. package/dist/components/calcite-radio-button-group.js +1 -1
  566. package/dist/components/calcite-radio-button.js +1 -1
  567. package/dist/components/calcite-radio-group-item.js +1 -1
  568. package/dist/components/calcite-radio-group.js +1 -1
  569. package/dist/components/calcite-rating.js +1 -1
  570. package/dist/components/calcite-scrim.js +1 -1
  571. package/dist/components/calcite-select.js +1 -1
  572. package/dist/components/calcite-shell-center-row.js +1 -1
  573. package/dist/components/calcite-shell-panel.js +1 -1
  574. package/dist/components/calcite-shell.js +1 -1
  575. package/dist/components/calcite-slider.js +1 -1
  576. package/dist/components/calcite-sortable-list.js +1 -1
  577. package/dist/components/calcite-split-button.js +1 -1
  578. package/dist/components/calcite-stepper-item.js +1 -1
  579. package/dist/components/calcite-stepper.js +1 -1
  580. package/dist/components/calcite-switch.js +1 -1
  581. package/dist/components/calcite-tab-nav.js +1 -1
  582. package/dist/components/calcite-tab-title.js +1 -1
  583. package/dist/components/calcite-tab.js +1 -1
  584. package/dist/components/calcite-tabs.js +1 -1
  585. package/dist/components/calcite-tile-select-group.js +1 -1
  586. package/dist/components/calcite-tile-select.js +1 -1
  587. package/dist/components/calcite-tile.js +1 -1
  588. package/dist/components/calcite-time-picker.js +1 -1
  589. package/dist/components/calcite-tip-group.js +1 -1
  590. package/dist/components/calcite-tip-manager.js +1 -1
  591. package/dist/components/calcite-tip.js +1 -1
  592. package/dist/components/calcite-tooltip-manager.js +1 -1
  593. package/dist/components/calcite-tooltip.js +1 -1
  594. package/dist/components/calcite-tree-item.js +1 -1
  595. package/dist/components/calcite-tree.js +1 -1
  596. package/dist/components/calcite-value-list-item.js +1 -1
  597. package/dist/components/calcite-value-list.js +1 -1
  598. package/dist/components/checkbox.js +1 -1
  599. package/dist/components/chip.js +1 -1
  600. package/dist/components/color-picker-hex-input.js +1 -1
  601. package/dist/components/color-picker-swatch.js +1 -1
  602. package/dist/components/conditionalSlot.js +1 -1
  603. package/dist/components/date-picker-day.js +1 -1
  604. package/dist/components/date-picker-month-header.js +1 -1
  605. package/dist/components/date-picker-month.js +1 -1
  606. package/dist/components/date-picker.js +1 -1
  607. package/dist/components/date.js +1 -1
  608. package/dist/components/debounce.js +1 -1
  609. package/dist/components/dom.js +1 -1
  610. package/dist/components/dropdown.js +1 -1
  611. package/dist/components/filter.js +1 -1
  612. package/dist/components/filter2.js +1 -1
  613. package/dist/components/floating-ui.js +1 -1
  614. package/dist/components/form.js +1 -1
  615. package/dist/components/globalAttributes.js +1 -1
  616. package/dist/components/graph.js +1 -1
  617. package/dist/components/guid.js +1 -1
  618. package/dist/components/handle.js +1 -1
  619. package/dist/components/icon.js +1 -1
  620. package/dist/components/index.js +1 -1
  621. package/dist/components/input.js +1 -1
  622. package/dist/components/interactive.js +1 -1
  623. package/dist/components/interfaces.js +1 -1
  624. package/dist/components/interfaces2.js +1 -1
  625. package/dist/components/key.js +1 -1
  626. package/dist/components/label.js +1 -1
  627. package/dist/components/label2.js +1 -1
  628. package/dist/components/link.js +1 -1
  629. package/dist/components/loader.js +1 -1
  630. package/dist/components/locale.js +1 -1
  631. package/dist/components/math.js +1 -1
  632. package/dist/components/observers.js +1 -1
  633. package/dist/components/openCloseComponent.js +1 -1
  634. package/dist/components/panel.js +1 -1
  635. package/dist/components/pick-list-item.js +1 -1
  636. package/dist/components/popover.js +1 -1
  637. package/dist/components/progress.js +1 -1
  638. package/dist/components/resources.js +1 -1
  639. package/dist/components/resources2.js +1 -1
  640. package/dist/components/resources3.js +1 -1
  641. package/dist/components/scrim.js +1 -1
  642. package/dist/components/shared-list-render.js +1 -1
  643. package/dist/components/sortable.esm.js +1 -1
  644. package/dist/components/switch.js +1 -1
  645. package/dist/components/tab-nav.js +1 -1
  646. package/dist/components/tab-title.js +1 -1
  647. package/dist/components/tab.js +1 -1
  648. package/dist/components/tabs.js +1 -1
  649. package/dist/components/tile.js +1 -1
  650. package/dist/components/time-picker.js +1 -1
  651. package/dist/components/utils.js +1 -1
  652. package/dist/components/utils2.js +1 -1
  653. package/dist/custom-elements/index.js +19 -4
  654. package/dist/esm/{ExpandToggle-3bc56409.js → ExpandToggle-5dec20d4.js} +5 -5
  655. package/dist/esm/{Heading-e76fabf0.js → Heading-35286d74.js} +2 -2
  656. package/dist/esm/{app-globals-a36c6cb4.js → app-globals-426f10d1.js} +2 -2
  657. package/dist/esm/{array-98503e3e.js → array-ff3ae451.js} +1 -1
  658. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  659. package/dist/esm/calcite-action-bar.entry.js +11 -11
  660. package/dist/esm/calcite-action-group.entry.js +9 -9
  661. package/dist/esm/calcite-action-menu.entry.js +8 -8
  662. package/dist/esm/calcite-action-pad.entry.js +10 -10
  663. package/dist/esm/calcite-action.entry.js +7 -7
  664. package/dist/esm/calcite-alert.entry.js +7 -7
  665. package/dist/esm/calcite-avatar.entry.js +6 -6
  666. package/dist/esm/calcite-block_2.entry.js +10 -10
  667. package/dist/esm/calcite-button.entry.js +9 -9
  668. package/dist/esm/calcite-card.entry.js +7 -7
  669. package/dist/esm/calcite-checkbox.entry.js +9 -9
  670. package/dist/esm/calcite-chip.entry.js +7 -7
  671. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  672. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  673. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  674. package/dist/esm/calcite-dropdown_3.entry.js +10 -10
  675. package/dist/esm/calcite-fab.entry.js +6 -6
  676. package/dist/esm/calcite-filter.entry.js +8 -8
  677. package/dist/esm/calcite-flow-item.entry.js +7 -7
  678. package/dist/esm/calcite-flow.entry.js +3 -3
  679. package/dist/esm/calcite-graph_2.entry.js +13 -13
  680. package/dist/esm/calcite-handle.entry.js +5 -5
  681. package/dist/esm/calcite-icon.entry.js +6 -6
  682. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  683. package/dist/esm/calcite-input-date-picker.entry.js +13 -13
  684. package/dist/esm/calcite-input-message.entry.js +5 -5
  685. package/dist/esm/calcite-input-number.entry.js +12 -12
  686. package/dist/esm/calcite-input-text.entry.js +9 -9
  687. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
  688. package/dist/esm/calcite-input.entry.js +12 -12
  689. package/dist/esm/calcite-label.entry.js +6 -6
  690. package/dist/esm/calcite-link.entry.js +6 -6
  691. package/dist/esm/calcite-list_3.entry.js +9 -9
  692. package/dist/esm/calcite-loader.entry.js +3 -3
  693. package/dist/esm/calcite-modal.entry.js +8 -8
  694. package/dist/esm/calcite-notice.entry.js +8 -8
  695. package/dist/esm/calcite-option_3.entry.js +9 -9
  696. package/dist/esm/calcite-pagination.entry.js +23 -8
  697. package/dist/esm/calcite-panel.entry.js +10 -10
  698. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  699. package/dist/esm/calcite-popover_2.entry.js +10 -10
  700. package/dist/esm/calcite-progress.entry.js +2 -2
  701. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  702. package/dist/esm/calcite-radio-button.entry.js +9 -9
  703. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  704. package/dist/esm/calcite-rating.entry.js +9 -9
  705. package/dist/esm/calcite-scrim.entry.js +2 -2
  706. package/dist/esm/calcite-shell_3.entry.js +8 -8
  707. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  708. package/dist/esm/calcite-split-button.entry.js +3 -3
  709. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  710. package/dist/esm/calcite-switch.entry.js +9 -9
  711. package/dist/esm/calcite-tab_4.entry.js +7 -7
  712. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  713. package/dist/esm/calcite-tile.entry.js +8 -8
  714. package/dist/esm/calcite-tip_3.entry.js +8 -8
  715. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  716. package/dist/esm/calcite-tree_2.entry.js +7 -7
  717. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  718. package/dist/esm/calcite.js +5 -5
  719. package/dist/esm/{conditionalSlot-d26c49f4.js → conditionalSlot-aa5fce99.js} +3 -3
  720. package/dist/esm/{debounce-456a350b.js → debounce-c6ed39b7.js} +1 -1
  721. package/dist/esm/{dom-aa448df2.js → dom-911900d4.js} +3 -3
  722. package/dist/esm/{filter-6d541b81.js → filter-1c3959b4.js} +2 -2
  723. package/dist/esm/{floating-ui-dcbb2e0f.js → floating-ui-96107985.js} +2 -2
  724. package/dist/esm/{form-ed848cf6.js → form-88d4f177.js} +3 -3
  725. package/dist/esm/{globalAttributes-39c1d74c.js → globalAttributes-9cbae7de.js} +2 -2
  726. package/dist/esm/{guid-6a3d508c.js → guid-55509439.js} +1 -1
  727. package/dist/esm/{index-4d8a8a3d.js → index-97813f72.js} +1 -1
  728. package/dist/esm/index.js +1 -1
  729. package/dist/esm/{interactive-c13e9f92.js → interactive-1b52954c.js} +1 -1
  730. package/dist/esm/{interfaces-774ed52c.js → interfaces-6ec5b73c.js} +1 -1
  731. package/dist/esm/{key-95771f61.js → key-ce5f60d6.js} +1 -1
  732. package/dist/esm/{label-59c8bc7c.js → label-2d423b2b.js} +2 -2
  733. package/dist/esm/loader.js +5 -5
  734. package/dist/esm/{locale-975287e1.js → locale-f712f91a.js} +2 -2
  735. package/dist/esm/{math-83019fa1.js → math-0bd49a82.js} +1 -1
  736. package/dist/esm/{observers-ded2c2cc.js → observers-404bdaf4.js} +1 -1
  737. package/dist/esm/{openCloseComponent-8ac8796e.js → openCloseComponent-13961e76.js} +1 -1
  738. package/dist/esm/{resources-189f4308.js → resources-324a37ea.js} +1 -1
  739. package/dist/esm/{resources-e2bbcd2d.js → resources-8839ba26.js} +1 -1
  740. package/dist/esm/{resources-9e0ec6e2.js → resources-9fd9c4c9.js} +1 -1
  741. package/dist/esm/{resources-5470719f.js → resources-a5c530b8.js} +5 -5
  742. package/dist/esm/{resources-bf2368cb.js → resources-ac142922.js} +1 -1
  743. package/dist/esm/{resources-c49cfcc7.js → resources-b9a5671b.js} +3 -3
  744. package/dist/esm/{sortable.esm-dd628a88.js → sortable.esm-ed460da3.js} +1 -1
  745. package/dist/esm/{utils-d3bcea4a.js → utils-3c7d8c1c.js} +1 -1
  746. package/dist/esm-es5/ExpandToggle-5dec20d4.js +6 -0
  747. package/dist/esm-es5/{Heading-e76fabf0.js → Heading-35286d74.js} +2 -2
  748. package/dist/esm-es5/{app-globals-a36c6cb4.js → app-globals-426f10d1.js} +2 -2
  749. package/dist/esm-es5/{array-98503e3e.js → array-ff3ae451.js} +1 -1
  750. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  751. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  752. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  753. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  754. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  755. package/dist/esm-es5/calcite-action.entry.js +2 -2
  756. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  757. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  758. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  759. package/dist/esm-es5/calcite-button.entry.js +2 -2
  760. package/dist/esm-es5/calcite-card.entry.js +2 -2
  761. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  762. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  763. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  764. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  765. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  766. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  767. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  768. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  769. package/dist/esm-es5/calcite-flow-item.entry.js +3 -3
  770. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  771. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  772. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  773. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  774. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  775. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  776. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  777. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  778. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  779. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  780. package/dist/esm-es5/calcite-input.entry.js +2 -2
  781. package/dist/esm-es5/calcite-label.entry.js +2 -2
  782. package/dist/esm-es5/calcite-link.entry.js +2 -2
  783. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  784. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  785. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  786. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  787. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  788. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  789. package/dist/esm-es5/calcite-panel.entry.js +3 -3
  790. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  791. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  792. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  793. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  794. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  795. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  797. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  798. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  799. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  800. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  801. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  802. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  803. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  804. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  805. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  806. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  807. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  808. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  809. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  810. package/dist/esm-es5/calcite.js +2 -2
  811. package/dist/esm-es5/{conditionalSlot-d26c49f4.js → conditionalSlot-aa5fce99.js} +2 -2
  812. package/dist/esm-es5/{debounce-456a350b.js → debounce-c6ed39b7.js} +1 -1
  813. package/dist/esm-es5/{dom-aa448df2.js → dom-911900d4.js} +2 -2
  814. package/dist/esm-es5/{filter-6d541b81.js → filter-1c3959b4.js} +2 -2
  815. package/dist/esm-es5/{floating-ui-dcbb2e0f.js → floating-ui-96107985.js} +2 -2
  816. package/dist/esm-es5/{form-ed848cf6.js → form-88d4f177.js} +2 -2
  817. package/dist/esm-es5/{globalAttributes-39c1d74c.js → globalAttributes-9cbae7de.js} +2 -2
  818. package/dist/esm-es5/{guid-6a3d508c.js → guid-55509439.js} +1 -1
  819. package/dist/esm-es5/{index-4d8a8a3d.js → index-97813f72.js} +1 -1
  820. package/dist/esm-es5/index.js +1 -1
  821. package/dist/esm-es5/{interactive-c13e9f92.js → interactive-1b52954c.js} +1 -1
  822. package/dist/esm-es5/{interfaces-774ed52c.js → interfaces-6ec5b73c.js} +1 -1
  823. package/dist/esm-es5/{key-95771f61.js → key-ce5f60d6.js} +1 -1
  824. package/dist/esm-es5/{label-59c8bc7c.js → label-2d423b2b.js} +2 -2
  825. package/dist/esm-es5/loader.js +2 -2
  826. package/dist/esm-es5/{locale-975287e1.js → locale-f712f91a.js} +2 -2
  827. package/dist/esm-es5/{math-83019fa1.js → math-0bd49a82.js} +1 -1
  828. package/dist/esm-es5/{observers-ded2c2cc.js → observers-404bdaf4.js} +1 -1
  829. package/dist/esm-es5/{openCloseComponent-8ac8796e.js → openCloseComponent-13961e76.js} +1 -1
  830. package/dist/esm-es5/{resources-189f4308.js → resources-324a37ea.js} +1 -1
  831. package/dist/esm-es5/{resources-e2bbcd2d.js → resources-8839ba26.js} +1 -1
  832. package/dist/esm-es5/{resources-9e0ec6e2.js → resources-9fd9c4c9.js} +1 -1
  833. package/dist/esm-es5/{resources-5470719f.js → resources-a5c530b8.js} +2 -2
  834. package/dist/esm-es5/{resources-bf2368cb.js → resources-ac142922.js} +1 -1
  835. package/dist/esm-es5/{resources-c49cfcc7.js → resources-b9a5671b.js} +2 -2
  836. package/dist/esm-es5/{sortable.esm-dd628a88.js → sortable.esm-ed460da3.js} +1 -1
  837. package/dist/esm-es5/{utils-d3bcea4a.js → utils-3c7d8c1c.js} +1 -1
  838. package/dist/extras/docs-json.json +39 -1
  839. package/dist/loader/cdn.js +1 -1
  840. package/dist/loader/index.cjs.js +1 -1
  841. package/dist/loader/index.es2017.js +1 -1
  842. package/dist/loader/index.js +1 -1
  843. package/dist/types/components/pagination/pagination.d.ts +16 -0
  844. package/dist/types/components.d.ts +18 -0
  845. package/hydrate/index.js +21 -4
  846. package/package.json +1 -1
  847. package/dist/calcite/p-0a8feab4.js +0 -6
  848. package/dist/calcite/p-1b4c384d.js +0 -6
  849. package/dist/calcite/p-24462318.system.js +0 -6
  850. package/dist/calcite/p-43fad2b6.entry.js +0 -6
  851. package/dist/calcite/p-8c79e188.js +0 -6
  852. package/dist/calcite/p-e34c660e.system.js +0 -6
  853. package/dist/calcite/p-ef20f3ea.js +0 -6
  854. package/dist/calcite/p-f4572c54.js +0 -6
  855. package/dist/esm-es5/ExpandToggle-3bc56409.js +0 -6
@@ -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.581
4
+ * v1.0.0-next.582
5
5
  */
6
- import{r as registerInstance,h,g as getElement}from"./index-4d8a8a3d.js";var CSS={scrim:"scrim",content:"content"};var TEXT={loading:"Loading"};var scrimCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var Scrim=function(){function a(a){registerInstance(this,a);this.intlLoading=TEXT.loading;this.loading=false}a.prototype.render=function(){var a=this,t=a.el,i=a.loading,n=a.intlLoading;var e=t.innerHTML.trim().length>0;var r=i?h("calcite-loader",{active:true,label:n}):null;var c=e?h("div",{class:CSS.content},h("slot",null)):null;return h("div",{class:CSS.scrim},r,c)};Object.defineProperty(a.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();Scrim.style=scrimCss;export{Scrim as calcite_scrim};
6
+ import{r as registerInstance,h,g as getElement}from"./index-97813f72.js";var CSS={scrim:"scrim",content:"content"};var TEXT={loading:"Loading"};var scrimCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:absolute;inset:0px;z-index:700;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}@-webkit-keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;-webkit-animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background)}.content{padding:1rem}";var Scrim=function(){function a(a){registerInstance(this,a);this.intlLoading=TEXT.loading;this.loading=false}a.prototype.render=function(){var a=this,t=a.el,i=a.loading,n=a.intlLoading;var e=t.innerHTML.trim().length>0;var r=i?h("calcite-loader",{active:true,label:n}):null;var c=e?h("div",{class:CSS.content},h("slot",null)):null;return h("div",{class:CSS.scrim},r,c)};Object.defineProperty(a.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();Scrim.style=scrimCss;export{Scrim as calcite_scrim};
@@ -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.581
4
+ * v1.0.0-next.582
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-4d8a8a3d.js";import{g as getSlotted,a as getElementDir}from"./dom-aa448df2.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-d26c49f4.js";import{c as clamp}from"./math-83019fa1.js";import"./resources-189f4308.js";import"./guid-6a3d508c.js";import"./observers-ded2c2cc.js";var CSS$2={main:"main",mainReversed:"main--reversed",content:"content",contentBehind:"content--behind",footer:"footer"};var SLOTS$2={centerRow:"center-row",primaryPanel:"primary-panel",contextualPanel:"contextual-panel",panelStart:"panel-start",panelEnd:"panel-end",header:"header",footer:"footer"};var shellCss="@-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}: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{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--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);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";var Shell=function(){function t(t){registerInstance(this,t);this.contentBehind=false}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderHeader=function(){var t=!!getSlotted(this.el,SLOTS$2.header);return t?h("slot",{key:"header",name:SLOTS$2.header}):null};t.prototype.renderContent=function(){var t;var e=h("slot",{key:"default-slot"});var a=h("slot",{key:"center-row-slot",name:SLOTS$2.centerRow});var n="content-container";var i=!!this.contentBehind?[h("div",{class:(t={},t[CSS$2.content]=true,t[CSS$2.contentBehind]=true,t),key:n},e),a]:[h("div",{class:CSS$2.content,key:n},e,a)];return i};t.prototype.renderFooter=function(){var t=!!getSlotted(this.el,SLOTS$2.footer);return t?h("div",{class:CSS$2.footer,key:"footer"},h("slot",{name:SLOTS$2.footer})):null};t.prototype.renderMain=function(){var t;var e=getSlotted(this.el,SLOTS$2.primaryPanel);var a=(t={},t[CSS$2.main]=true,t[CSS$2.mainReversed]=(e===null||e===void 0?void 0:e.position)==="end",t);return h("div",{class:a},h("slot",{name:SLOTS$2.primaryPanel}),h("slot",{name:SLOTS$2.panelStart}),this.renderContent(),h("slot",{name:SLOTS$2.panelEnd}),h("slot",{name:SLOTS$2.contextualPanel}))};t.prototype.render=function(){return h(Fragment,null,this.renderHeader(),this.renderMain(),this.renderFooter())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Shell.style=shellCss;var CSS$1={actionBarContainer:"action-bar-container",content:"content"};var SLOTS$1={actionBar:"action-bar"};var shellCenterRowCss="@-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}: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:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@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)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var ShellCenterRow=function(){function t(t){registerInstance(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.render=function(){var t=this.el;var e=h("div",{class:CSS$1.content},h("slot",null));var a=getSlotted(t,SLOTS$1.actionBar);var n=a?h("div",{class:CSS$1.actionBarContainer,key:"action-bar"},h("slot",{name:SLOTS$1.actionBar})):null;var i=[n,e];if((a===null||a===void 0?void 0:a.position)==="end"){i.reverse()}return h(Fragment,null,i)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ShellCenterRow.style=shellCenterRowCss;var CSS={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var SLOTS={actionBar:"action-bar",header:"header"};var TEXT={resize:"Resize"};var shellPanelCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var ShellPanel=function(){function t(t){var e=this;registerInstance(this,t);this.calciteShellPanelToggle=createEvent(this,"calciteShellPanelToggle",6);this.collapsed=false;this.detached=false;this.detachedHeightScale="l";this.widthScale="m";this.intlResize=TEXT.resize;this.resizable=false;this.contentWidth=null;this.initialContentWidth=null;this.initialClientX=null;this.contentWidthMax=null;this.contentWidthMin=null;this.step=1;this.stepMultiplier=10;this.storeContentEl=function(t){e.contentEl=t};this.getKeyAdjustedWidth=function(t){var a=t.key;var n=e,i=n.el,o=n.step,r=n.stepMultiplier,l=n.contentWidthMin,s=n.contentWidthMax,c=n.initialContentWidth,d=n.position;var m=o*r;var p=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(p.indexOf(a)>-1){t.preventDefault()}var h=getElementDir(i);var f=["ArrowLeft","ArrowRight"];var u=h==="rtl"&&f.includes(a)?-1:1;var w=a==="ArrowUp"||(d==="end"?a===f[0]:a===f[1]);if(w){var b=t.shiftKey?m:o;return c+u*b}var x=a==="ArrowDown"||(d==="end"?a===f[1]:a===f[0]);if(x){var b=t.shiftKey?m:o;return c-u*b}if(typeof l==="number"&&a==="Home"){return l}if(typeof s==="number"&&a==="End"){return s}if(a==="PageDown"){return c-m}if(a==="PageUp"){return c+m}return null};this.separatorKeyDown=function(t){e.setInitialContentWidth();var a=e.getKeyAdjustedWidth(t);if(typeof a==="number"){e.setContentWidth(a)}};this.separatorPointerMove=function(t){t.preventDefault();var a=e,n=a.el,i=a.initialContentWidth,o=a.position,r=a.initialClientX;var l=t.clientX-r;var s=getElementDir(n);var c=s==="rtl"?-1:1;var d=o==="end"?-c*l:c*l;var m=i+d;e.setContentWidth(m)};this.separatorPointerUp=function(t){t.preventDefault();document.removeEventListener("pointerup",e.separatorPointerUp);document.removeEventListener("pointermove",e.separatorPointerMove)};this.setInitialContentWidth=function(){var t;e.initialContentWidth=(t=e.contentEl)===null||t===void 0?void 0:t.getBoundingClientRect().width};this.separatorPointerDown=function(t){t.preventDefault();var a=e.separatorEl;a&&document.activeElement!==a&&a.focus();e.setInitialContentWidth();e.initialClientX=t.clientX;document.addEventListener("pointerup",e.separatorPointerUp);document.addEventListener("pointermove",e.separatorPointerMove)};this.connectSeparator=function(t){e.disconnectSeparator();e.separatorEl=t;t.addEventListener("pointerdown",e.separatorPointerDown)};this.disconnectSeparator=function(){var t;(t=e.separatorEl)===null||t===void 0?void 0:t.removeEventListener("pointerdown",e.separatorPointerDown)}}t.prototype.watchHandler=function(){this.calciteShellPanelToggle.emit()};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this);this.disconnectSeparator()};t.prototype.componentDidLoad=function(){this.updateAriaValues()};t.prototype.renderHeader=function(){var t=this.el;var e=getSlotted(t,SLOTS.header);return e?h("div",{class:CSS.contentHeader,key:"header"},h("slot",{name:SLOTS.header})):null};t.prototype.render=function(){var t,e;var a=this,n=a.collapsed,i=a.detached,o=a.position,r=a.initialContentWidth,l=a.contentWidth,s=a.contentWidthMax,c=a.contentWidthMin,d=a.intlResize,m=a.resizable;var p=!i&&m;var f=h("div",{class:(t={},t[CSS.content]=true,t[CSS.contentDetached]=i,t),hidden:n,key:"content",ref:this.storeContentEl,style:p&&l?{width:"".concat(l,"px")}:null},this.renderHeader(),h("div",{class:CSS.contentBody},h("slot",null)));var u=p?h("div",{"aria-label":d,"aria-orientation":"horizontal","aria-valuemax":s,"aria-valuemin":c,"aria-valuenow":l!==null&&l!==void 0?l:r,class:CSS.separator,key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var w=h("slot",{key:"action-bar",name:SLOTS.actionBar});var b=[w,f,u];if(o==="end"){b.reverse()}return h("div",{class:(e={},e[CSS.container]=true,e)},b)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,n=e.contentWidthMin;var i=Math.round(t);this.contentWidth=typeof a==="number"&&typeof n==="number"?clamp(i,n,a):i};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var n=parseInt(e.getPropertyValue("min-width"),10);var i=parseInt(e.getPropertyValue("width"),10);if(typeof i==="number"&&!isNaN(i)){this.initialContentWidth=i}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}forceUpdate(this)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}();ShellPanel.style=shellPanelCss;export{Shell as calcite_shell,ShellCenterRow as calcite_shell_center_row,ShellPanel as calcite_shell_panel};
6
+ import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-97813f72.js";import{g as getSlotted,a as getElementDir}from"./dom-911900d4.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-aa5fce99.js";import{c as clamp}from"./math-0bd49a82.js";import"./resources-324a37ea.js";import"./guid-55509439.js";import"./observers-404bdaf4.js";var CSS$2={main:"main",mainReversed:"main--reversed",content:"content",contentBehind:"content--behind",footer:"footer"};var SLOTS$2={centerRow:"center-row",primaryPanel:"primary-panel",contextualPanel:"contextual-panel",panelStart:"panel-start",panelEnd:"panel-end",header:"header",footer:"footer"};var shellCss="@-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}: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{position:absolute;inset:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;overflow:hidden}.main--reversed{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.content{display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;-webkit-box-sizing:border-box;box-sizing:border-box}@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)}}::slotted(calcite-tip-manager){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--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);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";var Shell=function(){function t(t){registerInstance(this,t);this.contentBehind=false}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderHeader=function(){var t=!!getSlotted(this.el,SLOTS$2.header);return t?h("slot",{key:"header",name:SLOTS$2.header}):null};t.prototype.renderContent=function(){var t;var e=h("slot",{key:"default-slot"});var a=h("slot",{key:"center-row-slot",name:SLOTS$2.centerRow});var n="content-container";var i=!!this.contentBehind?[h("div",{class:(t={},t[CSS$2.content]=true,t[CSS$2.contentBehind]=true,t),key:n},e),a]:[h("div",{class:CSS$2.content,key:n},e,a)];return i};t.prototype.renderFooter=function(){var t=!!getSlotted(this.el,SLOTS$2.footer);return t?h("div",{class:CSS$2.footer,key:"footer"},h("slot",{name:SLOTS$2.footer})):null};t.prototype.renderMain=function(){var t;var e=getSlotted(this.el,SLOTS$2.primaryPanel);var a=(t={},t[CSS$2.main]=true,t[CSS$2.mainReversed]=(e===null||e===void 0?void 0:e.position)==="end",t);return h("div",{class:a},h("slot",{name:SLOTS$2.primaryPanel}),h("slot",{name:SLOTS$2.panelStart}),this.renderContent(),h("slot",{name:SLOTS$2.panelEnd}),h("slot",{name:SLOTS$2.contextualPanel}))};t.prototype.render=function(){return h(Fragment,null,this.renderHeader(),this.renderMain(),this.renderFooter())};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Shell.style=shellCss;var CSS$1={actionBarContainer:"action-bar-container",content:"content"};var SLOTS$1={actionBar:"action-bar"};var shellCenterRowCss="@-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}: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:1 1 auto;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;overflow:hidden;-ms-flex:1 0 0px;flex:1 0 0}.action-bar-container{display:-ms-flexbox;display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@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)}}:host([detached]){-webkit-animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){-ms-flex-item-align:end;align-self:flex-end}:host([position=start]){-ms-flex-item-align:start;align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){-webkit-border-end:1px solid;border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";var ShellCenterRow=function(){function t(t){registerInstance(this,t);this.detached=false;this.heightScale="s";this.position="end"}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.render=function(){var t=this.el;var e=h("div",{class:CSS$1.content},h("slot",null));var a=getSlotted(t,SLOTS$1.actionBar);var n=a?h("div",{class:CSS$1.actionBarContainer,key:"action-bar"},h("slot",{name:SLOTS$1.actionBar})):null;var i=[n,e];if((a===null||a===void 0?void 0:a.position)==="end"){i.reverse()}return h(Fragment,null,i)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();ShellCenterRow.style=shellCenterRowCss;var CSS={container:"container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentDetached:"content--detached",separator:"separator"};var SLOTS={actionBar:"action-bar",header:"header"};var TEXT={resize:"Resize"};var shellPanelCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:none;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-align:stretch;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}.container{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:-ms-flexbox;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width);max-inline-size:var(--calcite-shell-panel-max-width);min-inline-size:var(--calcite-shell-panel-min-width);-webkit-transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([dismissed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";var ShellPanel=function(){function t(t){var e=this;registerInstance(this,t);this.calciteShellPanelToggle=createEvent(this,"calciteShellPanelToggle",6);this.collapsed=false;this.detached=false;this.detachedHeightScale="l";this.widthScale="m";this.intlResize=TEXT.resize;this.resizable=false;this.contentWidth=null;this.initialContentWidth=null;this.initialClientX=null;this.contentWidthMax=null;this.contentWidthMin=null;this.step=1;this.stepMultiplier=10;this.storeContentEl=function(t){e.contentEl=t};this.getKeyAdjustedWidth=function(t){var a=t.key;var n=e,i=n.el,o=n.step,r=n.stepMultiplier,l=n.contentWidthMin,s=n.contentWidthMax,c=n.initialContentWidth,d=n.position;var m=o*r;var p=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"];if(p.indexOf(a)>-1){t.preventDefault()}var h=getElementDir(i);var f=["ArrowLeft","ArrowRight"];var u=h==="rtl"&&f.includes(a)?-1:1;var w=a==="ArrowUp"||(d==="end"?a===f[0]:a===f[1]);if(w){var b=t.shiftKey?m:o;return c+u*b}var x=a==="ArrowDown"||(d==="end"?a===f[1]:a===f[0]);if(x){var b=t.shiftKey?m:o;return c-u*b}if(typeof l==="number"&&a==="Home"){return l}if(typeof s==="number"&&a==="End"){return s}if(a==="PageDown"){return c-m}if(a==="PageUp"){return c+m}return null};this.separatorKeyDown=function(t){e.setInitialContentWidth();var a=e.getKeyAdjustedWidth(t);if(typeof a==="number"){e.setContentWidth(a)}};this.separatorPointerMove=function(t){t.preventDefault();var a=e,n=a.el,i=a.initialContentWidth,o=a.position,r=a.initialClientX;var l=t.clientX-r;var s=getElementDir(n);var c=s==="rtl"?-1:1;var d=o==="end"?-c*l:c*l;var m=i+d;e.setContentWidth(m)};this.separatorPointerUp=function(t){t.preventDefault();document.removeEventListener("pointerup",e.separatorPointerUp);document.removeEventListener("pointermove",e.separatorPointerMove)};this.setInitialContentWidth=function(){var t;e.initialContentWidth=(t=e.contentEl)===null||t===void 0?void 0:t.getBoundingClientRect().width};this.separatorPointerDown=function(t){t.preventDefault();var a=e.separatorEl;a&&document.activeElement!==a&&a.focus();e.setInitialContentWidth();e.initialClientX=t.clientX;document.addEventListener("pointerup",e.separatorPointerUp);document.addEventListener("pointermove",e.separatorPointerMove)};this.connectSeparator=function(t){e.disconnectSeparator();e.separatorEl=t;t.addEventListener("pointerdown",e.separatorPointerDown)};this.disconnectSeparator=function(){var t;(t=e.separatorEl)===null||t===void 0?void 0:t.removeEventListener("pointerdown",e.separatorPointerDown)}}t.prototype.watchHandler=function(){this.calciteShellPanelToggle.emit()};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this);this.disconnectSeparator()};t.prototype.componentDidLoad=function(){this.updateAriaValues()};t.prototype.renderHeader=function(){var t=this.el;var e=getSlotted(t,SLOTS.header);return e?h("div",{class:CSS.contentHeader,key:"header"},h("slot",{name:SLOTS.header})):null};t.prototype.render=function(){var t,e;var a=this,n=a.collapsed,i=a.detached,o=a.position,r=a.initialContentWidth,l=a.contentWidth,s=a.contentWidthMax,c=a.contentWidthMin,d=a.intlResize,m=a.resizable;var p=!i&&m;var f=h("div",{class:(t={},t[CSS.content]=true,t[CSS.contentDetached]=i,t),hidden:n,key:"content",ref:this.storeContentEl,style:p&&l?{width:"".concat(l,"px")}:null},this.renderHeader(),h("div",{class:CSS.contentBody},h("slot",null)));var u=p?h("div",{"aria-label":d,"aria-orientation":"horizontal","aria-valuemax":s,"aria-valuemin":c,"aria-valuenow":l!==null&&l!==void 0?l:r,class:CSS.separator,key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null;var w=h("slot",{key:"action-bar",name:SLOTS.actionBar});var b=[w,f,u];if(o==="end"){b.reverse()}return h("div",{class:(e={},e[CSS.container]=true,e)},b)};t.prototype.setContentWidth=function(t){var e=this,a=e.contentWidthMax,n=e.contentWidthMin;var i=Math.round(t);this.contentWidth=typeof a==="number"&&typeof n==="number"?clamp(i,n,a):i};t.prototype.updateAriaValues=function(){var t=this.contentEl;var e=t&&getComputedStyle(t);if(!e){return}var a=parseInt(e.getPropertyValue("max-width"),10);var n=parseInt(e.getPropertyValue("min-width"),10);var i=parseInt(e.getPropertyValue("width"),10);if(typeof i==="number"&&!isNaN(i)){this.initialContentWidth=i}if(typeof a==="number"&&!isNaN(a)){this.contentWidthMax=a}if(typeof n==="number"&&!isNaN(n)){this.contentWidthMin=n}forceUpdate(this)};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{collapsed:["watchHandler"]}},enumerable:false,configurable:true});return t}();ShellPanel.style=shellPanelCss;export{Shell as calcite_shell,ShellCenterRow as calcite_shell_center_row,ShellPanel as calcite_shell_panel};
@@ -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.581
4
+ * v1.0.0-next.582
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-4d8a8a3d.js";import{S as Sortable}from"./sortable.esm-dd628a88.js";import{c as createObserver}from"./observers-ded2c2cc.js";import{u as updateHostInteraction}from"./interactive-c13e9f92.js";var CSS={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};var sortableListCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var SortableList=function(){function t(t){var e=this;registerInstance(this,t);this.calciteListOrderChange=createEvent(this,"calciteListOrderChange",6);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=createObserver("mutation",(function(){e.cleanUpDragAndDrop();e.items=Array.from(e.el.children);e.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=Sortable.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return h("div",{class:(t={},t[CSS.container]=true,t[CSS.containerVertical]=!a,t[CSS.containerHorizontal]=a,t)},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();SortableList.style=sortableListCss;export{SortableList as calcite_sortable_list};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-97813f72.js";import{S as Sortable}from"./sortable.esm-ed460da3.js";import{c as createObserver}from"./observers-404bdaf4.js";import{u as updateHostInteraction}from"./interactive-1b52954c.js";var CSS={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"};var sortableListCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}.container--vertical{-ms-flex-direction:column;flex-direction:column}.container--horizontal{-ms-flex-direction:row;flex-direction:row}";var SortableList=function(){function t(t){var e=this;registerInstance(this,t);this.calciteListOrderChange=createEvent(this,"calciteListOrderChange",6);this.handleSelector="calcite-handle";this.layout="vertical";this.disabled=false;this.loading=false;this.handleActivated=false;this.items=[];this.mutationObserver=createObserver("mutation",(function(){e.cleanUpDragAndDrop();e.items=Array.from(e.el.children);e.setUpDragAndDrop()}))}t.prototype.connectedCallback=function(){this.items=Array.from(this.el.children);this.setUpDragAndDrop();this.beginObserving()};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.cleanUpDragAndDrop()};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.calciteHandleNudgeHandler=function(t){var e;var a=this.items.find((function(e){return e.contains(t.detail.handle)||t.composedPath().includes(e)}));var i=this.items.length-1;var n=this.items.indexOf(a);var r=false;var o;switch(t.detail.direction){case"up":t.preventDefault();if(n===0){r=true}else{o=n-1}break;case"down":t.preventDefault();if(n===i){o=0}else if(n===i-1){r=true}else{o=n+2}break;default:return}(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();if(r){a.parentElement.appendChild(a)}else{a.parentElement.insertBefore(a,this.items[o])}this.items=Array.from(this.el.children);t.detail.handle.activated=true;t.detail.handle.setFocus();this.beginObserving()};t.prototype.setUpDragAndDrop=function(){var t=this;this.cleanUpDragAndDrop();var e={dataIdAttr:"id",group:this.group,handle:this.handleSelector,onUpdate:function(){t.items=Array.from(t.el.children);t.calciteListOrderChange.emit()},onStart:function(){var e;(e=t.mutationObserver)===null||e===void 0?void 0:e.disconnect()},onEnd:function(){t.beginObserving()}};if(this.dragSelector){e.draggable=this.dragSelector}this.sortable=Sortable.create(this.el,e)};t.prototype.cleanUpDragAndDrop=function(){var t;(t=this.sortable)===null||t===void 0?void 0:t.destroy();this.sortable=null};t.prototype.beginObserving=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.render=function(){var t;var e=this.layout;var a=e==="horizontal"||false;return h("div",{class:(t={},t[CSS.container]=true,t[CSS.containerVertical]=!a,t[CSS.containerHorizontal]=a,t)},h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();SortableList.style=sortableListCss;export{SortableList as calcite_sortable_list};
@@ -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.581
4
+ * v1.0.0-next.582
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-4d8a8a3d.js";import{u as updateHostInteraction}from"./interactive-c13e9f92.js";var CSS={container:"split-button__container",dividerContainer:"split-button__divider-container",divider:"split-button__divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};var splitButtonCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container,:host([appearance=minimal]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container,:host([appearance=minimal]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container,:host([appearance=minimal]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]),:host([appearance=minimal]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]),:host([appearance=minimal]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container,:host([appearance=minimal]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var SplitButton=function(){function t(t){var i=this;registerInstance(this,t);this.calciteSplitButtonPrimaryClick=createEvent(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=createEvent(this,"calciteSplitButtonSecondaryClick",6);this.appearance="solid";this.color="blue";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.loading=false;this.overlayPositioning="absolute";this.scale="m";this.width="auto";this.calciteSplitButtonPrimaryClickHandler=function(t){return i.calciteSplitButtonPrimaryClick.emit(t)};this.calciteSplitButtonSecondaryClickHandler=function(t){return i.calciteSplitButtonSecondaryClick.emit(t)}}t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.activeHandler=function(){if(this.disabled){this.active=false}};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t;var i=(t={},t[CSS.container]=true,t[CSS.widthAuto]=this.width==="auto",t[CSS.widthHalf]=this.width==="half",t[CSS.widthFull]=this.width==="full",t);var a=this.width==="auto"?"auto":"full";return h("div",{class:i},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:a},this.primaryText),h("div",{class:CSS.dividerContainer},h("div",{class:CSS.divider})),h("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),h("slot",null)))};Object.defineProperty(t.prototype,"dropdownIcon",{get:function(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}},enumerable:false,configurable:true});return t}();SplitButton.style=splitButtonCss;export{SplitButton as calcite_split_button};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-97813f72.js";import{u as updateHostInteraction}from"./interactive-1b52954c.js";var CSS={container:"split-button__container",dividerContainer:"split-button__divider-container",divider:"split-button__divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};var splitButtonCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container,:host([appearance=minimal]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container,:host([appearance=minimal]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container,:host([appearance=minimal]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]),:host([appearance=minimal]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]),:host([appearance=minimal]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container,:host([appearance=minimal]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var SplitButton=function(){function t(t){var i=this;registerInstance(this,t);this.calciteSplitButtonPrimaryClick=createEvent(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=createEvent(this,"calciteSplitButtonSecondaryClick",6);this.appearance="solid";this.color="blue";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.loading=false;this.overlayPositioning="absolute";this.scale="m";this.width="auto";this.calciteSplitButtonPrimaryClickHandler=function(t){return i.calciteSplitButtonPrimaryClick.emit(t)};this.calciteSplitButtonSecondaryClickHandler=function(t){return i.calciteSplitButtonSecondaryClick.emit(t)}}t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.activeHandler=function(){if(this.disabled){this.active=false}};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t;var i=(t={},t[CSS.container]=true,t[CSS.widthAuto]=this.width==="auto",t[CSS.widthHalf]=this.width==="half",t[CSS.widthFull]=this.width==="full",t);var a=this.width==="auto"?"auto":"full";return h("div",{class:i},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:a},this.primaryText),h("div",{class:CSS.dividerContainer},h("div",{class:CSS.divider})),h("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},h("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),h("slot",null)))};Object.defineProperty(t.prototype,"dropdownIcon",{get:function(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}},enumerable:false,configurable:true});return t}();SplitButton.style=splitButtonCss;export{SplitButton as calcite_split_button};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e 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.581
6
- */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-4d8a8a3d.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-aa448df2.js";import{u as updateHostInteraction}from"./interactive-c13e9f92.js";import"./resources-189f4308.js";import"./guid-6a3d508c.js";var stepperCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';var Stepper=function(){function e(e){registerInstance(this,e);this.calciteStepperItemChange=createEvent(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=createEvent(this,"calciteInternalStepperItemChange",6);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}e.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.emit({position:0})}};e.prototype.render=function(){var e=this;return h("slot",{onSlotchange:function(t){var i=t.currentTarget.assignedElements().filter((function(e){return(e===null||e===void 0?void 0:e.tagName)==="CALCITE-STEPPER-ITEM"}));var n=Array(i.length).fill("1fr").join(" ");e.el.style.gridTemplateAreas=n;e.el.style.gridTemplateColumns=n}})};e.prototype.calciteInternalStepperItemKeyEvent=function(e){var t=e.detail.item;var i=e.target;var n=this.itemIndex(i)===0;var r=this.itemIndex(i)===this.enabledItems.length-1;switch(t.key){case"ArrowDown":case"ArrowRight":if(r){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}e.stopPropagation()};e.prototype.registerItem=function(e){var t=e.target;var i=e.detail,n=i.content,r=i.position;this.itemMap.set(t,{position:r,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();e.stopPropagation()};e.prototype.updateItem=function(e){var t=e.detail.position;if(typeof t==="number"){this.currentPosition=t}this.calciteInternalStepperItemChange.emit({position:t})};e.prototype.handleUserRequestedStepperItemSelect=function(e){var t=e.detail.position;this.calciteStepperItemChange.emit({position:t})};e.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.goToStep=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=e-1;if(this.currentPosition!==t){this.updateStep(t)}return[2]}))}))};e.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(0,"next");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.getEnabledStepIndex=function(e,t){if(t===void 0){t="next"}var i;var n=this,r=n.items,a=n.currentPosition;var o=e;while((i=r[o])===null||i===void 0?void 0:i.disabled){o=o+(t==="previous"?-1:1)}return o!==a&&o<r.length&&o>=0?o:null};e.prototype.updateStep=function(e){this.currentPosition=e;this.calciteInternalStepperItemChange.emit({position:e})};e.prototype.focusFirstItem=function(){var e=this.enabledItems[0];focusElement(e)};e.prototype.focusLastItem=function(){var e=this.enabledItems[this.enabledItems.length-1];focusElement(e)};e.prototype.focusNextItem=function(e){var t=this.itemIndex(e);var i=this.enabledItems[t+1]||this.enabledItems[0];focusElement(i)};e.prototype.focusPrevItem=function(e){var t=this.itemIndex(e);var i=this.enabledItems[t-1]||this.enabledItems[this.enabledItems.length-1];focusElement(i)};e.prototype.itemIndex=function(e){return this.enabledItems.indexOf(e)};e.prototype.sortItems=function(){var e=this.itemMap;return Array.from(e.keys()).sort((function(t,i){return e.get(t).position-e.get(i).position}))};e.prototype.filterItems=function(){return this.items.filter((function(e){return!e.disabled}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();Stepper.style=stepperCss;var stepperItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-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 .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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 .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);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-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-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);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";var StepperItem=function(){function e(e){var t=this;registerInstance(this,e);this.calciteInternalStepperItemKeyEvent=createEvent(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=createEvent(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=createEvent(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=createEvent(this,"calciteInternalStepperItemRegister",6);this.active=false;this.selected=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(e){if(!t.disabled&&e.target===t.el){switch(e.key){case" ":case"Enter":t.emitUserRequestedItem();e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":t.calciteInternalStepperItemKeyEvent.emit({item:e});e.preventDefault();break}}};this.handleItemClick=function(e){if(t.layout==="horizontal"&&e.composedPath().some((function(e){var t;return(t=e.classList)===null||t===void 0?void 0:t.contains("stepper-item-content")}))){return}t.emitUserRequestedItem()};this.emitUserRequestedItem=function(){t.emitRequestedItem();if(!t.disabled){var e=t.itemPosition;t.calciteInternalUserRequestedStepperItemSelect.emit({position:e})}};this.emitRequestedItem=function(){if(!t.disabled){var e=t.itemPosition;t.calciteInternalStepperItemSelect.emit({position:e})}}}e.prototype.activeHandler=function(e){this.selected=e};e.prototype.selectedHandler=function(e){this.active=e;if(this.selected){this.emitRequestedItem()}};e.prototype.disabledWatcher=function(){this.registerStepperItem()};e.prototype.connectedCallback=function(){var e=this,t=e.selected,i=e.active;if(t){this.active=t}else if(i){this.selected=i}};e.prototype.componentWillLoad=function(){this.icon=getElementProp(this.el,"icon",false);this.numbered=getElementProp(this.el,"numbered",false);this.layout=getElementProp(this.el,"layout",false);this.scale=getElementProp(this.el,"scale","m");this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.selected){this.emitRequestedItem()}};e.prototype.componentDidRender=function(){updateHostInteraction(this,true)};e.prototype.render=function(){var e=this;return h(Host,{"aria-expanded":toAriaBoolean(this.active),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},h("div",{class:"container"},h("div",{class:"stepper-item-header",ref:function(t){return e.headerEl=t},tabIndex:this.layout==="horizontal"&&!this.disabled?0:null},this.icon?this.renderIcon():null,this.numbered?h("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,h("div",{class:"stepper-item-header-text"},h("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),h("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",null))))};e.prototype.updateActiveItemOnChange=function(e){if(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl)){this.selectedPosition=e.detail.position;this.determineSelectedItem()}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.layout==="vertical"?this.el:this.headerEl)===null||e===void 0?void 0:e.focus();return[2]}))}))};e.prototype.renderIcon=function(){var e=this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return h("calcite-icon",{class:"stepper-item-icon",icon:e,scale:"s"})};e.prototype.determineSelectedItem=function(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition};e.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})};e.prototype.getItemPosition=function(){var e;return Array.from((e=this.parentStepperEl)===null||e===void 0?void 0:e.querySelectorAll("calcite-stepper-item")).indexOf(this.el)};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],selected:["selectedHandler"],disabled:["disabledWatcher"]}},enumerable:false,configurable:true});return e}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
5
+ * v1.0.0-next.582
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-97813f72.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-911900d4.js";import{u as updateHostInteraction}from"./interactive-1b52954c.js";import"./resources-324a37ea.js";import"./guid-55509439.js";var stepperCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([layout=horizontal]){display:grid;grid-template-areas:"items" "content"}';var Stepper=function(){function e(e){registerInstance(this,e);this.calciteStepperItemChange=createEvent(this,"calciteStepperItemChange",6);this.calciteInternalStepperItemChange=createEvent(this,"calciteInternalStepperItemChange",6);this.icon=false;this.layout="horizontal";this.numbered=false;this.scale="m";this.itemMap=new Map;this.items=[];this.enabledItems=[]}e.prototype.componentDidLoad=function(){if(typeof this.currentPosition!=="number"){this.calciteInternalStepperItemChange.emit({position:0})}};e.prototype.render=function(){var e=this;return h("slot",{onSlotchange:function(t){var i=t.currentTarget.assignedElements().filter((function(e){return(e===null||e===void 0?void 0:e.tagName)==="CALCITE-STEPPER-ITEM"}));var n=Array(i.length).fill("1fr").join(" ");e.el.style.gridTemplateAreas=n;e.el.style.gridTemplateColumns=n}})};e.prototype.calciteInternalStepperItemKeyEvent=function(e){var t=e.detail.item;var i=e.target;var n=this.itemIndex(i)===0;var r=this.itemIndex(i)===this.enabledItems.length-1;switch(t.key){case"ArrowDown":case"ArrowRight":if(r){this.focusFirstItem()}else{this.focusNextItem(i)}break;case"ArrowUp":case"ArrowLeft":if(n){this.focusLastItem()}else{this.focusPrevItem(i)}break;case"Home":this.focusFirstItem();break;case"End":this.focusLastItem();break}e.stopPropagation()};e.prototype.registerItem=function(e){var t=e.target;var i=e.detail,n=i.content,r=i.position;this.itemMap.set(t,{position:r,content:n});this.items=this.sortItems();this.enabledItems=this.filterItems();e.stopPropagation()};e.prototype.updateItem=function(e){var t=e.detail.position;if(typeof t==="number"){this.currentPosition=t}this.calciteInternalStepperItemChange.emit({position:t})};e.prototype.handleUserRequestedStepperItemSelect=function(e){var t=e.detail.position;this.calciteStepperItemChange.emit({position:t})};e.prototype.nextStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.currentPosition+1,"next");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.prevStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.currentPosition-1,"previous");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.goToStep=function(e){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){t=e-1;if(this.currentPosition!==t){this.updateStep(t)}return[2]}))}))};e.prototype.startStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(0,"next");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.endStep=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.getEnabledStepIndex(this.items.length-1,"previous");if(typeof e!=="number"){return[2]}this.updateStep(e);return[2]}))}))};e.prototype.getEnabledStepIndex=function(e,t){if(t===void 0){t="next"}var i;var n=this,r=n.items,a=n.currentPosition;var o=e;while((i=r[o])===null||i===void 0?void 0:i.disabled){o=o+(t==="previous"?-1:1)}return o!==a&&o<r.length&&o>=0?o:null};e.prototype.updateStep=function(e){this.currentPosition=e;this.calciteInternalStepperItemChange.emit({position:e})};e.prototype.focusFirstItem=function(){var e=this.enabledItems[0];focusElement(e)};e.prototype.focusLastItem=function(){var e=this.enabledItems[this.enabledItems.length-1];focusElement(e)};e.prototype.focusNextItem=function(e){var t=this.itemIndex(e);var i=this.enabledItems[t+1]||this.enabledItems[0];focusElement(i)};e.prototype.focusPrevItem=function(e){var t=this.itemIndex(e);var i=this.enabledItems[t-1]||this.enabledItems[this.enabledItems.length-1];focusElement(i)};e.prototype.itemIndex=function(e){return this.enabledItems.indexOf(e)};e.prototype.sortItems=function(){var e=this.itemMap;return Array.from(e.keys()).sort((function(t,i){return e.get(t).position-e.get(i).position}))};e.prototype.filterItems=function(){return this.items.filter((function(e){return!e.disabled}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();Stepper.style=stepperCss;var stepperItemCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-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 .stepper-item-content{display:none;inline-size:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:-ms-inline-flexbox;display:inline-flex;block-size:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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 .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:-ms-flexbox;display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);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-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;-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);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";var StepperItem=function(){function e(e){var t=this;registerInstance(this,e);this.calciteInternalStepperItemKeyEvent=createEvent(this,"calciteInternalStepperItemKeyEvent",6);this.calciteInternalStepperItemSelect=createEvent(this,"calciteInternalStepperItemSelect",6);this.calciteInternalUserRequestedStepperItemSelect=createEvent(this,"calciteInternalUserRequestedStepperItemSelect",6);this.calciteInternalStepperItemRegister=createEvent(this,"calciteInternalStepperItemRegister",6);this.active=false;this.selected=false;this.complete=false;this.error=false;this.disabled=false;this.layout="horizontal";this.icon=false;this.numbered=false;this.scale="m";this.keyDownHandler=function(e){if(!t.disabled&&e.target===t.el){switch(e.key){case" ":case"Enter":t.emitUserRequestedItem();e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":t.calciteInternalStepperItemKeyEvent.emit({item:e});e.preventDefault();break}}};this.handleItemClick=function(e){if(t.layout==="horizontal"&&e.composedPath().some((function(e){var t;return(t=e.classList)===null||t===void 0?void 0:t.contains("stepper-item-content")}))){return}t.emitUserRequestedItem()};this.emitUserRequestedItem=function(){t.emitRequestedItem();if(!t.disabled){var e=t.itemPosition;t.calciteInternalUserRequestedStepperItemSelect.emit({position:e})}};this.emitRequestedItem=function(){if(!t.disabled){var e=t.itemPosition;t.calciteInternalStepperItemSelect.emit({position:e})}}}e.prototype.activeHandler=function(e){this.selected=e};e.prototype.selectedHandler=function(e){this.active=e;if(this.selected){this.emitRequestedItem()}};e.prototype.disabledWatcher=function(){this.registerStepperItem()};e.prototype.connectedCallback=function(){var e=this,t=e.selected,i=e.active;if(t){this.active=t}else if(i){this.selected=i}};e.prototype.componentWillLoad=function(){this.icon=getElementProp(this.el,"icon",false);this.numbered=getElementProp(this.el,"numbered",false);this.layout=getElementProp(this.el,"layout",false);this.scale=getElementProp(this.el,"scale","m");this.parentStepperEl=this.el.parentElement;this.itemPosition=this.getItemPosition();this.registerStepperItem();if(this.selected){this.emitRequestedItem()}};e.prototype.componentDidRender=function(){updateHostInteraction(this,true)};e.prototype.render=function(){var e=this;return h(Host,{"aria-expanded":toAriaBoolean(this.active),onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},h("div",{class:"container"},h("div",{class:"stepper-item-header",ref:function(t){return e.headerEl=t},tabIndex:this.layout==="horizontal"&&!this.disabled?0:null},this.icon?this.renderIcon():null,this.numbered?h("div",{class:"stepper-item-number"},this.itemPosition+1,"."):null,h("div",{class:"stepper-item-header-text"},h("span",{class:"stepper-item-heading"},this.heading||this.itemTitle),h("span",{class:"stepper-item-description"},this.description||this.itemSubtitle))),h("div",{class:"stepper-item-content"},h("slot",null))))};e.prototype.updateActiveItemOnChange=function(e){if(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl)){this.selectedPosition=e.detail.position;this.determineSelectedItem()}};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.layout==="vertical"?this.el:this.headerEl)===null||e===void 0?void 0:e.focus();return[2]}))}))};e.prototype.renderIcon=function(){var e=this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle";return h("calcite-icon",{class:"stepper-item-icon",icon:e,scale:"s"})};e.prototype.determineSelectedItem=function(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition};e.prototype.registerStepperItem=function(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})};e.prototype.getItemPosition=function(){var e;return Array.from((e=this.parentStepperEl)===null||e===void 0?void 0:e.querySelectorAll("calcite-stepper-item")).indexOf(this.el)};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],selected:["selectedHandler"],disabled:["disabledWatcher"]}},enumerable:false,configurable:true});return e}();StepperItem.style=stepperItemCss;export{Stepper as calcite_stepper,StepperItem as calcite_stepper_item};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,n){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.581
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-4d8a8a3d.js";import{f as focusElement,t as toAriaBoolean}from"./dom-aa448df2.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-59c8bc7c.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-ed848cf6.js";import{u as updateHostInteraction}from"./interactive-c13e9f92.js";import{i as isActivationKey}from"./key-95771f61.js";import"./resources-189f4308.js";import"./guid-6a3d508c.js";var switchCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-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)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-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);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var Switch=function(){function t(t){var e=this;registerInstance(this,t);this.calciteSwitchChange=createEvent(this,"calciteSwitchChange",6);this.disabled=false;this.scale="m";this.switched=false;this.checked=false;this.keyDownHandler=function(t){if(!e.disabled&&isActivationKey(t.key)){e.toggle();t.preventDefault()}};this.clickHandler=function(){e.toggle()};this.setSwitchEl=function(t){e.switchEl=t}}t.prototype.switchedWatcher=function(t){this.checked=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.switchEl);return[2]}))}))};t.prototype.onLabelClick=function(){if(!this.disabled){this.toggle();this.setFocus()}};t.prototype.toggle=function(){this.checked=!this.checked;this.calciteSwitchChange.emit({switched:this.checked})};t.prototype.connectedCallback=function(){var t=this.checked||this.switched;if(t){this.switched=this.checked=t}connectLabel(this);connectForm(this)};t.prototype.disconnectedCallback=function(){disconnectLabel(this);disconnectForm(this)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){return h(Host,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},h("div",{"aria-checked":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},h("div",{class:"track"},h("div",{class:"handle"})),h(HiddenFormInputSlot,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}();Switch.style=switchCss;export{Switch as calcite_switch};
5
+ * v1.0.0-next.582
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-97813f72.js";import{f as focusElement,t as toAriaBoolean}from"./dom-911900d4.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-2d423b2b.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-88d4f177.js";import{u as updateHostInteraction}from"./interactive-1b52954c.js";import{i as isActivationKey}from"./key-ce5f60d6.js";import"./resources-324a37ea.js";import"./guid-55509439.js";var switchCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]) .container{block-size:0.75rem}:host([scale=s]) .track{block-size:0.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:0.5rem;inline-size:0.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:0.75rem;inline-size:0.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{inline-size:auto;outline-color:transparent}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-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)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-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);inset-block-start:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";var Switch=function(){function t(t){var e=this;registerInstance(this,t);this.calciteSwitchChange=createEvent(this,"calciteSwitchChange",6);this.disabled=false;this.scale="m";this.switched=false;this.checked=false;this.keyDownHandler=function(t){if(!e.disabled&&isActivationKey(t.key)){e.toggle();t.preventDefault()}};this.clickHandler=function(){e.toggle()};this.setSwitchEl=function(t){e.switchEl=t}}t.prototype.switchedWatcher=function(t){this.checked=t};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){focusElement(this.switchEl);return[2]}))}))};t.prototype.onLabelClick=function(){if(!this.disabled){this.toggle();this.setFocus()}};t.prototype.toggle=function(){this.checked=!this.checked;this.calciteSwitchChange.emit({switched:this.checked})};t.prototype.connectedCallback=function(){var t=this.checked||this.switched;if(t){this.switched=this.checked=t}connectLabel(this);connectForm(this)};t.prototype.disconnectedCallback=function(){disconnectLabel(this);disconnectForm(this)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){return h(Host,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},h("div",{"aria-checked":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"container",ref:this.setSwitchEl,role:"switch",tabIndex:0},h("div",{class:"track"},h("div",{class:"handle"})),h(HiddenFormInputSlot,{component:this})))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{switched:["switchedWatcher"]}},enumerable:false,configurable:true});return t}();Switch.style=switchCss;export{Switch as calcite_switch};