@esri/calcite-components 1.0.0-beta.82 → 1.0.0-beta.83

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 (1064) hide show
  1. package/dist/calcite/assets/date-picker/nls/ru.json +4 -4
  2. package/dist/calcite/assets/icon/listCheckAll16.json +1 -0
  3. package/dist/calcite/assets/icon/listCheckAll24.json +1 -0
  4. package/dist/calcite/assets/icon/listCheckAll32.json +1 -0
  5. package/dist/calcite/assets/icon/ltrElementsAlign16.json +1 -0
  6. package/dist/calcite/assets/icon/ltrElementsAlign24.json +1 -0
  7. package/dist/calcite/assets/icon/ltrElementsAlign32.json +1 -0
  8. package/dist/calcite/assets/icon/ltrParagraphAlign16.json +1 -0
  9. package/dist/calcite/assets/icon/ltrParagraphAlign24.json +1 -0
  10. package/dist/calcite/assets/icon/ltrParagraphAlign32.json +1 -0
  11. package/dist/calcite/assets/icon/rangefinder16.json +1 -0
  12. package/dist/calcite/assets/icon/rangefinder24.json +1 -0
  13. package/dist/calcite/assets/icon/rangefinder32.json +1 -0
  14. package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -1
  15. package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -1
  16. package/dist/calcite/assets/icon/rfid16.json +1 -0
  17. package/dist/calcite/assets/icon/rfid24.json +1 -0
  18. package/dist/calcite/assets/icon/rfid32.json +1 -0
  19. package/dist/calcite/assets/icon/rtlElementsAlign16.json +1 -0
  20. package/dist/calcite/assets/icon/rtlElementsAlign24.json +1 -0
  21. package/dist/calcite/assets/icon/rtlElementsAlign32.json +1 -0
  22. package/dist/calcite/assets/icon/rtlParagraphAlign16.json +1 -0
  23. package/dist/calcite/assets/icon/rtlParagraphAlign24.json +1 -0
  24. package/dist/calcite/assets/icon/rtlParagraphAlign32.json +1 -0
  25. package/dist/calcite/calcite.css +1 -1
  26. package/dist/calcite/calcite.esm.js +2 -2
  27. package/dist/calcite/calcite.js +1 -1
  28. package/dist/calcite/index.esm.js +1 -1
  29. package/dist/calcite/{p-da7761d3.js → p-004e3dc9.js} +2 -2
  30. package/dist/calcite/p-07587a94.system.entry.js +6 -0
  31. package/dist/calcite/{p-f5394fa4.system.entry.js → p-0804ce36.system.entry.js} +3 -3
  32. package/dist/calcite/p-08b6213a.system.js +6 -0
  33. package/dist/calcite/{p-a56b2d66.entry.js → p-0cbdfc7e.entry.js} +2 -2
  34. package/dist/calcite/p-0d37d621.system.entry.js +6 -0
  35. package/dist/calcite/p-0e1c259f.system.entry.js +6 -0
  36. package/dist/calcite/p-0f41fb58.entry.js +6 -0
  37. package/dist/calcite/p-0fc84480.js +6 -0
  38. package/dist/calcite/p-132b60fd.system.entry.js +6 -0
  39. package/dist/calcite/p-1571ede3.system.entry.js +6 -0
  40. package/dist/calcite/{p-a66f170f.entry.js → p-1755cd6f.entry.js} +2 -2
  41. package/dist/calcite/{p-f86fd5f9.system.js → p-191d0802.system.js} +2 -2
  42. package/dist/calcite/p-1a07da7e.system.js +6 -0
  43. package/dist/calcite/{p-23a643c6.entry.js → p-1a5fc48b.entry.js} +2 -2
  44. package/dist/calcite/{p-a3d47df8.system.js → p-1ba93966.system.js} +1 -1
  45. package/dist/calcite/{p-cca09bde.system.js → p-1bc2d58d.system.js} +1 -1
  46. package/dist/calcite/{p-c76d3ea1.entry.js → p-1eb6cfb5.entry.js} +2 -2
  47. package/dist/calcite/p-1f94715e.entry.js +6 -0
  48. package/dist/calcite/p-2111668f.system.entry.js +6 -0
  49. package/dist/calcite/{p-d76afd8f.entry.js → p-23188966.entry.js} +2 -2
  50. package/dist/calcite/p-24edad61.entry.js +6 -0
  51. package/dist/calcite/p-25fd5141.entry.js +6 -0
  52. package/dist/calcite/p-2609d345.system.entry.js +6 -0
  53. package/dist/calcite/{p-ef059155.system.entry.js → p-26526a6d.system.entry.js} +2 -2
  54. package/dist/calcite/{p-fa2ce2ae.entry.js → p-2778cb53.entry.js} +2 -2
  55. package/dist/calcite/{p-164bea30.system.js → p-2785ecb9.system.js} +2 -2
  56. package/dist/calcite/{p-7f183647.js → p-292c567d.js} +1 -1
  57. package/dist/calcite/{p-89b2f38d.js → p-2c974b60.js} +1 -1
  58. package/dist/calcite/{p-9987d5e9.entry.js → p-2e57803f.entry.js} +2 -2
  59. package/dist/calcite/{p-6ca6734d.system.js → p-2f82a677.system.js} +1 -1
  60. package/dist/calcite/p-2fcac2cf.system.entry.js +6 -0
  61. package/dist/calcite/p-2fd30fee.entry.js +6 -0
  62. package/dist/calcite/{p-28dc602c.system.entry.js → p-358cba5a.system.entry.js} +2 -2
  63. package/dist/calcite/p-37c23e83.system.entry.js +6 -0
  64. package/dist/calcite/p-3962123d.system.entry.js +6 -0
  65. package/dist/calcite/{p-0dbcb343.js → p-3981a495.js} +1 -1
  66. package/dist/calcite/p-3a256056.entry.js +6 -0
  67. package/dist/calcite/{p-fd5d23d1.system.entry.js → p-3b54c4a0.system.entry.js} +2 -2
  68. package/dist/calcite/p-3d4548a9.js +6 -0
  69. package/dist/calcite/p-3f00dc7c.entry.js +6 -0
  70. package/dist/calcite/p-3f80afb9.system.entry.js +6 -0
  71. package/dist/calcite/p-41b0a2a1.system.js +6 -0
  72. package/dist/calcite/p-4214c119.system.entry.js +6 -0
  73. package/dist/calcite/p-45b6d321.entry.js +6 -0
  74. package/dist/calcite/p-4620ae05.entry.js +6 -0
  75. package/dist/calcite/p-462cefe9.system.entry.js +6 -0
  76. package/dist/calcite/{p-88147c4a.system.js → p-46d30c39.system.js} +1 -1
  77. package/dist/calcite/{p-f8d59d84.entry.js → p-476e276f.entry.js} +2 -2
  78. package/dist/calcite/p-47bf0f7d.entry.js +6 -0
  79. package/dist/calcite/p-47dd3632.entry.js +6 -0
  80. package/dist/calcite/p-4a88016c.system.entry.js +6 -0
  81. package/dist/calcite/{p-ee9b4197.js → p-4effc6db.js} +1 -1
  82. package/dist/calcite/p-4f71c68d.js +6 -0
  83. package/dist/calcite/p-4f82d10a.system.entry.js +6 -0
  84. package/dist/calcite/{p-446cb0a3.system.entry.js → p-506f5631.system.entry.js} +2 -2
  85. package/dist/calcite/p-515e5f7e.system.entry.js +6 -0
  86. package/dist/calcite/{p-0985e4df.system.entry.js → p-5207385b.system.entry.js} +2 -2
  87. package/dist/calcite/p-53b147dc.system.entry.js +6 -0
  88. package/dist/calcite/{p-3819513d.system.js → p-57ccba45.system.js} +1 -1
  89. package/dist/calcite/{p-7f556dbd.entry.js → p-5904a047.entry.js} +2 -2
  90. package/dist/calcite/{p-1af2a45c.entry.js → p-59122590.entry.js} +2 -2
  91. package/dist/calcite/p-59aae748.entry.js +6 -0
  92. package/dist/calcite/{p-56096486.system.entry.js → p-5ae3ce21.system.entry.js} +3 -3
  93. package/dist/calcite/{p-bf2fe8b0.js → p-5afb0fbb.js} +2 -2
  94. package/dist/calcite/p-5b60d64c.system.entry.js +6 -0
  95. package/dist/calcite/p-5df0640c.system.entry.js +6 -0
  96. package/dist/calcite/p-5e07a875.system.entry.js +6 -0
  97. package/dist/calcite/p-5eb016b6.system.entry.js +6 -0
  98. package/dist/calcite/p-61483431.system.entry.js +6 -0
  99. package/dist/calcite/p-623f6224.entry.js +6 -0
  100. package/dist/calcite/{p-474380ed.system.entry.js → p-636e43ac.system.entry.js} +2 -2
  101. package/dist/calcite/p-63d2bcec.system.entry.js +6 -0
  102. package/dist/calcite/p-64384786.entry.js +6 -0
  103. package/dist/calcite/p-6531fb85.entry.js +6 -0
  104. package/dist/calcite/{p-7dcdfeac.entry.js → p-67af4998.entry.js} +2 -2
  105. package/dist/calcite/{p-3e21c354.entry.js → p-67ef236d.entry.js} +2 -2
  106. package/dist/calcite/{p-d40e595b.system.js → p-68e3013f.system.js} +2 -2
  107. package/dist/calcite/p-6a966c2f.entry.js +6 -0
  108. package/dist/calcite/{p-4f823472.system.entry.js → p-6bcb5a71.system.entry.js} +2 -2
  109. package/dist/calcite/p-6d41e372.system.entry.js +6 -0
  110. package/dist/calcite/p-717fac51.entry.js +6 -0
  111. package/dist/calcite/{p-fc2144e0.system.entry.js → p-773b540e.system.entry.js} +2 -2
  112. package/dist/calcite/{p-d04eb041.system.js → p-77762ff3.system.js} +1 -1
  113. package/dist/calcite/{p-d674d041.entry.js → p-78f2801c.entry.js} +2 -2
  114. package/dist/calcite/{p-01dc5605.entry.js → p-799f79af.entry.js} +2 -2
  115. package/dist/calcite/{p-1094dab2.js → p-7a8cddad.js} +1 -1
  116. package/dist/calcite/{p-8505461f.entry.js → p-7a95bbeb.entry.js} +2 -2
  117. package/dist/calcite/p-7bbfe1a2.system.entry.js +6 -0
  118. package/dist/calcite/p-7d8fe7b3.system.entry.js +6 -0
  119. package/dist/calcite/p-7e576c74.system.entry.js +6 -0
  120. package/dist/calcite/p-800a9250.entry.js +6 -0
  121. package/dist/calcite/p-834f407d.system.entry.js +6 -0
  122. package/dist/calcite/p-85a769d3.system.entry.js +6 -0
  123. package/dist/calcite/p-878d7c09.system.js +6 -0
  124. package/dist/calcite/{p-997202fe.js → p-8dfe7af3.js} +2 -2
  125. package/dist/calcite/{p-9969deb4.system.entry.js → p-8e2129c6.system.entry.js} +2 -2
  126. package/dist/calcite/{p-a1f93b32.js → p-900fd30e.js} +2 -2
  127. package/dist/calcite/{p-4cd8e82e.system.entry.js → p-912c9e61.system.entry.js} +2 -2
  128. package/dist/calcite/p-940ac25d.system.entry.js +6 -0
  129. package/dist/calcite/p-9634f60d.entry.js +6 -0
  130. package/dist/calcite/{p-e0fb9338.entry.js → p-98dc9493.entry.js} +2 -2
  131. package/dist/calcite/{p-a4729c51.system.js → p-994d99ff.system.js} +3 -2
  132. package/dist/calcite/{p-b2947a00.system.entry.js → p-9ba769e3.system.entry.js} +2 -2
  133. package/dist/calcite/{p-aaad5997.system.entry.js → p-9c85d763.system.entry.js} +2 -2
  134. package/dist/calcite/p-9d3f8b0c.system.entry.js +6 -0
  135. package/dist/calcite/{p-f383e414.js → p-9ea395ee.js} +2 -2
  136. package/dist/calcite/p-a1118db1.entry.js +6 -0
  137. package/dist/calcite/p-a1176eac.system.entry.js +6 -0
  138. package/dist/calcite/p-a3e19cec.entry.js +6 -0
  139. package/dist/calcite/{p-64f15878.system.entry.js → p-a5fd7a87.system.entry.js} +2 -2
  140. package/dist/calcite/{p-d6381f74.js → p-a73419ab.js} +1 -1
  141. package/dist/calcite/{p-68277cce.system.js → p-a75ad7cb.system.js} +1 -1
  142. package/dist/calcite/p-a81ad35a.entry.js +6 -0
  143. package/dist/calcite/{p-a1076e59.system.js → p-a945b681.system.js} +2 -2
  144. package/dist/calcite/{p-30dfc127.system.js → p-acafe8ca.system.js} +1 -1
  145. package/dist/calcite/p-adc2b773.entry.js +6 -0
  146. package/dist/calcite/{p-18bcf729.js → p-ae6f5622.js} +1 -1
  147. package/dist/calcite/{p-e3ee7868.system.js → p-ba349f22.system.js} +1 -1
  148. package/dist/calcite/p-c1548c19.js +6 -0
  149. package/dist/calcite/p-c470cecf.entry.js +6 -0
  150. package/dist/calcite/p-c5eec108.entry.js +6 -0
  151. package/dist/calcite/{p-80e8926a.entry.js → p-c84f0dec.entry.js} +2 -2
  152. package/dist/calcite/p-c86b91ca.entry.js +6 -0
  153. package/dist/calcite/{p-55057483.system.js → p-c96917cb.system.js} +1 -1
  154. package/dist/calcite/p-caea0782.js +7 -0
  155. package/dist/calcite/p-cbe3c2c0.entry.js +6 -0
  156. package/dist/calcite/p-ccb27d44.system.entry.js +6 -0
  157. package/dist/calcite/{p-70f33b3e.js → p-ccb5a784.js} +1 -1
  158. package/dist/calcite/{p-82da0c62.entry.js → p-d1d05643.entry.js} +2 -2
  159. package/dist/calcite/{p-83192ea5.system.js → p-d901c470.system.js} +1 -1
  160. package/dist/calcite/{p-fcac8f9c.system.entry.js → p-db63dc35.system.entry.js} +2 -2
  161. package/dist/calcite/p-dc10e8bb.system.entry.js +6 -0
  162. package/dist/calcite/{p-3de000e5.system.js → p-ddb96773.system.js} +2 -2
  163. package/dist/calcite/{p-3c3ec245.entry.js → p-df419c8b.entry.js} +2 -2
  164. package/dist/calcite/p-e0ff045a.js +6 -0
  165. package/dist/calcite/{p-a3074bb4.system.entry.js → p-e117fad1.system.entry.js} +2 -2
  166. package/dist/calcite/{p-a0f7fe5b.system.js → p-e3076302.system.js} +3 -3
  167. package/dist/calcite/{p-33694839.js → p-e321018b.js} +1 -1
  168. package/dist/calcite/{p-fe972352.js → p-e6ef10e2.js} +1 -1
  169. package/dist/calcite/p-e7336cab.entry.js +6 -0
  170. package/dist/calcite/{p-d22143e9.system.entry.js → p-e9e34c7f.system.entry.js} +2 -2
  171. package/dist/calcite/{p-df476c53.system.entry.js → p-ed0608ea.system.entry.js} +2 -2
  172. package/dist/calcite/p-eda11878.entry.js +6 -0
  173. package/dist/calcite/{p-dd444456.js → p-edf3436f.js} +2 -2
  174. package/dist/calcite/p-ee47a382.system.entry.js +6 -0
  175. package/dist/calcite/{p-6bf2e610.entry.js → p-ee8f8d7e.entry.js} +2 -2
  176. package/dist/calcite/{p-7ae35ad7.entry.js → p-ef4ca55d.entry.js} +2 -2
  177. package/dist/calcite/p-f1935a52.entry.js +6 -0
  178. package/dist/calcite/p-f313806e.entry.js +6 -0
  179. package/dist/calcite/p-f39d0565.system.entry.js +6 -0
  180. package/dist/calcite/{p-e9e1dee1.js → p-f46cf640.js} +1 -1
  181. package/dist/calcite/{p-dc14a2a0.js → p-f54288ad.js} +1 -1
  182. package/dist/calcite/{p-ca9efa2d.system.js → p-f7546789.system.js} +1 -1
  183. package/dist/calcite/{p-9802e5ca.entry.js → p-f828bc9b.entry.js} +2 -2
  184. package/dist/calcite/p-f850e63f.system.js +6 -0
  185. package/dist/calcite/{p-01386e9f.entry.js → p-f91e835d.entry.js} +2 -2
  186. package/dist/calcite/{p-8b0ea955.system.js → p-f9687b03.system.js} +1 -1
  187. package/dist/calcite/p-f96d2623.system.entry.js +6 -0
  188. package/dist/calcite/{p-3e92df28.entry.js → p-faaa959a.entry.js} +2 -2
  189. package/dist/calcite/{p-ad58c01e.system.js → p-fba2fa9f.system.js} +2 -2
  190. package/dist/calcite/{p-2681265e.entry.js → p-fd5a2277.entry.js} +2 -2
  191. package/dist/calcite/{p-792fd998.entry.js → p-fd70b6c1.entry.js} +2 -2
  192. package/dist/calcite/{p-410b7a2a.system.entry.js → p-feb71776.system.entry.js} +2 -2
  193. package/dist/cjs/{ExpandToggle-8c61677e.js → ExpandToggle-988c63cd.js} +8 -6
  194. package/dist/cjs/{Heading-0cb5902d.js → Heading-19d7669b.js} +2 -2
  195. package/dist/cjs/{array-f1fe66d8.js → array-d5bca414.js} +1 -1
  196. package/dist/cjs/calcite-accordion_2.cjs.entry.js +23 -17
  197. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -11
  198. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  199. package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -13
  200. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -10
  201. package/dist/cjs/calcite-action.cjs.entry.js +10 -8
  202. package/dist/cjs/calcite-alert.cjs.entry.js +17 -14
  203. package/dist/cjs/calcite-avatar.cjs.entry.js +10 -5
  204. package/dist/cjs/calcite-block_2.cjs.entry.js +20 -12
  205. package/dist/cjs/calcite-button.cjs.entry.js +13 -11
  206. package/dist/cjs/calcite-card.cjs.entry.js +23 -14
  207. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -9
  208. package/dist/cjs/calcite-chip.cjs.entry.js +10 -8
  209. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +70 -29
  210. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -16
  211. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +83 -23
  212. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +55 -33
  213. package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
  214. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  215. package/dist/cjs/calcite-flow.cjs.entry.js +12 -18
  216. package/dist/cjs/calcite-graph_2.cjs.entry.js +56 -11
  217. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  218. package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
  219. package/dist/cjs/calcite-inline-editable.cjs.entry.js +19 -13
  220. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +36 -21
  221. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  222. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +64 -31
  223. package/dist/cjs/calcite-input.cjs.entry.js +27 -21
  224. package/dist/cjs/calcite-label.cjs.entry.js +7 -6
  225. package/dist/cjs/calcite-link.cjs.entry.js +8 -7
  226. package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
  227. package/dist/cjs/calcite-loader.cjs.entry.js +11 -9
  228. package/dist/cjs/calcite-modal.cjs.entry.js +30 -21
  229. package/dist/cjs/calcite-notice.cjs.entry.js +17 -15
  230. package/dist/cjs/calcite-option_3.cjs.entry.js +14 -14
  231. package/dist/cjs/calcite-pagination.cjs.entry.js +91 -6
  232. package/dist/cjs/calcite-panel.cjs.entry.js +19 -12
  233. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +32 -23
  234. package/dist/cjs/calcite-popover_2.cjs.entry.js +54 -19
  235. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  236. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  237. package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -9
  238. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -11
  239. package/dist/cjs/calcite-rating.cjs.entry.js +14 -10
  240. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -3
  241. package/dist/cjs/calcite-shell_3.cjs.entry.js +9 -8
  242. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  243. package/dist/cjs/calcite-split-button.cjs.entry.js +9 -6
  244. package/dist/cjs/calcite-stepper_2.cjs.entry.js +40 -26
  245. package/dist/cjs/calcite-switch.cjs.entry.js +11 -9
  246. package/dist/cjs/calcite-tab_4.cjs.entry.js +52 -28
  247. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
  248. package/dist/cjs/calcite-tile.cjs.entry.js +9 -8
  249. package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -9
  250. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +32 -14
  251. package/dist/cjs/calcite-tree_2.cjs.entry.js +27 -16
  252. package/dist/cjs/calcite-value-list_2.cjs.entry.js +26 -18
  253. package/dist/cjs/calcite.cjs.js +4 -4
  254. package/dist/cjs/{conditionalSlot-ba5cd797.js → conditionalSlot-462ae1f4.js} +7 -3
  255. package/dist/cjs/{debounce-94d2834e.js → debounce-5127bc67.js} +1 -1
  256. package/dist/cjs/{dom-9ac0341c.js → dom-b0904219.js} +10 -2
  257. package/dist/cjs/{forIn-9f737b26.js → forIn-265c8eb3.js} +2 -2
  258. package/dist/cjs/{form-11926121.js → form-4c32a5c7.js} +19 -3
  259. package/dist/cjs/{guid-8b6d6cb4.js → guid-8af0f93c.js} +1 -1
  260. package/dist/cjs/{index-5c65e149.js → index-82ee13f7.js} +7 -5
  261. package/dist/cjs/index.cjs.js +1 -1
  262. package/dist/cjs/{interactive-e294111f.js → interactive-15f9fd28.js} +7 -4
  263. package/dist/cjs/{interfaces-083f4502.js → interfaces-86334104.js} +1 -1
  264. package/dist/cjs/{label-165fc611.js → label-131d9cce.js} +9 -2
  265. package/dist/cjs/loader.cjs.js +4 -4
  266. package/dist/cjs/{locale-f2ebe4fa.js → locale-6c28abd8.js} +8 -6
  267. package/dist/cjs/{math-9d6de52c.js → math-2f83830f.js} +1 -1
  268. package/dist/cjs/{number-364babbc.js → number-6f1151e7.js} +1 -1
  269. package/dist/cjs/{observers-d9fdf006.js → observers-f672f664.js} +1 -1
  270. package/dist/cjs/{popper-3f97eb01.js → popper-5ca144d4.js} +2 -2
  271. package/dist/cjs/{resources-1a214670.js → resources-06f33bd4.js} +1 -1
  272. package/dist/cjs/{resources-5da94c46.js → resources-08dc0a5e.js} +1 -1
  273. package/dist/cjs/{resources-684ec2e5.js → resources-0de59f13.js} +8 -8
  274. package/dist/cjs/{resources-247d05d5.js → resources-24a7ca1a.js} +44 -3
  275. package/dist/cjs/{sortable.esm-0005295a.js → sortable.esm-8e944897.js} +1 -1
  276. package/dist/cjs/{utils-51c079f6.js → utils-f3a37c0a.js} +1 -1
  277. package/dist/collection/collection-manifest.json +1 -1
  278. package/dist/collection/components/accordion/accordion.js +16 -11
  279. package/dist/collection/components/accordion/interfaces.js +1 -1
  280. package/dist/collection/components/accordion-item/accordion-item.css +0 -2
  281. package/dist/collection/components/accordion-item/accordion-item.js +14 -13
  282. package/dist/collection/components/action/action.css +1 -3
  283. package/dist/collection/components/action/action.js +4 -2
  284. package/dist/collection/components/action/resources.js +1 -1
  285. package/dist/collection/components/action-bar/action-bar.js +15 -4
  286. package/dist/collection/components/action-bar/resources.js +1 -1
  287. package/dist/collection/components/action-bar/utils.js +1 -1
  288. package/dist/collection/components/action-group/action-group.js +1 -1
  289. package/dist/collection/components/action-group/resources.js +1 -1
  290. package/dist/collection/components/action-menu/action-menu.css +0 -2
  291. package/dist/collection/components/action-menu/action-menu.js +7 -5
  292. package/dist/collection/components/action-menu/resources.js +1 -1
  293. package/dist/collection/components/action-pad/action-pad.js +14 -4
  294. package/dist/collection/components/action-pad/resources.js +1 -1
  295. package/dist/collection/components/alert/alert.css +9 -18
  296. package/dist/collection/components/alert/alert.js +18 -14
  297. package/dist/collection/components/alert/interfaces.js +1 -1
  298. package/dist/collection/components/alert/resources.js +1 -1
  299. package/dist/collection/components/avatar/avatar.js +1 -1
  300. package/dist/collection/components/avatar/utils.js +6 -1
  301. package/dist/collection/components/block/block.css +0 -2
  302. package/dist/collection/components/block/block.js +19 -5
  303. package/dist/collection/components/block/resources.js +1 -1
  304. package/dist/collection/components/block-section/block-section.css +0 -2
  305. package/dist/collection/components/block-section/block-section.js +1 -1
  306. package/dist/collection/components/block-section/interfaces.js +1 -1
  307. package/dist/collection/components/block-section/resources.js +1 -1
  308. package/dist/collection/components/button/button.css +1 -3
  309. package/dist/collection/components/button/button.js +5 -3
  310. package/dist/collection/components/button/interfaces.js +1 -1
  311. package/dist/collection/components/button/resources.js +1 -1
  312. package/dist/collection/components/card/card.css +19 -5
  313. package/dist/collection/components/card/card.js +43 -9
  314. package/dist/collection/components/card/resources.js +3 -3
  315. package/dist/collection/components/checkbox/checkbox.css +11 -12
  316. package/dist/collection/components/checkbox/checkbox.js +3 -2
  317. package/dist/collection/components/chip/chip.css +2 -7
  318. package/dist/collection/components/chip/chip.js +4 -2
  319. package/dist/collection/components/chip/interfaces.js +1 -1
  320. package/dist/collection/components/chip/resources.js +1 -1
  321. package/dist/collection/components/color-picker/color-picker.css +0 -3
  322. package/dist/collection/components/color-picker/color-picker.js +58 -19
  323. package/dist/collection/components/color-picker/interfaces.js +1 -1
  324. package/dist/collection/components/color-picker/resources.js +1 -1
  325. package/dist/collection/components/color-picker/utils.js +1 -1
  326. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +5 -3
  327. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  328. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  329. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  330. package/dist/collection/components/combobox/combobox.css +0 -2
  331. package/dist/collection/components/combobox/combobox.js +7 -4
  332. package/dist/collection/components/combobox/interfaces.js +1 -1
  333. package/dist/collection/components/combobox/resources.js +1 -1
  334. package/dist/collection/components/combobox/utils.js +1 -1
  335. package/dist/collection/components/combobox-item/combobox-item.css +0 -2
  336. package/dist/collection/components/combobox-item/combobox-item.js +11 -3
  337. package/dist/collection/components/combobox-item/resources.js +1 -1
  338. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  339. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  340. package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
  341. package/dist/collection/components/date-picker/date-picker.js +30 -5
  342. package/dist/collection/components/date-picker/interfaces.js +1 -1
  343. package/dist/collection/components/date-picker/resources.js +1 -1
  344. package/dist/collection/components/date-picker/utils.js +7 -1
  345. package/dist/collection/components/date-picker-day/date-picker-day.css +7 -7
  346. package/dist/collection/components/date-picker-day/date-picker-day.js +4 -4
  347. package/dist/collection/components/date-picker-month/date-picker-month.js +37 -9
  348. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -7
  349. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +8 -1
  350. package/dist/collection/components/dropdown/dropdown.css +0 -1
  351. package/dist/collection/components/dropdown/dropdown.js +38 -18
  352. package/dist/collection/components/dropdown/interfaces.js +1 -1
  353. package/dist/collection/components/dropdown/resources.js +1 -1
  354. package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
  355. package/dist/collection/components/dropdown-group/dropdown-group.js +9 -7
  356. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  357. package/dist/collection/components/dropdown-group/resources.js +1 -1
  358. package/dist/collection/components/dropdown-item/dropdown-item.css +1 -2
  359. package/dist/collection/components/dropdown-item/dropdown-item.js +17 -18
  360. package/dist/collection/components/dropdown-item/resources.js +1 -1
  361. package/dist/collection/components/fab/fab.js +2 -1
  362. package/dist/collection/components/fab/resources.js +1 -1
  363. package/dist/collection/components/filter/filter.css +2 -2
  364. package/dist/collection/components/filter/filter.js +1 -1
  365. package/dist/collection/components/filter/resources.js +1 -1
  366. package/dist/collection/components/flow/flow.js +12 -18
  367. package/dist/collection/components/flow/interfaces.js +1 -1
  368. package/dist/collection/components/flow/resources.js +1 -1
  369. package/dist/collection/components/functional/ExpandToggle.js +4 -2
  370. package/dist/collection/components/functional/Heading.js +1 -1
  371. package/dist/collection/components/graph/graph.css +1 -0
  372. package/dist/collection/components/graph/graph.js +1 -1
  373. package/dist/collection/components/graph/interfaces.js +1 -1
  374. package/dist/collection/components/graph/util.js +29 -1
  375. package/dist/collection/components/handle/handle.css +0 -2
  376. package/dist/collection/components/handle/handle.js +3 -3
  377. package/dist/collection/components/handle/resources.js +1 -1
  378. package/dist/collection/components/icon/assets/icon/listCheckAll16.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/listCheckAll24.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/listCheckAll32.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/ltrElementsAlign16.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/ltrElementsAlign24.json +1 -0
  383. package/dist/collection/components/icon/assets/icon/ltrElementsAlign32.json +1 -0
  384. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign16.json +1 -0
  385. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign24.json +1 -0
  386. package/dist/collection/components/icon/assets/icon/ltrParagraphAlign32.json +1 -0
  387. package/dist/collection/components/icon/assets/icon/rangefinder16.json +1 -0
  388. package/dist/collection/components/icon/assets/icon/rangefinder24.json +1 -0
  389. package/dist/collection/components/icon/assets/icon/rangefinder32.json +1 -0
  390. package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -1
  391. package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -1
  392. package/dist/collection/components/icon/assets/icon/rfid16.json +1 -0
  393. package/dist/collection/components/icon/assets/icon/rfid24.json +1 -0
  394. package/dist/collection/components/icon/assets/icon/rfid32.json +1 -0
  395. package/dist/collection/components/icon/assets/icon/rtlElementsAlign16.json +1 -0
  396. package/dist/collection/components/icon/assets/icon/rtlElementsAlign24.json +1 -0
  397. package/dist/collection/components/icon/assets/icon/rtlElementsAlign32.json +1 -0
  398. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign16.json +1 -0
  399. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign24.json +1 -0
  400. package/dist/collection/components/icon/assets/icon/rtlParagraphAlign32.json +1 -0
  401. package/dist/collection/components/icon/icon.js +1 -1
  402. package/dist/collection/components/icon/resources.js +1 -1
  403. package/dist/collection/components/icon/utils.js +5 -1
  404. package/dist/collection/components/inline-editable/inline-editable.css +1 -4
  405. package/dist/collection/components/inline-editable/inline-editable.js +14 -8
  406. package/dist/collection/components/inline-editable/resources.js +1 -1
  407. package/dist/collection/components/input/input.css +14 -36
  408. package/dist/collection/components/input/input.js +38 -15
  409. package/dist/collection/components/input/interfaces.js +1 -1
  410. package/dist/collection/components/input/resources.js +1 -1
  411. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  412. package/dist/collection/components/input-date-picker/input-date-picker.js +27 -12
  413. package/dist/collection/components/input-message/input-message.css +11 -16
  414. package/dist/collection/components/input-message/input-message.js +1 -1
  415. package/dist/collection/components/input-message/interfaces.js +1 -1
  416. package/dist/collection/components/input-time-picker/input-time-picker.js +13 -7
  417. package/dist/collection/components/interfaces.js +1 -1
  418. package/dist/collection/components/label/label.css +2 -2
  419. package/dist/collection/components/label/label.js +2 -1
  420. package/dist/collection/components/label/resources.js +1 -1
  421. package/dist/collection/components/link/link.css +3 -14
  422. package/dist/collection/components/link/link.js +3 -2
  423. package/dist/collection/components/list/list.js +4 -4
  424. package/dist/collection/components/list/resources.js +1 -1
  425. package/dist/collection/components/list-item/list-item.css +3 -6
  426. package/dist/collection/components/list-item/list-item.js +5 -5
  427. package/dist/collection/components/list-item/resources.js +1 -1
  428. package/dist/collection/components/list-item-group/list-item-group.css +1 -1
  429. package/dist/collection/components/list-item-group/list-item-group.js +3 -3
  430. package/dist/collection/components/list-item-group/resources.js +1 -1
  431. package/dist/collection/components/loader/loader.css +3 -3
  432. package/dist/collection/components/loader/loader.js +18 -16
  433. package/dist/collection/components/modal/interfaces.js +1 -1
  434. package/dist/collection/components/modal/modal.css +6 -11
  435. package/dist/collection/components/modal/modal.js +78 -64
  436. package/dist/collection/components/modal/resources.js +1 -1
  437. package/dist/collection/components/notice/notice.css +5 -16
  438. package/dist/collection/components/notice/notice.js +27 -24
  439. package/dist/collection/components/notice/resources.js +1 -1
  440. package/dist/collection/components/option/option.js +5 -5
  441. package/dist/collection/components/option-group/option-group.js +4 -4
  442. package/dist/collection/components/pagination/pagination.css +2 -7
  443. package/dist/collection/components/pagination/pagination.js +32 -5
  444. package/dist/collection/components/pagination/resources.js +1 -1
  445. package/dist/collection/components/panel/panel.css +4 -0
  446. package/dist/collection/components/panel/panel.js +27 -8
  447. package/dist/collection/components/panel/resources.js +1 -1
  448. package/dist/collection/components/pick-list/pick-list.js +23 -12
  449. package/dist/collection/components/pick-list/resources.js +1 -1
  450. package/dist/collection/components/pick-list/shared-list-logic.js +3 -3
  451. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  452. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  453. package/dist/collection/components/pick-list-group/resources.js +1 -1
  454. package/dist/collection/components/pick-list-item/pick-list-item.css +0 -2
  455. package/dist/collection/components/pick-list-item/pick-list-item.js +23 -13
  456. package/dist/collection/components/pick-list-item/resources.js +1 -1
  457. package/dist/collection/components/popover/PopoverManager.js +14 -3
  458. package/dist/collection/components/popover/popover.css +5 -0
  459. package/dist/collection/components/popover/popover.js +73 -19
  460. package/dist/collection/components/popover/resources.js +1 -1
  461. package/dist/collection/components/popover-manager/popover-manager.js +2 -1
  462. package/dist/collection/components/progress/progress.js +1 -1
  463. package/dist/collection/components/radio-button/radio-button.css +10 -6
  464. package/dist/collection/components/radio-button/radio-button.js +4 -1
  465. package/dist/collection/components/radio-button/resources.js +1 -1
  466. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  467. package/dist/collection/components/radio-group/interfaces.js +1 -1
  468. package/dist/collection/components/radio-group/radio-group.js +3 -3
  469. package/dist/collection/components/radio-group-item/radio-group-item.css +0 -2
  470. package/dist/collection/components/radio-group-item/radio-group-item.js +4 -4
  471. package/dist/collection/components/radio-group-item/resources.js +1 -1
  472. package/dist/collection/components/rating/rating.css +2 -12
  473. package/dist/collection/components/rating/rating.js +7 -3
  474. package/dist/collection/components/rating/resources.js +1 -1
  475. package/dist/collection/components/scrim/resources.js +1 -1
  476. package/dist/collection/components/scrim/scrim.js +4 -2
  477. package/dist/collection/components/select/resources.js +1 -1
  478. package/dist/collection/components/select/select.css +0 -2
  479. package/dist/collection/components/select/select.js +3 -3
  480. package/dist/collection/components/shell/resources.js +1 -1
  481. package/dist/collection/components/shell/shell.js +1 -1
  482. package/dist/collection/components/shell-center-row/resources.js +1 -1
  483. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  484. package/dist/collection/components/shell-panel/resources.js +1 -1
  485. package/dist/collection/components/shell-panel/shell-panel.css +1 -4
  486. package/dist/collection/components/shell-panel/shell-panel.js +2 -1
  487. package/dist/collection/components/slider/slider.css +0 -2
  488. package/dist/collection/components/slider/slider.js +18 -1
  489. package/dist/collection/components/sortable-list/resources.js +1 -1
  490. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  491. package/dist/collection/components/split-button/resources.js +1 -1
  492. package/dist/collection/components/split-button/split-button.css +1 -4
  493. package/dist/collection/components/split-button/split-button.js +6 -3
  494. package/dist/collection/components/stepper/interfaces.js +1 -1
  495. package/dist/collection/components/stepper/stepper.js +41 -22
  496. package/dist/collection/components/stepper-item/stepper-item.css +27 -2
  497. package/dist/collection/components/stepper-item/stepper-item.js +12 -11
  498. package/dist/collection/components/switch/switch.css +0 -2
  499. package/dist/collection/components/switch/switch.js +4 -2
  500. package/dist/collection/components/tab/interfaces.js +1 -1
  501. package/dist/collection/components/tab/tab.js +25 -8
  502. package/dist/collection/components/tab-nav/tab-nav.css +6 -0
  503. package/dist/collection/components/tab-nav/tab-nav.js +23 -12
  504. package/dist/collection/components/tab-title/tab-title.css +30 -15
  505. package/dist/collection/components/tab-title/tab-title.js +36 -20
  506. package/dist/collection/components/tabs/interfaces.js +1 -1
  507. package/dist/collection/components/tabs/resources.js +1 -1
  508. package/dist/collection/components/tabs/tabs.css +12 -0
  509. package/dist/collection/components/tabs/tabs.js +11 -7
  510. package/dist/collection/components/tile/resources.js +1 -1
  511. package/dist/collection/components/tile/tile.css +0 -2
  512. package/dist/collection/components/tile/tile.js +2 -1
  513. package/dist/collection/components/tile-select/interfaces.js +1 -1
  514. package/dist/collection/components/tile-select/resources.js +1 -1
  515. package/dist/collection/components/tile-select/tile-select.css +7 -2
  516. package/dist/collection/components/tile-select/tile-select.js +1 -1
  517. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  518. package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
  519. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  520. package/dist/collection/components/time-picker/resources.js +1 -1
  521. package/dist/collection/components/time-picker/time-picker.js +61 -26
  522. package/dist/collection/components/tip/resources.js +1 -1
  523. package/dist/collection/components/tip/tip.css +0 -2
  524. package/dist/collection/components/tip/tip.js +1 -1
  525. package/dist/collection/components/tip-group/tip-group.js +1 -1
  526. package/dist/collection/components/tip-manager/resources.js +1 -1
  527. package/dist/collection/components/tip-manager/tip-manager.css +0 -4
  528. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  529. package/dist/collection/components/tooltip/TooltipManager.js +6 -2
  530. package/dist/collection/components/tooltip/resources.js +1 -1
  531. package/dist/collection/components/tooltip/tooltip.css +6 -3
  532. package/dist/collection/components/tooltip/tooltip.js +51 -19
  533. package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -1
  534. package/dist/collection/components/tree/interfaces.js +1 -1
  535. package/dist/collection/components/tree/tree.js +11 -6
  536. package/dist/collection/components/tree-item/interfaces.js +1 -1
  537. package/dist/collection/components/tree-item/resources.js +1 -1
  538. package/dist/collection/components/tree-item/tree-item.css +8 -14
  539. package/dist/collection/components/tree-item/tree-item.js +24 -18
  540. package/dist/collection/components/value-list/resources.js +1 -1
  541. package/dist/collection/components/value-list/value-list.js +24 -13
  542. package/dist/collection/components/value-list-item/resources.js +1 -1
  543. package/dist/collection/components/value-list-item/value-list-item.css +0 -2
  544. package/dist/collection/components/value-list-item/value-list-item.js +16 -7
  545. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  546. package/dist/collection/demos/_assets/demo-template.js +13 -0
  547. package/dist/collection/demos/_assets/head.js +45 -0
  548. package/dist/collection/demos/_assets/locales.js +223 -0
  549. package/dist/collection/utils/array.js +1 -1
  550. package/dist/collection/utils/conditionalSlot.js +5 -1
  551. package/dist/collection/utils/date.js +36 -1
  552. package/dist/collection/utils/dom.js +9 -1
  553. package/dist/collection/utils/filter.js +1 -1
  554. package/dist/collection/utils/form.js +17 -1
  555. package/dist/collection/utils/globalAttributes.js +6 -1
  556. package/dist/collection/utils/guid.js +1 -1
  557. package/dist/collection/utils/interactive.js +7 -4
  558. package/dist/collection/utils/key.js +1 -1
  559. package/dist/collection/utils/label.js +8 -1
  560. package/dist/collection/utils/locale.js +7 -5
  561. package/dist/collection/utils/math.js +1 -1
  562. package/dist/collection/utils/number.js +1 -1
  563. package/dist/collection/utils/observers.js +1 -1
  564. package/dist/collection/utils/popper.js +1 -1
  565. package/dist/collection/utils/resources.js +1 -1
  566. package/dist/collection/utils/time.js +1 -1
  567. package/dist/components/ExpandToggle.js +4 -2
  568. package/dist/components/Heading.js +1 -1
  569. package/dist/components/action-group.js +1 -1
  570. package/dist/components/action-menu.js +8 -6
  571. package/dist/components/action.js +5 -3
  572. package/dist/components/array.js +1 -1
  573. package/dist/components/button.js +6 -4
  574. package/dist/components/calcite-accordion-item.js +11 -10
  575. package/dist/components/calcite-accordion.js +12 -7
  576. package/dist/components/calcite-action-bar.js +7 -2
  577. package/dist/components/calcite-action-group.js +1 -1
  578. package/dist/components/calcite-action-menu.js +1 -1
  579. package/dist/components/calcite-action-pad.js +6 -2
  580. package/dist/components/calcite-action.js +1 -1
  581. package/dist/components/calcite-alert.js +14 -11
  582. package/dist/components/calcite-avatar.js +6 -1
  583. package/dist/components/calcite-block-section.js +2 -2
  584. package/dist/components/calcite-block.js +12 -4
  585. package/dist/components/calcite-button.js +1 -1
  586. package/dist/components/calcite-card.js +20 -10
  587. package/dist/components/calcite-checkbox.js +1 -1
  588. package/dist/components/calcite-chip.js +1 -1
  589. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  590. package/dist/components/calcite-color-picker-swatch.js +1 -1
  591. package/dist/components/calcite-color-picker.js +59 -20
  592. package/dist/components/calcite-combobox-item-group.js +1 -1
  593. package/dist/components/calcite-combobox-item.js +4 -2
  594. package/dist/components/calcite-combobox.js +7 -4
  595. package/dist/components/calcite-date-picker-day.js +1 -1
  596. package/dist/components/calcite-date-picker-month-header.js +1 -1
  597. package/dist/components/calcite-date-picker-month.js +1 -1
  598. package/dist/components/calcite-date-picker.js +1 -1
  599. package/dist/components/calcite-dropdown-group.js +9 -7
  600. package/dist/components/calcite-dropdown-item.js +15 -16
  601. package/dist/components/calcite-dropdown.js +1 -1
  602. package/dist/components/calcite-fab.js +2 -1
  603. package/dist/components/calcite-filter.js +1 -1
  604. package/dist/components/calcite-flow.js +11 -17
  605. package/dist/components/calcite-graph.js +1 -1
  606. package/dist/components/calcite-handle.js +1 -1
  607. package/dist/components/calcite-icon.js +1 -1
  608. package/dist/components/calcite-inline-editable.js +14 -8
  609. package/dist/components/calcite-input-date-picker.js +26 -11
  610. package/dist/components/calcite-input-message.js +2 -2
  611. package/dist/components/calcite-input-time-picker.js +9 -5
  612. package/dist/components/calcite-input.js +1 -1
  613. package/dist/components/calcite-label.js +1 -1
  614. package/dist/components/calcite-link.js +1 -1
  615. package/dist/components/calcite-list-item-group.js +2 -2
  616. package/dist/components/calcite-list-item.js +3 -3
  617. package/dist/components/calcite-list.js +2 -2
  618. package/dist/components/calcite-loader.js +1 -1
  619. package/dist/components/calcite-modal.js +25 -17
  620. package/dist/components/calcite-notice.js +11 -9
  621. package/dist/components/calcite-option-group.js +3 -3
  622. package/dist/components/calcite-option.js +4 -4
  623. package/dist/components/calcite-pagination.js +90 -5
  624. package/dist/components/calcite-panel.js +11 -4
  625. package/dist/components/calcite-pick-list-group.js +1 -1
  626. package/dist/components/calcite-pick-list-item.js +1 -1
  627. package/dist/components/calcite-pick-list.js +12 -7
  628. package/dist/components/calcite-popover-manager.js +2 -1
  629. package/dist/components/calcite-popover.js +1 -1
  630. package/dist/components/calcite-progress.js +1 -1
  631. package/dist/components/calcite-radio-button-group.js +1 -1
  632. package/dist/components/calcite-radio-button.js +5 -2
  633. package/dist/components/calcite-radio-group-item.js +4 -4
  634. package/dist/components/calcite-radio-group.js +3 -3
  635. package/dist/components/calcite-rating.js +8 -4
  636. package/dist/components/calcite-scrim.js +1 -1
  637. package/dist/components/calcite-select.js +3 -3
  638. package/dist/components/calcite-shell-center-row.js +1 -1
  639. package/dist/components/calcite-shell-panel.js +3 -2
  640. package/dist/components/calcite-shell.js +1 -1
  641. package/dist/components/calcite-slider.js +19 -2
  642. package/dist/components/calcite-sortable-list.js +1 -1
  643. package/dist/components/calcite-split-button.js +7 -4
  644. package/dist/components/calcite-stepper-item.js +10 -9
  645. package/dist/components/calcite-stepper.js +29 -16
  646. package/dist/components/calcite-switch.js +1 -1
  647. package/dist/components/calcite-tab-nav.js +1 -1
  648. package/dist/components/calcite-tab-title.js +1 -1
  649. package/dist/components/calcite-tab.js +1 -1
  650. package/dist/components/calcite-tabs.js +1 -1
  651. package/dist/components/calcite-tile-select-group.js +2 -2
  652. package/dist/components/calcite-tile-select.js +2 -2
  653. package/dist/components/calcite-tile.js +1 -1
  654. package/dist/components/calcite-time-picker.js +1 -1
  655. package/dist/components/calcite-tip-group.js +1 -1
  656. package/dist/components/calcite-tip-manager.js +2 -2
  657. package/dist/components/calcite-tip.js +2 -2
  658. package/dist/components/calcite-tooltip-manager.js +2 -1
  659. package/dist/components/calcite-tooltip.js +28 -10
  660. package/dist/components/calcite-tree-item.js +15 -9
  661. package/dist/components/calcite-tree.js +9 -4
  662. package/dist/components/calcite-value-list-item.js +7 -4
  663. package/dist/components/calcite-value-list.js +12 -7
  664. package/dist/components/checkbox.js +4 -3
  665. package/dist/components/chip.js +5 -3
  666. package/dist/components/color-picker-hex-input.js +5 -3
  667. package/dist/components/color-picker-swatch.js +1 -1
  668. package/dist/components/conditionalSlot.js +5 -1
  669. package/dist/components/date-picker-day.js +4 -4
  670. package/dist/components/date-picker-month-header.js +9 -2
  671. package/dist/components/date-picker-month.js +35 -7
  672. package/dist/components/date-picker.js +36 -5
  673. package/dist/components/date.js +36 -1
  674. package/dist/components/debounce.js +1 -1
  675. package/dist/components/dom.js +9 -1
  676. package/dist/components/dropdown.js +30 -9
  677. package/dist/components/filter.js +2 -2
  678. package/dist/components/forIn.js +1 -1
  679. package/dist/components/form.js +17 -1
  680. package/dist/components/graph.js +30 -2
  681. package/dist/components/guid.js +1 -1
  682. package/dist/components/handle.js +3 -3
  683. package/dist/components/icon.js +5 -1
  684. package/dist/components/index.js +1 -1
  685. package/dist/components/input.js +18 -11
  686. package/dist/components/interactive.js +7 -4
  687. package/dist/components/interfaces.js +1 -1
  688. package/dist/components/interfaces2.js +1 -1
  689. package/dist/components/label.js +8 -1
  690. package/dist/components/label2.js +3 -2
  691. package/dist/components/link.js +4 -3
  692. package/dist/components/loader.js +9 -7
  693. package/dist/components/locale.js +7 -5
  694. package/dist/components/math.js +1 -1
  695. package/dist/components/number.js +1 -1
  696. package/dist/components/observers.js +1 -1
  697. package/dist/components/pick-list-item.js +13 -9
  698. package/dist/components/popover.js +48 -13
  699. package/dist/components/popper.js +1 -1
  700. package/dist/components/progress.js +1 -1
  701. package/dist/components/resources.js +1 -1
  702. package/dist/components/resources2.js +1 -1
  703. package/dist/components/resources3.js +1 -1
  704. package/dist/components/scrim.js +4 -2
  705. package/dist/components/shared-list-render.js +4 -4
  706. package/dist/components/sortable.esm.js +1 -1
  707. package/dist/components/switch.js +5 -3
  708. package/dist/components/tab-nav.js +18 -7
  709. package/dist/components/tab-title.js +16 -12
  710. package/dist/components/tab.js +9 -4
  711. package/dist/components/tabs.js +9 -5
  712. package/dist/components/tile.js +3 -2
  713. package/dist/components/time-picker.js +50 -21
  714. package/dist/components/utils.js +1 -1
  715. package/dist/components/utils2.js +1 -1
  716. package/dist/custom-elements/index.js +993 -389
  717. package/dist/esm/{ExpandToggle-1f6d84ba.js → ExpandToggle-ce794961.js} +8 -6
  718. package/dist/esm/{Heading-8d613e81.js → Heading-9ccb3452.js} +2 -2
  719. package/dist/esm/{array-1655bbf7.js → array-7a76d321.js} +1 -1
  720. package/dist/esm/calcite-accordion_2.entry.js +23 -17
  721. package/dist/esm/calcite-action-bar.entry.js +16 -11
  722. package/dist/esm/calcite-action-group.entry.js +8 -8
  723. package/dist/esm/calcite-action-menu.entry.js +15 -13
  724. package/dist/esm/calcite-action-pad.entry.js +14 -10
  725. package/dist/esm/calcite-action.entry.js +10 -8
  726. package/dist/esm/calcite-alert.entry.js +17 -14
  727. package/dist/esm/calcite-avatar.entry.js +10 -5
  728. package/dist/esm/calcite-block_2.entry.js +20 -12
  729. package/dist/esm/calcite-button.entry.js +13 -11
  730. package/dist/esm/calcite-card.entry.js +23 -14
  731. package/dist/esm/calcite-checkbox.entry.js +10 -9
  732. package/dist/esm/calcite-chip.entry.js +10 -8
  733. package/dist/esm/calcite-color-picker_3.entry.js +70 -29
  734. package/dist/esm/calcite-combobox_3.entry.js +21 -16
  735. package/dist/esm/calcite-date-picker_4.entry.js +83 -23
  736. package/dist/esm/calcite-dropdown_3.entry.js +55 -33
  737. package/dist/esm/calcite-fab.entry.js +6 -5
  738. package/dist/esm/calcite-filter.entry.js +8 -8
  739. package/dist/esm/calcite-flow.entry.js +12 -18
  740. package/dist/esm/calcite-graph_2.entry.js +56 -11
  741. package/dist/esm/calcite-handle.entry.js +6 -6
  742. package/dist/esm/calcite-icon.entry.js +9 -5
  743. package/dist/esm/calcite-inline-editable.entry.js +19 -13
  744. package/dist/esm/calcite-input-date-picker.entry.js +36 -21
  745. package/dist/esm/calcite-input-message.entry.js +5 -5
  746. package/dist/esm/calcite-input-time-picker_2.entry.js +64 -31
  747. package/dist/esm/calcite-input.entry.js +27 -21
  748. package/dist/esm/calcite-label.entry.js +7 -6
  749. package/dist/esm/calcite-link.entry.js +8 -7
  750. package/dist/esm/calcite-list_3.entry.js +12 -12
  751. package/dist/esm/calcite-loader.entry.js +11 -9
  752. package/dist/esm/calcite-modal.entry.js +30 -21
  753. package/dist/esm/calcite-notice.entry.js +17 -15
  754. package/dist/esm/calcite-option_3.entry.js +14 -14
  755. package/dist/esm/calcite-pagination.entry.js +91 -6
  756. package/dist/esm/calcite-panel.entry.js +19 -12
  757. package/dist/esm/calcite-pick-list_3.entry.js +32 -23
  758. package/dist/esm/calcite-popover_2.entry.js +54 -19
  759. package/dist/esm/calcite-progress.entry.js +2 -2
  760. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  761. package/dist/esm/calcite-radio-button.entry.js +12 -9
  762. package/dist/esm/calcite-radio-group_2.entry.js +11 -11
  763. package/dist/esm/calcite-rating.entry.js +14 -10
  764. package/dist/esm/calcite-scrim.entry.js +5 -3
  765. package/dist/esm/calcite-shell_3.entry.js +9 -8
  766. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  767. package/dist/esm/calcite-split-button.entry.js +9 -6
  768. package/dist/esm/calcite-stepper_2.entry.js +40 -26
  769. package/dist/esm/calcite-switch.entry.js +11 -9
  770. package/dist/esm/calcite-tab_4.entry.js +52 -28
  771. package/dist/esm/calcite-tile-select_2.entry.js +6 -6
  772. package/dist/esm/calcite-tile.entry.js +9 -8
  773. package/dist/esm/calcite-tip_3.entry.js +9 -9
  774. package/dist/esm/calcite-tooltip_2.entry.js +32 -14
  775. package/dist/esm/calcite-tree_2.entry.js +27 -16
  776. package/dist/esm/calcite-value-list_2.entry.js +26 -18
  777. package/dist/esm/calcite.js +4 -4
  778. package/dist/esm/{conditionalSlot-203be745.js → conditionalSlot-6be8f3bd.js} +7 -3
  779. package/dist/esm/{debounce-c4df98cc.js → debounce-9626aac0.js} +1 -1
  780. package/dist/esm/{dom-da697a3f.js → dom-4caa79e4.js} +10 -2
  781. package/dist/esm/{forIn-9b83dde4.js → forIn-091a9d50.js} +2 -2
  782. package/dist/esm/{form-bca481e1.js → form-7c2e444b.js} +19 -3
  783. package/dist/esm/{guid-b4461004.js → guid-27925469.js} +1 -1
  784. package/dist/esm/{index-8ece2564.js → index-1e02e91b.js} +7 -5
  785. package/dist/esm/index.js +1 -1
  786. package/dist/esm/{interactive-cb5bf285.js → interactive-32803ed8.js} +7 -4
  787. package/dist/esm/{interfaces-f57a0946.js → interfaces-64ad1cde.js} +1 -1
  788. package/dist/esm/{label-50132b90.js → label-ccf07634.js} +9 -2
  789. package/dist/esm/loader.js +4 -4
  790. package/dist/esm/{locale-7ce850e5.js → locale-705ed382.js} +8 -6
  791. package/dist/esm/{math-2e4483eb.js → math-351ff0de.js} +1 -1
  792. package/dist/esm/{number-237e74a9.js → number-bb265f44.js} +1 -1
  793. package/dist/esm/{observers-b198f831.js → observers-c18e9524.js} +1 -1
  794. package/dist/esm/{popper-0fd1fd89.js → popper-44b3ba83.js} +2 -2
  795. package/dist/esm/{resources-f170fbe8.js → resources-0aacb21d.js} +44 -3
  796. package/dist/esm/{resources-c4ee68b9.js → resources-529884cb.js} +8 -8
  797. package/dist/esm/{resources-3c30f589.js → resources-a2cad43d.js} +1 -1
  798. package/dist/esm/{resources-e8f918f0.js → resources-a32d1180.js} +1 -1
  799. package/dist/esm/{sortable.esm-34b12dd8.js → sortable.esm-4e7d5c7b.js} +1 -1
  800. package/dist/esm/{utils-040a2a22.js → utils-2f763d44.js} +1 -1
  801. package/dist/esm-es5/{ExpandToggle-1f6d84ba.js → ExpandToggle-ce794961.js} +2 -2
  802. package/dist/esm-es5/{Heading-8d613e81.js → Heading-9ccb3452.js} +2 -2
  803. package/dist/esm-es5/{array-1655bbf7.js → array-7a76d321.js} +1 -1
  804. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  805. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  806. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  807. package/dist/esm-es5/calcite-action-menu.entry.js +3 -3
  808. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  809. package/dist/esm-es5/calcite-action.entry.js +2 -2
  810. package/dist/esm-es5/calcite-alert.entry.js +3 -3
  811. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  812. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  813. package/dist/esm-es5/calcite-button.entry.js +2 -2
  814. package/dist/esm-es5/calcite-card.entry.js +2 -2
  815. package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
  816. package/dist/esm-es5/calcite-chip.entry.js +3 -3
  817. package/dist/esm-es5/calcite-color-picker_3.entry.js +3 -3
  818. package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
  819. package/dist/esm-es5/calcite-date-picker_4.entry.js +3 -3
  820. package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
  821. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  822. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  823. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  824. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  825. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  826. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  827. package/dist/esm-es5/calcite-inline-editable.entry.js +3 -3
  828. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  829. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  830. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -3
  831. package/dist/esm-es5/calcite-input.entry.js +3 -3
  832. package/dist/esm-es5/calcite-label.entry.js +2 -2
  833. package/dist/esm-es5/calcite-link.entry.js +3 -3
  834. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  835. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  836. package/dist/esm-es5/calcite-modal.entry.js +3 -3
  837. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  838. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  839. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  840. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  841. package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -3
  842. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  843. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  844. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  845. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  846. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  847. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  848. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  849. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  850. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  851. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  852. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  853. package/dist/esm-es5/calcite-switch.entry.js +3 -3
  854. package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
  855. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  856. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  857. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  858. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  859. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  860. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  861. package/dist/esm-es5/calcite.js +2 -2
  862. package/dist/esm-es5/{conditionalSlot-203be745.js → conditionalSlot-6be8f3bd.js} +2 -2
  863. package/dist/esm-es5/{debounce-c4df98cc.js → debounce-9626aac0.js} +1 -1
  864. package/dist/esm-es5/{dom-da697a3f.js → dom-4caa79e4.js} +3 -3
  865. package/dist/esm-es5/{forIn-9b83dde4.js → forIn-091a9d50.js} +2 -2
  866. package/dist/esm-es5/{form-bca481e1.js → form-7c2e444b.js} +2 -2
  867. package/dist/esm-es5/{guid-b4461004.js → guid-27925469.js} +1 -1
  868. package/dist/esm-es5/{index-8ece2564.js → index-1e02e91b.js} +4 -3
  869. package/dist/esm-es5/index.js +1 -1
  870. package/dist/esm-es5/{interactive-cb5bf285.js → interactive-32803ed8.js} +1 -1
  871. package/dist/esm-es5/{interfaces-f57a0946.js → interfaces-64ad1cde.js} +1 -1
  872. package/dist/esm-es5/{label-50132b90.js → label-ccf07634.js} +2 -2
  873. package/dist/esm-es5/loader.js +2 -2
  874. package/dist/esm-es5/locale-705ed382.js +6 -0
  875. package/dist/esm-es5/{math-2e4483eb.js → math-351ff0de.js} +1 -1
  876. package/dist/esm-es5/{number-237e74a9.js → number-bb265f44.js} +1 -1
  877. package/dist/esm-es5/{observers-b198f831.js → observers-c18e9524.js} +1 -1
  878. package/dist/esm-es5/{popper-0fd1fd89.js → popper-44b3ba83.js} +2 -2
  879. package/dist/esm-es5/{resources-f170fbe8.js → resources-0aacb21d.js} +2 -2
  880. package/dist/esm-es5/resources-529884cb.js +6 -0
  881. package/dist/esm-es5/{resources-3c30f589.js → resources-a2cad43d.js} +1 -1
  882. package/dist/esm-es5/{resources-e8f918f0.js → resources-a32d1180.js} +1 -1
  883. package/dist/esm-es5/{sortable.esm-34b12dd8.js → sortable.esm-4e7d5c7b.js} +1 -1
  884. package/dist/esm-es5/{utils-040a2a22.js → utils-2f763d44.js} +1 -1
  885. package/dist/extras/docs-json.d.ts +3 -0
  886. package/dist/extras/docs-json.json +338 -167
  887. package/dist/loader/cdn.js +1 -1
  888. package/dist/loader/index.cjs.js +1 -1
  889. package/dist/loader/index.es2017.js +1 -1
  890. package/dist/loader/index.js +1 -1
  891. package/dist/types/components/accordion/accordion.d.ts +6 -4
  892. package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
  893. package/dist/types/components/action/action.d.ts +4 -1
  894. package/dist/types/components/action-bar/action-bar.d.ts +6 -1
  895. package/dist/types/components/action-menu/action-menu.d.ts +1 -0
  896. package/dist/types/components/action-pad/action-pad.d.ts +5 -1
  897. package/dist/types/components/alert/alert.d.ts +11 -6
  898. package/dist/types/components/avatar/utils.d.ts +5 -0
  899. package/dist/types/components/block/block.d.ts +10 -2
  900. package/dist/types/components/button/button.d.ts +4 -2
  901. package/dist/types/components/card/card.d.ts +13 -4
  902. package/dist/types/components/card/resources.d.ts +1 -1
  903. package/dist/types/components/checkbox/checkbox.d.ts +3 -1
  904. package/dist/types/components/chip/chip.d.ts +3 -1
  905. package/dist/types/components/color-picker/color-picker.d.ts +57 -18
  906. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -1
  907. package/dist/types/components/combobox/combobox.d.ts +9 -3
  908. package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
  909. package/dist/types/components/date-picker/date-picker.d.ts +32 -3
  910. package/dist/types/components/date-picker/utils.d.ts +5 -0
  911. package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
  912. package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
  913. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +7 -0
  914. package/dist/types/components/dropdown/dropdown.d.ts +11 -8
  915. package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
  916. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  917. package/dist/types/components/fab/fab.d.ts +1 -0
  918. package/dist/types/components/flow/flow.d.ts +1 -4
  919. package/dist/types/components/graph/util.d.ts +14 -0
  920. package/dist/types/components/handle/handle.d.ts +1 -1
  921. package/dist/types/components/icon/utils.d.ts +4 -0
  922. package/dist/types/components/inline-editable/inline-editable.d.ts +10 -4
  923. package/dist/types/components/input/input.d.ts +22 -9
  924. package/dist/types/components/input-date-picker/input-date-picker.d.ts +25 -6
  925. package/dist/types/components/input-message/input-message.d.ts +7 -3
  926. package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -2
  927. package/dist/types/components/interfaces.d.ts +1 -0
  928. package/dist/types/components/label/label.d.ts +1 -0
  929. package/dist/types/components/link/link.d.ts +2 -1
  930. package/dist/types/components/list/list.d.ts +2 -2
  931. package/dist/types/components/list-item/list-item.d.ts +3 -3
  932. package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
  933. package/dist/types/components/loader/loader.d.ts +11 -9
  934. package/dist/types/components/modal/modal.d.ts +37 -28
  935. package/dist/types/components/notice/notice.d.ts +24 -19
  936. package/dist/types/components/option/option.d.ts +1 -1
  937. package/dist/types/components/option-group/option-group.d.ts +1 -1
  938. package/dist/types/components/pagination/pagination.d.ts +13 -3
  939. package/dist/types/components/panel/panel.d.ts +10 -2
  940. package/dist/types/components/pick-list/pick-list.d.ts +7 -3
  941. package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
  942. package/dist/types/components/pick-list-item/pick-list-item.d.ts +9 -3
  943. package/dist/types/components/popover/PopoverManager.d.ts +5 -2
  944. package/dist/types/components/popover/popover.d.ts +24 -7
  945. package/dist/types/components/popover-manager/popover-manager.d.ts +1 -0
  946. package/dist/types/components/radio-button/radio-button.d.ts +6 -0
  947. package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
  948. package/dist/types/components/rating/rating.d.ts +6 -2
  949. package/dist/types/components/scrim/scrim.d.ts +3 -1
  950. package/dist/types/components/shell-panel/shell-panel.d.ts +2 -0
  951. package/dist/types/components/slider/slider.d.ts +19 -0
  952. package/dist/types/components/split-button/split-button.d.ts +5 -2
  953. package/dist/types/components/stepper/stepper.d.ts +9 -4
  954. package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
  955. package/dist/types/components/switch/switch.d.ts +3 -1
  956. package/dist/types/components/tab/tab.d.ts +6 -2
  957. package/dist/types/components/tab-nav/tab-nav.d.ts +15 -4
  958. package/dist/types/components/tab-title/tab-title.d.ts +20 -8
  959. package/dist/types/components/tabs/tabs.d.ts +6 -2
  960. package/dist/types/components/tile/tile.d.ts +1 -0
  961. package/dist/types/components/time-picker/time-picker.d.ts +45 -16
  962. package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
  963. package/dist/types/components/tooltip/TooltipManager.d.ts +3 -2
  964. package/dist/types/components/tooltip/tooltip.d.ts +15 -11
  965. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -0
  966. package/dist/types/components/tree/tree.d.ts +11 -4
  967. package/dist/types/components/tree-item/tree-item.d.ts +26 -12
  968. package/dist/types/components/value-list/value-list.d.ts +8 -4
  969. package/dist/types/components/value-list-item/value-list-item.d.ts +5 -2
  970. package/dist/types/components.d.ts +498 -196
  971. package/dist/types/preact.d.ts +56 -56
  972. package/dist/types/utils/conditionalSlot.d.ts +4 -0
  973. package/dist/types/utils/date.d.ts +35 -0
  974. package/dist/types/utils/dom.d.ts +8 -0
  975. package/dist/types/utils/form.d.ts +14 -0
  976. package/dist/types/utils/globalAttributes.d.ts +5 -0
  977. package/dist/types/utils/interactive.d.ts +7 -4
  978. package/dist/types/utils/label.d.ts +7 -0
  979. package/dist/types/utils/locale.d.ts +1 -1
  980. package/dist/types/utils/popper.d.ts +3 -2
  981. package/hydrate/index.js +1037 -428
  982. package/package.json +29 -27
  983. package/readme.md +2 -2
  984. package/dist/calcite/p-0349dbb1.system.js +0 -6
  985. package/dist/calcite/p-03f1df01.entry.js +0 -6
  986. package/dist/calcite/p-06320e6a.entry.js +0 -6
  987. package/dist/calcite/p-06d14664.system.entry.js +0 -6
  988. package/dist/calcite/p-09c7a130.system.entry.js +0 -6
  989. package/dist/calcite/p-0c41044b.entry.js +0 -6
  990. package/dist/calcite/p-11d0e13f.system.entry.js +0 -6
  991. package/dist/calcite/p-20f86b1d.entry.js +0 -6
  992. package/dist/calcite/p-21dbd253.system.js +0 -6
  993. package/dist/calcite/p-23ab0d5a.system.entry.js +0 -6
  994. package/dist/calcite/p-27de1d41.entry.js +0 -6
  995. package/dist/calcite/p-2e9f9de6.system.entry.js +0 -6
  996. package/dist/calcite/p-2f977a66.system.entry.js +0 -6
  997. package/dist/calcite/p-33d317d6.entry.js +0 -6
  998. package/dist/calcite/p-358263ac.system.js +0 -6
  999. package/dist/calcite/p-3b01dd13.system.entry.js +0 -6
  1000. package/dist/calcite/p-3c78a381.entry.js +0 -6
  1001. package/dist/calcite/p-43d72920.system.js +0 -6
  1002. package/dist/calcite/p-44061788.entry.js +0 -6
  1003. package/dist/calcite/p-4a6fda6a.system.entry.js +0 -6
  1004. package/dist/calcite/p-4c3ce7bd.system.entry.js +0 -6
  1005. package/dist/calcite/p-508a7e13.system.entry.js +0 -6
  1006. package/dist/calcite/p-5234dd2e.system.entry.js +0 -6
  1007. package/dist/calcite/p-5adf6e11.entry.js +0 -6
  1008. package/dist/calcite/p-62e44703.entry.js +0 -6
  1009. package/dist/calcite/p-6592ebdb.system.entry.js +0 -6
  1010. package/dist/calcite/p-66a7f499.system.entry.js +0 -6
  1011. package/dist/calcite/p-676b5b1e.entry.js +0 -6
  1012. package/dist/calcite/p-6945f08a.system.entry.js +0 -6
  1013. package/dist/calcite/p-697ea587.system.entry.js +0 -6
  1014. package/dist/calcite/p-6a27e2d9.entry.js +0 -6
  1015. package/dist/calcite/p-6d1d2449.entry.js +0 -6
  1016. package/dist/calcite/p-6e8677ae.entry.js +0 -6
  1017. package/dist/calcite/p-7266932c.js +0 -6
  1018. package/dist/calcite/p-73784058.js +0 -6
  1019. package/dist/calcite/p-751b387d.system.entry.js +0 -6
  1020. package/dist/calcite/p-76e2d427.system.js +0 -6
  1021. package/dist/calcite/p-80d62897.entry.js +0 -6
  1022. package/dist/calcite/p-8319da8e.entry.js +0 -6
  1023. package/dist/calcite/p-83cc50f2.system.entry.js +0 -6
  1024. package/dist/calcite/p-84cd0598.system.entry.js +0 -6
  1025. package/dist/calcite/p-86904d57.entry.js +0 -6
  1026. package/dist/calcite/p-87698ac7.system.entry.js +0 -6
  1027. package/dist/calcite/p-87aae2e3.system.entry.js +0 -6
  1028. package/dist/calcite/p-8a87f2b7.system.entry.js +0 -6
  1029. package/dist/calcite/p-8e0a0d74.system.entry.js +0 -6
  1030. package/dist/calcite/p-9141d57e.entry.js +0 -6
  1031. package/dist/calcite/p-954973e6.system.entry.js +0 -6
  1032. package/dist/calcite/p-9d9629d5.system.entry.js +0 -6
  1033. package/dist/calcite/p-9f50e2fe.system.entry.js +0 -6
  1034. package/dist/calcite/p-aadce719.entry.js +0 -6
  1035. package/dist/calcite/p-aea7886a.system.entry.js +0 -6
  1036. package/dist/calcite/p-aeaaccdf.entry.js +0 -6
  1037. package/dist/calcite/p-b571cc54.system.entry.js +0 -6
  1038. package/dist/calcite/p-b8132e75.system.entry.js +0 -6
  1039. package/dist/calcite/p-c665108b.entry.js +0 -6
  1040. package/dist/calcite/p-c8919467.entry.js +0 -6
  1041. package/dist/calcite/p-c9235ef4.entry.js +0 -6
  1042. package/dist/calcite/p-c9f57b84.system.entry.js +0 -6
  1043. package/dist/calcite/p-cc1b5a8a.entry.js +0 -6
  1044. package/dist/calcite/p-cc425495.entry.js +0 -6
  1045. package/dist/calcite/p-cfbb3f0f.system.entry.js +0 -6
  1046. package/dist/calcite/p-d2e3fa31.system.entry.js +0 -6
  1047. package/dist/calcite/p-d38ffb30.js +0 -6
  1048. package/dist/calcite/p-d484cd1b.system.entry.js +0 -6
  1049. package/dist/calcite/p-dc1d1b83.entry.js +0 -6
  1050. package/dist/calcite/p-e086d5bc.entry.js +0 -6
  1051. package/dist/calcite/p-e2bc1677.entry.js +0 -6
  1052. package/dist/calcite/p-e45b2203.entry.js +0 -6
  1053. package/dist/calcite/p-e575643a.js +0 -6
  1054. package/dist/calcite/p-e68bfc88.system.entry.js +0 -6
  1055. package/dist/calcite/p-e9357dcc.system.entry.js +0 -6
  1056. package/dist/calcite/p-e95c755c.entry.js +0 -6
  1057. package/dist/calcite/p-e9acab15.entry.js +0 -6
  1058. package/dist/calcite/p-ed7aab50.system.entry.js +0 -6
  1059. package/dist/calcite/p-edc5bf01.js +0 -6
  1060. package/dist/calcite/p-ee5494db.system.entry.js +0 -6
  1061. package/dist/calcite/p-f74193a3.js +0 -6
  1062. package/dist/calcite/p-faeb976d.system.entry.js +0 -6
  1063. package/dist/esm-es5/locale-7ce850e5.js +0 -6
  1064. package/dist/esm-es5/resources-c4ee68b9.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-beta.82
4
+ * v1.0.0-beta.83
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-8ece2564.js";import{g as getSlotted,t as toAriaBoolean,a as getElementDir}from"./dom-da697a3f.js";import{H as Heading}from"./Heading-8d613e81.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-203be745.js";import{u as updateHostInteraction}from"./interactive-cb5bf285.js";import{g as guid}from"./guid-b4461004.js";import"./observers-b198f831.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-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;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 m=h("header",{class:CSS$1.header},this.renderIcon(),this.renderTitle());var d=!!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},m,!d&&!g?h("calcite-icon",{"aria-hidden":"true",class:CSS$1.toggleIcon,icon:p,scale:"s"}):null):m,r?h("calcite-loader",{inline:true,"is-active":true,label:c}):d?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-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.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 m=r?ICONS.menuOpen:s==="rtl"?ICONS.menuClosedLeft:ICONS.menuClosedRight;var d=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":d,class:(t={},t[CSS.toggle]=true,t[CSS.toggleSwitch]=true,t),id:u,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:d},h("div",{class:CSS.toggleSwitchContent},h("span",{class:CSS.toggleSwitchText},l)),h("calcite-switch",{checked:r,label:d,scale:"s",tabIndex:-1}),this.renderStatusIcon()):h("button",{"aria-controls":p,"aria-label":d,class:(e={},e[CSS.sectionHeader]=true,e[CSS.toggle]=true,e),id:u,name:d,onClick:this.toggleSection},h("calcite-icon",{icon:m,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-1e02e91b.js";import{g as getSlotted,t as toAriaBoolean,a as getElementDir}from"./dom-4caa79e4.js";import{H as Heading}from"./Heading-9ccb3452.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-6be8f3bd.js";import{u as updateHostInteraction}from"./interactive-32803ed8.js";import{g as guid}from"./guid-27925469.js";import"./observers-c18e9524.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-beta.82
6
- */import{r as registerInstance,h,g as getElement}from"./index-8ece2564.js";import{c as closestElementCrossShadowBoundary}from"./dom-da697a3f.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-50132b90.js";import{c as createObserver}from"./observers-b198f831.js";import{u as updateHostInteraction}from"./interactive-cb5bf285.js";import{s as submitForm,r as resetForm}from"./form-bca481e1.js";import"./guid-b4461004.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-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}: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-offset var(--calcite-internal-animation-timing-fast) 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-offset var(--calcite-internal-animation-timing-fast) 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-offset var(--calcite-internal-animation-timing-fast) 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-offset var(--calcite-internal-animation-timing-fast) 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-beta.83
6
+ */import{r as registerInstance,h,g as getElement}from"./index-1e02e91b.js";import{c as closestElementCrossShadowBoundary}from"./dom-4caa79e4.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-ccf07634.js";import{c as createObserver}from"./observers-c18e9524.js";import{u as updateHostInteraction}from"./interactive-32803ed8.js";import{s as submitForm,r as resetForm}from"./form-7c2e444b.js";import"./guid-27925469.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-beta.82
4
+ * v1.0.0-beta.83
5
5
  */
6
- import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-8ece2564.js";import{t as toAriaBoolean,g as getSlotted}from"./dom-da697a3f.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-203be745.js";import"./guid-b4461004.js";import"./observers-b198f831.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-1e02e91b.js";import{t as toAriaBoolean,g as getSlotted}from"./dom-4caa79e4.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-6be8f3bd.js";import"./guid-27925469.js";import"./observers-c18e9524.js";var CSS={container:"container",header:"header",footer:"footer",title:"title",subtitle:"subtitle",checkboxWrapper:"checkbox-wrapper",thumbnailWrapper:"thumbnail-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{position:relative;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}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;top:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:-ms-flexbox;display:flex}.calcite-card-container.inline{-ms-flex-direction:row;flex-direction:row}.calcite-card-container.inline>.container{width:60%}.calcite-card-container.inline>.thumbnail-wrapper{width:40%;-ms-flex-align:start;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){width:100%}";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.thumbnailPosition="block-start";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;var e=this.thumbnailPosition.startsWith("inline");var a=this.thumbnailPosition.endsWith("start");return h("div",{class:{"calcite-card-container":true,inline:e}},this.loading?h("div",{class:"calcite-card-loader-container"},h("calcite-loader",{active:true,label:this.intlLoading})):null,a&&this.renderThumbnail(),h("section",{"aria-busy":toAriaBoolean(this.loading),class:(t={},t[CSS.container]=true,t)},this.selectable?this.renderCheckbox():null,this.renderHeader(),h("div",{class:"card-content"},h("slot",null)),this.renderFooter()),!a&&this.renderThumbnail())};t.prototype.selectCard=function(){this.selected=!this.selected;this.calciteCardSelect.emit()};t.prototype.renderThumbnail=function(){return getSlotted(this.el,SLOTS.thumbnail)?h("section",{class:CSS.thumbnailWrapper},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};
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function r(t){try{s(n.next(t))}catch(t){o(t)}}function c(t){try{s(n["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):a(t.value).then(r,c)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t];a=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{s(i.next(t))}catch(t){o(t)}}function c(t){try{s(i["throw"](t))}catch(t){o(t)}}function s(t){t.done?n(t.value):a(t.value).then(r,c)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function c(t){return function(e){return s([t,e])}}function s(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-beta.82
6
- */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-8ece2564.js";import{g as guid}from"./guid-b4461004.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-bca481e1.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-50132b90.js";import{u as updateHostInteraction}from"./interactive-cb5bf285.js";import{t as toAriaBoolean}from"./dom-da697a3f.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{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-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-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)}:host .toggle:focus .check-svg,:host .toggle:active .check-svg{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);-webkit-transition:var(--calcite-animation-timing);transition:var(--calcite-animation-timing)}.toggle:focus-visible{outline:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([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-beta.83
6
+ */import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-1e02e91b.js";import{g as guid}from"./guid-27925469.js";import{c as connectForm,d as disconnectForm,H as HiddenFormInputSlot}from"./form-7c2e444b.js";import{c as connectLabel,d as disconnectLabel,g as getLabelText}from"./label-ccf07634.js";import{u as updateHostInteraction}from"./interactive-32803ed8.js";import{t as toAriaBoolean}from"./dom-4caa79e4.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};
@@ -1,6 +1,6 @@
1
- var __awaiter=this&&this.__awaiter||function(i,t,e,a){function n(i){return i instanceof e?i:new e((function(t){t(i)}))}return new(e||(e=Promise))((function(e,r){function o(i){try{l(a.next(i))}catch(i){r(i)}}function c(i){try{l(a["throw"](i))}catch(i){r(i)}}function l(i){i.done?e(i.value):n(i.value).then(o,c)}l((a=a.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(i){return function(t){return l([i,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(e)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;n=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=t.call(i,e)}catch(i){o=[6,i];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
1
+ var __awaiter=this&&this.__awaiter||function(i,e,t,a){function n(i){return i instanceof t?i:new t((function(e){e(i)}))}return new(t||(t=Promise))((function(t,r){function o(i){try{l(a.next(i))}catch(i){r(i)}}function c(i){try{l(a["throw"](i))}catch(i){r(i)}}function l(i){i.done?t(i.value):n(i.value).then(o,c)}l((a=a.apply(i,e||[])).next())}))};var __generator=this&&this.__generator||function(i,e){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(i){return function(e){return l([i,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(t)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;n=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=e.call(i,t)}catch(i){o=[6,i];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
2
2
  /*!
3
3
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
5
- * v1.0.0-beta.82
6
- */import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-8ece2564.js";import{g as getSlotted}from"./dom-da697a3f.js";import{g as guid}from"./guid-b4461004.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-203be745.js";import"./observers-b198f831.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-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay: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 t=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();t.calciteChipDismiss.emit(t.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(t){(i=this.closeButton)===null||i===void 0?void 0:i.focus();return[2]}))}))};i.prototype.renderChipImage=function(){var i=this.el;var t=getSlotted(i,SLOTS.image);return t?h("div",{class:CSS.imageContainer,key:"image"},h("slot",{name:SLOTS.image})):null};i.prototype.render=function(){var i=this;var t=h("calcite-icon",{class:CSS.chipIcon,flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});var e=h("button",{"aria-describedby":this.guid,"aria-label":this.dismissLabel,class:CSS.close,onClick:this.closeClickHandler,ref:function(t){return i.closeButton=t}},h("calcite-icon",{class:CSS.closeIcon,icon:ICONS.close,scale:"s"}));return h("div",{class:"container"},this.renderChipImage(),this.icon?t:null,h("span",{class:CSS.title,id:this.guid},h("slot",null)),this.dismissible?e: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-beta.83
6
+ */import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-1e02e91b.js";import{g as getSlotted}from"./dom-4caa79e4.js";import{g as guid}from"./guid-27925469.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-6be8f3bd.js";import"./observers-c18e9524.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};