@esri/calcite-components 1.0.0-next.476 → 1.0.0-next.479

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 (853) hide show
  1. package/dist/calcite/assets/icon/listCheckAll16.json +1 -0
  2. package/dist/calcite/assets/icon/listCheckAll24.json +1 -0
  3. package/dist/calcite/assets/icon/listCheckAll32.json +1 -0
  4. package/dist/calcite/assets/icon/ltrElementsAlign16.json +1 -0
  5. package/dist/calcite/assets/icon/ltrElementsAlign24.json +1 -0
  6. package/dist/calcite/assets/icon/ltrElementsAlign32.json +1 -0
  7. package/dist/calcite/assets/icon/ltrParagraphAlign16.json +1 -0
  8. package/dist/calcite/assets/icon/ltrParagraphAlign24.json +1 -0
  9. package/dist/calcite/assets/icon/ltrParagraphAlign32.json +1 -0
  10. package/dist/calcite/assets/icon/rangefinder16.json +1 -0
  11. package/dist/calcite/assets/icon/rangefinder24.json +1 -0
  12. package/dist/calcite/assets/icon/rangefinder32.json +1 -0
  13. package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -1
  14. package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -1
  15. package/dist/calcite/assets/icon/rfid16.json +1 -0
  16. package/dist/calcite/assets/icon/rfid24.json +1 -0
  17. package/dist/calcite/assets/icon/rfid32.json +1 -0
  18. package/dist/calcite/assets/icon/rtlElementsAlign16.json +1 -0
  19. package/dist/calcite/assets/icon/rtlElementsAlign24.json +1 -0
  20. package/dist/calcite/assets/icon/rtlElementsAlign32.json +1 -0
  21. package/dist/calcite/assets/icon/rtlParagraphAlign16.json +1 -0
  22. package/dist/calcite/assets/icon/rtlParagraphAlign24.json +1 -0
  23. package/dist/calcite/assets/icon/rtlParagraphAlign32.json +1 -0
  24. package/dist/calcite/calcite.esm.js +2 -2
  25. package/dist/calcite/calcite.js +1 -1
  26. package/dist/calcite/index.esm.js +1 -1
  27. package/dist/calcite/{p-5c5b9125.system.entry.js → p-001abe45.system.entry.js} +2 -2
  28. package/dist/calcite/{p-484edd98.system.js → p-010c7083.system.js} +1 -1
  29. package/dist/calcite/{p-bcce902f.system.entry.js → p-012c233f.system.entry.js} +2 -2
  30. package/dist/calcite/{p-4d7c460c.entry.js → p-01a27b60.entry.js} +2 -2
  31. package/dist/calcite/{p-6fef0a13.system.entry.js → p-0255e148.system.entry.js} +2 -2
  32. package/dist/calcite/{p-dae8006f.js → p-02b0ed6f.js} +1 -1
  33. package/dist/calcite/{p-d51b00fb.js → p-02d45b54.js} +2 -2
  34. package/dist/calcite/{p-e41efea8.system.entry.js → p-0316b59f.system.entry.js} +2 -2
  35. package/dist/calcite/{p-bd054abc.system.entry.js → p-033a20d5.system.entry.js} +2 -2
  36. package/dist/calcite/{p-d713905d.system.entry.js → p-0552e9a4.system.entry.js} +2 -2
  37. package/dist/calcite/{p-9a855e4b.system.entry.js → p-076f3589.system.entry.js} +2 -2
  38. package/dist/calcite/{p-d43fa837.entry.js → p-07ca4185.entry.js} +2 -2
  39. package/dist/calcite/{p-ffdd9c71.entry.js → p-0c205253.entry.js} +2 -2
  40. package/dist/calcite/{p-1330f6bc.entry.js → p-0c472b0c.entry.js} +2 -2
  41. package/dist/calcite/p-0d04b4ab.system.js +6 -0
  42. package/dist/calcite/p-0e369b8b.entry.js +6 -0
  43. package/dist/calcite/{p-bb1c2372.system.js → p-0eedb265.system.js} +2 -2
  44. package/dist/calcite/{p-45d5e557.js → p-1259a4a5.js} +1 -1
  45. package/dist/calcite/p-12919896.system.entry.js +6 -0
  46. package/dist/calcite/{p-1c2a6a73.system.entry.js → p-138157e7.system.entry.js} +3 -3
  47. package/dist/calcite/{p-63f4b74b.entry.js → p-1583e9a1.entry.js} +2 -2
  48. package/dist/calcite/{p-944df338.entry.js → p-17b5840c.entry.js} +2 -2
  49. package/dist/calcite/{p-d72b1282.entry.js → p-1840ae7f.entry.js} +2 -2
  50. package/dist/calcite/{p-6d16da65.entry.js → p-1b6329d5.entry.js} +2 -2
  51. package/dist/calcite/{p-3b86624c.entry.js → p-1fc564c7.entry.js} +2 -2
  52. package/dist/calcite/p-21128806.js +6 -0
  53. package/dist/calcite/{p-c3a69d6a.system.entry.js → p-22ac2115.system.entry.js} +2 -2
  54. package/dist/calcite/{p-131f671f.system.entry.js → p-23af34c3.system.entry.js} +2 -2
  55. package/dist/calcite/{p-7fb6f4bf.js → p-25cfcc1b.js} +2 -2
  56. package/dist/calcite/{p-b8988c8d.entry.js → p-282b100d.entry.js} +2 -2
  57. package/dist/calcite/{p-f6fbc4ef.entry.js → p-28a6d753.entry.js} +2 -2
  58. package/dist/calcite/{p-319df46b.js → p-296c9d0e.js} +2 -2
  59. package/dist/calcite/{p-4f8e0d2d.system.js → p-2d4f75cc.system.js} +1 -1
  60. package/dist/calcite/{p-3f301e7d.system.js → p-2e31a95a.system.js} +2 -2
  61. package/dist/calcite/{p-6ee15895.system.entry.js → p-2ec3abfb.system.entry.js} +2 -2
  62. package/dist/calcite/{p-8cdaf0cd.js → p-314feca3.js} +2 -2
  63. package/dist/calcite/{p-3713e5b0.entry.js → p-31fab9bf.entry.js} +2 -2
  64. package/dist/calcite/{p-32ede342.system.entry.js → p-37f4ac6e.system.entry.js} +2 -2
  65. package/dist/calcite/{p-0b947fa4.entry.js → p-398640df.entry.js} +2 -2
  66. package/dist/calcite/{p-1a844e56.entry.js → p-3d2e64a7.entry.js} +2 -2
  67. package/dist/calcite/{p-6fd1a448.system.js → p-3d49892d.system.js} +2 -2
  68. package/dist/calcite/{p-83b03259.entry.js → p-3ea1034b.entry.js} +2 -2
  69. package/dist/calcite/{p-c363cb8c.system.entry.js → p-3fcaf270.system.entry.js} +2 -2
  70. package/dist/calcite/{p-57e4785f.system.entry.js → p-40df7c87.system.entry.js} +2 -2
  71. package/dist/calcite/{p-41c25bee.js → p-40e629ce.js} +1 -1
  72. package/dist/calcite/{p-2c96da03.js → p-414f78e6.js} +2 -2
  73. package/dist/calcite/{p-9d7a3116.system.entry.js → p-4179b194.system.entry.js} +2 -2
  74. package/dist/calcite/p-44e5475a.system.entry.js +6 -0
  75. package/dist/calcite/{p-5ed0aaca.entry.js → p-450d94cd.entry.js} +2 -2
  76. package/dist/calcite/{p-a5788bca.system.js → p-466d98dc.system.js} +1 -1
  77. package/dist/calcite/{p-807539e9.system.entry.js → p-47a95178.system.entry.js} +2 -2
  78. package/dist/calcite/{p-d3618023.system.entry.js → p-4a11d1ba.system.entry.js} +2 -2
  79. package/dist/calcite/{p-5669f880.system.js → p-4a770350.system.js} +2 -2
  80. package/dist/calcite/{p-c46f7561.js → p-4b4c6dd5.js} +2 -2
  81. package/dist/calcite/{p-2b3a5c7b.system.js → p-4c5a51cb.system.js} +2 -2
  82. package/dist/calcite/{p-8d51935f.entry.js → p-4eca0e69.entry.js} +2 -2
  83. package/dist/calcite/{p-63f9d483.system.entry.js → p-4f672d9c.system.entry.js} +2 -2
  84. package/dist/calcite/{p-cb05e3cd.system.js → p-507da748.system.js} +1 -1
  85. package/dist/calcite/{p-4ace81e9.entry.js → p-53fce7f1.entry.js} +2 -2
  86. package/dist/calcite/{p-dc376347.entry.js → p-54f85324.entry.js} +2 -2
  87. package/dist/calcite/{p-7821e7fd.system.entry.js → p-55b8c527.system.entry.js} +2 -2
  88. package/dist/calcite/{p-127ae5ab.system.js → p-55dde837.system.js} +2 -2
  89. package/dist/calcite/{p-aa6b453c.system.entry.js → p-567f403a.system.entry.js} +2 -2
  90. package/dist/calcite/{p-f7c90343.system.entry.js → p-58e2308d.system.entry.js} +3 -3
  91. package/dist/calcite/{p-dbf8f134.entry.js → p-594ceae9.entry.js} +2 -2
  92. package/dist/calcite/{p-df5faee3.js → p-5a90b3ac.js} +1 -1
  93. package/dist/calcite/{p-6ead23be.entry.js → p-60a2b90d.entry.js} +2 -2
  94. package/dist/calcite/p-61337c50.system.js +6 -0
  95. package/dist/calcite/{p-76870dea.js → p-622aa523.js} +1 -1
  96. package/dist/calcite/{p-3d5dc0ba.js → p-644e7538.js} +2 -2
  97. package/dist/calcite/{p-e53bf165.entry.js → p-6626eb80.entry.js} +2 -2
  98. package/dist/calcite/{p-82fd4f01.entry.js → p-66990e2f.entry.js} +2 -2
  99. package/dist/calcite/{p-f89b2d32.system.js → p-677f82ee.system.js} +1 -1
  100. package/dist/calcite/{p-831f47f2.system.entry.js → p-6a3b3caa.system.entry.js} +2 -2
  101. package/dist/calcite/{p-f0612408.js → p-7005c27d.js} +2 -2
  102. package/dist/calcite/{p-62e2dcbe.system.entry.js → p-70ed2899.system.entry.js} +2 -2
  103. package/dist/calcite/{p-60a665f7.system.entry.js → p-72aadb1e.system.entry.js} +2 -2
  104. package/dist/calcite/{p-f497f1f6.system.entry.js → p-75d39938.system.entry.js} +2 -2
  105. package/dist/calcite/{p-f13fa84e.entry.js → p-76c92909.entry.js} +2 -2
  106. package/dist/calcite/{p-ddacbd8f.js → p-796b5da7.js} +1 -1
  107. package/dist/calcite/{p-99873a4a.entry.js → p-79a3b6b9.entry.js} +2 -2
  108. package/dist/calcite/{p-ab8f3201.entry.js → p-7b1ce7f1.entry.js} +2 -2
  109. package/dist/calcite/{p-f8e0ae75.js → p-7ffe8f06.js} +1 -1
  110. package/dist/calcite/{p-4bfac5f8.entry.js → p-82ca3dfe.entry.js} +2 -2
  111. package/dist/calcite/{p-eede01b9.system.entry.js → p-83f7cfa4.system.entry.js} +2 -2
  112. package/dist/calcite/{p-16355327.entry.js → p-8e128810.entry.js} +2 -2
  113. package/dist/calcite/{p-2ecfba39.system.entry.js → p-8f1e2112.system.entry.js} +3 -3
  114. package/dist/calcite/{p-b3d66cad.system.js → p-8f6cb6af.system.js} +2 -2
  115. package/dist/calcite/{p-d4136f00.system.entry.js → p-8fd3634d.system.entry.js} +2 -2
  116. package/dist/calcite/{p-0d960533.entry.js → p-90b0d736.entry.js} +2 -2
  117. package/dist/calcite/{p-5ff0bb0b.system.entry.js → p-90c4d477.system.entry.js} +2 -2
  118. package/dist/calcite/{p-dfa897c5.js → p-913b0ee4.js} +2 -2
  119. package/dist/calcite/{p-ba6115a0.entry.js → p-955059c7.entry.js} +2 -2
  120. package/dist/calcite/{p-a65cdf53.system.entry.js → p-9704f2af.system.entry.js} +2 -2
  121. package/dist/calcite/{p-d9730455.system.js → p-9a0ab637.system.js} +1 -1
  122. package/dist/calcite/{p-ff5b04a0.entry.js → p-9b44427d.entry.js} +2 -2
  123. package/dist/calcite/{p-1eba9175.system.entry.js → p-9c71711f.system.entry.js} +2 -2
  124. package/dist/calcite/{p-d71f17f1.entry.js → p-9d0dd1ba.entry.js} +2 -2
  125. package/dist/calcite/{p-1355557b.system.js → p-9da75a1c.system.js} +1 -1
  126. package/dist/calcite/{p-890c305f.entry.js → p-a06e728e.entry.js} +2 -2
  127. package/dist/calcite/{p-f33c2256.entry.js → p-a25f1b43.entry.js} +2 -2
  128. package/dist/calcite/{p-2e51f778.system.entry.js → p-a4380f53.system.entry.js} +2 -2
  129. package/dist/calcite/{p-c15a9313.js → p-a4e180ff.js} +1 -1
  130. package/dist/calcite/{p-4837378a.system.entry.js → p-a5a5bdd5.system.entry.js} +2 -2
  131. package/dist/calcite/{p-bf88963f.system.entry.js → p-a6a3de6b.system.entry.js} +2 -2
  132. package/dist/calcite/{p-7e581dde.system.entry.js → p-a813a29f.system.entry.js} +2 -2
  133. package/dist/calcite/{p-6456af6c.system.entry.js → p-a829cfdd.system.entry.js} +2 -2
  134. package/dist/calcite/{p-f0e00c93.system.entry.js → p-a951d0ca.system.entry.js} +2 -2
  135. package/dist/calcite/{p-9cab8f89.entry.js → p-ab31aff6.entry.js} +2 -2
  136. package/dist/calcite/{p-a90a010f.system.entry.js → p-ab9393f4.system.entry.js} +2 -2
  137. package/dist/calcite/{p-15ccf398.entry.js → p-af5170a1.entry.js} +2 -2
  138. package/dist/calcite/{p-ae9fa19b.system.js → p-b44066fa.system.js} +1 -1
  139. package/dist/calcite/{p-94c1c624.system.entry.js → p-b5a70721.system.entry.js} +2 -2
  140. package/dist/calcite/{p-712cf526.entry.js → p-b7d449ac.entry.js} +2 -2
  141. package/dist/calcite/{p-dbec5c49.js → p-b95b059e.js} +2 -2
  142. package/dist/calcite/{p-3010ee5d.entry.js → p-bb6550df.entry.js} +2 -2
  143. package/dist/calcite/{p-c4ea8711.entry.js → p-bbe29b83.entry.js} +2 -2
  144. package/dist/calcite/{p-78e96ae7.system.js → p-bd58961a.system.js} +1 -1
  145. package/dist/calcite/{p-e87cc1a4.js → p-c0a00fcd.js} +1 -1
  146. package/dist/calcite/{p-ef0e2ef8.js → p-c1798e47.js} +1 -1
  147. package/dist/calcite/{p-f0bd3368.system.entry.js → p-c189a8f5.system.entry.js} +2 -2
  148. package/dist/calcite/{p-434d08c6.system.js → p-c23ed287.system.js} +1 -1
  149. package/dist/calcite/{p-91b7a7fe.entry.js → p-c2618906.entry.js} +2 -2
  150. package/dist/calcite/{p-8a318906.entry.js → p-c36cf24c.entry.js} +2 -2
  151. package/dist/calcite/{p-6a29eaf7.entry.js → p-c61f0196.entry.js} +2 -2
  152. package/dist/calcite/{p-00f80e9b.system.js → p-c70c43df.system.js} +1 -1
  153. package/dist/calcite/{p-ab63d052.system.entry.js → p-c7e647a1.system.entry.js} +2 -2
  154. package/dist/calcite/{p-3afe551a.entry.js → p-c895d5f2.entry.js} +2 -2
  155. package/dist/calcite/{p-e1ce20eb.system.entry.js → p-c8bb36c5.system.entry.js} +2 -2
  156. package/dist/calcite/{p-70e816c6.system.js → p-c97da14c.system.js} +1 -1
  157. package/dist/calcite/{p-b374ffde.system.entry.js → p-cb60ff4f.system.entry.js} +2 -2
  158. package/dist/calcite/{p-208c2b9e.system.entry.js → p-cc3716a6.system.entry.js} +2 -2
  159. package/dist/calcite/{p-49ef9879.system.entry.js → p-d11c4ce9.system.entry.js} +2 -2
  160. package/dist/calcite/{p-422164e2.system.js → p-d16b63e1.system.js} +3 -3
  161. package/dist/calcite/{p-7c8f4e42.entry.js → p-d2323792.entry.js} +2 -2
  162. package/dist/calcite/{p-e3e1325b.system.entry.js → p-d28096d9.system.entry.js} +2 -2
  163. package/dist/calcite/{p-47871e98.system.entry.js → p-d473a5f5.system.entry.js} +2 -2
  164. package/dist/calcite/{p-606fc2c2.entry.js → p-d58e1550.entry.js} +2 -2
  165. package/dist/calcite/{p-dd60a825.system.entry.js → p-d6c808d6.system.entry.js} +2 -2
  166. package/dist/calcite/{p-25e5da09.js → p-d71608be.js} +1 -1
  167. package/dist/calcite/{p-196d2e06.js → p-d78d5d1e.js} +1 -1
  168. package/dist/calcite/p-db9bc97e.entry.js +6 -0
  169. package/dist/calcite/{p-26c42747.js → p-dd4df576.js} +1 -1
  170. package/dist/calcite/{p-9b964a83.entry.js → p-e184c59f.entry.js} +2 -2
  171. package/dist/calcite/{p-c6c4f772.system.entry.js → p-e29fb9cf.system.entry.js} +2 -2
  172. package/dist/calcite/{p-655cec22.entry.js → p-e7d1d85f.entry.js} +2 -2
  173. package/dist/calcite/{p-e53dd604.entry.js → p-e820870d.entry.js} +2 -2
  174. package/dist/calcite/{p-9b5bb8b2.entry.js → p-e91ae6dd.entry.js} +2 -2
  175. package/dist/calcite/{p-eefbb4da.system.entry.js → p-ed8666c9.system.entry.js} +2 -2
  176. package/dist/calcite/{p-8a665593.system.entry.js → p-eda300dd.system.entry.js} +2 -2
  177. package/dist/calcite/{p-96239aa7.entry.js → p-edb51c04.entry.js} +2 -2
  178. package/dist/calcite/{p-757d0db2.entry.js → p-ee96a07e.entry.js} +2 -2
  179. package/dist/calcite/{p-3798e936.system.js → p-efef481b.system.js} +2 -2
  180. package/dist/calcite/{p-01b3c79a.system.js → p-f0de8ef9.system.js} +1 -1
  181. package/dist/calcite/{p-54ec142f.system.js → p-f1e8d3f0.system.js} +2 -2
  182. package/dist/calcite/{p-cb89a644.system.entry.js → p-f5818d96.system.entry.js} +3 -3
  183. package/dist/calcite/{p-d5650eb8.entry.js → p-f5b01e78.entry.js} +2 -2
  184. package/dist/calcite/{p-df5ec08f.system.entry.js → p-f78ba023.system.entry.js} +2 -2
  185. package/dist/calcite/{p-d6f69d48.system.js → p-f85cee67.system.js} +1 -1
  186. package/dist/calcite/{p-c10bcd31.system.entry.js → p-f9b22a5a.system.entry.js} +2 -2
  187. package/dist/calcite/{p-58747a29.entry.js → p-fb1639d5.entry.js} +2 -2
  188. package/dist/calcite/p-fb33131c.system.entry.js +6 -0
  189. package/dist/calcite/{p-32f8fd56.entry.js → p-fe0b31be.entry.js} +2 -2
  190. package/dist/calcite/{p-f36ca4c0.entry.js → p-ff4cfdcd.entry.js} +2 -2
  191. package/dist/cjs/{ExpandToggle-c72128b5.js → ExpandToggle-4215b427.js} +5 -5
  192. package/dist/cjs/{Heading-120c502f.js → Heading-19791210.js} +2 -2
  193. package/dist/cjs/{array-a86a520c.js → array-47c77c68.js} +1 -1
  194. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  195. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  196. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  198. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  199. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  200. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  201. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  202. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  204. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  205. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  206. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  207. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  208. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  209. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +10 -10
  210. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -16
  211. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  212. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  213. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  214. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  216. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  217. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +12 -12
  219. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  220. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  221. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  222. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  223. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
  225. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  226. package/dist/cjs/calcite-modal.cjs.entry.js +20 -20
  227. package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
  228. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  229. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  230. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  231. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  232. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  233. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  234. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  235. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  236. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  237. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  238. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  239. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  241. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  242. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  243. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  244. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  245. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
  246. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  247. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  248. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  249. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  250. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  251. package/dist/cjs/calcite.cjs.js +2 -2
  252. package/dist/cjs/{conditionalSlot-66ba52d2.js → conditionalSlot-e207b82c.js} +3 -3
  253. package/dist/cjs/{debounce-cab88cfd.js → debounce-fb614795.js} +1 -1
  254. package/dist/cjs/{dom-f3b19f08.js → dom-adb06778.js} +2 -2
  255. package/dist/cjs/{forIn-c5fb4c32.js → forIn-e71052b6.js} +2 -2
  256. package/dist/cjs/{form-1e8e5bea.js → form-cb0cbffd.js} +3 -3
  257. package/dist/cjs/{guid-27f6b741.js → guid-77b29f6c.js} +1 -1
  258. package/dist/cjs/{index-e69e444c.js → index-f98e5cf7.js} +1 -1
  259. package/dist/cjs/index.cjs.js +1 -1
  260. package/dist/cjs/{interactive-426578f9.js → interactive-c087f4c4.js} +1 -1
  261. package/dist/cjs/{interfaces-86d7e96d.js → interfaces-fe957430.js} +1 -1
  262. package/dist/cjs/{label-620f41c3.js → label-7c4adc1f.js} +2 -2
  263. package/dist/cjs/loader.cjs.js +2 -2
  264. package/dist/cjs/{locale-74bd470f.js → locale-4813aaf7.js} +2 -2
  265. package/dist/cjs/{math-a409ca2a.js → math-e47ac5e4.js} +1 -1
  266. package/dist/cjs/{number-273b32e0.js → number-a157cea8.js} +1 -1
  267. package/dist/cjs/{observers-e58af2a5.js → observers-4dcb4447.js} +1 -1
  268. package/dist/cjs/{popper-647b0054.js → popper-daaacd0c.js} +2 -2
  269. package/dist/cjs/{resources-dbe7cbf8.js → resources-30283b8e.js} +1 -1
  270. package/dist/cjs/{resources-89f05471.js → resources-85ecd236.js} +3 -3
  271. package/dist/cjs/{resources-82801b63.js → resources-a14869de.js} +5 -5
  272. package/dist/cjs/{resources-2db20dfd.js → resources-a562b143.js} +1 -1
  273. package/dist/cjs/{sortable.esm-a49865dc.js → sortable.esm-89d4b918.js} +1 -1
  274. package/dist/cjs/{utils-eea5356b.js → utils-a8aa98ca.js} +1 -1
  275. package/dist/collection/components/accordion/accordion.js +1 -1
  276. package/dist/collection/components/accordion/interfaces.js +1 -1
  277. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  278. package/dist/collection/components/action/action.css +1 -1
  279. package/dist/collection/components/action/action.js +1 -1
  280. package/dist/collection/components/action/resources.js +1 -1
  281. package/dist/collection/components/action-bar/action-bar.js +1 -1
  282. package/dist/collection/components/action-bar/resources.js +1 -1
  283. package/dist/collection/components/action-bar/utils.js +1 -1
  284. package/dist/collection/components/action-group/action-group.js +1 -1
  285. package/dist/collection/components/action-group/resources.js +1 -1
  286. package/dist/collection/components/action-menu/action-menu.js +1 -1
  287. package/dist/collection/components/action-menu/resources.js +1 -1
  288. package/dist/collection/components/action-pad/action-pad.js +1 -1
  289. package/dist/collection/components/action-pad/resources.js +1 -1
  290. package/dist/collection/components/alert/alert.js +1 -1
  291. package/dist/collection/components/alert/interfaces.js +1 -1
  292. package/dist/collection/components/alert/resources.js +1 -1
  293. package/dist/collection/components/avatar/avatar.js +1 -1
  294. package/dist/collection/components/avatar/utils.js +1 -1
  295. package/dist/collection/components/block/block.js +1 -1
  296. package/dist/collection/components/block/resources.js +1 -1
  297. package/dist/collection/components/block-section/block-section.js +1 -1
  298. package/dist/collection/components/block-section/interfaces.js +1 -1
  299. package/dist/collection/components/block-section/resources.js +1 -1
  300. package/dist/collection/components/button/button.js +1 -1
  301. package/dist/collection/components/button/interfaces.js +1 -1
  302. package/dist/collection/components/button/resources.js +1 -1
  303. package/dist/collection/components/card/card.js +1 -1
  304. package/dist/collection/components/card/resources.js +1 -1
  305. package/dist/collection/components/checkbox/checkbox.js +1 -1
  306. package/dist/collection/components/chip/chip.css +1 -1
  307. package/dist/collection/components/chip/chip.js +1 -1
  308. package/dist/collection/components/chip/interfaces.js +1 -1
  309. package/dist/collection/components/chip/resources.js +1 -1
  310. package/dist/collection/components/color-picker/color-picker.js +1 -1
  311. package/dist/collection/components/color-picker/interfaces.js +1 -1
  312. package/dist/collection/components/color-picker/resources.js +1 -1
  313. package/dist/collection/components/color-picker/utils.js +1 -1
  314. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  315. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  316. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  317. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  318. package/dist/collection/components/combobox/combobox.js +1 -1
  319. package/dist/collection/components/combobox/interfaces.js +1 -1
  320. package/dist/collection/components/combobox/resources.js +1 -1
  321. package/dist/collection/components/combobox/utils.js +1 -1
  322. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  323. package/dist/collection/components/combobox-item/resources.js +1 -1
  324. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  325. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  326. package/dist/collection/components/date-picker/date-picker.js +1 -1
  327. package/dist/collection/components/date-picker/interfaces.js +1 -1
  328. package/dist/collection/components/date-picker/resources.js +1 -1
  329. package/dist/collection/components/date-picker/utils.js +1 -1
  330. package/dist/collection/components/date-picker-day/date-picker-day.css +1 -2
  331. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  332. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  333. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  334. package/dist/collection/components/dropdown/dropdown.js +1 -1
  335. package/dist/collection/components/dropdown/interfaces.js +1 -1
  336. package/dist/collection/components/dropdown/resources.js +1 -1
  337. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
  338. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  339. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  340. package/dist/collection/components/dropdown-group/resources.js +1 -1
  341. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -0
  342. package/dist/collection/components/dropdown-item/dropdown-item.js +6 -8
  343. package/dist/collection/components/dropdown-item/resources.js +1 -1
  344. package/dist/collection/components/fab/fab.js +1 -1
  345. package/dist/collection/components/fab/resources.js +1 -1
  346. package/dist/collection/components/filter/filter.css +2 -2
  347. package/dist/collection/components/filter/filter.js +1 -1
  348. package/dist/collection/components/filter/resources.js +1 -1
  349. package/dist/collection/components/flow/flow.js +1 -1
  350. package/dist/collection/components/flow/interfaces.js +1 -1
  351. package/dist/collection/components/flow/resources.js +1 -1
  352. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  353. package/dist/collection/components/functional/Heading.js +1 -1
  354. package/dist/collection/components/graph/graph.js +1 -1
  355. package/dist/collection/components/graph/interfaces.js +1 -1
  356. package/dist/collection/components/graph/util.js +1 -1
  357. package/dist/collection/components/handle/handle.js +1 -1
  358. package/dist/collection/components/handle/resources.js +1 -1
  359. package/dist/collection/components/icon/assets/icon/listCheckAll16.json +1 -0
  360. package/dist/collection/components/icon/assets/icon/listCheckAll24.json +1 -0
  361. package/dist/collection/components/icon/assets/icon/listCheckAll32.json +1 -0
  362. package/dist/collection/components/icon/assets/icon/ltrElementsAlign16.json +1 -0
  363. package/dist/collection/components/icon/assets/icon/ltrElementsAlign24.json +1 -0
  364. package/dist/collection/components/icon/assets/icon/ltrElementsAlign32.json +1 -0
  365. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign16.json +1 -0
  366. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign24.json +1 -0
  367. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign32.json +1 -0
  368. package/dist/collection/components/icon/assets/icon/rangefinder16.json +1 -0
  369. package/dist/collection/components/icon/assets/icon/rangefinder24.json +1 -0
  370. package/dist/collection/components/icon/assets/icon/rangefinder32.json +1 -0
  371. package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -1
  372. package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -1
  373. package/dist/collection/components/icon/assets/icon/rfid16.json +1 -0
  374. package/dist/collection/components/icon/assets/icon/rfid24.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/rfid32.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/rtlElementsAlign16.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/rtlElementsAlign24.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/rtlElementsAlign32.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign16.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign24.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign32.json +1 -0
  382. package/dist/collection/components/icon/icon.js +1 -1
  383. package/dist/collection/components/icon/resources.js +1 -1
  384. package/dist/collection/components/icon/utils.js +1 -1
  385. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  386. package/dist/collection/components/inline-editable/resources.js +1 -1
  387. package/dist/collection/components/input/input.js +1 -1
  388. package/dist/collection/components/input/interfaces.js +1 -1
  389. package/dist/collection/components/input/resources.js +1 -1
  390. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  391. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  392. package/dist/collection/components/input-message/input-message.js +1 -1
  393. package/dist/collection/components/input-message/interfaces.js +1 -1
  394. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  395. package/dist/collection/components/interfaces.js +1 -1
  396. package/dist/collection/components/label/label.css +2 -2
  397. package/dist/collection/components/label/label.js +1 -1
  398. package/dist/collection/components/label/resources.js +1 -1
  399. package/dist/collection/components/link/link.js +1 -1
  400. package/dist/collection/components/list/list.js +1 -1
  401. package/dist/collection/components/list/resources.js +1 -1
  402. package/dist/collection/components/list-item/list-item.css +3 -2
  403. package/dist/collection/components/list-item/list-item.js +1 -1
  404. package/dist/collection/components/list-item/resources.js +1 -1
  405. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  406. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  407. package/dist/collection/components/list-item-group/resources.js +1 -1
  408. package/dist/collection/components/loader/loader.js +1 -1
  409. package/dist/collection/components/modal/interfaces.js +1 -1
  410. package/dist/collection/components/modal/modal.css +5 -5
  411. package/dist/collection/components/modal/modal.js +41 -41
  412. package/dist/collection/components/modal/resources.js +1 -1
  413. package/dist/collection/components/notice/notice.css +1 -1
  414. package/dist/collection/components/notice/notice.js +23 -23
  415. package/dist/collection/components/notice/resources.js +1 -1
  416. package/dist/collection/components/option/option.js +1 -1
  417. package/dist/collection/components/option-group/option-group.js +1 -1
  418. package/dist/collection/components/pagination/pagination.css +1 -1
  419. package/dist/collection/components/pagination/pagination.js +1 -1
  420. package/dist/collection/components/pagination/resources.js +1 -1
  421. package/dist/collection/components/panel/panel.js +1 -1
  422. package/dist/collection/components/panel/resources.js +1 -1
  423. package/dist/collection/components/pick-list/pick-list.js +1 -1
  424. package/dist/collection/components/pick-list/resources.js +1 -1
  425. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  426. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  427. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  428. package/dist/collection/components/pick-list-group/resources.js +1 -1
  429. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  430. package/dist/collection/components/pick-list-item/resources.js +1 -1
  431. package/dist/collection/components/popover/PopoverManager.js +1 -1
  432. package/dist/collection/components/popover/popover.js +1 -1
  433. package/dist/collection/components/popover/resources.js +1 -1
  434. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  435. package/dist/collection/components/progress/progress.js +1 -1
  436. package/dist/collection/components/radio-button/radio-button.js +1 -1
  437. package/dist/collection/components/radio-button/resources.js +1 -1
  438. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  439. package/dist/collection/components/radio-group/interfaces.js +1 -1
  440. package/dist/collection/components/radio-group/radio-group.js +1 -1
  441. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  442. package/dist/collection/components/radio-group-item/resources.js +1 -1
  443. package/dist/collection/components/rating/rating.js +1 -1
  444. package/dist/collection/components/rating/resources.js +1 -1
  445. package/dist/collection/components/scrim/resources.js +1 -1
  446. package/dist/collection/components/scrim/scrim.js +1 -1
  447. package/dist/collection/components/select/resources.js +1 -1
  448. package/dist/collection/components/select/select.js +1 -1
  449. package/dist/collection/components/shell/resources.js +1 -1
  450. package/dist/collection/components/shell/shell.js +1 -1
  451. package/dist/collection/components/shell-center-row/resources.js +1 -1
  452. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  453. package/dist/collection/components/shell-panel/resources.js +1 -1
  454. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  455. package/dist/collection/components/slider/slider.js +1 -1
  456. package/dist/collection/components/sortable-list/resources.js +1 -1
  457. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  458. package/dist/collection/components/split-button/resources.js +1 -1
  459. package/dist/collection/components/split-button/split-button.js +1 -1
  460. package/dist/collection/components/stepper/interfaces.js +1 -1
  461. package/dist/collection/components/stepper/stepper.js +1 -1
  462. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  463. package/dist/collection/components/switch/switch.js +1 -1
  464. package/dist/collection/components/tab/interfaces.js +1 -1
  465. package/dist/collection/components/tab/tab.js +1 -1
  466. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  467. package/dist/collection/components/tab-title/tab-title.css +0 -1
  468. package/dist/collection/components/tab-title/tab-title.js +1 -1
  469. package/dist/collection/components/tabs/interfaces.js +1 -1
  470. package/dist/collection/components/tabs/resources.js +1 -1
  471. package/dist/collection/components/tabs/tabs.js +1 -1
  472. package/dist/collection/components/tile/resources.js +1 -1
  473. package/dist/collection/components/tile/tile.js +1 -1
  474. package/dist/collection/components/tile-select/interfaces.js +1 -1
  475. package/dist/collection/components/tile-select/resources.js +1 -1
  476. package/dist/collection/components/tile-select/tile-select.js +1 -1
  477. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  478. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  479. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  480. package/dist/collection/components/time-picker/resources.js +1 -1
  481. package/dist/collection/components/time-picker/time-picker.js +1 -1
  482. package/dist/collection/components/tip/resources.js +1 -1
  483. package/dist/collection/components/tip/tip.js +1 -1
  484. package/dist/collection/components/tip-group/tip-group.js +1 -1
  485. package/dist/collection/components/tip-manager/resources.js +1 -1
  486. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  487. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  488. package/dist/collection/components/tooltip/resources.js +1 -1
  489. package/dist/collection/components/tooltip/tooltip.js +1 -1
  490. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  491. package/dist/collection/components/tree/interfaces.js +1 -1
  492. package/dist/collection/components/tree/tree.js +1 -1
  493. package/dist/collection/components/tree-item/interfaces.js +1 -1
  494. package/dist/collection/components/tree-item/resources.js +1 -1
  495. package/dist/collection/components/tree-item/tree-item.js +1 -1
  496. package/dist/collection/components/value-list/resources.js +1 -1
  497. package/dist/collection/components/value-list/value-list.js +1 -1
  498. package/dist/collection/components/value-list-item/resources.js +1 -1
  499. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  500. package/dist/collection/utils/array.js +1 -1
  501. package/dist/collection/utils/conditionalSlot.js +1 -1
  502. package/dist/collection/utils/date.js +1 -1
  503. package/dist/collection/utils/dom.js +1 -1
  504. package/dist/collection/utils/filter.js +1 -1
  505. package/dist/collection/utils/form.js +1 -1
  506. package/dist/collection/utils/globalAttributes.js +1 -1
  507. package/dist/collection/utils/guid.js +1 -1
  508. package/dist/collection/utils/interactive.js +1 -1
  509. package/dist/collection/utils/key.js +1 -1
  510. package/dist/collection/utils/label.js +1 -1
  511. package/dist/collection/utils/locale.js +1 -1
  512. package/dist/collection/utils/math.js +1 -1
  513. package/dist/collection/utils/number.js +1 -1
  514. package/dist/collection/utils/observers.js +1 -1
  515. package/dist/collection/utils/popper.js +1 -1
  516. package/dist/collection/utils/resources.js +1 -1
  517. package/dist/collection/utils/time.js +1 -1
  518. package/dist/components/ExpandToggle.js +1 -1
  519. package/dist/components/Heading.js +1 -1
  520. package/dist/components/action-group.js +1 -1
  521. package/dist/components/action-menu.js +1 -1
  522. package/dist/components/action.js +2 -2
  523. package/dist/components/array.js +1 -1
  524. package/dist/components/button.js +1 -1
  525. package/dist/components/calcite-accordion-item.js +1 -1
  526. package/dist/components/calcite-accordion.js +1 -1
  527. package/dist/components/calcite-action-bar.js +1 -1
  528. package/dist/components/calcite-action-group.js +1 -1
  529. package/dist/components/calcite-action-menu.js +1 -1
  530. package/dist/components/calcite-action-pad.js +1 -1
  531. package/dist/components/calcite-action.js +1 -1
  532. package/dist/components/calcite-alert.js +1 -1
  533. package/dist/components/calcite-avatar.js +1 -1
  534. package/dist/components/calcite-block-section.js +1 -1
  535. package/dist/components/calcite-block.js +1 -1
  536. package/dist/components/calcite-button.js +1 -1
  537. package/dist/components/calcite-card.js +1 -1
  538. package/dist/components/calcite-checkbox.js +1 -1
  539. package/dist/components/calcite-chip.js +1 -1
  540. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  541. package/dist/components/calcite-color-picker-swatch.js +1 -1
  542. package/dist/components/calcite-color-picker.js +1 -1
  543. package/dist/components/calcite-combobox-item-group.js +1 -1
  544. package/dist/components/calcite-combobox-item.js +1 -1
  545. package/dist/components/calcite-combobox.js +1 -1
  546. package/dist/components/calcite-date-picker-day.js +1 -1
  547. package/dist/components/calcite-date-picker-month-header.js +1 -1
  548. package/dist/components/calcite-date-picker-month.js +1 -1
  549. package/dist/components/calcite-date-picker.js +1 -1
  550. package/dist/components/calcite-dropdown-group.js +2 -2
  551. package/dist/components/calcite-dropdown-item.js +7 -9
  552. package/dist/components/calcite-dropdown.js +1 -1
  553. package/dist/components/calcite-fab.js +1 -1
  554. package/dist/components/calcite-filter.js +1 -1
  555. package/dist/components/calcite-flow.js +1 -1
  556. package/dist/components/calcite-graph.js +1 -1
  557. package/dist/components/calcite-handle.js +1 -1
  558. package/dist/components/calcite-icon.js +1 -1
  559. package/dist/components/calcite-inline-editable.js +1 -1
  560. package/dist/components/calcite-input-date-picker.js +2 -2
  561. package/dist/components/calcite-input-message.js +1 -1
  562. package/dist/components/calcite-input-time-picker.js +1 -1
  563. package/dist/components/calcite-input.js +1 -1
  564. package/dist/components/calcite-label.js +1 -1
  565. package/dist/components/calcite-link.js +1 -1
  566. package/dist/components/calcite-list-item-group.js +2 -2
  567. package/dist/components/calcite-list-item.js +2 -2
  568. package/dist/components/calcite-list.js +1 -1
  569. package/dist/components/calcite-loader.js +1 -1
  570. package/dist/components/calcite-modal.js +15 -15
  571. package/dist/components/calcite-notice.js +8 -8
  572. package/dist/components/calcite-option-group.js +1 -1
  573. package/dist/components/calcite-option.js +1 -1
  574. package/dist/components/calcite-pagination.js +2 -2
  575. package/dist/components/calcite-panel.js +1 -1
  576. package/dist/components/calcite-pick-list-group.js +1 -1
  577. package/dist/components/calcite-pick-list-item.js +1 -1
  578. package/dist/components/calcite-pick-list.js +1 -1
  579. package/dist/components/calcite-popover-manager.js +1 -1
  580. package/dist/components/calcite-popover.js +1 -1
  581. package/dist/components/calcite-progress.js +1 -1
  582. package/dist/components/calcite-radio-button-group.js +1 -1
  583. package/dist/components/calcite-radio-button.js +1 -1
  584. package/dist/components/calcite-radio-group-item.js +1 -1
  585. package/dist/components/calcite-radio-group.js +1 -1
  586. package/dist/components/calcite-rating.js +1 -1
  587. package/dist/components/calcite-scrim.js +1 -1
  588. package/dist/components/calcite-select.js +1 -1
  589. package/dist/components/calcite-shell-center-row.js +1 -1
  590. package/dist/components/calcite-shell-panel.js +1 -1
  591. package/dist/components/calcite-shell.js +1 -1
  592. package/dist/components/calcite-slider.js +1 -1
  593. package/dist/components/calcite-sortable-list.js +1 -1
  594. package/dist/components/calcite-split-button.js +1 -1
  595. package/dist/components/calcite-stepper-item.js +1 -1
  596. package/dist/components/calcite-stepper.js +1 -1
  597. package/dist/components/calcite-switch.js +1 -1
  598. package/dist/components/calcite-tab-nav.js +1 -1
  599. package/dist/components/calcite-tab-title.js +1 -1
  600. package/dist/components/calcite-tab.js +1 -1
  601. package/dist/components/calcite-tabs.js +1 -1
  602. package/dist/components/calcite-tile-select-group.js +2 -2
  603. package/dist/components/calcite-tile-select.js +1 -1
  604. package/dist/components/calcite-tile.js +1 -1
  605. package/dist/components/calcite-time-picker.js +1 -1
  606. package/dist/components/calcite-tip-group.js +1 -1
  607. package/dist/components/calcite-tip-manager.js +1 -1
  608. package/dist/components/calcite-tip.js +1 -1
  609. package/dist/components/calcite-tooltip-manager.js +1 -1
  610. package/dist/components/calcite-tooltip.js +1 -1
  611. package/dist/components/calcite-tree-item.js +1 -1
  612. package/dist/components/calcite-tree.js +1 -1
  613. package/dist/components/calcite-value-list-item.js +1 -1
  614. package/dist/components/calcite-value-list.js +1 -1
  615. package/dist/components/checkbox.js +1 -1
  616. package/dist/components/chip.js +2 -2
  617. package/dist/components/color-picker-hex-input.js +1 -1
  618. package/dist/components/color-picker-swatch.js +1 -1
  619. package/dist/components/conditionalSlot.js +1 -1
  620. package/dist/components/date-picker-day.js +2 -2
  621. package/dist/components/date-picker-month-header.js +1 -1
  622. package/dist/components/date-picker-month.js +1 -1
  623. package/dist/components/date-picker.js +1 -1
  624. package/dist/components/date.js +1 -1
  625. package/dist/components/debounce.js +1 -1
  626. package/dist/components/dom.js +1 -1
  627. package/dist/components/dropdown.js +1 -1
  628. package/dist/components/filter.js +2 -2
  629. package/dist/components/forIn.js +1 -1
  630. package/dist/components/form.js +1 -1
  631. package/dist/components/graph.js +1 -1
  632. package/dist/components/guid.js +1 -1
  633. package/dist/components/handle.js +1 -1
  634. package/dist/components/icon.js +1 -1
  635. package/dist/components/index.js +1 -1
  636. package/dist/components/input.js +1 -1
  637. package/dist/components/interactive.js +1 -1
  638. package/dist/components/interfaces.js +1 -1
  639. package/dist/components/interfaces2.js +1 -1
  640. package/dist/components/label.js +1 -1
  641. package/dist/components/label2.js +2 -2
  642. package/dist/components/link.js +1 -1
  643. package/dist/components/loader.js +1 -1
  644. package/dist/components/locale.js +1 -1
  645. package/dist/components/math.js +1 -1
  646. package/dist/components/number.js +1 -1
  647. package/dist/components/observers.js +1 -1
  648. package/dist/components/pick-list-item.js +1 -1
  649. package/dist/components/popover.js +1 -1
  650. package/dist/components/popper.js +1 -1
  651. package/dist/components/progress.js +1 -1
  652. package/dist/components/resources.js +1 -1
  653. package/dist/components/resources2.js +1 -1
  654. package/dist/components/resources3.js +1 -1
  655. package/dist/components/scrim.js +1 -1
  656. package/dist/components/shared-list-render.js +1 -1
  657. package/dist/components/sortable.esm.js +1 -1
  658. package/dist/components/switch.js +1 -1
  659. package/dist/components/tab-nav.js +1 -1
  660. package/dist/components/tab-title.js +2 -2
  661. package/dist/components/tab.js +1 -1
  662. package/dist/components/tabs.js +1 -1
  663. package/dist/components/tile.js +1 -1
  664. package/dist/components/time-picker.js +1 -1
  665. package/dist/components/utils.js +1 -1
  666. package/dist/components/utils2.js +1 -1
  667. package/dist/custom-elements/index.js +40 -42
  668. package/dist/esm/{ExpandToggle-1234ae1f.js → ExpandToggle-c7026669.js} +5 -5
  669. package/dist/esm/{Heading-d8b01fc1.js → Heading-d7128dad.js} +2 -2
  670. package/dist/esm/{array-2f7ff6a2.js → array-1ebb0fbc.js} +1 -1
  671. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  672. package/dist/esm/calcite-action-bar.entry.js +10 -10
  673. package/dist/esm/calcite-action-group.entry.js +8 -8
  674. package/dist/esm/calcite-action-menu.entry.js +8 -8
  675. package/dist/esm/calcite-action-pad.entry.js +9 -9
  676. package/dist/esm/calcite-action.entry.js +7 -7
  677. package/dist/esm/calcite-alert.entry.js +5 -5
  678. package/dist/esm/calcite-avatar.entry.js +5 -5
  679. package/dist/esm/calcite-block_2.entry.js +8 -8
  680. package/dist/esm/calcite-button.entry.js +8 -8
  681. package/dist/esm/calcite-card.entry.js +6 -6
  682. package/dist/esm/calcite-checkbox.entry.js +7 -7
  683. package/dist/esm/calcite-chip.entry.js +7 -7
  684. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  685. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  686. package/dist/esm/calcite-date-picker_4.entry.js +10 -10
  687. package/dist/esm/calcite-dropdown_3.entry.js +14 -16
  688. package/dist/esm/calcite-fab.entry.js +5 -5
  689. package/dist/esm/calcite-filter.entry.js +8 -8
  690. package/dist/esm/calcite-flow.entry.js +3 -3
  691. package/dist/esm/calcite-graph_2.entry.js +9 -9
  692. package/dist/esm/calcite-handle.entry.js +4 -4
  693. package/dist/esm/calcite-icon.entry.js +5 -5
  694. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  695. package/dist/esm/calcite-input-date-picker.entry.js +12 -12
  696. package/dist/esm/calcite-input-message.entry.js +4 -4
  697. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  698. package/dist/esm/calcite-input.entry.js +11 -11
  699. package/dist/esm/calcite-label.entry.js +6 -6
  700. package/dist/esm/calcite-link.entry.js +5 -5
  701. package/dist/esm/calcite-list_3.entry.js +10 -10
  702. package/dist/esm/calcite-loader.entry.js +3 -3
  703. package/dist/esm/calcite-modal.entry.js +20 -20
  704. package/dist/esm/calcite-notice.entry.js +14 -14
  705. package/dist/esm/calcite-option_3.entry.js +8 -8
  706. package/dist/esm/calcite-pagination.entry.js +6 -6
  707. package/dist/esm/calcite-panel.entry.js +9 -9
  708. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  709. package/dist/esm/calcite-popover_2.entry.js +7 -7
  710. package/dist/esm/calcite-progress.entry.js +2 -2
  711. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  712. package/dist/esm/calcite-radio-button.entry.js +8 -8
  713. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  714. package/dist/esm/calcite-rating.entry.js +7 -7
  715. package/dist/esm/calcite-scrim.entry.js +2 -2
  716. package/dist/esm/calcite-shell_3.entry.js +7 -7
  717. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  718. package/dist/esm/calcite-split-button.entry.js +3 -3
  719. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  720. package/dist/esm/calcite-switch.entry.js +7 -7
  721. package/dist/esm/calcite-tab_4.entry.js +7 -7
  722. package/dist/esm/calcite-tile-select_2.entry.js +5 -5
  723. package/dist/esm/calcite-tile.entry.js +7 -7
  724. package/dist/esm/calcite-tip_3.entry.js +7 -7
  725. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  726. package/dist/esm/calcite-tree_2.entry.js +6 -6
  727. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  728. package/dist/esm/calcite.js +2 -2
  729. package/dist/esm/{conditionalSlot-9d82a35b.js → conditionalSlot-503d3769.js} +3 -3
  730. package/dist/esm/{debounce-603234fb.js → debounce-1241cf91.js} +1 -1
  731. package/dist/esm/{dom-ee30a35e.js → dom-1efdede7.js} +2 -2
  732. package/dist/esm/{forIn-7b6dafd9.js → forIn-fb166749.js} +2 -2
  733. package/dist/esm/{form-d5bd9ec6.js → form-d576db9b.js} +3 -3
  734. package/dist/esm/{guid-af42efad.js → guid-601a38fd.js} +1 -1
  735. package/dist/esm/{index-f29de5d1.js → index-18760ac4.js} +1 -1
  736. package/dist/esm/index.js +1 -1
  737. package/dist/esm/{interactive-c7c32c38.js → interactive-839dc37e.js} +1 -1
  738. package/dist/esm/{interfaces-464fd2a7.js → interfaces-f2cef67b.js} +1 -1
  739. package/dist/esm/{label-2ccd1fec.js → label-32ae54d2.js} +2 -2
  740. package/dist/esm/loader.js +2 -2
  741. package/dist/esm/{locale-682fd20f.js → locale-73f68a9f.js} +2 -2
  742. package/dist/esm/{math-8e00dda6.js → math-fac5d12a.js} +1 -1
  743. package/dist/esm/{number-0476372a.js → number-8d6b0881.js} +1 -1
  744. package/dist/esm/{observers-0e4c65d6.js → observers-b37f2c11.js} +1 -1
  745. package/dist/esm/{popper-fe01783b.js → popper-3b7cddd6.js} +2 -2
  746. package/dist/esm/{resources-1d12bf2d.js → resources-caad26c2.js} +5 -5
  747. package/dist/esm/{resources-78b04a82.js → resources-d01af4f2.js} +1 -1
  748. package/dist/esm/{resources-a72eb0ee.js → resources-d9adf0aa.js} +1 -1
  749. package/dist/esm/{resources-e8c7f26f.js → resources-facbb78a.js} +3 -3
  750. package/dist/esm/{sortable.esm-24aacc6b.js → sortable.esm-36ae3f9c.js} +1 -1
  751. package/dist/esm/{utils-4a067e2c.js → utils-a03619ce.js} +1 -1
  752. package/dist/esm-es5/{ExpandToggle-1234ae1f.js → ExpandToggle-c7026669.js} +2 -2
  753. package/dist/esm-es5/{Heading-d8b01fc1.js → Heading-d7128dad.js} +2 -2
  754. package/dist/esm-es5/{array-2f7ff6a2.js → array-1ebb0fbc.js} +1 -1
  755. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  756. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  757. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  758. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  759. package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
  760. package/dist/esm-es5/calcite-action.entry.js +2 -2
  761. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  762. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  763. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  764. package/dist/esm-es5/calcite-button.entry.js +2 -2
  765. package/dist/esm-es5/calcite-card.entry.js +2 -2
  766. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  767. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  768. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  769. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  770. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  771. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  772. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  773. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  774. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  775. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  776. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  777. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  778. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  779. package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
  780. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  781. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  782. package/dist/esm-es5/calcite-input.entry.js +2 -2
  783. package/dist/esm-es5/calcite-label.entry.js +2 -2
  784. package/dist/esm-es5/calcite-link.entry.js +2 -2
  785. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  786. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  787. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  788. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  789. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  790. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  791. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  792. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  793. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  794. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  795. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  796. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  797. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  798. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  799. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  800. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  801. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  802. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  803. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  804. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  805. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  806. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  807. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  808. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  809. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  810. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  811. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  812. package/dist/esm-es5/calcite.js +2 -2
  813. package/dist/esm-es5/{conditionalSlot-9d82a35b.js → conditionalSlot-503d3769.js} +2 -2
  814. package/dist/esm-es5/{debounce-603234fb.js → debounce-1241cf91.js} +1 -1
  815. package/dist/esm-es5/{dom-ee30a35e.js → dom-1efdede7.js} +2 -2
  816. package/dist/esm-es5/{forIn-7b6dafd9.js → forIn-fb166749.js} +2 -2
  817. package/dist/esm-es5/{form-d5bd9ec6.js → form-d576db9b.js} +2 -2
  818. package/dist/esm-es5/{guid-af42efad.js → guid-601a38fd.js} +1 -1
  819. package/dist/esm-es5/{index-f29de5d1.js → index-18760ac4.js} +1 -1
  820. package/dist/esm-es5/index.js +1 -1
  821. package/dist/esm-es5/{interactive-c7c32c38.js → interactive-839dc37e.js} +1 -1
  822. package/dist/esm-es5/{interfaces-464fd2a7.js → interfaces-f2cef67b.js} +1 -1
  823. package/dist/esm-es5/{label-2ccd1fec.js → label-32ae54d2.js} +2 -2
  824. package/dist/esm-es5/loader.js +2 -2
  825. package/dist/esm-es5/{locale-682fd20f.js → locale-73f68a9f.js} +2 -2
  826. package/dist/esm-es5/{math-8e00dda6.js → math-fac5d12a.js} +1 -1
  827. package/dist/esm-es5/{number-0476372a.js → number-8d6b0881.js} +1 -1
  828. package/dist/esm-es5/{observers-0e4c65d6.js → observers-b37f2c11.js} +1 -1
  829. package/dist/esm-es5/{popper-fe01783b.js → popper-3b7cddd6.js} +2 -2
  830. package/dist/esm-es5/{resources-1d12bf2d.js → resources-caad26c2.js} +2 -2
  831. package/dist/esm-es5/{resources-78b04a82.js → resources-d01af4f2.js} +1 -1
  832. package/dist/esm-es5/{resources-a72eb0ee.js → resources-d9adf0aa.js} +1 -1
  833. package/dist/esm-es5/{resources-e8c7f26f.js → resources-facbb78a.js} +2 -2
  834. package/dist/esm-es5/{sortable.esm-24aacc6b.js → sortable.esm-36ae3f9c.js} +1 -1
  835. package/dist/esm-es5/{utils-4a067e2c.js → utils-a03619ce.js} +1 -1
  836. package/dist/extras/docs-json.json +57 -57
  837. package/dist/loader/cdn.js +1 -1
  838. package/dist/loader/index.cjs.js +1 -1
  839. package/dist/loader/index.es2017.js +1 -1
  840. package/dist/loader/index.js +1 -1
  841. package/dist/types/components/modal/modal.d.ts +28 -28
  842. package/dist/types/components/notice/notice.d.ts +18 -18
  843. package/dist/types/components.d.ts +53 -53
  844. package/hydrate/index.js +49 -51
  845. package/package.json +16 -16
  846. package/dist/calcite/p-04a62108.js +0 -6
  847. package/dist/calcite/p-6eb2cf12.system.entry.js +0 -6
  848. package/dist/calcite/p-8539ef09.entry.js +0 -6
  849. package/dist/calcite/p-97b9e114.entry.js +0 -6
  850. package/dist/calcite/p-b18ecf8c.system.entry.js +0 -6
  851. package/dist/calcite/p-c10e9cbe.system.entry.js +0 -6
  852. package/dist/calcite/p-f6f31626.system.js +0 -6
  853. package/dist/calcite/p-f7e186ba.system.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.476
4
+ * v1.0.0-next.479
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-f29de5d1.js";import{g as getSlotted,t as toAriaBoolean,a as getElementDir}from"./dom-ee30a35e.js";import{H as Heading}from"./Heading-d8b01fc1.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-9d82a35b.js";import{u as updateHostInteraction}from"./interactive-c7c32c38.js";import{g as guid}from"./guid-af42efad.js";import"./observers-0e4c65d6.js";var CSS$1={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var TEXT$1={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var SLOTS={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var ICONS$1={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var HEADING_LEVEL=4;var blockCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);-ms-flex-preferred-size:auto;flex-basis:auto}: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}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.summary{margin-top:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-top:0.75rem;margin-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{position:relative}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.control-container{margin:0px;display:-ms-flexbox;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}';var Block=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockToggle=createEvent(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlCollapse=TEXT$1.collapse;this.intlExpand=TEXT$1.expand;this.intlLoading=TEXT$1.loading;this.intlOptions=TEXT$1.options;this.loading=false;this.open=false;this.guid=guid();this.onHeaderClick=function(){e.open=!e.open;e.calciteBlockToggle.emit()}}t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderScrim=function(){var t=this.loading;var e=h("slot",null);return[t?h("calcite-scrim",{loading:t}):null,e]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,a=e.status;var n=this.loading&&!this.open;var o=n?ICONS$1.refresh:ICONS$1[a];var r=getSlotted(i,SLOTS.icon)||o;var l=!o?h("slot",{key:"icon-slot",name:SLOTS.icon}):h("calcite-icon",{class:(t={},t[CSS$1.statusIcon]=true,t[CSS$1.valid]=a=="valid",t[CSS$1.invalid]=a=="invalid",t[CSS$1.loading]=n,t),icon:o,scale:"m"});return r?h("div",{class:CSS$1.icon},l):null};t.prototype.renderTitle=function(){var t=this,e=t.heading,i=t.headingLevel,a=t.summary;return e||a?h("div",{class:CSS$1.title},h(Heading,{class:CSS$1.heading,level:i||HEADING_LEVEL},e),a?h("div",{class:CSS$1.summary},a):null):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,a=e.el,n=e.intlCollapse,o=e.intlExpand,r=e.loading,l=e.open,c=e.intlLoading;var s=l?n||TEXT$1.collapse:o||TEXT$1.expand;var d=h("header",{class:CSS$1.header},this.renderIcon(),this.renderTitle());var m=!!getSlotted(a,SLOTS.control);var g=!!getSlotted(a,SLOTS.headerMenuActions);var p=l?ICONS$1.opened:ICONS$1.closed;var u=this.guid;var f="".concat(u,"-region");var b="".concat(u,"-button");var v=h("div",{class:CSS$1.headerContainer},this.dragHandle?h("calcite-handle",null):null,i?h("button",{"aria-controls":f,"aria-expanded":i?toAriaBoolean(l):null,"aria-label":s,class:CSS$1.toggle,id:b,onClick:this.onHeaderClick,title:s},d,!m&&!g?h("calcite-icon",{"aria-hidden":"true",class:CSS$1.toggleIcon,icon:p,scale:"s"}):null):d,r?h("calcite-loader",{inline:true,"is-active":true,label:c}):m?h("div",{class:CSS$1.controlContainer},h("slot",{name:SLOTS.control})):null,g?h("calcite-action-menu",{label:this.intlOptions||TEXT$1.options},h("slot",{name:SLOTS.headerMenuActions})):null);return h(Host,null,h("article",{"aria-busy":toAriaBoolean(r),class:(t={},t[CSS$1.article]=true,t)},v,h("section",{"aria-expanded":toAriaBoolean(l),"aria-labelledby":b,class:CSS$1.content,hidden:!l,id:f},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Block.style=blockCss;var CSS={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var TEXT={collapse:"Collapse",expand:"Expand"};var ICONS={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var blockSectionCss="@-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:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-bottom-width:1px;border-style:solid;border-bottom-color:var(--calcite-ui-border-3)}:host(:last-child){border-bottom-width:0px}.toggle{width:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-left:0px;margin-right:0px;margin-top:0.25rem;margin-bottom:0.25rem;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{margin-left:0.75rem;margin-right:0.75rem;margin-top:0px;margin-bottom:0px;-ms-flex:1 1 auto;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";var BlockSection=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockSectionToggle=createEvent(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.guid=guid();this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){e.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){e.open=!e.open;e.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var a=(e=ICONS[i])!==null&&e!==void 0?e:false;var n=(t={},t[CSS.statusIcon]=true,t[CSS.valid]=i=="valid",t[CSS.invalid]=i=="invalid",t);return!!a?h("calcite-icon",{class:n,icon:a,scale:"s"}):null};t.prototype.render=function(){var t,e;var i=this,a=i.el,n=i.intlCollapse,o=i.intlExpand,r=i.open,l=i.text,c=i.toggleDisplay;var s=getElementDir(a);var d=r?ICONS.menuOpen:s==="rtl"?ICONS.menuClosedLeft:ICONS.menuClosedRight;var m=r?n||TEXT.collapse:o||TEXT.expand;var g=this.guid;var p="".concat(g,"-region");var u="".concat(g,"-button");var f=c==="switch"?h("div",{"aria-controls":p,"aria-label":m,class:(t={},t[CSS.toggle]=true,t[CSS.toggleSwitch]=true,t),id:u,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:m},h("div",{class:CSS.toggleSwitchContent},h("span",{class:CSS.toggleSwitchText},l)),h("calcite-switch",{checked:r,label:m,scale:"s",tabIndex:-1}),this.renderStatusIcon()):h("button",{"aria-controls":p,"aria-label":m,class:(e={},e[CSS.sectionHeader]=true,e[CSS.toggle]=true,e),id:u,name:m,onClick:this.toggleSection},h("calcite-icon",{icon:d,scale:"s"}),h("span",{class:CSS.sectionHeaderText},l),this.renderStatusIcon());return h(Host,null,f,h("section",{"aria-expanded":toAriaBoolean(r),"aria-labelledby":u,class:CSS.content,hidden:!r,id:p},h("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();BlockSection.style=blockSectionCss;export{Block as calcite_block,BlockSection as calcite_block_section};
6
+ import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-18760ac4.js";import{g as getSlotted,t as toAriaBoolean,a as getElementDir}from"./dom-1efdede7.js";import{H as Heading}from"./Heading-d7128dad.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-503d3769.js";import{u as updateHostInteraction}from"./interactive-839dc37e.js";import{g as guid}from"./guid-601a38fd.js";import"./observers-b37f2c11.js";var CSS$1={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var TEXT$1={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var SLOTS={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var ICONS$1={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var HEADING_LEVEL=4;var blockCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);-ms-flex-preferred-size:auto;flex-basis:auto}: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}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.summary{margin-top:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-top:0.75rem;margin-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{position:relative}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.control-container{margin:0px;display:-ms-flexbox;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}';var Block=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockToggle=createEvent(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlCollapse=TEXT$1.collapse;this.intlExpand=TEXT$1.expand;this.intlLoading=TEXT$1.loading;this.intlOptions=TEXT$1.options;this.loading=false;this.open=false;this.guid=guid();this.onHeaderClick=function(){e.open=!e.open;e.calciteBlockToggle.emit()}}t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderScrim=function(){var t=this.loading;var e=h("slot",null);return[t?h("calcite-scrim",{loading:t}):null,e]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,a=e.status;var n=this.loading&&!this.open;var o=n?ICONS$1.refresh:ICONS$1[a];var r=getSlotted(i,SLOTS.icon)||o;var l=!o?h("slot",{key:"icon-slot",name:SLOTS.icon}):h("calcite-icon",{class:(t={},t[CSS$1.statusIcon]=true,t[CSS$1.valid]=a=="valid",t[CSS$1.invalid]=a=="invalid",t[CSS$1.loading]=n,t),icon:o,scale:"m"});return r?h("div",{class:CSS$1.icon},l):null};t.prototype.renderTitle=function(){var t=this,e=t.heading,i=t.headingLevel,a=t.summary;return e||a?h("div",{class:CSS$1.title},h(Heading,{class:CSS$1.heading,level:i||HEADING_LEVEL},e),a?h("div",{class:CSS$1.summary},a):null):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,a=e.el,n=e.intlCollapse,o=e.intlExpand,r=e.loading,l=e.open,c=e.intlLoading;var s=l?n||TEXT$1.collapse:o||TEXT$1.expand;var d=h("header",{class:CSS$1.header},this.renderIcon(),this.renderTitle());var m=!!getSlotted(a,SLOTS.control);var g=!!getSlotted(a,SLOTS.headerMenuActions);var p=l?ICONS$1.opened:ICONS$1.closed;var u=this.guid;var f="".concat(u,"-region");var b="".concat(u,"-button");var v=h("div",{class:CSS$1.headerContainer},this.dragHandle?h("calcite-handle",null):null,i?h("button",{"aria-controls":f,"aria-expanded":i?toAriaBoolean(l):null,"aria-label":s,class:CSS$1.toggle,id:b,onClick:this.onHeaderClick,title:s},d,!m&&!g?h("calcite-icon",{"aria-hidden":"true",class:CSS$1.toggleIcon,icon:p,scale:"s"}):null):d,r?h("calcite-loader",{inline:true,"is-active":true,label:c}):m?h("div",{class:CSS$1.controlContainer},h("slot",{name:SLOTS.control})):null,g?h("calcite-action-menu",{label:this.intlOptions||TEXT$1.options},h("slot",{name:SLOTS.headerMenuActions})):null);return h(Host,null,h("article",{"aria-busy":toAriaBoolean(r),class:(t={},t[CSS$1.article]=true,t)},v,h("section",{"aria-expanded":toAriaBoolean(l),"aria-labelledby":b,class:CSS$1.content,hidden:!l,id:f},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Block.style=blockCss;var CSS={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var TEXT={collapse:"Collapse",expand:"Expand"};var ICONS={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var blockSectionCss="@-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:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-bottom-width:1px;border-style:solid;border-bottom-color:var(--calcite-ui-border-3)}:host(:last-child){border-bottom-width:0px}.toggle{width:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-left:0px;margin-right:0px;margin-top:0.25rem;margin-bottom:0.25rem;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{margin-left:0.75rem;margin-right:0.75rem;margin-top:0px;margin-bottom:0px;-ms-flex:1 1 auto;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";var BlockSection=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockSectionToggle=createEvent(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.guid=guid();this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){e.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){e.open=!e.open;e.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var a=(e=ICONS[i])!==null&&e!==void 0?e:false;var n=(t={},t[CSS.statusIcon]=true,t[CSS.valid]=i=="valid",t[CSS.invalid]=i=="invalid",t);return!!a?h("calcite-icon",{class:n,icon:a,scale:"s"}):null};t.prototype.render=function(){var t,e;var i=this,a=i.el,n=i.intlCollapse,o=i.intlExpand,r=i.open,l=i.text,c=i.toggleDisplay;var s=getElementDir(a);var d=r?ICONS.menuOpen:s==="rtl"?ICONS.menuClosedLeft:ICONS.menuClosedRight;var m=r?n||TEXT.collapse:o||TEXT.expand;var g=this.guid;var p="".concat(g,"-region");var u="".concat(g,"-button");var f=c==="switch"?h("div",{"aria-controls":p,"aria-label":m,class:(t={},t[CSS.toggle]=true,t[CSS.toggleSwitch]=true,t),id:u,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:m},h("div",{class:CSS.toggleSwitchContent},h("span",{class:CSS.toggleSwitchText},l)),h("calcite-switch",{checked:r,label:m,scale:"s",tabIndex:-1}),this.renderStatusIcon()):h("button",{"aria-controls":p,"aria-label":m,class:(e={},e[CSS.sectionHeader]=true,e[CSS.toggle]=true,e),id:u,name:m,onClick:this.toggleSection},h("calcite-icon",{icon:d,scale:"s"}),h("span",{class:CSS.sectionHeaderText},l),this.renderStatusIcon());return h(Host,null,f,h("section",{"aria-expanded":toAriaBoolean(r),"aria-labelledby":u,class:CSS.content,hidden:!r,id:p},h("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();BlockSection.style=blockSectionCss;export{Block as calcite_block,BlockSection as calcite_block_section};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,a,o){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.476
6
- */import{r as registerInstance,h,g as getElement}from"./index-f29de5d1.js";import{c as closestElementCrossShadowBoundary}from"./dom-ee30a35e.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-2ccd1fec.js";import{c as createObserver}from"./observers-0e4c65d6.js";import{u as updateHostInteraction}from"./interactive-c7c32c38.js";import{s as submitForm,r as resetForm}from"./form-d5bd9ec6.js";import"./guid-af42efad.js";(function(t){if(typeof t.requestSubmit=="function")return;t.requestSubmit=function(t){if(t){e(t,this);t.click()}else{t=document.createElement("input");t.type="submit";t.hidden=true;this.appendChild(t);t.click();this.removeChild(t)}};function e(t,e){t instanceof HTMLElement||a(TypeError,"parameter 1 is not of type 'HTMLElement'");t.type=="submit"||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")}function a(t,e,a){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",a)}})(HTMLFormElement.prototype);var CSS={buttonLoader:"calcite-button--loader",content:"content",contentSlotted:"content--slotted",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",loadingIn:"loading-in",loadingOut:"loading-out",iconStartEmpty:"icon-start-empty",iconEndEmpty:"icon-end-empty"};var TEXT={loading:"Loading"};var buttonCss="@-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}";var Button=function(){function t(t){var e=this;registerInstance(this,t);this.alignment="center";this.appearance="solid";this.color="blue";this.disabled=false;this.intlLoading=TEXT.loading;this.loading=false;this.round=false;this.scale="m";this.splitChild=false;this.type="button";this.width="auto";this.mutationObserver=createObserver("mutation",(function(){return e.updateHasContent()}));this.hasContent=false;this.hasLoader=false;this.handleClick=function(){var t=e.type;if(e.href){return}if(t==="submit"){submitForm(e)}else if(t==="reset"){resetForm(e)}}}t.prototype.loadingChanged=function(t,e){var a=this;if(!!t&&!e){this.hasLoader=true}if(!t&&!!e){window.setTimeout((function(){a.hasLoader=false}),300)}};t.prototype.connectedCallback=function(){this.hasLoader=this.loading;this.setupTextContentObserver();connectLabel(this);this.formEl=closestElementCrossShadowBoundary(this.el,this.form?"#".concat(this.form):"form")};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();disconnectLabel(this);this.formEl=null};t.prototype.componentWillLoad=function(){{this.updateHasContent()}};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t,e,a;var o=this;var n=this.href?"a":"button";var r=n;var i=this.hasLoader?h("div",{class:CSS.buttonLoader},h("calcite-loader",{active:true,class:this.loading?CSS.loadingIn:CSS.loadingOut,inline:true,label:this.intlLoading,scale:"m"})):null;var c=h("calcite-icon",{class:(t={},t[CSS.icon]=true,t[CSS.iconStart]=true,t),flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var l=h("calcite-icon",{class:(e={},e[CSS.icon]=true,e[CSS.iconEnd]=true,e),flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var s=h("span",{class:CSS.content},h("slot",null));return h(r,{"aria-label":getLabelText(this),class:(a={},a[CSS.contentSlotted]=this.hasContent,a[CSS.iconStartEmpty]=!this.iconStart,a[CSS.iconEndEmpty]=!this.iconEnd,a),disabled:this.disabled||this.loading,href:n==="a"&&this.href,name:n==="button"&&this.name,onClick:this.handleClick,ref:function(t){return o.childEl=t},rel:n==="a"&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:n==="a"&&this.target,type:n==="button"&&this.type},i,this.iconStart?c:null,this.hasContent?s:null,this.iconEnd?l:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.childEl.focus();return[2]}))}))};t.prototype.updateHasContent=function(){var t,e;var a=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=this.el.childNodes.length===1&&((t=this.el.childNodes[0])===null||t===void 0?void 0:t.nodeName)==="#text"?((e=this.el.textContent)===null||e===void 0?void 0:e.trim().length)>0:a};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.onLabelClick=function(){this.handleClick();this.setFocus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{loading:["loadingChanged"]}},enumerable:false,configurable:true});return t}();Button.style=buttonCss;export{Button as calcite_button};
5
+ * v1.0.0-next.479
6
+ */import{r as registerInstance,h,g as getElement}from"./index-18760ac4.js";import{c as closestElementCrossShadowBoundary}from"./dom-1efdede7.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-32ae54d2.js";import{c as createObserver}from"./observers-b37f2c11.js";import{u as updateHostInteraction}from"./interactive-839dc37e.js";import{s as submitForm,r as resetForm}from"./form-d576db9b.js";import"./guid-601a38fd.js";(function(t){if(typeof t.requestSubmit=="function")return;t.requestSubmit=function(t){if(t){e(t,this);t.click()}else{t=document.createElement("input");t.type="submit";t.hidden=true;this.appendChild(t);t.click();this.removeChild(t)}};function e(t,e){t instanceof HTMLElement||a(TypeError,"parameter 1 is not of type 'HTMLElement'");t.type=="submit"||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")}function a(t,e,a){throw new t("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+e+".",a)}})(HTMLFormElement.prototype);var CSS={buttonLoader:"calcite-button--loader",content:"content",contentSlotted:"content--slotted",icon:"icon",iconStart:"icon--start",iconEnd:"icon--end",loadingIn:"loading-in",loadingOut:"loading-out",iconStartEmpty:"icon-start-empty",iconEndEmpty:"icon-end-empty"};var TEXT={loading:"Loading"};var buttonCss="@-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}";var Button=function(){function t(t){var e=this;registerInstance(this,t);this.alignment="center";this.appearance="solid";this.color="blue";this.disabled=false;this.intlLoading=TEXT.loading;this.loading=false;this.round=false;this.scale="m";this.splitChild=false;this.type="button";this.width="auto";this.mutationObserver=createObserver("mutation",(function(){return e.updateHasContent()}));this.hasContent=false;this.hasLoader=false;this.handleClick=function(){var t=e.type;if(e.href){return}if(t==="submit"){submitForm(e)}else if(t==="reset"){resetForm(e)}}}t.prototype.loadingChanged=function(t,e){var a=this;if(!!t&&!e){this.hasLoader=true}if(!t&&!!e){window.setTimeout((function(){a.hasLoader=false}),300)}};t.prototype.connectedCallback=function(){this.hasLoader=this.loading;this.setupTextContentObserver();connectLabel(this);this.formEl=closestElementCrossShadowBoundary(this.el,this.form?"#".concat(this.form):"form")};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();disconnectLabel(this);this.formEl=null};t.prototype.componentWillLoad=function(){{this.updateHasContent()}};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t,e,a;var o=this;var n=this.href?"a":"button";var r=n;var i=this.hasLoader?h("div",{class:CSS.buttonLoader},h("calcite-loader",{active:true,class:this.loading?CSS.loadingIn:CSS.loadingOut,inline:true,label:this.intlLoading,scale:"m"})):null;var c=h("calcite-icon",{class:(t={},t[CSS.icon]=true,t[CSS.iconStart]=true,t),flipRtl:this.iconFlipRtl==="start"||this.iconFlipRtl==="both",icon:this.iconStart,scale:"s"});var l=h("calcite-icon",{class:(e={},e[CSS.icon]=true,e[CSS.iconEnd]=true,e),flipRtl:this.iconFlipRtl==="end"||this.iconFlipRtl==="both",icon:this.iconEnd,scale:"s"});var s=h("span",{class:CSS.content},h("slot",null));return h(r,{"aria-label":getLabelText(this),class:(a={},a[CSS.contentSlotted]=this.hasContent,a[CSS.iconStartEmpty]=!this.iconStart,a[CSS.iconEndEmpty]=!this.iconEnd,a),disabled:this.disabled||this.loading,href:n==="a"&&this.href,name:n==="button"&&this.name,onClick:this.handleClick,ref:function(t){return o.childEl=t},rel:n==="a"&&this.rel,tabIndex:this.disabled||this.loading?-1:null,target:n==="a"&&this.target,type:n==="button"&&this.type},i,this.iconStart?c:null,this.hasContent?s:null,this.iconEnd?l:null)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.childEl.focus();return[2]}))}))};t.prototype.updateHasContent=function(){var t,e;var a=this.el.textContent.trim().length>0||this.el.childNodes.length>0;this.hasContent=this.el.childNodes.length===1&&((t=this.el.childNodes[0])===null||t===void 0?void 0:t.nodeName)==="#text"?((e=this.el.textContent)===null||e===void 0?void 0:e.trim().length)>0:a};t.prototype.setupTextContentObserver=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.onLabelClick=function(){this.handleClick();this.setFocus()};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{loading:["loadingChanged"]}},enumerable:false,configurable:true});return t}();Button.style=buttonCss;export{Button as calcite_button};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.476
4
+ * v1.0.0-next.479
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-f29de5d1.js";import{t as toAriaBoolean,g as getSlotted}from"./dom-ee30a35e.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-9d82a35b.js";import"./guid-af42efad.js";import"./observers-0e4c65d6.js";var CSS={container:"container",header:"header",footer:"footer",title:"title",subtitle:"subtitle",thumbnailWrapper:"thumbnail-wrapper",checkboxWrapper:"checkbox-wrapper"};var SLOTS={thumbnail:"thumbnail",title:"title",subtitle:"subtitle",footerLeading:"footer-leading",footerTrailing:"footer-trailing"};var TEXT={select:"Select",deselect:"Deselect",loading:"Loading"};var cardCss="@-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;max-width:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{margin-top:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-width:100%;max-width:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.thumbnail-wrapper{font-size:var(--calcite-font-size-0);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;top:0.5rem;inset-inline-end:0.5rem}";var Card=function(){function t(t){var e=this;registerInstance(this,t);this.calciteCardSelect=createEvent(this,"calciteCardSelect",7);this.loading=false;this.selected=false;this.selectable=false;this.intlLoading=TEXT.loading;this.intlSelect=TEXT.select;this.intlDeselect=TEXT.deselect;this.cardSelectClick=function(){e.selectCard()};this.cardSelectKeyDown=function(t){switch(t.key){case" ":case"Enter":e.selectCard();t.preventDefault();break}}}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disonnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.render=function(){var t;return h("div",{class:"calcite-card-container"},this.loading?h("div",{class:"calcite-card-loader-container"},h("calcite-loader",{active:true,label:this.intlLoading})):null,h("section",{"aria-busy":toAriaBoolean(this.loading),class:(t={},t[CSS.container]=true,t)},this.selectable?this.renderCheckbox():null,this.renderThumbnail(),this.renderHeader(),h("div",{class:"card-content"},h("slot",null)),this.renderFooter()))};t.prototype.selectCard=function(){this.selected=!this.selected;this.calciteCardSelect.emit()};t.prototype.renderThumbnail=function(){return getSlotted(this.el,SLOTS.thumbnail)?h("div",{class:CSS.thumbnailWrapper,key:"thumbnail-wrapper"},h("slot",{name:SLOTS.thumbnail})):null};t.prototype.renderCheckbox=function(){var t=this.selected?this.intlDeselect:this.intlSelect;return h("calcite-label",{class:CSS.checkboxWrapper,onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},h("calcite-checkbox",{checked:this.selected,label:t}))};t.prototype.renderHeader=function(){var t=this.el;var e=getSlotted(t,SLOTS.title);var a=getSlotted(t,SLOTS.subtitle);var i=e||a;return i?h("header",{class:CSS.header},h("slot",{name:SLOTS.title}),h("slot",{name:SLOTS.subtitle})):null};t.prototype.renderFooter=function(){var t=this.el;var e=getSlotted(t,SLOTS.footerLeading);var a=getSlotted(t,SLOTS.footerTrailing);var i=e||a;return i?h("footer",{class:CSS.footer},h("slot",{name:SLOTS.footerLeading}),h("slot",{name:SLOTS.footerTrailing})):null};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Card.style=cardCss;export{Card as calcite_card};
6
+ import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-18760ac4.js";import{t as toAriaBoolean,g as getSlotted}from"./dom-1efdede7.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-503d3769.js";import"./guid-601a38fd.js";import"./observers-b37f2c11.js";var CSS={container:"container",header:"header",footer:"footer",title:"title",subtitle:"subtitle",thumbnailWrapper:"thumbnail-wrapper",checkboxWrapper:"checkbox-wrapper"};var SLOTS={thumbnail:"thumbnail",title:"title",subtitle:"subtitle",footerLeading:"footer-leading",footerTrailing:"footer-trailing"};var TEXT={select:"Select",deselect:"Deselect",loading:"Loading"};var cardCss="@-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;max-width:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{margin-top:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-width:100%;max-width:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.thumbnail-wrapper{font-size:var(--calcite-font-size-0);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;top:0.5rem;inset-inline-end:0.5rem}";var Card=function(){function t(t){var e=this;registerInstance(this,t);this.calciteCardSelect=createEvent(this,"calciteCardSelect",7);this.loading=false;this.selected=false;this.selectable=false;this.intlLoading=TEXT.loading;this.intlSelect=TEXT.select;this.intlDeselect=TEXT.deselect;this.cardSelectClick=function(){e.selectCard()};this.cardSelectKeyDown=function(t){switch(t.key){case" ":case"Enter":e.selectCard();t.preventDefault();break}}}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disonnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.render=function(){var t;return h("div",{class:"calcite-card-container"},this.loading?h("div",{class:"calcite-card-loader-container"},h("calcite-loader",{active:true,label:this.intlLoading})):null,h("section",{"aria-busy":toAriaBoolean(this.loading),class:(t={},t[CSS.container]=true,t)},this.selectable?this.renderCheckbox():null,this.renderThumbnail(),this.renderHeader(),h("div",{class:"card-content"},h("slot",null)),this.renderFooter()))};t.prototype.selectCard=function(){this.selected=!this.selected;this.calciteCardSelect.emit()};t.prototype.renderThumbnail=function(){return getSlotted(this.el,SLOTS.thumbnail)?h("div",{class:CSS.thumbnailWrapper,key:"thumbnail-wrapper"},h("slot",{name:SLOTS.thumbnail})):null};t.prototype.renderCheckbox=function(){var t=this.selected?this.intlDeselect:this.intlSelect;return h("calcite-label",{class:CSS.checkboxWrapper,onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},h("calcite-checkbox",{checked:this.selected,label:t}))};t.prototype.renderHeader=function(){var t=this.el;var e=getSlotted(t,SLOTS.title);var a=getSlotted(t,SLOTS.subtitle);var i=e||a;return i?h("header",{class:CSS.header},h("slot",{name:SLOTS.title}),h("slot",{name:SLOTS.subtitle})):null};t.prototype.renderFooter=function(){var t=this.el;var e=getSlotted(t,SLOTS.footerLeading);var a=getSlotted(t,SLOTS.footerTrailing);var i=e||a;return i?h("footer",{class:CSS.footer},h("slot",{name:SLOTS.footerLeading}),h("slot",{name:SLOTS.footerTrailing})):null};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Card.style=cardCss;export{Card as calcite_card};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t ins
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-next.476
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-f29de5d1.js";import{g as guid}from"./guid-af42efad.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-d5bd9ec6.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-2ccd1fec.js";import{u as updateHostInteraction}from"./interactive-c7c32c38.js";import{t as toAriaBoolean}from"./dom-ee30a35e.js";var checkboxCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-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);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::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 Checkbox=function(){function t(t){var e=this;registerInstance(this,t);this.calciteInternalCheckboxBlur=createEvent(this,"calciteInternalCheckboxBlur",7);this.calciteCheckboxChange=createEvent(this,"calciteCheckboxChange",7);this.calciteInternalCheckboxFocus=createEvent(this,"calciteInternalCheckboxFocus",7);this.checked=false;this.disabled=false;this.hovered=false;this.indeterminate=false;this.required=false;this.scale="m";this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z";this.indeterminatePath="M13 8v1H3V8z";this.getPath=function(){return e.indeterminate?e.indeterminatePath:e.checked?e.checkedPath:""};this.toggle=function(){if(!e.disabled){e.checked=!e.checked;e.setFocus();e.indeterminate=false;e.calciteCheckboxChange.emit()}};this.keyDownHandler=function(t){if(t.key===" "||t.key==="Enter"){e.toggle();t.preventDefault()}};this.clickHandler=function(){e.toggle()};this.onToggleBlur=function(){e.calciteInternalCheckboxBlur.emit(false)};this.onToggleFocus=function(){e.calciteInternalCheckboxFocus.emit(true)};this.onLabelClick=function(){e.toggle()}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.toggleEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.connectedCallback=function(){this.guid=this.el.id||"calcite-checkbox-".concat(guid());connectLabel(this);connectForm(this)};t.prototype.disconnectedCallback=function(){disconnectLabel(this);disconnectForm(this)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t=this;return h(Host,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},h("div",{"aria-checked":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:function(e){return t.toggleEl=e},role:"checkbox",tabIndex:this.disabled?undefined:0},h("svg",{class:"check-svg",viewBox:"0 0 16 16"},h("path",{d:this.getPath()})),h("slot",null)),h(HiddenFormInputSlot,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Checkbox.style=checkboxCss;export{Checkbox as calcite_checkbox};
5
+ * v1.0.0-next.479
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-18760ac4.js";import{g as guid}from"./guid-601a38fd.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-d576db9b.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-32ae54d2.js";import{u as updateHostInteraction}from"./interactive-839dc37e.js";import{t as toAriaBoolean}from"./dom-1efdede7.js";var checkboxCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-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);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::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 Checkbox=function(){function t(t){var e=this;registerInstance(this,t);this.calciteInternalCheckboxBlur=createEvent(this,"calciteInternalCheckboxBlur",7);this.calciteCheckboxChange=createEvent(this,"calciteCheckboxChange",7);this.calciteInternalCheckboxFocus=createEvent(this,"calciteInternalCheckboxFocus",7);this.checked=false;this.disabled=false;this.hovered=false;this.indeterminate=false;this.required=false;this.scale="m";this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z";this.indeterminatePath="M13 8v1H3V8z";this.getPath=function(){return e.indeterminate?e.indeterminatePath:e.checked?e.checkedPath:""};this.toggle=function(){if(!e.disabled){e.checked=!e.checked;e.setFocus();e.indeterminate=false;e.calciteCheckboxChange.emit()}};this.keyDownHandler=function(t){if(t.key===" "||t.key==="Enter"){e.toggle();t.preventDefault()}};this.clickHandler=function(){e.toggle()};this.onToggleBlur=function(){e.calciteInternalCheckboxBlur.emit(false)};this.onToggleFocus=function(){e.calciteInternalCheckboxFocus.emit(true)};this.onLabelClick=function(){e.toggle()}}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){(t=this.toggleEl)===null||t===void 0?void 0:t.focus();return[2]}))}))};t.prototype.connectedCallback=function(){this.guid=this.el.id||"calcite-checkbox-".concat(guid());connectLabel(this);connectForm(this)};t.prototype.disconnectedCallback=function(){disconnectLabel(this);disconnectForm(this)};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.render=function(){var t=this;return h(Host,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},h("div",{"aria-checked":toAriaBoolean(this.checked),"aria-label":getLabelText(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:function(e){return t.toggleEl=e},role:"checkbox",tabIndex:this.disabled?undefined:0},h("svg",{class:"check-svg",viewBox:"0 0 16 16"},h("path",{d:this.getPath()})),h("slot",null)),h(HiddenFormInputSlot,{component:this}))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Checkbox.style=checkboxCss;export{Checkbox as calcite_checkbox};
@@ -2,5 +2,5 @@ var __awaiter=this&&this.__awaiter||function(i,e,t,a){function n(i){return i 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.476
6
- */import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-f29de5d1.js";import{g as getSlotted}from"./dom-ee30a35e.js";import{g as guid}from"./guid-af42efad.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-9d82a35b.js";import"./observers-0e4c65d6.js";var CSS={title:"title",close:"close",imageContainer:"image-container",chipIcon:"chip-icon",closeIcon:"close-icon"};var TEXT={close:"Close"};var SLOTS={image:"image"};var ICONS={close:"x"};var chipCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .image-container{height:1.5rem;width:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){height:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{height:2rem;width:2rem;padding-left:0.25rem}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:-ms-inline-flexbox;display:inline-flex;height:100%;max-width:100%;-ms-flex-align:center;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-height:100%;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-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-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding:0 var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-top:0px;margin-bottom:0px;display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) .close-icon{color:var(--calcite-ui-text-3)}:host([color=grey][appearance=solid]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}";var Chip=function(){function i(i){var e=this;registerInstance(this,i);this.calciteChipDismiss=createEvent(this,"calciteChipDismiss",7);this.appearance="solid";this.color="grey";this.dismissible=false;this.dismissLabel=TEXT.close;this.iconFlipRtl=false;this.scale="m";this.closeClickHandler=function(i){i.preventDefault();e.calciteChipDismiss.emit(e.el)};this.guid=guid()}i.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};i.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};i.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){(i=this.closeButton)===null||i===void 0?void 0:i.focus();return[2]}))}))};i.prototype.renderChipImage=function(){var i=this.el;var e=getSlotted(i,SLOTS.image);return e?h("div",{class:CSS.imageContainer,key:"image"},h("slot",{name:SLOTS.image})):null};i.prototype.render=function(){var i=this;var e=h("calcite-icon",{class:CSS.chipIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});var t=h("button",{"aria-describedby":this.guid,"aria-label":this.dismissLabel,class:CSS.close,onClick:this.closeClickHandler,ref:function(e){return i.closeButton=e}},h("calcite-icon",{class:CSS.closeIcon,icon:ICONS.close,scale:"s"}));return h("div",{class:"container"},this.renderChipImage(),this.icon?e:null,h("span",{class:CSS.title,id:this.guid},h("slot",null)),this.dismissible?t:null)};Object.defineProperty(i.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return i}();Chip.style=chipCss;export{Chip as calcite_chip};
5
+ * v1.0.0-next.479
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-18760ac4.js";import{g as getSlotted}from"./dom-1efdede7.js";import{g as guid}from"./guid-601a38fd.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-503d3769.js";import"./observers-b37f2c11.js";var CSS={title:"title",close:"close",imageContainer:"image-container",chipIcon:"chip-icon",closeIcon:"close-icon"};var TEXT={close:"Close"};var SLOTS={image:"image"};var ICONS={close:"x"};var chipCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .image-container{height:1.5rem;width:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){height:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{height:2rem;width:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:-ms-inline-flexbox;display:inline-flex;height:100%;max-width:100%;-ms-flex-align:center;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-height:100%;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-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-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding:0 var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-top:0px;margin-bottom:0px;display:-ms-inline-flexbox;display:inline-flex;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) .close-icon{color:var(--calcite-ui-text-3)}:host([color=grey][appearance=solid]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}";var Chip=function(){function i(i){var e=this;registerInstance(this,i);this.calciteChipDismiss=createEvent(this,"calciteChipDismiss",7);this.appearance="solid";this.color="grey";this.dismissible=false;this.dismissLabel=TEXT.close;this.iconFlipRtl=false;this.scale="m";this.closeClickHandler=function(i){i.preventDefault();e.calciteChipDismiss.emit(e.el)};this.guid=guid()}i.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};i.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};i.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){(i=this.closeButton)===null||i===void 0?void 0:i.focus();return[2]}))}))};i.prototype.renderChipImage=function(){var i=this.el;var e=getSlotted(i,SLOTS.image);return e?h("div",{class:CSS.imageContainer,key:"image"},h("slot",{name:SLOTS.image})):null};i.prototype.render=function(){var i=this;var e=h("calcite-icon",{class:CSS.chipIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});var t=h("button",{"aria-describedby":this.guid,"aria-label":this.dismissLabel,class:CSS.close,onClick:this.closeClickHandler,ref:function(e){return i.closeButton=e}},h("calcite-icon",{class:CSS.closeIcon,icon:ICONS.close,scale:"s"}));return h("div",{class:"container"},this.renderChipImage(),this.icon?e:null,h("span",{class:CSS.title,id:this.guid},h("slot",null)),this.dismissible?t:null)};Object.defineProperty(i.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return i}();Chip.style=chipCss;export{Chip as calcite_chip};