@esri/calcite-components 1.0.0-beta.71 → 1.0.0-beta.75

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 (932) hide show
  1. package/dist/calcite/assets/calcite-date-picker/nls/bg.json +31 -0
  2. package/dist/calcite/assets/calcite-icon/centerAlign16.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/centerAlign24.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/centerAlign32.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/convert16.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/convert24.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/convert32.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/explore16.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/explore24.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/explore32.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/formDropdown16.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/formDropdown24.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/formDropdown32.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/language16.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/language24.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/language32.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/languageTranslate16.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/languageTranslate24.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/languageTranslate32.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/leftAlign16.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/leftAlign24.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/leftAlign32.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/partlyCloudy16.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/partlyCloudy24.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/partlyCloudy32.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/rightAlign16.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/rightAlign24.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/rightAlign32.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/screenshotMode16.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/screenshotMode24.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/screenshotMode32.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/terminal16.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/terminal24.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/terminal32.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/touch16.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/touch24.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/touch32.json +1 -0
  38. package/dist/calcite/calcite.css +1 -1
  39. package/dist/calcite/calcite.esm.js +1 -1
  40. package/dist/calcite/calcite.js +1 -1
  41. package/dist/calcite/p-0164361f.system.entry.js +5 -0
  42. package/dist/calcite/p-01b7adb5.js +5 -0
  43. package/dist/calcite/p-04bf684c.entry.js +5 -0
  44. package/dist/calcite/p-04bf9bca.system.entry.js +5 -0
  45. package/dist/calcite/p-06dbe76a.system.entry.js +5 -0
  46. package/dist/calcite/p-06fbc0f2.system.entry.js +5 -0
  47. package/dist/calcite/p-08be120f.entry.js +5 -0
  48. package/dist/calcite/p-0a5d059d.js +5 -0
  49. package/dist/calcite/p-0a85cd8c.system.entry.js +5 -0
  50. package/dist/calcite/p-0b552c00.system.entry.js +5 -0
  51. package/dist/calcite/p-0cb38659.system.entry.js +5 -0
  52. package/dist/calcite/p-10b1b39a.system.entry.js +5 -0
  53. package/dist/calcite/p-12142a2c.system.entry.js +5 -0
  54. package/dist/calcite/p-141c978b.system.entry.js +5 -0
  55. package/dist/calcite/p-146d8510.entry.js +5 -0
  56. package/dist/calcite/p-14ca5cdf.system.entry.js +5 -0
  57. package/dist/calcite/p-14e47d1b.js +5 -0
  58. package/dist/calcite/p-1668089f.entry.js +5 -0
  59. package/dist/calcite/p-1804c868.system.entry.js +5 -0
  60. package/dist/calcite/p-1a3a366d.system.js +5 -0
  61. package/dist/calcite/p-20e3fc50.entry.js +5 -0
  62. package/dist/calcite/p-2218fef5.entry.js +5 -0
  63. package/dist/calcite/p-2297db38.entry.js +5 -0
  64. package/dist/calcite/p-243985d8.system.entry.js +5 -0
  65. package/dist/calcite/p-2e324a56.system.entry.js +5 -0
  66. package/dist/calcite/p-2e351904.system.entry.js +5 -0
  67. package/dist/calcite/p-32d61433.system.entry.js +5 -0
  68. package/dist/calcite/p-39d4d1b1.system.entry.js +5 -0
  69. package/dist/calcite/p-3c34f20d.system.js +5 -0
  70. package/dist/calcite/p-3cdf0ad5.system.entry.js +5 -0
  71. package/dist/calcite/p-40c3d7a6.system.entry.js +5 -0
  72. package/dist/calcite/{p-71cdeee3.system.js → p-44aa1db4.system.js} +1 -1
  73. package/dist/calcite/p-49782820.entry.js +5 -0
  74. package/dist/calcite/p-500300b5.entry.js +5 -0
  75. package/dist/calcite/p-513bc44f.system.entry.js +5 -0
  76. package/dist/calcite/p-54bb21f5.system.entry.js +5 -0
  77. package/dist/calcite/p-54edaa0d.entry.js +5 -0
  78. package/dist/calcite/p-58eb8460.entry.js +5 -0
  79. package/dist/calcite/p-5a77fd17.entry.js +5 -0
  80. package/dist/calcite/p-5b8404de.entry.js +5 -0
  81. package/dist/calcite/p-5d12a140.entry.js +5 -0
  82. package/dist/calcite/p-5d7da300.system.entry.js +5 -0
  83. package/dist/calcite/p-5f5bfaa5.entry.js +5 -0
  84. package/dist/calcite/p-617c3f30.system.entry.js +5 -0
  85. package/dist/calcite/p-63f8783a.entry.js +5 -0
  86. package/dist/calcite/p-647d22ef.js +5 -0
  87. package/dist/calcite/p-64a5e88c.entry.js +5 -0
  88. package/dist/calcite/p-66ca7309.entry.js +5 -0
  89. package/dist/calcite/p-6969dabb.entry.js +5 -0
  90. package/dist/calcite/p-6afd69dc.system.entry.js +5 -0
  91. package/dist/calcite/p-6fb9fef5.entry.js +5 -0
  92. package/dist/calcite/p-70dd483b.system.js +5 -0
  93. package/dist/calcite/p-7165e37e.entry.js +5 -0
  94. package/dist/calcite/p-754809de.entry.js +5 -0
  95. package/dist/calcite/p-7743a8d0.system.entry.js +5 -0
  96. package/dist/calcite/p-786b8250.entry.js +5 -0
  97. package/dist/calcite/p-78725919.entry.js +5 -0
  98. package/dist/calcite/p-7a6c932d.system.entry.js +5 -0
  99. package/dist/calcite/p-7bdeb3ba.system.entry.js +5 -0
  100. package/dist/calcite/p-7d4316a1.system.entry.js +5 -0
  101. package/dist/calcite/p-82491929.entry.js +5 -0
  102. package/dist/calcite/p-8604c625.system.entry.js +5 -0
  103. package/dist/calcite/p-869eb8f9.entry.js +5 -0
  104. package/dist/calcite/p-86b63ebb.system.entry.js +5 -0
  105. package/dist/calcite/p-8709d314.system.entry.js +5 -0
  106. package/dist/calcite/p-8ba8a357.system.js +5 -0
  107. package/dist/calcite/p-8e1945e3.entry.js +5 -0
  108. package/dist/calcite/p-8e4aa7f7.entry.js +5 -0
  109. package/dist/calcite/p-8f2c68f4.system.entry.js +5 -0
  110. package/dist/calcite/p-8f3a3e4e.js +5 -0
  111. package/dist/calcite/p-900e18a5.system.entry.js +5 -0
  112. package/dist/calcite/p-92d9b81d.system.entry.js +5 -0
  113. package/dist/calcite/p-9716c57c.entry.js +5 -0
  114. package/dist/calcite/p-97375cc0.entry.js +5 -0
  115. package/dist/calcite/p-99422223.system.entry.js +5 -0
  116. package/dist/calcite/p-99d32fc3.system.js +5 -0
  117. package/dist/calcite/p-9a7c4812.js +5 -0
  118. package/dist/calcite/p-9ca6c750.system.entry.js +5 -0
  119. package/dist/calcite/p-9d7102c0.entry.js +5 -0
  120. package/dist/calcite/p-9e2c9752.entry.js +5 -0
  121. package/dist/calcite/p-9f49c4fe.system.entry.js +5 -0
  122. package/dist/calcite/p-a50e52f1.entry.js +5 -0
  123. package/dist/calcite/p-a99c8ebf.system.js +5 -0
  124. package/dist/calcite/p-ab14b0a2.system.js +5 -0
  125. package/dist/calcite/p-abe7730b.entry.js +5 -0
  126. package/dist/calcite/{p-db10485b.system.js → p-ac4aec20.system.js} +1 -1
  127. package/dist/calcite/p-af669f43.entry.js +5 -0
  128. package/dist/calcite/p-af84fa29.system.entry.js +5 -0
  129. package/dist/calcite/p-b002b038.entry.js +5 -0
  130. package/dist/calcite/p-b1a43a5f.system.entry.js +5 -0
  131. package/dist/calcite/p-b86f0930.system.entry.js +5 -0
  132. package/dist/calcite/p-b9a47a94.system.entry.js +5 -0
  133. package/dist/calcite/p-b9adf89d.system.entry.js +5 -0
  134. package/dist/calcite/p-baca86e3.entry.js +5 -0
  135. package/dist/calcite/p-bb401f25.system.js +5 -0
  136. package/dist/calcite/p-bc85a791.entry.js +5 -0
  137. package/dist/calcite/p-bd576ae0.system.entry.js +5 -0
  138. package/dist/calcite/{p-7bb94bfa.entry.js → p-bde80af8.entry.js} +1 -1
  139. package/dist/calcite/p-be231b84.entry.js +5 -0
  140. package/dist/calcite/p-c1c37da9.entry.js +5 -0
  141. package/dist/calcite/p-c5463268.system.entry.js +5 -0
  142. package/dist/calcite/p-c5b3d90c.entry.js +5 -0
  143. package/dist/calcite/p-c6cb0aa2.entry.js +5 -0
  144. package/dist/calcite/p-cd9d106b.system.entry.js +5 -0
  145. package/dist/calcite/p-cfcb2161.entry.js +5 -0
  146. package/dist/calcite/p-d14265f3.entry.js +5 -0
  147. package/dist/calcite/p-da470de7.entry.js +5 -0
  148. package/dist/calcite/p-dba7c714.system.entry.js +5 -0
  149. package/dist/calcite/p-dd9f2e61.js +5 -0
  150. package/dist/calcite/p-e1491358.system.entry.js +5 -0
  151. package/dist/calcite/p-e2047621.system.js +5 -0
  152. package/dist/calcite/p-e426746f.system.entry.js +5 -0
  153. package/dist/calcite/p-e4862fff.entry.js +5 -0
  154. package/dist/calcite/p-e5420c67.entry.js +5 -0
  155. package/dist/calcite/p-e5526c34.entry.js +5 -0
  156. package/dist/calcite/p-e5c2a6eb.entry.js +5 -0
  157. package/dist/calcite/{p-714ae4f6.entry.js → p-e63f0806.entry.js} +1 -1
  158. package/dist/calcite/p-e83a5fe4.system.entry.js +5 -0
  159. package/dist/calcite/{p-f2620bc3.js → p-e8e0f3b7.js} +1 -1
  160. package/dist/calcite/p-ea510477.js +5 -0
  161. package/dist/calcite/p-ec9bab33.system.js +5 -0
  162. package/dist/calcite/p-ee14736a.entry.js +5 -0
  163. package/dist/calcite/p-eeb91710.js +5 -0
  164. package/dist/calcite/p-ef6b4184.js +5 -0
  165. package/dist/calcite/p-f12c35de.system.entry.js +5 -0
  166. package/dist/calcite/p-f1dc4798.entry.js +5 -0
  167. package/dist/calcite/p-f24ddc56.system.entry.js +5 -0
  168. package/dist/calcite/p-f26cad61.system.entry.js +5 -0
  169. package/dist/calcite/p-f4d9c369.system.entry.js +5 -0
  170. package/dist/calcite/p-f5739197.entry.js +5 -0
  171. package/dist/calcite/p-f7572da7.entry.js +5 -0
  172. package/dist/calcite/p-f763b1e7.system.entry.js +5 -0
  173. package/dist/calcite/p-fbd68dbf.system.entry.js +5 -0
  174. package/dist/calcite/p-fdd3ea5e.entry.js +5 -0
  175. package/dist/calcite/p-fe3fff79.entry.js +5 -0
  176. package/dist/calcite/p-fee9511c.system.entry.js +5 -0
  177. package/dist/calcite/p-ff04cfb1.system.entry.js +5 -0
  178. package/dist/cjs/{CalciteExpandToggle-ca629f39.js → CalciteExpandToggle-d24fed0e.js} +3 -3
  179. package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -7
  180. package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -4
  181. package/dist/cjs/calcite-action-group.cjs.entry.js +15 -2
  182. package/dist/cjs/calcite-action-menu.cjs.entry.js +6 -3
  183. package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -9
  184. package/dist/cjs/calcite-action.cjs.entry.js +2 -2
  185. package/dist/cjs/calcite-alert.cjs.entry.js +23 -16
  186. package/dist/cjs/calcite-avatar.cjs.entry.js +4 -5
  187. package/dist/cjs/calcite-block_2.cjs.entry.js +25 -8
  188. package/dist/cjs/calcite-button.cjs.entry.js +13 -8
  189. package/dist/cjs/calcite-card.cjs.entry.js +19 -12
  190. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  191. package/dist/cjs/calcite-chip.cjs.entry.js +18 -6
  192. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +46 -35
  193. package/dist/cjs/calcite-combobox_3.cjs.entry.js +46 -35
  194. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +53 -41
  195. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +37 -36
  196. package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
  197. package/dist/cjs/calcite-filter.cjs.entry.js +4 -19
  198. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  199. package/dist/cjs/calcite-graph_2.cjs.entry.js +50 -31
  200. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  201. package/dist/cjs/calcite-icon.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  203. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +31 -14
  204. package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
  205. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +378 -253
  206. package/dist/cjs/calcite-input.cjs.entry.js +131 -57
  207. package/dist/cjs/calcite-label.cjs.entry.js +2 -5
  208. package/dist/cjs/calcite-link.cjs.entry.js +15 -4
  209. package/dist/cjs/calcite-list_3.cjs.entry.js +17 -4
  210. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  211. package/dist/cjs/calcite-modal.cjs.entry.js +10 -9
  212. package/dist/cjs/calcite-notice.cjs.entry.js +11 -4
  213. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -12
  214. package/dist/cjs/calcite-pagination.cjs.entry.js +3 -6
  215. package/dist/cjs/calcite-panel.cjs.entry.js +23 -21
  216. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +31 -9
  217. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -9
  218. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  219. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  220. package/dist/cjs/{calcite-radio_2.cjs.entry.js → calcite-radio-button.cjs.entry.js} +27 -58
  221. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +14 -67
  222. package/dist/cjs/calcite-rating.cjs.entry.js +5 -6
  223. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  224. package/dist/cjs/calcite-shell_3.cjs.entry.js +42 -15
  225. package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -2
  226. package/dist/cjs/calcite-split-button.cjs.entry.js +2 -5
  227. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -8
  228. package/dist/cjs/calcite-switch.cjs.entry.js +7 -9
  229. package/dist/cjs/calcite-tab_4.cjs.entry.js +14 -17
  230. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +38 -5
  231. package/dist/cjs/calcite-tile.cjs.entry.js +15 -2
  232. package/dist/cjs/calcite-tip_3.cjs.entry.js +19 -7
  233. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -8
  234. package/dist/cjs/calcite-tree_2.cjs.entry.js +12 -7
  235. package/dist/cjs/calcite-value-list_2.cjs.entry.js +26 -7
  236. package/dist/cjs/calcite.cjs.js +2 -2
  237. package/dist/cjs/conditionalSlot-92505fba.js +43 -0
  238. package/dist/cjs/{dom-41ce6029.js → dom-f3df220d.js} +44 -18
  239. package/dist/cjs/{form-7f276aa5.js → form-237cf392.js} +1 -1
  240. package/dist/cjs/{label-98a31f7d.js → label-6b18ca08.js} +5 -2
  241. package/dist/cjs/loader.cjs.js +2 -2
  242. package/dist/cjs/locale-02462821.js +128 -0
  243. package/dist/cjs/number-e813e801.js +84 -0
  244. package/dist/cjs/{observers-41837607.js → observers-79bfb8bc.js} +5 -1
  245. package/dist/cjs/{popper-4c24a334.js → popper-13a2bb46.js} +29 -10
  246. package/dist/cjs/{resources-3f7b51c8.js → resources-11763017.js} +7 -5
  247. package/dist/cjs/{resources-1177e39b.js → resources-95073e41.js} +17 -6
  248. package/dist/collection/collection-manifest.json +6 -8
  249. package/dist/collection/components/calcite-accordion/calcite-accordion.css +8 -14
  250. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -3
  251. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +41 -84
  252. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +2 -3
  253. package/dist/collection/components/calcite-action/calcite-action.css +52 -92
  254. package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +12 -19
  255. package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +3 -0
  256. package/dist/collection/components/calcite-action-group/calcite-action-group.css +10 -19
  257. package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
  258. package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +16 -24
  259. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +3 -0
  260. package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +33 -33
  261. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +9 -8
  262. package/dist/collection/components/calcite-alert/calcite-alert.css +110 -147
  263. package/dist/collection/components/calcite-alert/calcite-alert.js +46 -17
  264. package/dist/collection/components/calcite-avatar/calcite-avatar.css +13 -21
  265. package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
  266. package/dist/collection/components/calcite-block/calcite-block.css +52 -65
  267. package/dist/collection/components/calcite-block/calcite-block.js +21 -5
  268. package/dist/collection/components/calcite-block-section/calcite-block-section.css +32 -54
  269. package/dist/collection/components/calcite-block-section/calcite-block-section.js +3 -4
  270. package/dist/collection/components/calcite-button/calcite-button.css +107 -284
  271. package/dist/collection/components/calcite-button/calcite-button.js +9 -6
  272. package/dist/collection/components/calcite-button/resources.js +3 -1
  273. package/dist/collection/components/calcite-card/calcite-card.css +55 -67
  274. package/dist/collection/components/calcite-card/calcite-card.js +17 -12
  275. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +16 -25
  276. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +1 -1
  277. package/dist/collection/components/calcite-chip/calcite-chip.css +36 -80
  278. package/dist/collection/components/calcite-chip/calcite-chip.js +16 -6
  279. package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +18 -49
  280. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +8 -12
  281. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +12 -18
  282. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -6
  283. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +12 -19
  284. package/dist/collection/components/calcite-color-picker-swatch/resources.js +1 -1
  285. package/dist/collection/components/calcite-combobox/calcite-combobox.css +37 -60
  286. package/dist/collection/components/calcite-combobox/calcite-combobox.js +49 -20
  287. package/dist/collection/components/calcite-combobox/resources.js +3 -0
  288. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +41 -55
  289. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +9 -10
  290. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +15 -38
  291. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +2 -4
  292. package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
  293. package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +9 -15
  294. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +55 -17
  295. package/dist/collection/components/calcite-date-picker/resources.js +2 -1
  296. package/dist/collection/components/calcite-date-picker/utils.js +4 -3
  297. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +64 -68
  298. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
  299. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +26 -32
  300. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -9
  301. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +39 -57
  302. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +25 -11
  303. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +9 -49
  304. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +29 -25
  305. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +15 -21
  306. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
  307. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +89 -183
  308. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -8
  309. package/dist/collection/components/calcite-fab/calcite-fab.css +15 -17
  310. package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
  311. package/dist/collection/components/calcite-filter/calcite-filter.css +28 -56
  312. package/dist/collection/components/calcite-filter/calcite-filter.js +7 -43
  313. package/dist/collection/components/calcite-flow/calcite-flow.css +27 -35
  314. package/dist/collection/components/calcite-graph/calcite-graph.css +10 -19
  315. package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
  316. package/dist/collection/components/calcite-handle/calcite-handle.css +9 -19
  317. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign16.json +1 -0
  318. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign24.json +1 -0
  319. package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign32.json +1 -0
  320. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert16.json +1 -0
  321. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert24.json +1 -0
  322. package/dist/collection/components/calcite-icon/assets/calcite-icon/convert32.json +1 -0
  323. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore16.json +1 -0
  324. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore24.json +1 -0
  325. package/dist/collection/components/calcite-icon/assets/calcite-icon/explore32.json +1 -0
  326. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown16.json +1 -0
  327. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown24.json +1 -0
  328. package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown32.json +1 -0
  329. package/dist/collection/components/calcite-icon/assets/calcite-icon/language16.json +1 -0
  330. package/dist/collection/components/calcite-icon/assets/calcite-icon/language24.json +1 -0
  331. package/dist/collection/components/calcite-icon/assets/calcite-icon/language32.json +1 -0
  332. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate16.json +1 -0
  333. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate24.json +1 -0
  334. package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate32.json +1 -0
  335. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign16.json +1 -0
  336. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign24.json +1 -0
  337. package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign32.json +1 -0
  338. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy16.json +1 -0
  339. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy24.json +1 -0
  340. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy32.json +1 -0
  341. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign16.json +1 -0
  342. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign24.json +1 -0
  343. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign32.json +1 -0
  344. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode16.json +1 -0
  345. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode24.json +1 -0
  346. package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode32.json +1 -0
  347. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal16.json +1 -0
  348. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal24.json +1 -0
  349. package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal32.json +1 -0
  350. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch16.json +1 -0
  351. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch24.json +1 -0
  352. package/dist/collection/components/calcite-icon/assets/calcite-icon/touch32.json +1 -0
  353. package/dist/collection/components/calcite-icon/calcite-icon.css +17 -15
  354. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +11 -14
  355. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
  356. package/dist/collection/components/calcite-input/calcite-input.css +118 -268
  357. package/dist/collection/components/calcite-input/calcite-input.js +124 -50
  358. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +33 -47
  359. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +83 -10
  360. package/dist/collection/components/calcite-input-message/calcite-input-message.css +21 -33
  361. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
  362. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +6 -12
  363. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +84 -80
  364. package/dist/collection/components/calcite-label/calcite-label.css +28 -42
  365. package/dist/collection/components/calcite-label/calcite-label.js +1 -4
  366. package/dist/collection/components/calcite-link/calcite-link.css +31 -51
  367. package/dist/collection/components/calcite-link/calcite-link.js +31 -2
  368. package/dist/collection/components/calcite-list/calcite-list.css +14 -17
  369. package/dist/collection/components/calcite-list-item/calcite-list-item.css +28 -47
  370. package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
  371. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +12 -18
  372. package/dist/collection/components/calcite-loader/calcite-loader.css +47 -73
  373. package/dist/collection/components/calcite-modal/calcite-modal.css +107 -124
  374. package/dist/collection/components/calcite-modal/calcite-modal.js +8 -8
  375. package/dist/collection/components/calcite-notice/calcite-notice.css +66 -114
  376. package/dist/collection/components/calcite-notice/calcite-notice.js +9 -4
  377. package/dist/collection/components/calcite-option/calcite-option.css +6 -12
  378. package/dist/collection/components/calcite-option/calcite-option.js +3 -1
  379. package/dist/collection/components/calcite-option-group/calcite-option-group.css +6 -12
  380. package/dist/collection/components/calcite-pagination/calcite-pagination.css +26 -56
  381. package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
  382. package/dist/collection/components/calcite-panel/calcite-panel.css +60 -104
  383. package/dist/collection/components/calcite-panel/calcite-panel.js +24 -24
  384. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +21 -27
  385. package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +12 -4
  386. package/dist/collection/components/calcite-pick-list/resources.js +1 -1
  387. package/dist/collection/components/calcite-pick-list/shared-list-logic.js +12 -2
  388. package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
  389. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +20 -34
  390. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +14 -5
  391. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +49 -67
  392. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +12 -0
  393. package/dist/collection/components/calcite-popover/calcite-popover.css +30 -39
  394. package/dist/collection/components/calcite-popover/calcite-popover.js +3 -6
  395. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +6 -12
  396. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +1 -1
  397. package/dist/collection/components/calcite-progress/calcite-progress.css +12 -21
  398. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +84 -14
  399. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +20 -10
  400. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +6 -15
  401. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +8 -16
  402. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +3 -4
  403. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +24 -31
  404. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -60
  405. package/dist/collection/components/calcite-rating/calcite-rating.css +18 -43
  406. package/dist/collection/components/calcite-rating/calcite-rating.js +2 -5
  407. package/dist/collection/components/calcite-scrim/calcite-scrim.css +23 -31
  408. package/dist/collection/components/calcite-select/calcite-select.css +32 -61
  409. package/dist/collection/components/calcite-select/calcite-select.js +5 -7
  410. package/dist/collection/components/calcite-shell/calcite-shell.css +48 -44
  411. package/dist/collection/components/calcite-shell/calcite-shell.js +14 -2
  412. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +34 -46
  413. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +15 -5
  414. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +39 -54
  415. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +12 -7
  416. package/dist/collection/components/calcite-slider/calcite-slider.css +171 -232
  417. package/dist/collection/components/calcite-slider/calcite-slider.js +68 -33
  418. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +6 -12
  419. package/dist/collection/components/calcite-split-button/calcite-split-button.css +16 -29
  420. package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -6
  421. package/dist/collection/components/calcite-stepper/calcite-stepper.css +13 -19
  422. package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
  423. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +56 -144
  424. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -6
  425. package/dist/collection/components/calcite-switch/calcite-switch.css +31 -68
  426. package/dist/collection/components/calcite-switch/calcite-switch.js +3 -6
  427. package/dist/collection/components/calcite-tab/calcite-tab.css +15 -22
  428. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +18 -26
  429. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
  430. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +56 -88
  431. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +7 -11
  432. package/dist/collection/components/calcite-tabs/calcite-tabs.css +8 -14
  433. package/dist/collection/components/calcite-tile/calcite-tile.css +57 -86
  434. package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
  435. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +57 -100
  436. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -5
  437. package/dist/collection/components/calcite-tile-select/resources.js +20 -0
  438. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +6 -13
  439. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +62 -125
  440. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +263 -298
  441. package/dist/collection/components/calcite-time-picker/resources.js +15 -9
  442. package/dist/collection/components/calcite-tip/calcite-tip.css +25 -37
  443. package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
  444. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +9 -15
  445. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +41 -61
  446. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
  447. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +17 -21
  448. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +1 -1
  449. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +6 -12
  450. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -3
  451. package/dist/collection/components/calcite-tree/calcite-tree.css +6 -12
  452. package/dist/collection/components/calcite-tree/calcite-tree.js +2 -1
  453. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +31 -63
  454. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +6 -3
  455. package/dist/collection/components/calcite-value-list/calcite-value-list.css +22 -26
  456. package/dist/collection/components/calcite-value-list/calcite-value-list.js +22 -8
  457. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +27 -34
  458. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
  459. package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
  460. package/dist/collection/utils/conditionalSlot.js +37 -0
  461. package/dist/collection/utils/dom.js +44 -17
  462. package/dist/collection/utils/globalAttributes.js +59 -0
  463. package/dist/collection/utils/key.js +0 -23
  464. package/dist/collection/utils/label.js +4 -1
  465. package/dist/collection/utils/locale.js +43 -38
  466. package/dist/collection/utils/number.js +52 -19
  467. package/dist/collection/utils/observers.js +5 -1
  468. package/dist/collection/utils/time.js +144 -36
  469. package/dist/components/CalciteExpandToggle.js +3 -3
  470. package/dist/components/calcite-accordion-item.js +2 -3
  471. package/dist/components/calcite-accordion.js +2 -3
  472. package/dist/components/calcite-action-bar.js +4 -1
  473. package/dist/components/calcite-action-group2.js +13 -1
  474. package/dist/components/calcite-action-menu2.js +4 -1
  475. package/dist/components/calcite-action-pad.js +10 -8
  476. package/dist/components/calcite-action2.js +1 -1
  477. package/dist/components/calcite-alert.js +24 -16
  478. package/dist/components/calcite-avatar.js +4 -5
  479. package/dist/components/calcite-block-section.js +4 -4
  480. package/dist/components/calcite-block.js +20 -4
  481. package/dist/components/calcite-button2.js +11 -6
  482. package/dist/components/calcite-card.js +18 -12
  483. package/dist/components/calcite-checkbox2.js +2 -2
  484. package/dist/components/calcite-chip2.js +17 -6
  485. package/dist/components/calcite-color-picker-hex-input2.js +5 -7
  486. package/dist/components/calcite-color-picker-swatch2.js +21 -6
  487. package/dist/components/calcite-color-picker.js +9 -12
  488. package/dist/components/calcite-combobox-item-group.js +3 -4
  489. package/dist/components/calcite-combobox-item.js +9 -9
  490. package/dist/components/calcite-combobox.js +29 -20
  491. package/dist/components/calcite-date-picker-day2.js +2 -3
  492. package/dist/components/calcite-date-picker-month-header2.js +9 -11
  493. package/dist/components/calcite-date-picker-month2.js +7 -10
  494. package/dist/components/calcite-date-picker2.js +38 -22
  495. package/dist/components/calcite-dropdown-group.js +3 -4
  496. package/dist/components/calcite-dropdown-item.js +5 -8
  497. package/dist/components/calcite-dropdown2.js +29 -25
  498. package/dist/components/calcite-fab.js +4 -5
  499. package/dist/components/calcite-filter2.js +4 -20
  500. package/dist/components/calcite-flow.js +1 -1
  501. package/dist/components/calcite-graph2.js +14 -9
  502. package/dist/components/calcite-handle2.js +1 -1
  503. package/dist/components/calcite-icon2.js +1 -1
  504. package/dist/components/calcite-inline-editable.js +6 -6
  505. package/dist/components/calcite-input-date-picker.js +28 -11
  506. package/dist/components/calcite-input-message.js +3 -4
  507. package/dist/components/calcite-input-time-picker.js +54 -52
  508. package/dist/components/calcite-input2.js +126 -52
  509. package/dist/components/calcite-label2.js +2 -4
  510. package/dist/components/calcite-link2.js +15 -3
  511. package/dist/components/calcite-list-item-group.js +1 -1
  512. package/dist/components/calcite-list-item.js +13 -1
  513. package/dist/components/calcite-list.js +1 -1
  514. package/dist/components/calcite-loader2.js +1 -1
  515. package/dist/components/calcite-modal.js +9 -8
  516. package/dist/components/calcite-notice.js +10 -4
  517. package/dist/components/calcite-option-group.js +1 -1
  518. package/dist/components/calcite-option.js +4 -2
  519. package/dist/components/calcite-pagination.js +3 -5
  520. package/dist/components/calcite-panel.js +22 -21
  521. package/dist/components/calcite-pick-list-group.js +15 -5
  522. package/dist/components/calcite-pick-list-item2.js +13 -1
  523. package/dist/components/calcite-pick-list.js +3 -2
  524. package/dist/components/calcite-popover-manager.js +3 -3
  525. package/dist/components/calcite-popover2.js +4 -6
  526. package/dist/components/calcite-progress2.js +1 -1
  527. package/dist/components/calcite-radio-button-group.js +1 -1
  528. package/dist/components/calcite-radio-button.js +21 -17
  529. package/dist/components/calcite-radio-group-item.js +6 -59
  530. package/dist/components/calcite-radio-group.js +4 -5
  531. package/dist/components/calcite-rating.js +2 -4
  532. package/dist/components/calcite-scrim2.js +1 -1
  533. package/dist/components/calcite-select.js +5 -6
  534. package/dist/components/calcite-shell-center-row.js +16 -5
  535. package/dist/components/calcite-shell-panel.js +13 -8
  536. package/dist/components/calcite-shell.js +15 -3
  537. package/dist/components/calcite-slider.js +28 -15
  538. package/dist/components/calcite-sortable-list.js +1 -1
  539. package/dist/components/calcite-split-button.js +2 -4
  540. package/dist/components/calcite-stepper-item.js +4 -6
  541. package/dist/components/calcite-stepper.js +2 -3
  542. package/dist/components/calcite-switch2.js +4 -6
  543. package/dist/components/calcite-tab-nav2.js +4 -4
  544. package/dist/components/calcite-tab-title2.js +8 -11
  545. package/dist/components/calcite-tab2.js +1 -1
  546. package/dist/components/calcite-tabs2.js +1 -1
  547. package/dist/components/calcite-tile-select-group.js +1 -1
  548. package/dist/components/calcite-tile-select.js +37 -4
  549. package/dist/components/calcite-tile2.js +13 -1
  550. package/dist/components/calcite-time-picker2.js +328 -196
  551. package/dist/components/calcite-tip-group.js +1 -1
  552. package/dist/components/calcite-tip-manager.js +3 -3
  553. package/dist/components/calcite-tip.js +14 -2
  554. package/dist/components/calcite-tooltip-manager2.js +3 -4
  555. package/dist/components/calcite-tooltip.js +2 -2
  556. package/dist/components/calcite-tree-item.js +8 -5
  557. package/dist/components/calcite-tree.js +3 -2
  558. package/dist/components/calcite-value-list-item.js +13 -1
  559. package/dist/components/calcite-value-list.js +11 -4
  560. package/dist/components/conditionalSlot.js +40 -0
  561. package/dist/components/dom.js +45 -18
  562. package/dist/components/form.js +1 -1
  563. package/dist/components/label.js +5 -2
  564. package/dist/components/locale.js +43 -38
  565. package/dist/components/number.js +57 -21
  566. package/dist/components/observers.js +5 -1
  567. package/dist/components/popper.js +28 -9
  568. package/dist/components/resources3.js +1 -1
  569. package/dist/components/shared-list-render.js +16 -6
  570. package/dist/components/utils2.js +4 -1
  571. package/dist/custom-elements/index.d.ts +0 -6
  572. package/dist/custom-elements/index.js +1651 -1163
  573. package/dist/esm/{CalciteExpandToggle-4b38a7d1.js → CalciteExpandToggle-cff030be.js} +3 -3
  574. package/dist/esm/calcite-accordion_2.entry.js +5 -6
  575. package/dist/esm/calcite-action-bar.entry.js +7 -4
  576. package/dist/esm/calcite-action-group.entry.js +15 -2
  577. package/dist/esm/calcite-action-menu.entry.js +6 -3
  578. package/dist/esm/calcite-action-pad.entry.js +12 -9
  579. package/dist/esm/calcite-action.entry.js +2 -2
  580. package/dist/esm/calcite-alert.entry.js +23 -16
  581. package/dist/esm/calcite-avatar.entry.js +4 -5
  582. package/dist/esm/calcite-block_2.entry.js +25 -8
  583. package/dist/esm/calcite-button.entry.js +13 -8
  584. package/dist/esm/calcite-card.entry.js +19 -12
  585. package/dist/esm/calcite-checkbox.entry.js +5 -5
  586. package/dist/esm/calcite-chip.entry.js +18 -6
  587. package/dist/esm/calcite-color-picker_3.entry.js +33 -22
  588. package/dist/esm/calcite-combobox_3.entry.js +45 -34
  589. package/dist/esm/calcite-date-picker_4.entry.js +50 -38
  590. package/dist/esm/calcite-dropdown_3.entry.js +37 -36
  591. package/dist/esm/calcite-fab.entry.js +4 -5
  592. package/dist/esm/calcite-filter.entry.js +4 -19
  593. package/dist/esm/calcite-flow.entry.js +2 -2
  594. package/dist/esm/calcite-graph_2.entry.js +43 -24
  595. package/dist/esm/calcite-handle.entry.js +1 -1
  596. package/dist/esm/calcite-icon.entry.js +3 -3
  597. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  598. package/dist/esm/calcite-input-date-picker.entry.js +31 -14
  599. package/dist/esm/calcite-input-message.entry.js +3 -4
  600. package/dist/esm/calcite-input-time-picker_2.entry.js +363 -238
  601. package/dist/esm/calcite-input.entry.js +130 -56
  602. package/dist/esm/calcite-label.entry.js +2 -5
  603. package/dist/esm/calcite-link.entry.js +15 -4
  604. package/dist/esm/calcite-list_3.entry.js +17 -4
  605. package/dist/esm/calcite-loader.entry.js +1 -1
  606. package/dist/esm/calcite-modal.entry.js +10 -9
  607. package/dist/esm/calcite-notice.entry.js +11 -4
  608. package/dist/esm/calcite-option_3.entry.js +13 -12
  609. package/dist/esm/calcite-pagination.entry.js +3 -6
  610. package/dist/esm/calcite-panel.entry.js +23 -21
  611. package/dist/esm/calcite-pick-list_3.entry.js +31 -9
  612. package/dist/esm/calcite-popover_2.entry.js +7 -9
  613. package/dist/esm/calcite-progress.entry.js +1 -1
  614. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  615. package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +24 -54
  616. package/dist/esm/calcite-radio-group_2.entry.js +10 -63
  617. package/dist/esm/calcite-rating.entry.js +5 -6
  618. package/dist/esm/calcite-scrim.entry.js +1 -1
  619. package/dist/esm/calcite-shell_3.entry.js +42 -15
  620. package/dist/esm/calcite-sortable-list.entry.js +2 -2
  621. package/dist/esm/calcite-split-button.entry.js +2 -5
  622. package/dist/esm/calcite-stepper_2.entry.js +6 -8
  623. package/dist/esm/calcite-switch.entry.js +6 -8
  624. package/dist/esm/calcite-tab_4.entry.js +14 -17
  625. package/dist/esm/calcite-tile-select_2.entry.js +38 -5
  626. package/dist/esm/calcite-tile.entry.js +15 -2
  627. package/dist/esm/calcite-tip_3.entry.js +19 -7
  628. package/dist/esm/calcite-tooltip_2.entry.js +7 -8
  629. package/dist/esm/calcite-tree_2.entry.js +12 -7
  630. package/dist/esm/calcite-value-list_2.entry.js +26 -7
  631. package/dist/esm/calcite.js +2 -2
  632. package/dist/esm/conditionalSlot-9e7d8609.js +40 -0
  633. package/dist/esm/{dom-dc012a45.js → dom-e7fa77b9.js} +45 -18
  634. package/dist/esm/{form-6b717ce8.js → form-f90706b4.js} +1 -1
  635. package/dist/esm/{label-0d804a87.js → label-2bffc9f4.js} +5 -2
  636. package/dist/esm/loader.js +2 -2
  637. package/dist/esm/locale-fc850b7c.js +123 -0
  638. package/dist/esm/number-8779395f.js +76 -0
  639. package/dist/esm/{observers-8f0bc419.js → observers-46118290.js} +5 -1
  640. package/dist/esm/{popper-ed1eefa6.js → popper-ae231554.js} +29 -10
  641. package/dist/esm/{resources-eafda211.js → resources-95c5e8a6.js} +17 -7
  642. package/dist/esm/{resources-bece7a88.js → resources-c768953c.js} +7 -5
  643. package/dist/esm-es5/CalciteExpandToggle-cff030be.js +5 -0
  644. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  645. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  646. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  647. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  648. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  649. package/dist/esm-es5/calcite-action.entry.js +2 -2
  650. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  651. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  652. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  653. package/dist/esm-es5/calcite-button.entry.js +1 -1
  654. package/dist/esm-es5/calcite-card.entry.js +1 -1
  655. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  656. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  657. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  658. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  659. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  660. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  661. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  662. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  663. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  664. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  665. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  666. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  667. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  668. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  669. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  670. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  671. package/dist/esm-es5/calcite-input.entry.js +2 -2
  672. package/dist/esm-es5/calcite-label.entry.js +1 -1
  673. package/dist/esm-es5/calcite-link.entry.js +2 -2
  674. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  675. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  676. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  677. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  678. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  679. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  680. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  681. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  682. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  683. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  684. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  685. package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
  686. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  687. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  688. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  689. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  690. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  691. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  692. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  693. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  694. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  695. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  696. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  697. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  698. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  699. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  700. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  701. package/dist/esm-es5/calcite.js +1 -1
  702. package/dist/esm-es5/conditionalSlot-9e7d8609.js +5 -0
  703. package/dist/esm-es5/dom-e7fa77b9.js +5 -0
  704. package/dist/esm-es5/{form-6b717ce8.js → form-f90706b4.js} +1 -1
  705. package/dist/esm-es5/label-2bffc9f4.js +5 -0
  706. package/dist/esm-es5/loader.js +1 -1
  707. package/dist/esm-es5/locale-fc850b7c.js +5 -0
  708. package/dist/esm-es5/number-8779395f.js +5 -0
  709. package/dist/esm-es5/{observers-8f0bc419.js → observers-46118290.js} +1 -1
  710. package/dist/esm-es5/popper-ae231554.js +5 -0
  711. package/dist/esm-es5/resources-95c5e8a6.js +5 -0
  712. package/dist/esm-es5/resources-c768953c.js +5 -0
  713. package/dist/extras/docs-json.json +265 -286
  714. package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +1 -1
  715. package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +1 -1
  716. package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +2 -1
  717. package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +4 -1
  718. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +2 -1
  719. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +4 -1
  720. package/dist/types/components/calcite-alert/calcite-alert.d.ts +6 -2
  721. package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
  722. package/dist/types/components/calcite-block/calcite-block.d.ts +5 -1
  723. package/dist/types/components/calcite-button/resources.d.ts +2 -0
  724. package/dist/types/components/calcite-card/calcite-card.d.ts +4 -1
  725. package/dist/types/components/calcite-chip/calcite-chip.d.ts +4 -1
  726. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  727. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +4 -0
  728. package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
  729. package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -3
  730. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +6 -0
  731. package/dist/types/components/calcite-date-picker/resources.d.ts +1 -0
  732. package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +3 -1
  733. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +1 -0
  734. package/dist/types/components/calcite-filter/calcite-filter.d.ts +1 -10
  735. package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
  736. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
  737. package/dist/types/components/calcite-input/calcite-input.d.ts +6 -1
  738. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +15 -0
  739. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +13 -5
  740. package/dist/types/components/calcite-link/calcite-link.d.ts +5 -0
  741. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
  742. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -1
  743. package/dist/types/components/calcite-notice/calcite-notice.d.ts +4 -1
  744. package/dist/types/components/calcite-panel/calcite-panel.d.ts +6 -7
  745. package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +2 -1
  746. package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +1 -0
  747. package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +2 -2
  748. package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +4 -1
  749. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +4 -1
  750. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -0
  751. package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -8
  752. package/dist/types/components/calcite-select/calcite-select.d.ts +1 -2
  753. package/dist/types/components/calcite-shell/calcite-shell.d.ts +4 -1
  754. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +4 -1
  755. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +3 -1
  756. package/dist/types/components/calcite-slider/calcite-slider.d.ts +5 -0
  757. package/dist/types/components/calcite-tile/calcite-tile.d.ts +4 -1
  758. package/dist/types/components/calcite-tile-select/resources.d.ts +16 -0
  759. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +36 -24
  760. package/dist/types/components/calcite-time-picker/resources.d.ts +14 -8
  761. package/dist/types/components/calcite-tip/calcite-tip.d.ts +4 -1
  762. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
  763. package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +4 -2
  764. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +4 -1
  765. package/dist/types/components.d.ts +103 -130
  766. package/dist/types/preact.d.ts +5 -6
  767. package/dist/types/stencil-public-runtime.d.ts +6 -4
  768. package/dist/types/utils/conditionalSlot.d.ts +17 -0
  769. package/dist/types/utils/dom.d.ts +21 -7
  770. package/dist/types/utils/globalAttributes.d.ts +35 -0
  771. package/dist/types/utils/key.d.ts +0 -4
  772. package/dist/types/utils/label.d.ts +4 -0
  773. package/dist/types/utils/number.d.ts +4 -1
  774. package/dist/types/utils/time.d.ts +18 -5
  775. package/hydrate/index.js +1688 -1202
  776. package/package.json +34 -35
  777. package/readme.md +2 -32
  778. package/dist/calcite/p-04a2538a.entry.js +0 -5
  779. package/dist/calcite/p-051cc8c6.entry.js +0 -5
  780. package/dist/calcite/p-058ee7b0.entry.js +0 -5
  781. package/dist/calcite/p-0c827dec.entry.js +0 -5
  782. package/dist/calcite/p-0f33798d.system.entry.js +0 -5
  783. package/dist/calcite/p-0f9f1f89.system.entry.js +0 -5
  784. package/dist/calcite/p-1161e56f.js +0 -5
  785. package/dist/calcite/p-18fbf2af.system.entry.js +0 -5
  786. package/dist/calcite/p-198902ca.entry.js +0 -5
  787. package/dist/calcite/p-1ad123f9.entry.js +0 -5
  788. package/dist/calcite/p-1eb04aad.system.entry.js +0 -5
  789. package/dist/calcite/p-1f809e6c.system.entry.js +0 -5
  790. package/dist/calcite/p-2033f545.system.entry.js +0 -5
  791. package/dist/calcite/p-20f91a4e.system.entry.js +0 -5
  792. package/dist/calcite/p-227bc238.system.entry.js +0 -5
  793. package/dist/calcite/p-239b44dd.system.entry.js +0 -5
  794. package/dist/calcite/p-23bc2d32.entry.js +0 -5
  795. package/dist/calcite/p-266ee9db.entry.js +0 -5
  796. package/dist/calcite/p-2c66fb61.entry.js +0 -5
  797. package/dist/calcite/p-33802886.entry.js +0 -5
  798. package/dist/calcite/p-343cd887.entry.js +0 -5
  799. package/dist/calcite/p-3d69fba9.entry.js +0 -5
  800. package/dist/calcite/p-3ec67fae.entry.js +0 -5
  801. package/dist/calcite/p-4035444d.system.js +0 -5
  802. package/dist/calcite/p-42091a1f.system.entry.js +0 -5
  803. package/dist/calcite/p-42c7e2f0.system.entry.js +0 -5
  804. package/dist/calcite/p-43020fb5.js +0 -5
  805. package/dist/calcite/p-44a07313.system.entry.js +0 -5
  806. package/dist/calcite/p-47f55191.system.js +0 -5
  807. package/dist/calcite/p-4a8b3cf3.system.entry.js +0 -5
  808. package/dist/calcite/p-4cc182af.system.entry.js +0 -5
  809. package/dist/calcite/p-4ee2f6cf.system.entry.js +0 -5
  810. package/dist/calcite/p-50273eed.entry.js +0 -5
  811. package/dist/calcite/p-5035488d.entry.js +0 -5
  812. package/dist/calcite/p-52578054.js +0 -5
  813. package/dist/calcite/p-538e542a.system.entry.js +0 -5
  814. package/dist/calcite/p-55bfe4fc.entry.js +0 -5
  815. package/dist/calcite/p-56b352bf.system.js +0 -5
  816. package/dist/calcite/p-57e9b7cb.system.entry.js +0 -5
  817. package/dist/calcite/p-659898bf.entry.js +0 -5
  818. package/dist/calcite/p-6c5b849f.system.entry.js +0 -5
  819. package/dist/calcite/p-6ca051ef.entry.js +0 -5
  820. package/dist/calcite/p-702140ce.entry.js +0 -5
  821. package/dist/calcite/p-71e299a6.system.js +0 -5
  822. package/dist/calcite/p-72563742.js +0 -5
  823. package/dist/calcite/p-730b8963.system.entry.js +0 -5
  824. package/dist/calcite/p-7325e7fc.system.entry.js +0 -5
  825. package/dist/calcite/p-784e4e32.system.entry.js +0 -5
  826. package/dist/calcite/p-80a527ef.entry.js +0 -5
  827. package/dist/calcite/p-82c6cd9a.entry.js +0 -5
  828. package/dist/calcite/p-832affcb.system.entry.js +0 -5
  829. package/dist/calcite/p-837f9bb4.system.entry.js +0 -5
  830. package/dist/calcite/p-83fca16e.system.entry.js +0 -5
  831. package/dist/calcite/p-84d6696b.entry.js +0 -5
  832. package/dist/calcite/p-87f1831b.entry.js +0 -5
  833. package/dist/calcite/p-88b4f504.entry.js +0 -5
  834. package/dist/calcite/p-89987575.entry.js +0 -5
  835. package/dist/calcite/p-8b2d4eac.system.entry.js +0 -5
  836. package/dist/calcite/p-8b2ead09.system.entry.js +0 -5
  837. package/dist/calcite/p-8da7ad4b.entry.js +0 -5
  838. package/dist/calcite/p-8e252799.system.js +0 -5
  839. package/dist/calcite/p-8fef13ca.system.entry.js +0 -5
  840. package/dist/calcite/p-91645bf7.system.js +0 -5
  841. package/dist/calcite/p-9470d123.system.entry.js +0 -5
  842. package/dist/calcite/p-95b9a0f2.system.entry.js +0 -5
  843. package/dist/calcite/p-99de28b4.system.entry.js +0 -5
  844. package/dist/calcite/p-99e52ea7.system.entry.js +0 -5
  845. package/dist/calcite/p-9abbbcbd.system.entry.js +0 -5
  846. package/dist/calcite/p-9be50494.entry.js +0 -5
  847. package/dist/calcite/p-a821e9b3.system.entry.js +0 -5
  848. package/dist/calcite/p-a98e5444.system.entry.js +0 -5
  849. package/dist/calcite/p-ab9c6a18.entry.js +0 -5
  850. package/dist/calcite/p-abdc7a4b.system.entry.js +0 -5
  851. package/dist/calcite/p-ac38b743.system.entry.js +0 -5
  852. package/dist/calcite/p-aced5f01.entry.js +0 -5
  853. package/dist/calcite/p-b0b6baf4.system.entry.js +0 -5
  854. package/dist/calcite/p-b16b831d.entry.js +0 -5
  855. package/dist/calcite/p-b174f9ac.entry.js +0 -5
  856. package/dist/calcite/p-b2ab0485.js +0 -5
  857. package/dist/calcite/p-b37b7b9e.system.entry.js +0 -5
  858. package/dist/calcite/p-b3e418f0.entry.js +0 -5
  859. package/dist/calcite/p-b4b1081f.system.entry.js +0 -5
  860. package/dist/calcite/p-b5d21a5d.system.entry.js +0 -5
  861. package/dist/calcite/p-b5f412fb.entry.js +0 -5
  862. package/dist/calcite/p-b6b6ec04.js +0 -5
  863. package/dist/calcite/p-b7518275.system.entry.js +0 -5
  864. package/dist/calcite/p-b75ffebb.system.entry.js +0 -5
  865. package/dist/calcite/p-bef1f0d9.entry.js +0 -5
  866. package/dist/calcite/p-c0690971.entry.js +0 -5
  867. package/dist/calcite/p-c12e88cd.entry.js +0 -5
  868. package/dist/calcite/p-c1794615.entry.js +0 -5
  869. package/dist/calcite/p-c3ba61ea.entry.js +0 -5
  870. package/dist/calcite/p-c937f25f.system.js +0 -5
  871. package/dist/calcite/p-c9551366.entry.js +0 -5
  872. package/dist/calcite/p-ca5c0679.entry.js +0 -5
  873. package/dist/calcite/p-cbe9f1a2.system.entry.js +0 -5
  874. package/dist/calcite/p-cd1cdf3c.entry.js +0 -5
  875. package/dist/calcite/p-d07ff1ee.system.js +0 -5
  876. package/dist/calcite/p-d102e280.system.entry.js +0 -5
  877. package/dist/calcite/p-d830efad.entry.js +0 -5
  878. package/dist/calcite/p-dacd3cf8.entry.js +0 -5
  879. package/dist/calcite/p-dcc6b40f.entry.js +0 -5
  880. package/dist/calcite/p-dccb5ffd.entry.js +0 -5
  881. package/dist/calcite/p-dff7dc90.system.js +0 -5
  882. package/dist/calcite/p-e2d18d39.system.entry.js +0 -5
  883. package/dist/calcite/p-e4acb5a8.js +0 -5
  884. package/dist/calcite/p-e5305b02.js +0 -5
  885. package/dist/calcite/p-e6a47d34.system.entry.js +0 -5
  886. package/dist/calcite/p-e78e743b.entry.js +0 -5
  887. package/dist/calcite/p-e956e279.js +0 -5
  888. package/dist/calcite/p-ea3fee96.entry.js +0 -5
  889. package/dist/calcite/p-eada9cef.entry.js +0 -5
  890. package/dist/calcite/p-eb0f1e0f.system.entry.js +0 -5
  891. package/dist/calcite/p-ed3f000d.system.entry.js +0 -5
  892. package/dist/calcite/p-ee40deba.system.entry.js +0 -5
  893. package/dist/calcite/p-ee45cff5.system.entry.js +0 -5
  894. package/dist/calcite/p-eeb8dfe5.system.entry.js +0 -5
  895. package/dist/calcite/p-f0338acf.system.entry.js +0 -5
  896. package/dist/calcite/p-f05b5dc9.system.entry.js +0 -5
  897. package/dist/calcite/p-f07d3627.js +0 -5
  898. package/dist/calcite/p-f1832595.system.entry.js +0 -5
  899. package/dist/calcite/p-f333e31b.entry.js +0 -5
  900. package/dist/calcite/p-f6323ffa.system.entry.js +0 -5
  901. package/dist/calcite/p-f87ba8eb.system.js +0 -5
  902. package/dist/calcite/p-f97e1a2d.entry.js +0 -5
  903. package/dist/calcite/p-fb817417.entry.js +0 -5
  904. package/dist/calcite/p-fb8b2c96.entry.js +0 -5
  905. package/dist/calcite/p-fba77b86.entry.js +0 -5
  906. package/dist/calcite/p-fc32b022.entry.js +0 -5
  907. package/dist/calcite/p-fc47547f.system.entry.js +0 -5
  908. package/dist/calcite/p-fccc1605.entry.js +0 -5
  909. package/dist/calcite/p-fd1ddcd2.system.entry.js +0 -5
  910. package/dist/cjs/key-8bfb93ec.js +0 -37
  911. package/dist/cjs/locale-69dc9583.js +0 -123
  912. package/dist/cjs/number-e6448e15.js +0 -45
  913. package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
  914. package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
  915. package/dist/components/calcite-radio.d.ts +0 -11
  916. package/dist/components/calcite-radio.js +0 -10
  917. package/dist/components/calcite-radio2.js +0 -71
  918. package/dist/components/key.js +0 -33
  919. package/dist/esm/key-69001a68.js +0 -33
  920. package/dist/esm/locale-6c1b85c7.js +0 -118
  921. package/dist/esm/number-e7393766.js +0 -40
  922. package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +0 -5
  923. package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
  924. package/dist/esm-es5/dom-dc012a45.js +0 -5
  925. package/dist/esm-es5/key-69001a68.js +0 -5
  926. package/dist/esm-es5/label-0d804a87.js +0 -5
  927. package/dist/esm-es5/locale-6c1b85c7.js +0 -5
  928. package/dist/esm-es5/number-e7393766.js +0 -5
  929. package/dist/esm-es5/popper-ed1eefa6.js +0 -5
  930. package/dist/esm-es5/resources-bece7a88.js +0 -5
  931. package/dist/esm-es5/resources-eafda211.js +0 -5
  932. package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
@@ -3,9 +3,11 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
- import { g as getSlotted, a as getElementStyleDir, C as CSS_UTILITY } from './dom-dc012a45.js';
6
+ import { g as getSlotted, a as getElementDir } from './dom-e7fa77b9.js';
7
7
  import { C as CalciteHeading } from './CalciteHeading-1d6cd311.js';
8
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-9e7d8609.js';
8
9
  import './guid-196bd5ea.js';
10
+ import './observers-46118290.js';
9
11
 
10
12
  const CSS$1 = {
11
13
  article: "article",
@@ -45,7 +47,7 @@ const ICONS$1 = {
45
47
  };
46
48
  const HEADING_LEVEL = 4;
47
49
 
48
- const calciteBlockCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-direction:column;flex-direction:column;padding:0;-webkit-transition-property:margin;transition-property:margin;-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);border-width:0;border-bottom-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid;-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between;color:var(--calcite-ui-text-2);}.heading{font-weight:var(--calcite-font-weight-medium);margin:0;padding:0}.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:0}.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}.header-container>.header{padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0}.toggle{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;font-family:inherit;-ms-flex-align:center;align-items:center;margin:0;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:0;padding-right:0;border-style:none;cursor:pointer;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:0;padding-inline:0.75rem;padding-block:0px}.header .title .heading{padding:0;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word;line-height:1.25;-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)}.summary{padding:0;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);margin-top:0.125rem;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}.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{-ms-flex-item-align:center;align-self:center;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:0px;margin-inline-start:0px}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;position:relative;-webkit-animation:in var(--calcite-animation-timing) ease-in-out;animation:in var(--calcite-animation-timing) ease-in-out}.control-container{display:-ms-flexbox;display:flex;margin:0;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)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}";
50
+ const calciteBlockCss = "@-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-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}.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)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}";
49
51
 
50
52
  let CalciteBlock = class {
51
53
  constructor(hostRef) {
@@ -96,6 +98,17 @@ let CalciteBlock = class {
96
98
  }
97
99
  // --------------------------------------------------------------------------
98
100
  //
101
+ // Lifecycle
102
+ //
103
+ // --------------------------------------------------------------------------
104
+ connectedCallback() {
105
+ connectConditionalSlotComponent(this);
106
+ }
107
+ disconnectedCallback() {
108
+ disconnectConditionalSlotComponent(this);
109
+ }
110
+ // --------------------------------------------------------------------------
111
+ //
99
112
  // Render Methods
100
113
  //
101
114
  // --------------------------------------------------------------------------
@@ -109,7 +122,7 @@ let CalciteBlock = class {
109
122
  const showingLoadingStatus = this.loading && !this.open;
110
123
  const statusIcon = showingLoadingStatus ? ICONS$1.refresh : ICONS$1[status];
111
124
  const hasIcon = getSlotted(el, SLOTS.icon) || statusIcon;
112
- const iconEl = !statusIcon ? (h("slot", { name: SLOTS.icon })) : (h("calcite-icon", { class: {
125
+ const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS.icon })) : (h("calcite-icon", { class: {
113
126
  [CSS$1.statusIcon]: true,
114
127
  [CSS$1.valid]: status == "valid",
115
128
  [CSS$1.invalid]: status == "invalid",
@@ -117,10 +130,14 @@ let CalciteBlock = class {
117
130
  }, icon: statusIcon, scale: "m" }));
118
131
  return hasIcon ? h("div", { class: CSS$1.icon }, iconEl) : null;
119
132
  }
133
+ renderTitle() {
134
+ const { heading, headingLevel, summary } = this;
135
+ return heading || summary ? (h("div", { class: CSS$1.title }, h(CalciteHeading, { class: CSS$1.heading, level: headingLevel || HEADING_LEVEL }, heading), summary ? h("div", { class: CSS$1.summary }, summary) : null)) : null;
136
+ }
120
137
  render() {
121
- const { collapsible, disabled, el, heading, intlCollapse, intlExpand, loading, open, summary, intlLoading, headingLevel } = this;
138
+ const { collapsible, disabled, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
122
139
  const toggleLabel = open ? intlCollapse || TEXT$1.collapse : intlExpand || TEXT$1.expand;
123
- const headerContent = (h("header", { class: CSS$1.header }, this.renderIcon(), h("div", { class: CSS$1.title }, h(CalciteHeading, { class: CSS$1.heading, level: headingLevel || HEADING_LEVEL }, heading), summary ? h("div", { class: CSS$1.summary }, summary) : null)));
140
+ const headerContent = (h("header", { class: CSS$1.header }, this.renderIcon(), this.renderTitle()));
124
141
  const hasControl = !!getSlotted(el, SLOTS.control);
125
142
  const hasMenuActions = !!getSlotted(el, SLOTS.headerMenuActions);
126
143
  const collapseIcon = open ? ICONS$1.opened : ICONS$1.closed;
@@ -157,7 +174,7 @@ const ICONS = {
157
174
  invalid: "exclamation-mark-triangle"
158
175
  };
159
176
 
160
- const calciteBlockSectionCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}: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);display:block}:host([open]){border-style:solid;border-width:0;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px}:host(:last-child){border-bottom-width:0}.toggle{background-color:transparent;border-width:0;color:var(--calcite-ui-text-2);font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);width:100%}.toggle--switch,.section-header{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;margin-left:0;margin-right:0;margin-top:0.25rem;margin-bottom:0.25rem;padding-left:0;padding-right:0;padding-top:0.5rem;padding-bottom:0.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;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{-ms-flex:1 1 auto;flex:1 1 auto;margin-left:0.75rem;margin-right:0.75rem;margin-top:0;margin-bottom:0;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;margin-left:0.25rem}.toggle--switch .status-icon{margin-left:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.calcite--rtl .toggle--switch calcite-switch{margin-left:0;margin-right:0.25rem}.calcite--rtl .toggle--switch .status-icon{margin-left:0;margin-right:0.5rem}";
177
+ const calciteBlockSectionCss = "@-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)}";
161
178
 
162
179
  let CalciteBlockSection = class {
163
180
  constructor(hostRef) {
@@ -208,7 +225,7 @@ let CalciteBlockSection = class {
208
225
  }
209
226
  render() {
210
227
  const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;
211
- const dir = getElementStyleDir(el);
228
+ const dir = getElementDir(el);
212
229
  const arrowIcon = open
213
230
  ? ICONS.menuOpen
214
231
  : dir === "rtl"
@@ -222,7 +239,7 @@ let CalciteBlockSection = class {
222
239
  [CSS.sectionHeader]: true,
223
240
  [CSS.toggle]: true
224
241
  }, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS.sectionHeaderText }, text), this.renderStatusIcon()));
225
- return (h("section", { "aria-expanded": open.toString(), class: { [CSS_UTILITY.rtl]: dir === "rtl" } }, headerNode, h("div", { class: CSS.content, hidden: !open }, h("slot", null))));
242
+ return (h("section", { "aria-expanded": open.toString() }, headerNode, h("div", { class: CSS.content, hidden: !open }, h("slot", null))));
226
243
  }
227
244
  get el() { return getElement(this); }
228
245
  };
@@ -3,9 +3,9 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
6
- import { d as closestElementCrossShadowBoundary, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
7
- import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
8
- import { c as createObserver } from './observers-8f0bc419.js';
6
+ import { c as closestElementCrossShadowBoundary } from './dom-e7fa77b9.js';
7
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-2bffc9f4.js';
8
+ import { c as createObserver } from './observers-46118290.js';
9
9
  import './guid-196bd5ea.js';
10
10
 
11
11
  (function(prototype) {
@@ -44,13 +44,15 @@ const CSS = {
44
44
  iconStart: "icon--start",
45
45
  iconEnd: "icon--end",
46
46
  loadingIn: "loading-in",
47
- loadingOut: "loading-out"
47
+ loadingOut: "loading-out",
48
+ iconStartEmpty: "icon-start-empty",
49
+ iconEndEmpty: "icon-end-empty"
48
50
  };
49
51
  const TEXT = {
50
52
  loading: "Loading"
51
53
  };
52
54
 
53
- const calciteButtonCss = "@-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:300ms}.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:150ms ease-in-out}: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;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;width:100%;height:100%;border-radius:0;border-style:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out}:host button:hover,:host a:hover{text-decoration:none}.content{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--calcite-button-content-margin);margin-right:var(--calcite-button-content-margin)}: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(:not([icon-start])) .content{margin-left:unset}:host(:not([icon-end])) .content{margin-right:unset}:host([icon-start]:not([icon-end])) .calcite--rtl .content{margin-left:unset;margin-right:var(--calcite-button-content-margin)}:host([icon-end]:not([icon-start])) .calcite--rtl .content{margin-right:unset;margin-left:var(--calcite-button-content-margin)}: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{margin-right: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{margin-left: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=icon-start-space-between]:not([width=auto])) .calcite--rtl .icon--start{margin-right:unset;margin-left:auto}:host([alignment=icon-end-space-between]:not([width=auto])) .calcite--rtl .icon--end{margin-left:unset;margin-right:auto}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-left:var(--calcite-button-content-margin)}:host([alignment=center]) a.calcite--rtl:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button.calcite--rtl:not(.content--slotted) .icon--start+.icon--end{margin-left:unset;margin-right:var(--calcite-button-content-margin)}.icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([loading]),:host([disabled]){pointer-events:none}:host([loading]) button,:host([loading]) a,:host([disabled]) button,:host([disabled]) 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:0;-webkit-transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out, -webkit-transform 300ms 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{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-brand)}: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{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-danger)}: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{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}: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{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;-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{background-color:transparent;border-width:1px;border-style:solid;-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-right-width:0;border-left-width:1px}:host([appearance=outline][split-child=primary]) button.calcite--rtl,:host([appearance=clear][split-child=primary]) button.calcite--rtl{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button.calcite--rtl,:host([appearance=clear][split-child=secondary]) button.calcite--rtl{border-right-width:0;border-left-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{color:var(--calcite-ui-text-3);border-top-width:1px;border-top-color:var(--calcite-ui-border-input);border-bottom-width:1px;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;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:1.5rem;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;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2rem;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;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2.75rem;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;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:1.5rem}: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;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2rem}: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;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2.75rem}: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}";
55
+ const calciteButtonCss = "@-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([loading]),:host([disabled]){pointer-events:none}:host([loading]) button,:host([loading]) a,:host([disabled]) button,:host([disabled]) 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}";
54
56
 
55
57
  let CalciteButton = class {
56
58
  constructor(hostRef) {
@@ -144,13 +146,16 @@ let CalciteButton = class {
144
146
  }
145
147
  }
146
148
  render() {
147
- const dir = getElementDir(this.el);
148
149
  const Tag = this.childElType;
149
- const loader = (h("div", { class: CSS.buttonLoader }, this.hasLoader ? (h("calcite-loader", { active: true, class: this.loading ? CSS.loadingIn : CSS.loadingOut, inline: true, label: this.intlLoading, scale: "m" })) : null));
150
+ const loaderNode = 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;
150
151
  const iconStartEl = (h("calcite-icon", { class: { [CSS.icon]: true, [CSS.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
151
152
  const iconEndEl = (h("calcite-icon", { class: { [CSS.icon]: true, [CSS.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
152
153
  const contentEl = (h("span", { class: CSS.content }, h("slot", null)));
153
- return (h(Tag, { "aria-label": getLabelText(this), class: { [CSS_UTILITY.rtl]: dir === "rtl", [CSS.contentSlotted]: this.hasContent }, disabled: this.disabled || this.loading, href: this.childElType === "a" && this.href, name: this.childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: this.childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: this.childElType === "a" && this.target, type: this.childElType === "button" && this.type }, loader, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
154
+ return (h(Tag, { "aria-label": getLabelText(this), class: {
155
+ [CSS.contentSlotted]: this.hasContent,
156
+ [CSS.iconStartEmpty]: !this.iconStart,
157
+ [CSS.iconEndEmpty]: !this.iconEnd
158
+ }, disabled: this.disabled || this.loading, href: this.childElType === "a" && this.href, name: this.childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: this.childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: this.childElType === "a" && this.target, type: this.childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
154
159
  }
155
160
  //--------------------------------------------------------------------------
156
161
  //
@@ -3,9 +3,10 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
6
- import { b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
7
- import { g as getKey } from './key-69001a68.js';
6
+ import { g as getSlotted } from './dom-e7fa77b9.js';
7
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-9e7d8609.js';
8
8
  import './guid-196bd5ea.js';
9
+ import './observers-46118290.js';
9
10
 
10
11
  const CSS = {
11
12
  container: "container",
@@ -29,7 +30,7 @@ const TEXT = {
29
30
  loading: "Loading"
30
31
  };
31
32
 
32
- const calciteCardCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{max-width:100%;display:block}:host .calcite-card-container{display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-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);position:relative;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-3);-webkit-box-shadow:none;box-shadow:none}:host .calcite-card-container:hover{-webkit-box-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);box-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);z-index:1}:host .calcite-card-container:active{-webkit-box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){opacity:0;pointer-events:none}:host([loading]) .calcite-card-loader-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:absolute;top:0;right:0;bottom:0;left:0}.header,.footer{padding-top:0.75rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem;display:-ms-flexbox;display:flex}.header{-ms-flex-direction:column;flex-direction:column}.footer{padding-top:0.25rem;padding-bottom:0.75rem;padding-left:0.75rem;padding-right:0.75rem;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto}.card-content{padding:0.75rem;color:var(--calcite-ui-text-3);font-size:var(--calcite-font-size--2);line-height:1.375}:host([selectable]) .calcite-card-container:active{-webkit-box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);box-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);margin:0;font-size:var(--calcite-font-size--1);line-height:1.375}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin:0;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){max-width:100%;min-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:0;padding:0;top:0.5rem;right:0.5rem}.calcite--rtl .checkbox-wrapper{right:auto;left:0.5rem}";
33
+ const calciteCardCss = "@-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)}: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}";
33
34
 
34
35
  let CalciteCard = class {
35
36
  constructor(hostRef) {
@@ -72,7 +73,7 @@ let CalciteCard = class {
72
73
  this.selectCard();
73
74
  };
74
75
  this.cardSelectKeyDown = (e) => {
75
- switch (getKey(e.key)) {
76
+ switch (e.key) {
76
77
  case " ":
77
78
  case "Enter":
78
79
  this.selectCard();
@@ -86,31 +87,37 @@ let CalciteCard = class {
86
87
  // Lifecycle
87
88
  //
88
89
  // --------------------------------------------------------------------------
90
+ connectedCallback() {
91
+ connectConditionalSlotComponent(this);
92
+ }
93
+ disonnectedCallback() {
94
+ disconnectConditionalSlotComponent(this);
95
+ }
89
96
  render() {
90
- const dir = getElementDir(this.el);
91
- return (h("div", { class: { "calcite-card-container": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, h("section", { "aria-busy": this.loading.toString(), class: { [CSS.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderThumbnail(), this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter())));
97
+ 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": this.loading.toString(), class: { [CSS.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderThumbnail(), this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter())));
92
98
  }
93
99
  selectCard() {
94
100
  this.selected = !this.selected;
95
101
  this.calciteCardSelect.emit();
96
102
  }
97
103
  renderThumbnail() {
98
- const hasThumbnail = this.el.querySelector(`[slot=${SLOTS.thumbnail}]`);
99
- return hasThumbnail ? (h("div", { class: CSS.thumbnailWrapper }, h("slot", { name: SLOTS.thumbnail }))) : null;
104
+ return getSlotted(this.el, SLOTS.thumbnail) ? (h("div", { class: CSS.thumbnailWrapper, key: "thumbnail-wrapper" }, h("slot", { name: SLOTS.thumbnail }))) : null;
100
105
  }
101
106
  renderCheckbox() {
102
107
  const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
103
108
  return (h("calcite-label", { class: CSS.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
104
109
  }
105
110
  renderHeader() {
106
- const title = this.el.querySelector(`[slot=${SLOTS.title}]`);
107
- const subtitle = this.el.querySelector(`[slot=${SLOTS.subtitle}]`);
111
+ const { el } = this;
112
+ const title = getSlotted(el, SLOTS.title);
113
+ const subtitle = getSlotted(el, SLOTS.subtitle);
108
114
  const hasHeader = title || subtitle;
109
115
  return hasHeader ? (h("header", { class: CSS.header }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.subtitle }))) : null;
110
116
  }
111
117
  renderFooter() {
112
- const leadingFooter = this.el.querySelector(`[slot=${SLOTS.footerLeading}]`);
113
- const trailingFooter = this.el.querySelector(`[slot=${SLOTS.footerTrailing}]`);
118
+ const { el } = this;
119
+ const leadingFooter = getSlotted(el, SLOTS.footerLeading);
120
+ const trailingFooter = getSlotted(el, SLOTS.footerTrailing);
114
121
  const hasFooter = leadingFooter || trailingFooter;
115
122
  return hasFooter ? (h("footer", { class: CSS.footer }, h("slot", { name: SLOTS.footerLeading }), h("slot", { name: SLOTS.footerTrailing }))) : null;
116
123
  }
@@ -4,11 +4,11 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { g as guid } from './guid-196bd5ea.js';
7
- import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-6b717ce8.js';
8
- import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-0d804a87.js';
9
- import './dom-dc012a45.js';
7
+ import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-f90706b4.js';
8
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-2bffc9f4.js';
9
+ import './dom-e7fa77b9.js';
10
10
 
11
- const calciteCheckboxCss = "@-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:300ms}.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:150ms ease-in-out}: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{display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{overflow:hidden;display:block;background-color:var(--calcite-ui-foreground-1);pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;-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);stroke:currentColor;stroke-width:1;fill:currentColor;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:150ms ease-in-out;transition:150ms ease-in-out}:host([disabled]){cursor:default;opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}::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}";
11
+ const calciteCheckboxCss = "@-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;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);overflow:hidden;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)}:host([disabled]){pointer-events:none;cursor:default;opacity:var(--calcite-ui-opacity-disabled)}::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}";
12
12
 
13
13
  let CalciteCheckbox = class {
14
14
  constructor(hostRef) {
@@ -119,7 +119,7 @@ let CalciteCheckbox = class {
119
119
  //
120
120
  // --------------------------------------------------------------------------
121
121
  render() {
122
- return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: "toggle", onBlur: this.onToggleBlur, onFocus: this.onToggleFocus, ref: (toggleEl) => (this.toggleEl = toggleEl), role: "checkbox", tabIndex: 0 }, h("svg", { class: "check-svg", viewBox: "0 0 16 16" }, h("path", { d: this.getPath() })), h("slot", null)), h(HiddenFormInputSlot, { component: this })));
122
+ return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: "toggle", onBlur: this.onToggleBlur, onFocus: this.onToggleFocus, ref: (toggleEl) => (this.toggleEl = toggleEl), 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 })));
123
123
  }
124
124
  get el() { return getElement(this); }
125
125
  };
@@ -3,8 +3,10 @@
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
6
- import { g as getSlotted, b as getElementDir, C as CSS_UTILITY } from './dom-dc012a45.js';
6
+ import { g as getSlotted } from './dom-e7fa77b9.js';
7
7
  import { g as guid } from './guid-196bd5ea.js';
8
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-9e7d8609.js';
9
+ import './observers-46118290.js';
8
10
 
9
11
  const CSS = {
10
12
  title: "title",
@@ -22,7 +24,7 @@ const ICONS = {
22
24
  close: "x"
23
25
  };
24
26
 
25
- const calciteChipCss = "@-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:300ms}.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:150ms ease-in-out}: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]) .chip-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]) .chip-image-container{height:1.5rem;width:1.5rem;padding-left: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]) .chip-image-container{height:2rem;width:2rem;padding-left:0.25rem}:host([scale=m]) .calcite--rtl .chip-image-container{padding-left:0;padding-right:0.25rem}:host([scale=l]) .calcite--rtl .chip-image-container{padding-left:0;padding-right:0.25rem}:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium);cursor:default;border-radius:9999px;-webkit-box-sizing:border-box;box-sizing:border-box;--calcite-chip-button-border-radius:0 50px 50px 0}.container{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;height:100%;max-width:100%}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calcite--rtl{text-align:right;--calcite-chip-button-border-radius:50px 0 0 50px}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding:0 var(--calcite-chip-spacing-unit-s) 0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) .calcite--rtl span{padding:0 var(--calcite-chip-spacing-unit-l) 0 var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([icon]:not([dismissible])) .calcite--rtl span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0;background-color:transparent;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;display:-ms-inline-flexbox;display:inline-flex;min-height:100%;max-height:100%;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;border-style:none;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;color:var(--calcite-ui-text-1);-webkit-appearance:none;border-radius:var(--calcite-chip-button-border-radius);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)}.chip-image-container{border-radius:50%;overflow:hidden;display:-ms-inline-flexbox;display:inline-flex}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;border-radius:50%;overflow:hidden}.calcite-chip--icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin-top:0;margin-bottom:0;margin-right:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-left:var(--calcite-chip-spacing-unit-l);border-radius:var(--calcite-chip-button-border-radius)}.calcite--rtl .calcite-chip--icon{margin-top:0;margin-bottom:0;margin-left:0;margin-right:var(--calcite-chip-spacing-unit-l)}: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]) calcite-icon{color:var(--calcite-ui-text-3)}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-info)}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-danger)}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-warning)}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-success)}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-text-3)}";
27
+ const calciteChipCss = "@-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]) .chip-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]) .chip-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]) .chip-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;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)}.chip-image-container{display:-ms-inline-flexbox;display:inline-flex;border-radius:50%;overflow:hidden}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;border-radius:50%;overflow:hidden}.calcite-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]) calcite-icon{color:var(--calcite-ui-text-3)}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-info)}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-danger)}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-warning)}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-success)}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .calcite-chip--icon{color:var(--calcite-ui-text-3)}";
26
28
 
27
29
  let CalciteChip = class {
28
30
  constructor(hostRef) {
@@ -58,6 +60,17 @@ let CalciteChip = class {
58
60
  };
59
61
  this.guid = guid();
60
62
  }
63
+ // --------------------------------------------------------------------------
64
+ //
65
+ // Lifecycle
66
+ //
67
+ // --------------------------------------------------------------------------
68
+ connectedCallback() {
69
+ connectConditionalSlotComponent(this);
70
+ }
71
+ disconnectedCallback() {
72
+ disconnectConditionalSlotComponent(this);
73
+ }
61
74
  //--------------------------------------------------------------------------
62
75
  //
63
76
  // Public Methods
@@ -76,13 +89,12 @@ let CalciteChip = class {
76
89
  renderChipImage() {
77
90
  const { el } = this;
78
91
  const hasChipImage = getSlotted(el, SLOTS.image);
79
- return hasChipImage ? (h("div", { class: CSS.chipImageContainer }, h("slot", { name: SLOTS.image }))) : null;
92
+ return hasChipImage ? (h("div", { class: CSS.chipImageContainer, key: "image" }, h("slot", { name: SLOTS.image }))) : null;
80
93
  }
81
94
  render() {
82
- const dir = getElementDir(this.el);
83
- const iconEl = (h("calcite-icon", { class: CSS.calciteChipIcon, dir: dir, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
95
+ const iconEl = (h("calcite-icon", { class: CSS.calciteChipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
84
96
  const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: ICONS.close, scale: "s" })));
85
- return (h("div", { class: { container: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS.title, id: this.guid }, h("slot", null)), this.dismissible ? closeButton : null));
97
+ return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS.title, id: this.guid }, h("slot", null)), this.dismissible ? closeButton : null));
86
98
  }
87
99
  get el() { return getElement(this); }
88
100
  };