@esri/calcite-components 1.0.0-next.509 → 1.0.0-next.511

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 (815) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-408b8269.js → p-01f6c474.js} +2 -2
  5. package/dist/calcite/{p-a6df79c1.entry.js → p-0277b92f.entry.js} +2 -2
  6. package/dist/calcite/{p-bd367e55.entry.js → p-0282f157.entry.js} +2 -2
  7. package/dist/calcite/{p-1286c221.entry.js → p-039c1bb8.entry.js} +2 -2
  8. package/dist/calcite/{p-700e065f.entry.js → p-03c5ffae.entry.js} +2 -2
  9. package/dist/calcite/{p-4e2ed927.entry.js → p-0439f428.entry.js} +2 -2
  10. package/dist/calcite/{p-3d286e5c.system.entry.js → p-0884876b.system.entry.js} +2 -2
  11. package/dist/calcite/{p-ff1e2318.entry.js → p-08934b64.entry.js} +2 -2
  12. package/dist/calcite/{p-faef579a.system.entry.js → p-08cb0e5c.system.entry.js} +2 -2
  13. package/dist/calcite/{p-b850fbdf.system.js → p-09fe18b4.system.js} +1 -1
  14. package/dist/calcite/{p-4b0faff8.system.js → p-0d13f0ca.system.js} +1 -1
  15. package/dist/calcite/{p-af1a8e6e.system.entry.js → p-11d3b45d.system.entry.js} +2 -2
  16. package/dist/calcite/{p-3528c503.js → p-12f3d2d6.js} +1 -1
  17. package/dist/calcite/p-13047d27.system.js +6 -0
  18. package/dist/calcite/{p-c7616dc2.system.entry.js → p-1740ea92.system.entry.js} +2 -2
  19. package/dist/calcite/{p-2532335c.js → p-178daca9.js} +2 -2
  20. package/dist/calcite/{p-a8fa6e8d.system.entry.js → p-19cb74ea.system.entry.js} +2 -2
  21. package/dist/calcite/{p-489bc6fc.system.entry.js → p-1a7d3054.system.entry.js} +2 -2
  22. package/dist/calcite/{p-94ffc7c9.entry.js → p-2159738f.entry.js} +2 -2
  23. package/dist/calcite/{p-e8f80801.entry.js → p-22ba98f0.entry.js} +2 -2
  24. package/dist/calcite/p-22e4f4ee.entry.js +6 -0
  25. package/dist/calcite/{p-348e67f2.system.entry.js → p-2354d707.system.entry.js} +2 -2
  26. package/dist/calcite/{p-764bd926.js → p-26a991d2.js} +1 -1
  27. package/dist/calcite/{p-8042a36c.system.entry.js → p-27342cb5.system.entry.js} +2 -2
  28. package/dist/calcite/{p-0c3840b0.system.entry.js → p-27a9b61d.system.entry.js} +3 -3
  29. package/dist/calcite/{p-47e31dd1.system.entry.js → p-27e06e83.system.entry.js} +2 -2
  30. package/dist/calcite/{p-a8fc39ad.system.js → p-283731a1.system.js} +2 -2
  31. package/dist/calcite/{p-5728c0f8.entry.js → p-28713357.entry.js} +2 -2
  32. package/dist/calcite/{p-2624d7bb.entry.js → p-2adb67da.entry.js} +2 -2
  33. package/dist/calcite/{p-32be0fca.system.entry.js → p-2aeea232.system.entry.js} +3 -3
  34. package/dist/calcite/{p-37935071.system.entry.js → p-2b621459.system.entry.js} +2 -2
  35. package/dist/calcite/{p-2ed0e288.entry.js → p-2c56f13a.entry.js} +2 -2
  36. package/dist/calcite/{p-c5a47eec.entry.js → p-2ca874d2.entry.js} +2 -2
  37. package/dist/calcite/{p-eeab9cb5.system.entry.js → p-2ce5601f.system.entry.js} +2 -2
  38. package/dist/calcite/{p-7dfc55c8.js → p-2d8c9d53.js} +2 -2
  39. package/dist/calcite/{p-a60deb92.system.js → p-2f4dba87.system.js} +1 -1
  40. package/dist/calcite/{p-2caa61d9.system.entry.js → p-2fbdf232.system.entry.js} +2 -2
  41. package/dist/calcite/{p-a74d5df4.system.js → p-331f757b.system.js} +1 -1
  42. package/dist/calcite/{p-d07f214a.entry.js → p-33b7809e.entry.js} +2 -2
  43. package/dist/calcite/{p-520c5cdc.system.entry.js → p-34b1bf9f.system.entry.js} +2 -2
  44. package/dist/calcite/{p-21b0133e.system.entry.js → p-373881dd.system.entry.js} +2 -2
  45. package/dist/calcite/{p-ec44b963.entry.js → p-3b5148ab.entry.js} +2 -2
  46. package/dist/calcite/{p-a096c9aa.entry.js → p-3e469ed3.entry.js} +2 -2
  47. package/dist/calcite/{p-13350da2.system.js → p-43b2e04e.system.js} +2 -2
  48. package/dist/calcite/p-463c1f48.entry.js +6 -0
  49. package/dist/calcite/{p-0782b283.system.js → p-467ebcff.system.js} +1 -1
  50. package/dist/calcite/{p-80ff60aa.entry.js → p-48d7bb87.entry.js} +2 -2
  51. package/dist/calcite/{p-497b2371.entry.js → p-4a985e72.entry.js} +2 -2
  52. package/dist/calcite/{p-b5307ea6.js → p-4ae9ff0e.js} +2 -2
  53. package/dist/calcite/{p-67103f2e.entry.js → p-4b0889a8.entry.js} +2 -2
  54. package/dist/calcite/{p-d7a580a7.system.entry.js → p-4da8d88d.system.entry.js} +3 -3
  55. package/dist/calcite/{p-2478eb6f.js → p-5074ab8e.js} +1 -1
  56. package/dist/calcite/{p-835901a1.system.entry.js → p-5354c0cd.system.entry.js} +2 -2
  57. package/dist/calcite/{p-25da9a03.system.entry.js → p-560ec77c.system.entry.js} +2 -2
  58. package/dist/calcite/{p-1e28b0c0.entry.js → p-58be1a5c.entry.js} +2 -2
  59. package/dist/calcite/{p-2e562c3e.system.entry.js → p-58f44ee9.system.entry.js} +2 -2
  60. package/dist/calcite/{p-4aceee8f.entry.js → p-5ac16e8d.entry.js} +2 -2
  61. package/dist/calcite/{p-50ae7b98.system.entry.js → p-5b584c64.system.entry.js} +2 -2
  62. package/dist/calcite/{p-30cf0b4e.js → p-5badeb6a.js} +2 -2
  63. package/dist/calcite/{p-e708e887.js → p-5c49ef4f.js} +2 -2
  64. package/dist/calcite/{p-cbfb0ea5.entry.js → p-5f399400.entry.js} +2 -2
  65. package/dist/calcite/{p-b8952909.entry.js → p-60603ede.entry.js} +2 -2
  66. package/dist/calcite/{p-89a7e6c5.system.js → p-62237d86.system.js} +2 -2
  67. package/dist/calcite/{p-45237ad4.js → p-64fe7568.js} +1 -1
  68. package/dist/calcite/{p-18d32b5b.entry.js → p-660f0c81.entry.js} +2 -2
  69. package/dist/calcite/{p-5e30bf97.system.entry.js → p-6747df23.system.entry.js} +2 -2
  70. package/dist/calcite/{p-2b67cc01.entry.js → p-689597bb.entry.js} +2 -2
  71. package/dist/calcite/{p-0db24b11.system.js → p-69df7657.system.js} +2 -2
  72. package/dist/calcite/{p-34a49812.entry.js → p-6cff208b.entry.js} +2 -2
  73. package/dist/calcite/{p-df904262.system.entry.js → p-6d539a3a.system.entry.js} +2 -2
  74. package/dist/calcite/{p-d4816c4b.system.entry.js → p-704f07a6.system.entry.js} +2 -2
  75. package/dist/calcite/{p-8a0d096f.entry.js → p-70db6a7a.entry.js} +2 -2
  76. package/dist/calcite/{p-461d1604.system.entry.js → p-726d7df6.system.entry.js} +2 -2
  77. package/dist/calcite/{p-ffdc5e33.system.entry.js → p-73c0ce25.system.entry.js} +2 -2
  78. package/dist/calcite/{p-c8fdefe4.entry.js → p-750448ef.entry.js} +2 -2
  79. package/dist/calcite/p-75267eff.entry.js +6 -0
  80. package/dist/calcite/{p-4d9f76a5.entry.js → p-75b63a1f.entry.js} +2 -2
  81. package/dist/calcite/{p-bbca567a.system.entry.js → p-76b4a5dc.system.entry.js} +2 -2
  82. package/dist/calcite/{p-3f1d479e.js → p-79074018.js} +1 -1
  83. package/dist/calcite/{p-79180ac8.entry.js → p-7c0ee226.entry.js} +2 -2
  84. package/dist/calcite/{p-6fe50e27.system.entry.js → p-7cfc9672.system.entry.js} +2 -2
  85. package/dist/calcite/{p-9558c837.entry.js → p-7e7e0f71.entry.js} +2 -2
  86. package/dist/calcite/{p-1c767930.system.entry.js → p-8186f1bc.system.entry.js} +2 -2
  87. package/dist/calcite/{p-b9a2867e.system.js → p-863e5641.system.js} +1 -1
  88. package/dist/calcite/{p-43dd052d.system.entry.js → p-86b1223f.system.entry.js} +2 -2
  89. package/dist/calcite/{p-57356bc2.system.entry.js → p-86d26a46.system.entry.js} +2 -2
  90. package/dist/calcite/{p-97c51f70.system.entry.js → p-89951329.system.entry.js} +2 -2
  91. package/dist/calcite/{p-365324cb.entry.js → p-8dc6def3.entry.js} +2 -2
  92. package/dist/calcite/{p-b6580178.system.js → p-8fceedc1.system.js} +1 -1
  93. package/dist/calcite/{p-df592234.js → p-90023fd9.js} +1 -1
  94. package/dist/calcite/{p-e6dc574a.entry.js → p-91e67127.entry.js} +2 -2
  95. package/dist/calcite/{p-c5886600.entry.js → p-9257be6f.entry.js} +2 -2
  96. package/dist/calcite/{p-25bd6fae.entry.js → p-931b1ce9.entry.js} +2 -2
  97. package/dist/calcite/{p-e845e4e8.system.entry.js → p-9432ef60.system.entry.js} +2 -2
  98. package/dist/calcite/{p-24f248bc.system.js → p-94b1a2a6.system.js} +1 -1
  99. package/dist/calcite/{p-3b8b185d.entry.js → p-967f810a.entry.js} +2 -2
  100. package/dist/calcite/{p-fd9e6eff.entry.js → p-9847a2c2.entry.js} +2 -2
  101. package/dist/calcite/{p-6fff5293.system.entry.js → p-9848484b.system.entry.js} +2 -2
  102. package/dist/calcite/{p-9f3ab21b.js → p-986974dc.js} +1 -1
  103. package/dist/calcite/{p-ea4b750d.entry.js → p-994775e9.entry.js} +2 -2
  104. package/dist/calcite/{p-ef4107a4.entry.js → p-99c21126.entry.js} +2 -2
  105. package/dist/calcite/{p-972664d4.system.entry.js → p-9dfb3218.system.entry.js} +2 -2
  106. package/dist/calcite/{p-d14829f1.entry.js → p-9f18ea6f.entry.js} +2 -2
  107. package/dist/calcite/{p-6f564ca4.system.entry.js → p-9f651d06.system.entry.js} +2 -2
  108. package/dist/calcite/p-a29d8c3c.js +6 -0
  109. package/dist/calcite/{p-8bac477c.js → p-a3428641.js} +1 -1
  110. package/dist/calcite/{p-d3ff3f86.entry.js → p-a3658bfd.entry.js} +2 -2
  111. package/dist/calcite/{p-34122d61.system.entry.js → p-a38268b4.system.entry.js} +2 -2
  112. package/dist/calcite/{p-0ae01d7d.js → p-a44c34dd.js} +1 -1
  113. package/dist/calcite/p-a6f20b94.system.js +6 -0
  114. package/dist/calcite/{p-2ef1dc0f.entry.js → p-a70d9664.entry.js} +2 -2
  115. package/dist/calcite/{p-8ac048ce.entry.js → p-a92b7c56.entry.js} +2 -2
  116. package/dist/calcite/{p-1f311f75.js → p-ab348f68.js} +2 -2
  117. package/dist/calcite/{p-c8416a6b.js → p-ac926958.js} +2 -2
  118. package/dist/calcite/{p-0d27591d.system.entry.js → p-ad81db2c.system.entry.js} +3 -3
  119. package/dist/calcite/{p-03330028.entry.js → p-ae06d2c0.entry.js} +2 -2
  120. package/dist/calcite/{p-f50ea3a4.system.entry.js → p-b4bba0f8.system.entry.js} +2 -2
  121. package/dist/calcite/{p-df4952ce.system.entry.js → p-b633a5f2.system.entry.js} +2 -2
  122. package/dist/calcite/{p-62b36ca5.system.entry.js → p-b66a9eb9.system.entry.js} +2 -2
  123. package/dist/calcite/{p-1b95cfeb.entry.js → p-b6915be3.entry.js} +2 -2
  124. package/dist/calcite/{p-9962160e.entry.js → p-b6ada289.entry.js} +2 -2
  125. package/dist/calcite/{p-00ccafc5.js → p-b78eca58.js} +1 -1
  126. package/dist/calcite/{p-ffe732c4.system.entry.js → p-b7dcd868.system.entry.js} +2 -2
  127. package/dist/calcite/{p-1dd3f485.js → p-b8054cff.js} +1 -1
  128. package/dist/calcite/{p-7c0fc3d0.system.js → p-b8fb76d2.system.js} +1 -1
  129. package/dist/calcite/{p-e63dc5f9.system.entry.js → p-b94f0f42.system.entry.js} +2 -2
  130. package/dist/calcite/{p-e18c987f.system.entry.js → p-ba489fd5.system.entry.js} +2 -2
  131. package/dist/calcite/p-ba51f08c.system.js +6 -0
  132. package/dist/calcite/{p-019bd109.entry.js → p-bab28744.entry.js} +2 -2
  133. package/dist/calcite/p-bc82d9ce.system.js +6 -0
  134. package/dist/calcite/{p-b94dc664.system.entry.js → p-bee1a801.system.entry.js} +3 -3
  135. package/dist/calcite/{p-1b695fe5.system.entry.js → p-beeca5c5.system.entry.js} +2 -2
  136. package/dist/calcite/{p-aec951c1.system.entry.js → p-bf5346cc.system.entry.js} +2 -2
  137. package/dist/calcite/{p-98427a8d.entry.js → p-c5c560fa.entry.js} +2 -2
  138. package/dist/calcite/{p-d8aa3312.js → p-c604fb53.js} +1 -1
  139. package/dist/calcite/{p-e86aa44f.system.js → p-c6380492.system.js} +1 -1
  140. package/dist/calcite/{p-bcebafe6.system.js → p-ca40ab34.system.js} +1 -1
  141. package/dist/calcite/{p-04dfee15.system.entry.js → p-cbd28e7f.system.entry.js} +2 -2
  142. package/dist/calcite/{p-a82bd3ad.system.js → p-d09207d0.system.js} +2 -2
  143. package/dist/calcite/{p-27505cb0.entry.js → p-d363a528.entry.js} +2 -2
  144. package/dist/calcite/{p-bc53ccd4.system.js → p-d568555d.system.js} +2 -2
  145. package/dist/calcite/{p-9300e851.system.js → p-d626e74a.system.js} +1 -1
  146. package/dist/calcite/{p-4e9c8566.system.entry.js → p-d7d8445f.system.entry.js} +2 -2
  147. package/dist/calcite/{p-2eea02af.entry.js → p-dcfce748.entry.js} +2 -2
  148. package/dist/calcite/{p-5469d44e.system.entry.js → p-dd069744.system.entry.js} +3 -3
  149. package/dist/calcite/{p-0513e10d.system.entry.js → p-dfbcbc0e.system.entry.js} +2 -2
  150. package/dist/calcite/{p-7cdc9c89.system.js → p-e0d316b9.system.js} +1 -1
  151. package/dist/calcite/{p-a6d7353b.system.js → p-e0ed56b0.system.js} +1 -1
  152. package/dist/calcite/{p-eb25e013.js → p-e115618a.js} +1 -1
  153. package/dist/calcite/{p-fae3d516.entry.js → p-e137791e.entry.js} +2 -2
  154. package/dist/calcite/{p-7fd5de55.entry.js → p-e340f3c2.entry.js} +2 -2
  155. package/dist/calcite/{p-efad28d6.entry.js → p-e474c1fe.entry.js} +2 -2
  156. package/dist/calcite/{p-95fec90e.system.entry.js → p-e7f72afc.system.entry.js} +2 -2
  157. package/dist/calcite/{p-73cc7d20.system.entry.js → p-eca6e78f.system.entry.js} +2 -2
  158. package/dist/calcite/{p-b2e4cee5.system.entry.js → p-ed5edcc6.system.entry.js} +2 -2
  159. package/dist/calcite/p-eef9906d.js +6 -0
  160. package/dist/calcite/{p-610421a4.entry.js → p-ef21cdab.entry.js} +2 -2
  161. package/dist/calcite/{p-4a4af629.system.entry.js → p-f1110849.system.entry.js} +2 -2
  162. package/dist/calcite/{p-3c61a31e.entry.js → p-f27eb388.entry.js} +2 -2
  163. package/dist/calcite/{p-0a844357.system.js → p-f841fa9d.system.js} +2 -2
  164. package/dist/calcite/{p-8cd8869b.system.entry.js → p-fa81454e.system.entry.js} +2 -2
  165. package/dist/calcite/{p-624d2ed6.system.entry.js → p-fb36c8f4.system.entry.js} +2 -2
  166. package/dist/cjs/{ExpandToggle-b586a6c7.js → ExpandToggle-068f2790.js} +5 -5
  167. package/dist/cjs/{Heading-e09bd7e3.js → Heading-155f1186.js} +2 -2
  168. package/dist/cjs/{array-c25472df.js → array-6e93719e.js} +1 -1
  169. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  170. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  171. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  172. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  173. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  174. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  175. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  176. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  177. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  180. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  181. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  182. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  184. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +8 -8
  185. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  186. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  187. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  188. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  189. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  191. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  192. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +10 -10
  194. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  196. package/dist/cjs/calcite-input.cjs.entry.js +10 -10
  197. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  198. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  199. package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
  200. package/dist/cjs/calcite-loader.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
  202. package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
  203. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  204. package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
  205. package/dist/cjs/calcite-panel.cjs.entry.js +16 -16
  206. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +25 -25
  207. package/dist/cjs/calcite-popover_2.cjs.entry.js +20 -20
  208. package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
  209. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  210. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  211. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  212. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  213. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  214. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  215. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  216. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  217. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  218. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  219. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  220. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  221. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  222. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +9 -9
  224. package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
  225. package/dist/cjs/calcite-value-list_2.cjs.entry.js +23 -23
  226. package/dist/cjs/calcite.cjs.js +2 -2
  227. package/dist/cjs/{conditionalSlot-1e2353b4.js → conditionalSlot-c4c8b0fb.js} +3 -3
  228. package/dist/cjs/{debounce-d010933d.js → debounce-7a263760.js} +1 -1
  229. package/dist/cjs/{dom-977a560a.js → dom-ba95c4d8.js} +2 -2
  230. package/dist/cjs/{forIn-c89af167.js → forIn-682ca705.js} +2 -2
  231. package/dist/cjs/{form-7d69c9c0.js → form-6931057f.js} +3 -3
  232. package/dist/cjs/{guid-2d5110f2.js → guid-5aaa0591.js} +1 -1
  233. package/dist/cjs/{index-16f40f2d.js → index-e4622e8b.js} +1 -1
  234. package/dist/cjs/index.cjs.js +1 -1
  235. package/dist/cjs/{interactive-0660c082.js → interactive-af05d8b7.js} +1 -1
  236. package/dist/cjs/{interfaces-ff351f2a.js → interfaces-401cb806.js} +1 -1
  237. package/dist/cjs/{label-539c316c.js → label-dfb10f8c.js} +2 -2
  238. package/dist/cjs/loader.cjs.js +2 -2
  239. package/dist/cjs/{locale-644135e1.js → locale-b76f93d4.js} +1 -1
  240. package/dist/cjs/{math-98517743.js → math-9562ca1a.js} +1 -1
  241. package/dist/cjs/{observers-7bc3b3e1.js → observers-9325a1d4.js} +1 -1
  242. package/dist/cjs/{popper-315006a4.js → popper-78edb64a.js} +2 -2
  243. package/dist/cjs/{resources-9575b929.js → resources-05c6d32b.js} +5 -5
  244. package/dist/cjs/{resources-fc011d9f.js → resources-570a9975.js} +1 -1
  245. package/dist/cjs/{resources-ce2b10ff.js → resources-a4cc33c5.js} +3 -3
  246. package/dist/cjs/{resources-c75c0721.js → resources-ee4198e3.js} +1 -1
  247. package/dist/cjs/{sortable.esm-ed867863.js → sortable.esm-fe6e54c8.js} +1 -1
  248. package/dist/cjs/{utils-0df273f8.js → utils-5a82bf66.js} +1 -1
  249. package/dist/collection/components/accordion/accordion.js +1 -1
  250. package/dist/collection/components/accordion/interfaces.js +1 -1
  251. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  252. package/dist/collection/components/action/action.js +1 -1
  253. package/dist/collection/components/action/resources.js +1 -1
  254. package/dist/collection/components/action-bar/action-bar.js +1 -1
  255. package/dist/collection/components/action-bar/resources.js +1 -1
  256. package/dist/collection/components/action-bar/utils.js +1 -1
  257. package/dist/collection/components/action-group/action-group.js +1 -1
  258. package/dist/collection/components/action-group/resources.js +1 -1
  259. package/dist/collection/components/action-menu/action-menu.js +1 -1
  260. package/dist/collection/components/action-menu/resources.js +1 -1
  261. package/dist/collection/components/action-pad/action-pad.js +1 -1
  262. package/dist/collection/components/action-pad/resources.js +1 -1
  263. package/dist/collection/components/alert/alert.js +1 -1
  264. package/dist/collection/components/alert/interfaces.js +1 -1
  265. package/dist/collection/components/alert/resources.js +1 -1
  266. package/dist/collection/components/avatar/avatar.js +1 -1
  267. package/dist/collection/components/avatar/utils.js +1 -1
  268. package/dist/collection/components/block/block.js +1 -1
  269. package/dist/collection/components/block/resources.js +1 -1
  270. package/dist/collection/components/block-section/block-section.js +1 -1
  271. package/dist/collection/components/block-section/interfaces.js +1 -1
  272. package/dist/collection/components/block-section/resources.js +1 -1
  273. package/dist/collection/components/button/button.js +1 -1
  274. package/dist/collection/components/button/interfaces.js +1 -1
  275. package/dist/collection/components/button/resources.js +1 -1
  276. package/dist/collection/components/card/card.js +1 -1
  277. package/dist/collection/components/card/resources.js +1 -1
  278. package/dist/collection/components/checkbox/checkbox.js +1 -1
  279. package/dist/collection/components/chip/chip.js +1 -1
  280. package/dist/collection/components/chip/interfaces.js +1 -1
  281. package/dist/collection/components/chip/resources.js +1 -1
  282. package/dist/collection/components/color-picker/color-picker.js +1 -1
  283. package/dist/collection/components/color-picker/interfaces.js +1 -1
  284. package/dist/collection/components/color-picker/resources.js +1 -1
  285. package/dist/collection/components/color-picker/utils.js +1 -1
  286. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  287. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  288. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  289. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  290. package/dist/collection/components/combobox/combobox.js +1 -1
  291. package/dist/collection/components/combobox/interfaces.js +1 -1
  292. package/dist/collection/components/combobox/resources.js +1 -1
  293. package/dist/collection/components/combobox/utils.js +1 -1
  294. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  295. package/dist/collection/components/combobox-item/resources.js +1 -1
  296. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  297. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  298. package/dist/collection/components/date-picker/date-picker.js +1 -1
  299. package/dist/collection/components/date-picker/interfaces.js +1 -1
  300. package/dist/collection/components/date-picker/resources.js +1 -1
  301. package/dist/collection/components/date-picker/utils.js +1 -1
  302. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  303. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  304. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  305. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  306. package/dist/collection/components/dropdown/dropdown.js +1 -1
  307. package/dist/collection/components/dropdown/interfaces.js +1 -1
  308. package/dist/collection/components/dropdown/resources.js +1 -1
  309. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  310. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  311. package/dist/collection/components/dropdown-group/resources.js +1 -1
  312. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  313. package/dist/collection/components/dropdown-item/resources.js +1 -1
  314. package/dist/collection/components/fab/fab.js +1 -1
  315. package/dist/collection/components/fab/resources.js +1 -1
  316. package/dist/collection/components/filter/filter.js +1 -1
  317. package/dist/collection/components/filter/resources.js +1 -1
  318. package/dist/collection/components/flow/flow.js +2 -2
  319. package/dist/collection/components/flow/interfaces.js +1 -1
  320. package/dist/collection/components/flow/resources.js +1 -1
  321. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  322. package/dist/collection/components/functional/Heading.js +1 -1
  323. package/dist/collection/components/graph/graph.js +1 -1
  324. package/dist/collection/components/graph/interfaces.js +1 -1
  325. package/dist/collection/components/graph/util.js +1 -1
  326. package/dist/collection/components/handle/handle.js +1 -1
  327. package/dist/collection/components/handle/resources.js +1 -1
  328. package/dist/collection/components/icon/icon.js +1 -1
  329. package/dist/collection/components/icon/resources.js +1 -1
  330. package/dist/collection/components/icon/utils.js +1 -1
  331. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  332. package/dist/collection/components/inline-editable/resources.js +1 -1
  333. package/dist/collection/components/input/input.js +1 -1
  334. package/dist/collection/components/input/interfaces.js +1 -1
  335. package/dist/collection/components/input/resources.js +1 -1
  336. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  337. package/dist/collection/components/input-message/input-message.js +1 -1
  338. package/dist/collection/components/input-message/interfaces.js +1 -1
  339. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  340. package/dist/collection/components/interfaces.js +1 -1
  341. package/dist/collection/components/label/label.js +1 -1
  342. package/dist/collection/components/label/resources.js +1 -1
  343. package/dist/collection/components/link/link.js +1 -1
  344. package/dist/collection/components/list/list.js +5 -4
  345. package/dist/collection/components/list/resources.js +1 -1
  346. package/dist/collection/components/list-item/list-item.js +12 -12
  347. package/dist/collection/components/list-item/resources.js +1 -1
  348. package/dist/collection/components/list-item-group/list-item-group.js +3 -3
  349. package/dist/collection/components/list-item-group/resources.js +1 -1
  350. package/dist/collection/components/loader/loader.css +1 -1
  351. package/dist/collection/components/loader/loader.js +12 -12
  352. package/dist/collection/components/modal/interfaces.js +1 -1
  353. package/dist/collection/components/modal/modal.css +5 -5
  354. package/dist/collection/components/modal/modal.js +26 -26
  355. package/dist/collection/components/modal/resources.js +1 -1
  356. package/dist/collection/components/notice/notice.css +1 -1
  357. package/dist/collection/components/notice/notice.js +21 -21
  358. package/dist/collection/components/notice/resources.js +1 -1
  359. package/dist/collection/components/option/option.js +6 -6
  360. package/dist/collection/components/option-group/option-group.js +4 -4
  361. package/dist/collection/components/pagination/pagination.css +1 -1
  362. package/dist/collection/components/pagination/pagination.js +20 -20
  363. package/dist/collection/components/pagination/resources.js +1 -1
  364. package/dist/collection/components/panel/panel.css +3 -3
  365. package/dist/collection/components/panel/panel.js +30 -30
  366. package/dist/collection/components/panel/resources.js +1 -1
  367. package/dist/collection/components/pick-list/pick-list.js +18 -18
  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 +3 -3
  372. package/dist/collection/components/pick-list-group/resources.js +1 -1
  373. package/dist/collection/components/pick-list-item/pick-list-item.js +23 -23
  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 +33 -33
  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 +9 -9
  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.css +14 -0
  386. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  387. package/dist/collection/components/radio-group-item/resources.js +1 -1
  388. package/dist/collection/components/rating/rating.js +1 -1
  389. package/dist/collection/components/rating/resources.js +1 -1
  390. package/dist/collection/components/scrim/resources.js +1 -1
  391. package/dist/collection/components/scrim/scrim.js +1 -1
  392. package/dist/collection/components/select/resources.js +1 -1
  393. package/dist/collection/components/select/select.js +1 -1
  394. package/dist/collection/components/shell/resources.js +1 -1
  395. package/dist/collection/components/shell/shell.js +1 -1
  396. package/dist/collection/components/shell-center-row/resources.js +1 -1
  397. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  398. package/dist/collection/components/shell-panel/resources.js +1 -1
  399. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  400. package/dist/collection/components/slider/slider.js +1 -1
  401. package/dist/collection/components/sortable-list/resources.js +1 -1
  402. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  403. package/dist/collection/components/split-button/resources.js +1 -1
  404. package/dist/collection/components/split-button/split-button.js +1 -1
  405. package/dist/collection/components/stepper/interfaces.js +1 -1
  406. package/dist/collection/components/stepper/stepper.js +1 -1
  407. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  408. package/dist/collection/components/switch/switch.js +1 -1
  409. package/dist/collection/components/tab/interfaces.js +1 -1
  410. package/dist/collection/components/tab/tab.js +1 -1
  411. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  412. package/dist/collection/components/tab-title/tab-title.js +1 -1
  413. package/dist/collection/components/tabs/interfaces.js +1 -1
  414. package/dist/collection/components/tabs/resources.js +1 -1
  415. package/dist/collection/components/tabs/tabs.js +1 -1
  416. package/dist/collection/components/tile/resources.js +1 -1
  417. package/dist/collection/components/tile/tile.js +1 -1
  418. package/dist/collection/components/tile-select/interfaces.js +1 -1
  419. package/dist/collection/components/tile-select/resources.js +1 -1
  420. package/dist/collection/components/tile-select/tile-select.js +1 -1
  421. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  422. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  423. package/dist/collection/components/time-picker/resources.js +1 -1
  424. package/dist/collection/components/time-picker/time-picker.js +1 -1
  425. package/dist/collection/components/tip/resources.js +1 -1
  426. package/dist/collection/components/tip/tip.js +1 -1
  427. package/dist/collection/components/tip-group/tip-group.js +1 -1
  428. package/dist/collection/components/tip-manager/resources.js +1 -1
  429. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  430. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  431. package/dist/collection/components/tooltip/resources.js +1 -1
  432. package/dist/collection/components/tooltip/tooltip.js +11 -11
  433. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  434. package/dist/collection/components/tree/interfaces.js +1 -1
  435. package/dist/collection/components/tree/tree.js +8 -8
  436. package/dist/collection/components/tree-item/interfaces.js +1 -1
  437. package/dist/collection/components/tree-item/resources.js +1 -1
  438. package/dist/collection/components/tree-item/tree-item.js +6 -6
  439. package/dist/collection/components/value-list/resources.js +1 -1
  440. package/dist/collection/components/value-list/value-list.js +16 -16
  441. package/dist/collection/components/value-list-item/resources.js +1 -1
  442. package/dist/collection/components/value-list-item/value-list-item.js +16 -16
  443. package/dist/collection/utils/array.js +1 -1
  444. package/dist/collection/utils/conditionalSlot.js +1 -1
  445. package/dist/collection/utils/date.js +1 -1
  446. package/dist/collection/utils/dom.js +1 -1
  447. package/dist/collection/utils/filter.js +1 -1
  448. package/dist/collection/utils/form.js +1 -1
  449. package/dist/collection/utils/globalAttributes.js +1 -1
  450. package/dist/collection/utils/guid.js +1 -1
  451. package/dist/collection/utils/interactive.js +1 -1
  452. package/dist/collection/utils/key.js +1 -1
  453. package/dist/collection/utils/label.js +1 -1
  454. package/dist/collection/utils/locale.js +1 -1
  455. package/dist/collection/utils/math.js +1 -1
  456. package/dist/collection/utils/number.js +1 -1
  457. package/dist/collection/utils/observers.js +1 -1
  458. package/dist/collection/utils/openCloseComponent.js +1 -1
  459. package/dist/collection/utils/popper.js +1 -1
  460. package/dist/collection/utils/resources.js +1 -1
  461. package/dist/collection/utils/time.js +1 -1
  462. package/dist/components/ExpandToggle.js +1 -1
  463. package/dist/components/Heading.js +1 -1
  464. package/dist/components/action-group.js +1 -1
  465. package/dist/components/action-menu.js +1 -1
  466. package/dist/components/action.js +1 -1
  467. package/dist/components/array.js +1 -1
  468. package/dist/components/button.js +1 -1
  469. package/dist/components/calcite-accordion-item.js +1 -1
  470. package/dist/components/calcite-accordion.js +1 -1
  471. package/dist/components/calcite-action-bar.js +1 -1
  472. package/dist/components/calcite-action-group.js +1 -1
  473. package/dist/components/calcite-action-menu.js +1 -1
  474. package/dist/components/calcite-action-pad.js +1 -1
  475. package/dist/components/calcite-action.js +1 -1
  476. package/dist/components/calcite-alert.js +1 -1
  477. package/dist/components/calcite-avatar.js +1 -1
  478. package/dist/components/calcite-block-section.js +1 -1
  479. package/dist/components/calcite-block.js +1 -1
  480. package/dist/components/calcite-button.js +1 -1
  481. package/dist/components/calcite-card.js +1 -1
  482. package/dist/components/calcite-checkbox.js +1 -1
  483. package/dist/components/calcite-chip.js +1 -1
  484. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  485. package/dist/components/calcite-color-picker-swatch.js +1 -1
  486. package/dist/components/calcite-color-picker.js +1 -1
  487. package/dist/components/calcite-combobox-item-group.js +1 -1
  488. package/dist/components/calcite-combobox-item.js +1 -1
  489. package/dist/components/calcite-combobox.js +1 -1
  490. package/dist/components/calcite-date-picker-day.js +1 -1
  491. package/dist/components/calcite-date-picker-month-header.js +1 -1
  492. package/dist/components/calcite-date-picker-month.js +1 -1
  493. package/dist/components/calcite-date-picker.js +1 -1
  494. package/dist/components/calcite-dropdown-group.js +1 -1
  495. package/dist/components/calcite-dropdown-item.js +1 -1
  496. package/dist/components/calcite-dropdown.js +1 -1
  497. package/dist/components/calcite-fab.js +1 -1
  498. package/dist/components/calcite-filter.js +1 -1
  499. package/dist/components/calcite-flow.js +2 -2
  500. package/dist/components/calcite-graph.js +1 -1
  501. package/dist/components/calcite-handle.js +1 -1
  502. package/dist/components/calcite-icon.js +1 -1
  503. package/dist/components/calcite-inline-editable.js +1 -1
  504. package/dist/components/calcite-input-date-picker.js +1 -1
  505. package/dist/components/calcite-input-message.js +1 -1
  506. package/dist/components/calcite-input-time-picker.js +1 -1
  507. package/dist/components/calcite-input.js +1 -1
  508. package/dist/components/calcite-label.js +1 -1
  509. package/dist/components/calcite-link.js +1 -1
  510. package/dist/components/calcite-list-item-group.js +1 -1
  511. package/dist/components/calcite-list-item.js +3 -3
  512. package/dist/components/calcite-list.js +2 -2
  513. package/dist/components/calcite-loader.js +1 -1
  514. package/dist/components/calcite-modal.js +10 -10
  515. package/dist/components/calcite-notice.js +8 -8
  516. package/dist/components/calcite-option-group.js +2 -2
  517. package/dist/components/calcite-option.js +2 -2
  518. package/dist/components/calcite-pagination.js +9 -9
  519. package/dist/components/calcite-panel.js +8 -8
  520. package/dist/components/calcite-pick-list-group.js +1 -1
  521. package/dist/components/calcite-pick-list-item.js +1 -1
  522. package/dist/components/calcite-pick-list.js +9 -9
  523. package/dist/components/calcite-popover-manager.js +1 -1
  524. package/dist/components/calcite-popover.js +1 -1
  525. package/dist/components/calcite-progress.js +1 -1
  526. package/dist/components/calcite-radio-button-group.js +1 -1
  527. package/dist/components/calcite-radio-button.js +1 -1
  528. package/dist/components/calcite-radio-group-item.js +2 -2
  529. package/dist/components/calcite-radio-group.js +1 -1
  530. package/dist/components/calcite-rating.js +1 -1
  531. package/dist/components/calcite-scrim.js +1 -1
  532. package/dist/components/calcite-select.js +1 -1
  533. package/dist/components/calcite-shell-center-row.js +1 -1
  534. package/dist/components/calcite-shell-panel.js +1 -1
  535. package/dist/components/calcite-shell.js +1 -1
  536. package/dist/components/calcite-slider.js +1 -1
  537. package/dist/components/calcite-sortable-list.js +1 -1
  538. package/dist/components/calcite-split-button.js +1 -1
  539. package/dist/components/calcite-stepper-item.js +1 -1
  540. package/dist/components/calcite-stepper.js +1 -1
  541. package/dist/components/calcite-switch.js +1 -1
  542. package/dist/components/calcite-tab-nav.js +1 -1
  543. package/dist/components/calcite-tab-title.js +1 -1
  544. package/dist/components/calcite-tab.js +1 -1
  545. package/dist/components/calcite-tabs.js +1 -1
  546. package/dist/components/calcite-tile-select-group.js +1 -1
  547. package/dist/components/calcite-tile-select.js +1 -1
  548. package/dist/components/calcite-tile.js +1 -1
  549. package/dist/components/calcite-time-picker.js +1 -1
  550. package/dist/components/calcite-tip-group.js +1 -1
  551. package/dist/components/calcite-tip-manager.js +1 -1
  552. package/dist/components/calcite-tip.js +1 -1
  553. package/dist/components/calcite-tooltip-manager.js +1 -1
  554. package/dist/components/calcite-tooltip.js +5 -5
  555. package/dist/components/calcite-tree-item.js +3 -3
  556. package/dist/components/calcite-tree.js +4 -4
  557. package/dist/components/calcite-value-list-item.js +5 -5
  558. package/dist/components/calcite-value-list.js +9 -9
  559. package/dist/components/checkbox.js +1 -1
  560. package/dist/components/chip.js +1 -1
  561. package/dist/components/color-picker-hex-input.js +1 -1
  562. package/dist/components/color-picker-swatch.js +1 -1
  563. package/dist/components/conditionalSlot.js +1 -1
  564. package/dist/components/date-picker-day.js +1 -1
  565. package/dist/components/date-picker-month-header.js +1 -1
  566. package/dist/components/date-picker-month.js +1 -1
  567. package/dist/components/date-picker.js +1 -1
  568. package/dist/components/date.js +1 -1
  569. package/dist/components/debounce.js +1 -1
  570. package/dist/components/dom.js +1 -1
  571. package/dist/components/dropdown.js +1 -1
  572. package/dist/components/filter.js +1 -1
  573. package/dist/components/forIn.js +1 -1
  574. package/dist/components/form.js +1 -1
  575. package/dist/components/graph.js +1 -1
  576. package/dist/components/guid.js +1 -1
  577. package/dist/components/handle.js +1 -1
  578. package/dist/components/icon.js +1 -1
  579. package/dist/components/index.js +1 -1
  580. package/dist/components/input.js +1 -1
  581. package/dist/components/interactive.js +1 -1
  582. package/dist/components/interfaces.js +1 -1
  583. package/dist/components/interfaces2.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 +6 -6
  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 +7 -7
  592. package/dist/components/popover.js +14 -14
  593. package/dist/components/popper.js +1 -1
  594. package/dist/components/progress.js +4 -4
  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 +95 -95
  611. package/dist/esm/{ExpandToggle-fa30876c.js → ExpandToggle-225523e1.js} +5 -5
  612. package/dist/esm/{Heading-19192ec6.js → Heading-7bcf7f10.js} +2 -2
  613. package/dist/esm/{array-f0d38641.js → array-23108960.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 +6 -6
  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 +8 -8
  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 +4 -4
  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 +10 -10
  639. package/dist/esm/calcite-input-message.entry.js +4 -4
  640. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  641. package/dist/esm/calcite-input.entry.js +10 -10
  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 +11 -11
  645. package/dist/esm/calcite-loader.entry.js +8 -8
  646. package/dist/esm/calcite-modal.entry.js +15 -15
  647. package/dist/esm/calcite-notice.entry.js +14 -14
  648. package/dist/esm/calcite-option_3.entry.js +10 -10
  649. package/dist/esm/calcite-pagination.entry.js +12 -12
  650. package/dist/esm/calcite-panel.entry.js +16 -16
  651. package/dist/esm/calcite-pick-list_3.entry.js +25 -25
  652. package/dist/esm/calcite-popover_2.entry.js +20 -20
  653. package/dist/esm/calcite-progress.entry.js +5 -5
  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 +7 -7
  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 +9 -9
  669. package/dist/esm/calcite-tree_2.entry.js +11 -11
  670. package/dist/esm/calcite-value-list_2.entry.js +23 -23
  671. package/dist/esm/calcite.js +2 -2
  672. package/dist/esm/{conditionalSlot-a45ec78d.js → conditionalSlot-da00e6ec.js} +3 -3
  673. package/dist/esm/{debounce-e0722a63.js → debounce-4095c60a.js} +1 -1
  674. package/dist/esm/{dom-292b2abc.js → dom-2d8b9b0f.js} +2 -2
  675. package/dist/esm/{forIn-ee6a06d4.js → forIn-25c1a11a.js} +2 -2
  676. package/dist/esm/{form-24296ae8.js → form-bc162396.js} +3 -3
  677. package/dist/esm/{guid-921e9615.js → guid-26a8bcdc.js} +1 -1
  678. package/dist/esm/{index-f063d5e5.js → index-76f2a7b0.js} +1 -1
  679. package/dist/esm/index.js +1 -1
  680. package/dist/esm/{interactive-26193467.js → interactive-23f779c2.js} +1 -1
  681. package/dist/esm/{interfaces-f9bb2acd.js → interfaces-0457666a.js} +1 -1
  682. package/dist/esm/{label-1c166ef4.js → label-c10258da.js} +2 -2
  683. package/dist/esm/loader.js +2 -2
  684. package/dist/esm/{locale-475cccc3.js → locale-20e9687a.js} +1 -1
  685. package/dist/esm/{math-3debed4d.js → math-8b771949.js} +1 -1
  686. package/dist/esm/{observers-121a02c3.js → observers-723796a4.js} +1 -1
  687. package/dist/esm/{popper-fd009d4b.js → popper-ed700c22.js} +2 -2
  688. package/dist/esm/{resources-197d18b2.js → resources-305b04f3.js} +1 -1
  689. package/dist/esm/{resources-25285fde.js → resources-580373af.js} +5 -5
  690. package/dist/esm/{resources-7502bd20.js → resources-c6855ee0.js} +1 -1
  691. package/dist/esm/{resources-74aada27.js → resources-c9de258b.js} +3 -3
  692. package/dist/esm/{sortable.esm-3308ce31.js → sortable.esm-9f80f883.js} +1 -1
  693. package/dist/esm/{utils-503211ad.js → utils-96fef0ac.js} +1 -1
  694. package/dist/esm-es5/{ExpandToggle-fa30876c.js → ExpandToggle-225523e1.js} +2 -2
  695. package/dist/esm-es5/Heading-7bcf7f10.js +6 -0
  696. package/dist/esm-es5/{array-f0d38641.js → array-23108960.js} +1 -1
  697. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  699. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  700. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  701. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  702. package/dist/esm-es5/calcite-action.entry.js +2 -2
  703. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  704. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  705. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  706. package/dist/esm-es5/calcite-button.entry.js +2 -2
  707. package/dist/esm-es5/calcite-card.entry.js +2 -2
  708. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  709. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  710. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  711. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  712. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  713. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  714. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  715. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  716. package/dist/esm-es5/calcite-flow.entry.js +3 -3
  717. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  718. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  719. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  720. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  721. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  722. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  723. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  724. package/dist/esm-es5/calcite-input.entry.js +2 -2
  725. package/dist/esm-es5/calcite-label.entry.js +2 -2
  726. package/dist/esm-es5/calcite-link.entry.js +2 -2
  727. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  728. package/dist/esm-es5/calcite-loader.entry.js +3 -3
  729. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  730. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  731. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  732. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  733. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  734. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  735. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  736. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  737. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  738. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  739. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  740. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  741. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  742. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  743. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  744. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  745. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  746. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  747. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  748. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  750. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  751. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  752. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  753. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  754. package/dist/esm-es5/calcite.js +2 -2
  755. package/dist/esm-es5/{conditionalSlot-a45ec78d.js → conditionalSlot-da00e6ec.js} +2 -2
  756. package/dist/esm-es5/{debounce-e0722a63.js → debounce-4095c60a.js} +1 -1
  757. package/dist/esm-es5/{dom-292b2abc.js → dom-2d8b9b0f.js} +2 -2
  758. package/dist/esm-es5/{forIn-ee6a06d4.js → forIn-25c1a11a.js} +2 -2
  759. package/dist/esm-es5/{form-24296ae8.js → form-bc162396.js} +2 -2
  760. package/dist/esm-es5/{guid-921e9615.js → guid-26a8bcdc.js} +1 -1
  761. package/dist/esm-es5/{index-f063d5e5.js → index-76f2a7b0.js} +1 -1
  762. package/dist/esm-es5/index.js +1 -1
  763. package/dist/esm-es5/{interactive-26193467.js → interactive-23f779c2.js} +1 -1
  764. package/dist/esm-es5/{interfaces-f9bb2acd.js → interfaces-0457666a.js} +1 -1
  765. package/dist/esm-es5/{label-1c166ef4.js → label-c10258da.js} +2 -2
  766. package/dist/esm-es5/loader.js +2 -2
  767. package/dist/esm-es5/{locale-475cccc3.js → locale-20e9687a.js} +1 -1
  768. package/dist/esm-es5/{math-3debed4d.js → math-8b771949.js} +1 -1
  769. package/dist/esm-es5/{observers-121a02c3.js → observers-723796a4.js} +1 -1
  770. package/dist/esm-es5/{popper-fd009d4b.js → popper-ed700c22.js} +2 -2
  771. package/dist/esm-es5/{resources-197d18b2.js → resources-305b04f3.js} +1 -1
  772. package/dist/esm-es5/{resources-25285fde.js → resources-580373af.js} +2 -2
  773. package/dist/esm-es5/{resources-7502bd20.js → resources-c6855ee0.js} +1 -1
  774. package/dist/esm-es5/{resources-74aada27.js → resources-c9de258b.js} +3 -3
  775. package/dist/esm-es5/{sortable.esm-3308ce31.js → sortable.esm-9f80f883.js} +1 -1
  776. package/dist/esm-es5/{utils-503211ad.js → utils-96fef0ac.js} +1 -1
  777. package/dist/extras/docs-json.json +198 -198
  778. package/dist/loader/cdn.js +1 -1
  779. package/dist/loader/index.cjs.js +1 -1
  780. package/dist/loader/index.es2017.js +1 -1
  781. package/dist/loader/index.js +1 -1
  782. package/dist/types/components/list/list.d.ts +3 -2
  783. package/dist/types/components/list-item/list-item.d.ts +9 -9
  784. package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
  785. package/dist/types/components/loader/loader.d.ts +6 -6
  786. package/dist/types/components/modal/modal.d.ts +16 -16
  787. package/dist/types/components/notice/notice.d.ts +13 -16
  788. package/dist/types/components/option/option.d.ts +4 -4
  789. package/dist/types/components/option-group/option-group.d.ts +2 -2
  790. package/dist/types/components/pagination/pagination.d.ts +11 -11
  791. package/dist/types/components/panel/panel.d.ts +22 -22
  792. package/dist/types/components/pick-list/pick-list.d.ts +12 -12
  793. package/dist/types/components/pick-list-group/pick-list-group.d.ts +2 -2
  794. package/dist/types/components/pick-list-item/pick-list-item.d.ts +16 -16
  795. package/dist/types/components/popover/popover.d.ts +19 -19
  796. package/dist/types/components/progress/progress.d.ts +5 -5
  797. package/dist/types/components/tooltip/tooltip.d.ts +6 -6
  798. package/dist/types/components/tree/tree.d.ts +4 -4
  799. package/dist/types/components/tree-item/tree-item.d.ts +3 -3
  800. package/dist/types/components/value-list/value-list.d.ts +9 -9
  801. package/dist/types/components/value-list-item/value-list-item.d.ts +11 -11
  802. package/dist/types/components.d.ts +269 -269
  803. package/hydrate/index.js +115 -114
  804. package/package.json +1 -1
  805. package/readme.md +8 -0
  806. package/dist/calcite/p-030dbd37.entry.js +0 -6
  807. package/dist/calcite/p-05ca9ceb.system.js +0 -6
  808. package/dist/calcite/p-14286a6c.entry.js +0 -6
  809. package/dist/calcite/p-58e32115.system.js +0 -6
  810. package/dist/calcite/p-69eb20bb.js +0 -6
  811. package/dist/calcite/p-9bcbc67a.system.js +0 -6
  812. package/dist/calcite/p-c419140e.js +0 -6
  813. package/dist/calcite/p-f01165b2.system.js +0 -6
  814. package/dist/calcite/p-f958aa9e.entry.js +0 -6
  815. package/dist/esm-es5/Heading-19192ec6.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.509
4
+ * v1.0.0-next.511
5
5
  */
6
- import{r as t,h as a,g as e}from"./p-9f3ab21b.js";import{c as o}from"./p-1f311f75.js";import{c as n,d as r,g as i}from"./p-30cf0b4e.js";import{c}from"./p-3528c503.js";import{u as l}from"./p-45237ad4.js";import{s,r as p}from"./p-e708e887.js";import"./p-d8aa3312.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-986974dc.js";import{c as o}from"./p-ab348f68.js";import{c as n,d as r,g as i}from"./p-5badeb6a.js";import{c}from"./p-12f3d2d6.js";import{u as l}from"./p-64fe7568.js";import{s,r as p}from"./p-5c49ef4f.js";import"./p-c604fb53.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
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):a(t.value).then(r,l)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{l(i.next(t))}catch(t){o(t)}}function c(t){try{l(i["throw"](t))}catch(t){o(t)}}function l(t){t.done?n(t.value):a(t.value).then(r,c)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
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.509
6
- */System.register(["./p-a6d7353b.system.js","./p-24f248bc.system.js","./p-13350da2.system.js","./p-b850fbdf.system.js","./p-4b0faff8.system.js","./p-e86aa44f.system.js","./p-58e32115.system.js"],(function(t){"use strict";var e,n,i,a,o,r,l,c,s,u,f,m,p,d,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.F;o=t.g},function(t){r=t.C;l=t.I;c=t.S},function(t){s=t.g;u=t.t;f=t.f},function(t){m=t.g},function(t){p=t.g},function(t){d=t.c},function(t){h=t.c;v=t.d}],execute:function(){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{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var b=["ArrowUp","ArrowDown"];var g=["ArrowUp","ArrowDown","End","Home"];var x=t("calcite_action_menu",function(){function t(t){var i=this;e(this,t);this.calciteActionMenuOpenChange=n(this,"calciteActionMenuOpenChange",7);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.mutationObserver=d("mutation",(function(){return i.getActions()}));this.guid="calcite-action-menu-".concat(p());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=i,e=t.el,n=t.menuButtonId,a=t.menuId,o=t.open,r=t.label;var l=s(e,c.trigger)||i.defaultMenuButtonEl;if(i.menuButtonEl===l){return}i.disconnectMenuButtonEl();i.menuButtonEl=l;i.setTooltipReferenceElement();if(!l){return}l.active=o;l.setAttribute("aria-controls",a);l.setAttribute("aria-expanded",u(o));l.setAttribute("aria-haspopup","true");if(!l.id){l.id=n}if(!l.label){l.label=r}if(!l.text){l.text=r}l.addEventListener("click",i.menuButtonClick);l.addEventListener("keydown",i.menuButtonKeyDown);l.addEventListener("keyup",i.menuButtonKeyUp)};this.disconnectMenuButtonEl=function(){var t=i.menuButtonEl;if(!t){return}t.removeEventListener("click",i.menuButtonClick);t.removeEventListener("keydown",i.menuButtonKeyDown);t.removeEventListener("keyup",i.menuButtonKeyUp)};this.setDefaultMenuButtonEl=function(t){i.defaultMenuButtonEl=t;i.connectMenuButtonEl()};this.handleCalciteActionClick=function(){i.open=false;i.setFocus()};this.menuButtonClick=function(){i.toggleOpen()};this.updateTooltip=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));i.tooltipEl=e[0];i.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=i,e=t.tooltipEl,n=t.expanded,a=t.menuButtonEl,o=t.open;if(e){e.referenceElement=!n&&!o?a:null}};this.updateAction=function(t,e){var n=i,a=n.guid,o=n.activeMenuItemIndex;var r="".concat(a,"-action-").concat(e);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=e===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(i.updateAction)};this.getActions=function(){var t=i.el;var e=s(t,{all:true,matches:"calcite-action"});i.updateActions(e);i.actionElements=e;i.connectMenuButtonEl()};this.menuButtonKeyUp=function(t){var e=t.key;var n=i.actionElements;if(!i.isValidKey(e,b)){return}t.preventDefault();if(!n.length){return}i.toggleOpen(true);i.handleActionNavigation(e,n)};this.menuButtonKeyDown=function(t){var e=t.key;if(!i.isValidKey(e,b)){return}t.preventDefault()};this.menuActionsContainerKeyDown=function(t){var e=t.key;var n=i,a=n.actionElements,o=n.activeMenuItemIndex;if(e==="Tab"){i.open=false;return}if(e===" "||e==="Enter"){t.preventDefault();var r=a[o];r?r.click():i.toggleOpen(false);return}if(i.isValidKey(e,g)){t.preventDefault()}};this.menuActionsContainerKeyUp=function(t){var e=t.key;var n=i.actionElements;if(e==="Escape"){i.toggleOpen(false);return}if(!i.isValidKey(e,g)){return}t.preventDefault();if(!n.length){return}i.handleActionNavigation(e,n)};this.handleActionNavigation=function(t,e){var n=i.activeMenuItemIndex;if(t==="Home"){i.activeMenuItemIndex=0}if(t==="End"){i.activeMenuItemIndex=e.length-1}if(t==="ArrowUp"){i.activeMenuItemIndex=m(Math.max(n-1,-1),e.length)}if(t==="ArrowDown"){i.activeMenuItemIndex=m(n+1,e.length)}};this.toggleOpenEnd=function(){i.setFocus();i.el.removeEventListener("calcitePopoverOpen",i.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!i.open}i.el.addEventListener("calcitePopoverOpen",i.toggleOpenEnd);i.open=t}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.getActions();h(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.disconnectMenuButtonEl();v(this)};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t);this.setTooltipReferenceElement()};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){f(this.open?this.menuEl:this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale,a=t.expanded;var o=i("slot",{name:c.trigger},i("calcite-action",{class:r.defaultTrigger,icon:l.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e,textEnabled:a}));return o};t.prototype.renderMenuItems=function(){var t=this;var e=this,n=e.actionElements,a=e.activeMenuItemIndex,o=e.open,l=e.menuId,c=e.menuButtonEl,s=e.label,u=e.placement,f=e.overlayPositioning,m=e.flipPlacements;var p=n[a];var d=(p===null||p===void 0?void 0:p.id)||null;return i("calcite-popover",{disablePointer:true,flipPlacements:m,label:s,offsetDistance:0,open:o,overlayPositioning:f,placement:u,referenceElement:c},i("div",{"aria-activedescendant":d,"aria-labelledby":c===null||c===void 0?void 0:c.id,class:r.menu,id:l,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:function(e){return t.menuEl=e},role:"menu",tabIndex:-1},i("slot",null)))};t.prototype.render=function(){return i(a,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:c.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}());x.style=y}}}));
5
+ * v1.0.0-next.511
6
+ */System.register(["./p-e0ed56b0.system.js","./p-94b1a2a6.system.js","./p-43b2e04e.system.js","./p-09fe18b4.system.js","./p-0d13f0ca.system.js","./p-c6380492.system.js","./p-bc82d9ce.system.js"],(function(t){"use strict";var e,n,i,a,o,r,c,l,s,u,f,m,p,d,h,v;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.F;o=t.g},function(t){r=t.C;c=t.I;l=t.S},function(t){s=t.g;u=t.t;f=t.f},function(t){m=t.g},function(t){p=t.g},function(t){d=t.c},function(t){h=t.c;v=t.d}],execute:function(){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{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var b=["ArrowUp","ArrowDown"];var g=["ArrowUp","ArrowDown","End","Home"];var x=t("calcite_action_menu",function(){function t(t){var i=this;e(this,t);this.calciteActionMenuOpenChange=n(this,"calciteActionMenuOpenChange",7);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.mutationObserver=d("mutation",(function(){return i.getActions()}));this.guid="calcite-action-menu-".concat(p());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=i,e=t.el,n=t.menuButtonId,a=t.menuId,o=t.open,r=t.label;var c=s(e,l.trigger)||i.defaultMenuButtonEl;if(i.menuButtonEl===c){return}i.disconnectMenuButtonEl();i.menuButtonEl=c;i.setTooltipReferenceElement();if(!c){return}c.active=o;c.setAttribute("aria-controls",a);c.setAttribute("aria-expanded",u(o));c.setAttribute("aria-haspopup","true");if(!c.id){c.id=n}if(!c.label){c.label=r}if(!c.text){c.text=r}c.addEventListener("click",i.menuButtonClick);c.addEventListener("keydown",i.menuButtonKeyDown);c.addEventListener("keyup",i.menuButtonKeyUp)};this.disconnectMenuButtonEl=function(){var t=i.menuButtonEl;if(!t){return}t.removeEventListener("click",i.menuButtonClick);t.removeEventListener("keydown",i.menuButtonKeyDown);t.removeEventListener("keyup",i.menuButtonKeyUp)};this.setDefaultMenuButtonEl=function(t){i.defaultMenuButtonEl=t;i.connectMenuButtonEl()};this.handleCalciteActionClick=function(){i.open=false;i.setFocus()};this.menuButtonClick=function(){i.toggleOpen()};this.updateTooltip=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));i.tooltipEl=e[0];i.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=i,e=t.tooltipEl,n=t.expanded,a=t.menuButtonEl,o=t.open;if(e){e.referenceElement=!n&&!o?a:null}};this.updateAction=function(t,e){var n=i,a=n.guid,o=n.activeMenuItemIndex;var r="".concat(a,"-action-").concat(e);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=e===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(i.updateAction)};this.getActions=function(){var t=i.el;var e=s(t,{all:true,matches:"calcite-action"});i.updateActions(e);i.actionElements=e;i.connectMenuButtonEl()};this.menuButtonKeyUp=function(t){var e=t.key;var n=i.actionElements;if(!i.isValidKey(e,b)){return}t.preventDefault();if(!n.length){return}i.toggleOpen(true);i.handleActionNavigation(e,n)};this.menuButtonKeyDown=function(t){var e=t.key;if(!i.isValidKey(e,b)){return}t.preventDefault()};this.menuActionsContainerKeyDown=function(t){var e=t.key;var n=i,a=n.actionElements,o=n.activeMenuItemIndex;if(e==="Tab"){i.open=false;return}if(e===" "||e==="Enter"){t.preventDefault();var r=a[o];r?r.click():i.toggleOpen(false);return}if(i.isValidKey(e,g)){t.preventDefault()}};this.menuActionsContainerKeyUp=function(t){var e=t.key;var n=i.actionElements;if(e==="Escape"){i.toggleOpen(false);return}if(!i.isValidKey(e,g)){return}t.preventDefault();if(!n.length){return}i.handleActionNavigation(e,n)};this.handleActionNavigation=function(t,e){var n=i.activeMenuItemIndex;if(t==="Home"){i.activeMenuItemIndex=0}if(t==="End"){i.activeMenuItemIndex=e.length-1}if(t==="ArrowUp"){i.activeMenuItemIndex=m(Math.max(n-1,-1),e.length)}if(t==="ArrowDown"){i.activeMenuItemIndex=m(n+1,e.length)}};this.toggleOpenEnd=function(){i.setFocus();i.el.removeEventListener("calcitePopoverOpen",i.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!i.open}i.el.addEventListener("calcitePopoverOpen",i.toggleOpenEnd);i.open=t}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.getActions();h(this)};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();this.disconnectMenuButtonEl();v(this)};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t);this.setTooltipReferenceElement()};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){f(this.open?this.menuEl:this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale,a=t.expanded;var o=i("slot",{name:l.trigger},i("calcite-action",{class:r.defaultTrigger,icon:c.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e,textEnabled:a}));return o};t.prototype.renderMenuItems=function(){var t=this;var e=this,n=e.actionElements,a=e.activeMenuItemIndex,o=e.open,c=e.menuId,l=e.menuButtonEl,s=e.label,u=e.placement,f=e.overlayPositioning,m=e.flipPlacements;var p=n[a];var d=(p===null||p===void 0?void 0:p.id)||null;return i("calcite-popover",{disablePointer:true,flipPlacements:m,label:s,offsetDistance:0,open:o,overlayPositioning:f,placement:u,referenceElement:l},i("div",{"aria-activedescendant":d,"aria-labelledby":l===null||l===void 0?void 0:l.id,class:r.menu,id:c,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,onKeyUp:this.menuActionsContainerKeyUp,ref:function(e){return t.menuEl=e},role:"menu",tabIndex:-1},i("slot",null)))};t.prototype.render=function(){return i(a,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:l.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}());x.style=y}}}));
@@ -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.509
6
- */System.register(["./p-a6d7353b.system.js","./p-13350da2.system.js","./p-a8fc39ad.system.js","./p-a82bd3ad.system.js","./p-b9a2867e.system.js","./p-4b0faff8.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c,s,m,u,f,d,p,h;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g},function(t){o=t.a;l=t.d;c=t.t},function(t){s=t.c;m=t.d},function(t){u=t.a;f=t.c;d=t.d;p=t.H},function(t){h=t.u},function(){}],execute:function(){var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}: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([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-item-align:start;align-self:flex-start}:host([width=full]){width:100%;min-width:-moz-fit-content;min-width:-webkit-fit-content;min-width:fit-content}:host([width=full]) ::slotted(calcite-radio-group-item){-ms-flex:1 1 auto;flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item){-ms-flex-pack:start;justify-content:flex-start}::slotted(calcite-radio-group-item[checked]),::slotted(calcite-radio-group-item:focus){z-index:0}::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}";var g=t("calcite_radio_group",function(){function t(t){var a=this;e(this,t);this.calciteRadioGroupChange=i(this,"calciteRadioGroupChange",7);this.appearance="solid";this.disabled=false;this.required=false;this.layout="horizontal";this.scale="m";this.value=null;this.width="auto";this.handleClick=function(t){if(t.target.localName==="calcite-radio-group-item"){a.selectItem(t.target,true)}}}t.prototype.valueHandler=function(t){var e=this.getItems();e.forEach((function(e){return e.checked=e.value===t}))};t.prototype.handleSelectedItemChange=function(t,e){this.value=t===null||t===void 0?void 0:t.value;if(t===e){return}var i=this.getItems();var a=Array.from(i).filter((function(e){return e===t})).pop();if(a){this.selectItem(a)}else if(i[0]){i[0].tabIndex=0}};t.prototype.componentWillLoad=function(){var t=this.getItems();var e=Array.from(t).filter((function(t){return t.checked})).pop();if(e){this.selectItem(e)}else if(t[0]){t[0].tabIndex=0}};t.prototype.componentDidLoad=function(){u(this,this.value)};t.prototype.connectedCallback=function(){s(this);f(this)};t.prototype.disconnectedCallback=function(){m(this);d(this)};t.prototype.componentDidRender=function(){h(this)};t.prototype.render=function(){return a(n,{onClick:this.handleClick,role:"radiogroup"},a("slot",null),a(p,{component:this}))};t.prototype.handleSelected=function(t){t.preventDefault();this.selectItem(t.target);t.stopPropagation()};t.prototype.handleKeyDown=function(t){var e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var a=this,n=a.el,r=a.selectedItem;if(e.indexOf(i)===-1){return}var l=i;if(o(n)==="rtl"){if(i==="ArrowRight"){l="ArrowLeft"}if(i==="ArrowLeft"){l="ArrowRight"}}var c=this.getItems();var s=-1;c.forEach((function(t,e){if(t===r){s=e}}));switch(l){case"ArrowLeft":case"ArrowUp":t.preventDefault();var m=s<1?c.item(c.length-1):c.item(s-1);this.selectItem(m,true);return;case"ArrowRight":case"ArrowDown":t.preventDefault();var u=s===-1?c.item(1):c.item(s+1)||c.item(0);this.selectItem(u,true);return;case" ":t.preventDefault();this.selectItem(t.target,true);return;default:return}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.selectedItem||this.getItems()[0])===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.getItems=function(){return this.el.querySelectorAll("calcite-radio-group-item")};t.prototype.selectItem=function(t,e){var i=this;if(e===void 0){e=false}if(t===this.selectedItem){return}var a=this.getItems();var n=null;a.forEach((function(a){var r=a.value===t.value;if(r&&!a.checked||!r&&a.checked){a.checked=r}a.tabIndex=r?0:-1;if(r){n=a;if(e){i.calciteRadioGroupChange.emit(n.value)}}}));this.selectedItem=n;if(n){n.focus()}};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}},enumerable:false,configurable:true});return t}());g.style=b;var y={input:"input"};var w={radioGroupItemIcon:"radio-group-item-icon"};var v="@-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:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.125rem;padding-bottom:0.125rem}.label--scale-m{padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.375rem;padding-bottom:0.375rem}.label--scale-l{padding-left:1rem;padding-right:1rem;padding-top:0.625rem;padding-bottom:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}.radio-group-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";var k=t("calcite_radio_group_item",function(){function t(t){e(this,t);this.calciteInternalRadioGroupItemChange=i(this,"calciteInternalRadioGroupItemChange",7);this.checked=false;this.iconFlipRtl=false;this.iconPosition="start"}t.prototype.handleCheckedChange=function(){this.calciteInternalRadioGroupItemChange.emit()};t.prototype.render=function(){var t=this,e=t.checked,i=t.value;var r=l(this.el,"scale","m");var o=l(this.el,"appearance","solid");var s=l(this.el,"layout","horizontal");var m=a("calcite-icon",{class:w.radioGroupItemIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});return a(n,{"aria-checked":c(e),role:"radio"},a("label",{class:{"label--scale-s":r==="s","label--scale-m":r==="m","label--scale-l":r==="l","label--horizontal":s==="horizontal","label--outline":o==="outline"}},this.icon&&this.iconPosition==="start"?m:null,a("slot",null,i),a("slot",{name:y.input}),this.icon&&this.iconPosition==="end"?m:null))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["handleCheckedChange"]}},enumerable:false,configurable:true});return t}());k.style=v}}}));
5
+ * v1.0.0-next.511
6
+ */System.register(["./p-e0ed56b0.system.js","./p-43b2e04e.system.js","./p-283731a1.system.js","./p-d09207d0.system.js","./p-863e5641.system.js","./p-0d13f0ca.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c,s,m,u,f,d,p,h;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g},function(t){o=t.a;l=t.d;c=t.t},function(t){s=t.c;m=t.d},function(t){u=t.a;f=t.c;d=t.d;p=t.H},function(t){h=t.u},function(){}],execute:function(){var b="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}: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([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-item-align:start;align-self:flex-start}:host([width=full]){width:100%;min-width:-moz-fit-content;min-width:-webkit-fit-content;min-width:fit-content}:host([width=full]) ::slotted(calcite-radio-group-item){-ms-flex:1 1 auto;flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item){-ms-flex-pack:start;justify-content:flex-start}::slotted(calcite-radio-group-item[checked]),::slotted(calcite-radio-group-item:focus){z-index:0}::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}";var g=t("calcite_radio_group",function(){function t(t){var a=this;e(this,t);this.calciteRadioGroupChange=i(this,"calciteRadioGroupChange",7);this.appearance="solid";this.disabled=false;this.required=false;this.layout="horizontal";this.scale="m";this.value=null;this.width="auto";this.handleClick=function(t){if(t.target.localName==="calcite-radio-group-item"){a.selectItem(t.target,true)}}}t.prototype.valueHandler=function(t){var e=this.getItems();e.forEach((function(e){return e.checked=e.value===t}))};t.prototype.handleSelectedItemChange=function(t,e){this.value=t===null||t===void 0?void 0:t.value;if(t===e){return}var i=this.getItems();var a=Array.from(i).filter((function(e){return e===t})).pop();if(a){this.selectItem(a)}else if(i[0]){i[0].tabIndex=0}};t.prototype.componentWillLoad=function(){var t=this.getItems();var e=Array.from(t).filter((function(t){return t.checked})).pop();if(e){this.selectItem(e)}else if(t[0]){t[0].tabIndex=0}};t.prototype.componentDidLoad=function(){u(this,this.value)};t.prototype.connectedCallback=function(){s(this);f(this)};t.prototype.disconnectedCallback=function(){m(this);d(this)};t.prototype.componentDidRender=function(){h(this)};t.prototype.render=function(){return a(n,{onClick:this.handleClick,role:"radiogroup"},a("slot",null),a(p,{component:this}))};t.prototype.handleSelected=function(t){t.preventDefault();this.selectItem(t.target);t.stopPropagation()};t.prototype.handleKeyDown=function(t){var e=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "];var i=t.key;var a=this,n=a.el,r=a.selectedItem;if(e.indexOf(i)===-1){return}var l=i;if(o(n)==="rtl"){if(i==="ArrowRight"){l="ArrowLeft"}if(i==="ArrowLeft"){l="ArrowRight"}}var c=this.getItems();var s=-1;c.forEach((function(t,e){if(t===r){s=e}}));switch(l){case"ArrowLeft":case"ArrowUp":t.preventDefault();var m=s<1?c.item(c.length-1):c.item(s-1);this.selectItem(m,true);return;case"ArrowRight":case"ArrowDown":t.preventDefault();var u=s===-1?c.item(1):c.item(s+1)||c.item(0);this.selectItem(u,true);return;case" ":t.preventDefault();this.selectItem(t.target,true);return;default:return}};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.selectedItem||this.getItems()[0])===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.onLabelClick=function(){this.setFocus()};t.prototype.getItems=function(){return this.el.querySelectorAll("calcite-radio-group-item")};t.prototype.selectItem=function(t,e){var i=this;if(e===void 0){e=false}if(t===this.selectedItem){return}var a=this.getItems();var n=null;a.forEach((function(a){var r=a.value===t.value;if(r&&!a.checked||!r&&a.checked){a.checked=r}a.tabIndex=r?0:-1;if(r){n=a;if(e){i.calciteRadioGroupChange.emit(n.value)}}}));this.selectedItem=n;if(n){n.focus()}};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}},enumerable:false,configurable:true});return t}());g.style=b;var y={input:"input"};var w={radioGroupItemIcon:"radio-group-item-icon"};var k="@-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:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.125rem;padding-bottom:0.125rem}.label--scale-m{padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.375rem;padding-bottom:0.375rem}.label--scale-l{padding-left:1rem;padding-right:1rem;padding-top:0.625rem;padding-bottom:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon{color:highlightText}}.radio-group-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";var v=t("calcite_radio_group_item",function(){function t(t){e(this,t);this.calciteInternalRadioGroupItemChange=i(this,"calciteInternalRadioGroupItemChange",7);this.checked=false;this.iconFlipRtl=false;this.iconPosition="start"}t.prototype.handleCheckedChange=function(){this.calciteInternalRadioGroupItemChange.emit()};t.prototype.render=function(){var t=this,e=t.checked,i=t.value;var r=l(this.el,"scale","m");var o=l(this.el,"appearance","solid");var s=l(this.el,"layout","horizontal");var m=a("calcite-icon",{class:w.radioGroupItemIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});return a(n,{"aria-checked":c(e),role:"radio"},a("label",{class:{"label--scale-s":r==="s","label--scale-m":r==="m","label--scale-l":r==="l","label--horizontal":s==="horizontal","label--outline":o==="outline"}},this.icon&&this.iconPosition==="start"?m:null,a("slot",null,i),a("slot",{name:y.input}),this.icon&&this.iconPosition==="end"?m:null))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{checked:["handleCheckedChange"]}},enumerable:false,configurable:true});return t}());v.style=k}}}));
@@ -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.509
4
+ * v1.0.0-next.511
5
5
  */
6
6
  System.register([],(function(t){"use strict";return{execute:function(){t({b:r,d:y,g:w,i:c,l:A,p:f,s:p});function r(t){return t==="Enter"||t===" "}var e=t("n",["0","1","2","3","4","5","6","7","8","9"]);var n=/^([-0])0+(?=\d)/;var i=/(?!^\.)\.$/;var u=/(?!^-)-/g;var a=/^-\b0\b\.?0*$/;var o=function(){function t(r){if(r instanceof t){return r}var e=String(r).split(".").concat(""),n=e[0],i=e[1];this.value=BigInt(n+i.padEnd(t.DECIMALS,"0").slice(0,t.DECIMALS))+BigInt(t.ROUNDED&&i[t.DECIMALS]>="5");this.isNegative=r.charAt(0)==="-"}t._divRound=function(r,e){return t.fromBigInt(r/e+(t.ROUNDED?r*BigInt(2)/e%BigInt(2):BigInt(0)))};t.fromBigInt=function(r){return Object.assign(Object.create(t.prototype),{value:r})};t.prototype.toString=function(){var r=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var e=r.slice(0,-t.DECIMALS);var n=r.slice(-t.DECIMALS).replace(/\.?0+$/,"");var i=e.concat(n.length?"."+n:"");return(this.isNegative?"-":"").concat(i)};t.prototype.formatToParts=function(r,e){var n=D(r,e);var i=this.value.toString().replace(new RegExp("-","g"),"").padStart(t.DECIMALS+1,"0");var u=i.slice(0,-t.DECIMALS);var a=i.slice(-t.DECIMALS).replace(/\.?0+$/,"");var o=n.formatToParts(BigInt(u));this.isNegative&&o.unshift({type:"minusSign",value:b(r)});if(a.length){o.push({type:"decimal",value:w(r)});a.split("").forEach((function(t){return o.push({type:"fraction",value:t})}))}return o};t.prototype.add=function(r){return t.fromBigInt(this.value+new t(r).value)};t.prototype.subtract=function(r){return t.fromBigInt(this.value-new t(r).value)};t.prototype.multiply=function(r){return t._divRound(this.value*new t(r).value,t.SHIFT)};t.prototype.divide=function(r){return t._divRound(this.value*t.SHIFT,new t(r).value)};return t}();o.DECIMALS=100;o.ROUNDED=true;o.SHIFT=BigInt("1"+"0".repeat(o.DECIMALS));function c(t){return!(!t||isNaN(Number(t)))}function f(t){if(!t||!m(t)){return""}return g(t,(function(t){var r=false;var n=t.split("").filter((function(t,n){if(t.match(/\./g)&&!r){r=true;return true}if(t.match(/\-/g)&&n===0){return true}return e.includes(t)})).reduce((function(t,r){return t+r}));return c(n)?new o(n).toString():""}))}function s(t){return t.replace(i,"")}function l(t){return t.replace(u,"")}function v(t){return t.replace(n,"$1")}function p(t){return g(t,(function(t){var r=l(s(v(t)));return c(r)?a.test(r)?r:new o(r).toString():t}))}function g(t,r){if(!t){return t}var e=t.toLowerCase().indexOf("e")+1;return t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map((function(t,e){return e===1?r(t.replace(/\./g,"")):r(t)})).join("e").replace(/^e/,"1e")}function m(t){return e.some((function(r){return t.includes(r)}))}var d=t("a",["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"]);var h=new RegExp("[.](?=.*[.])","g");var S=new RegExp("[^0-9-.]","g");var I=new RegExp(",","g");var E=(new Intl.NumberFormat).resolvedOptions().numberingSystem;function D(t,r){if(r===void 0){r=E}return new Intl.NumberFormat(t,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:r})}function y(t,r){return g(t,(function(t){var e=t.replace(b(r),"-").replace(C(r),"").replace(w(r),".").replace(h,"").replace(S,"");return c(e)?e:t}))}function C(t){var r=D(t);var e=r.formatToParts(1234567);var n=e.find((function(t){return t.type==="group"})).value;return n.trim().length===0?" ":n}function w(t){var r=D(t);var e=r.formatToParts(1.1);return e.find((function(t){return t.type==="decimal"})).value}function b(t){var r=D(t);var e=r.formatToParts(-9);return e.find((function(t){return t.type==="minusSign"})).value}function A(t,r,e,n){if(e===void 0){e=false}return g(t,(function(t){if(t){var i=s(t.replace(I,""));if(c(i)){var u=new o(i).formatToParts(r,n);var a=u.map((function(t){var n=t.type,i=t.value;switch(n){case"group":return e?C(r):"";case"decimal":return w(r);case"minusSign":return b(r);default:return i}})).reduce((function(t,r){return t+r}));return a}}return t}))}}}}));
@@ -2,6 +2,6 @@ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setP
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.509
5
+ * v1.0.0-next.511
6
6
  */System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","calcite");var a;var i;var l=false;var $=false;var o=typeof window!=="undefined"?window:{};var s=e("d",o.document||{head:{}});var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var u=true;var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=p(e,n);var $=h(t,i);var o=m(n);f.ael(l,a,$,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return f.rel(l,a,$,o)}))}))}};var h=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){ze(e)}}};var p=function(e,t){if(t&4)return s;if(t&8)return o;if(t&16)return s.body;return e};var m=function(e){return(e&2)!==0};var g="r";var y="o";var b="s";var w="t";var N="s-id";var x="sty-id";var R="c-id";var S="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var _="http://www.w3.org/1999/xlink";var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var L=function(e,t){{return function(){return}}};var A=new WeakMap;var C=function(e,t,r){var n=Be.get(e);if(v&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Be.set(e,n)};var E=function(e,t,r,n){var a=j(t);var i=Be.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var l=A.get(e);var $=void 0;if(!l){A.set(e,l=new Set)}if(!l.has(a)){if(e.host&&($=e.querySelector("[".concat(x,'="').concat(a,'"]')))){$.innerHTML=i}else{{$=s.createElement("style");$.innerHTML=i}e.insertBefore($,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var I=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=k("attachStyles",t.$tagName$);var i=E(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var j=function(e,t){return"sc-"+e.$tagName$};var T=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var P={};var M="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var z=function(e){return e!=null};var U=function(e){e=typeof e;return e==="object"||e==="function"};var q=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var $=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!U(a)){a=String(a)}if(l&&$){o[o.length-1].$text$+=a}else{o.push(l?B(null,a):a)}$=l}}};s(r);if(t){if(t.key){i=t.key}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,o,W)}var u=B(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}{u.$key$=i}return u}));var B=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var V=e("H",{});var H=function(e){return e&&e.$tag$===V};var W={forEach:function(e,t){return e.map(F).forEach(t)},map:function(e,t){return e.map(F).map(t).map(D)}};var F=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var D=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return q.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=B(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var G=function(e,t,r,n,a,i){if(r!==n){var l=Oe(e,t);var $=t.toLowerCase();if(t==="class"){var s=e.classList;var u=K(r);var c=K(n);s.remove.apply(s,u.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Oe(o,$)){t=$.slice(2)}else{t=$[2]+t.slice(3)}if(r){f.rel(e,t,r,false)}if(n){f.ael(e,t,n,false)}}else{var d=U(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var p=false;{if($!==($=$.replace(/^xlink\:?/,""))){t=$;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(_,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(p){e.setAttributeNS(_,t,n)}else{e.setAttribute(t,n)}}}}};var J=/\s/;var K=function(e){return!e?[]:e.split(J)};var Q=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||P;var l=t.$attrs$||P;{for(n in i){if(!(n in l)){G(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){G(a,n,i[n],l[n],r,t.$flags$)}};var X=function(e,t,r,n){var i=t.$children$[r];var $=0;var o;var f;if(i.$text$!==null){o=i.$elm$=s.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=s.createElementNS(l?M:O,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{Q(null,i,l)}if(z(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for($=0;$<i.$children$.length;++$){f=X(e,i,$);if(f){o.appendChild(f)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var Y=function(e,t,r,n,a,l){var $=e;var o;if($.shadowRoot&&$.tagName===i){$=$.shadowRoot}for(;a<=l;++a){if(n[a]){o=X(null,r,a);if(o){n[a].$elm$=o;$.insertBefore(o,t)}}}};var Z=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;ne(n);a.remove()}}};var ee=function(e,t,r,n){var a=0;var i=0;var l=0;var $=0;var o=t.length-1;var s=t[0];var f=t[o];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=o&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(te(s,c)){re(s,c);s=t[++a];c=n[++i]}else if(te(f,v)){re(f,v);f=t[--o];v=n[--u]}else if(te(s,v)){re(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=n[--u]}else if(te(f,c)){re(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--o];c=n[++i]}else{l=-1;{for($=a;$<=o;++$){if(t[$]&&t[$].$key$!==null&&t[$].$key$===c.$key$){l=$;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=X(t&&t[i],r,l)}else{re(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=X(t&&t[i],r,i);c=n[++i]}if(d){{s.$elm$.parentNode.insertBefore(d,s.$elm$)}}}}if(a>o){Y(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){Z(t,a,o)}};var te=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var re=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var $=t.$text$;if($===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{Q(e,t,l)}}if(n!==null&&a!==null){ee(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}Y(r,null,t,a,0,a.length-1)}else if(n!==null){Z(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==$){r.data=$}};var ne=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(ne)}};var ae=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||B(null,null);var $=H(t)?t:q(null,null,t);i=r.tagName;if(n.$attrsToReflect$){$.$attrs$=$.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return $.$attrs$[n]=r[t]}))}$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}re(l,$)};var ie=e("g",(function(e){return Te(e).$hostElement$}));var le=e("c",(function(e,t,r){var n=ie(e);return{emit:function(e){return $e(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var $e=function(e,t,r){var n=f.ce(t,r);e.dispatchEvent(n);return n};var oe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var se=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}oe(e,e.$ancestorComponent$);var r=function(){return fe(e,t)};return Je(r)};var fe=function(e,t){var r=k("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return pe(n,t,r)}));e.$queuedListeners$=null}}{a=pe(n,"componentWillLoad")}}{a=me(a,(function(){return pe(n,"componentWillRender")}))}r();return me(a,(function(){return ue(e,n,t)}))};var ue=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,$,o;return __generator(this,(function(s){r=e.$hostElement$;a=k("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){I(e)}l=k("render",e.$cmpMeta$.$tagName$);{ce(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{$=r["s-p"];o=function(){return ve(e)};if($.length===0){o()}else{Promise.all($).then(o);e.$flags$|=4;$.length=0}}return[2]}))}))};var ce=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ae(e,t)}}}}catch(t){ze(t,e.$hostElement$)}return null};var ve=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=k("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{pe(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{ge(r)}{pe(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){he()}}}else{n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ge((function(){return se(e,false)}))}e.$flags$&=~(4|512)}};var de=e("f",(function(e){{var t=Te(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){se(t,false)}return r}}));var he=function(e){{ge(s.documentElement)}Ge((function(){return $e(o,"appload",{detail:{namespace:n}})}))};var pe=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){ze(e)}}return undefined};var me=function(e,t){return e&&e.then?e.then(t):t()};var ge=function(e){return e.setAttribute("calcite-hydrated","")};var ye=function(e,t,r,n){var a=k("hydrateClient",t);var i=e.shadowRoot;var l=[];var $=[];var o=i?[]:null;var c=n.$vnode$=B(t,null);if(!f.$orgLocNodes$){we(s.body,f.$orgLocNodes$=new Map)}e[N]=r;e.removeAttribute(N);be(c,l,$,o,e,e,r);l.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=f.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&u&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}f.$orgLocNodes$.delete(r)}));if(i){o.map((function(e){if(e){i.appendChild(e)}}))}a()};var be=function(e,t,r,n,a,i,l){var $;var o;var f;var u;if(i.nodeType===1){$=i.getAttribute(R);if($){o=$.split(".");if(o[0]===l||o[0]==="0"){f={$flags$:0,$hostId$:o[0],$nodeId$:o[1],$depth$:o[2],$index$:o[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(f);i.removeAttribute(R);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;e=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.childNodes[u],l)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.shadowRoot.childNodes[u],l)}}}else if(i.nodeType===8){o=i.nodeValue.split(".");if(o[1]===l||o[1]==="0"){$=o[0];f={$flags$:0,$hostId$:o[1],$nodeId$:o[2],$depth$:o[3],$index$:o[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if($===w){f.$elm$=i.nextSibling;if(f.$elm$&&f.$elm$.nodeType===3){f.$text$=f.$elm$.textContent;t.push(f);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}else if(f.$hostId$===l){if($===b){f.$tag$="slot";if(o[5]){i["s-sn"]=f.$name$=o[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){f.$elm$=s.createElement(f.$tag$);if(f.$name$){f.$elm$.setAttribute("name",f.$name$)}i.parentNode.insertBefore(f.$elm$,i);i.remove();if(f.$depth$==="0"){n[f.$index$]=f.$elm$}}r.push(f);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f}else if($===g){if(n){i.remove()}}}}}else if(e&&e.$tag$==="style"){var c=B(null,i.textContent);c.$elm$=i;c.$index$="0";e.$children$=[c]}};var we=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){we(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){we(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===y){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ne=function(e,t){if(e!=null&&!U(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var xe=function(e,t){return Te(e).$instanceValues$.get(t)};var Re=function(e,t,r,n){var a=Te(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var $=a.$flags$;var o=a.$lazyInstance$;r=Ne(r,n.$members$[t][0]);var s=Number.isNaN(l)&&Number.isNaN(r);var f=r!==l&&!s;if((!($&8)||l===undefined)&&f){a.$instanceValues$.set(t,r);if(o){if(n.$watchers$&&$&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{o[e](r,l,t)}catch(e){ze(e,i)}}))}}if(($&(2|16))===2){if(o.componentShouldUpdate){if(o.componentShouldUpdate(r,l,t)===false){return}}se(a,false)}}}};var Se=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return xe(this,n)},set:function(e){Re(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Te(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;f.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var _e=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,$,o,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=qe(n);if(!i.then)return[3,2];e=L();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Se(i,n,2);i.isProxied=true}r=k("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){ze(e)}{t.$flags$&=~8}{t.$flags$|=128}r();ke(t.$lazyInstance$);if(i.style){a=i.style;l=j(n);if(!Be.has(l)){$=k("registerStyles",n.$tagName$);C(l,a,!!(n.$flags$&1));$()}}f.label=3;case 3:o=t.$ancestorComponent$;s=function(){return se(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}return[2]}}))}))};var ke=function(e){{pe(e,"connectedCallback")}};var Le=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$cmpMeta$;var n=k("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(N);if(a){if(r.$flags$&1){var i=E(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}ye(e,r.$tagName$,a,t)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){oe(t,t.$ancestorComponent$=l);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{_e(e,t,r)}}else{d(e,t,r.$listeners$);ke(t.$lazyInstance$)}n()}};var Ae=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{pe(r,"disconnectedCallback")}}};var Ce=e("b",(function(e,t){if(t===void 0){t={}}var r=k();var n=[];var a=t.exclude||[];var i=o.customElements;var l=s.head;var $=l.querySelector("meta[charset]");var u=s.createElement("style");var c=[];var v=s.querySelectorAll("[".concat(x,"]"));var d;var h=true;var p=0;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",s.baseURI).href;{f.$flags$|=2}{for(;p<v.length;p++){C(v[p].getAttribute(x),T(v[p].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var $=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Me(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{f.jmp((function(){return Le(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return Ae(e)}))};t.prototype.componentOnReady=function(){return Te(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Se($,r,1))}}))}));{u.innerHTML=n+S;u.setAttribute("data-styles","");l.insertBefore(u,$?$.nextSibling:l.firstChild)}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return d=setTimeout(he,30)}))}}r()}));var Ee=e("a",(function(e){var t=new URL(e,f.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var Ie=e("F",(function(e,t){return t}));var je=new WeakMap;var Te=function(e){return je.get(e)};var Pe=e("r",(function(e,t){return je.set(t.$lazyInstance$=e,t)}));var Me=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}d(e,r,t.$listeners$);return je.set(e,r)};var Oe=function(e,t){return t in e};var ze=function(e,t){return(0,console.error)(e,t)};var Ue=new Map;var qe=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Ue.get(i);if(l){return l[a]}
7
7
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{Ue.set(i,e)}return e[a]}),ze)};var Be=new Map;var Ve=[];var He=[];var We=function(e,t){return function(r){e.push(r);if(!$){$=true;if(t&&f.$flags$&4){Ge(De)}else{f.raf(De)}}}};var Fe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){ze(e)}}e.length=0};var De=function(){Fe(Ve);{Fe(He);if($=Ve.length>0){f.raf(De)}}};var Ge=function(e){return c().then(e)};var Je=We(He,true)}}}));
@@ -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.509
4
+ * v1.0.0-next.511
5
5
  */
6
6
  function n(n){return"Enter"===n||" "===n}const t=["0","1","2","3","4","5","6","7","8","9"],e=/^([-0])0+(?=\d)/,r=/(?!^\.)\.$/,i=/(?!^-)-/g,u=/^-\b0\b\.?0*$/;class s{constructor(n){if(n instanceof s)return n;const[t,e]=String(n).split(".").concat("");this.value=BigInt(t+e.padEnd(s.DECIMALS,"0").slice(0,s.DECIMALS))+BigInt(s.ROUNDED&&e[s.DECIMALS]>="5"),this.isNegative="-"===n.charAt(0)}static _divRound(n,t){return s.fromBigInt(n/t+(s.ROUNDED?n*BigInt(2)/t%BigInt(2):BigInt(0)))}static fromBigInt(n){return Object.assign(Object.create(s.prototype),{value:n})}toString(){const n=this.value.toString().replace(new RegExp("-","g"),"").padStart(s.DECIMALS+1,"0"),t=n.slice(0,-s.DECIMALS),e=n.slice(-s.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(s.DECIMALS+1,"0"),i=r.slice(0,-s.DECIMALS),u=r.slice(-s.DECIMALS).replace(/\.?0+$/,""),c=e.formatToParts(BigInt(i));return this.isNegative&&c.unshift({type:"minusSign",value:B(n)}),u.length&&(c.push({type:"decimal",value:I(n)}),u.split("").forEach((n=>c.push({type:"fraction",value:n})))),c}add(n){return s.fromBigInt(this.value+new s(n).value)}subtract(n){return s.fromBigInt(this.value-new s(n).value)}multiply(n){return s._divRound(this.value*new s(n).value,s.SHIFT)}divide(n){return s._divRound(this.value*s.SHIFT,new s(n).value)}}function c(n){return!(!n||isNaN(Number(n)))}function a(n){return n&&(e=n,t.some((n=>e.includes(n))))?f(n,(n=>{let e=!1;const r=n.split("").filter(((n,r)=>n.match(/\./g)&&!e?(e=!0,!0):!(!n.match(/\-/g)||0!==r)||t.includes(n))).reduce(((n,t)=>n+t));return c(r)?new s(r).toString():""})):"";var e}function o(n){return n.replace(r,"")}function g(n){return f(n,(n=>{const t=o(n.replace(e,"$1")).replace(i,"");return c(t)?u.test(t)?t:new s(t).toString():n}))}function f(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")}s.DECIMALS=100,s.ROUNDED=!0,s.SHIFT=BigInt("1"+"0".repeat(s.DECIMALS));const l=["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"],h=new RegExp("[.](?=.*[.])","g"),m=new RegExp("[^0-9-.]","g"),p=new RegExp(",","g"),d=(new Intl.NumberFormat).resolvedOptions().numberingSystem;function w(n,t=d){return new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:20,numberingSystem:t})}function b(n,t){return f(n,(n=>{const e=n.replace(B(t),"-").replace(v(t),"").replace(I(t),".").replace(h,"").replace(m,"");return c(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 f(n,(n=>{if(n){const i=o(n.replace(p,""));if(c(i))return new s(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{l as a,n as b,b as d,I as g,c as i,E as l,t as n,a as p,g 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.509
4
+ * v1.0.0-next.511
5
5
  */
6
- import{r as t,c as i,h as a,H as e,g as o}from"./p-9f3ab21b.js";import{g as s}from"./p-d8aa3312.js";import{a as n,f as r,t as c}from"./p-1f311f75.js";import{c as d,d as l,g as h}from"./p-30cf0b4e.js";import{c as m,d as u,H as p}from"./p-e708e887.js";import{g as b}from"./p-1dd3f485.js";import{u as f}from"./p-45237ad4.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-986974dc.js";import{g as s}from"./p-c604fb53.js";import{a as n,f as r,t as c}from"./p-ab348f68.js";import{c as d,d as l,g as h}from"./p-5badeb6a.js";import{c as m,d as u,H as p}from"./p-5c49ef4f.js";import{g as b}from"./p-b8054cff.js";import{u as f}from"./p-64fe7568.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}