@esri/calcite-components 1.0.0-next.518 → 1.0.0-next.520

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 (792) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-ebe7eaff.system.entry.js → p-007035f4.system.entry.js} +2 -2
  6. package/dist/calcite/{p-52a9117e.entry.js → p-02362c11.entry.js} +2 -2
  7. package/dist/calcite/{p-b00bfd38.system.entry.js → p-024eb16b.system.entry.js} +2 -2
  8. package/dist/calcite/{p-f27b2cfb.js → p-0444a89a.js} +2 -2
  9. package/dist/calcite/{p-9ea4a092.system.entry.js → p-06c14b86.system.entry.js} +2 -2
  10. package/dist/calcite/{p-72045178.js → p-083b105d.js} +2 -2
  11. package/dist/calcite/{p-f8ab99e2.system.entry.js → p-09e283e8.system.entry.js} +2 -2
  12. package/dist/calcite/{p-bdd6e3a8.entry.js → p-0a3ac5b7.entry.js} +2 -2
  13. package/dist/calcite/{p-c5f930bb.entry.js → p-0c58bda7.entry.js} +2 -2
  14. package/dist/calcite/{p-baef9647.system.js → p-0e23ec86.system.js} +1 -1
  15. package/dist/calcite/{p-82b2cb00.entry.js → p-10f66af0.entry.js} +2 -2
  16. package/dist/calcite/{p-76449f19.system.entry.js → p-13088d74.system.entry.js} +2 -2
  17. package/dist/calcite/{p-45c854bf.system.entry.js → p-138c88a6.system.entry.js} +2 -2
  18. package/dist/calcite/{p-e14611c5.entry.js → p-13fe270d.entry.js} +2 -2
  19. package/dist/calcite/{p-162b40fc.entry.js → p-14bc0533.entry.js} +2 -2
  20. package/dist/calcite/{p-5d6cda82.system.js → p-14ea0159.system.js} +2 -2
  21. package/dist/calcite/{p-03c8ff38.system.entry.js → p-16f227fc.system.entry.js} +2 -2
  22. package/dist/calcite/{p-7e426f52.system.js → p-1920a94e.system.js} +1 -1
  23. package/dist/calcite/{p-81f8e6b2.entry.js → p-1a04dc2a.entry.js} +2 -2
  24. package/dist/calcite/{p-88f7eedb.system.entry.js → p-1ab88ba3.system.entry.js} +2 -2
  25. package/dist/calcite/{p-09ea9cbb.entry.js → p-1ae60c44.entry.js} +2 -2
  26. package/dist/calcite/{p-c465c61b.js → p-1f3485fd.js} +2 -2
  27. package/dist/calcite/{p-9f40375f.js → p-1fcf4389.js} +1 -1
  28. package/dist/calcite/{p-2e66a4e8.system.js → p-213f3a0c.system.js} +2 -2
  29. package/dist/calcite/{p-4dde36ad.system.entry.js → p-23441fd3.system.entry.js} +2 -2
  30. package/dist/calcite/{p-5bf5a250.entry.js → p-2758b523.entry.js} +2 -2
  31. package/dist/calcite/{p-006f8770.entry.js → p-28292cd2.entry.js} +2 -2
  32. package/dist/calcite/{p-af6a4a5b.system.js → p-298f8c90.system.js} +2 -2
  33. package/dist/calcite/{p-1a470cfe.system.entry.js → p-29dbb7c3.system.entry.js} +2 -2
  34. package/dist/calcite/{p-11799b75.system.entry.js → p-2be5f5e4.system.entry.js} +2 -2
  35. package/dist/calcite/p-2df6116d.entry.js +6 -0
  36. package/dist/calcite/{p-db8ea05f.entry.js → p-3191b270.entry.js} +2 -2
  37. package/dist/calcite/{p-367f77f9.entry.js → p-3340e3fb.entry.js} +2 -2
  38. package/dist/calcite/{p-6bd305da.system.entry.js → p-368f2f77.system.entry.js} +2 -2
  39. package/dist/calcite/{p-2593a852.system.entry.js → p-383c5cdf.system.entry.js} +2 -2
  40. package/dist/calcite/{p-1e9b3bab.entry.js → p-39d3e8e7.entry.js} +2 -2
  41. package/dist/calcite/{p-b664b4cf.js → p-3a9aaecf.js} +1 -1
  42. package/dist/calcite/{p-43f40093.system.entry.js → p-3b3d8fda.system.entry.js} +2 -2
  43. package/dist/calcite/{p-237cf21c.entry.js → p-428d25b3.entry.js} +2 -2
  44. package/dist/calcite/{p-5fe5cf73.system.entry.js → p-43413fbc.system.entry.js} +2 -2
  45. package/dist/calcite/{p-3ff2002d.js → p-4668d36a.js} +1 -1
  46. package/dist/calcite/{p-7d332507.system.js → p-48b6f6f7.system.js} +1 -1
  47. package/dist/calcite/{p-6b59d47d.system.js → p-4d71f62d.system.js} +3 -3
  48. package/dist/calcite/{p-e590bcb1.system.entry.js → p-4eee040b.system.entry.js} +2 -2
  49. package/dist/calcite/{p-318c925f.system.entry.js → p-51586eee.system.entry.js} +2 -2
  50. package/dist/calcite/{p-4a31610c.entry.js → p-534a7ca5.entry.js} +2 -2
  51. package/dist/calcite/{p-46ac088a.system.entry.js → p-58661475.system.entry.js} +2 -2
  52. package/dist/calcite/{p-6b4fd8f6.system.entry.js → p-59b0561b.system.entry.js} +2 -2
  53. package/dist/calcite/{p-fcfcdc4a.entry.js → p-5cd95bda.entry.js} +2 -2
  54. package/dist/calcite/p-5f40009c.entry.js +6 -0
  55. package/dist/calcite/{p-abc79592.entry.js → p-5ff3fb7e.entry.js} +2 -2
  56. package/dist/calcite/{p-7d468628.system.entry.js → p-677f24bf.system.entry.js} +2 -2
  57. package/dist/calcite/{p-5a727b04.system.entry.js → p-6b844ad2.system.entry.js} +2 -2
  58. package/dist/calcite/{p-02dc5fa8.system.entry.js → p-6c2b78c1.system.entry.js} +2 -2
  59. package/dist/calcite/{p-f8ae2a1e.entry.js → p-6d2ba11e.entry.js} +2 -2
  60. package/dist/calcite/{p-3e93b0b3.entry.js → p-6dfca84e.entry.js} +2 -2
  61. package/dist/calcite/{p-861473a6.entry.js → p-6fa4fd93.entry.js} +2 -2
  62. package/dist/calcite/{p-c68b6a23.js → p-6fb2dac3.js} +2 -2
  63. package/dist/calcite/{p-0786ee73.system.js → p-7157eb29.system.js} +1 -1
  64. package/dist/calcite/{p-d0bffa54.system.entry.js → p-72977808.system.entry.js} +2 -2
  65. package/dist/calcite/{p-0e7c7534.system.js → p-73577e93.system.js} +1 -1
  66. package/dist/calcite/{p-900ac1c7.system.entry.js → p-73f3b6cd.system.entry.js} +2 -2
  67. package/dist/calcite/{p-4e4b7795.entry.js → p-73f440bb.entry.js} +2 -2
  68. package/dist/calcite/{p-e5674cbc.js → p-74d1af1c.js} +1 -1
  69. package/dist/calcite/{p-f96d8621.system.entry.js → p-75a33e5a.system.entry.js} +2 -2
  70. package/dist/calcite/{p-3786c988.entry.js → p-75e8e02e.entry.js} +2 -2
  71. package/dist/calcite/{p-e4b8b56f.system.entry.js → p-76b6b612.system.entry.js} +2 -2
  72. package/dist/calcite/{p-4cbdffe2.system.entry.js → p-772f4a3f.system.entry.js} +2 -2
  73. package/dist/calcite/{p-eedcd5b7.system.js → p-78274269.system.js} +1 -1
  74. package/dist/calcite/{p-c5b55919.entry.js → p-7842b132.entry.js} +2 -2
  75. package/dist/calcite/{p-dfa10813.system.entry.js → p-78f47358.system.entry.js} +2 -2
  76. package/dist/calcite/{p-17df20b2.system.entry.js → p-795b0aa3.system.entry.js} +2 -2
  77. package/dist/calcite/{p-46b1ed9f.entry.js → p-7add7125.entry.js} +2 -2
  78. package/dist/calcite/{p-4ac76566.system.js → p-7b1075db.system.js} +2 -2
  79. package/dist/calcite/{p-71abb5ce.js → p-7d329d08.js} +2 -2
  80. package/dist/calcite/{p-df3a7807.system.entry.js → p-7e57e47c.system.entry.js} +2 -2
  81. package/dist/calcite/{p-f242533e.js → p-7fd5a8a3.js} +1 -1
  82. package/dist/calcite/{p-072adda8.system.js → p-815189c6.system.js} +1 -1
  83. package/dist/calcite/{p-ea6ec7a4.entry.js → p-8277926c.entry.js} +2 -2
  84. package/dist/calcite/{p-a73a8888.js → p-82e2b61e.js} +1 -1
  85. package/dist/calcite/{p-1b816faa.system.entry.js → p-85ea5712.system.entry.js} +2 -2
  86. package/dist/calcite/{p-ac76f0b9.entry.js → p-8bf55d55.entry.js} +2 -2
  87. package/dist/calcite/{p-69fbbc95.system.js → p-8cadf826.system.js} +2 -2
  88. package/dist/calcite/{p-b0b72030.js → p-8e1b9b65.js} +1 -1
  89. package/dist/calcite/{p-06bb8e58.system.entry.js → p-917106dd.system.entry.js} +2 -2
  90. package/dist/calcite/{p-27ae28d4.js → p-937f4763.js} +1 -1
  91. package/dist/calcite/{p-0f6fb2c7.js → p-9398bb6c.js} +2 -2
  92. package/dist/calcite/{p-72be2d1e.entry.js → p-96b8ffc2.entry.js} +2 -2
  93. package/dist/calcite/{p-8e72dcf1.entry.js → p-973fa781.entry.js} +2 -2
  94. package/dist/calcite/{p-b9670b91.system.js → p-9781070e.system.js} +1 -1
  95. package/dist/calcite/{p-fba40227.entry.js → p-98ac7b27.entry.js} +2 -2
  96. package/dist/calcite/{p-2e34b7f3.system.js → p-9946dd96.system.js} +1 -1
  97. package/dist/calcite/{p-16e816f5.js → p-9a4b8d19.js} +2 -2
  98. package/dist/calcite/{p-5c078935.system.entry.js → p-9ad3c3f4.system.entry.js} +2 -2
  99. package/dist/calcite/{p-6ca78bbe.system.js → p-9b239dcc.system.js} +1 -1
  100. package/dist/calcite/{p-9f50a0cf.entry.js → p-9b38c931.entry.js} +2 -2
  101. package/dist/calcite/{p-949b7d9f.js → p-9da42c36.js} +2 -2
  102. package/dist/calcite/{p-9fd3d8db.entry.js → p-a081753e.entry.js} +2 -2
  103. package/dist/calcite/{p-0c8b510c.system.entry.js → p-a161f860.system.entry.js} +2 -2
  104. package/dist/calcite/{p-de508a18.entry.js → p-a1621fa7.entry.js} +2 -2
  105. package/dist/calcite/{p-06e470e2.entry.js → p-a1d2b979.entry.js} +2 -2
  106. package/dist/calcite/{p-2d469ff4.system.entry.js → p-a3507dfe.system.entry.js} +2 -2
  107. package/dist/calcite/{p-e3bf8149.entry.js → p-a3f5192b.entry.js} +2 -2
  108. package/dist/calcite/{p-3a6282b8.system.entry.js → p-a64bd767.system.entry.js} +2 -2
  109. package/dist/calcite/{p-a6da416a.entry.js → p-a9945df6.entry.js} +2 -2
  110. package/dist/calcite/{p-1949667c.entry.js → p-aad4f6d0.entry.js} +2 -2
  111. package/dist/calcite/{p-238d05d7.entry.js → p-abaae4a0.entry.js} +2 -2
  112. package/dist/calcite/{p-ed0767b8.system.entry.js → p-abca805d.system.entry.js} +2 -2
  113. package/dist/calcite/{p-cc3b7bbf.js → p-ad6accf2.js} +1 -1
  114. package/dist/calcite/{p-31ac56db.system.entry.js → p-adf0ece2.system.entry.js} +2 -2
  115. package/dist/calcite/{p-f2f2cbdb.system.js → p-aff0389a.system.js} +2 -2
  116. package/dist/calcite/{p-51b0e0f2.system.js → p-b3a335d4.system.js} +2 -2
  117. package/dist/calcite/{p-e19bd0f2.js → p-b3bf4e2b.js} +2 -2
  118. package/dist/calcite/{p-d748e7d7.entry.js → p-b659cdbb.entry.js} +2 -2
  119. package/dist/calcite/{p-e49686e5.entry.js → p-b8d25736.entry.js} +2 -2
  120. package/dist/calcite/{p-ae75d2e8.system.entry.js → p-bb6ff111.system.entry.js} +2 -2
  121. package/dist/calcite/{p-ca4eb768.system.js → p-c2d033d5.system.js} +1 -1
  122. package/dist/calcite/{p-1ba421ff.system.entry.js → p-c2deb2ce.system.entry.js} +2 -2
  123. package/dist/calcite/{p-0019e4d5.entry.js → p-c2f18e0d.entry.js} +2 -2
  124. package/dist/calcite/{p-adf2bd38.system.entry.js → p-c4972e72.system.entry.js} +2 -2
  125. package/dist/calcite/{p-929eea45.system.entry.js → p-c8a0343c.system.entry.js} +2 -2
  126. package/dist/calcite/{p-18c3635a.system.js → p-ca265c09.system.js} +1 -1
  127. package/dist/calcite/{p-53163d12.system.entry.js → p-cafdc1c6.system.entry.js} +2 -2
  128. package/dist/calcite/{p-711eea48.system.entry.js → p-cdc700be.system.entry.js} +2 -2
  129. package/dist/calcite/{p-b9012577.js → p-d019cd3c.js} +1 -1
  130. package/dist/calcite/{p-0ccf7ccf.entry.js → p-d05ce5f8.entry.js} +2 -2
  131. package/dist/calcite/{p-ea94413d.entry.js → p-d178a247.entry.js} +2 -2
  132. package/dist/calcite/{p-e8d730cf.system.js → p-d208b406.system.js} +2 -2
  133. package/dist/calcite/{p-67cb673d.entry.js → p-d25efce4.entry.js} +2 -2
  134. package/dist/calcite/{p-96101372.entry.js → p-d3130f3f.entry.js} +2 -2
  135. package/dist/calcite/{p-1ce9bbd8.entry.js → p-d4c5c673.entry.js} +2 -2
  136. package/dist/calcite/{p-2212bd8a.entry.js → p-d601ac5d.entry.js} +2 -2
  137. package/dist/calcite/{p-0c12898a.entry.js → p-d6b6d5a1.entry.js} +2 -2
  138. package/dist/calcite/{p-468ac81a.system.entry.js → p-d78d8570.system.entry.js} +3 -3
  139. package/dist/calcite/{p-9ae7dff3.system.js → p-da3ed14f.system.js} +1 -1
  140. package/dist/calcite/{p-a7cd2e26.system.entry.js → p-dbae690a.system.entry.js} +2 -2
  141. package/dist/calcite/{p-d091995c.system.entry.js → p-dc40dde4.system.entry.js} +2 -2
  142. package/dist/calcite/{p-9fd1e0c6.entry.js → p-dd699884.entry.js} +2 -2
  143. package/dist/calcite/{p-5be8d527.entry.js → p-decb56ab.entry.js} +2 -2
  144. package/dist/calcite/{p-9875f321.system.entry.js → p-e17c874d.system.entry.js} +2 -2
  145. package/dist/calcite/{p-91c6ff81.system.entry.js → p-e4a3783d.system.entry.js} +3 -3
  146. package/dist/calcite/{p-41d3a208.system.entry.js → p-e604ab6b.system.entry.js} +2 -2
  147. package/dist/calcite/{p-a27791e1.js → p-e6f77179.js} +2 -2
  148. package/dist/calcite/{p-e6584a7b.system.entry.js → p-e70390dc.system.entry.js} +2 -2
  149. package/dist/calcite/{p-240f491e.js → p-e8b7db23.js} +1 -1
  150. package/dist/calcite/{p-a6a7e0c3.entry.js → p-e8e9da27.entry.js} +2 -2
  151. package/dist/calcite/{p-7ef6cc74.system.entry.js → p-ee37ffbc.system.entry.js} +2 -2
  152. package/dist/calcite/{p-c2a38919.system.entry.js → p-eef651a2.system.entry.js} +2 -2
  153. package/dist/calcite/p-ef130fda.js +6 -0
  154. package/dist/calcite/{p-fd923a44.entry.js → p-ef2be757.entry.js} +2 -2
  155. package/dist/calcite/{p-97f51a01.system.entry.js → p-f2bd3b8f.system.entry.js} +2 -2
  156. package/dist/calcite/{p-9a30d0ab.system.entry.js → p-f2cbad46.system.entry.js} +2 -2
  157. package/dist/calcite/p-f382a06e.entry.js +6 -0
  158. package/dist/calcite/{p-e8c24806.system.js → p-f388b1ee.system.js} +2 -2
  159. package/dist/calcite/{p-df64ab68.js → p-f4742511.js} +1 -1
  160. package/dist/calcite/{p-5e50793a.entry.js → p-f4b079fd.entry.js} +2 -2
  161. package/dist/calcite/{p-8b5695e9.entry.js → p-f633dc67.entry.js} +2 -2
  162. package/dist/calcite/{p-e3a152e1.system.js → p-f6cbe0ab.system.js} +2 -2
  163. package/dist/calcite/{p-2d369196.js → p-f7fd201f.js} +1 -1
  164. package/dist/calcite/p-f8c872a2.system.js +6 -0
  165. package/dist/calcite/{p-91aedb8a.system.entry.js → p-f9e32dc5.system.entry.js} +2 -2
  166. package/dist/calcite/{p-31009290.entry.js → p-fce697b5.entry.js} +2 -2
  167. package/dist/calcite/{p-ee40d99d.system.js → p-ff6b1162.system.js} +1 -1
  168. package/dist/calcite/{p-85d0e99a.system.entry.js → p-ffbb4b30.system.entry.js} +2 -2
  169. package/dist/cjs/{ExpandToggle-83b563c3.js → ExpandToggle-99f3781c.js} +5 -5
  170. package/dist/cjs/{Heading-da19e89c.js → Heading-4337cacd.js} +2 -2
  171. package/dist/cjs/{array-2761ded0.js → array-2b95adc7.js} +1 -1
  172. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  173. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  174. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  175. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  176. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  177. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  178. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  179. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  180. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  181. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  182. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  183. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  184. package/dist/cjs/calcite-chip.cjs.entry.js +10 -7
  185. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  186. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  187. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  188. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  190. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  192. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  193. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  194. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  195. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  196. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
  197. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  198. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  199. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  200. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  202. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  204. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  206. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  207. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  208. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  209. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  210. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  211. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  212. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  213. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  214. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  215. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  216. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  217. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  219. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  220. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  221. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  222. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  224. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  226. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  229. package/dist/cjs/calcite.cjs.js +3 -3
  230. package/dist/cjs/{conditionalSlot-9c595b2c.js → conditionalSlot-a86a0d93.js} +3 -3
  231. package/dist/cjs/{debounce-d17a8831.js → debounce-d2b703d9.js} +1 -1
  232. package/dist/cjs/{dom-e78fcad7.js → dom-276aaf99.js} +2 -2
  233. package/dist/cjs/{forIn-615d9270.js → forIn-89a77d46.js} +2 -2
  234. package/dist/cjs/{form-2de2e6d5.js → form-90809048.js} +3 -3
  235. package/dist/cjs/{guid-0c8ed2eb.js → guid-05de8683.js} +1 -1
  236. package/dist/cjs/{index-7785bb30.js → index-92b04246.js} +1 -1
  237. package/dist/cjs/index.cjs.js +1 -1
  238. package/dist/cjs/{interactive-8eda0763.js → interactive-8f9c108d.js} +1 -1
  239. package/dist/cjs/{interfaces-4854cc2c.js → interfaces-1432ba48.js} +1 -1
  240. package/dist/cjs/{key-50945053.js → key-14b78e13.js} +1 -1
  241. package/dist/cjs/{label-db47a027.js → label-b7e1da52.js} +2 -2
  242. package/dist/cjs/loader.cjs.js +3 -3
  243. package/dist/cjs/{locale-99293e5f.js → locale-30f27f51.js} +2 -2
  244. package/dist/cjs/{math-8a49c3c9.js → math-c4db1901.js} +1 -1
  245. package/dist/cjs/{observers-8f60dd17.js → observers-46d26c87.js} +1 -1
  246. package/dist/cjs/{popper-ebdbff26.js → popper-56aa0819.js} +2 -2
  247. package/dist/cjs/{resources-75b95a46.js → resources-5906f91a.js} +5 -5
  248. package/dist/cjs/{resources-af1b5ad8.js → resources-7afa5ac3.js} +1 -1
  249. package/dist/cjs/{resources-d1dd1691.js → resources-d9fd225b.js} +3 -3
  250. package/dist/cjs/{resources-eb9e1411.js → resources-f9d89ecd.js} +1 -1
  251. package/dist/cjs/{sortable.esm-49b11bda.js → sortable.esm-d2f57c8a.js} +1 -1
  252. package/dist/cjs/{utils-5fd97a47.js → utils-d09ab03a.js} +1 -1
  253. package/dist/collection/components/accordion/accordion.js +1 -1
  254. package/dist/collection/components/accordion/interfaces.js +1 -1
  255. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  256. package/dist/collection/components/action/action.js +1 -1
  257. package/dist/collection/components/action/resources.js +1 -1
  258. package/dist/collection/components/action-bar/action-bar.js +1 -1
  259. package/dist/collection/components/action-bar/resources.js +1 -1
  260. package/dist/collection/components/action-bar/utils.js +1 -1
  261. package/dist/collection/components/action-group/action-group.js +1 -1
  262. package/dist/collection/components/action-group/resources.js +1 -1
  263. package/dist/collection/components/action-menu/action-menu.js +1 -1
  264. package/dist/collection/components/action-menu/resources.js +1 -1
  265. package/dist/collection/components/action-pad/action-pad.js +1 -1
  266. package/dist/collection/components/action-pad/resources.js +1 -1
  267. package/dist/collection/components/alert/alert.js +1 -1
  268. package/dist/collection/components/alert/interfaces.js +1 -1
  269. package/dist/collection/components/alert/resources.js +1 -1
  270. package/dist/collection/components/avatar/avatar.js +1 -1
  271. package/dist/collection/components/avatar/utils.js +1 -1
  272. package/dist/collection/components/block/block.js +1 -1
  273. package/dist/collection/components/block/resources.js +1 -1
  274. package/dist/collection/components/block-section/block-section.js +1 -1
  275. package/dist/collection/components/block-section/interfaces.js +1 -1
  276. package/dist/collection/components/block-section/resources.js +1 -1
  277. package/dist/collection/components/button/button.js +1 -1
  278. package/dist/collection/components/button/interfaces.js +1 -1
  279. package/dist/collection/components/button/resources.js +1 -1
  280. package/dist/collection/components/card/card.js +1 -1
  281. package/dist/collection/components/card/resources.js +1 -1
  282. package/dist/collection/components/checkbox/checkbox.js +1 -1
  283. package/dist/collection/components/chip/chip.css +4 -0
  284. package/dist/collection/components/chip/chip.js +22 -1
  285. package/dist/collection/components/chip/interfaces.js +1 -1
  286. package/dist/collection/components/chip/resources.js +1 -1
  287. package/dist/collection/components/color-picker/color-picker.js +1 -1
  288. package/dist/collection/components/color-picker/interfaces.js +1 -1
  289. package/dist/collection/components/color-picker/resources.js +1 -1
  290. package/dist/collection/components/color-picker/utils.js +1 -1
  291. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  292. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  293. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  294. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  295. package/dist/collection/components/combobox/combobox.js +1 -1
  296. package/dist/collection/components/combobox/interfaces.js +1 -1
  297. package/dist/collection/components/combobox/resources.js +1 -1
  298. package/dist/collection/components/combobox/utils.js +1 -1
  299. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  300. package/dist/collection/components/combobox-item/resources.js +1 -1
  301. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  302. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  303. package/dist/collection/components/date-picker/date-picker.js +1 -1
  304. package/dist/collection/components/date-picker/interfaces.js +1 -1
  305. package/dist/collection/components/date-picker/resources.js +1 -1
  306. package/dist/collection/components/date-picker/utils.js +1 -1
  307. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  308. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  309. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  310. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  311. package/dist/collection/components/dropdown/dropdown.js +1 -1
  312. package/dist/collection/components/dropdown/interfaces.js +1 -1
  313. package/dist/collection/components/dropdown/resources.js +1 -1
  314. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  315. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  316. package/dist/collection/components/dropdown-group/resources.js +1 -1
  317. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  318. package/dist/collection/components/dropdown-item/resources.js +1 -1
  319. package/dist/collection/components/fab/fab.js +1 -1
  320. package/dist/collection/components/fab/resources.js +1 -1
  321. package/dist/collection/components/filter/filter.js +1 -1
  322. package/dist/collection/components/filter/resources.js +1 -1
  323. package/dist/collection/components/flow/flow.js +1 -1
  324. package/dist/collection/components/flow/interfaces.js +1 -1
  325. package/dist/collection/components/flow/resources.js +1 -1
  326. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  327. package/dist/collection/components/functional/Heading.js +1 -1
  328. package/dist/collection/components/graph/graph.js +1 -1
  329. package/dist/collection/components/graph/interfaces.js +1 -1
  330. package/dist/collection/components/graph/util.js +1 -1
  331. package/dist/collection/components/handle/handle.js +1 -1
  332. package/dist/collection/components/handle/resources.js +1 -1
  333. package/dist/collection/components/icon/icon.js +1 -1
  334. package/dist/collection/components/icon/resources.js +1 -1
  335. package/dist/collection/components/icon/utils.js +1 -1
  336. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  337. package/dist/collection/components/inline-editable/resources.js +1 -1
  338. package/dist/collection/components/input/input.js +1 -1
  339. package/dist/collection/components/input/interfaces.js +1 -1
  340. package/dist/collection/components/input/resources.js +1 -1
  341. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  342. package/dist/collection/components/input-message/input-message.js +1 -1
  343. package/dist/collection/components/input-message/interfaces.js +1 -1
  344. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  345. package/dist/collection/components/interfaces.js +1 -1
  346. package/dist/collection/components/label/label.js +1 -1
  347. package/dist/collection/components/label/resources.js +1 -1
  348. package/dist/collection/components/link/link.js +1 -1
  349. package/dist/collection/components/list/list.js +1 -1
  350. package/dist/collection/components/list/resources.js +1 -1
  351. package/dist/collection/components/list-item/list-item.js +1 -1
  352. package/dist/collection/components/list-item/resources.js +1 -1
  353. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  354. package/dist/collection/components/list-item-group/resources.js +1 -1
  355. package/dist/collection/components/loader/loader.js +1 -1
  356. package/dist/collection/components/modal/interfaces.js +1 -1
  357. package/dist/collection/components/modal/modal.js +1 -1
  358. package/dist/collection/components/modal/resources.js +1 -1
  359. package/dist/collection/components/notice/notice.js +1 -1
  360. package/dist/collection/components/notice/resources.js +1 -1
  361. package/dist/collection/components/option/option.js +1 -1
  362. package/dist/collection/components/option-group/option-group.js +1 -1
  363. package/dist/collection/components/pagination/pagination.js +1 -1
  364. package/dist/collection/components/pagination/resources.js +1 -1
  365. package/dist/collection/components/panel/panel.js +1 -1
  366. package/dist/collection/components/panel/resources.js +1 -1
  367. package/dist/collection/components/pick-list/pick-list.js +1 -1
  368. package/dist/collection/components/pick-list/resources.js +1 -1
  369. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  370. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  371. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  372. package/dist/collection/components/pick-list-group/resources.js +1 -1
  373. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  374. package/dist/collection/components/pick-list-item/resources.js +1 -1
  375. package/dist/collection/components/popover/PopoverManager.js +1 -1
  376. package/dist/collection/components/popover/popover.js +1 -1
  377. package/dist/collection/components/popover/resources.js +1 -1
  378. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  379. package/dist/collection/components/progress/progress.js +1 -1
  380. package/dist/collection/components/radio-button/radio-button.js +1 -1
  381. package/dist/collection/components/radio-button/resources.js +1 -1
  382. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  383. package/dist/collection/components/radio-group/interfaces.js +1 -1
  384. package/dist/collection/components/radio-group/radio-group.js +1 -1
  385. package/dist/collection/components/radio-group-item/radio-group-item.js +2 -2
  386. package/dist/collection/components/radio-group-item/resources.js +1 -1
  387. package/dist/collection/components/rating/rating.js +1 -1
  388. package/dist/collection/components/rating/resources.js +1 -1
  389. package/dist/collection/components/scrim/resources.js +1 -1
  390. package/dist/collection/components/scrim/scrim.js +1 -1
  391. package/dist/collection/components/select/resources.js +1 -1
  392. package/dist/collection/components/select/select.js +1 -1
  393. package/dist/collection/components/shell/resources.js +1 -1
  394. package/dist/collection/components/shell/shell.js +1 -1
  395. package/dist/collection/components/shell-center-row/resources.js +1 -1
  396. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  397. package/dist/collection/components/shell-panel/resources.js +1 -1
  398. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  399. package/dist/collection/components/slider/slider.js +1 -1
  400. package/dist/collection/components/sortable-list/resources.js +1 -1
  401. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  402. package/dist/collection/components/split-button/resources.js +1 -1
  403. package/dist/collection/components/split-button/split-button.js +1 -1
  404. package/dist/collection/components/stepper/interfaces.js +1 -1
  405. package/dist/collection/components/stepper/stepper.js +1 -1
  406. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  407. package/dist/collection/components/switch/switch.js +1 -1
  408. package/dist/collection/components/tab/interfaces.js +1 -1
  409. package/dist/collection/components/tab/tab.js +1 -1
  410. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  411. package/dist/collection/components/tab-title/tab-title.js +1 -1
  412. package/dist/collection/components/tabs/interfaces.js +1 -1
  413. package/dist/collection/components/tabs/resources.js +1 -1
  414. package/dist/collection/components/tabs/tabs.js +1 -1
  415. package/dist/collection/components/tile/resources.js +1 -1
  416. package/dist/collection/components/tile/tile.js +1 -1
  417. package/dist/collection/components/tile-select/interfaces.js +1 -1
  418. package/dist/collection/components/tile-select/resources.js +1 -1
  419. package/dist/collection/components/tile-select/tile-select.js +1 -1
  420. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  421. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  422. package/dist/collection/components/time-picker/resources.js +1 -1
  423. package/dist/collection/components/time-picker/time-picker.js +1 -1
  424. package/dist/collection/components/tip/resources.js +1 -1
  425. package/dist/collection/components/tip/tip.js +1 -1
  426. package/dist/collection/components/tip-group/tip-group.js +1 -1
  427. package/dist/collection/components/tip-manager/resources.js +1 -1
  428. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  429. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  430. package/dist/collection/components/tooltip/resources.js +1 -1
  431. package/dist/collection/components/tooltip/tooltip.js +1 -1
  432. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  433. package/dist/collection/components/tree/interfaces.js +1 -1
  434. package/dist/collection/components/tree/tree.js +1 -1
  435. package/dist/collection/components/tree-item/interfaces.js +1 -1
  436. package/dist/collection/components/tree-item/resources.js +1 -1
  437. package/dist/collection/components/tree-item/tree-item.js +1 -1
  438. package/dist/collection/components/value-list/resources.js +1 -1
  439. package/dist/collection/components/value-list/value-list.js +1 -1
  440. package/dist/collection/components/value-list-item/resources.js +1 -1
  441. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  442. package/dist/collection/utils/array.js +1 -1
  443. package/dist/collection/utils/conditionalSlot.js +1 -1
  444. package/dist/collection/utils/date.js +1 -1
  445. package/dist/collection/utils/dom.js +1 -1
  446. package/dist/collection/utils/filter.js +1 -1
  447. package/dist/collection/utils/form.js +1 -1
  448. package/dist/collection/utils/globalAttributes.js +1 -1
  449. package/dist/collection/utils/guid.js +1 -1
  450. package/dist/collection/utils/interactive.js +1 -1
  451. package/dist/collection/utils/key.js +1 -1
  452. package/dist/collection/utils/label.js +1 -1
  453. package/dist/collection/utils/locale.js +1 -1
  454. package/dist/collection/utils/math.js +1 -1
  455. package/dist/collection/utils/number.js +1 -1
  456. package/dist/collection/utils/observers.js +1 -1
  457. package/dist/collection/utils/openCloseComponent.js +1 -1
  458. package/dist/collection/utils/popper.js +1 -1
  459. package/dist/collection/utils/resources.js +1 -1
  460. package/dist/collection/utils/time.js +1 -1
  461. package/dist/components/ExpandToggle.js +1 -1
  462. package/dist/components/Heading.js +1 -1
  463. package/dist/components/action-group.js +1 -1
  464. package/dist/components/action-menu.js +1 -1
  465. package/dist/components/action.js +1 -1
  466. package/dist/components/array.js +1 -1
  467. package/dist/components/button.js +1 -1
  468. package/dist/components/calcite-accordion-item.js +1 -1
  469. package/dist/components/calcite-accordion.js +1 -1
  470. package/dist/components/calcite-action-bar.js +1 -1
  471. package/dist/components/calcite-action-group.js +1 -1
  472. package/dist/components/calcite-action-menu.js +1 -1
  473. package/dist/components/calcite-action-pad.js +1 -1
  474. package/dist/components/calcite-action.js +1 -1
  475. package/dist/components/calcite-alert.js +1 -1
  476. package/dist/components/calcite-avatar.js +1 -1
  477. package/dist/components/calcite-block-section.js +1 -1
  478. package/dist/components/calcite-block.js +1 -1
  479. package/dist/components/calcite-button.js +1 -1
  480. package/dist/components/calcite-card.js +1 -1
  481. package/dist/components/calcite-checkbox.js +1 -1
  482. package/dist/components/calcite-chip.js +1 -1
  483. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  484. package/dist/components/calcite-color-picker-swatch.js +1 -1
  485. package/dist/components/calcite-color-picker.js +1 -1
  486. package/dist/components/calcite-combobox-item-group.js +1 -1
  487. package/dist/components/calcite-combobox-item.js +1 -1
  488. package/dist/components/calcite-combobox.js +1 -1
  489. package/dist/components/calcite-date-picker-day.js +1 -1
  490. package/dist/components/calcite-date-picker-month-header.js +1 -1
  491. package/dist/components/calcite-date-picker-month.js +1 -1
  492. package/dist/components/calcite-date-picker.js +1 -1
  493. package/dist/components/calcite-dropdown-group.js +1 -1
  494. package/dist/components/calcite-dropdown-item.js +1 -1
  495. package/dist/components/calcite-dropdown.js +1 -1
  496. package/dist/components/calcite-fab.js +1 -1
  497. package/dist/components/calcite-filter.js +1 -1
  498. package/dist/components/calcite-flow.js +1 -1
  499. package/dist/components/calcite-graph.js +1 -1
  500. package/dist/components/calcite-handle.js +1 -1
  501. package/dist/components/calcite-icon.js +1 -1
  502. package/dist/components/calcite-inline-editable.js +1 -1
  503. package/dist/components/calcite-input-date-picker.js +1 -1
  504. package/dist/components/calcite-input-message.js +1 -1
  505. package/dist/components/calcite-input-time-picker.js +1 -1
  506. package/dist/components/calcite-input.js +1 -1
  507. package/dist/components/calcite-label.js +1 -1
  508. package/dist/components/calcite-link.js +1 -1
  509. package/dist/components/calcite-list-item-group.js +1 -1
  510. package/dist/components/calcite-list-item.js +1 -1
  511. package/dist/components/calcite-list.js +1 -1
  512. package/dist/components/calcite-loader.js +1 -1
  513. package/dist/components/calcite-modal.js +1 -1
  514. package/dist/components/calcite-notice.js +1 -1
  515. package/dist/components/calcite-option-group.js +1 -1
  516. package/dist/components/calcite-option.js +1 -1
  517. package/dist/components/calcite-pagination.js +1 -1
  518. package/dist/components/calcite-panel.js +1 -1
  519. package/dist/components/calcite-pick-list-group.js +1 -1
  520. package/dist/components/calcite-pick-list-item.js +1 -1
  521. package/dist/components/calcite-pick-list.js +1 -1
  522. package/dist/components/calcite-popover-manager.js +1 -1
  523. package/dist/components/calcite-popover.js +1 -1
  524. package/dist/components/calcite-progress.js +1 -1
  525. package/dist/components/calcite-radio-button-group.js +1 -1
  526. package/dist/components/calcite-radio-button.js +1 -1
  527. package/dist/components/calcite-radio-group-item.js +2 -2
  528. package/dist/components/calcite-radio-group.js +1 -1
  529. package/dist/components/calcite-rating.js +1 -1
  530. package/dist/components/calcite-scrim.js +1 -1
  531. package/dist/components/calcite-select.js +1 -1
  532. package/dist/components/calcite-shell-center-row.js +1 -1
  533. package/dist/components/calcite-shell-panel.js +1 -1
  534. package/dist/components/calcite-shell.js +1 -1
  535. package/dist/components/calcite-slider.js +1 -1
  536. package/dist/components/calcite-sortable-list.js +1 -1
  537. package/dist/components/calcite-split-button.js +1 -1
  538. package/dist/components/calcite-stepper-item.js +1 -1
  539. package/dist/components/calcite-stepper.js +1 -1
  540. package/dist/components/calcite-switch.js +1 -1
  541. package/dist/components/calcite-tab-nav.js +1 -1
  542. package/dist/components/calcite-tab-title.js +1 -1
  543. package/dist/components/calcite-tab.js +1 -1
  544. package/dist/components/calcite-tabs.js +1 -1
  545. package/dist/components/calcite-tile-select-group.js +1 -1
  546. package/dist/components/calcite-tile-select.js +1 -1
  547. package/dist/components/calcite-tile.js +1 -1
  548. package/dist/components/calcite-time-picker.js +1 -1
  549. package/dist/components/calcite-tip-group.js +1 -1
  550. package/dist/components/calcite-tip-manager.js +1 -1
  551. package/dist/components/calcite-tip.js +1 -1
  552. package/dist/components/calcite-tooltip-manager.js +1 -1
  553. package/dist/components/calcite-tooltip.js +1 -1
  554. package/dist/components/calcite-tree-item.js +1 -1
  555. package/dist/components/calcite-tree.js +1 -1
  556. package/dist/components/calcite-value-list-item.js +1 -1
  557. package/dist/components/calcite-value-list.js +1 -1
  558. package/dist/components/checkbox.js +1 -1
  559. package/dist/components/chip.js +6 -2
  560. package/dist/components/color-picker-hex-input.js +1 -1
  561. package/dist/components/color-picker-swatch.js +1 -1
  562. package/dist/components/conditionalSlot.js +1 -1
  563. package/dist/components/date-picker-day.js +1 -1
  564. package/dist/components/date-picker-month-header.js +1 -1
  565. package/dist/components/date-picker-month.js +1 -1
  566. package/dist/components/date-picker.js +1 -1
  567. package/dist/components/date.js +1 -1
  568. package/dist/components/debounce.js +1 -1
  569. package/dist/components/dom.js +1 -1
  570. package/dist/components/dropdown.js +1 -1
  571. package/dist/components/filter.js +1 -1
  572. package/dist/components/forIn.js +1 -1
  573. package/dist/components/form.js +1 -1
  574. package/dist/components/graph.js +1 -1
  575. package/dist/components/guid.js +1 -1
  576. package/dist/components/handle.js +1 -1
  577. package/dist/components/icon.js +1 -1
  578. package/dist/components/index.js +1 -1
  579. package/dist/components/input.js +1 -1
  580. package/dist/components/interactive.js +1 -1
  581. package/dist/components/interfaces.js +1 -1
  582. package/dist/components/interfaces2.js +1 -1
  583. package/dist/components/key.js +1 -1
  584. package/dist/components/label.js +1 -1
  585. package/dist/components/label2.js +1 -1
  586. package/dist/components/link.js +1 -1
  587. package/dist/components/loader.js +1 -1
  588. package/dist/components/locale.js +1 -1
  589. package/dist/components/math.js +1 -1
  590. package/dist/components/observers.js +1 -1
  591. package/dist/components/pick-list-item.js +1 -1
  592. package/dist/components/popover.js +1 -1
  593. package/dist/components/popper.js +1 -1
  594. package/dist/components/progress.js +1 -1
  595. package/dist/components/resources.js +1 -1
  596. package/dist/components/resources2.js +1 -1
  597. package/dist/components/resources3.js +1 -1
  598. package/dist/components/scrim.js +1 -1
  599. package/dist/components/shared-list-render.js +1 -1
  600. package/dist/components/sortable.esm.js +1 -1
  601. package/dist/components/switch.js +1 -1
  602. package/dist/components/tab-nav.js +1 -1
  603. package/dist/components/tab-title.js +1 -1
  604. package/dist/components/tab.js +1 -1
  605. package/dist/components/tabs.js +1 -1
  606. package/dist/components/tile.js +1 -1
  607. package/dist/components/time-picker.js +1 -1
  608. package/dist/components/utils.js +1 -1
  609. package/dist/components/utils2.js +1 -1
  610. package/dist/custom-elements/index.js +7 -4
  611. package/dist/esm/{ExpandToggle-0b58abe6.js → ExpandToggle-d4acd022.js} +5 -5
  612. package/dist/esm/{Heading-12113015.js → Heading-252785eb.js} +2 -2
  613. package/dist/esm/{array-6d4bdcc0.js → array-bded6ddd.js} +1 -1
  614. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  615. package/dist/esm/calcite-action-bar.entry.js +10 -10
  616. package/dist/esm/calcite-action-group.entry.js +8 -8
  617. package/dist/esm/calcite-action-menu.entry.js +8 -8
  618. package/dist/esm/calcite-action-pad.entry.js +9 -9
  619. package/dist/esm/calcite-action.entry.js +6 -6
  620. package/dist/esm/calcite-alert.entry.js +5 -5
  621. package/dist/esm/calcite-avatar.entry.js +5 -5
  622. package/dist/esm/calcite-block_2.entry.js +8 -8
  623. package/dist/esm/calcite-button.entry.js +8 -8
  624. package/dist/esm/calcite-card.entry.js +6 -6
  625. package/dist/esm/calcite-checkbox.entry.js +7 -7
  626. package/dist/esm/calcite-chip.entry.js +10 -7
  627. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  628. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  629. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  630. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  631. package/dist/esm/calcite-fab.entry.js +5 -5
  632. package/dist/esm/calcite-filter.entry.js +7 -7
  633. package/dist/esm/calcite-flow.entry.js +3 -3
  634. package/dist/esm/calcite-graph_2.entry.js +9 -9
  635. package/dist/esm/calcite-handle.entry.js +4 -4
  636. package/dist/esm/calcite-icon.entry.js +5 -5
  637. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  638. package/dist/esm/calcite-input-date-picker.entry.js +11 -11
  639. package/dist/esm/calcite-input-message.entry.js +4 -4
  640. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  641. package/dist/esm/calcite-input.entry.js +11 -11
  642. package/dist/esm/calcite-label.entry.js +5 -5
  643. package/dist/esm/calcite-link.entry.js +5 -5
  644. package/dist/esm/calcite-list_3.entry.js +8 -8
  645. package/dist/esm/calcite-loader.entry.js +3 -3
  646. package/dist/esm/calcite-modal.entry.js +6 -6
  647. package/dist/esm/calcite-notice.entry.js +7 -7
  648. package/dist/esm/calcite-option_3.entry.js +8 -8
  649. package/dist/esm/calcite-pagination.entry.js +5 -5
  650. package/dist/esm/calcite-panel.entry.js +9 -9
  651. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  652. package/dist/esm/calcite-popover_2.entry.js +7 -7
  653. package/dist/esm/calcite-progress.entry.js +2 -2
  654. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  655. package/dist/esm/calcite-radio-button.entry.js +8 -8
  656. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  657. package/dist/esm/calcite-rating.entry.js +8 -8
  658. package/dist/esm/calcite-scrim.entry.js +2 -2
  659. package/dist/esm/calcite-shell_3.entry.js +7 -7
  660. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  661. package/dist/esm/calcite-split-button.entry.js +3 -3
  662. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  663. package/dist/esm/calcite-switch.entry.js +7 -7
  664. package/dist/esm/calcite-tab_4.entry.js +6 -6
  665. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  666. package/dist/esm/calcite-tile.entry.js +7 -7
  667. package/dist/esm/calcite-tip_3.entry.js +7 -7
  668. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  669. package/dist/esm/calcite-tree_2.entry.js +6 -6
  670. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  671. package/dist/esm/calcite.js +3 -3
  672. package/dist/esm/{conditionalSlot-6c053153.js → conditionalSlot-8a611e76.js} +3 -3
  673. package/dist/esm/{debounce-6032e5ae.js → debounce-17713200.js} +1 -1
  674. package/dist/esm/{dom-423cccc5.js → dom-3bc3e6f2.js} +2 -2
  675. package/dist/esm/{forIn-c9eea243.js → forIn-3302954f.js} +2 -2
  676. package/dist/esm/{form-118f5110.js → form-cb292ed6.js} +3 -3
  677. package/dist/esm/{guid-b913fc68.js → guid-5aa84743.js} +1 -1
  678. package/dist/esm/{index-75947106.js → index-3ec30bad.js} +1 -1
  679. package/dist/esm/index.js +1 -1
  680. package/dist/esm/{interactive-2f6cb327.js → interactive-21921578.js} +1 -1
  681. package/dist/esm/{interfaces-3675ffa5.js → interfaces-3c2efb02.js} +1 -1
  682. package/dist/esm/{key-7f88410e.js → key-02ae0e60.js} +1 -1
  683. package/dist/esm/{label-41d809e7.js → label-3a519eed.js} +2 -2
  684. package/dist/esm/loader.js +3 -3
  685. package/dist/esm/{locale-26bbc642.js → locale-1e310e6f.js} +2 -2
  686. package/dist/esm/{math-a15c5068.js → math-9da1254c.js} +1 -1
  687. package/dist/esm/{observers-9d606e25.js → observers-f302dd59.js} +1 -1
  688. package/dist/esm/{popper-35efac16.js → popper-00afea1c.js} +2 -2
  689. package/dist/esm/{resources-82e48301.js → resources-21dc5137.js} +1 -1
  690. package/dist/esm/{resources-e2f05176.js → resources-2eb35342.js} +5 -5
  691. package/dist/esm/{resources-7aa1ed06.js → resources-3f5a19f3.js} +1 -1
  692. package/dist/esm/{resources-d24a8e0f.js → resources-790145ca.js} +3 -3
  693. package/dist/esm/{sortable.esm-e8314f2e.js → sortable.esm-86b33659.js} +1 -1
  694. package/dist/esm/{utils-6afa3d32.js → utils-3bf99050.js} +1 -1
  695. package/dist/esm-es5/{ExpandToggle-0b58abe6.js → ExpandToggle-d4acd022.js} +2 -2
  696. package/dist/esm-es5/{Heading-12113015.js → Heading-252785eb.js} +2 -2
  697. package/dist/esm-es5/{array-6d4bdcc0.js → array-bded6ddd.js} +1 -1
  698. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  699. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  700. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  701. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  702. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  703. package/dist/esm-es5/calcite-action.entry.js +2 -2
  704. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  705. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  706. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  707. package/dist/esm-es5/calcite-button.entry.js +2 -2
  708. package/dist/esm-es5/calcite-card.entry.js +2 -2
  709. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  710. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  711. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  712. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  713. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  714. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  715. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  716. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  717. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  718. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  719. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  720. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  721. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  722. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  723. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  724. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  725. package/dist/esm-es5/calcite-input.entry.js +2 -2
  726. package/dist/esm-es5/calcite-label.entry.js +2 -2
  727. package/dist/esm-es5/calcite-link.entry.js +2 -2
  728. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  729. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  730. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  731. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  732. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  733. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  734. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  735. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  736. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  737. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  738. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  739. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  740. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  741. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  742. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  743. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  744. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  745. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  746. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  747. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  748. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  751. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  752. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  753. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  755. package/dist/esm-es5/calcite.js +2 -2
  756. package/dist/esm-es5/{conditionalSlot-6c053153.js → conditionalSlot-8a611e76.js} +2 -2
  757. package/dist/esm-es5/{debounce-6032e5ae.js → debounce-17713200.js} +1 -1
  758. package/dist/esm-es5/{dom-423cccc5.js → dom-3bc3e6f2.js} +2 -2
  759. package/dist/esm-es5/{forIn-c9eea243.js → forIn-3302954f.js} +2 -2
  760. package/dist/esm-es5/{form-118f5110.js → form-cb292ed6.js} +2 -2
  761. package/dist/esm-es5/{guid-b913fc68.js → guid-5aa84743.js} +1 -1
  762. package/dist/esm-es5/{index-75947106.js → index-3ec30bad.js} +1 -1
  763. package/dist/esm-es5/index.js +1 -1
  764. package/dist/esm-es5/{interactive-2f6cb327.js → interactive-21921578.js} +1 -1
  765. package/dist/esm-es5/{interfaces-3675ffa5.js → interfaces-3c2efb02.js} +1 -1
  766. package/dist/esm-es5/{key-7f88410e.js → key-02ae0e60.js} +1 -1
  767. package/dist/esm-es5/{label-41d809e7.js → label-3a519eed.js} +2 -2
  768. package/dist/esm-es5/loader.js +2 -2
  769. package/dist/esm-es5/{locale-26bbc642.js → locale-1e310e6f.js} +2 -2
  770. package/dist/esm-es5/{math-a15c5068.js → math-9da1254c.js} +1 -1
  771. package/dist/esm-es5/{observers-9d606e25.js → observers-f302dd59.js} +1 -1
  772. package/dist/esm-es5/{popper-35efac16.js → popper-00afea1c.js} +2 -2
  773. package/dist/esm-es5/{resources-82e48301.js → resources-21dc5137.js} +1 -1
  774. package/dist/esm-es5/{resources-e2f05176.js → resources-2eb35342.js} +2 -2
  775. package/dist/esm-es5/{resources-7aa1ed06.js → resources-3f5a19f3.js} +1 -1
  776. package/dist/esm-es5/{resources-d24a8e0f.js → resources-790145ca.js} +2 -2
  777. package/dist/esm-es5/{sortable.esm-e8314f2e.js → sortable.esm-86b33659.js} +1 -1
  778. package/dist/esm-es5/{utils-6afa3d32.js → utils-3bf99050.js} +1 -1
  779. package/dist/extras/docs-json.json +18 -1
  780. package/dist/loader/cdn.js +1 -1
  781. package/dist/loader/index.cjs.js +1 -1
  782. package/dist/loader/index.es2017.js +1 -1
  783. package/dist/loader/index.js +1 -1
  784. package/dist/types/components/chip/chip.d.ts +2 -0
  785. package/dist/types/components.d.ts +8 -0
  786. package/hydrate/index.js +8 -4
  787. package/package.json +1 -1
  788. package/dist/calcite/p-2042e995.entry.js +0 -6
  789. package/dist/calcite/p-53387bc1.js +0 -6
  790. package/dist/calcite/p-63a4f481.entry.js +0 -6
  791. package/dist/calcite/p-9673388b.entry.js +0 -6
  792. package/dist/calcite/p-afc7f1bc.system.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.518
4
+ * v1.0.0-next.520
5
5
  */
6
- import{r as t,h as a,g as e}from"./p-2d369196.js";import{c as o}from"./p-e19bd0f2.js";import{c as n,d as r,g as i}from"./p-a27791e1.js";import{c}from"./p-df64ab68.js";import{u as l}from"./p-a73a8888.js";import{s,r as p}from"./p-0f6fb2c7.js";import"./p-b664b4cf.js";!function(t){function a(t,a,e){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+a+".",e)}"function"!=typeof t.requestSubmit&&(t.requestSubmit=function(t){t?(function(t,e){t instanceof HTMLElement||a(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==t.type||a(TypeError,"The specified element is not a submit button"),t.form==e||a(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 d=class{constructor(a){t(this,a),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,a){t&&!a&&(this.hasLoader=!0),!t&&a&&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",e=t,o=this.hasLoader?a("div",{class:"calcite-button--loader"},a("calcite-loader",{active:!0,class:this.loading?"loading-in":"loading-out",inline:!0,label:this.intlLoading,scale:"m"})):null,n=a("calcite-icon",{class:{icon:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=a("calcite-icon",{class:{icon:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),c=a("span",{class:"content"},a("slot",null));return a(e,{"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,a;const e=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===(a=this.el.textContent)||void 0===a?void 0:a.trim().length)>0:e}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 e(this)}static get watchers(){return{loading:["loadingChanged"]}}};d.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;width: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:var(--calcite-button-padding-y) var(--calcite-button-padding-x) var(--calcite-button-padding-y) var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width: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;-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin);-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end: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]){width:auto}:host([width=half]){width:50%}:host([width=full]){width: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]){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([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%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width: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:width 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:width 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:width 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:width 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-top-width:1px;border-bottom-width:1px;color:var(--calcite-ui-text-3);border-top-color:var(--calcite-ui-border-input);border-bottom-color:var(--calcite-ui-border-input);border-bottom-style:solid;border-top-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;width:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-height: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;width:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-height: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;width:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-height: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;height: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;height: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;height: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{d as calcite_button}
6
+ import{r as t,h as a,g as e}from"./p-f7fd201f.js";import{c as o}from"./p-b3bf4e2b.js";import{c as n,d as r,g as i}from"./p-e6f77179.js";import{c}from"./p-f4742511.js";import{u as l}from"./p-82e2b61e.js";import{s,r as p}from"./p-9398bb6c.js";import"./p-3a9aaecf.js";!function(t){function a(t,a,e){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+a+".",e)}"function"!=typeof t.requestSubmit&&(t.requestSubmit=function(t){t?(function(t,e){t instanceof HTMLElement||a(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==t.type||a(TypeError,"The specified element is not a submit button"),t.form==e||a(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 d=class{constructor(a){t(this,a),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,a){t&&!a&&(this.hasLoader=!0),!t&&a&&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",e=t,o=this.hasLoader?a("div",{class:"calcite-button--loader"},a("calcite-loader",{active:!0,class:this.loading?"loading-in":"loading-out",inline:!0,label:this.intlLoading,scale:"m"})):null,n=a("calcite-icon",{class:{icon:!0,"icon--start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),r=a("calcite-icon",{class:{icon:!0,"icon--end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"}),c=a("span",{class:"content"},a("slot",null));return a(e,{"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,a;const e=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===(a=this.el.textContent)||void 0===a?void 0:a.trim().length)>0:e}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 e(this)}static get watchers(){return{loading:["loadingChanged"]}}};d.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;width: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:var(--calcite-button-padding-y) var(--calcite-button-padding-x) var(--calcite-button-padding-y) var(--calcite-button-padding-x);position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width: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;-webkit-margin-start:var(--calcite-button-content-margin);margin-inline-start:var(--calcite-button-content-margin);-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end: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]){width:auto}:host([width=half]){width:50%}:host([width=full]){width: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]){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([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%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width: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:width 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:width 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:width 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:width 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-top-width:1px;border-bottom-width:1px;color:var(--calcite-ui-text-3);border-top-color:var(--calcite-ui-border-input);border-bottom-color:var(--calcite-ui-border-input);border-bottom-style:solid;border-top-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;width:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-height: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;width:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-height: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;width:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-height: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;height: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;height: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;height: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{d 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.518
4
+ * v1.0.0-next.520
5
5
  */
6
- System.register(["./p-eedcd5b7.system.js"],(function(r){"use strict";var t,e,n,o,u;return{setters:[function(r){t=r.i;e=r.b;n=r.c;o=r.r;u=r.f}],execute:function(){r("f",Tr);var c=r("i",Array.isArray);function a(r){return r}var i="[object AsyncFunction]",f="[object Function]",b="[object GeneratorFunction]",l="[object Proxy]";function v(r){if(!t(r)){return false}var n=e(r);return n==f||n==b||n==i||n==l}var y=9007199254740991;var j=/^(?:0|[1-9]\d*)$/;function p(r,t){var e=typeof r;t=t==null?y:t;return!!t&&(e=="number"||e!="symbol"&&j.test(r))&&(r>-1&&r%1==0&&r<t)}var s=9007199254740991;function d(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=s}function m(r){return r!=null&&d(r.length)&&!v(r)}var A=Object.prototype;function h(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||A;return r===e}function g(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var O="[object Arguments]";function w(r){return n(r)&&e(r)==O}var F=Object.prototype;var x=F.hasOwnProperty;var T=F.propertyIsEnumerable;var B=w(function(){return arguments}())?w:function(r){return n(r)&&x.call(r,"callee")&&!T.call(r,"callee")};function I(){return false}var P=typeof r=="object"&&r&&!r.nodeType&&r;var S=P&&typeof module=="object"&&module&&!module.nodeType&&module;var U=S&&S.exports===P;var E=U?o.Buffer:undefined;var k=E?E.isBuffer:undefined;var q=k||I;var D="[object Arguments]",M="[object Array]",C="[object Boolean]",G="[object Date]",L="[object Error]",N="[object Function]",R="[object Map]",V="[object Number]",W="[object Object]",$="[object RegExp]",z="[object Set]",H="[object String]",J="[object WeakMap]";var K="[object ArrayBuffer]",Q="[object DataView]",X="[object Float32Array]",Y="[object Float64Array]",Z="[object Int8Array]",_="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",er="[object Uint8ClampedArray]",nr="[object Uint16Array]",or="[object Uint32Array]";var ur={};ur[X]=ur[Y]=ur[Z]=ur[_]=ur[rr]=ur[tr]=ur[er]=ur[nr]=ur[or]=true;ur[D]=ur[M]=ur[K]=ur[C]=ur[Q]=ur[G]=ur[L]=ur[N]=ur[R]=ur[V]=ur[W]=ur[$]=ur[z]=ur[H]=ur[J]=false;function cr(r){return n(r)&&d(r.length)&&!!ur[e(r)]}function ar(r){return function(t){return r(t)}}var ir=typeof r=="object"&&r&&!r.nodeType&&r;var fr=ir&&typeof module=="object"&&module&&!module.nodeType&&module;var br=fr&&fr.exports===ir;var lr=br&&u.process;var vr=function(){try{var r=fr&&fr.require&&fr.require("util").types;if(r){return r}return lr&&lr.binding&&lr.binding("util")}catch(r){}}();var yr=vr&&vr.isTypedArray;var jr=yr?ar(yr):cr;var pr=Object.prototype;var sr=pr.hasOwnProperty;function dr(r,t){var e=c(r),n=!e&&B(r),o=!e&&!n&&q(r),u=!e&&!n&&!o&&jr(r),a=e||n||o||u,i=a?g(r.length,String):[],f=i.length;for(var b in r){if((t||sr.call(r,b))&&!(a&&(b=="length"||o&&(b=="offset"||b=="parent")||u&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||p(b,f)))){i.push(b)}}return i}function mr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Ar=Object.prototype;var hr=Ar.hasOwnProperty;function gr(r){if(!t(r)){return mr(r)}var e=h(r),n=[];for(var o in r){if(!(o=="constructor"&&(e||!hr.call(r,o)))){n.push(o)}}return n}function Or(r){return m(r)?dr(r,true):gr(r)}function wr(r){return function(t,e,n){var o=-1,u=Object(t),c=n(t),a=c.length;while(a--){var i=c[r?a:++o];if(e(u[i],i,u)===false){break}}return t}}var Fr=wr();function xr(r){return typeof r=="function"?r:a}function Tr(r,t){return r==null?r:Fr(r,xr(t),Or)}}}}));
6
+ System.register(["./p-78274269.system.js"],(function(r){"use strict";var t,e,n,o,u;return{setters:[function(r){t=r.i;e=r.b;n=r.c;o=r.r;u=r.f}],execute:function(){r("f",Tr);var a=r("i",Array.isArray);function c(r){return r}var i="[object AsyncFunction]",f="[object Function]",b="[object GeneratorFunction]",l="[object Proxy]";function v(r){if(!t(r)){return false}var n=e(r);return n==f||n==b||n==i||n==l}var y=9007199254740991;var j=/^(?:0|[1-9]\d*)$/;function p(r,t){var e=typeof r;t=t==null?y:t;return!!t&&(e=="number"||e!="symbol"&&j.test(r))&&(r>-1&&r%1==0&&r<t)}var s=9007199254740991;function d(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=s}function m(r){return r!=null&&d(r.length)&&!v(r)}var A=Object.prototype;function h(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||A;return r===e}function g(r,t){var e=-1,n=Array(r);while(++e<r){n[e]=t(e)}return n}var O="[object Arguments]";function w(r){return n(r)&&e(r)==O}var F=Object.prototype;var x=F.hasOwnProperty;var T=F.propertyIsEnumerable;var B=w(function(){return arguments}())?w:function(r){return n(r)&&x.call(r,"callee")&&!T.call(r,"callee")};function I(){return false}var P=typeof r=="object"&&r&&!r.nodeType&&r;var S=P&&typeof module=="object"&&module&&!module.nodeType&&module;var U=S&&S.exports===P;var E=U?o.Buffer:undefined;var k=E?E.isBuffer:undefined;var q=k||I;var D="[object Arguments]",M="[object Array]",C="[object Boolean]",G="[object Date]",L="[object Error]",N="[object Function]",R="[object Map]",V="[object Number]",W="[object Object]",$="[object RegExp]",z="[object Set]",H="[object String]",J="[object WeakMap]";var K="[object ArrayBuffer]",Q="[object DataView]",X="[object Float32Array]",Y="[object Float64Array]",Z="[object Int8Array]",_="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",er="[object Uint8ClampedArray]",nr="[object Uint16Array]",or="[object Uint32Array]";var ur={};ur[X]=ur[Y]=ur[Z]=ur[_]=ur[rr]=ur[tr]=ur[er]=ur[nr]=ur[or]=true;ur[D]=ur[M]=ur[K]=ur[C]=ur[Q]=ur[G]=ur[L]=ur[N]=ur[R]=ur[V]=ur[W]=ur[$]=ur[z]=ur[H]=ur[J]=false;function ar(r){return n(r)&&d(r.length)&&!!ur[e(r)]}function cr(r){return function(t){return r(t)}}var ir=typeof r=="object"&&r&&!r.nodeType&&r;var fr=ir&&typeof module=="object"&&module&&!module.nodeType&&module;var br=fr&&fr.exports===ir;var lr=br&&u.process;var vr=function(){try{var r=fr&&fr.require&&fr.require("util").types;if(r){return r}return lr&&lr.binding&&lr.binding("util")}catch(r){}}();var yr=vr&&vr.isTypedArray;var jr=yr?cr(yr):ar;var pr=Object.prototype;var sr=pr.hasOwnProperty;function dr(r,t){var e=a(r),n=!e&&B(r),o=!e&&!n&&q(r),u=!e&&!n&&!o&&jr(r),c=e||n||o||u,i=c?g(r.length,String):[],f=i.length;for(var b in r){if((t||sr.call(r,b))&&!(c&&(b=="length"||o&&(b=="offset"||b=="parent")||u&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||p(b,f)))){i.push(b)}}return i}function mr(r){var t=[];if(r!=null){for(var e in Object(r)){t.push(e)}}return t}var Ar=Object.prototype;var hr=Ar.hasOwnProperty;function gr(r){if(!t(r)){return mr(r)}var e=h(r),n=[];for(var o in r){if(!(o=="constructor"&&(e||!hr.call(r,o)))){n.push(o)}}return n}function Or(r){return m(r)?dr(r,true):gr(r)}function wr(r){return function(t,e,n){var o=-1,u=Object(t),a=n(t),c=a.length;while(c--){var i=a[r?c:++o];if(e(u[i],i,u)===false){break}}return t}}var Fr=wr();function xr(r){return typeof r=="function"?r:c}function Tr(r,t){return r==null?r:Fr(r,xr(t),Or)}}}}));
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,a){function n(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.518
6
- */System.register(["./p-b9670b91.system.js","./p-0786ee73.system.js","./p-f2f2cbdb.system.js","./p-6ca78bbe.system.js"],(function(t){"use strict";var e,i,a,n,r,s,o;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.F;r=t.g},function(t){s=t.c},function(t){o=t.l},function(){}],execute:function(){var l=["lang"];var c=new Map;var u;function p(t,e){var i=t.el;var a={};e.filter((function(t){return!!l.includes(t)&&!!i.hasAttribute(t)})).forEach((function(t){var e=i.getAttribute(t);if(e!==null){a[t]=e}}));t.globalAttributes=a}function h(t){t.forEach((function(t){var e=t.target;var i=c.get(e),a=i[0],n=i[1];p(a,n.attributeFilter)}))}function m(t,e){var i=t.el;var a={attributeFilter:e};c.set(i,[t,a]);p(t,e);if(!u){u=s("mutation",h)}u.observe(i,a)}function f(t){c.delete(t.el);h(u.takeRecords());u.disconnect();for(var e=0,i=c.entries();e<i.length;e++){var a=i[e],n=a[0],r=a[1],s=r[1];u.observe(n,s)}}var d={page:"page",selected:"is-selected",previous:"previous",next:"next",disabled:"is-disabled",ellipsis:"ellipsis",ellipsisStart:"ellipsis--start",ellipsisEnd:"ellipsis--end"};var b={nextLabel:"Next",previousLabel:"Previous"};var g="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{height:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{height:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-left:0.5rem;padding-right:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{height:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-left:1rem;padding-right:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-top:2px solid transparent;border-bottom:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-bottom-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-bottom-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";var v=5;var y=t("calcite_pagination",function(){function t(t){var a=this;e(this,t);this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",7);this.calcitePaginationChange=i(this,"calcitePaginationChange",7);this.num=20;this.start=1;this.total=0;this.textLabelNext=b.nextLabel;this.textLabelPrevious=b.previousLabel;this.scale="m";this.globalAttributes={};this.previousClicked=function(){a.previousPage().then();a.emitUpdate()};this.nextClicked=function(){a.nextPage();a.emitUpdate()}}t.prototype.connectedCallback=function(){m(this,["lang"])};t.prototype.disconnectedCallback=function(){f(this)};t.prototype.nextPage=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.start=Math.min(this.getLastStart(),this.start+this.num);return[2]}))}))};t.prototype.previousPage=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.start=Math.max(1,this.start-this.num);return[2]}))}))};t.prototype.getLastStart=function(){var t=this,e=t.total,i=t.num;var a=e%i===0?e-i:Math.floor(e/i)*i;return a+1};t.prototype.showLeftEllipsis=function(){return Math.floor(this.start/this.num)>3};t.prototype.showRightEllipsis=function(){return(this.total-this.start)/this.num>3};t.prototype.emitUpdate=function(){var t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t);this.calcitePaginationUpdate.emit(t)};t.prototype.renderPages=function(){var t=this;var e=this.getLastStart();var i;var a;if(this.total/this.num<=v){a=1+this.num;i=e-this.num}else{if(this.start/this.num<v-1){a=1+this.num;i=1+4*this.num}else{if(this.start+3*this.num>=this.total){a=e-4*this.num;i=e-this.num}else{a=this.start-this.num;i=this.start+this.num}}}var n=[];while(a<=i){n.push(a);a=a+this.num}return n.map((function(e){return t.renderPage(e)}))};t.prototype.renderPage=function(t){var e;var i=this;var n=this.globalAttributes["lang"]||document.documentElement.lang||"en";var r=Math.floor(t/this.num)+(this.num===1?0:1);return a("button",{class:(e={},e[d.page]=true,e[d.selected]=t===this.start,e),onClick:function(){i.start=t;i.emitUpdate()}},o(r.toString(),n,true))};t.prototype.renderLeftEllipsis=function(){if(this.total/this.num>v&&this.showLeftEllipsis()){return a("span",{class:"".concat(d.ellipsis," ").concat(d.ellipsisStart)},"…")}};t.prototype.renderRightEllipsis=function(){if(this.total/this.num>v&&this.showRightEllipsis()){return a("span",{class:"".concat(d.ellipsis," ").concat(d.ellipsisEnd)},"…")}};t.prototype.render=function(){var t,e;var i=this,r=i.total,s=i.num,o=i.start;var l=s===1?o<=s:o<s;var c=s===1?o+s>r:o+s>r;return a(n,null,a("button",{"aria-label":this.textLabelPrevious,class:(t={},t[d.previous]=true,t[d.disabled]=l,t),disabled:l,onClick:this.previousClicked},a("calcite-icon",{flipRtl:true,icon:"chevronLeft",scale:"s"})),r>s?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:(e={},e[d.next]=true,e[d.disabled]=c,e),disabled:c,onClick:this.nextClicked},a("calcite-icon",{flipRtl:true,icon:"chevronRight",scale:"s"})))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());y.style=g}}}));
5
+ * v1.0.0-next.520
6
+ */System.register(["./p-9781070e.system.js","./p-7157eb29.system.js","./p-aff0389a.system.js","./p-9b239dcc.system.js"],(function(t){"use strict";var e,i,a,n,r,s,o;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.F;r=t.g},function(t){s=t.c},function(t){o=t.l},function(){}],execute:function(){var l=["lang"];var c=new Map;var u;function p(t,e){var i=t.el;var a={};e.filter((function(t){return!!l.includes(t)&&!!i.hasAttribute(t)})).forEach((function(t){var e=i.getAttribute(t);if(e!==null){a[t]=e}}));t.globalAttributes=a}function h(t){t.forEach((function(t){var e=t.target;var i=c.get(e),a=i[0],n=i[1];p(a,n.attributeFilter)}))}function m(t,e){var i=t.el;var a={attributeFilter:e};c.set(i,[t,a]);p(t,e);if(!u){u=s("mutation",h)}u.observe(i,a)}function f(t){c.delete(t.el);h(u.takeRecords());u.disconnect();for(var e=0,i=c.entries();e<i.length;e++){var a=i[e],n=a[0],r=a[1],s=r[1];u.observe(n,s)}}var d={page:"page",selected:"is-selected",previous:"previous",next:"next",disabled:"is-disabled",ellipsis:"ellipsis",ellipsisStart:"ellipsis--start",ellipsisEnd:"ellipsis--end"};var b={nextLabel:"Next",previousLabel:"Previous"};var g="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{height:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{height:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-left:0.5rem;padding-right:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{height:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-left:1rem;padding-right:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-top:2px solid transparent;border-bottom:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-bottom-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-bottom-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";var v=5;var y=t("calcite_pagination",function(){function t(t){var a=this;e(this,t);this.calcitePaginationUpdate=i(this,"calcitePaginationUpdate",7);this.calcitePaginationChange=i(this,"calcitePaginationChange",7);this.num=20;this.start=1;this.total=0;this.textLabelNext=b.nextLabel;this.textLabelPrevious=b.previousLabel;this.scale="m";this.globalAttributes={};this.previousClicked=function(){a.previousPage().then();a.emitUpdate()};this.nextClicked=function(){a.nextPage();a.emitUpdate()}}t.prototype.connectedCallback=function(){m(this,["lang"])};t.prototype.disconnectedCallback=function(){f(this)};t.prototype.nextPage=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.start=Math.min(this.getLastStart(),this.start+this.num);return[2]}))}))};t.prototype.previousPage=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.start=Math.max(1,this.start-this.num);return[2]}))}))};t.prototype.getLastStart=function(){var t=this,e=t.total,i=t.num;var a=e%i===0?e-i:Math.floor(e/i)*i;return a+1};t.prototype.showLeftEllipsis=function(){return Math.floor(this.start/this.num)>3};t.prototype.showRightEllipsis=function(){return(this.total-this.start)/this.num>3};t.prototype.emitUpdate=function(){var t={start:this.start,total:this.total,num:this.num};this.calcitePaginationChange.emit(t);this.calcitePaginationUpdate.emit(t)};t.prototype.renderPages=function(){var t=this;var e=this.getLastStart();var i;var a;if(this.total/this.num<=v){a=1+this.num;i=e-this.num}else{if(this.start/this.num<v-1){a=1+this.num;i=1+4*this.num}else{if(this.start+3*this.num>=this.total){a=e-4*this.num;i=e-this.num}else{a=this.start-this.num;i=this.start+this.num}}}var n=[];while(a<=i){n.push(a);a=a+this.num}return n.map((function(e){return t.renderPage(e)}))};t.prototype.renderPage=function(t){var e;var i=this;var n=this.globalAttributes["lang"]||document.documentElement.lang||"en";var r=Math.floor(t/this.num)+(this.num===1?0:1);return a("button",{class:(e={},e[d.page]=true,e[d.selected]=t===this.start,e),onClick:function(){i.start=t;i.emitUpdate()}},o(r.toString(),n,true))};t.prototype.renderLeftEllipsis=function(){if(this.total/this.num>v&&this.showLeftEllipsis()){return a("span",{class:"".concat(d.ellipsis," ").concat(d.ellipsisStart)},"…")}};t.prototype.renderRightEllipsis=function(){if(this.total/this.num>v&&this.showRightEllipsis()){return a("span",{class:"".concat(d.ellipsis," ").concat(d.ellipsisEnd)},"…")}};t.prototype.render=function(){var t,e;var i=this,r=i.total,s=i.num,o=i.start;var l=s===1?o<=s:o<s;var c=s===1?o+s>r:o+s>r;return a(n,null,a("button",{"aria-label":this.textLabelPrevious,class:(t={},t[d.previous]=true,t[d.disabled]=l,t),disabled:l,onClick:this.previousClicked},a("calcite-icon",{flipRtl:true,icon:"chevronLeft",scale:"s"})),r>s?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),a("button",{"aria-label":this.textLabelNext,class:(e={},e[d.next]=true,e[d.disabled]=c,e),disabled:c,onClick:this.nextClicked},a("calcite-icon",{flipRtl:true,icon:"chevronRight",scale:"s"})))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());y.style=g}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.518
4
+ * v1.0.0-next.520
5
5
  */
6
6
  System.register([],(function(e){"use strict";return{execute:function(){e("u",i);function t(){}function i(e,i){if(i===void 0){i=false}if(e.disabled){e.el.setAttribute("tabindex","-1");e.el.setAttribute("aria-disabled","true");if(e.el.contains(document.activeElement)){document.activeElement.blur()}e.el.click=t;return}e.el.click=HTMLElement.prototype.click;if(typeof i==="function"){e.el.setAttribute("tabindex",i.call(e)?"0":"-1")}else if(i===true){e.el.setAttribute("tabindex","0")}else if(i===false){e.el.removeAttribute("tabindex")}else;e.el.removeAttribute("aria-disabled")}}}}));
@@ -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.518
4
+ * v1.0.0-next.520
5
5
  */
6
- import{r as t,h as a,g as i}from"./p-2d369196.js";import{h as e,i as n}from"./p-f242533e.js";import{b as r}from"./p-e19bd0f2.js";import"./p-b664b4cf.js";const s=class{constructor(a){t(this,a),this.scale="m",this.error=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.error)return a("img",{alt:"",class:"thumbnail",onError:()=>this.error=!0,src:this.thumbnail});const t=this.generateInitials(),i=this.generateFillColor();return a("span",{class:"background",style:{backgroundColor:i}},t?a("span",{"aria-hidden":"true",class:"initials"},t):a("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:t,username:a,fullName:i,el:s}=this,o=r(s),c=t&&`#${t.substr(t.length-6)}`,l=a||i||"",m=c&&n(c)?c:function(t){let a=0;for(let i=0;i<t.length;i++)a=t.charCodeAt(i)+((a<<5)-a);let i="#";for(let t=0;t<3;t++)i+=("00"+(a>>8*t&255).toString(16)).substr(-2);return i}(l);return(t||l)&&n(m)?`hsl(${function(t){return function(t){let{r:a,g:i,b:e}=t;a/=255,i/=255,e/=255;const n=Math.max(a,i,e),r=Math.min(a,i,e),s=n-r;if(n===r)return 0;let o=(n+r)/2;switch(n){case a:o=(i-e)/s+(i<e?6:0);break;case i:o=(e-a)/s+2;break;case e:o=(a-i)/s+4}return Math.round(60*o)}(e(t))}(m)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:t,username:a}=this;return t?t.trim().split(" ").map((t=>t.substring(0,1))).join(""):!!a&&a.substring(0,2)}get el(){return i(this)}};s.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){height:1.5rem;width:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){height:2rem;width:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){height:2.75rem;width:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:-ms-flexbox;display:flex}.background{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-3)}.thumbnail{height:100%;width:100%;border-radius:50%}";export{s as calcite_avatar}
6
+ import{r as a,h as t,g as i}from"./p-f7fd201f.js";import{h as e,i as n}from"./p-7fd5a8a3.js";import{b as r}from"./p-b3bf4e2b.js";import"./p-3a9aaecf.js";const s=class{constructor(t){a(this,t),this.scale="m",this.error=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.error)return t("img",{alt:"",class:"thumbnail",onError:()=>this.error=!0,src:this.thumbnail});const a=this.generateInitials(),i=this.generateFillColor();return t("span",{class:"background",style:{backgroundColor:i}},a?t("span",{"aria-hidden":"true",class:"initials"},a):t("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:a,username:t,fullName:i,el:s}=this,o=r(s),c=a&&`#${a.substr(a.length-6)}`,l=t||i||"",m=c&&n(c)?c:function(a){let t=0;for(let i=0;i<a.length;i++)t=a.charCodeAt(i)+((t<<5)-t);let i="#";for(let a=0;a<3;a++)i+=("00"+(t>>8*a&255).toString(16)).substr(-2);return i}(l);return(a||l)&&n(m)?`hsl(${function(a){return function(a){let{r:t,g:i,b:e}=a;t/=255,i/=255,e/=255;const n=Math.max(t,i,e),r=Math.min(t,i,e),s=n-r;if(n===r)return 0;let o=(n+r)/2;switch(n){case t:o=(i-e)/s+(i<e?6:0);break;case i:o=(e-t)/s+2;break;case e:o=(t-i)/s+4}return Math.round(60*o)}(e(a))}(m)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:a,username:t}=this;return a?a.trim().split(" ").map((a=>a.substring(0,1))).join(""):!!t&&t.substring(0,2)}get el(){return i(this)}};s.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){height:1.5rem;width:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){height:2rem;width:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){height:2.75rem;width:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:-ms-flexbox;display:flex}.background{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-3)}.thumbnail{height:100%;width:100%;border-radius:50%}";export{s as calcite_avatar}
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,a,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.518
6
- */System.register(["./p-b9670b91.system.js","./p-0786ee73.system.js","./p-2e66a4e8.system.js","./p-69fbbc95.system.js","./p-51b0e0f2.system.js","./p-7e426f52.system.js","./p-ee40d99d.system.js"],(function(t){"use strict";var e,a,n,i,r,o,c,l,s,m,p,u,f,d;return{setters:[function(t){e=t.r;a=t.c;n=t.h;i=t.g;r=t.F},function(t){o=t.c},function(t){c=t.f},function(t){l=t.c;s=t.d},function(t){m=t.c;p=t.d;u=t.a;f=t.H},function(t){d=t.u},function(){}],execute:function(){var h="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";var b=t("calcite_option",function(){function t(t){var n=this;e(this,t);this.calciteInternalOptionChange=a(this,"calciteInternalOptionChange",7);this.disabled=false;this.mutationObserver=o("mutation",(function(){n.ensureTextContentDependentProps();n.calciteInternalOptionChange.emit()}))}t.prototype.handlePropChange=function(t,e,a){if(a==="label"||a==="value"){this.ensureTextContentDependentProps()}this.calciteInternalOptionChange.emit()};t.prototype.ensureTextContentDependentProps=function(){var t=this.el.textContent;if(!this.label||this.label===this.internallySetLabel){this.label=t;this.internallySetLabel=t}if(!this.value||this.value===this.internallySetValue){this.value=t;this.internallySetValue=t}};t.prototype.connectedCallback=function(){var t;this.ensureTextContentDependentProps();(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{attributeFilter:["label","value"],characterData:true,childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.render=function(){return n("slot",null,this.label)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}},enumerable:false,configurable:true});return t}());b.style=h;var y="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";var v=t("calcite_option_group",function(){function t(t){e(this,t);this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",7);this.disabled=false}t.prototype.handlePropChange=function(){this.calciteInternalOptionGroupChange.emit()};t.prototype.render=function(){return n(r,null,n("div",null,this.label),n("slot",null))};Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handlePropChange"],label:["handlePropChange"]}},enumerable:false,configurable:true});return t}());v.style=y;var w={icon:"icon",iconContainer:"icon-container",select:"select"};var g="@-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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;width:var(--select-width)}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){height:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-left:0.5rem;padding-right:0.5rem}:host([scale=m]){height:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-left:0.75rem;padding-right:0.75rem}:host([scale=l]){height:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-left:1rem;padding-right:1rem}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}.select{margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;top:0px;bottom:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";function k(t){return t.tagName==="CALCITE-OPTION"}function D(t){return t.tagName==="CALCITE-OPTION-GROUP"}var x=t("calcite_select",function(){function t(t){var n=this;e(this,t);this.calciteSelectChange=a(this,"calciteSelectChange",7);this.disabled=false;this.required=false;this.scale="m";this.value=null;this.width="auto";this.componentToNativeEl=new Map;this.mutationObserver=o("mutation",(function(){return n.populateInternalSelect()}));this.handleInternalSelectChange=function(){var t=n.selectEl.selectedOptions[0];n.selectFromNativeOption(t);requestAnimationFrame((function(){return n.emitChangeEvent()}))};this.populateInternalSelect=function(){var t=Array.from(n.el.children).filter((function(t){return t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP"}));n.clearInternalSelect();t.forEach((function(t){var e;return(e=n.selectEl)===null||e===void 0?void 0:e.append(n.toNativeElement(t))}))};this.storeSelectRef=function(t){n.selectEl=t;n.populateInternalSelect();var e=n.selectEl.selectedOptions[0];n.selectFromNativeOption(e)};this.emitChangeEvent=function(){n.calciteSelectChange.emit()}}t.prototype.valueHandler=function(t){var e=this.el.querySelectorAll("calcite-option");e.forEach((function(e){return e.selected=e.value===t}))};t.prototype.selectedOptionHandler=function(t){this.value=t===null||t===void 0?void 0:t.value};t.prototype.connectedCallback=function(){var t;var e=this.el;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(e,{subtree:true,childList:true});l(this);m(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();s(this);p(this)};t.prototype.componentDidLoad=function(){var t,e;u(this,(e=(t=this.selectedOption)===null||t===void 0?void 0:t.value)!==null&&e!==void 0?e:"")};t.prototype.componentDidRender=function(){d(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){c(this.selectEl);return[2]}))}))};t.prototype.handleOptionOrGroupChange=function(t){t.stopPropagation();var e=t.target;var a=this.componentToNativeEl.get(e);if(!a){return}this.updateNativeElement(e,a);if(k(e)&&e.selected){this.deselectAllExcept(e);this.selectedOption=e}};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.updateNativeElement=function(t,e){e.disabled=t.disabled;e.label=t.label;if(k(t)){var a=e;a.selected=t.selected;a.value=t.value;a.innerText=t.label}};t.prototype.clearInternalSelect=function(){this.componentToNativeEl.forEach((function(t){return t.remove()}));this.componentToNativeEl.clear()};t.prototype.selectFromNativeOption=function(t){var e=this;if(!t){return}var a;this.componentToNativeEl.forEach((function(n,i){if(k(i)&&n===t){i.selected=true;a=i;e.deselectAllExcept(i)}}));if(a){this.selectedOption=a}};t.prototype.toNativeElement=function(t){var e=this;if(k(t)){var a=document.createElement("option");this.updateNativeElement(t,a);this.componentToNativeEl.set(t,a);return a}if(D(t)){var n=document.createElement("optgroup");this.updateNativeElement(t,n);Array.from(t.children).forEach((function(a){var i=e.toNativeElement(a);n.append(i);e.componentToNativeEl.set(t,i)}));this.componentToNativeEl.set(t,n);return n}throw new Error("unsupported element child provided")};t.prototype.deselectAllExcept=function(t){this.el.querySelectorAll("calcite-option").forEach((function(e){if(e===t){return}e.selected=false}))};t.prototype.renderChevron=function(){return n("div",{class:w.iconContainer},n("calcite-icon",{class:w.icon,icon:"chevron-down",scale:"s"}))};t.prototype.render=function(){return n(r,null,n("select",{"aria-label":this.label,class:w.select,disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},n("slot",null)),this.renderChevron(),n(f,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}},enumerable:false,configurable:true});return t}());x.style=g}}}));
5
+ * v1.0.0-next.520
6
+ */System.register(["./p-9781070e.system.js","./p-7157eb29.system.js","./p-213f3a0c.system.js","./p-8cadf826.system.js","./p-b3a335d4.system.js","./p-1920a94e.system.js","./p-ff6b1162.system.js"],(function(t){"use strict";var e,a,n,i,r,o,c,l,s,m,p,u,f,d;return{setters:[function(t){e=t.r;a=t.c;n=t.h;i=t.g;r=t.F},function(t){o=t.c},function(t){c=t.f},function(t){l=t.c;s=t.d},function(t){m=t.c;p=t.d;u=t.a;f=t.H},function(t){d=t.u},function(){}],execute:function(){var h="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";var b=t("calcite_option",function(){function t(t){var n=this;e(this,t);this.calciteInternalOptionChange=a(this,"calciteInternalOptionChange",7);this.disabled=false;this.mutationObserver=o("mutation",(function(){n.ensureTextContentDependentProps();n.calciteInternalOptionChange.emit()}))}t.prototype.handlePropChange=function(t,e,a){if(a==="label"||a==="value"){this.ensureTextContentDependentProps()}this.calciteInternalOptionChange.emit()};t.prototype.ensureTextContentDependentProps=function(){var t=this.el.textContent;if(!this.label||this.label===this.internallySetLabel){this.label=t;this.internallySetLabel=t}if(!this.value||this.value===this.internallySetValue){this.value=t;this.internallySetValue=t}};t.prototype.connectedCallback=function(){var t;this.ensureTextContentDependentProps();(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{attributeFilter:["label","value"],characterData:true,childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.render=function(){return n("slot",null,this.label)};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}},enumerable:false,configurable:true});return t}());b.style=h;var y="@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}";var v=t("calcite_option_group",function(){function t(t){e(this,t);this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",7);this.disabled=false}t.prototype.handlePropChange=function(){this.calciteInternalOptionGroupChange.emit()};t.prototype.render=function(){return n(r,null,n("div",null,this.label),n("slot",null))};Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handlePropChange"],label:["handlePropChange"]}},enumerable:false,configurable:true});return t}());v.style=y;var w={icon:"icon",iconContainer:"icon-container",select:"select"};var g="@-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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;width:var(--select-width)}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){height:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-left:0.5rem;padding-right:0.5rem}:host([scale=m]){height:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-left:0.75rem;padding-right:0.75rem}:host([scale=l]){height:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-left:1rem;padding-right:1rem}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}.select{margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;top:0px;bottom:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";function k(t){return t.tagName==="CALCITE-OPTION"}function D(t){return t.tagName==="CALCITE-OPTION-GROUP"}var x=t("calcite_select",function(){function t(t){var n=this;e(this,t);this.calciteSelectChange=a(this,"calciteSelectChange",7);this.disabled=false;this.required=false;this.scale="m";this.value=null;this.width="auto";this.componentToNativeEl=new Map;this.mutationObserver=o("mutation",(function(){return n.populateInternalSelect()}));this.handleInternalSelectChange=function(){var t=n.selectEl.selectedOptions[0];n.selectFromNativeOption(t);requestAnimationFrame((function(){return n.emitChangeEvent()}))};this.populateInternalSelect=function(){var t=Array.from(n.el.children).filter((function(t){return t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP"}));n.clearInternalSelect();t.forEach((function(t){var e;return(e=n.selectEl)===null||e===void 0?void 0:e.append(n.toNativeElement(t))}))};this.storeSelectRef=function(t){n.selectEl=t;n.populateInternalSelect();var e=n.selectEl.selectedOptions[0];n.selectFromNativeOption(e)};this.emitChangeEvent=function(){n.calciteSelectChange.emit()}}t.prototype.valueHandler=function(t){var e=this.el.querySelectorAll("calcite-option");e.forEach((function(e){return e.selected=e.value===t}))};t.prototype.selectedOptionHandler=function(t){this.value=t===null||t===void 0?void 0:t.value};t.prototype.connectedCallback=function(){var t;var e=this.el;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(e,{subtree:true,childList:true});l(this);m(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();s(this);p(this)};t.prototype.componentDidLoad=function(){var t,e;u(this,(e=(t=this.selectedOption)===null||t===void 0?void 0:t.value)!==null&&e!==void 0?e:"")};t.prototype.componentDidRender=function(){d(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){c(this.selectEl);return[2]}))}))};t.prototype.handleOptionOrGroupChange=function(t){t.stopPropagation();var e=t.target;var a=this.componentToNativeEl.get(e);if(!a){return}this.updateNativeElement(e,a);if(k(e)&&e.selected){this.deselectAllExcept(e);this.selectedOption=e}};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.updateNativeElement=function(t,e){e.disabled=t.disabled;e.label=t.label;if(k(t)){var a=e;a.selected=t.selected;a.value=t.value;a.innerText=t.label}};t.prototype.clearInternalSelect=function(){this.componentToNativeEl.forEach((function(t){return t.remove()}));this.componentToNativeEl.clear()};t.prototype.selectFromNativeOption=function(t){var e=this;if(!t){return}var a;this.componentToNativeEl.forEach((function(n,i){if(k(i)&&n===t){i.selected=true;a=i;e.deselectAllExcept(i)}}));if(a){this.selectedOption=a}};t.prototype.toNativeElement=function(t){var e=this;if(k(t)){var a=document.createElement("option");this.updateNativeElement(t,a);this.componentToNativeEl.set(t,a);return a}if(D(t)){var n=document.createElement("optgroup");this.updateNativeElement(t,n);Array.from(t.children).forEach((function(a){var i=e.toNativeElement(a);n.append(i);e.componentToNativeEl.set(t,i)}));this.componentToNativeEl.set(t,n);return n}throw new Error("unsupported element child provided")};t.prototype.deselectAllExcept=function(t){this.el.querySelectorAll("calcite-option").forEach((function(e){if(e===t){return}e.selected=false}))};t.prototype.renderChevron=function(){return n("div",{class:w.iconContainer},n("calcite-icon",{class:w.icon,icon:"chevron-down",scale:"s"}))};t.prototype.render=function(){return n(r,null,n("select",{"aria-label":this.label,class:w.select,disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},n("slot",null)),this.renderChevron(),n(f,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}},enumerable:false,configurable:true});return t}());x.style=g}}}));
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.518
4
+ * v1.0.0-next.520
5
5
  */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-2d369196.js";import{g as s}from"./p-b664b4cf.js";import{a as n,f as r,t as c}from"./p-e19bd0f2.js";import{c as d,d as l,g as h}from"./p-a27791e1.js";import{c as m,d as u,H as p}from"./p-0f6fb2c7.js";import{g as b}from"./p-b0b72030.js";import{u as f}from"./p-a73a8888.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.focused=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let s=0;const r=o.length;switch(o.some(((t,i)=>{if(t.checked)return s=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(s-1,-1),r));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(s+1,r));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||r(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${s()}`,this.name&&this.checkLastRadioButton(),d(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){l(this),u(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};w.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}: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([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{w as calcite_radio_button}
6
+ import{r as t,c as i,h as a,H as e,g as o}from"./p-f7fd201f.js";import{g as s}from"./p-3a9aaecf.js";import{a as n,f as r,t as c}from"./p-b3bf4e2b.js";import{c as d,d as l,g as h}from"./p-e6f77179.js";import{c as m,d as u,H as p}from"./p-9398bb6c.js";import{g as b}from"./p-8e1b9b65.js";import{u as f}from"./p-82e2b61e.js";const w=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.focused=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let s=0;const r=o.length;switch(o.some(((t,i)=>{if(t.checked)return s=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(s-1,-1),r));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(s+1,r));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||r(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${s()}`,this.name&&this.checkLastRadioButton(),d(this),m(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){l(this),u(this)}componentDidRender(){f(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":c(this.checked),"aria-label":h(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};w.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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([focused]) .radio{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}: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([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{w as calcite_radio_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.518
4
+ * v1.0.0-next.520
5
5
  */
6
- import{n}from"./p-240f491e.js";const t=/^([-0])0+(?=\d)/,e=/(?!^\.)\.$/,r=/(?!^-)-/g,i=/^-\b0\b\.?0*$/;class u{constructor(n){if(n instanceof u)return n;const[t,e]=String(n).split(".").concat("");this.value=BigInt(t+e.padEnd(u.DECIMALS,"0").slice(0,u.DECIMALS))+BigInt(u.ROUNDED&&e[u.DECIMALS]>="5"),this.isNegative="-"===n.charAt(0)}static _divRound(n,t){return u.fromBigInt(n/t+(u.ROUNDED?n*BigInt(2)/t%BigInt(2):BigInt(0)))}static fromBigInt(n){return Object.assign(Object.create(u.prototype),{value:n})}toString(){const n=this.value.toString().replace(new RegExp("-","g"),"").padStart(u.DECIMALS+1,"0"),t=n.slice(0,-u.DECIMALS),e=n.slice(-u.DECIMALS).replace(/\.?0+$/,""),r=t.concat(e.length?"."+e:"");return(this.isNegative?"-":"").concat(r)}formatToParts(n,t){const e=w(n,t),r=this.value.toString().replace(new RegExp("-","g"),"").padStart(u.DECIMALS+1,"0"),i=r.slice(0,-u.DECIMALS),s=r.slice(-u.DECIMALS).replace(/\.?0+$/,""),c=e.formatToParts(BigInt(i));return this.isNegative&&c.unshift({type:"minusSign",value:B(n)}),s.length&&(c.push({type:"decimal",value:I(n)}),s.split("").forEach((n=>c.push({type:"fraction",value:n})))),c}add(n){return u.fromBigInt(this.value+new u(n).value)}subtract(n){return u.fromBigInt(this.value-new u(n).value)}multiply(n){return u._divRound(this.value*new u(n).value,u.SHIFT)}divide(n){return u._divRound(this.value*u.SHIFT,new u(n).value)}}function s(n){return!(!n||isNaN(Number(n)))}function c(t){return t&&(e=t,n.some((n=>e.includes(n))))?g(t,(t=>{let e=!1;const r=t.split("").filter(((t,r)=>t.match(/\./g)&&!e?(e=!0,!0):!(!t.match(/\-/g)||0!==r)||n.includes(t))).reduce(((n,t)=>n+t));return s(r)?new u(r).toString():""})):"";var e}function a(n){return n.replace(e,"")}function o(n){return g(n,(n=>{const e=a(n.replace(t,"$1")).replace(r,"");return s(e)?i.test(e)?e:new u(e).toString():n}))}function g(n,t){if(!n)return n;const e=n.toLowerCase().indexOf("e")+1;return n.replace(/[eE]*$/g,"").substring(0,e).concat(n.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((n,e)=>t(1===e?n.replace(/\./g,""):n))).join("e").replace(/^e/,"1e")}u.DECIMALS=100,u.ROUNDED=!0,u.SHIFT=BigInt("1"+"0".repeat(u.DECIMALS));const f=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],l=new RegExp("[.](?=.*[.])","g"),m=new RegExp("[^0-9-.]","g"),h=new RegExp(",","g"),p=(new Intl.NumberFormat).resolvedOptions().numberingSystem,d="arab"===p?"latn":p;function w(n,t=d){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:t})}function b(n,t){return g(n,(n=>{const e=n.replace(B(t),"-").replace(v(t),"").replace(I(t),".").replace(l,"").replace(m,"");return s(e)?e:n}))}function v(n){const t=w(n).formatToParts(1234567).find((n=>"group"===n.type)).value;return 0===t.trim().length?" ":t}function I(n){return w(n).formatToParts(1.1).find((n=>"decimal"===n.type)).value}function B(n){return w(n).formatToParts(-9).find((n=>"minusSign"===n.type)).value}function E(n,t,e=!1,r){return g(n,(n=>{if(n){const i=a(n.replace(h,""));if(s(i))return new u(i).formatToParts(t,r).map((({type:n,value:r})=>{switch(n){case"group":return e?v(t):"";case"decimal":return I(t);case"minusSign":return B(t);default:return r}})).reduce(((n,t)=>n+t))}return n}))}export{f as a,b as d,I as g,s as i,E as l,c as p,o as s}
6
+ import{n}from"./p-e8b7db23.js";const t=/^([-0])0+(?=\d)/,e=/(?!^\.)\.$/,r=/(?!^-)-/g,i=/^-\b0\b\.?0*$/;class u{constructor(n){if(n instanceof u)return n;const[t,e]=String(n).split(".").concat("");this.value=BigInt(t+e.padEnd(u.DECIMALS,"0").slice(0,u.DECIMALS))+BigInt(u.ROUNDED&&e[u.DECIMALS]>="5"),this.isNegative="-"===n.charAt(0)}static _divRound(n,t){return u.fromBigInt(n/t+(u.ROUNDED?n*BigInt(2)/t%BigInt(2):BigInt(0)))}static fromBigInt(n){return Object.assign(Object.create(u.prototype),{value:n})}toString(){const n=this.value.toString().replace(new RegExp("-","g"),"").padStart(u.DECIMALS+1,"0"),t=n.slice(0,-u.DECIMALS),e=n.slice(-u.DECIMALS).replace(/\.?0+$/,""),r=t.concat(e.length?"."+e:"");return(this.isNegative?"-":"").concat(r)}formatToParts(n,t){const e=w(n,t),r=this.value.toString().replace(new RegExp("-","g"),"").padStart(u.DECIMALS+1,"0"),i=r.slice(0,-u.DECIMALS),s=r.slice(-u.DECIMALS).replace(/\.?0+$/,""),c=e.formatToParts(BigInt(i));return this.isNegative&&c.unshift({type:"minusSign",value:B(n)}),s.length&&(c.push({type:"decimal",value:I(n)}),s.split("").forEach((n=>c.push({type:"fraction",value:n})))),c}add(n){return u.fromBigInt(this.value+new u(n).value)}subtract(n){return u.fromBigInt(this.value-new u(n).value)}multiply(n){return u._divRound(this.value*new u(n).value,u.SHIFT)}divide(n){return u._divRound(this.value*u.SHIFT,new u(n).value)}}function s(n){return!(!n||isNaN(Number(n)))}function c(t){return t&&(e=t,n.some((n=>e.includes(n))))?g(t,(t=>{let e=!1;const r=t.split("").filter(((t,r)=>t.match(/\./g)&&!e?(e=!0,!0):!(!t.match(/\-/g)||0!==r)||n.includes(t))).reduce(((n,t)=>n+t));return s(r)?new u(r).toString():""})):"";var e}function a(n){return n.replace(e,"")}function o(n){return g(n,(n=>{const e=a(n.replace(t,"$1")).replace(r,"");return s(e)?i.test(e)?e:new u(e).toString():n}))}function g(n,t){if(!n)return n;const e=n.toLowerCase().indexOf("e")+1;return n.replace(/[eE]*$/g,"").substring(0,e).concat(n.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((n,e)=>t(1===e?n.replace(/\./g,""):n))).join("e").replace(/^e/,"1e")}u.DECIMALS=100,u.ROUNDED=!0,u.SHIFT=BigInt("1"+"0".repeat(u.DECIMALS));const f=["ar","bg","bs","ca","cs","da","de","de-CH","el","en","en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","nb","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],l=new RegExp("[.](?=.*[.])","g"),m=new RegExp("[^0-9-.]","g"),h=new RegExp(",","g"),p=(new Intl.NumberFormat).resolvedOptions().numberingSystem,d="arab"===p?"latn":p;function w(n,t=d){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:t})}function b(n,t){return g(n,(n=>{const e=n.replace(B(t),"-").replace(v(t),"").replace(I(t),".").replace(l,"").replace(m,"");return s(e)?e:n}))}function v(n){const t=w(n).formatToParts(1234567).find((n=>"group"===n.type)).value;return 0===t.trim().length?" ":t}function I(n){return w(n).formatToParts(1.1).find((n=>"decimal"===n.type)).value}function B(n){return w(n).formatToParts(-9).find((n=>"minusSign"===n.type)).value}function E(n,t,e=!1,r){return g(n,(n=>{if(n){const i=a(n.replace(h,""));if(s(i))return new u(i).formatToParts(t,r).map((({type:n,value:r})=>{switch(n){case"group":return e?v(t):"";case"decimal":return I(t);case"minusSign":return B(t);default:return r}})).reduce(((n,t)=>n+t))}return n}))}export{f as a,b as d,I as g,s as i,E as l,c as p,o as s}
@@ -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.518
4
+ * v1.0.0-next.520
5
5
  */
6
6
  const e={menu:"menu",defaultTrigger:"default-trigger"},t={tooltip:"tooltip",trigger:"trigger"},r={menu:"ellipsis"};export{e as C,r as I,t as S}
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,r,e,n){function o(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.518
6
- */System.register(["./p-ee40d99d.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.g}],execute:function(){t({a:f,b:c,c:y,d:s,e:a,f:p,g:A,h:T,i:m,j:S,n:l,q:h,s:k,t:q});var e="calcite-theme-auto";var n="calcite-theme-dark";var o="calcite-theme-light";var i=t("C",{autoTheme:e,darkTheme:n,lightTheme:o,rtl:"calcite--rtl"});var u=t("T",{loading:"Loading"});function a(t){if(!t){return""}return t.id=t.id||"".concat(t.tagName.toLowerCase(),"-").concat(r())}function l(t){return Array.isArray(t)?t:Array.from(t)}function c(t){var r=y(t,".".concat(i.darkTheme,", .").concat(i.lightTheme));return(r===null||r===void 0?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function f(t){var r="dir";var e="[".concat(r,"]");var n=y(t,e);return n?n.getAttribute(r):"ltr"}function s(t,r,e){var n="[".concat(r,"]");var o=t.closest(n);return o?o.getAttribute(r):e}function d(t){return t.getRootNode()}function v(t){return t.host||null}function h(t,r){var e=r.selector,n=r.id;function o(t){if(!t){return null}if(t.assignedSlot){t=t.assignedSlot}var r=d(t);var i=n?"getElementById"in r?r.getElementById(n):null:e?r.querySelector(e):null;var u=v(r);return i?i:u?o(u):null}return o(t)}function y(t,r){function e(t){return t?t.closest(r)||e(v(d(t))):null}return e(t)}function m(t){return typeof(t===null||t===void 0?void 0:t.setFocus)==="function"}function p(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(!t){return[2]}return[2,m(t)?t.setFocus():t.focus()]}))}))}var g=":not([slot])";function A(t,r,e){if(r&&!Array.isArray(r)&&typeof r!=="string"){e=r;r=null}var n=r?Array.isArray(r)?r.map((function(t){return'[slot="'.concat(t,'"]')})).join(","):'[slot="'.concat(r,'"]'):g;if(e===null||e===void 0?void 0:e.all){return b(t,n,e)}return w(t,n,e)}function _(t,r){return t?Array.from(t.children||[]).filter((function(t){return t===null||t===void 0?void 0:t.matches(r)})):[]}function b(t,r,e){var n=r===g?_(t,g):Array.from(t.querySelectorAll(r));n=e&&e.direct===false?n:n.filter((function(r){return r.parentElement===t}));n=(e===null||e===void 0?void 0:e.matches)?n.filter((function(t){return t===null||t===void 0?void 0:t.matches(e.matches)})):n;var o=e===null||e===void 0?void 0:e.selector;return o?n.map((function(t){return Array.from(t.querySelectorAll(o))})).reduce((function(t,r){return __spreadArray(__spreadArray([],t,true),r,true)}),[]).filter((function(t){return!!t})):n}function w(t,r,e){var n=r===g?_(t,g)[0]||null:t.querySelector(r);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===t?n:null;n=(e===null||e===void 0?void 0:e.matches)?(n===null||n===void 0?void 0:n.matches(e.matches))?n:null:n;var o=e===null||e===void 0?void 0:e.selector;return o?n===null||n===void 0?void 0:n.querySelector(o):n}function S(t,r){return Array.from(t.children).filter((function(t){return t.matches(r)}))}function k(t,r,e){if(typeof r==="string"&&r!==""){return r}else if(r===""){return t[e]}}function T(t,r){return!(r.left>t.right||r.right<t.left||r.top>t.bottom||r.bottom<t.top)}function q(t){return Boolean(t).toString()}}}}));
5
+ * v1.0.0-next.520
6
+ */System.register(["./p-ff6b1162.system.js"],(function(t){"use strict";var r;return{setters:[function(t){r=t.g}],execute:function(){t({a:f,b:c,c:y,d:s,e:a,f:p,g:A,h:T,i:m,j:S,n:l,q:h,s:k,t:q});var e="calcite-theme-auto";var n="calcite-theme-dark";var o="calcite-theme-light";var i=t("C",{autoTheme:e,darkTheme:n,lightTheme:o,rtl:"calcite--rtl"});var u=t("T",{loading:"Loading"});function a(t){if(!t){return""}return t.id=t.id||"".concat(t.tagName.toLowerCase(),"-").concat(r())}function l(t){return Array.isArray(t)?t:Array.from(t)}function c(t){var r=y(t,".".concat(i.darkTheme,", .").concat(i.lightTheme));return(r===null||r===void 0?void 0:r.classList.contains("calcite-theme-dark"))?"dark":"light"}function f(t){var r="dir";var e="[".concat(r,"]");var n=y(t,e);return n?n.getAttribute(r):"ltr"}function s(t,r,e){var n="[".concat(r,"]");var o=t.closest(n);return o?o.getAttribute(r):e}function d(t){return t.getRootNode()}function v(t){return t.host||null}function h(t,r){var e=r.selector,n=r.id;function o(t){if(!t){return null}if(t.assignedSlot){t=t.assignedSlot}var r=d(t);var i=n?"getElementById"in r?r.getElementById(n):null:e?r.querySelector(e):null;var u=v(r);return i?i:u?o(u):null}return o(t)}function y(t,r){function e(t){return t?t.closest(r)||e(v(d(t))):null}return e(t)}function m(t){return typeof(t===null||t===void 0?void 0:t.setFocus)==="function"}function p(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(!t){return[2]}return[2,m(t)?t.setFocus():t.focus()]}))}))}var g=":not([slot])";function A(t,r,e){if(r&&!Array.isArray(r)&&typeof r!=="string"){e=r;r=null}var n=r?Array.isArray(r)?r.map((function(t){return'[slot="'.concat(t,'"]')})).join(","):'[slot="'.concat(r,'"]'):g;if(e===null||e===void 0?void 0:e.all){return _(t,n,e)}return w(t,n,e)}function b(t,r){return t?Array.from(t.children||[]).filter((function(t){return t===null||t===void 0?void 0:t.matches(r)})):[]}function _(t,r,e){var n=r===g?b(t,g):Array.from(t.querySelectorAll(r));n=e&&e.direct===false?n:n.filter((function(r){return r.parentElement===t}));n=(e===null||e===void 0?void 0:e.matches)?n.filter((function(t){return t===null||t===void 0?void 0:t.matches(e.matches)})):n;var o=e===null||e===void 0?void 0:e.selector;return o?n.map((function(t){return Array.from(t.querySelectorAll(o))})).reduce((function(t,r){return __spreadArray(__spreadArray([],t,true),r,true)}),[]).filter((function(t){return!!t})):n}function w(t,r,e){var n=r===g?b(t,g)[0]||null:t.querySelector(r);n=e&&e.direct===false?n:(n===null||n===void 0?void 0:n.parentElement)===t?n:null;n=(e===null||e===void 0?void 0:e.matches)?(n===null||n===void 0?void 0:n.matches(e.matches))?n:null:n;var o=e===null||e===void 0?void 0:e.selector;return o?n===null||n===void 0?void 0:n.querySelector(o):n}function S(t,r){return Array.from(t.children).filter((function(t){return t.matches(r)}))}function k(t,r,e){if(typeof r==="string"&&r!==""){return r}else if(r===""){return t[e]}}function T(t,r){return!(r.left>t.right||r.right<t.left||r.top>t.bottom||r.bottom<t.top)}function q(t){return Boolean(t).toString()}}}}));