@esri/calcite-components 1.0.0-next.571 → 1.0.0-next.574

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 (896) 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-8fca8432.entry.js → p-01e1f264.entry.js} +2 -2
  5. package/dist/calcite/{p-5f7bdd83.js → p-02874e66.js} +1 -1
  6. package/dist/calcite/{p-5cee55f8.entry.js → p-02bf316f.entry.js} +2 -2
  7. package/dist/calcite/{p-2d261579.system.js → p-04324ff6.system.js} +2 -2
  8. package/dist/calcite/{p-cc01a0da.js → p-0472246a.js} +2 -2
  9. package/dist/calcite/p-08a5a1c1.entry.js +6 -0
  10. package/dist/calcite/{p-6403e39f.system.entry.js → p-0943dc72.system.entry.js} +2 -2
  11. package/dist/calcite/{p-4bd6b9b3.entry.js → p-0a4974cc.entry.js} +2 -2
  12. package/dist/calcite/{p-b3be56ab.js → p-0aeae19a.js} +2 -2
  13. package/dist/calcite/{p-05d4924d.js → p-0ccdf105.js} +2 -2
  14. package/dist/calcite/{p-13fc82d6.entry.js → p-0ddc8a53.entry.js} +2 -2
  15. package/dist/calcite/{p-31121b13.system.js → p-1038133f.system.js} +1 -1
  16. package/dist/calcite/{p-e85960bb.system.entry.js → p-128f6135.system.entry.js} +2 -2
  17. package/dist/calcite/{p-2f7ea8e0.system.js → p-1352c084.system.js} +1 -1
  18. package/dist/calcite/{p-71ba7f12.js → p-13e8eef6.js} +1 -1
  19. package/dist/calcite/{p-b1ebe2a6.entry.js → p-14e6ae5b.entry.js} +2 -2
  20. package/dist/calcite/{p-dc2ba8d6.entry.js → p-14f4fac9.entry.js} +2 -2
  21. package/dist/calcite/{p-31c18ebc.system.entry.js → p-1b724a77.system.entry.js} +3 -3
  22. package/dist/calcite/{p-7504b5c5.js → p-1c0cfd52.js} +1 -1
  23. package/dist/calcite/{p-07aaa874.system.entry.js → p-1c325f2a.system.entry.js} +2 -2
  24. package/dist/calcite/{p-06de5e73.system.js → p-1cd25094.system.js} +2 -2
  25. package/dist/calcite/{p-9ade1c57.js → p-2256fb5a.js} +1 -1
  26. package/dist/calcite/{p-38483baf.system.entry.js → p-2501e910.system.entry.js} +2 -2
  27. package/dist/calcite/{p-0eb313ce.system.entry.js → p-258f25b4.system.entry.js} +2 -2
  28. package/dist/calcite/{p-0ee15efc.entry.js → p-26edc3fe.entry.js} +2 -2
  29. package/dist/calcite/{p-b9ad148b.entry.js → p-27323b2b.entry.js} +2 -2
  30. package/dist/calcite/{p-df985eab.entry.js → p-27894e89.entry.js} +2 -2
  31. package/dist/calcite/{p-9f99c3f3.system.js → p-293f1130.system.js} +1 -1
  32. package/dist/calcite/{p-6a52afac.system.entry.js → p-29bcb552.system.entry.js} +2 -2
  33. package/dist/calcite/{p-dff8bed4.system.js → p-2aa5b545.system.js} +1 -1
  34. package/dist/calcite/{p-87af229a.system.js → p-2b26e70c.system.js} +2 -2
  35. package/dist/calcite/{p-4aecbc47.system.js → p-2c75a894.system.js} +1 -1
  36. package/dist/calcite/{p-0864ff1f.system.entry.js → p-2d018297.system.entry.js} +2 -2
  37. package/dist/calcite/{p-bf07fd68.entry.js → p-2f662260.entry.js} +2 -2
  38. package/dist/calcite/{p-9e593267.entry.js → p-3058a676.entry.js} +2 -2
  39. package/dist/calcite/p-31a68d51.system.js +6 -0
  40. package/dist/calcite/{p-668dda51.entry.js → p-31ed467b.entry.js} +2 -2
  41. package/dist/calcite/{p-f650bc5a.entry.js → p-32bbc891.entry.js} +2 -2
  42. package/dist/calcite/{p-d0e26d0f.system.entry.js → p-32c72e8d.system.entry.js} +2 -2
  43. package/dist/calcite/{p-ce1d03e8.system.js → p-337a24eb.system.js} +1 -1
  44. package/dist/calcite/{p-27e2b8ea.system.js → p-396820b7.system.js} +1 -1
  45. package/dist/calcite/{p-bdfa3789.system.js → p-398ddb30.system.js} +1 -1
  46. package/dist/calcite/{p-e119e0b4.js → p-3bbdf28c.js} +2 -2
  47. package/dist/calcite/{p-6beead34.system.entry.js → p-3dc32ec2.system.entry.js} +2 -2
  48. package/dist/calcite/{p-989266f0.system.entry.js → p-405f0063.system.entry.js} +2 -2
  49. package/dist/calcite/{p-feeecafb.system.entry.js → p-42028ad9.system.entry.js} +2 -2
  50. package/dist/calcite/{p-d12f04b6.js → p-420ccddd.js} +1 -1
  51. package/dist/calcite/{p-e9debf39.system.entry.js → p-43ba6532.system.entry.js} +3 -3
  52. package/dist/calcite/p-49114c42.entry.js +6 -0
  53. package/dist/calcite/{p-e8dd0ce4.system.entry.js → p-4b20dd06.system.entry.js} +2 -2
  54. package/dist/calcite/{p-4ab7389d.js → p-4d8ba58f.js} +2 -2
  55. package/dist/calcite/{p-6f35a22e.system.entry.js → p-4e3bb2b5.system.entry.js} +2 -2
  56. package/dist/calcite/{p-2b9d43ee.entry.js → p-4f151515.entry.js} +2 -2
  57. package/dist/calcite/{p-b45b3d79.system.entry.js → p-4f264208.system.entry.js} +2 -2
  58. package/dist/calcite/{p-0f09f141.entry.js → p-5418d810.entry.js} +2 -2
  59. package/dist/calcite/{p-46674baf.entry.js → p-54949aeb.entry.js} +2 -2
  60. package/dist/calcite/{p-e9f9da36.system.entry.js → p-551a2e01.system.entry.js} +3 -3
  61. package/dist/calcite/{p-8e9e4678.system.js → p-567888cc.system.js} +2 -2
  62. package/dist/calcite/p-588da538.entry.js +6 -0
  63. package/dist/calcite/{p-0da0fa29.entry.js → p-58cd6a25.entry.js} +2 -2
  64. package/dist/calcite/{p-ad9d14c2.system.entry.js → p-58cdd975.system.entry.js} +2 -2
  65. package/dist/calcite/p-5c4421dc.entry.js +6 -0
  66. package/dist/calcite/{p-46db8711.js → p-5da3e726.js} +1 -1
  67. package/dist/calcite/{p-bf3152d1.entry.js → p-5f34cff7.entry.js} +2 -2
  68. package/dist/calcite/{p-581a5a39.system.entry.js → p-5f8c7a97.system.entry.js} +2 -2
  69. package/dist/calcite/{p-84323215.system.entry.js → p-63e0068e.system.entry.js} +2 -2
  70. package/dist/calcite/{p-1efc3593.entry.js → p-66a2952f.entry.js} +2 -2
  71. package/dist/calcite/{p-7ea1d145.system.entry.js → p-68dfd0e8.system.entry.js} +2 -2
  72. package/dist/calcite/p-69607178.system.entry.js +6 -0
  73. package/dist/calcite/{p-5d25a2ed.system.js → p-6aa7147a.system.js} +2 -2
  74. package/dist/calcite/{p-aa4f564a.system.js → p-6f45df0b.system.js} +1 -1
  75. package/dist/calcite/{p-748bf973.system.js → p-6f71dc54.system.js} +1 -1
  76. package/dist/calcite/p-711c3499.js +6 -0
  77. package/dist/calcite/{p-44a6ec71.entry.js → p-7170dae4.entry.js} +2 -2
  78. package/dist/calcite/{p-c86a8ae6.js → p-729414c5.js} +1 -1
  79. package/dist/calcite/{p-9ae2a7a4.system.entry.js → p-72f5d36b.system.entry.js} +2 -2
  80. package/dist/calcite/{p-f2c16b29.system.entry.js → p-7647ee97.system.entry.js} +2 -2
  81. package/dist/calcite/{p-9c13e45b.entry.js → p-7ac38b2b.entry.js} +2 -2
  82. package/dist/calcite/{p-b596c9e6.js → p-7de25c76.js} +1 -1
  83. package/dist/calcite/{p-4cc4a849.system.entry.js → p-8079a79c.system.entry.js} +2 -2
  84. package/dist/calcite/{p-40a03fa2.system.entry.js → p-81606519.system.entry.js} +2 -2
  85. package/dist/calcite/{p-b1f1ef97.system.entry.js → p-854fabb7.system.entry.js} +2 -2
  86. package/dist/calcite/p-8a55c80a.js +6 -0
  87. package/dist/calcite/{p-f3ca7d80.system.entry.js → p-8c4dde60.system.entry.js} +2 -2
  88. package/dist/calcite/{p-735f4fb7.js → p-904eb1df.js} +1 -1
  89. package/dist/calcite/{p-f6443e8b.js → p-94929da9.js} +1 -1
  90. package/dist/calcite/p-9525e397.entry.js +6 -0
  91. package/dist/calcite/p-9644cf90.system.entry.js +6 -0
  92. package/dist/calcite/{p-3b5fd066.entry.js → p-9646400a.entry.js} +2 -2
  93. package/dist/calcite/p-96f59f09.system.entry.js +6 -0
  94. package/dist/calcite/{p-a0a3e061.system.entry.js → p-96f9d00c.system.entry.js} +2 -2
  95. package/dist/calcite/p-97b5b5ac.system.entry.js +6 -0
  96. package/dist/calcite/{p-f7ef036f.js → p-9c6a2350.js} +2 -2
  97. package/dist/calcite/{p-ffafacab.system.entry.js → p-9d562b85.system.entry.js} +2 -2
  98. package/dist/calcite/{p-db26e542.system.entry.js → p-9d72faa2.system.entry.js} +2 -2
  99. package/dist/calcite/p-9e267363.entry.js +6 -0
  100. package/dist/calcite/{p-28488be9.entry.js → p-9ebe47e9.entry.js} +2 -2
  101. package/dist/calcite/{p-8b30894d.system.entry.js → p-9f9dfe99.system.entry.js} +2 -2
  102. package/dist/calcite/{p-d1227283.entry.js → p-a026e825.entry.js} +2 -2
  103. package/dist/calcite/{p-8dc799ea.system.entry.js → p-a4a1dbb7.system.entry.js} +2 -2
  104. package/dist/calcite/p-a598a7dd.system.entry.js +6 -0
  105. package/dist/calcite/{p-20ef7eb3.entry.js → p-a67f40e6.entry.js} +2 -2
  106. package/dist/calcite/{p-67d8d2f5.system.entry.js → p-a6e30a8f.system.entry.js} +2 -2
  107. package/dist/calcite/{p-19797e3a.system.entry.js → p-a716e34c.system.entry.js} +2 -2
  108. package/dist/calcite/{p-634b4667.js → p-a7579427.js} +2 -2
  109. package/dist/calcite/p-a898954c.system.entry.js +6 -0
  110. package/dist/calcite/{p-e9590974.entry.js → p-a8a53704.entry.js} +2 -2
  111. package/dist/calcite/{p-002ec83c.system.entry.js → p-a8f9c6d6.system.entry.js} +2 -2
  112. package/dist/calcite/p-a9f20b18.system.entry.js +6 -0
  113. package/dist/calcite/{p-d9bc6c90.system.entry.js → p-aa13a6c2.system.entry.js} +2 -2
  114. package/dist/calcite/{p-f7ffeafa.entry.js → p-aafc1a2f.entry.js} +2 -2
  115. package/dist/calcite/p-abe3683b.js +6 -0
  116. package/dist/calcite/{p-0b194b2f.system.entry.js → p-ad5972fc.system.entry.js} +2 -2
  117. package/dist/calcite/{p-556f99b3.js → p-ad63ba8c.js} +1 -1
  118. package/dist/calcite/{p-c6e8c158.entry.js → p-af602be9.entry.js} +2 -2
  119. package/dist/calcite/{p-c8ceec2d.js → p-afb86c1a.js} +1 -1
  120. package/dist/calcite/{p-d815a193.js → p-b21f44b7.js} +1 -1
  121. package/dist/calcite/p-b248c3b2.entry.js +6 -0
  122. package/dist/calcite/p-b2649312.entry.js +6 -0
  123. package/dist/calcite/{p-27644b63.entry.js → p-b26e592b.entry.js} +2 -2
  124. package/dist/calcite/{p-d22701df.system.entry.js → p-b4c56282.system.entry.js} +2 -2
  125. package/dist/calcite/p-b6dc1fbb.js +6 -0
  126. package/dist/calcite/{p-46c9c1da.system.entry.js → p-b73dc693.system.entry.js} +2 -2
  127. package/dist/calcite/{p-05e8f5e7.entry.js → p-b855c064.entry.js} +2 -2
  128. package/dist/calcite/{p-a0a7d286.entry.js → p-b8810eb8.entry.js} +2 -2
  129. package/dist/calcite/{p-4407d4e4.system.js → p-b91d70ea.system.js} +1 -1
  130. package/dist/calcite/{p-30805900.system.entry.js → p-ba9faef1.system.entry.js} +2 -2
  131. package/dist/calcite/{p-f36a9b83.entry.js → p-bbd25093.entry.js} +2 -2
  132. package/dist/calcite/{p-94c24c02.entry.js → p-bd0c7dee.entry.js} +2 -2
  133. package/dist/calcite/p-bd1fb33a.entry.js +6 -0
  134. package/dist/calcite/{p-55bb2cdc.system.entry.js → p-bf1c3465.system.entry.js} +2 -2
  135. package/dist/calcite/{p-47810f6d.entry.js → p-c2d7f995.entry.js} +2 -2
  136. package/dist/calcite/{p-0149d27c.entry.js → p-c54ba294.entry.js} +2 -2
  137. package/dist/calcite/{p-be2321b0.system.entry.js → p-c6005ea4.system.entry.js} +2 -2
  138. package/dist/calcite/{p-63146b51.js → p-c769a124.js} +1 -1
  139. package/dist/calcite/{p-d85c22c9.system.entry.js → p-c8d7baeb.system.entry.js} +2 -2
  140. package/dist/calcite/p-c93fd4d4.system.entry.js +6 -0
  141. package/dist/calcite/p-c9d74771.system.js +6 -0
  142. package/dist/calcite/{p-6aee159f.js → p-c9f24014.js} +2 -2
  143. package/dist/calcite/{p-0a5fc96c.entry.js → p-ca9d349d.entry.js} +2 -2
  144. package/dist/calcite/{p-1990acbf.entry.js → p-cbe27383.entry.js} +2 -2
  145. package/dist/calcite/{p-6f62d2c6.system.js → p-cc5b9672.system.js} +1 -1
  146. package/dist/calcite/{p-2560a58e.system.entry.js → p-cd1e35ee.system.entry.js} +2 -2
  147. package/dist/calcite/{p-e342902c.system.entry.js → p-cdd4697e.system.entry.js} +2 -2
  148. package/dist/calcite/p-ce3da917.system.js +6 -0
  149. package/dist/calcite/p-cf3ea746.entry.js +6 -0
  150. package/dist/calcite/{p-4ae377e7.system.entry.js → p-cf3fb5a0.system.entry.js} +2 -2
  151. package/dist/calcite/{p-d3e3c001.entry.js → p-d064ce65.entry.js} +2 -2
  152. package/dist/calcite/p-d0ea54b5.system.entry.js +6 -0
  153. package/dist/calcite/p-d0fbf0a6.entry.js +6 -0
  154. package/dist/calcite/p-d3bb2db1.entry.js +6 -0
  155. package/dist/calcite/{p-38043ca4.entry.js → p-d4772885.entry.js} +2 -2
  156. package/dist/calcite/{p-7e3170f3.entry.js → p-d6933313.entry.js} +2 -2
  157. package/dist/calcite/{p-103e5afd.system.entry.js → p-d69d2ceb.system.entry.js} +2 -2
  158. package/dist/calcite/{p-b3675053.js → p-d70de307.js} +2 -2
  159. package/dist/calcite/p-d9f72aca.system.entry.js +6 -0
  160. package/dist/calcite/{p-6a600418.entry.js → p-dabfab4d.entry.js} +2 -2
  161. package/dist/calcite/{p-3ff82cf1.entry.js → p-dae459bf.entry.js} +2 -2
  162. package/dist/calcite/{p-b495901b.entry.js → p-dca7a79c.entry.js} +2 -2
  163. package/dist/calcite/{p-d18ddc53.system.entry.js → p-dda4734d.system.entry.js} +2 -2
  164. package/dist/calcite/{p-75817bd0.system.js → p-defa0c9d.system.js} +1 -1
  165. package/dist/calcite/p-df16481d.system.entry.js +6 -0
  166. package/dist/calcite/{p-2ce5c529.system.js → p-df2b9dd8.system.js} +2 -2
  167. package/dist/calcite/{p-3d1abd24.system.js → p-e0f33780.system.js} +2 -2
  168. package/dist/calcite/{p-e8b30d42.system.js → p-e1d7243b.system.js} +1 -1
  169. package/dist/calcite/{p-8ad9220f.system.js → p-e7dc1543.system.js} +1 -1
  170. package/dist/calcite/{p-7a03365e.entry.js → p-e7f9f911.entry.js} +2 -2
  171. package/dist/calcite/p-ebe41e88.entry.js +6 -0
  172. package/dist/calcite/{p-528aaf72.system.entry.js → p-edcb605e.system.entry.js} +2 -2
  173. package/dist/calcite/{p-00367ed4.system.js → p-ee2ba171.system.js} +2 -2
  174. package/dist/calcite/{p-7d44b9ba.system.js → p-ef95d6d7.system.js} +2 -2
  175. package/dist/calcite/{p-aae82ee7.js → p-f1873d3e.js} +1 -1
  176. package/dist/calcite/{p-f22fd556.system.js → p-f2564d1d.system.js} +2 -2
  177. package/dist/calcite/{p-9544cb29.entry.js → p-f2592bd5.entry.js} +2 -2
  178. package/dist/calcite/{p-5676272d.system.js → p-f28e72db.system.js} +1 -1
  179. package/dist/calcite/{p-d5a25382.entry.js → p-f2d22297.entry.js} +2 -2
  180. package/dist/calcite/{p-33a4e116.entry.js → p-f5f0e229.entry.js} +2 -2
  181. package/dist/calcite/{p-c44b740a.system.js → p-ffab28ce.system.js} +2 -2
  182. package/dist/cjs/{ExpandToggle-8782dd2f.js → ExpandToggle-d01ba222.js} +5 -5
  183. package/dist/cjs/{Heading-d7f41298.js → Heading-5c8ae7c7.js} +2 -2
  184. package/dist/cjs/{app-globals-a7ded446.js → app-globals-ac11ea69.js} +2 -2
  185. package/dist/cjs/{array-1d4fc13d.js → array-1b1fee7a.js} +1 -1
  186. package/dist/cjs/calcite-accordion_2.cjs.entry.js +13 -11
  187. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  190. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-action.cjs.entry.js +8 -8
  192. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  194. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  195. package/dist/cjs/calcite-button.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  198. package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
  199. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +12 -12
  200. package/dist/cjs/calcite-combobox_3.cjs.entry.js +20 -18
  201. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  202. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -15
  203. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-flow-item.cjs.entry.js +142 -0
  206. package/dist/cjs/calcite-flow.cjs.entry.js +33 -33
  207. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  208. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  209. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  211. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -16
  212. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  213. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  214. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
  216. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  217. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  218. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  219. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  220. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  221. package/dist/cjs/calcite-modal.cjs.entry.js +23 -11
  222. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  223. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  224. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  225. package/dist/cjs/calcite-panel.cjs.entry.js +110 -104
  226. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  227. package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -17
  228. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  230. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  231. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  232. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  233. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  234. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  235. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  236. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  237. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  238. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  239. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  241. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  242. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  243. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  244. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  245. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  246. package/dist/cjs/calcite.cjs.js +5 -5
  247. package/dist/cjs/{conditionalSlot-9c0fa505.js → conditionalSlot-d467cd45.js} +3 -3
  248. package/dist/cjs/{debounce-19b40b8f.js → debounce-fdf01cb6.js} +1 -1
  249. package/dist/cjs/{dom-eaadcd89.js → dom-3eb34325.js} +3 -3
  250. package/dist/cjs/{filter-807d1608.js → filter-55af528e.js} +2 -2
  251. package/dist/cjs/{floating-ui-b204da9e.js → floating-ui-7329e890.js} +5 -3
  252. package/dist/cjs/{form-d12acbaa.js → form-80db0b5f.js} +3 -3
  253. package/dist/cjs/{guid-73c3edb1.js → guid-dc7f4ae8.js} +1 -1
  254. package/dist/cjs/{index-6bf394ff.js → index-371fa05d.js} +1 -1
  255. package/dist/cjs/index.cjs.js +1 -1
  256. package/dist/cjs/{interactive-26bbc844.js → interactive-0d5bf080.js} +1 -1
  257. package/dist/cjs/{interfaces-d80e4a30.js → interfaces-05dc4281.js} +1 -1
  258. package/dist/cjs/{key-afa2f3d6.js → key-7782fce0.js} +1 -1
  259. package/dist/cjs/{label-d075c31f.js → label-7d957162.js} +2 -2
  260. package/dist/cjs/loader.cjs.js +5 -5
  261. package/dist/cjs/{locale-93089c26.js → locale-c6c7e842.js} +2 -2
  262. package/dist/cjs/{math-1535633c.js → math-77342528.js} +1 -1
  263. package/dist/cjs/{observers-072222fa.js → observers-42cebe54.js} +1 -1
  264. package/dist/cjs/{openCloseComponent-a2a73280.js → openCloseComponent-d46fe480.js} +1 -1
  265. package/dist/cjs/{resources-5155666e.js → resources-08cedc9e.js} +3 -3
  266. package/dist/cjs/{resources-b97de259.js → resources-4c96ffc6.js} +1 -1
  267. package/dist/cjs/{resources-4f93a2ec.js → resources-6b16c623.js} +1 -1
  268. package/dist/cjs/resources-8d1dd980.js +52 -0
  269. package/dist/cjs/{resources-4ff9d0d2.js → resources-b5b9e02b.js} +5 -5
  270. package/dist/cjs/{resources-1ab38954.js → resources-ea6e7974.js} +1 -1
  271. package/dist/cjs/{sortable.esm-81835757.js → sortable.esm-e02e39de.js} +1 -1
  272. package/dist/cjs/{utils-8b591bb2.js → utils-bdda9970.js} +1 -1
  273. package/dist/collection/collection-manifest.json +1 -0
  274. package/dist/collection/components/accordion/accordion.js +9 -7
  275. package/dist/collection/components/accordion/interfaces.js +1 -1
  276. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  277. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  278. package/dist/collection/components/accordion-item/resources.js +1 -1
  279. package/dist/collection/components/action/action.css +12 -4
  280. package/dist/collection/components/action/action.js +1 -1
  281. package/dist/collection/components/action/resources.js +1 -1
  282. package/dist/collection/components/action-bar/action-bar.js +1 -1
  283. package/dist/collection/components/action-bar/resources.js +1 -1
  284. package/dist/collection/components/action-bar/utils.js +1 -1
  285. package/dist/collection/components/action-group/action-group.js +1 -1
  286. package/dist/collection/components/action-group/resources.js +1 -1
  287. package/dist/collection/components/action-menu/action-menu.js +1 -1
  288. package/dist/collection/components/action-menu/resources.js +1 -1
  289. package/dist/collection/components/action-pad/action-pad.js +1 -1
  290. package/dist/collection/components/action-pad/resources.js +1 -1
  291. package/dist/collection/components/alert/alert.js +1 -1
  292. package/dist/collection/components/alert/interfaces.js +1 -1
  293. package/dist/collection/components/alert/resources.js +1 -1
  294. package/dist/collection/components/avatar/avatar.js +1 -1
  295. package/dist/collection/components/avatar/utils.js +1 -1
  296. package/dist/collection/components/block/block.js +1 -1
  297. package/dist/collection/components/block/resources.js +1 -1
  298. package/dist/collection/components/block-section/block-section.js +1 -1
  299. package/dist/collection/components/block-section/interfaces.js +1 -1
  300. package/dist/collection/components/block-section/resources.js +1 -1
  301. package/dist/collection/components/button/button.css +111 -59
  302. package/dist/collection/components/button/button.js +2 -2
  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.css +0 -19
  306. package/dist/collection/components/card/card.js +1 -1
  307. package/dist/collection/components/card/resources.js +1 -1
  308. package/dist/collection/components/checkbox/checkbox.js +1 -1
  309. package/dist/collection/components/chip/chip.css +34 -18
  310. package/dist/collection/components/chip/chip.js +1 -1
  311. package/dist/collection/components/chip/interfaces.js +1 -1
  312. package/dist/collection/components/chip/resources.js +1 -1
  313. package/dist/collection/components/color-picker/color-picker.js +6 -6
  314. package/dist/collection/components/color-picker/interfaces.js +1 -1
  315. package/dist/collection/components/color-picker/resources.js +1 -1
  316. package/dist/collection/components/color-picker/utils.js +1 -1
  317. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  318. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  319. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  320. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  321. package/dist/collection/components/combobox/combobox.css +6 -0
  322. package/dist/collection/components/combobox/combobox.js +6 -4
  323. package/dist/collection/components/combobox/interfaces.js +1 -1
  324. package/dist/collection/components/combobox/resources.js +1 -1
  325. package/dist/collection/components/combobox/utils.js +1 -1
  326. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  327. package/dist/collection/components/combobox-item/resources.js +1 -1
  328. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  329. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  330. package/dist/collection/components/date-picker/date-picker.js +1 -1
  331. package/dist/collection/components/date-picker/interfaces.js +1 -1
  332. package/dist/collection/components/date-picker/resources.js +1 -1
  333. package/dist/collection/components/date-picker/utils.js +1 -1
  334. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  335. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  336. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  337. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  338. package/dist/collection/components/dropdown/dropdown.css +6 -0
  339. package/dist/collection/components/dropdown/dropdown.js +8 -7
  340. package/dist/collection/components/dropdown/interfaces.js +1 -1
  341. package/dist/collection/components/dropdown/resources.js +1 -1
  342. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  343. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  344. package/dist/collection/components/dropdown-group/resources.js +1 -1
  345. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  346. package/dist/collection/components/dropdown-item/resources.js +1 -1
  347. package/dist/collection/components/fab/fab.js +1 -1
  348. package/dist/collection/components/fab/resources.js +1 -1
  349. package/dist/collection/components/filter/filter.js +1 -1
  350. package/dist/collection/components/filter/resources.js +1 -1
  351. package/dist/collection/components/flow/flow.css +1 -0
  352. package/dist/collection/components/flow/flow.js +44 -38
  353. package/dist/collection/components/flow/interfaces.js +1 -1
  354. package/dist/collection/components/flow/resources.js +1 -1
  355. package/dist/collection/components/flow-item/flow-item.css +119 -0
  356. package/dist/collection/components/flow-item/flow-item.js +479 -0
  357. package/dist/collection/components/flow-item/resources.js +24 -0
  358. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  359. package/dist/collection/components/functional/Heading.js +1 -1
  360. package/dist/collection/components/graph/graph.js +1 -1
  361. package/dist/collection/components/graph/interfaces.js +1 -1
  362. package/dist/collection/components/graph/util.js +1 -1
  363. package/dist/collection/components/handle/handle.js +1 -1
  364. package/dist/collection/components/handle/resources.js +1 -1
  365. package/dist/collection/components/icon/icon.js +1 -1
  366. package/dist/collection/components/icon/resources.js +1 -1
  367. package/dist/collection/components/icon/utils.js +1 -1
  368. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  369. package/dist/collection/components/inline-editable/resources.js +1 -1
  370. package/dist/collection/components/input/input.js +1 -1
  371. package/dist/collection/components/input/interfaces.js +1 -1
  372. package/dist/collection/components/input/resources.js +1 -1
  373. package/dist/collection/components/input-date-picker/input-date-picker.css +9 -0
  374. package/dist/collection/components/input-date-picker/input-date-picker.js +6 -4
  375. package/dist/collection/components/input-date-picker/resources.js +1 -1
  376. package/dist/collection/components/input-message/input-message.js +1 -1
  377. package/dist/collection/components/input-message/interfaces.js +1 -1
  378. package/dist/collection/components/input-number/input-number.js +1 -1
  379. package/dist/collection/components/input-number/interfaces.js +1 -1
  380. package/dist/collection/components/input-number/resources.js +1 -1
  381. package/dist/collection/components/input-text/input-text.js +1 -1
  382. package/dist/collection/components/input-text/resources.js +1 -1
  383. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  384. package/dist/collection/components/interfaces.js +1 -1
  385. package/dist/collection/components/label/label.js +1 -1
  386. package/dist/collection/components/label/resources.js +1 -1
  387. package/dist/collection/components/link/link.js +1 -1
  388. package/dist/collection/components/list/list.js +1 -1
  389. package/dist/collection/components/list/resources.js +1 -1
  390. package/dist/collection/components/list-item/list-item.js +1 -1
  391. package/dist/collection/components/list-item/resources.js +1 -1
  392. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  393. package/dist/collection/components/list-item-group/resources.js +1 -1
  394. package/dist/collection/components/loader/loader.js +1 -1
  395. package/dist/collection/components/modal/interfaces.js +1 -1
  396. package/dist/collection/components/modal/modal.css +2 -2
  397. package/dist/collection/components/modal/modal.js +16 -4
  398. package/dist/collection/components/modal/resources.js +2 -1
  399. package/dist/collection/components/notice/notice.js +1 -1
  400. package/dist/collection/components/notice/resources.js +1 -1
  401. package/dist/collection/components/option/option.js +1 -1
  402. package/dist/collection/components/option-group/option-group.js +1 -1
  403. package/dist/collection/components/pagination/pagination.js +1 -1
  404. package/dist/collection/components/pagination/resources.js +1 -1
  405. package/dist/collection/components/panel/panel.css +5 -14
  406. package/dist/collection/components/panel/panel.js +134 -63
  407. package/dist/collection/components/panel/resources.js +2 -6
  408. package/dist/collection/components/pick-list/pick-list.js +1 -1
  409. package/dist/collection/components/pick-list/resources.js +1 -1
  410. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  411. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  412. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  413. package/dist/collection/components/pick-list-group/resources.js +1 -1
  414. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  415. package/dist/collection/components/pick-list-item/resources.js +1 -1
  416. package/dist/collection/components/popover/PopoverManager.js +5 -6
  417. package/dist/collection/components/popover/popover.js +4 -3
  418. package/dist/collection/components/popover/resources.js +1 -1
  419. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  420. package/dist/collection/components/progress/progress.js +1 -1
  421. package/dist/collection/components/radio-button/radio-button.js +1 -1
  422. package/dist/collection/components/radio-button/resources.js +1 -1
  423. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  424. package/dist/collection/components/radio-group/interfaces.js +1 -1
  425. package/dist/collection/components/radio-group/radio-group.js +1 -1
  426. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  427. package/dist/collection/components/radio-group-item/resources.js +1 -1
  428. package/dist/collection/components/rating/rating.js +1 -1
  429. package/dist/collection/components/rating/resources.js +1 -1
  430. package/dist/collection/components/scrim/resources.js +1 -1
  431. package/dist/collection/components/scrim/scrim.js +1 -1
  432. package/dist/collection/components/select/resources.js +1 -1
  433. package/dist/collection/components/select/select.js +1 -1
  434. package/dist/collection/components/shell/resources.js +1 -1
  435. package/dist/collection/components/shell/shell.js +1 -1
  436. package/dist/collection/components/shell-center-row/resources.js +1 -1
  437. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  438. package/dist/collection/components/shell-panel/resources.js +1 -1
  439. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  440. package/dist/collection/components/slider/slider.js +1 -1
  441. package/dist/collection/components/sortable-list/resources.js +1 -1
  442. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  443. package/dist/collection/components/split-button/resources.js +1 -1
  444. package/dist/collection/components/split-button/split-button.css +16 -10
  445. package/dist/collection/components/split-button/split-button.js +2 -2
  446. package/dist/collection/components/stepper/interfaces.js +1 -1
  447. package/dist/collection/components/stepper/stepper.js +1 -1
  448. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  449. package/dist/collection/components/switch/switch.js +1 -1
  450. package/dist/collection/components/tab/interfaces.js +1 -1
  451. package/dist/collection/components/tab/tab.js +1 -1
  452. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  453. package/dist/collection/components/tab-title/tab-title.js +1 -1
  454. package/dist/collection/components/tabs/interfaces.js +1 -1
  455. package/dist/collection/components/tabs/resources.js +1 -1
  456. package/dist/collection/components/tabs/tabs.js +1 -1
  457. package/dist/collection/components/tile/resources.js +1 -1
  458. package/dist/collection/components/tile/tile.js +1 -1
  459. package/dist/collection/components/tile-select/interfaces.js +1 -1
  460. package/dist/collection/components/tile-select/resources.js +1 -1
  461. package/dist/collection/components/tile-select/tile-select.js +1 -1
  462. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  463. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  464. package/dist/collection/components/time-picker/resources.js +1 -1
  465. package/dist/collection/components/time-picker/time-picker.js +1 -1
  466. package/dist/collection/components/tip/resources.js +1 -1
  467. package/dist/collection/components/tip/tip.js +1 -1
  468. package/dist/collection/components/tip-group/tip-group.js +1 -1
  469. package/dist/collection/components/tip-manager/resources.js +1 -1
  470. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  471. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  472. package/dist/collection/components/tooltip/resources.js +1 -1
  473. package/dist/collection/components/tooltip/tooltip.js +1 -1
  474. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  475. package/dist/collection/components/tree/interfaces.js +1 -1
  476. package/dist/collection/components/tree/tree.js +1 -1
  477. package/dist/collection/components/tree-item/interfaces.js +1 -1
  478. package/dist/collection/components/tree-item/resources.js +1 -1
  479. package/dist/collection/components/tree-item/tree-item.js +1 -1
  480. package/dist/collection/components/value-list/interfaces.js +1 -1
  481. package/dist/collection/components/value-list/resources.js +1 -1
  482. package/dist/collection/components/value-list/utils.js +1 -1
  483. package/dist/collection/components/value-list/value-list.js +1 -1
  484. package/dist/collection/components/value-list-item/resources.js +1 -1
  485. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  486. package/dist/collection/utils/array.js +1 -1
  487. package/dist/collection/utils/conditionalSlot.js +1 -1
  488. package/dist/collection/utils/date.js +1 -1
  489. package/dist/collection/utils/dom.js +1 -1
  490. package/dist/collection/utils/filter.js +1 -1
  491. package/dist/collection/utils/floating-ui.js +4 -2
  492. package/dist/collection/utils/form.js +1 -1
  493. package/dist/collection/utils/globalAttributes.js +1 -1
  494. package/dist/collection/utils/globalScript.js +1 -1
  495. package/dist/collection/utils/guid.js +1 -1
  496. package/dist/collection/utils/interactive.js +1 -1
  497. package/dist/collection/utils/key.js +1 -1
  498. package/dist/collection/utils/label.js +1 -1
  499. package/dist/collection/utils/locale.js +1 -1
  500. package/dist/collection/utils/math.js +1 -1
  501. package/dist/collection/utils/number.js +1 -1
  502. package/dist/collection/utils/observers.js +1 -1
  503. package/dist/collection/utils/openCloseComponent.js +1 -1
  504. package/dist/collection/utils/resources.js +1 -1
  505. package/dist/collection/utils/theme.js +1 -1
  506. package/dist/collection/utils/time.js +1 -1
  507. package/dist/components/ExpandToggle.js +1 -1
  508. package/dist/components/Heading.js +1 -1
  509. package/dist/components/action-group.js +1 -1
  510. package/dist/components/action-menu.js +1 -1
  511. package/dist/components/action.js +2 -2
  512. package/dist/components/array.js +1 -1
  513. package/dist/components/button.js +2 -2
  514. package/dist/components/calcite-accordion-item.js +1 -1
  515. package/dist/components/calcite-accordion.js +7 -5
  516. package/dist/components/calcite-action-bar.js +1 -1
  517. package/dist/components/calcite-action-group.js +1 -1
  518. package/dist/components/calcite-action-menu.js +1 -1
  519. package/dist/components/calcite-action-pad.js +1 -1
  520. package/dist/components/calcite-action.js +1 -1
  521. package/dist/components/calcite-alert.js +1 -1
  522. package/dist/components/calcite-avatar.js +1 -1
  523. package/dist/components/calcite-block-section.js +1 -1
  524. package/dist/components/calcite-block.js +1 -1
  525. package/dist/components/calcite-button.js +1 -1
  526. package/dist/components/calcite-card.js +2 -2
  527. package/dist/components/calcite-checkbox.js +1 -1
  528. package/dist/components/calcite-chip.js +1 -1
  529. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  530. package/dist/components/calcite-color-picker-swatch.js +1 -1
  531. package/dist/components/calcite-color-picker.js +3 -3
  532. package/dist/components/calcite-combobox-item-group.js +1 -1
  533. package/dist/components/calcite-combobox-item.js +1 -1
  534. package/dist/components/calcite-combobox.js +7 -5
  535. package/dist/components/calcite-date-picker-day.js +1 -1
  536. package/dist/components/calcite-date-picker-month-header.js +1 -1
  537. package/dist/components/calcite-date-picker-month.js +1 -1
  538. package/dist/components/calcite-date-picker.js +1 -1
  539. package/dist/components/calcite-dropdown-group.js +1 -1
  540. package/dist/components/calcite-dropdown-item.js +1 -1
  541. package/dist/components/calcite-dropdown.js +1 -1
  542. package/dist/components/calcite-fab.js +1 -1
  543. package/dist/components/calcite-filter.js +1 -1
  544. package/dist/components/calcite-flow-item.d.ts +11 -0
  545. package/dist/components/calcite-flow-item.js +214 -0
  546. package/dist/components/calcite-flow.js +34 -34
  547. package/dist/components/calcite-graph.js +1 -1
  548. package/dist/components/calcite-handle.js +1 -1
  549. package/dist/components/calcite-icon.js +1 -1
  550. package/dist/components/calcite-inline-editable.js +1 -1
  551. package/dist/components/calcite-input-date-picker.js +6 -4
  552. package/dist/components/calcite-input-message.js +1 -1
  553. package/dist/components/calcite-input-number.js +1 -1
  554. package/dist/components/calcite-input-text.js +1 -1
  555. package/dist/components/calcite-input-time-picker.js +1 -1
  556. package/dist/components/calcite-input.js +1 -1
  557. package/dist/components/calcite-label.js +1 -1
  558. package/dist/components/calcite-link.js +1 -1
  559. package/dist/components/calcite-list-item-group.js +1 -1
  560. package/dist/components/calcite-list-item.js +1 -1
  561. package/dist/components/calcite-list.js +1 -1
  562. package/dist/components/calcite-loader.js +1 -1
  563. package/dist/components/calcite-modal.js +17 -4
  564. package/dist/components/calcite-notice.js +1 -1
  565. package/dist/components/calcite-option-group.js +1 -1
  566. package/dist/components/calcite-option.js +1 -1
  567. package/dist/components/calcite-pagination.js +1 -1
  568. package/dist/components/calcite-panel.js +2 -393
  569. package/dist/components/calcite-pick-list-group.js +1 -1
  570. package/dist/components/calcite-pick-list-item.js +1 -1
  571. package/dist/components/calcite-pick-list.js +1 -1
  572. package/dist/components/calcite-popover-manager.js +1 -1
  573. package/dist/components/calcite-popover.js +1 -1
  574. package/dist/components/calcite-progress.js +1 -1
  575. package/dist/components/calcite-radio-button-group.js +1 -1
  576. package/dist/components/calcite-radio-button.js +1 -1
  577. package/dist/components/calcite-radio-group-item.js +1 -1
  578. package/dist/components/calcite-radio-group.js +1 -1
  579. package/dist/components/calcite-rating.js +1 -1
  580. package/dist/components/calcite-scrim.js +1 -1
  581. package/dist/components/calcite-select.js +1 -1
  582. package/dist/components/calcite-shell-center-row.js +1 -1
  583. package/dist/components/calcite-shell-panel.js +1 -1
  584. package/dist/components/calcite-shell.js +1 -1
  585. package/dist/components/calcite-slider.js +1 -1
  586. package/dist/components/calcite-sortable-list.js +1 -1
  587. package/dist/components/calcite-split-button.js +2 -2
  588. package/dist/components/calcite-stepper-item.js +1 -1
  589. package/dist/components/calcite-stepper.js +1 -1
  590. package/dist/components/calcite-switch.js +1 -1
  591. package/dist/components/calcite-tab-nav.js +1 -1
  592. package/dist/components/calcite-tab-title.js +1 -1
  593. package/dist/components/calcite-tab.js +1 -1
  594. package/dist/components/calcite-tabs.js +1 -1
  595. package/dist/components/calcite-tile-select-group.js +1 -1
  596. package/dist/components/calcite-tile-select.js +1 -1
  597. package/dist/components/calcite-tile.js +1 -1
  598. package/dist/components/calcite-time-picker.js +1 -1
  599. package/dist/components/calcite-tip-group.js +1 -1
  600. package/dist/components/calcite-tip-manager.js +1 -1
  601. package/dist/components/calcite-tip.js +1 -1
  602. package/dist/components/calcite-tooltip-manager.js +1 -1
  603. package/dist/components/calcite-tooltip.js +1 -1
  604. package/dist/components/calcite-tree-item.js +1 -1
  605. package/dist/components/calcite-tree.js +1 -1
  606. package/dist/components/calcite-value-list-item.js +1 -1
  607. package/dist/components/calcite-value-list.js +1 -1
  608. package/dist/components/checkbox.js +1 -1
  609. package/dist/components/chip.js +2 -2
  610. package/dist/components/color-picker-hex-input.js +1 -1
  611. package/dist/components/color-picker-swatch.js +1 -1
  612. package/dist/components/conditionalSlot.js +1 -1
  613. package/dist/components/date-picker-day.js +1 -1
  614. package/dist/components/date-picker-month-header.js +1 -1
  615. package/dist/components/date-picker-month.js +1 -1
  616. package/dist/components/date-picker.js +1 -1
  617. package/dist/components/date.js +1 -1
  618. package/dist/components/debounce.js +1 -1
  619. package/dist/components/dom.js +1 -1
  620. package/dist/components/dropdown.js +8 -6
  621. package/dist/components/filter.js +1 -1
  622. package/dist/components/filter2.js +1 -1
  623. package/dist/components/floating-ui.js +4 -2
  624. package/dist/components/form.js +1 -1
  625. package/dist/components/graph.js +1 -1
  626. package/dist/components/guid.js +1 -1
  627. package/dist/components/handle.js +1 -1
  628. package/dist/components/icon.js +1 -1
  629. package/dist/components/index.js +1 -1
  630. package/dist/components/input.js +1 -1
  631. package/dist/components/interactive.js +1 -1
  632. package/dist/components/interfaces.js +1 -1
  633. package/dist/components/interfaces2.js +1 -1
  634. package/dist/components/key.js +1 -1
  635. package/dist/components/label.js +1 -1
  636. package/dist/components/label2.js +1 -1
  637. package/dist/components/link.js +1 -1
  638. package/dist/components/loader.js +1 -1
  639. package/dist/components/locale.js +1 -1
  640. package/dist/components/math.js +1 -1
  641. package/dist/components/observers.js +1 -1
  642. package/dist/components/openCloseComponent.js +1 -1
  643. package/dist/components/panel.js +451 -0
  644. package/dist/components/pick-list-item.js +1 -1
  645. package/dist/components/popover.js +8 -8
  646. package/dist/components/progress.js +1 -1
  647. package/dist/components/resources.js +1 -1
  648. package/dist/components/resources2.js +1 -1
  649. package/dist/components/resources3.js +1 -1
  650. package/dist/components/resources4.js +1 -1
  651. package/dist/components/scrim.js +1 -1
  652. package/dist/components/shared-list-render.js +1 -1
  653. package/dist/components/sortable.esm.js +1 -1
  654. package/dist/components/switch.js +1 -1
  655. package/dist/components/tab-nav.js +1 -1
  656. package/dist/components/tab-title.js +1 -1
  657. package/dist/components/tab.js +1 -1
  658. package/dist/components/tabs.js +1 -1
  659. package/dist/components/tile.js +1 -1
  660. package/dist/components/time-picker.js +1 -1
  661. package/dist/components/utils.js +1 -1
  662. package/dist/components/utils2.js +1 -1
  663. package/dist/custom-elements/index.d.ts +6 -0
  664. package/dist/custom-elements/index.js +714 -517
  665. package/dist/esm/{ExpandToggle-d33b69db.js → ExpandToggle-f1f93ed7.js} +5 -5
  666. package/dist/esm/{Heading-cc745c4a.js → Heading-17772655.js} +2 -2
  667. package/dist/esm/{app-globals-e1c2379e.js → app-globals-fd18e0c0.js} +2 -2
  668. package/dist/esm/{array-51e6fec9.js → array-23601dc0.js} +1 -1
  669. package/dist/esm/calcite-accordion_2.entry.js +13 -11
  670. package/dist/esm/calcite-action-bar.entry.js +11 -11
  671. package/dist/esm/calcite-action-group.entry.js +9 -9
  672. package/dist/esm/calcite-action-menu.entry.js +8 -8
  673. package/dist/esm/calcite-action-pad.entry.js +10 -10
  674. package/dist/esm/calcite-action.entry.js +8 -8
  675. package/dist/esm/calcite-alert.entry.js +7 -7
  676. package/dist/esm/calcite-avatar.entry.js +6 -6
  677. package/dist/esm/calcite-block_2.entry.js +10 -10
  678. package/dist/esm/calcite-button.entry.js +10 -10
  679. package/dist/esm/calcite-card.entry.js +8 -8
  680. package/dist/esm/calcite-checkbox.entry.js +9 -9
  681. package/dist/esm/calcite-chip.entry.js +8 -8
  682. package/dist/esm/calcite-color-picker_3.entry.js +12 -12
  683. package/dist/esm/calcite-combobox_3.entry.js +20 -18
  684. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  685. package/dist/esm/calcite-dropdown_3.entry.js +17 -15
  686. package/dist/esm/calcite-fab.entry.js +6 -6
  687. package/dist/esm/calcite-filter.entry.js +8 -8
  688. package/dist/esm/calcite-flow-item.entry.js +138 -0
  689. package/dist/esm/calcite-flow.entry.js +33 -33
  690. package/dist/esm/calcite-graph_2.entry.js +11 -11
  691. package/dist/esm/calcite-handle.entry.js +5 -5
  692. package/dist/esm/calcite-icon.entry.js +6 -6
  693. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  694. package/dist/esm/calcite-input-date-picker.entry.js +18 -16
  695. package/dist/esm/calcite-input-message.entry.js +5 -5
  696. package/dist/esm/calcite-input-number.entry.js +12 -12
  697. package/dist/esm/calcite-input-text.entry.js +9 -9
  698. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
  699. package/dist/esm/calcite-input.entry.js +12 -12
  700. package/dist/esm/calcite-label.entry.js +6 -6
  701. package/dist/esm/calcite-link.entry.js +6 -6
  702. package/dist/esm/calcite-list_3.entry.js +9 -9
  703. package/dist/esm/calcite-loader.entry.js +3 -3
  704. package/dist/esm/calcite-modal.entry.js +23 -11
  705. package/dist/esm/calcite-notice.entry.js +8 -8
  706. package/dist/esm/calcite-option_3.entry.js +9 -9
  707. package/dist/esm/calcite-pagination.entry.js +5 -5
  708. package/dist/esm/calcite-panel.entry.js +102 -96
  709. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  710. package/dist/esm/calcite-popover_2.entry.js +17 -17
  711. package/dist/esm/calcite-progress.entry.js +2 -2
  712. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  713. package/dist/esm/calcite-radio-button.entry.js +9 -9
  714. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  715. package/dist/esm/calcite-rating.entry.js +9 -9
  716. package/dist/esm/calcite-scrim.entry.js +2 -2
  717. package/dist/esm/calcite-shell_3.entry.js +8 -8
  718. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  719. package/dist/esm/calcite-split-button.entry.js +4 -4
  720. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  721. package/dist/esm/calcite-switch.entry.js +9 -9
  722. package/dist/esm/calcite-tab_4.entry.js +7 -7
  723. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  724. package/dist/esm/calcite-tile.entry.js +8 -8
  725. package/dist/esm/calcite-tip_3.entry.js +8 -8
  726. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  727. package/dist/esm/calcite-tree_2.entry.js +7 -7
  728. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  729. package/dist/esm/calcite.js +5 -5
  730. package/dist/esm/{conditionalSlot-d174e645.js → conditionalSlot-e4e51860.js} +3 -3
  731. package/dist/esm/{debounce-97ec2bf5.js → debounce-f443feec.js} +1 -1
  732. package/dist/esm/{dom-ada6955f.js → dom-a8dad893.js} +3 -3
  733. package/dist/esm/{filter-95fc6fc6.js → filter-093821c0.js} +2 -2
  734. package/dist/esm/{floating-ui-1dbb3151.js → floating-ui-26990792.js} +5 -3
  735. package/dist/esm/{form-13f50160.js → form-08fd9bc5.js} +3 -3
  736. package/dist/esm/{guid-a51b25d0.js → guid-b990c4d2.js} +1 -1
  737. package/dist/esm/{index-47008242.js → index-8b5f2ff9.js} +1 -1
  738. package/dist/esm/index.js +1 -1
  739. package/dist/esm/{interactive-d8ae72af.js → interactive-e72598f1.js} +1 -1
  740. package/dist/esm/{interfaces-1d49904b.js → interfaces-58f534e2.js} +1 -1
  741. package/dist/esm/{key-66ffc0a6.js → key-9cbf7b92.js} +1 -1
  742. package/dist/esm/{label-a7ae8219.js → label-cd0fc1fd.js} +2 -2
  743. package/dist/esm/loader.js +5 -5
  744. package/dist/esm/{locale-8929fd51.js → locale-26bd4f96.js} +2 -2
  745. package/dist/esm/{math-be7d2f3b.js → math-519aad80.js} +1 -1
  746. package/dist/esm/{observers-1c28ae12.js → observers-b2199b39.js} +1 -1
  747. package/dist/esm/{openCloseComponent-07a8007c.js → openCloseComponent-6cc92b6d.js} +1 -1
  748. package/dist/esm/{resources-8df5b958.js → resources-08de72a5.js} +3 -3
  749. package/dist/esm/{resources-c467e503.js → resources-0fcef459.js} +1 -1
  750. package/dist/esm/{resources-9480c6af.js → resources-11a525a9.js} +5 -5
  751. package/dist/esm/{resources-47135f28.js → resources-222b83b4.js} +1 -1
  752. package/dist/esm/resources-5784443c.js +46 -0
  753. package/dist/esm/{resources-9edb97ea.js → resources-fcc173ea.js} +1 -1
  754. package/dist/esm/{sortable.esm-41e7c566.js → sortable.esm-b374e5fb.js} +1 -1
  755. package/dist/esm/{utils-535af390.js → utils-e80bf55b.js} +1 -1
  756. package/dist/esm-es5/{ExpandToggle-d33b69db.js → ExpandToggle-f1f93ed7.js} +2 -2
  757. package/dist/esm-es5/{Heading-cc745c4a.js → Heading-17772655.js} +2 -2
  758. package/dist/esm-es5/{app-globals-e1c2379e.js → app-globals-fd18e0c0.js} +2 -2
  759. package/dist/esm-es5/{array-51e6fec9.js → array-23601dc0.js} +1 -1
  760. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  761. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  762. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  763. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  764. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  765. package/dist/esm-es5/calcite-action.entry.js +3 -3
  766. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  767. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  768. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  769. package/dist/esm-es5/calcite-button.entry.js +2 -2
  770. package/dist/esm-es5/calcite-card.entry.js +2 -2
  771. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  772. package/dist/esm-es5/calcite-chip.entry.js +3 -3
  773. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  774. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  775. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  776. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  777. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  778. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  779. package/dist/esm-es5/calcite-flow-item.entry.js +6 -0
  780. package/dist/esm-es5/calcite-flow.entry.js +3 -3
  781. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  782. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  783. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  784. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  785. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  786. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  787. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  788. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  789. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-input.entry.js +2 -2
  791. package/dist/esm-es5/calcite-label.entry.js +2 -2
  792. package/dist/esm-es5/calcite-link.entry.js +2 -2
  793. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  794. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  795. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  796. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  797. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  798. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  799. package/dist/esm-es5/calcite-panel.entry.js +3 -3
  800. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  801. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  802. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  803. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  804. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  805. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  806. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  807. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  808. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  809. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  810. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  811. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  812. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  813. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  814. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  815. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  816. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  817. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  818. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  819. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  820. package/dist/esm-es5/calcite.js +2 -2
  821. package/dist/esm-es5/{conditionalSlot-d174e645.js → conditionalSlot-e4e51860.js} +2 -2
  822. package/dist/esm-es5/{debounce-97ec2bf5.js → debounce-f443feec.js} +1 -1
  823. package/dist/esm-es5/{dom-ada6955f.js → dom-a8dad893.js} +2 -2
  824. package/dist/esm-es5/{filter-95fc6fc6.js → filter-093821c0.js} +2 -2
  825. package/dist/esm-es5/{floating-ui-1dbb3151.js → floating-ui-26990792.js} +2 -2
  826. package/dist/esm-es5/{form-13f50160.js → form-08fd9bc5.js} +2 -2
  827. package/dist/esm-es5/{guid-a51b25d0.js → guid-b990c4d2.js} +1 -1
  828. package/dist/esm-es5/{index-47008242.js → index-8b5f2ff9.js} +1 -1
  829. package/dist/esm-es5/index.js +1 -1
  830. package/dist/esm-es5/{interactive-d8ae72af.js → interactive-e72598f1.js} +1 -1
  831. package/dist/esm-es5/{interfaces-1d49904b.js → interfaces-58f534e2.js} +1 -1
  832. package/dist/esm-es5/{key-66ffc0a6.js → key-9cbf7b92.js} +1 -1
  833. package/dist/esm-es5/{label-a7ae8219.js → label-cd0fc1fd.js} +2 -2
  834. package/dist/esm-es5/loader.js +2 -2
  835. package/dist/esm-es5/{locale-8929fd51.js → locale-26bd4f96.js} +2 -2
  836. package/dist/esm-es5/{math-be7d2f3b.js → math-519aad80.js} +1 -1
  837. package/dist/esm-es5/{observers-1c28ae12.js → observers-b2199b39.js} +1 -1
  838. package/dist/esm-es5/{openCloseComponent-07a8007c.js → openCloseComponent-6cc92b6d.js} +1 -1
  839. package/dist/esm-es5/{resources-8df5b958.js → resources-08de72a5.js} +2 -2
  840. package/dist/esm-es5/{resources-c467e503.js → resources-0fcef459.js} +1 -1
  841. package/dist/esm-es5/{resources-9480c6af.js → resources-11a525a9.js} +2 -2
  842. package/dist/esm-es5/{resources-47135f28.js → resources-222b83b4.js} +1 -1
  843. package/dist/esm-es5/resources-5784443c.js +6 -0
  844. package/dist/esm-es5/{resources-9edb97ea.js → resources-fcc173ea.js} +1 -1
  845. package/dist/esm-es5/{sortable.esm-41e7c566.js → sortable.esm-b374e5fb.js} +1 -1
  846. package/dist/esm-es5/{utils-535af390.js → utils-e80bf55b.js} +1 -1
  847. package/dist/extras/docs-json.json +542 -21
  848. package/dist/loader/cdn.js +1 -1
  849. package/dist/loader/index.cjs.js +1 -1
  850. package/dist/loader/index.es2017.js +1 -1
  851. package/dist/loader/index.js +1 -1
  852. package/dist/types/components/accordion/interfaces.d.ts +1 -1
  853. package/dist/types/components/button/interfaces.d.ts +1 -1
  854. package/dist/types/components/color-picker/color-picker.d.ts +1 -1
  855. package/dist/types/components/color-picker/interfaces.d.ts +1 -1
  856. package/dist/types/components/flow/flow.d.ts +8 -8
  857. package/dist/types/components/flow-item/flow-item.d.ts +100 -0
  858. package/dist/types/components/flow-item/resources.d.ts +19 -0
  859. package/dist/types/components/interfaces.d.ts +1 -1
  860. package/dist/types/components/modal/modal.d.ts +6 -0
  861. package/dist/types/components/modal/resources.d.ts +1 -0
  862. package/dist/types/components/panel/panel.d.ts +25 -4
  863. package/dist/types/components/panel/resources.d.ts +0 -4
  864. package/dist/types/components.d.ts +162 -5
  865. package/dist/types/preact.d.ts +4 -0
  866. package/dist/types/utils/floating-ui.d.ts +10 -2
  867. package/hydrate/index.js +755 -517
  868. package/package.json +5 -5
  869. package/readme.md +2 -2
  870. package/dist/calcite/p-01f33421.js +0 -6
  871. package/dist/calcite/p-03dbcd7d.system.entry.js +0 -6
  872. package/dist/calcite/p-0bcceda2.system.entry.js +0 -6
  873. package/dist/calcite/p-127c4501.entry.js +0 -6
  874. package/dist/calcite/p-3a7e9f2e.entry.js +0 -6
  875. package/dist/calcite/p-3cfab2ca.entry.js +0 -6
  876. package/dist/calcite/p-45353e58.system.entry.js +0 -6
  877. package/dist/calcite/p-65506efd.system.entry.js +0 -6
  878. package/dist/calcite/p-68339cba.js +0 -6
  879. package/dist/calcite/p-6fbdf6b8.system.entry.js +0 -6
  880. package/dist/calcite/p-7772682c.entry.js +0 -6
  881. package/dist/calcite/p-7fd192b5.system.entry.js +0 -6
  882. package/dist/calcite/p-853b363e.system.js +0 -6
  883. package/dist/calcite/p-8a93016a.system.entry.js +0 -6
  884. package/dist/calcite/p-90dc377d.entry.js +0 -6
  885. package/dist/calcite/p-936abd8d.system.entry.js +0 -6
  886. package/dist/calcite/p-948a5867.system.entry.js +0 -6
  887. package/dist/calcite/p-9529657d.entry.js +0 -6
  888. package/dist/calcite/p-ba1859b0.entry.js +0 -6
  889. package/dist/calcite/p-bf05225a.entry.js +0 -6
  890. package/dist/calcite/p-c451ce2e.entry.js +0 -6
  891. package/dist/calcite/p-d97dd30a.entry.js +0 -6
  892. package/dist/calcite/p-dc063bce.system.js +0 -6
  893. package/dist/calcite/p-eceed63b.entry.js +0 -6
  894. package/dist/calcite/p-f88777d1.entry.js +0 -6
  895. package/dist/calcite/p-fe158e3f.system.entry.js +0 -6
  896. package/dist/calcite/p-fe656a4f.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.571
4
+ * v1.0.0-next.574
5
5
  */
6
- import{r as registerInstance,h,g as getElement}from"./index-47008242.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-8b5f2ff9.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.571
4
+ * v1.0.0-next.574
5
5
  */
6
- import{r as registerInstance,h,F as Fragment,g as getElement,c as createEvent,f as forceUpdate}from"./index-47008242.js";import{g as getSlotted,a as getElementDir}from"./dom-ada6955f.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-d174e645.js";import{c as clamp}from"./math-be7d2f3b.js";import"./resources-c467e503.js";import"./guid-a51b25d0.js";import"./observers-1c28ae12.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-8b5f2ff9.js";import{g as getSlotted,a as getElementDir}from"./dom-a8dad893.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-e4e51860.js";import{c as clamp}from"./math-519aad80.js";import"./resources-0fcef459.js";import"./guid-b990c4d2.js";import"./observers-b2199b39.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.571
4
+ * v1.0.0-next.574
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-47008242.js";import{S as Sortable}from"./sortable.esm-41e7c566.js";import{c as createObserver}from"./observers-1c28ae12.js";import{u as updateHostInteraction}from"./interactive-d8ae72af.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-8b5f2ff9.js";import{S as Sortable}from"./sortable.esm-b374e5fb.js";import{c as createObserver}from"./observers-b2199b39.js";import{u as updateHostInteraction}from"./interactive-e72598f1.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.571
4
+ * v1.0.0-next.574
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-47008242.js";import{u as updateHostInteraction}from"./interactive-d8ae72af.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([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):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{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{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]: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]){--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]){--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{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-8b5f2ff9.js";import{u as updateHostInteraction}from"./interactive-e72598f1.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.571
6
- */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-47008242.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-ada6955f.js";import{u as updateHostInteraction}from"./interactive-d8ae72af.js";import"./resources-c467e503.js";import"./guid-a51b25d0.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.574
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement,H as Host}from"./index-8b5f2ff9.js";import{f as focusElement,d as getElementProp,t as toAriaBoolean}from"./dom-a8dad893.js";import{u as updateHostInteraction}from"./interactive-e72598f1.js";import"./resources-0fcef459.js";import"./guid-b990c4d2.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.571
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-47008242.js";import{f as focusElement,t as toAriaBoolean}from"./dom-ada6955f.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-a7ae8219.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-13f50160.js";import{u as updateHostInteraction}from"./interactive-d8ae72af.js";import{i as isActivationKey}from"./key-66ffc0a6.js";import"./resources-c467e503.js";import"./guid-a51b25d0.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.574
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-8b5f2ff9.js";import{f as focusElement,t as toAriaBoolean}from"./dom-a8dad893.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-cd0fc1fd.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-08fd9bc5.js";import{u as updateHostInteraction}from"./interactive-e72598f1.js";import{i as isActivationKey}from"./key-9cbf7b92.js";import"./resources-0fcef459.js";import"./guid-b990c4d2.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};