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

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 (840) 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-6f35a22e.system.entry.js → p-00f14d56.system.entry.js} +2 -2
  5. package/dist/calcite/{p-3d1abd24.system.js → p-00fc9dc6.system.js} +2 -2
  6. package/dist/calcite/{p-6fbdf6b8.system.entry.js → p-02125aed.system.entry.js} +2 -2
  7. package/dist/calcite/{p-84323215.system.entry.js → p-02fd59b1.system.entry.js} +2 -2
  8. package/dist/calcite/{p-47810f6d.entry.js → p-041f41f9.entry.js} +2 -2
  9. package/dist/calcite/{p-46c9c1da.system.entry.js → p-0560eb54.system.entry.js} +2 -2
  10. package/dist/calcite/{p-13fc82d6.entry.js → p-05ed401b.entry.js} +2 -2
  11. package/dist/calcite/p-05f73c36.js +6 -0
  12. package/dist/calcite/{p-90dc377d.entry.js → p-069a9c9c.entry.js} +2 -2
  13. package/dist/calcite/{p-8ad9220f.system.js → p-074bb552.system.js} +1 -1
  14. package/dist/calcite/{p-31c18ebc.system.entry.js → p-088c23e6.system.entry.js} +2 -2
  15. package/dist/calcite/p-0921fdaf.system.entry.js +6 -0
  16. package/dist/calcite/{p-27e2b8ea.system.js → p-094fd62f.system.js} +1 -1
  17. package/dist/calcite/{p-71ba7f12.js → p-0a2a449b.js} +1 -1
  18. package/dist/calcite/{p-e342902c.system.entry.js → p-0f9f9fcb.system.entry.js} +2 -2
  19. package/dist/calcite/{p-45353e58.system.entry.js → p-0fd58a0e.system.entry.js} +2 -2
  20. package/dist/calcite/{p-f22fd556.system.js → p-13f884de.system.js} +2 -2
  21. package/dist/calcite/{p-38043ca4.entry.js → p-13fc9a47.entry.js} +2 -2
  22. package/dist/calcite/{p-7a03365e.entry.js → p-1604f62c.entry.js} +2 -2
  23. package/dist/calcite/{p-853b363e.system.js → p-17e454ce.system.js} +2 -2
  24. package/dist/calcite/{p-e9f9da36.system.entry.js → p-186eaf30.system.entry.js} +2 -2
  25. package/dist/calcite/{p-2f7ea8e0.system.js → p-18f21912.system.js} +1 -1
  26. package/dist/calcite/p-1d5bda27.js +6 -0
  27. package/dist/calcite/{p-be2321b0.system.entry.js → p-22516814.system.entry.js} +3 -3
  28. package/dist/calcite/{p-b1f1ef97.system.entry.js → p-23154dad.system.entry.js} +2 -2
  29. package/dist/calcite/{p-127c4501.entry.js → p-244ab08d.entry.js} +2 -2
  30. package/dist/calcite/{p-55bb2cdc.system.entry.js → p-26947682.system.entry.js} +2 -2
  31. package/dist/calcite/{p-b495901b.entry.js → p-2850e1c6.entry.js} +2 -2
  32. package/dist/calcite/{p-d12f04b6.js → p-29d73899.js} +1 -1
  33. package/dist/calcite/{p-46674baf.entry.js → p-2a3b6659.entry.js} +2 -2
  34. package/dist/calcite/{p-989266f0.system.entry.js → p-2a4ffe38.system.entry.js} +2 -2
  35. package/dist/calcite/{p-7fd192b5.system.entry.js → p-2dac192b.system.entry.js} +2 -2
  36. package/dist/calcite/{p-d0e26d0f.system.entry.js → p-312f2fd1.system.entry.js} +2 -2
  37. package/dist/calcite/{p-aae82ee7.js → p-3232a4cd.js} +1 -1
  38. package/dist/calcite/{p-b45b3d79.system.entry.js → p-32730eab.system.entry.js} +2 -2
  39. package/dist/calcite/{p-2d261579.system.js → p-330760b8.system.js} +2 -2
  40. package/dist/calcite/{p-4aecbc47.system.js → p-336cdedf.system.js} +1 -1
  41. package/dist/calcite/{p-f36a9b83.entry.js → p-33c17454.entry.js} +2 -2
  42. package/dist/calcite/{p-a0a3e061.system.entry.js → p-34332dd7.system.entry.js} +2 -2
  43. package/dist/calcite/p-359d3fb0.system.entry.js +6 -0
  44. package/dist/calcite/p-35cbbb63.system.entry.js +6 -0
  45. package/dist/calcite/{p-8fca8432.entry.js → p-37c2a3a1.entry.js} +2 -2
  46. package/dist/calcite/{p-1efc3593.entry.js → p-38513b73.entry.js} +2 -2
  47. package/dist/calcite/{p-94c24c02.entry.js → p-386d068b.entry.js} +2 -2
  48. package/dist/calcite/{p-b3be56ab.js → p-3d0e720b.js} +2 -2
  49. package/dist/calcite/{p-44a6ec71.entry.js → p-3ea9e446.entry.js} +2 -2
  50. package/dist/calcite/p-411271d0.entry.js +6 -0
  51. package/dist/calcite/p-42dfc33d.js +6 -0
  52. package/dist/calcite/{p-5d25a2ed.system.js → p-43ad746e.system.js} +2 -2
  53. package/dist/calcite/{p-eceed63b.entry.js → p-4503d638.entry.js} +2 -2
  54. package/dist/calcite/{p-ffafacab.system.entry.js → p-4a1feea9.system.entry.js} +2 -2
  55. package/dist/calcite/p-4f11593d.system.js +6 -0
  56. package/dist/calcite/{p-c6e8c158.entry.js → p-51764770.entry.js} +2 -2
  57. package/dist/calcite/{p-f7ffeafa.entry.js → p-52e418c8.entry.js} +2 -2
  58. package/dist/calcite/{p-528aaf72.system.entry.js → p-5347aa2a.system.entry.js} +2 -2
  59. package/dist/calcite/{p-05d4924d.js → p-55afd183.js} +2 -2
  60. package/dist/calcite/{p-0f09f141.entry.js → p-55e084e0.entry.js} +2 -2
  61. package/dist/calcite/{p-30805900.system.entry.js → p-575ec68a.system.entry.js} +2 -2
  62. package/dist/calcite/{p-67d8d2f5.system.entry.js → p-58a24448.system.entry.js} +2 -2
  63. package/dist/calcite/{p-4cc4a849.system.entry.js → p-59cd6b36.system.entry.js} +2 -2
  64. package/dist/calcite/{p-e8b30d42.system.js → p-5a40ee27.system.js} +1 -1
  65. package/dist/calcite/{p-df985eab.entry.js → p-60200b54.entry.js} +2 -2
  66. package/dist/calcite/{p-aa4f564a.system.js → p-604aceb7.system.js} +1 -1
  67. package/dist/calcite/{p-4407d4e4.system.js → p-61abcec0.system.js} +1 -1
  68. package/dist/calcite/{p-9e593267.entry.js → p-62dab821.entry.js} +2 -2
  69. package/dist/calcite/{p-556f99b3.js → p-62f6a3d9.js} +1 -1
  70. package/dist/calcite/{p-c44b740a.system.js → p-6336e554.system.js} +2 -2
  71. package/dist/calcite/{p-3ff82cf1.entry.js → p-654c1434.entry.js} +2 -2
  72. package/dist/calcite/{p-7504b5c5.js → p-65d6c60f.js} +1 -1
  73. package/dist/calcite/{p-b1ebe2a6.entry.js → p-68e6b8c8.entry.js} +2 -2
  74. package/dist/calcite/{p-f650bc5a.entry.js → p-697c7793.entry.js} +2 -2
  75. package/dist/calcite/{p-9ae2a7a4.system.entry.js → p-69e718c0.system.entry.js} +2 -2
  76. package/dist/calcite/{p-40a03fa2.system.entry.js → p-6c14ce1d.system.entry.js} +2 -2
  77. package/dist/calcite/{p-3b5fd066.entry.js → p-6c90ed00.entry.js} +2 -2
  78. package/dist/calcite/{p-06de5e73.system.js → p-6cf4a846.system.js} +2 -2
  79. package/dist/calcite/{p-0149d27c.entry.js → p-6e713a6b.entry.js} +2 -2
  80. package/dist/calcite/{p-ad9d14c2.system.entry.js → p-6ff6f87a.system.entry.js} +2 -2
  81. package/dist/calcite/{p-bf3152d1.entry.js → p-731a2d20.entry.js} +2 -2
  82. package/dist/calcite/{p-d5a25382.entry.js → p-742300d9.entry.js} +2 -2
  83. package/dist/calcite/{p-f6443e8b.js → p-745e6201.js} +1 -1
  84. package/dist/calcite/{p-46db8711.js → p-74fb68dd.js} +1 -1
  85. package/dist/calcite/{p-38483baf.system.entry.js → p-754ad31e.system.entry.js} +2 -2
  86. package/dist/calcite/{p-9f99c3f3.system.js → p-757d267e.system.js} +1 -1
  87. package/dist/calcite/{p-20ef7eb3.entry.js → p-771e132a.entry.js} +2 -2
  88. package/dist/calcite/{p-6403e39f.system.entry.js → p-77215de3.system.entry.js} +2 -2
  89. package/dist/calcite/{p-1990acbf.entry.js → p-77ab5631.entry.js} +2 -2
  90. package/dist/calcite/{p-5cee55f8.entry.js → p-78745bed.entry.js} +2 -2
  91. package/dist/calcite/{p-d9bc6c90.system.entry.js → p-7ac56e74.system.entry.js} +2 -2
  92. package/dist/calcite/{p-63146b51.js → p-7ae55854.js} +1 -1
  93. package/dist/calcite/{p-19797e3a.system.entry.js → p-7af90221.system.entry.js} +2 -2
  94. package/dist/calcite/{p-b596c9e6.js → p-7bc4298b.js} +1 -1
  95. package/dist/calcite/{p-b9ad148b.entry.js → p-7cafa210.entry.js} +2 -2
  96. package/dist/calcite/{p-bf05225a.entry.js → p-7cf94a52.entry.js} +2 -2
  97. package/dist/calcite/{p-c86a8ae6.js → p-8063b632.js} +1 -1
  98. package/dist/calcite/{p-0864ff1f.system.entry.js → p-837413e3.system.entry.js} +2 -2
  99. package/dist/calcite/{p-8b30894d.system.entry.js → p-84a55ad1.system.entry.js} +2 -2
  100. package/dist/calcite/{p-9529657d.entry.js → p-84ec2b02.entry.js} +2 -2
  101. package/dist/calcite/{p-f7ef036f.js → p-89904331.js} +2 -2
  102. package/dist/calcite/{p-03dbcd7d.system.entry.js → p-89beb8c1.system.entry.js} +2 -2
  103. package/dist/calcite/{p-936abd8d.system.entry.js → p-8c46fd2f.system.entry.js} +2 -2
  104. package/dist/calcite/{p-c8ceec2d.js → p-8fe8a091.js} +1 -1
  105. package/dist/calcite/{p-6a600418.entry.js → p-91bd8e6b.entry.js} +2 -2
  106. package/dist/calcite/{p-65506efd.system.entry.js → p-92b43d67.system.entry.js} +2 -2
  107. package/dist/calcite/{p-6a52afac.system.entry.js → p-94bb09ed.system.entry.js} +2 -2
  108. package/dist/calcite/{p-9ade1c57.js → p-9579820c.js} +1 -1
  109. package/dist/calcite/{p-31121b13.system.js → p-95a42e28.system.js} +1 -1
  110. package/dist/calcite/{p-75817bd0.system.js → p-96861284.system.js} +1 -1
  111. package/dist/calcite/{p-dc2ba8d6.entry.js → p-969c1dc9.entry.js} +2 -2
  112. package/dist/calcite/{p-2ce5c529.system.js → p-96b66926.system.js} +2 -2
  113. package/dist/calcite/{p-6aee159f.js → p-98aa9606.js} +2 -2
  114. package/dist/calcite/{p-27644b63.entry.js → p-9d3e84ba.entry.js} +2 -2
  115. package/dist/calcite/{p-87af229a.system.js → p-9e7065b6.system.js} +2 -2
  116. package/dist/calcite/{p-5f7bdd83.js → p-a084dbe0.js} +1 -1
  117. package/dist/calcite/p-a2124a0a.entry.js +6 -0
  118. package/dist/calcite/{p-002ec83c.system.entry.js → p-a34b6984.system.entry.js} +2 -2
  119. package/dist/calcite/{p-4bd6b9b3.entry.js → p-a47c1c48.entry.js} +2 -2
  120. package/dist/calcite/{p-581a5a39.system.entry.js → p-a50268ee.system.entry.js} +2 -2
  121. package/dist/calcite/{p-0da0fa29.entry.js → p-a5d05fe1.entry.js} +2 -2
  122. package/dist/calcite/{p-9544cb29.entry.js → p-a741a5e3.entry.js} +2 -2
  123. package/dist/calcite/{p-7e3170f3.entry.js → p-aa5787ff.entry.js} +2 -2
  124. package/dist/calcite/{p-d85c22c9.system.entry.js → p-ac1ded23.system.entry.js} +2 -2
  125. package/dist/calcite/{p-d3e3c001.entry.js → p-af38babb.entry.js} +2 -2
  126. package/dist/calcite/{p-d22701df.system.entry.js → p-afbf64ac.system.entry.js} +2 -2
  127. package/dist/calcite/{p-a0a7d286.entry.js → p-b0c12689.entry.js} +2 -2
  128. package/dist/calcite/{p-d18ddc53.system.entry.js → p-b1c8046e.system.entry.js} +2 -2
  129. package/dist/calcite/{p-0eb313ce.system.entry.js → p-b242e756.system.entry.js} +2 -2
  130. package/dist/calcite/{p-668dda51.entry.js → p-b2ef1420.entry.js} +2 -2
  131. package/dist/calcite/{p-dff8bed4.system.js → p-ba043f27.system.js} +1 -1
  132. package/dist/calcite/{p-103e5afd.system.entry.js → p-bbc096b5.system.entry.js} +2 -2
  133. package/dist/calcite/{p-ba1859b0.entry.js → p-bdca23a0.entry.js} +2 -2
  134. package/dist/calcite/{p-634b4667.js → p-be8013f9.js} +2 -2
  135. package/dist/calcite/{p-3a7e9f2e.entry.js → p-c06328ea.entry.js} +2 -2
  136. package/dist/calcite/{p-e8dd0ce4.system.entry.js → p-c3c7aff3.system.entry.js} +2 -2
  137. package/dist/calcite/{p-7772682c.entry.js → p-c3d6b235.entry.js} +2 -2
  138. package/dist/calcite/{p-5676272d.system.js → p-c3fdbf76.system.js} +1 -1
  139. package/dist/calcite/{p-28488be9.entry.js → p-c4d211cb.entry.js} +2 -2
  140. package/dist/calcite/{p-8a93016a.system.entry.js → p-c81f960a.system.entry.js} +2 -2
  141. package/dist/calcite/{p-735f4fb7.js → p-c8687235.js} +1 -1
  142. package/dist/calcite/p-c874aab2.system.js +6 -0
  143. package/dist/calcite/{p-4ae377e7.system.entry.js → p-c8780e89.system.entry.js} +2 -2
  144. package/dist/calcite/{p-db26e542.system.entry.js → p-c9f1a940.system.entry.js} +2 -2
  145. package/dist/calcite/{p-4ab7389d.js → p-cca44aa2.js} +2 -2
  146. package/dist/calcite/{p-e9590974.entry.js → p-d1c97e2d.entry.js} +2 -2
  147. package/dist/calcite/{p-0a5fc96c.entry.js → p-d2b14ae3.entry.js} +2 -2
  148. package/dist/calcite/{p-d1227283.entry.js → p-d2dbb10b.entry.js} +2 -2
  149. package/dist/calcite/{p-0b194b2f.system.entry.js → p-d40106bb.system.entry.js} +2 -2
  150. package/dist/calcite/{p-ce1d03e8.system.js → p-d9da3e15.system.js} +1 -1
  151. package/dist/calcite/{p-f3ca7d80.system.entry.js → p-da4a4ed8.system.entry.js} +2 -2
  152. package/dist/calcite/{p-7ea1d145.system.entry.js → p-da5c354b.system.entry.js} +2 -2
  153. package/dist/calcite/{p-6f62d2c6.system.js → p-db89b8a9.system.js} +1 -1
  154. package/dist/calcite/{p-33a4e116.entry.js → p-dc1d3220.entry.js} +2 -2
  155. package/dist/calcite/{p-8e9e4678.system.js → p-de1943d2.system.js} +2 -2
  156. package/dist/calcite/{p-b3675053.js → p-de4d7281.js} +2 -2
  157. package/dist/calcite/{p-05e8f5e7.entry.js → p-df5eae9e.entry.js} +2 -2
  158. package/dist/calcite/{p-00367ed4.system.js → p-e1879904.system.js} +2 -2
  159. package/dist/calcite/{p-e85960bb.system.entry.js → p-e482b777.system.entry.js} +2 -2
  160. package/dist/calcite/{p-8dc799ea.system.entry.js → p-e6ae2404.system.entry.js} +2 -2
  161. package/dist/calcite/{p-bdfa3789.system.js → p-e7d34b65.system.js} +1 -1
  162. package/dist/calcite/{p-e119e0b4.js → p-e80aad35.js} +2 -2
  163. package/dist/calcite/p-ec5a5a34.js +6 -0
  164. package/dist/calcite/p-ec68fd51.entry.js +6 -0
  165. package/dist/calcite/{p-c451ce2e.entry.js → p-ed3565ca.entry.js} +2 -2
  166. package/dist/calcite/{p-748bf973.system.js → p-f2887f65.system.js} +1 -1
  167. package/dist/calcite/{p-e9debf39.system.entry.js → p-f5594623.system.entry.js} +3 -3
  168. package/dist/calcite/{p-9c13e45b.entry.js → p-f5868afc.entry.js} +2 -2
  169. package/dist/calcite/{p-2b9d43ee.entry.js → p-f5f17b1c.entry.js} +2 -2
  170. package/dist/calcite/{p-2560a58e.system.entry.js → p-fac1db51.system.entry.js} +2 -2
  171. package/dist/calcite/{p-d815a193.js → p-fbb03710.js} +1 -1
  172. package/dist/calcite/{p-f2c16b29.system.entry.js → p-fce3b1a1.system.entry.js} +2 -2
  173. package/dist/calcite/{p-6beead34.system.entry.js → p-fdb60bcb.system.entry.js} +2 -2
  174. package/dist/calcite/{p-0ee15efc.entry.js → p-fdff57be.entry.js} +2 -2
  175. package/dist/calcite/{p-bf07fd68.entry.js → p-ff3870bd.entry.js} +2 -2
  176. package/dist/calcite/{p-07aaa874.system.entry.js → p-ff7c87a8.system.entry.js} +2 -2
  177. package/dist/calcite/{p-feeecafb.system.entry.js → p-ff90c9f0.system.entry.js} +2 -2
  178. package/dist/cjs/{ExpandToggle-8782dd2f.js → ExpandToggle-c5cd50a7.js} +5 -5
  179. package/dist/cjs/{Heading-d7f41298.js → Heading-b8dad7f7.js} +2 -2
  180. package/dist/cjs/{app-globals-a7ded446.js → app-globals-1b9dd505.js} +2 -2
  181. package/dist/cjs/{array-1d4fc13d.js → array-a1c81436.js} +1 -1
  182. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  184. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  185. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  187. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  190. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  192. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  194. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  195. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
  197. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  198. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
  199. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  200. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +14 -14
  207. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +10 -10
  211. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  212. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  213. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  220. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +14 -15
  223. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  225. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  226. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  227. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  233. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  236. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  241. package/dist/cjs/calcite.cjs.js +4 -4
  242. package/dist/cjs/{conditionalSlot-9c0fa505.js → conditionalSlot-28b8da1d.js} +3 -3
  243. package/dist/cjs/{debounce-19b40b8f.js → debounce-c4baaf74.js} +1 -1
  244. package/dist/cjs/{dom-eaadcd89.js → dom-f413657e.js} +3 -3
  245. package/dist/cjs/{filter-807d1608.js → filter-44159563.js} +2 -2
  246. package/dist/cjs/{floating-ui-b204da9e.js → floating-ui-1b32237f.js} +2 -2
  247. package/dist/cjs/{form-d12acbaa.js → form-045ea047.js} +3 -3
  248. package/dist/cjs/{guid-73c3edb1.js → guid-25cefdab.js} +1 -1
  249. package/dist/cjs/{index-6bf394ff.js → index-e0fe9eb5.js} +1 -1
  250. package/dist/cjs/index.cjs.js +1 -1
  251. package/dist/cjs/{interactive-26bbc844.js → interactive-9c036432.js} +1 -1
  252. package/dist/cjs/{interfaces-d80e4a30.js → interfaces-d9fd7848.js} +1 -1
  253. package/dist/cjs/{key-afa2f3d6.js → key-bc2f406d.js} +1 -1
  254. package/dist/cjs/{label-d075c31f.js → label-778ca56b.js} +2 -2
  255. package/dist/cjs/loader.cjs.js +4 -4
  256. package/dist/cjs/{locale-93089c26.js → locale-259e7f9d.js} +2 -2
  257. package/dist/cjs/{math-1535633c.js → math-16ed65c9.js} +1 -1
  258. package/dist/cjs/{observers-072222fa.js → observers-3e31ea57.js} +1 -1
  259. package/dist/cjs/{openCloseComponent-a2a73280.js → openCloseComponent-c4968b03.js} +1 -1
  260. package/dist/cjs/{resources-b97de259.js → resources-077d9529.js} +1 -1
  261. package/dist/cjs/{resources-4ff9d0d2.js → resources-6b10015b.js} +5 -5
  262. package/dist/cjs/{resources-4f93a2ec.js → resources-a59aa8fc.js} +1 -1
  263. package/dist/cjs/{resources-1ab38954.js → resources-b39ab51b.js} +1 -1
  264. package/dist/cjs/{resources-5155666e.js → resources-c39f6c4b.js} +3 -3
  265. package/dist/cjs/{sortable.esm-81835757.js → sortable.esm-56f643c8.js} +1 -1
  266. package/dist/cjs/{utils-8b591bb2.js → utils-2f350739.js} +1 -1
  267. package/dist/collection/components/accordion/accordion.js +1 -1
  268. package/dist/collection/components/accordion/interfaces.js +1 -1
  269. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  270. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  271. package/dist/collection/components/accordion-item/resources.js +1 -1
  272. package/dist/collection/components/action/action.js +1 -1
  273. package/dist/collection/components/action/resources.js +1 -1
  274. package/dist/collection/components/action-bar/action-bar.js +1 -1
  275. package/dist/collection/components/action-bar/resources.js +1 -1
  276. package/dist/collection/components/action-bar/utils.js +1 -1
  277. package/dist/collection/components/action-group/action-group.js +1 -1
  278. package/dist/collection/components/action-group/resources.js +1 -1
  279. package/dist/collection/components/action-menu/action-menu.js +1 -1
  280. package/dist/collection/components/action-menu/resources.js +1 -1
  281. package/dist/collection/components/action-pad/action-pad.js +1 -1
  282. package/dist/collection/components/action-pad/resources.js +1 -1
  283. package/dist/collection/components/alert/alert.js +1 -1
  284. package/dist/collection/components/alert/interfaces.js +1 -1
  285. package/dist/collection/components/alert/resources.js +1 -1
  286. package/dist/collection/components/avatar/avatar.js +1 -1
  287. package/dist/collection/components/avatar/utils.js +1 -1
  288. package/dist/collection/components/block/block.js +1 -1
  289. package/dist/collection/components/block/resources.js +1 -1
  290. package/dist/collection/components/block-section/block-section.js +1 -1
  291. package/dist/collection/components/block-section/interfaces.js +1 -1
  292. package/dist/collection/components/block-section/resources.js +1 -1
  293. package/dist/collection/components/button/button.js +1 -1
  294. package/dist/collection/components/button/interfaces.js +1 -1
  295. package/dist/collection/components/button/resources.js +1 -1
  296. package/dist/collection/components/card/card.js +1 -1
  297. package/dist/collection/components/card/resources.js +1 -1
  298. package/dist/collection/components/checkbox/checkbox.js +1 -1
  299. package/dist/collection/components/chip/chip.js +1 -1
  300. package/dist/collection/components/chip/interfaces.js +1 -1
  301. package/dist/collection/components/chip/resources.js +1 -1
  302. package/dist/collection/components/color-picker/color-picker.js +1 -1
  303. package/dist/collection/components/color-picker/interfaces.js +1 -1
  304. package/dist/collection/components/color-picker/resources.js +1 -1
  305. package/dist/collection/components/color-picker/utils.js +1 -1
  306. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  307. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  308. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  309. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  310. package/dist/collection/components/combobox/combobox.css +6 -0
  311. package/dist/collection/components/combobox/combobox.js +1 -1
  312. package/dist/collection/components/combobox/interfaces.js +1 -1
  313. package/dist/collection/components/combobox/resources.js +1 -1
  314. package/dist/collection/components/combobox/utils.js +1 -1
  315. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  316. package/dist/collection/components/combobox-item/resources.js +1 -1
  317. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  318. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  319. package/dist/collection/components/date-picker/date-picker.js +1 -1
  320. package/dist/collection/components/date-picker/interfaces.js +1 -1
  321. package/dist/collection/components/date-picker/resources.js +1 -1
  322. package/dist/collection/components/date-picker/utils.js +1 -1
  323. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  324. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  325. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  326. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  327. package/dist/collection/components/dropdown/dropdown.css +6 -0
  328. package/dist/collection/components/dropdown/dropdown.js +5 -6
  329. package/dist/collection/components/dropdown/interfaces.js +1 -1
  330. package/dist/collection/components/dropdown/resources.js +1 -1
  331. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  332. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  333. package/dist/collection/components/dropdown-group/resources.js +1 -1
  334. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  335. package/dist/collection/components/dropdown-item/resources.js +1 -1
  336. package/dist/collection/components/fab/fab.js +1 -1
  337. package/dist/collection/components/fab/resources.js +1 -1
  338. package/dist/collection/components/filter/filter.js +1 -1
  339. package/dist/collection/components/filter/resources.js +1 -1
  340. package/dist/collection/components/flow/flow.js +1 -1
  341. package/dist/collection/components/flow/interfaces.js +1 -1
  342. package/dist/collection/components/flow/resources.js +1 -1
  343. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  344. package/dist/collection/components/functional/Heading.js +1 -1
  345. package/dist/collection/components/graph/graph.js +1 -1
  346. package/dist/collection/components/graph/interfaces.js +1 -1
  347. package/dist/collection/components/graph/util.js +1 -1
  348. package/dist/collection/components/handle/handle.js +1 -1
  349. package/dist/collection/components/handle/resources.js +1 -1
  350. package/dist/collection/components/icon/icon.js +1 -1
  351. package/dist/collection/components/icon/resources.js +1 -1
  352. package/dist/collection/components/icon/utils.js +1 -1
  353. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  354. package/dist/collection/components/inline-editable/resources.js +1 -1
  355. package/dist/collection/components/input/input.js +1 -1
  356. package/dist/collection/components/input/interfaces.js +1 -1
  357. package/dist/collection/components/input/resources.js +1 -1
  358. package/dist/collection/components/input-date-picker/input-date-picker.css +9 -0
  359. package/dist/collection/components/input-date-picker/input-date-picker.js +2 -2
  360. package/dist/collection/components/input-date-picker/resources.js +1 -1
  361. package/dist/collection/components/input-message/input-message.js +1 -1
  362. package/dist/collection/components/input-message/interfaces.js +1 -1
  363. package/dist/collection/components/input-number/input-number.js +1 -1
  364. package/dist/collection/components/input-number/interfaces.js +1 -1
  365. package/dist/collection/components/input-number/resources.js +1 -1
  366. package/dist/collection/components/input-text/input-text.js +1 -1
  367. package/dist/collection/components/input-text/resources.js +1 -1
  368. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  369. package/dist/collection/components/interfaces.js +1 -1
  370. package/dist/collection/components/label/label.js +1 -1
  371. package/dist/collection/components/label/resources.js +1 -1
  372. package/dist/collection/components/link/link.js +1 -1
  373. package/dist/collection/components/list/list.js +1 -1
  374. package/dist/collection/components/list/resources.js +1 -1
  375. package/dist/collection/components/list-item/list-item.js +1 -1
  376. package/dist/collection/components/list-item/resources.js +1 -1
  377. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  378. package/dist/collection/components/list-item-group/resources.js +1 -1
  379. package/dist/collection/components/loader/loader.js +1 -1
  380. package/dist/collection/components/modal/interfaces.js +1 -1
  381. package/dist/collection/components/modal/modal.js +1 -1
  382. package/dist/collection/components/modal/resources.js +1 -1
  383. package/dist/collection/components/notice/notice.js +1 -1
  384. package/dist/collection/components/notice/resources.js +1 -1
  385. package/dist/collection/components/option/option.js +1 -1
  386. package/dist/collection/components/option-group/option-group.js +1 -1
  387. package/dist/collection/components/pagination/pagination.js +1 -1
  388. package/dist/collection/components/pagination/resources.js +1 -1
  389. package/dist/collection/components/panel/panel.js +1 -1
  390. package/dist/collection/components/panel/resources.js +1 -1
  391. package/dist/collection/components/pick-list/pick-list.js +1 -1
  392. package/dist/collection/components/pick-list/resources.js +1 -1
  393. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  394. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  395. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  396. package/dist/collection/components/pick-list-group/resources.js +1 -1
  397. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  398. package/dist/collection/components/pick-list-item/resources.js +1 -1
  399. package/dist/collection/components/popover/PopoverManager.js +5 -6
  400. package/dist/collection/components/popover/popover.js +1 -1
  401. package/dist/collection/components/popover/resources.js +1 -1
  402. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  403. package/dist/collection/components/progress/progress.js +1 -1
  404. package/dist/collection/components/radio-button/radio-button.js +1 -1
  405. package/dist/collection/components/radio-button/resources.js +1 -1
  406. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  407. package/dist/collection/components/radio-group/interfaces.js +1 -1
  408. package/dist/collection/components/radio-group/radio-group.js +1 -1
  409. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  410. package/dist/collection/components/radio-group-item/resources.js +1 -1
  411. package/dist/collection/components/rating/rating.js +1 -1
  412. package/dist/collection/components/rating/resources.js +1 -1
  413. package/dist/collection/components/scrim/resources.js +1 -1
  414. package/dist/collection/components/scrim/scrim.js +1 -1
  415. package/dist/collection/components/select/resources.js +1 -1
  416. package/dist/collection/components/select/select.js +1 -1
  417. package/dist/collection/components/shell/resources.js +1 -1
  418. package/dist/collection/components/shell/shell.js +1 -1
  419. package/dist/collection/components/shell-center-row/resources.js +1 -1
  420. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  421. package/dist/collection/components/shell-panel/resources.js +1 -1
  422. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  423. package/dist/collection/components/slider/slider.js +1 -1
  424. package/dist/collection/components/sortable-list/resources.js +1 -1
  425. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  426. package/dist/collection/components/split-button/resources.js +1 -1
  427. package/dist/collection/components/split-button/split-button.js +1 -1
  428. package/dist/collection/components/stepper/interfaces.js +1 -1
  429. package/dist/collection/components/stepper/stepper.js +1 -1
  430. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  431. package/dist/collection/components/switch/switch.js +1 -1
  432. package/dist/collection/components/tab/interfaces.js +1 -1
  433. package/dist/collection/components/tab/tab.js +1 -1
  434. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  435. package/dist/collection/components/tab-title/tab-title.js +1 -1
  436. package/dist/collection/components/tabs/interfaces.js +1 -1
  437. package/dist/collection/components/tabs/resources.js +1 -1
  438. package/dist/collection/components/tabs/tabs.js +1 -1
  439. package/dist/collection/components/tile/resources.js +1 -1
  440. package/dist/collection/components/tile/tile.js +1 -1
  441. package/dist/collection/components/tile-select/interfaces.js +1 -1
  442. package/dist/collection/components/tile-select/resources.js +1 -1
  443. package/dist/collection/components/tile-select/tile-select.js +1 -1
  444. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  445. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  446. package/dist/collection/components/time-picker/resources.js +1 -1
  447. package/dist/collection/components/time-picker/time-picker.js +1 -1
  448. package/dist/collection/components/tip/resources.js +1 -1
  449. package/dist/collection/components/tip/tip.js +1 -1
  450. package/dist/collection/components/tip-group/tip-group.js +1 -1
  451. package/dist/collection/components/tip-manager/resources.js +1 -1
  452. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  453. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  454. package/dist/collection/components/tooltip/resources.js +1 -1
  455. package/dist/collection/components/tooltip/tooltip.js +1 -1
  456. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  457. package/dist/collection/components/tree/interfaces.js +1 -1
  458. package/dist/collection/components/tree/tree.js +1 -1
  459. package/dist/collection/components/tree-item/interfaces.js +1 -1
  460. package/dist/collection/components/tree-item/resources.js +1 -1
  461. package/dist/collection/components/tree-item/tree-item.js +1 -1
  462. package/dist/collection/components/value-list/interfaces.js +1 -1
  463. package/dist/collection/components/value-list/resources.js +1 -1
  464. package/dist/collection/components/value-list/utils.js +1 -1
  465. package/dist/collection/components/value-list/value-list.js +1 -1
  466. package/dist/collection/components/value-list-item/resources.js +1 -1
  467. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  468. package/dist/collection/utils/array.js +1 -1
  469. package/dist/collection/utils/conditionalSlot.js +1 -1
  470. package/dist/collection/utils/date.js +1 -1
  471. package/dist/collection/utils/dom.js +1 -1
  472. package/dist/collection/utils/filter.js +1 -1
  473. package/dist/collection/utils/floating-ui.js +1 -1
  474. package/dist/collection/utils/form.js +1 -1
  475. package/dist/collection/utils/globalAttributes.js +1 -1
  476. package/dist/collection/utils/globalScript.js +1 -1
  477. package/dist/collection/utils/guid.js +1 -1
  478. package/dist/collection/utils/interactive.js +1 -1
  479. package/dist/collection/utils/key.js +1 -1
  480. package/dist/collection/utils/label.js +1 -1
  481. package/dist/collection/utils/locale.js +1 -1
  482. package/dist/collection/utils/math.js +1 -1
  483. package/dist/collection/utils/number.js +1 -1
  484. package/dist/collection/utils/observers.js +1 -1
  485. package/dist/collection/utils/openCloseComponent.js +1 -1
  486. package/dist/collection/utils/resources.js +1 -1
  487. package/dist/collection/utils/theme.js +1 -1
  488. package/dist/collection/utils/time.js +1 -1
  489. package/dist/components/ExpandToggle.js +1 -1
  490. package/dist/components/Heading.js +1 -1
  491. package/dist/components/action-group.js +1 -1
  492. package/dist/components/action-menu.js +1 -1
  493. package/dist/components/action.js +1 -1
  494. package/dist/components/array.js +1 -1
  495. package/dist/components/button.js +1 -1
  496. package/dist/components/calcite-accordion-item.js +1 -1
  497. package/dist/components/calcite-accordion.js +1 -1
  498. package/dist/components/calcite-action-bar.js +1 -1
  499. package/dist/components/calcite-action-group.js +1 -1
  500. package/dist/components/calcite-action-menu.js +1 -1
  501. package/dist/components/calcite-action-pad.js +1 -1
  502. package/dist/components/calcite-action.js +1 -1
  503. package/dist/components/calcite-alert.js +1 -1
  504. package/dist/components/calcite-avatar.js +1 -1
  505. package/dist/components/calcite-block-section.js +1 -1
  506. package/dist/components/calcite-block.js +1 -1
  507. package/dist/components/calcite-button.js +1 -1
  508. package/dist/components/calcite-card.js +1 -1
  509. package/dist/components/calcite-checkbox.js +1 -1
  510. package/dist/components/calcite-chip.js +1 -1
  511. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  512. package/dist/components/calcite-color-picker-swatch.js +1 -1
  513. package/dist/components/calcite-color-picker.js +1 -1
  514. package/dist/components/calcite-combobox-item-group.js +1 -1
  515. package/dist/components/calcite-combobox-item.js +1 -1
  516. package/dist/components/calcite-combobox.js +2 -2
  517. package/dist/components/calcite-date-picker-day.js +1 -1
  518. package/dist/components/calcite-date-picker-month-header.js +1 -1
  519. package/dist/components/calcite-date-picker-month.js +1 -1
  520. package/dist/components/calcite-date-picker.js +1 -1
  521. package/dist/components/calcite-dropdown-group.js +1 -1
  522. package/dist/components/calcite-dropdown-item.js +1 -1
  523. package/dist/components/calcite-dropdown.js +1 -1
  524. package/dist/components/calcite-fab.js +1 -1
  525. package/dist/components/calcite-filter.js +1 -1
  526. package/dist/components/calcite-flow.js +1 -1
  527. package/dist/components/calcite-graph.js +1 -1
  528. package/dist/components/calcite-handle.js +1 -1
  529. package/dist/components/calcite-icon.js +1 -1
  530. package/dist/components/calcite-inline-editable.js +1 -1
  531. package/dist/components/calcite-input-date-picker.js +2 -2
  532. package/dist/components/calcite-input-message.js +1 -1
  533. package/dist/components/calcite-input-number.js +1 -1
  534. package/dist/components/calcite-input-text.js +1 -1
  535. package/dist/components/calcite-input-time-picker.js +1 -1
  536. package/dist/components/calcite-input.js +1 -1
  537. package/dist/components/calcite-label.js +1 -1
  538. package/dist/components/calcite-link.js +1 -1
  539. package/dist/components/calcite-list-item-group.js +1 -1
  540. package/dist/components/calcite-list-item.js +1 -1
  541. package/dist/components/calcite-list.js +1 -1
  542. package/dist/components/calcite-loader.js +1 -1
  543. package/dist/components/calcite-modal.js +1 -1
  544. package/dist/components/calcite-notice.js +1 -1
  545. package/dist/components/calcite-option-group.js +1 -1
  546. package/dist/components/calcite-option.js +1 -1
  547. package/dist/components/calcite-pagination.js +1 -1
  548. package/dist/components/calcite-panel.js +1 -1
  549. package/dist/components/calcite-pick-list-group.js +1 -1
  550. package/dist/components/calcite-pick-list-item.js +1 -1
  551. package/dist/components/calcite-pick-list.js +1 -1
  552. package/dist/components/calcite-popover-manager.js +1 -1
  553. package/dist/components/calcite-popover.js +1 -1
  554. package/dist/components/calcite-progress.js +1 -1
  555. package/dist/components/calcite-radio-button-group.js +1 -1
  556. package/dist/components/calcite-radio-button.js +1 -1
  557. package/dist/components/calcite-radio-group-item.js +1 -1
  558. package/dist/components/calcite-radio-group.js +1 -1
  559. package/dist/components/calcite-rating.js +1 -1
  560. package/dist/components/calcite-scrim.js +1 -1
  561. package/dist/components/calcite-select.js +1 -1
  562. package/dist/components/calcite-shell-center-row.js +1 -1
  563. package/dist/components/calcite-shell-panel.js +1 -1
  564. package/dist/components/calcite-shell.js +1 -1
  565. package/dist/components/calcite-slider.js +1 -1
  566. package/dist/components/calcite-sortable-list.js +1 -1
  567. package/dist/components/calcite-split-button.js +1 -1
  568. package/dist/components/calcite-stepper-item.js +1 -1
  569. package/dist/components/calcite-stepper.js +1 -1
  570. package/dist/components/calcite-switch.js +1 -1
  571. package/dist/components/calcite-tab-nav.js +1 -1
  572. package/dist/components/calcite-tab-title.js +1 -1
  573. package/dist/components/calcite-tab.js +1 -1
  574. package/dist/components/calcite-tabs.js +1 -1
  575. package/dist/components/calcite-tile-select-group.js +1 -1
  576. package/dist/components/calcite-tile-select.js +1 -1
  577. package/dist/components/calcite-tile.js +1 -1
  578. package/dist/components/calcite-time-picker.js +1 -1
  579. package/dist/components/calcite-tip-group.js +1 -1
  580. package/dist/components/calcite-tip-manager.js +1 -1
  581. package/dist/components/calcite-tip.js +1 -1
  582. package/dist/components/calcite-tooltip-manager.js +1 -1
  583. package/dist/components/calcite-tooltip.js +1 -1
  584. package/dist/components/calcite-tree-item.js +1 -1
  585. package/dist/components/calcite-tree.js +1 -1
  586. package/dist/components/calcite-value-list-item.js +1 -1
  587. package/dist/components/calcite-value-list.js +1 -1
  588. package/dist/components/checkbox.js +1 -1
  589. package/dist/components/chip.js +1 -1
  590. package/dist/components/color-picker-hex-input.js +1 -1
  591. package/dist/components/color-picker-swatch.js +1 -1
  592. package/dist/components/conditionalSlot.js +1 -1
  593. package/dist/components/date-picker-day.js +1 -1
  594. package/dist/components/date-picker-month-header.js +1 -1
  595. package/dist/components/date-picker-month.js +1 -1
  596. package/dist/components/date-picker.js +1 -1
  597. package/dist/components/date.js +1 -1
  598. package/dist/components/debounce.js +1 -1
  599. package/dist/components/dom.js +1 -1
  600. package/dist/components/dropdown.js +5 -5
  601. package/dist/components/filter.js +1 -1
  602. package/dist/components/filter2.js +1 -1
  603. package/dist/components/floating-ui.js +1 -1
  604. package/dist/components/form.js +1 -1
  605. package/dist/components/graph.js +1 -1
  606. package/dist/components/guid.js +1 -1
  607. package/dist/components/handle.js +1 -1
  608. package/dist/components/icon.js +1 -1
  609. package/dist/components/index.js +1 -1
  610. package/dist/components/input.js +1 -1
  611. package/dist/components/interactive.js +1 -1
  612. package/dist/components/interfaces.js +1 -1
  613. package/dist/components/interfaces2.js +1 -1
  614. package/dist/components/key.js +1 -1
  615. package/dist/components/label.js +1 -1
  616. package/dist/components/label2.js +1 -1
  617. package/dist/components/link.js +1 -1
  618. package/dist/components/loader.js +1 -1
  619. package/dist/components/locale.js +1 -1
  620. package/dist/components/math.js +1 -1
  621. package/dist/components/observers.js +1 -1
  622. package/dist/components/openCloseComponent.js +1 -1
  623. package/dist/components/pick-list-item.js +1 -1
  624. package/dist/components/popover.js +5 -6
  625. package/dist/components/progress.js +1 -1
  626. package/dist/components/resources.js +1 -1
  627. package/dist/components/resources2.js +1 -1
  628. package/dist/components/resources3.js +1 -1
  629. package/dist/components/resources4.js +1 -1
  630. package/dist/components/scrim.js +1 -1
  631. package/dist/components/shared-list-render.js +1 -1
  632. package/dist/components/sortable.esm.js +1 -1
  633. package/dist/components/switch.js +1 -1
  634. package/dist/components/tab-nav.js +1 -1
  635. package/dist/components/tab-title.js +1 -1
  636. package/dist/components/tab.js +1 -1
  637. package/dist/components/tabs.js +1 -1
  638. package/dist/components/tile.js +1 -1
  639. package/dist/components/time-picker.js +1 -1
  640. package/dist/components/utils.js +1 -1
  641. package/dist/components/utils2.js +1 -1
  642. package/dist/custom-elements/index.js +11 -12
  643. package/dist/esm/{ExpandToggle-d33b69db.js → ExpandToggle-527fb31c.js} +5 -5
  644. package/dist/esm/{Heading-cc745c4a.js → Heading-90ae128b.js} +2 -2
  645. package/dist/esm/{app-globals-e1c2379e.js → app-globals-d650d4de.js} +2 -2
  646. package/dist/esm/{array-51e6fec9.js → array-96589451.js} +1 -1
  647. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  648. package/dist/esm/calcite-action-bar.entry.js +11 -11
  649. package/dist/esm/calcite-action-group.entry.js +9 -9
  650. package/dist/esm/calcite-action-menu.entry.js +8 -8
  651. package/dist/esm/calcite-action-pad.entry.js +10 -10
  652. package/dist/esm/calcite-action.entry.js +7 -7
  653. package/dist/esm/calcite-alert.entry.js +7 -7
  654. package/dist/esm/calcite-avatar.entry.js +6 -6
  655. package/dist/esm/calcite-block_2.entry.js +10 -10
  656. package/dist/esm/calcite-button.entry.js +9 -9
  657. package/dist/esm/calcite-card.entry.js +7 -7
  658. package/dist/esm/calcite-checkbox.entry.js +9 -9
  659. package/dist/esm/calcite-chip.entry.js +7 -7
  660. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  661. package/dist/esm/calcite-combobox_3.entry.js +15 -15
  662. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  663. package/dist/esm/calcite-dropdown_3.entry.js +14 -14
  664. package/dist/esm/calcite-fab.entry.js +6 -6
  665. package/dist/esm/calcite-filter.entry.js +8 -8
  666. package/dist/esm/calcite-flow.entry.js +3 -3
  667. package/dist/esm/calcite-graph_2.entry.js +11 -11
  668. package/dist/esm/calcite-handle.entry.js +5 -5
  669. package/dist/esm/calcite-icon.entry.js +6 -6
  670. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  671. package/dist/esm/calcite-input-date-picker.entry.js +14 -14
  672. package/dist/esm/calcite-input-message.entry.js +5 -5
  673. package/dist/esm/calcite-input-number.entry.js +12 -12
  674. package/dist/esm/calcite-input-text.entry.js +9 -9
  675. package/dist/esm/calcite-input-time-picker_2.entry.js +10 -10
  676. package/dist/esm/calcite-input.entry.js +12 -12
  677. package/dist/esm/calcite-label.entry.js +6 -6
  678. package/dist/esm/calcite-link.entry.js +6 -6
  679. package/dist/esm/calcite-list_3.entry.js +9 -9
  680. package/dist/esm/calcite-loader.entry.js +3 -3
  681. package/dist/esm/calcite-modal.entry.js +8 -8
  682. package/dist/esm/calcite-notice.entry.js +8 -8
  683. package/dist/esm/calcite-option_3.entry.js +9 -9
  684. package/dist/esm/calcite-pagination.entry.js +5 -5
  685. package/dist/esm/calcite-panel.entry.js +10 -10
  686. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  687. package/dist/esm/calcite-popover_2.entry.js +14 -15
  688. package/dist/esm/calcite-progress.entry.js +2 -2
  689. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  690. package/dist/esm/calcite-radio-button.entry.js +9 -9
  691. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  692. package/dist/esm/calcite-rating.entry.js +9 -9
  693. package/dist/esm/calcite-scrim.entry.js +2 -2
  694. package/dist/esm/calcite-shell_3.entry.js +8 -8
  695. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  696. package/dist/esm/calcite-split-button.entry.js +3 -3
  697. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  698. package/dist/esm/calcite-switch.entry.js +9 -9
  699. package/dist/esm/calcite-tab_4.entry.js +7 -7
  700. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  701. package/dist/esm/calcite-tile.entry.js +8 -8
  702. package/dist/esm/calcite-tip_3.entry.js +8 -8
  703. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  704. package/dist/esm/calcite-tree_2.entry.js +7 -7
  705. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  706. package/dist/esm/calcite.js +4 -4
  707. package/dist/esm/{conditionalSlot-d174e645.js → conditionalSlot-1c5819e8.js} +3 -3
  708. package/dist/esm/{debounce-97ec2bf5.js → debounce-6ff3f3ca.js} +1 -1
  709. package/dist/esm/{dom-ada6955f.js → dom-44ee7a35.js} +3 -3
  710. package/dist/esm/{filter-95fc6fc6.js → filter-0e8f76d7.js} +2 -2
  711. package/dist/esm/{floating-ui-1dbb3151.js → floating-ui-6f715361.js} +2 -2
  712. package/dist/esm/{form-13f50160.js → form-1d99921a.js} +3 -3
  713. package/dist/esm/{guid-a51b25d0.js → guid-55234227.js} +1 -1
  714. package/dist/esm/{index-47008242.js → index-b437028c.js} +1 -1
  715. package/dist/esm/index.js +1 -1
  716. package/dist/esm/{interactive-d8ae72af.js → interactive-ac2dfbba.js} +1 -1
  717. package/dist/esm/{interfaces-1d49904b.js → interfaces-d5fac8d6.js} +1 -1
  718. package/dist/esm/{key-66ffc0a6.js → key-2ee31b0e.js} +1 -1
  719. package/dist/esm/{label-a7ae8219.js → label-63ea64f5.js} +2 -2
  720. package/dist/esm/loader.js +4 -4
  721. package/dist/esm/{locale-8929fd51.js → locale-ebcab169.js} +2 -2
  722. package/dist/esm/{math-be7d2f3b.js → math-4dd9a94b.js} +1 -1
  723. package/dist/esm/{observers-1c28ae12.js → observers-7a3a3ac4.js} +1 -1
  724. package/dist/esm/{openCloseComponent-07a8007c.js → openCloseComponent-1e6c74f9.js} +1 -1
  725. package/dist/esm/{resources-9edb97ea.js → resources-321413da.js} +1 -1
  726. package/dist/esm/{resources-9480c6af.js → resources-4ed46688.js} +5 -5
  727. package/dist/esm/{resources-c467e503.js → resources-5ae71b3a.js} +1 -1
  728. package/dist/esm/{resources-8df5b958.js → resources-d7250ef4.js} +3 -3
  729. package/dist/esm/{resources-47135f28.js → resources-f8b87a62.js} +1 -1
  730. package/dist/esm/{sortable.esm-41e7c566.js → sortable.esm-3e852d72.js} +1 -1
  731. package/dist/esm/{utils-535af390.js → utils-c50b16ec.js} +1 -1
  732. package/dist/esm-es5/{ExpandToggle-d33b69db.js → ExpandToggle-527fb31c.js} +2 -2
  733. package/dist/esm-es5/{Heading-cc745c4a.js → Heading-90ae128b.js} +2 -2
  734. package/dist/esm-es5/{app-globals-e1c2379e.js → app-globals-d650d4de.js} +2 -2
  735. package/dist/esm-es5/{array-51e6fec9.js → array-96589451.js} +1 -1
  736. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  738. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  739. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  740. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  741. package/dist/esm-es5/calcite-action.entry.js +2 -2
  742. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  743. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  744. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  745. package/dist/esm-es5/calcite-button.entry.js +2 -2
  746. package/dist/esm-es5/calcite-card.entry.js +2 -2
  747. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  748. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  749. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  750. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  751. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  752. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  753. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  754. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  755. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  756. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  757. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  758. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  759. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  760. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  761. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  762. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  763. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  764. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  765. package/dist/esm-es5/calcite-input.entry.js +2 -2
  766. package/dist/esm-es5/calcite-label.entry.js +2 -2
  767. package/dist/esm-es5/calcite-link.entry.js +2 -2
  768. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  769. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  770. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  771. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  772. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  773. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  774. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  775. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  776. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  777. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  778. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  779. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  780. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  781. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  782. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  783. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  784. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  785. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  786. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  787. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  788. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  789. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  791. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  792. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  793. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  794. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  795. package/dist/esm-es5/calcite.js +2 -2
  796. package/dist/esm-es5/{conditionalSlot-d174e645.js → conditionalSlot-1c5819e8.js} +2 -2
  797. package/dist/esm-es5/{debounce-97ec2bf5.js → debounce-6ff3f3ca.js} +1 -1
  798. package/dist/esm-es5/{dom-ada6955f.js → dom-44ee7a35.js} +2 -2
  799. package/dist/esm-es5/{filter-95fc6fc6.js → filter-0e8f76d7.js} +2 -2
  800. package/dist/esm-es5/{floating-ui-1dbb3151.js → floating-ui-6f715361.js} +2 -2
  801. package/dist/esm-es5/{form-13f50160.js → form-1d99921a.js} +2 -2
  802. package/dist/esm-es5/{guid-a51b25d0.js → guid-55234227.js} +1 -1
  803. package/dist/esm-es5/{index-47008242.js → index-b437028c.js} +1 -1
  804. package/dist/esm-es5/index.js +1 -1
  805. package/dist/esm-es5/{interactive-d8ae72af.js → interactive-ac2dfbba.js} +1 -1
  806. package/dist/esm-es5/{interfaces-1d49904b.js → interfaces-d5fac8d6.js} +1 -1
  807. package/dist/esm-es5/{key-66ffc0a6.js → key-2ee31b0e.js} +1 -1
  808. package/dist/esm-es5/{label-a7ae8219.js → label-63ea64f5.js} +2 -2
  809. package/dist/esm-es5/loader.js +2 -2
  810. package/dist/esm-es5/{locale-8929fd51.js → locale-ebcab169.js} +2 -2
  811. package/dist/esm-es5/{math-be7d2f3b.js → math-4dd9a94b.js} +1 -1
  812. package/dist/esm-es5/{observers-1c28ae12.js → observers-7a3a3ac4.js} +1 -1
  813. package/dist/esm-es5/{openCloseComponent-07a8007c.js → openCloseComponent-1e6c74f9.js} +1 -1
  814. package/dist/esm-es5/{resources-9edb97ea.js → resources-321413da.js} +1 -1
  815. package/dist/esm-es5/{resources-9480c6af.js → resources-4ed46688.js} +2 -2
  816. package/dist/esm-es5/{resources-c467e503.js → resources-5ae71b3a.js} +1 -1
  817. package/dist/esm-es5/{resources-8df5b958.js → resources-d7250ef4.js} +2 -2
  818. package/dist/esm-es5/{resources-47135f28.js → resources-f8b87a62.js} +1 -1
  819. package/dist/esm-es5/{sortable.esm-41e7c566.js → sortable.esm-3e852d72.js} +1 -1
  820. package/dist/esm-es5/{utils-535af390.js → utils-c50b16ec.js} +1 -1
  821. package/dist/extras/docs-json.json +35 -3
  822. package/dist/loader/cdn.js +1 -1
  823. package/dist/loader/index.cjs.js +1 -1
  824. package/dist/loader/index.es2017.js +1 -1
  825. package/dist/loader/index.js +1 -1
  826. package/dist/types/utils/floating-ui.d.ts +10 -2
  827. package/hydrate/index.js +11 -12
  828. package/package.json +1 -1
  829. package/dist/calcite/p-01f33421.js +0 -6
  830. package/dist/calcite/p-0bcceda2.system.entry.js +0 -6
  831. package/dist/calcite/p-3cfab2ca.entry.js +0 -6
  832. package/dist/calcite/p-68339cba.js +0 -6
  833. package/dist/calcite/p-7d44b9ba.system.js +0 -6
  834. package/dist/calcite/p-948a5867.system.entry.js +0 -6
  835. package/dist/calcite/p-cc01a0da.js +0 -6
  836. package/dist/calcite/p-d97dd30a.entry.js +0 -6
  837. package/dist/calcite/p-dc063bce.system.js +0 -6
  838. package/dist/calcite/p-f88777d1.entry.js +0 -6
  839. package/dist/calcite/p-fe158e3f.system.entry.js +0 -6
  840. 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.572
5
5
  */
6
- import{r as t,h as e,g as a}from"./p-c8ceec2d.js";import{c as o}from"./p-634b4667.js";import{c as n,d as r,g as i}from"./p-05d4924d.js";import{c}from"./p-46db8711.js";import{u as l}from"./p-d815a193.js";import{s,r as p}from"./p-68339cba.js";import"./p-735f4fb7.js";import"./p-b596c9e6.js";!function(t){function e(t,e,a){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",a)}"function"!=typeof t.requestSubmit&&(t.requestSubmit=function(t){t?(function(t,a){t instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==t.type||e(TypeError,"The specified element is not a submit button"),t.form==a||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}(t,this),t.click()):((t=document.createElement("input")).type="submit",t.hidden=!0,this.appendChild(t),t.click(),this.removeChild(t))})}(HTMLFormElement.prototype);const u=class{constructor(e){t(this,e),this.alignment="center",this.appearance="solid",this.color="blue",this.disabled=!1,this.intlLoading="Loading",this.loading=!1,this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto",this.mutationObserver=c("mutation",(()=>this.updateHasContent())),this.hasContent=!1,this.hasLoader=!1,this.handleClick=()=>{const{type:t}=this;this.href||("submit"===t?s(this):"reset"===t&&p(this))}}loadingChanged(t,e){t&&!e&&(this.hasLoader=!0),!t&&e&&window.setTimeout((()=>{this.hasLoader=!1}),300)}connectedCallback(){this.hasLoader=this.loading,this.setupTextContentObserver(),n(this),this.formEl=o(this.el,this.form?`#${this.form}`:"form")}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),r(this),this.formEl=null}componentWillLoad(){this.updateHasContent()}componentDidRender(){l(this)}render(){const t=this.href?"a":"button",a=t,o=this.hasLoader?e("div",{class:"calcite-button--loader"},e("calcite-loader",{active:!0,class:this.loading?"loading-in":"loading-out",inline:!0,label:this.intlLoading,scale:"m"})):null,n=e("calcite-icon",{class:{icon:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=e("calcite-icon",{class:{icon:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),c=e("span",{class:"content"},e("slot",null));return e(a,{"aria-label":i(this),class:{"content--slotted":this.hasContent,"icon-start-empty":!this.iconStart,"icon-end-empty":!this.iconEnd},disabled:this.disabled||this.loading,href:"a"===t&&this.href,name:"button"===t&&this.name,onClick:this.handleClick,ref:t=>this.childEl=t,rel:"a"===t&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:"a"===t&&this.target,type:"button"===t&&this.type},o,this.iconStart?n:null,this.hasContent?c:null,this.iconEnd?r:null)}async setFocus(){var t;null===(t=this.childEl)||void 0===t||t.focus()}updateHasContent(){var t,e;const a=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=1===this.el.childNodes.length&&"#text"===(null===(t=this.el.childNodes[0])||void 0===t?void 0:t.nodeName)?(null===(e=this.el.textContent)||void 0===e?void 0:e.trim().length)>0:a}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}get el(){return a(this)}static get watchers(){return{loading:["loadingChanged"]}}};u.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host button,:host a{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out}:host button:hover,:host a:hover{-webkit-text-decoration-line:none;text-decoration-line:none}.content{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}.icon-start-empty .content{-webkit-margin-start:unset;margin-inline-start:unset}.icon-end-empty .content{-webkit-margin-end:unset;margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{-ms-flex-pack:center;justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{-ms-flex-pack:start;justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{-ms-flex-pack:justify;justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{-webkit-margin-end:auto;margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{-webkit-margin-start:auto;margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin)}.icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([loading]){pointer-events:none}:host([loading]) button,:host([loading]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}.calcite-button--loader{display:-ms-flexbox;display:flex}.calcite-button--loader calcite-loader{margin:0px;-webkit-transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}.calcite-button--loader calcite-loader.loading-out{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance=solid]) button,:host([appearance=solid]) a{border-width:1px;border-style:solid;border-color:transparent}:host([appearance=solid][color=blue]) button,:host([appearance=solid][color=blue]) a{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=blue]) button:hover,:host([appearance=solid][color=blue]) button:focus,:host([appearance=solid][color=blue]) a:hover,:host([appearance=solid][color=blue]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([appearance=solid][color=blue]) button:active,:host([appearance=solid][color=blue]) a:active{background-color:var(--calcite-ui-brand-press)}:host([appearance=solid][color=blue]) button calcite-loader,:host([appearance=solid][color=blue]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button,:host([appearance=solid][color=red]) a{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button:hover,:host([appearance=solid][color=red]) button:focus,:host([appearance=solid][color=red]) a:hover,:host([appearance=solid][color=red]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([appearance=solid][color=red]) button:active,:host([appearance=solid][color=red]) a:active{background-color:var(--calcite-ui-danger-press)}:host([appearance=solid][color=red]) button calcite-loader,:host([appearance=solid][color=red]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=neutral]) button,:host([appearance=solid][color=neutral]) a{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}:host([appearance=solid][color=neutral]) button:hover,:host([appearance=solid][color=neutral]) button:focus,:host([appearance=solid][color=neutral]) a:hover,:host([appearance=solid][color=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([appearance=solid][color=neutral]) button:active,:host([appearance=solid][color=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=solid][color=neutral]) button calcite-loader,:host([appearance=solid][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=solid][color=inverse]) button,:host([appearance=solid][color=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([appearance=solid][color=inverse]) button:hover,:host([appearance=solid][color=inverse]) button:focus,:host([appearance=solid][color=inverse]) a:hover,:host([appearance=solid][color=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([appearance=solid][color=inverse]) button:active,:host([appearance=solid][color=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([appearance=solid][color=inverse]) button calcite-loader,:host([appearance=solid][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][color=blue]) button,:host([appearance=outline][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:hover,:host([appearance=outline][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);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)}:host([appearance=outline][color=blue]) button:focus,:host([appearance=outline][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:active,:host([appearance=outline][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][color=blue]) button calcite-loader,:host([appearance=outline][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][color=red]) button,:host([appearance=outline][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:hover,:host([appearance=outline][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][color=red]) button:focus,:host([appearance=outline][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:active,:host([appearance=outline][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][color=red]) button calcite-loader,:host([appearance=outline][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][color=neutral]) button,:host([appearance=outline][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:hover,:host([appearance=outline][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:focus,:host([appearance=outline][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:active,:host([appearance=outline][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button calcite-loader,:host([appearance=outline][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][color=inverse]) button,:host([appearance=outline][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:hover,:host([appearance=outline][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][color=inverse]) button:focus,:host([appearance=outline][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:active,:host([appearance=outline][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][color=inverse]) button calcite-loader,:host([appearance=outline][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear]) button,:host([appearance=clear]) a{border-width:1px;border-style:solid;background-color:transparent;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=clear][color=blue]) button,:host([appearance=clear][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:hover,:host([appearance=clear][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);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)}:host([appearance=clear][color=blue]) button:focus,:host([appearance=clear][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:active,:host([appearance=clear][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=clear][color=blue]) button calcite-loader,:host([appearance=clear][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=clear][color=red]) button,:host([appearance=clear][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:hover,:host([appearance=clear][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=clear][color=red]) button:focus,:host([appearance=clear][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:active,:host([appearance=clear][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=clear][color=red]) button calcite-loader,:host([appearance=clear][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=clear][color=neutral]) button,:host([appearance=clear][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:hover,:host([appearance=clear][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:focus,:host([appearance=clear][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:active,:host([appearance=clear][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button calcite-loader,:host([appearance=clear][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear][color=inverse]) button,:host([appearance=clear][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:hover,:host([appearance=clear][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=clear][color=inverse]) button:focus,:host([appearance=clear][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:active,:host([appearance=clear][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=clear][color=inverse]) button calcite-loader,:host([appearance=clear][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][split-child=primary]) button,:host([appearance=clear][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][color=blue]) button,:host([appearance=transparent][color=blue]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:hover,:host([appearance=transparent][color=blue]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][color=blue]) button:focus,:host([appearance=transparent][color=blue]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:active,:host([appearance=transparent][color=blue]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][color=blue]) button calcite-loader,:host([appearance=transparent][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=red]) button,:host([appearance=transparent][color=red]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:hover,:host([appearance=transparent][color=red]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][color=red]) button:focus,:host([appearance=transparent][color=red]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:active,:host([appearance=transparent][color=red]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][color=red]) button calcite-loader,:host([appearance=transparent][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][color=inverse]) button,:host([appearance=transparent][color=inverse]) a,:host([appearance=transparent][color=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]:not([appearance=transparent])) button.content--slotted,:host([scale=m]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]:not([appearance=transparent])) button.content--slotted,:host([scale=l]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:11px}:host([scale=l][appearance=transparent]) button.content--slotted,:host([scale=l][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=s][appearance=transparent]) button:not(.content--slotted),:host([scale=s][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.25rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=m][appearance=transparent]) button:not(.content--slotted),:host([scale=m][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.5rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:1rem;margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:2.75rem}";export{u as calcite_button}
6
+ import{r as t,h as e,g as a}from"./p-8fe8a091.js";import{c as o}from"./p-be8013f9.js";import{c as n,d as r,g as i}from"./p-55afd183.js";import{c}from"./p-74fb68dd.js";import{u as l}from"./p-fbb03710.js";import{s,r as p}from"./p-05f73c36.js";import"./p-c8687235.js";import"./p-7bc4298b.js";!function(t){function e(t,e,a){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",a)}"function"!=typeof t.requestSubmit&&(t.requestSubmit=function(t){t?(function(t,a){t instanceof HTMLElement||e(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==t.type||e(TypeError,"The specified element is not a submit button"),t.form==a||e(DOMException,"The specified element is not owned by this form element","NotFoundError")}(t,this),t.click()):((t=document.createElement("input")).type="submit",t.hidden=!0,this.appendChild(t),t.click(),this.removeChild(t))})}(HTMLFormElement.prototype);const u=class{constructor(e){t(this,e),this.alignment="center",this.appearance="solid",this.color="blue",this.disabled=!1,this.intlLoading="Loading",this.loading=!1,this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto",this.mutationObserver=c("mutation",(()=>this.updateHasContent())),this.hasContent=!1,this.hasLoader=!1,this.handleClick=()=>{const{type:t}=this;this.href||("submit"===t?s(this):"reset"===t&&p(this))}}loadingChanged(t,e){t&&!e&&(this.hasLoader=!0),!t&&e&&window.setTimeout((()=>{this.hasLoader=!1}),300)}connectedCallback(){this.hasLoader=this.loading,this.setupTextContentObserver(),n(this),this.formEl=o(this.el,this.form?`#${this.form}`:"form")}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),r(this),this.formEl=null}componentWillLoad(){this.updateHasContent()}componentDidRender(){l(this)}render(){const t=this.href?"a":"button",a=t,o=this.hasLoader?e("div",{class:"calcite-button--loader"},e("calcite-loader",{active:!0,class:this.loading?"loading-in":"loading-out",inline:!0,label:this.intlLoading,scale:"m"})):null,n=e("calcite-icon",{class:{icon:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=e("calcite-icon",{class:{icon:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),c=e("span",{class:"content"},e("slot",null));return e(a,{"aria-label":i(this),class:{"content--slotted":this.hasContent,"icon-start-empty":!this.iconStart,"icon-end-empty":!this.iconEnd},disabled:this.disabled||this.loading,href:"a"===t&&this.href,name:"button"===t&&this.name,onClick:this.handleClick,ref:t=>this.childEl=t,rel:"a"===t&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:"a"===t&&this.target,type:"button"===t&&this.type},o,this.iconStart?n:null,this.hasContent?c:null,this.iconEnd?r:null)}async setFocus(){var t;null===(t=this.childEl)||void 0===t||t.focus()}updateHasContent(){var t,e;const a=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=1===this.el.childNodes.length&&"#text"===(null===(t=this.el.childNodes[0])||void 0===t?void 0:t.nodeName)?(null===(e=this.el.textContent)||void 0===e?void 0:e.trim().length)>0:a}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}get el(){return a(this)}static get watchers(){return{loading:["loadingChanged"]}}};u.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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;inline-size:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-color:transparent}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host button,:host a{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding-block:var(--calcite-button-padding-y);padding-inline:var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out, -webkit-box-shadow var(--calcite-animation-timing) ease-in-out}:host button:hover,:host a:hover{-webkit-text-decoration-line:none;text-decoration-line:none}.content{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-inline:var(--calcite-button-content-margin)}.icon-start-empty .content{-webkit-margin-start:unset;margin-inline-start:unset}.icon-end-empty .content{-webkit-margin-end:unset;margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{-ms-flex-pack:center;justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{-ms-flex-pack:start;justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{-ms-flex-pack:justify;justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{-webkit-margin-end:auto;margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{-webkit-margin-start:auto;margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin)}.icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([loading]){pointer-events:none}:host([loading]) button,:host([loading]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{inline-size:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}.calcite-button--loader{display:-ms-flexbox;display:flex}.calcite-button--loader calcite-loader{margin:0px;-webkit-transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out, -webkit-transform var(--calcite-internal-animation-timing-slow) ease-in-out}.calcite-button--loader calcite-loader.loading-in{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}.calcite-button--loader calcite-loader.loading-out{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance=solid]) button,:host([appearance=solid]) a{border-width:1px;border-style:solid;border-color:transparent}:host([appearance=solid][color=blue]) button,:host([appearance=solid][color=blue]) a{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=blue]) button:hover,:host([appearance=solid][color=blue]) button:focus,:host([appearance=solid][color=blue]) a:hover,:host([appearance=solid][color=blue]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([appearance=solid][color=blue]) button:active,:host([appearance=solid][color=blue]) a:active{background-color:var(--calcite-ui-brand-press)}:host([appearance=solid][color=blue]) button calcite-loader,:host([appearance=solid][color=blue]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button,:host([appearance=solid][color=red]) a{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button:hover,:host([appearance=solid][color=red]) button:focus,:host([appearance=solid][color=red]) a:hover,:host([appearance=solid][color=red]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([appearance=solid][color=red]) button:active,:host([appearance=solid][color=red]) a:active{background-color:var(--calcite-ui-danger-press)}:host([appearance=solid][color=red]) button calcite-loader,:host([appearance=solid][color=red]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=neutral]) button,:host([appearance=solid][color=neutral]) a{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}:host([appearance=solid][color=neutral]) button:hover,:host([appearance=solid][color=neutral]) button:focus,:host([appearance=solid][color=neutral]) a:hover,:host([appearance=solid][color=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([appearance=solid][color=neutral]) button:active,:host([appearance=solid][color=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=solid][color=neutral]) button calcite-loader,:host([appearance=solid][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=solid][color=inverse]) button,:host([appearance=solid][color=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([appearance=solid][color=inverse]) button:hover,:host([appearance=solid][color=inverse]) button:focus,:host([appearance=solid][color=inverse]) a:hover,:host([appearance=solid][color=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([appearance=solid][color=inverse]) button:active,:host([appearance=solid][color=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([appearance=solid][color=inverse]) button calcite-loader,:host([appearance=solid][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline]) button,:host([appearance=outline]) a{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][color=blue]) button,:host([appearance=outline][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:hover,:host([appearance=outline][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);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)}:host([appearance=outline][color=blue]) button:focus,:host([appearance=outline][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:active,:host([appearance=outline][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][color=blue]) button calcite-loader,:host([appearance=outline][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][color=red]) button,:host([appearance=outline][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:hover,:host([appearance=outline][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][color=red]) button:focus,:host([appearance=outline][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:active,:host([appearance=outline][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][color=red]) button calcite-loader,:host([appearance=outline][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][color=neutral]) button,:host([appearance=outline][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:hover,:host([appearance=outline][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:focus,:host([appearance=outline][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:active,:host([appearance=outline][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button calcite-loader,:host([appearance=outline][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][color=inverse]) button,:host([appearance=outline][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:hover,:host([appearance=outline][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][color=inverse]) button:focus,:host([appearance=outline][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:active,:host([appearance=outline][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][color=inverse]) button calcite-loader,:host([appearance=outline][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear]) button,:host([appearance=clear]) a{border-width:1px;border-style:solid;background-color:transparent;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=clear][color=blue]) button,:host([appearance=clear][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:hover,:host([appearance=clear][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);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)}:host([appearance=clear][color=blue]) button:focus,:host([appearance=clear][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:active,:host([appearance=clear][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=clear][color=blue]) button calcite-loader,:host([appearance=clear][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=clear][color=red]) button,:host([appearance=clear][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:hover,:host([appearance=clear][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=clear][color=red]) button:focus,:host([appearance=clear][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:active,:host([appearance=clear][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=clear][color=red]) button calcite-loader,:host([appearance=clear][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=clear][color=neutral]) button,:host([appearance=clear][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:hover,:host([appearance=clear][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:focus,:host([appearance=clear][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:active,:host([appearance=clear][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button calcite-loader,:host([appearance=clear][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear][color=inverse]) button,:host([appearance=clear][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:hover,:host([appearance=clear][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=clear][color=inverse]) button:focus,:host([appearance=clear][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:active,:host([appearance=clear][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=clear][color=inverse]) button calcite-loader,:host([appearance=clear][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][split-child=primary]) button,:host([appearance=clear][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][color=blue]) button,:host([appearance=transparent][color=blue]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:hover,:host([appearance=transparent][color=blue]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][color=blue]) button:focus,:host([appearance=transparent][color=blue]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:active,:host([appearance=transparent][color=blue]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][color=blue]) button calcite-loader,:host([appearance=transparent][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=red]) button,:host([appearance=transparent][color=red]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:hover,:host([appearance=transparent][color=red]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][color=red]) button:focus,:host([appearance=transparent][color=red]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:active,:host([appearance=transparent][color=red]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][color=red]) button calcite-loader,:host([appearance=transparent][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].cancel-editing-button) button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][color=inverse]) button,:host([appearance=transparent][color=inverse]) a,:host([appearance=transparent][color=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]:not([appearance=transparent])) button.content--slotted,:host([scale=m]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]:not([appearance=transparent])) button.content--slotted,:host([scale=l]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:11px}:host([scale=l][appearance=transparent]) button.content--slotted,:host([scale=l][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=s][appearance=transparent]) button:not(.content--slotted),:host([scale=s][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.25rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=m][appearance=transparent]) button:not(.content--slotted),:host([scale=m][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.5rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:1rem;margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:2.75rem}";export{u as calcite_button}
@@ -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.572
5
5
  */
6
6
  System.register([],(function(t){"use strict";return{execute:function(){t({c:r,d:o});var n=new WeakMap;function e(t){if(t.propertyName===this.openTransitionProp&&t.target===this.transitionEl){this.open?this.onBeforeOpen():this.onBeforeClose()}}function i(t){if(t.propertyName===this.openTransitionProp&&t.target===this.transitionEl){this.open?this.onOpen():this.onClose()}}function r(t){o(t);if(t.transitionEl){var r=e.bind(t);var s=i.bind(t);n.set(t,[t.transitionEl,r,s]);t.transitionEl.addEventListener("transitionstart",r);t.transitionEl.addEventListener("transitionend",s)}}function o(t){if(!n.has(t)){return}var e=n.get(t),i=e[0],r=e[1],o=e[2];i.removeEventListener("transitionstart",r);i.removeEventListener("transitionend",o);n.delete(t)}}}}));
@@ -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
- */System.register(["./p-5676272d.system.js","./p-4407d4e4.system.js","./p-aa4f564a.system.js","./p-2ce5c529.system.js","./p-bdfa3789.system.js","./p-9f99c3f3.system.js"],(function(t){"use strict";var e,i,n,a,o,r,c,l,s;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g;r=t.f},function(t){c=t.c},function(t){l=t.u},function(t){s=t.t},function(){},function(){}],execute:function(){var u={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible"};var d={loading:"Loading"};var b='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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([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;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-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-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}.button .text-container--visible{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-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([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';var f=t("calcite_action",function(){function t(t){var n=this;e(this,t);this.calciteActionClick=i(this,"calciteActionClick",6);this.active=false;this.appearance="solid";this.compact=false;this.disabled=false;this.indicator=false;this.intlLoading=d.loading;this.loading=false;this.scale="m";this.textEnabled=false;this.mutationObserver=c("mutation",(function(){return r(n)}));this.calciteActionClickHandler=function(){if(!n.disabled){n.calciteActionClick.emit()}}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentDidRender=function(){l(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.buttonEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderTextContainer=function(){var t;var e=this,i=e.text,a=e.textEnabled;var o=(t={},t[u.textContainer]=true,t[u.textContainerVisible]=a,t);return i?n("div",{class:o,key:"text-container"},i):null};t.prototype.renderIconContainer=function(){var t;var e;var i=this,a=i.loading,o=i.icon,r=i.scale,c=i.el,l=i.intlLoading;var s=r==="l"?"m":"s";var d=r==="l"?"l":"m";var b=a?n("calcite-loader",{active:true,inline:true,label:l,scale:d}):null;var f=o?n("calcite-icon",{icon:o,scale:s}):null;var m=b||f;var p=m||((e=c.children)===null||e===void 0?void 0:e.length);var h=n("div",{class:(t={},t[u.slotContainer]=true,t[u.slotContainerHidden]=a,t)},n("slot",null));return p?n("div",{"aria-hidden":"true",class:u.iconContainer,key:"icon-container"},m,h):null};t.prototype.render=function(){var t;var e=this;var i=this,o=i.compact,r=i.disabled,c=i.loading,l=i.textEnabled,d=i.label,b=i.text;var f=d||b;var m=(t={},t[u.button]=true,t[u.buttonTextVisible]=l,t[u.buttonCompact]=o,t);return n(a,{onClick:this.calciteActionClickHandler},n("button",{"aria-busy":s(c),"aria-disabled":s(r),"aria-label":f,class:m,disabled:r,ref:function(t){return e.buttonEl=t}},this.renderIconContainer(),this.renderTextContainer()))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());f.style=b}}}));
5
+ * v1.0.0-next.572
6
+ */System.register(["./p-c3fdbf76.system.js","./p-61abcec0.system.js","./p-604aceb7.system.js","./p-96b66926.system.js","./p-e7d34b65.system.js","./p-757d267e.system.js"],(function(t){"use strict";var e,i,n,a,o,r,c,l,s;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g;r=t.f},function(t){c=t.c},function(t){l=t.u},function(t){s=t.t},function(){},function(){}],execute:function(){var u={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible"};var d={loading:"Loading"};var b='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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([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;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-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-transition-property:margin;transition-property:margin;-webkit-transition-property:inline-size;transition-property:inline-size}.button .text-container--visible{inline-size:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-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([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);-webkit-margin-end:0px;margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';var f=t("calcite_action",function(){function t(t){var n=this;e(this,t);this.calciteActionClick=i(this,"calciteActionClick",6);this.active=false;this.appearance="solid";this.compact=false;this.disabled=false;this.indicator=false;this.intlLoading=d.loading;this.loading=false;this.scale="m";this.textEnabled=false;this.mutationObserver=c("mutation",(function(){return r(n)}));this.calciteActionClickHandler=function(){if(!n.disabled){n.calciteActionClick.emit()}}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentDidRender=function(){l(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.buttonEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.renderTextContainer=function(){var t;var e=this,i=e.text,a=e.textEnabled;var o=(t={},t[u.textContainer]=true,t[u.textContainerVisible]=a,t);return i?n("div",{class:o,key:"text-container"},i):null};t.prototype.renderIconContainer=function(){var t;var e;var i=this,a=i.loading,o=i.icon,r=i.scale,c=i.el,l=i.intlLoading;var s=r==="l"?"m":"s";var d=r==="l"?"l":"m";var b=a?n("calcite-loader",{active:true,inline:true,label:l,scale:d}):null;var f=o?n("calcite-icon",{icon:o,scale:s}):null;var m=b||f;var p=m||((e=c.children)===null||e===void 0?void 0:e.length);var h=n("div",{class:(t={},t[u.slotContainer]=true,t[u.slotContainerHidden]=a,t)},n("slot",null));return p?n("div",{"aria-hidden":"true",class:u.iconContainer,key:"icon-container"},m,h):null};t.prototype.render=function(){var t;var e=this;var i=this,o=i.compact,r=i.disabled,c=i.loading,l=i.textEnabled,d=i.label,b=i.text;var f=d||b;var m=(t={},t[u.button]=true,t[u.buttonTextVisible]=l,t[u.buttonCompact]=o,t);return n(a,{onClick:this.calciteActionClickHandler},n("button",{"aria-busy":s(c),"aria-disabled":s(r),"aria-label":f,class:m,disabled:r,ref:function(t){return e.buttonEl=t}},this.renderIconContainer(),this.renderTextContainer()))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());f.style=b}}}));
@@ -0,0 +1,6 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function r(e){try{c(n.next(e))}catch(e){o(e)}}function s(e){try{c(n["throw"](e))}catch(e){o(e)}}function c(e){e.done?i(e.value):a(e.value).then(r,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return c([e,t])}}function c(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,a=t.length,o;n<a;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};
2
+ /*!
3
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
+ * v1.0.0-next.572
6
+ */System.register(["./p-c3fdbf76.system.js","./p-00fc9dc6.system.js","./p-330760b8.system.js","./p-757d267e.system.js","./p-96b66926.system.js","./p-e1879904.system.js","./p-43ad746e.system.js","./p-61abcec0.system.js","./p-604aceb7.system.js","./p-074bb552.system.js","./p-95a42e28.system.js","./p-4f11593d.system.js","./p-e7d34b65.system.js"],(function(e){"use strict";var t,i,n,a,o,r,s,c,l,m,u,p,d,f,h,b,v,g,x,y,w,k,I,C,D,E,_,H,z,A,S,O;return{setters:[function(e){t=e.r;i=e.c;n=e.h;a=e.H;o=e.g},function(e){r=e.f},function(e){s=e.d;c=e.f;l=e.c;m=e.p;u=e.a;p=e.F},function(e){d=e.g},function(e){f=e.n;h=e.t;b=e.d;v=e.g},function(e){g=e.c;x=e.d;y=e.g},function(e){w=e.s;k=e.c;I=e.a;C=e.d;D=e.H},function(e){E=e.c},function(e){_=e.u},function(e){H=e.c;z=e.d},function(e){A=e.d},function(e){S=e.c;O=e.d},function(){}],execute:function(){var L="CALCITE-COMBOBOX-ITEM";var F="CALCITE-COMBOBOX-ITEM-GROUP";var T="".concat(L,", ").concat(F);var M={removeTag:"Remove tag"};function P(e){var t,i;var n=(t=e.parentElement)===null||t===void 0?void 0:t.closest(T);var a=(i=n===null||n===void 0?void 0:n.parentElement)===null||i===void 0?void 0:i.closest(T);return[n,a].filter((function(e){return e}))}function V(e){var t;return((t=e.ancestors)===null||t===void 0?void 0:t.filter((function(e){return e.nodeName==="CALCITE-COMBOBOX-ITEM"})))||[]}function B(e){return f(e.querySelectorAll("calcite-combobox-item"))}function j(e){var t=f(e.querySelectorAll("calcite-combobox-item"));return t.filter((function(e){return e.selected})).length>0}function R(e){var t=document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",e,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);return t.snapshotLength}var N="@-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{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;inline-size:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::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 X=function(e){return e.tagName===F};var q="combobox-item-";var W="combobox-chip-";var U="combobox-label-";var Y="combobox-listbox-";var G="combobox-input-";var K=e("calcite_combobox",function(){function e(e){var n=this;t(this,e);this.calciteLookupChange=i(this,"calciteLookupChange",6);this.calciteComboboxChange=i(this,"calciteComboboxChange",6);this.calciteComboboxFilterChange=i(this,"calciteComboboxFilterChange",6);this.calciteComboboxChipDismiss=i(this,"calciteComboboxChipDismiss",6);this.calciteComboboxBeforeClose=i(this,"calciteComboboxBeforeClose",6);this.calciteComboboxClose=i(this,"calciteComboboxClose",6);this.calciteComboboxBeforeOpen=i(this,"calciteComboboxBeforeOpen",6);this.calciteComboboxOpen=i(this,"calciteComboboxOpen",6);this.active=false;this.open=false;this.disabled=false;this.maxItems=0;this.overlayPositioning="absolute";this.required=false;this.selectionMode="multi";this.scale="m";this.value=null;this.intlRemoveTag=M.removeTag;this.placement=s;this.internalValueChangeFlag=false;this.items=[];this.groupItems=[];this.selectedItems=[];this.visibleItems=[];this.activeItemIndex=-1;this.activeChipIndex=-1;this.activeDescendant="";this.text="";this.textInput=null;this.mutationObserver=E("mutation",(function(){return n.updateItems()}));this.resizeObserver=E("resize",(function(){return n.setMaxScrollerHeight()}));this.guid=d();this.inputHeight=0;this.ignoreSelectedEventsFlag=false;this.openTransitionProp="opacity";this.setFilteredPlacements=function(){var e=n,t=e.el,i=e.flipPlacements;n.filteredFlipPlacements=i?c(i,t):null};this.getValue=function(){var e=n.selectedItems.map((function(e){var t;return(t=e===null||e===void 0?void 0:e.value)===null||t===void 0?void 0:t.toString()}));return(e===null||e===void 0?void 0:e.length)?e.length>1?e:e[0]:""};this.onLabelClick=function(){n.setFocus()};this.keydownHandler=function(e){var t=e.key;switch(t){case"Tab":n.activeChipIndex=-1;n.activeItemIndex=-1;if(n.allowCustomValues&&n.text){n.addCustomChip(n.text,true);e.preventDefault()}else if(n.open){n.open=false;e.preventDefault()}break;case"ArrowLeft":n.previousChip();e.preventDefault();break;case"ArrowRight":n.nextChip();e.preventDefault();break;case"ArrowUp":e.preventDefault();n.shiftActiveItemIndex(-1);if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case"ArrowDown":e.preventDefault();if(!n.open){n.open=true}n.shiftActiveItemIndex(1);if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case" ":if(!n.textInput.value){e.preventDefault();n.open=true;n.shiftActiveItemIndex(1)}break;case"Home":if(!n.open){return}e.preventDefault();n.updateActiveItemIndex(0);n.scrollToActiveItem();if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case"End":if(!n.open){return}e.preventDefault();n.updateActiveItemIndex(n.visibleItems.length-1);n.scrollToActiveItem();if(!n.comboboxInViewport()){n.el.scrollIntoView()}break;case"Escape":n.open=false;e.preventDefault();break;case"Enter":if(n.activeItemIndex>-1){n.toggleSelection(n.visibleItems[n.activeItemIndex]);e.preventDefault()}else if(n.activeChipIndex>-1){n.removeActiveChip();e.preventDefault()}else if(n.allowCustomValues&&n.text){n.addCustomChip(n.text,true);e.preventDefault()}else if(!e.defaultPrevented){if(w(n)){e.preventDefault()}}break;case"Delete":case"Backspace":if(n.activeChipIndex>-1){e.preventDefault();n.removeActiveChip()}else if(!n.text&&n.isMulti()){e.preventDefault();n.removeLastChip()}break}};this.toggleCloseEnd=function(){n.open=false;n.el.removeEventListener("calciteComboboxClose",n.toggleCloseEnd)};this.toggleOpenEnd=function(){n.open=false;n.el.removeEventListener("calciteComboboxOpen",n.toggleOpenEnd)};this.setMaxScrollerHeight=function(){return __awaiter(n,void 0,void 0,(function(){var e,t,i,n,a;return __generator(this,(function(o){switch(o.label){case 0:e=this,t=e.listContainerEl,i=e.open,n=e.referenceEl;if(!t||!i){return[2]}return[4,this.reposition()];case 1:o.sent();a=this.getMaxScrollerHeight();t.style.maxHeight=a>0?"".concat(a,"px"):"";t.style.minWidth="".concat(n.clientWidth,"px");return[4,this.reposition()];case 2:o.sent();return[2]}}))}))};this.calciteChipDismissHandler=function(e,t){n.open=false;var i=n.items.find((function(e){return e===t}));if(i){n.toggleSelection(i,false)}n.calciteComboboxChipDismiss.emit(e.detail)};this.clickHandler=function(e){if(e.composedPath().some((function(e){return e.tagName==="CALCITE-CHIP"}))){return}n.open=!n.open;n.updateActiveItemIndex(0);n.setFocus()};this.setInactiveIfNotContained=function(e){var t=e.composedPath();if(!n.open||t.includes(n.el)||t.includes(n.referenceEl)){return}if(n.allowCustomValues&&n.text.trim().length){n.addCustomChip(n.text)}if(n.selectionMode==="single"){if(n.textInput){n.textInput.value=""}n.text="";n.filterItems("");n.updateActiveItemIndex(-1)}n.open=false};this.setFloatingEl=function(e){n.floatingEl=e;l(n,n.referenceEl,n.floatingEl)};this.setContainerEl=function(e){n.resizeObserver.observe(e);n.listContainerEl=e;n.transitionEl=e;H(n)};this.setReferenceEl=function(e){n.referenceEl=e;l(n,n.referenceEl,n.floatingEl)};this.inputHandler=function(e){var t=e.target.value;n.text=t;n.filterItems(t);if(t){n.activeChipIndex=-1}};this.filterItems=function(){var e=function(e,t){return e&&t.some((function(t){var i=t.label,n=t.value;if(X(e)){return n===e.label}return n===e.textLabel||n===e.value||i===e.textLabel||i===e.value}))};return A((function(t){var i=r(n.data,t);var a=n.getCombinedItems();a.forEach((function(t){var n=!e(t,i);t.hidden=n;var a=t.ancestors,o=a[0],r=a[1];if(e(o,i)||e(r,i)){t.hidden=false}if(!n){t.ancestors.forEach((function(e){return e.hidden=false}))}}));n.visibleItems=n.getVisibleItems();n.calciteComboboxFilterChange.emit({visibleItems:__spreadArray([],n.visibleItems,true),text:t})}),100)}();this.internalCalciteLookupChangeEvent=function(){n.calciteLookupChange.emit(n.selectedItems)};this.emitCalciteLookupChange=A(this.internalCalciteLookupChangeEvent,0);this.internalComboboxChangeEvent=function(){var e=n.selectedItems;n.calciteComboboxChange.emit({selectedItems:e})};this.emitComboboxChange=A(this.internalComboboxChangeEvent,0);this.updateItems=function(){n.items=n.getItems();n.groupItems=n.getGroupItems();n.data=n.getData();n.selectedItems=n.getSelectedItems();n.visibleItems=n.getVisibleItems();n.needsIcon=n.getNeedsIcon();if(!n.allowCustomValues){n.setMaxScrollerHeight()}};this.scrollToActiveItem=function(){var e=n.visibleItems[n.activeItemIndex];var t=n.calculateSingleItemHeight(e);var i=n.listContainerEl,a=i.offsetHeight,o=i.scrollTop;if(a+o<e.offsetTop+t){n.listContainerEl.scrollTop=e.offsetTop-a+t}else if(e.offsetTop<o){n.listContainerEl.scrollTop=e.offsetTop}};this.comboboxFocusHandler=function(){var e;(e=n.textInput)===null||e===void 0?void 0:e.focus()};this.comboboxBlurHandler=function(e){n.setInactiveIfNotContained(e)}}e.prototype.activeHandler=function(e){if(this.disabled){this.active=false;this.open=false;return}this.open=e};e.prototype.openHandler=function(e){if(this.disabled){this.active=false;this.open=false;return}this.active=e;this.setMaxScrollerHeight()};e.prototype.handleDisabledChange=function(e){if(!e){this.active=false;this.open=false}};e.prototype.maxItemsHandler=function(){this.setMaxScrollerHeight()};e.prototype.overlayPositioningHandler=function(){this.reposition()};e.prototype.valueHandler=function(e){if(!this.internalValueChangeFlag){var t=this.getItems();if(Array.isArray(e)){t.forEach((function(t){return t.selected=e.includes(t.value)}))}else if(e){t.forEach((function(t){return t.selected=e===t.value}))}else{t.forEach((function(e){return e.selected=false}))}this.updateItems()}};e.prototype.flipPlacementsHandler=function(){this.setFilteredPlacements()};e.prototype.documentClickHandler=function(e){this.setInactiveIfNotContained(e)};e.prototype.calciteComboboxItemChangeHandler=function(e){if(this.ignoreSelectedEventsFlag){return}var t=e.target;var i=this.visibleItems.indexOf(t);this.updateActiveItemIndex(i);this.toggleSelection(t,t.selected)};e.prototype.reposition=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,n,a;return __generator(this,(function(o){e=this,t=e.floatingEl,i=e.referenceEl,n=e.placement,a=e.overlayPositioning;return[2,m({floatingEl:t,referenceEl:i,overlayPositioning:a,placement:n,type:"menu"})]}))}))};e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){(e=this.textInput)===null||e===void 0?void 0:e.focus();this.activeChipIndex=-1;this.activeItemIndex=-1;return[2]}))}))};e.prototype.connectedCallback=function(){var e;this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false;(e=this.mutationObserver)===null||e===void 0?void 0:e.observe(this.el,{childList:true,subtree:true});g(this);k(this);H(this);this.reposition();this.setFilteredPlacements();if(this.active){this.activeHandler(this.active)}if(this.open){this.openHandler(this.open)}};e.prototype.componentWillLoad=function(){this.updateItems()};e.prototype.componentDidLoad=function(){I(this,this.getValue());this.reposition()};e.prototype.componentDidRender=function(){if(this.el.offsetHeight!==this.inputHeight){this.reposition();this.inputHeight=this.el.offsetHeight}_(this)};e.prototype.disconnectedCallback=function(){var e,t;(e=this.mutationObserver)===null||e===void 0?void 0:e.disconnect();(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect();x(this);C(this);u(this,this.referenceEl,this.floatingEl);z(this)};e.prototype.selectedItemsHandler=function(){this.internalValueChangeFlag=true;this.value=this.getValue();this.internalValueChangeFlag=false};e.prototype.textHandler=function(){this.updateActiveItemIndex(-1)};e.prototype.comboboxInViewport=function(){var e=this.el.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.right<=(window.innerWidth||document.documentElement.clientWidth)&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)};e.prototype.onBeforeOpen=function(){this.calciteComboboxBeforeOpen.emit()};e.prototype.onOpen=function(){this.calciteComboboxOpen.emit()};e.prototype.onBeforeClose=function(){this.calciteComboboxBeforeClose.emit()};e.prototype.onClose=function(){this.calciteComboboxClose.emit()};e.prototype.getMaxScrollerHeight=function(){var e=this;var t=this.getCombinedItems().filter((function(e){return!e.hidden}));var i=this.maxItems;var n=0;var a=0;if(t.length>i){t.forEach((function(t){if(n<i&&i>0){var o=e.calculateSingleItemHeight(t);if(o>0){a+=o;n++}}}))}return a};e.prototype.calculateSingleItemHeight=function(e){var t=e.offsetHeight;var i=Array.from(e.querySelectorAll(T));i.map((function(e){return e===null||e===void 0?void 0:e.offsetHeight})).forEach((function(e){t-=e}));return t};e.prototype.getCombinedItems=function(){return __spreadArray(__spreadArray([],this.groupItems,true),this.items,true)};e.prototype.toggleSelection=function(e,t){if(t===void 0){t=!e.selected}if(!e){return}if(this.isMulti()){e.selected=t;this.updateAncestors(e);this.selectedItems=this.getSelectedItems();this.emitCalciteLookupChange();this.emitComboboxChange();this.resetText();this.filterItems("")}else{this.ignoreSelectedEventsFlag=true;this.items.forEach((function(i){return i.selected=i===e?t:false}));this.ignoreSelectedEventsFlag=false;this.selectedItems=this.getSelectedItems();this.emitComboboxChange();if(this.textInput){this.textInput.value=e.textLabel}this.open=false;this.updateActiveItemIndex(-1);this.resetText();this.filterItems("")}};e.prototype.updateAncestors=function(e){if(this.selectionMode!=="ancestors"){return}var t=V(e);var i=B(e);if(e.selected){t.forEach((function(e){e.selected=true}))}else{i.forEach((function(e){return e.selected=false}));__spreadArray([],t,true).forEach((function(e){if(!j(e)){e.selected=false}}))}};e.prototype.getVisibleItems=function(){return this.items.filter((function(e){return!e.hidden}))};e.prototype.getSelectedItems=function(){var e=this;if(!this.isMulti()){var t=this.items.find((function(e){var t=e.selected;return t}));return t?[t]:[]}return this.items.filter((function(t){return t.selected&&(e.selectionMode!=="ancestors"||!j(t))})).sort((function(t,i){var n=e.selectedItems.indexOf(t);var a=e.selectedItems.indexOf(i);if(n>-1&&a>-1){return n-a}return a-n}))};e.prototype.getData=function(){return this.items.map((function(e){return{constant:e.constant,filterDisabled:e.filterDisabled,value:e.value,label:e.textLabel}}))};e.prototype.getNeedsIcon=function(){return this.selectionMode==="single"&&this.items.some((function(e){return e.icon}))};e.prototype.resetText=function(){if(this.textInput){this.textInput.value=""}this.text=""};e.prototype.getItems=function(){var e=Array.from(this.el.querySelectorAll(L));return e.filter((function(e){return!e.disabled}))};e.prototype.getGroupItems=function(){return Array.from(this.el.querySelectorAll(F))};e.prototype.addCustomChip=function(e,t){var i=this.items.find((function(t){return t.textLabel===e}));if(i){this.toggleSelection(i,true)}else{if(!this.isMulti()){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false)}var n=document.createElement(L);n.value=e;n.textLabel=e;n.selected=true;this.el.appendChild(n);this.resetText();if(t){this.setFocus()}this.updateItems();this.filterItems("");this.emitCalciteLookupChange();this.emitComboboxChange()}};e.prototype.removeActiveChip=function(){this.toggleSelection(this.selectedItems[this.activeChipIndex],false);this.setFocus()};e.prototype.removeLastChip=function(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],false);this.setFocus()};e.prototype.previousChip=function(){if(this.text){return}var e=this.selectedItems.length-1;var t=this.activeChipIndex;this.activeChipIndex=t===-1?e:Math.max(t-1,0);this.updateActiveItemIndex(-1);this.focusChip()};e.prototype.nextChip=function(){if(this.text||this.activeChipIndex===-1){return}var e=this.selectedItems.length-1;var t=this.activeChipIndex+1;if(t>e){this.activeChipIndex=-1;this.setFocus()}else{this.activeChipIndex=t;this.focusChip()}this.updateActiveItemIndex(-1)};e.prototype.focusChip=function(){var e;var t=(e=this.selectedItems[this.activeChipIndex])===null||e===void 0?void 0:e.guid;var i=t?this.referenceEl.querySelector("#".concat(W).concat(t)):null;i===null||i===void 0?void 0:i.setFocus()};e.prototype.shiftActiveItemIndex=function(e){var t=this.visibleItems.length;var i=(this.activeItemIndex+t+e)%t;this.updateActiveItemIndex(i);this.scrollToActiveItem()};e.prototype.updateActiveItemIndex=function(e){var t;this.activeItemIndex=e;var i=null;this.visibleItems.forEach((function(t,n){if(n===e){t.active=true;i="".concat(q).concat(t.guid)}else{t.active=false}}));this.activeDescendant=i;if(this.activeItemIndex>-1){this.activeChipIndex=-1;(t=this.textInput)===null||t===void 0?void 0:t.focus()}};e.prototype.isMulti=function(){return this.selectionMode!=="single"};e.prototype.renderChips=function(){var e=this;var t=this,i=t.activeChipIndex,a=t.scale,o=t.selectionMode,r=t.intlRemoveTag;return this.selectedItems.map((function(t,s){var c={chip:true,"chip--active":i===s};var l=__spreadArray([],V(t),true).reverse();var m=__spreadArray(__spreadArray([],l,true),[t],false).map((function(e){return e.textLabel}));var u=o!=="ancestors"?t.textLabel:m.join(" / ");return n("calcite-chip",{class:c,dismissLabel:r,dismissible:true,icon:t.icon,id:t.guid?"".concat(W).concat(t.guid):null,key:t.textLabel,onCalciteChipDismiss:function(i){return e.calciteChipDismissHandler(i,t)},scale:a,title:u,value:t.value},u)}))};e.prototype.renderInput=function(){var e=this;var t=this,i=t.guid,a=t.active,o=t.disabled,r=t.placeholder,s=t.selectionMode,c=t.selectedItems,l=t.open;var m=s==="single";var u=c[0];var p=!(l||a)&&m&&!!u;return n("span",{class:{"input-wrap":true,"input-wrap--single":m}},p&&n("span",{class:{label:true,"label--icon":!!(u===null||u===void 0?void 0:u.icon)},key:"label"},u.textLabel),n("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":"".concat(Y).concat(i),"aria-label":y(this),class:{input:true,"input--single":true,"input--transparent":this.activeChipIndex>-1,"input--hidden":p,"input--icon":!!this.placeholderIcon},disabled:o,id:"".concat(G).concat(i),key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:r,ref:function(t){return e.textInput=t},type:"text"}))};e.prototype.renderListBoxOptions=function(){return this.visibleItems.map((function(e){return n("li",{"aria-selected":h(e.selected),id:e.guid?"".concat(q).concat(e.guid):null,role:"option",tabindex:"-1"},e.textLabel)}))};e.prototype.renderFloatingUIContainer=function(){var e;var t=this,i=t.active,a=t.setFloatingEl,o=t.setContainerEl,r=t.open;var s=(e={"list-container":true},e[p.animation]=true,e[p.animationActive]=r||i,e);return n("div",{"aria-hidden":"true",class:{"floating-ui-container":true,"floating-ui-container--active":r||i},ref:a},n("div",{class:s,ref:o},n("ul",{class:{list:true,"list--hide":!(r||i)}},n("slot",null))))};e.prototype.renderIconStart=function(){var e=this,t=e.selectedItems,i=e.placeholderIcon,a=e.selectionMode;var o=t[0];var r=o===null||o===void 0?void 0:o.icon;var s=a==="single";var c=!this.open&&o?!!r&&s:!!this.placeholderIcon&&(!o||s);return c&&n("span",{class:"icon-start"},n("calcite-icon",{class:"selected-icon",icon:!this.open&&o?r:i,scale:"s"}))};e.prototype.renderIconEnd=function(){var e=this,t=e.active,i=e.open;return n("span",{class:"icon-end"},n("calcite-icon",{icon:t||i?"chevron-up":"chevron-down",scale:"s"}))};e.prototype.render=function(){var e=this,t=e.active,i=e.guid,o=e.label,r=e.open;var s=this.selectionMode==="single";return n(a,null,n("div",{"aria-autocomplete":"list","aria-controls":"".concat(Y).concat(i),"aria-expanded":h(r||t),"aria-haspopup":"listbox","aria-labelledby":"".concat(U).concat(i),"aria-live":"polite","aria-owns":"".concat(Y).concat(i),class:{wrapper:true,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":r||t},onClick:this.clickHandler,onKeyDown:this.keydownHandler,ref:this.setReferenceEl,role:"combobox",tabindex:"0"},n("div",{class:"grid-input"},this.renderIconStart(),!s&&this.renderChips(),n("label",{class:"screen-readers-only",htmlFor:"".concat(G).concat(i),id:"".concat(U).concat(i)},o),this.renderInput()),this.renderIconEnd()),n("ul",{"aria-labelledby":"".concat(U).concat(i),"aria-multiselectable":"true",class:"screen-readers-only",id:"".concat(Y).concat(i),role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),n(D,{component:this}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{active:["activeHandler"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}},enumerable:false,configurable:true});return e}());K.style=N;var J={icon:"icon",iconActive:"icon--active",custom:"icon--custom",dot:"icon--dot",single:"label--single",label:"label",active:"label--active",selected:"label--selected",title:"title",textContainer:"text-container"};var Q='@charset "UTF-8";@-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)}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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);outline-color:transparent;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-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);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{-webkit-margin-before:-1px;margin-block-start:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-inline-size:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';var Z=e("calcite_combobox_item",function(){function e(e){var n=this;t(this,e);this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",6);this.disabled=false;this.selected=false;this.active=false;this.guid=d();this.scale="m";this.itemClickHandler=function(e){e.preventDefault();if(n.disabled){return}n.selected=!n.selected}}e.prototype.selectedWatchHandler=function(){this.calciteComboboxItemChange.emit(this.el)};e.prototype.connectedCallback=function(){this.ancestors=P(this.el);this.scale=b(this.el,"scale",this.scale);S(this)};e.prototype.disconnectedCallback=function(){O(this)};e.prototype.componentDidRender=function(){_(this)};e.prototype.toggleSelected=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.disabled){return[2]}this.selected=typeof e==="boolean"?e:!this.selected;return[2]}))}))};e.prototype.renderIcon=function(e){var t,i;var a=this,o=a.icon,r=a.disabled,s=a.selected;var c="".concat(J.icon,"--indent");var l=e?"dot":"check";var m=r?"circle-disallowed":l;var u=e&&!o&&!r;return u?n("span",{class:(t={},t[J.icon]=true,t[J.dot]=true,t[c]=true,t)}):n("calcite-icon",{class:(i={},i[J.icon]=!o,i[J.custom]=!!o,i[J.iconActive]=o&&s,i[c]=true,i),icon:o||m,scale:"s"})};e.prototype.renderChildren=function(){if(v(this.el)){return n("ul",{key:"default-slot-container"},n("slot",null))}return null};e.prototype.render=function(){var e;var t=b(this.el,"selection-mode","multi")==="single";var i=(e={},e[J.label]=true,e[J.selected]=this.selected,e[J.active]=this.active,e[J.single]=t,e);var o=R(this.el);return n(a,{"aria-hidden":"true"},n("div",{class:"container scale--".concat(this.scale),style:{"--calcite-combobox-item-spacing-indent-multiplier":"".concat(o)}},n("li",{class:i,id:this.guid,onClick:this.itemClickHandler},this.renderIcon(t),n("span",{class:J.title},this.textLabel)),this.renderChildren()))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["selectedWatchHandler"]}},enumerable:false,configurable:true});return e}());Z.style=Q;var $={list:"list",label:"label",title:"title"};var ee="@-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}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:0;margin-inline:var(--calcite-combobox-item-spacing-unit-s)}";var te=e("calcite_combobox_item_group",function(){function e(e){t(this,e);this.guid=d();this.scale="m"}e.prototype.connectedCallback=function(){this.ancestors=P(this.el);this.scale=b(this.el,"scale",this.scale)};e.prototype.render=function(){var e,t;var i=this,a=i.el,o=i.scale;var r="".concat($.label,"--indent-").concat(R(a));return n("ul",{"aria-labelledby":this.guid,class:(e={},e[$.list]=true,e["scale--".concat(o)]=true,e),role:"group"},n("li",{class:(t={},t[$.label]=true,t[r]=true,t),id:this.guid,role:"presentation"},n("span",{class:$.title},this.label)),n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());te.style=ee}}}));
@@ -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.572
5
5
  */
6
6
  System.register([],(function(e){"use strict";return{execute:function(){var t=e("C",{menu:"menu",defaultTrigger:"default-trigger"});var r=e("S",{tooltip:"tooltip",trigger:"trigger"});var i=e("I",{menu:"ellipsis"})}}}));
@@ -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.572
5
5
  */
6
6
  const t=new WeakMap;function i(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onBeforeOpen():this.onBeforeClose())}function n(t){t.propertyName===this.openTransitionProp&&t.target===this.transitionEl&&(this.open?this.onOpen():this.onClose())}function s(s){if(o(s),s.transitionEl){const o=i.bind(s),a=n.bind(s);t.set(s,[s.transitionEl,o,a]),s.transitionEl.addEventListener("transitionstart",o),s.transitionEl.addEventListener("transitionend",a)}}function o(i){if(!t.has(i))return;const[n,s,o]=t.get(i);n.removeEventListener("transitionstart",s),n.removeEventListener("transitionend",o),t.delete(i)}export{s as c,o as d}
@@ -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.572
5
5
  */
6
- System.register(["./p-5676272d.system.js","./p-4407d4e4.system.js"],(function(t){"use strict";var a,i,n,e,o,r;return{setters:[function(t){a=t.r;i=t.c;n=t.h;e=t.H;o=t.g},function(t){r=t.c}],execute:function(){var s="@-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{display:-ms-flexbox;display:flex;max-inline-size:100vw}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";var c=t("calcite_radio_button_group",function(){function t(t){var n=this;a(this,t);this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6);this.disabled=false;this.hidden=false;this.layout="horizontal";this.required=false;this.scale="m";this.mutationObserver=r("mutation",(function(){return n.passPropsToRadioButtons()}));this.passPropsToRadioButtons=function(){var t=n.el.querySelectorAll("calcite-radio-button");if(t.length>0){t.forEach((function(t){t.disabled=n.disabled||t.disabled;t.hidden=n.hidden;t.name=n.name;t.required=n.required;t.scale=n.scale}))}}}t.prototype.onDisabledChange=function(){this.passPropsToRadioButtons()};t.prototype.onHiddenChange=function(){this.passPropsToRadioButtons()};t.prototype.onLayoutChange=function(){this.passPropsToRadioButtons()};t.prototype.onScaleChange=function(){this.passPropsToRadioButtons()};t.prototype.connectedCallback=function(){var t;this.passPropsToRadioButtons();(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.radioButtonChangeHandler=function(t){this.calciteRadioButtonGroupChange.emit(t.target.value)};t.prototype.render=function(){return n(e,{role:"radiogroup"},n("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}},enumerable:false,configurable:true});return t}());c.style=s}}}));
6
+ System.register(["./p-c3fdbf76.system.js","./p-61abcec0.system.js"],(function(t){"use strict";var a,i,n,e,o,r;return{setters:[function(t){a=t.r;i=t.c;n=t.h;e=t.H;o=t.g},function(t){r=t.c}],execute:function(){var s="@-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{display:-ms-flexbox;display:flex;max-inline-size:100vw}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";var c=t("calcite_radio_button_group",function(){function t(t){var n=this;a(this,t);this.calciteRadioButtonGroupChange=i(this,"calciteRadioButtonGroupChange",6);this.disabled=false;this.hidden=false;this.layout="horizontal";this.required=false;this.scale="m";this.mutationObserver=r("mutation",(function(){return n.passPropsToRadioButtons()}));this.passPropsToRadioButtons=function(){var t=n.el.querySelectorAll("calcite-radio-button");if(t.length>0){t.forEach((function(t){t.disabled=n.disabled||t.disabled;t.hidden=n.hidden;t.name=n.name;t.required=n.required;t.scale=n.scale}))}}}t.prototype.onDisabledChange=function(){this.passPropsToRadioButtons()};t.prototype.onHiddenChange=function(){this.passPropsToRadioButtons()};t.prototype.onLayoutChange=function(){this.passPropsToRadioButtons()};t.prototype.onScaleChange=function(){this.passPropsToRadioButtons()};t.prototype.connectedCallback=function(){var t;this.passPropsToRadioButtons();(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.radioButtonChangeHandler=function(t){this.calciteRadioButtonGroupChange.emit(t.target.value)};t.prototype.render=function(){return n(e,{role:"radiogroup"},n("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["onDisabledChange"],hidden:["onHiddenChange"],layout:["onLayoutChange"],scale:["onScaleChange"]}},enumerable:false,configurable:true});return t}());c.style=s}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,a,e,n){function i(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.571
6
- */System.register(["./p-5676272d.system.js","./p-4407d4e4.system.js"],(function(t){"use strict";var a,e,n,i;return{setters:[function(t){a=t.r;e=t.h;n=t.g},function(t){i=t.c}],execute:function(){var r={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"};var o="@-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:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}:host .frame--advancing{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";var c=t("calcite_flow",function(){function t(t){var e=this;a(this,t);this.panelCount=0;this.flowDirection=null;this.panels=[];this.panelItemMutationObserver=i("mutation",(function(){return e.updateFlowProps()}));this.getFlowDirection=function(t,a){var e=t>1;var n=t&&a>1;if(!n&&!e){return null}return a<t?"retreating":"advancing"};this.updateFlowProps=function(){var t=e,a=t.el,n=t.panels;var i=Array.from(a.querySelectorAll("calcite-panel")).filter((function(t){return!t.matches("calcite-panel calcite-panel")}));var r=n.length;var o=i.length;var c=i[o-1];var l=i[o-2];if(o&&c){i.forEach((function(t){t.showBackButton=t===c&&o>1;t.hidden=t!==c}))}if(l){l.menuOpen=false}e.panels=i;if(r!==o){var s=e.getFlowDirection(r,o);e.panelCount=o;e.flowDirection=s}}}t.prototype.back=function(){return __awaiter(this,void 0,void 0,(function(){var t,a,e;return __generator(this,(function(n){t=this.panels;a=t[t.length-1];if(!a){return[2]}e=a.beforeBack?a.beforeBack:function(){return Promise.resolve()};return[2,e.call(a).then((function(){a.remove();return a}))]}))}))};t.prototype.connectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFlowProps()};t.prototype.disconnectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.handleCalcitePanelBackClick=function(){this.back()};t.prototype.render=function(){var t;var a=this.flowDirection;var n=(t={},t[r.frame]=true,t[r.frameAdvancing]=a==="advancing",t[r.frameRetreating]=a==="retreating",t);return e("div",{class:n},e("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
5
+ * v1.0.0-next.572
6
+ */System.register(["./p-c3fdbf76.system.js","./p-61abcec0.system.js"],(function(t){"use strict";var a,e,n,i;return{setters:[function(t){a=t.r;e=t.h;n=t.g},function(t){i=t.c}],execute:function(){var r={frame:"frame",frameAdvancing:"frame--advancing",frameRetreating:"frame--retreating"};var o="@-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:relative;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;padding:0px}:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}:host .frame--advancing{-webkit-animation:calcite-frame-advance var(--calcite-animation-timing);animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{-webkit-animation:calcite-frame-retreat var(--calcite-animation-timing);animation:calcite-frame-retreat var(--calcite-animation-timing)}@-webkit-keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(50px, 0, 0);transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@-webkit-keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;-webkit-transform:translate3d(-50px, 0, 0);transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}";var c=t("calcite_flow",function(){function t(t){var e=this;a(this,t);this.panelCount=0;this.flowDirection=null;this.panels=[];this.panelItemMutationObserver=i("mutation",(function(){return e.updateFlowProps()}));this.getFlowDirection=function(t,a){var e=t>1;var n=t&&a>1;if(!n&&!e){return null}return a<t?"retreating":"advancing"};this.updateFlowProps=function(){var t=e,a=t.el,n=t.panels;var i=Array.from(a.querySelectorAll("calcite-panel")).filter((function(t){return!t.matches("calcite-panel calcite-panel")}));var r=n.length;var o=i.length;var c=i[o-1];var l=i[o-2];if(o&&c){i.forEach((function(t){t.showBackButton=t===c&&o>1;t.hidden=t!==c}))}if(l){l.menuOpen=false}e.panels=i;if(r!==o){var s=e.getFlowDirection(r,o);e.panelCount=o;e.flowDirection=s}}}t.prototype.back=function(){return __awaiter(this,void 0,void 0,(function(){var t,a,e;return __generator(this,(function(n){t=this.panels;a=t[t.length-1];if(!a){return[2]}e=a.beforeBack?a.beforeBack:function(){return Promise.resolve()};return[2,e.call(a).then((function(){a.remove();return a}))]}))}))};t.prototype.connectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFlowProps()};t.prototype.disconnectedCallback=function(){var t;(t=this.panelItemMutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.handleCalcitePanelBackClick=function(){this.back()};t.prototype.render=function(){var t;var a=this.flowDirection;var n=(t={},t[r.frame]=true,t[r.frameAdvancing]=a==="advancing",t[r.frameRetreating]=a==="retreating",t);return e("div",{class:n},e("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());c.style=o}}}));
@@ -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.572
5
5
  */
6
- System.register(["./p-bdfa3789.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.d;n=e.a}],execute:function(){function r(){var e=document.body.classList;var r=window.matchMedia("(prefers-color-scheme: dark)").matches;var a=function(){return e.contains(t)||e.contains(n)&&r?"dark":"light"};var c=function(e){return document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:true,detail:{theme:e}}))};var i=function(e){o!==e&&c(e);o=e};var o=a();c(o);window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){return i(e.matches?"dark":"light")}));new MutationObserver((function(){return i(a())})).observe(document.body,{attributes:true,attributeFilter:["class"]})}function a(){if(c()){if(document.readyState==="interactive"){r()}else{document.addEventListener("DOMContentLoaded",(function(){return r()}),{once:true})}}}var c=new Function("try {return this===window;}catch(e){ return false;}");var i=e("g",a)}}}));
6
+ System.register(["./p-e7d34b65.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.d;n=e.a}],execute:function(){function r(){var e=document.body.classList;var r=window.matchMedia("(prefers-color-scheme: dark)").matches;var a=function(){return e.contains(t)||e.contains(n)&&r?"dark":"light"};var c=function(e){return document.body.dispatchEvent(new CustomEvent("calciteThemeChange",{bubbles:true,detail:{theme:e}}))};var i=function(e){o!==e&&c(e);o=e};var o=a();c(o);window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){return i(e.matches?"dark":"light")}));new MutationObserver((function(){return i(a())})).observe(document.body,{attributes:true,attributeFilter:["class"]})}function a(){if(c()){if(document.readyState==="interactive"){r()}else{document.addEventListener("DOMContentLoaded",(function(){return r()}),{once:true})}}}var c=new Function("try {return this===window;}catch(e){ return false;}");var i=e("g",a)}}}));
@@ -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.572
5
5
  */
6
- import{r as t,c as a,h as i,g as e,H as n}from"./p-c8ceec2d.js";import{S as s}from"./p-d12f04b6.js";import{g as o,m as r,d as c,a as l,s as d,h as m,b as h,k as w,c as f,i as b,e as p,f as u,j as v,r as g,l as k,n as x,o as y,p as D,L as _,I,C,S as $}from"./p-f7ef036f.js";import{c as j}from"./p-46db8711.js";import{u as z}from"./p-d815a193.js";import{g as A}from"./p-b596c9e6.js";import{g as H}from"./p-634b4667.js";import{c as L,d as S}from"./p-fe656a4f.js";import"./p-63146b51.js";import"./p-aae82ee7.js";import"./p-735f4fb7.js";var F;function R(t,a,i){const{items:e,intlDragHandleIdle:n,intlDragHandleActive:s,intlDragHandleChange:r,intlDragHandleCommit:c}=i,l=e.length,d=o(i,t)+1;return"idle"===a?n?B(n,t.label,d,l):`${t.label}, press space and use arrow keys to reorder content. Current position ${d} of ${l}.`:"active"===a?s?B(s,t.label,d,l):`Reordering ${t.label}, current position ${d} of ${l}.`:"change"===a?r?B(r,t.label,d,l):`${t.label}, new position ${d} of ${l}. Press space to confirm.`:c?B(c,t.label,d,l):`${t.label}, current position ${d} of ${l}.`}function U(t){return{handle:t.composedPath().find((t=>{var a;return void 0!==(null===(a=t.dataset)||void 0===a?void 0:a.jsHandle)})),item:t.composedPath().find((t=>{var a;return"calcite-value-list-item"===(null===(a=t.tagName)||void 0===a?void 0:a.toLowerCase())}))}}function B(t,a,i,e){return t.replace("${position}",i.toString()).replace("${item.label}",a).replace("${total}",e.toString())}!function(t){t.grip="grip"}(F||(F={}));const K=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",6),this.calciteListOrderChange=a(this,"calciteListOrderChange",6),this.disabled=!1,this.dragEnabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=j("mutation",r.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectRemovedItems=c.bind(this),this.deselectSiblingItems=l.bind(this),this.selectSiblings=d.bind(this),this.handleFilter=m.bind(this),this.getItemData=h.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:a,item:i}=U(t);if(a&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(R(i,"commit",this)),!a||!i.handleActivated)return void w.call(this,t);const{items:e}=this;if(" "===t.key&&this.updateScreenReaderText(R(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||e.length<=1)return;t.preventDefault();const{el:n}=this,s=f(this,i,"ArrowUp"===t.key?"up":"down");if(s===e.length-1)n.appendChild(i);else{const t=n.children[s];n.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>null==a?void 0:a.focus())),i.handleActivated=!0,this.updateHandleAriaLabel(a,R(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:a,item:i}=U(t);!(null==i?void 0:i.handleActivated)&&i&&a&&this.updateHandleAriaLabel(a,R(i,"idle",this))}}connectedCallback(){b.call(this),p.call(this)}componentDidLoad(){this.setUpDragAndDrop()}componentDidRender(){z(this)}disconnectedCallback(){u.call(this),this.cleanUpDragAndDrop()}calciteListFocusOutHandler(t){v.call(this,t)}calciteListItemRemoveHandler(t){g.call(this,t)}calciteListItemChangeHandler(t){k.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){x.call(this,t),t.stopPropagation()}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){y.call(this,"calcite-value-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpDragAndDrop(){this.cleanUpDragAndDrop(),this.dragEnabled&&(this.sortable=s.create(this.el,{dataIdAttr:"id",handle:".handle",draggable:"calcite-value-list-item",group:this.group,onSort:()=>{this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}}))}cleanUpDragAndDrop(){var t;null===(t=this.sortable)||void 0===t||t.destroy(),this.sortable=null}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return D.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=F.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,a){t.ariaLabel=a}render(){return i(_,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};K.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-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([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-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([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:300}calcite-filter{-webkit-margin-after:1px;margin-block-end:1px}";const O=class{constructor(i){t(this,i),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.removable=!1,this.selected=!1,this.pickListItem=null,this.guid=`calcite-value-list-item-${A()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1},this.handleSelectChange=t=>{this.selected=t.detail.selected}}connectedCallback(){L(this)}disconnectedCallback(){S(this)}componentDidRender(){z(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;null===(t=this.pickListItem)||void 0===t||t.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return H(t,"actions-end")?i("slot",{name:"actions-end",slot:$.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return H(t,"actions-start")?i("slot",{name:"actions-start",slot:$.actionsStart}):null}renderHandle(){const{icon:t}=this;if(t===I.grip)return i("span",{class:{[C.handle]:!0,[C.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0"},i("calcite-icon",{icon:"drag",scale:"s"}))}render(){return i(n,{id:this.el.id||this.guid},this.renderHandle(),i("calcite-pick-list-item",{description:this.description,disableDeselect:this.disableDeselect,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};O.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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{-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;-ms-flex-positive:1;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-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([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 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)}.handle{display:-ms-flexbox;display:flex;cursor:move;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-text-1);color:var(--calcite-ui-border-1);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{K as calcite_value_list,O as calcite_value_list_item}
6
+ import{r as t,c as a,h as i,g as e,H as n}from"./p-8fe8a091.js";import{S as s}from"./p-29d73899.js";import{g as o,m as r,d as c,a as l,s as d,h as m,b as h,k as w,c as f,i as b,e as p,f as u,j as v,r as g,l as k,n as x,o as y,p as D,L as _,I,C,S as $}from"./p-89904331.js";import{c as j}from"./p-74fb68dd.js";import{u as z}from"./p-fbb03710.js";import{g as A}from"./p-7bc4298b.js";import{g as H}from"./p-be8013f9.js";import{c as L,d as S}from"./p-42dfc33d.js";import"./p-7ae55854.js";import"./p-3232a4cd.js";import"./p-c8687235.js";var F;function R(t,a,i){const{items:e,intlDragHandleIdle:n,intlDragHandleActive:s,intlDragHandleChange:r,intlDragHandleCommit:c}=i,l=e.length,d=o(i,t)+1;return"idle"===a?n?B(n,t.label,d,l):`${t.label}, press space and use arrow keys to reorder content. Current position ${d} of ${l}.`:"active"===a?s?B(s,t.label,d,l):`Reordering ${t.label}, current position ${d} of ${l}.`:"change"===a?r?B(r,t.label,d,l):`${t.label}, new position ${d} of ${l}. Press space to confirm.`:c?B(c,t.label,d,l):`${t.label}, current position ${d} of ${l}.`}function U(t){return{handle:t.composedPath().find((t=>{var a;return void 0!==(null===(a=t.dataset)||void 0===a?void 0:a.jsHandle)})),item:t.composedPath().find((t=>{var a;return"calcite-value-list-item"===(null===(a=t.tagName)||void 0===a?void 0:a.toLowerCase())}))}}function B(t,a,i,e){return t.replace("${position}",i.toString()).replace("${item.label}",a).replace("${total}",e.toString())}!function(t){t.grip="grip"}(F||(F={}));const K=class{constructor(i){t(this,i),this.calciteListChange=a(this,"calciteListChange",6),this.calciteListOrderChange=a(this,"calciteListOrderChange",6),this.disabled=!1,this.dragEnabled=!1,this.filterEnabled=!1,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[],this.lastSelectedItem=null,this.mutationObserver=j("mutation",r.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.deselectRemovedItems=c.bind(this),this.deselectSiblingItems=l.bind(this),this.selectSiblings=d.bind(this),this.handleFilter=m.bind(this),this.getItemData=h.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:a,item:i}=U(t);if(a&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(R(i,"commit",this)),!a||!i.handleActivated)return void w.call(this,t);const{items:e}=this;if(" "===t.key&&this.updateScreenReaderText(R(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||e.length<=1)return;t.preventDefault();const{el:n}=this,s=f(this,i,"ArrowUp"===t.key?"up":"down");if(s===e.length-1)n.appendChild(i);else{const t=n.children[s];n.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>null==a?void 0:a.focus())),i.handleActivated=!0,this.updateHandleAriaLabel(a,R(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:a,item:i}=U(t);!(null==i?void 0:i.handleActivated)&&i&&a&&this.updateHandleAriaLabel(a,R(i,"idle",this))}}connectedCallback(){b.call(this),p.call(this)}componentDidLoad(){this.setUpDragAndDrop()}componentDidRender(){z(this)}disconnectedCallback(){u.call(this),this.cleanUpDragAndDrop()}calciteListFocusOutHandler(t){v.call(this,t)}calciteListItemRemoveHandler(t){g.call(this,t)}calciteListItemChangeHandler(t){k.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){x.call(this,t),t.stopPropagation()}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){y.call(this,"calcite-value-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpDragAndDrop(){this.cleanUpDragAndDrop(),this.dragEnabled&&(this.sortable=s.create(this.el,{dataIdAttr:"id",handle:".handle",draggable:"calcite-value-list-item",group:this.group,onSort:()=>{this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}}))}cleanUpDragAndDrop(){var t;null===(t=this.sortable)||void 0===t||t.destroy(),this.sortable=null}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return D.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=F.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,a){t.ariaLabel=a}render(){return i(_,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};K.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-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([filter-enabled]) header{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-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([filter-enabled]) header.sticky-pos{position:-webkit-sticky;position:sticky;inset-block-start:0px;z-index:300}calcite-filter{-webkit-margin-after:1px;margin-block-end:1px}";const O=class{constructor(i){t(this,i),this.calciteListItemRemove=a(this,"calciteListItemRemove",7),this.disabled=!1,this.disableDeselect=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.removable=!1,this.selected=!1,this.pickListItem=null,this.guid=`calcite-value-list-item-${A()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1},this.handleSelectChange=t=>{this.selected=t.detail.selected}}connectedCallback(){L(this)}disconnectedCallback(){S(this)}componentDidRender(){z(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;null===(t=this.pickListItem)||void 0===t||t.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return H(t,"actions-end")?i("slot",{name:"actions-end",slot:$.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return H(t,"actions-start")?i("slot",{name:"actions-start",slot:$.actionsStart}):null}renderHandle(){const{icon:t}=this;if(t===I.grip)return i("span",{class:{[C.handle]:!0,[C.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,role:"button",tabindex:"0"},i("calcite-icon",{icon:"drag",scale:"s"}))}render(){return i(n,{id:this.el.id||this.guid},this.renderHandle(),i("calcite-pick-list-item",{description:this.description,disableDeselect:this.disableDeselect,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};O.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-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{-webkit-margin-after:1px;margin-block-end:1px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;-ms-flex-positive:1;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-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([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 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)}.handle{display:-ms-flexbox;display:flex;cursor:move;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-text-1);color:var(--calcite-ui-border-1);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{K as calcite_value_list,O as calcite_value_list_item}
@@ -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.572
5
5
  */
6
- import{r as i,c as t,h as a,F as e,g as n}from"./p-c8ceec2d.js";import{f as r}from"./p-634b4667.js";import{u as o}from"./p-d815a193.js";import{f as s}from"./p-4ab7389d.js";import{d as c}from"./p-aae82ee7.js";import"./p-735f4fb7.js";import"./p-b596c9e6.js";const l=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.items=[],this.disabled=!1,this.filteredItems=[],this.scale="m",this.value="",this.filter=c(((i,t=!1)=>this.updateFiltered(s(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()}}watchItemsHandler(){this.filter(this.value)}valueHandler(i){this.filter(i)}componentDidRender(){o(this)}componentWillLoad(){this.filter(this.value)}async setFocus(){r(this.textInput)}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(e,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||"Filter",clearable:!0,disabled:i,icon:"search",intlClear:this.intlClear||"Clear filter",onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:i=>{this.textInput=i},scale:t,type:"text",value:this.value}))))}get el(){return n(this)}static get watchers(){return{items:["watchItemsHandler"],value:["valueHandler"]}}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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([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;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{l as calcite_filter}
6
+ import{r as i,c as t,h as a,F as n,g as e}from"./p-8fe8a091.js";import{f as r}from"./p-be8013f9.js";import{u as o}from"./p-fbb03710.js";import{f as s}from"./p-cca44aa2.js";import{d as c}from"./p-3232a4cd.js";import"./p-c8687235.js";import"./p-7bc4298b.js";const l=class{constructor(a){i(this,a),this.calciteFilterChange=t(this,"calciteFilterChange",6),this.items=[],this.disabled=!1,this.filteredItems=[],this.scale="m",this.value="",this.filter=c(((i,t=!1)=>this.updateFiltered(s(this.items,i),t)),250),this.inputHandler=i=>{const t=i.target;this.value=t.value,this.filter(t.value,!0)},this.keyDownHandler=i=>{"Escape"===i.key&&(this.clear(),i.preventDefault()),"Enter"===i.key&&i.preventDefault()},this.clear=()=>{this.value="",this.filter("",!0),this.setFocus()}}watchItemsHandler(){this.filter(this.value)}valueHandler(i){this.filter(i)}componentDidRender(){o(this)}componentWillLoad(){this.filter(this.value)}async setFocus(){r(this.textInput)}updateFiltered(i,t=!1){this.filteredItems.length=0,this.filteredItems=this.filteredItems.concat(i),t&&this.calciteFilterChange.emit()}render(){const{disabled:i,scale:t}=this;return a(n,null,a("div",{class:"container"},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||"Filter",clearable:!0,disabled:i,icon:"search",intlClear:this.intlClear||"Clear filter",onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:i=>{this.textInput=i},scale:t,type:"text",value:this.value}))))}get el(){return e(this)}static get watchers(){return{items:["watchItemsHandler"],value:["valueHandler"]}}};l.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}: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([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;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";export{l as calcite_filter}