@esri/calcite-components 1.0.0-next.293 → 1.0.0-next.297

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 (687) hide show
  1. package/dist/calcite/assets/calcite-icon/checkExtent16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/checkExtent24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkExtent32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/driveTime16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/driveTime24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/driveTime32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/driveTimeLargest16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/driveTimeLargest24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/driveTimeLargest32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/driveTimeXBar16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/driveTimeXBar24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/driveTimeXBar32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/groupItems16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/groupItems24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/groupItems32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/groupLayoutElements16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/groupLayoutElements24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/groupLayoutElements32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  37. package/dist/calcite/calcite.esm.js +1 -1
  38. package/dist/calcite/calcite.js +1 -1
  39. package/dist/calcite/{p-fc4846f0.system.entry.js → p-00716aa8.system.entry.js} +1 -1
  40. package/dist/calcite/{p-69548a7d.system.entry.js → p-044d603d.system.entry.js} +1 -1
  41. package/dist/calcite/{p-37cee0ea.entry.js → p-05da7439.entry.js} +1 -1
  42. package/dist/calcite/{p-f4299b95.entry.js → p-08d707c4.entry.js} +1 -1
  43. package/dist/calcite/{p-e33a2dd2.system.entry.js → p-10708f87.system.entry.js} +1 -1
  44. package/dist/calcite/p-109049e6.system.entry.js +5 -0
  45. package/dist/calcite/{p-d7e5b807.system.entry.js → p-127e3513.system.entry.js} +1 -1
  46. package/dist/calcite/p-1434e37e.entry.js +5 -0
  47. package/dist/calcite/{p-01c3783e.system.entry.js → p-143cffd9.system.entry.js} +1 -1
  48. package/dist/calcite/{p-050dc7e6.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
  49. package/dist/calcite/{p-c20278e8.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
  50. package/dist/calcite/{p-3ba8024a.system.entry.js → p-16f2d814.system.entry.js} +1 -1
  51. package/dist/calcite/p-1942876c.js +5 -0
  52. package/dist/calcite/{p-f8d975a1.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
  53. package/dist/calcite/{p-61038b30.js → p-1a962bdd.js} +1 -1
  54. package/dist/calcite/p-1aa89347.system.entry.js +5 -0
  55. package/dist/calcite/{p-7c0debe0.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
  56. package/dist/calcite/{p-473cfb74.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
  57. package/dist/calcite/p-21c8ac06.entry.js +5 -0
  58. package/dist/calcite/{p-4c7e3d8e.system.entry.js → p-243d95ab.system.entry.js} +1 -1
  59. package/dist/calcite/{p-2920aa02.entry.js → p-2451da5b.entry.js} +1 -1
  60. package/dist/calcite/p-26efaed7.entry.js +5 -0
  61. package/dist/calcite/p-288bc438.system.js +5 -0
  62. package/dist/calcite/{p-da9603a3.entry.js → p-289bc56f.entry.js} +1 -1
  63. package/dist/calcite/{p-10ccc21d.entry.js → p-29771742.entry.js} +1 -1
  64. package/dist/calcite/{p-c0dd929a.entry.js → p-2aa3007a.entry.js} +1 -1
  65. package/dist/calcite/p-2e29554c.js +5 -0
  66. package/dist/calcite/{p-8efb43fc.entry.js → p-33802886.entry.js} +1 -1
  67. package/dist/calcite/{p-32fbf8cd.system.js → p-34e5baa7.system.js} +1 -1
  68. package/dist/calcite/p-3833285b.system.entry.js +5 -0
  69. package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
  70. package/dist/calcite/p-3dae9da3.js +5 -0
  71. package/dist/calcite/{p-fff0a881.entry.js → p-3e6fcede.entry.js} +1 -1
  72. package/dist/calcite/p-3eb1dc0f.entry.js +5 -0
  73. package/dist/calcite/p-41023be5.system.entry.js +5 -0
  74. package/dist/calcite/{p-00d72f16.entry.js → p-48f03121.entry.js} +1 -1
  75. package/dist/calcite/{p-22ad79b1.entry.js → p-4acfb654.entry.js} +1 -1
  76. package/dist/calcite/{p-3929447c.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
  77. package/dist/calcite/{p-0fc8b24c.system.entry.js → p-4e16515a.system.entry.js} +1 -1
  78. package/dist/calcite/p-4f1f83d2.entry.js +5 -0
  79. package/dist/calcite/p-502ea583.entry.js +5 -0
  80. package/dist/calcite/p-523bc291.system.js +5 -0
  81. package/dist/calcite/p-54394dfe.system.entry.js +5 -0
  82. package/dist/calcite/p-578509a8.entry.js +5 -0
  83. package/dist/calcite/p-592da79d.system.entry.js +5 -0
  84. package/dist/calcite/p-5c0c29bc.entry.js +5 -0
  85. package/dist/calcite/p-5eee672a.system.entry.js +5 -0
  86. package/dist/calcite/{p-175764f3.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
  87. package/dist/calcite/{p-87b93729.entry.js → p-5f817b79.entry.js} +1 -1
  88. package/dist/calcite/{p-e693758c.entry.js → p-6296644b.entry.js} +1 -1
  89. package/dist/calcite/p-63e60894.entry.js +5 -0
  90. package/dist/calcite/{p-acaad99b.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
  91. package/dist/calcite/{p-8655c0a1.entry.js → p-659898bf.entry.js} +1 -1
  92. package/dist/calcite/{p-7cdfec27.system.js → p-6d44b7d9.system.js} +1 -1
  93. package/dist/calcite/p-6f1cca21.system.js +5 -0
  94. package/dist/calcite/{p-7839d1c9.entry.js → p-714ae4f6.entry.js} +1 -1
  95. package/dist/calcite/{p-9d83f268.system.entry.js → p-74f390e1.system.entry.js} +1 -1
  96. package/dist/calcite/p-75264173.entry.js +5 -0
  97. package/dist/calcite/{p-41e9b889.entry.js → p-765fb8ed.entry.js} +1 -1
  98. package/dist/calcite/{p-be3b0fee.entry.js → p-78d0db7b.entry.js} +1 -1
  99. package/dist/calcite/{p-9e4f2697.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
  100. package/dist/calcite/{p-c57f8690.entry.js → p-7bb94bfa.entry.js} +1 -1
  101. package/dist/calcite/p-81538774.system.entry.js +5 -0
  102. package/dist/calcite/p-81ab443c.entry.js +5 -0
  103. package/dist/calcite/p-82139130.entry.js +5 -0
  104. package/dist/calcite/{p-20042561.entry.js → p-82c6cd9a.entry.js} +1 -1
  105. package/dist/calcite/p-8340b572.js +5 -0
  106. package/dist/calcite/{p-a93678c6.system.entry.js → p-840f2937.system.entry.js} +2 -2
  107. package/dist/calcite/p-85032edc.system.entry.js +5 -0
  108. package/dist/calcite/{p-57f5866d.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
  109. package/dist/calcite/p-8baa9ba4.entry.js +5 -0
  110. package/dist/calcite/p-8fef13ca.system.entry.js +5 -0
  111. package/dist/calcite/{p-1aaf7f83.entry.js → p-9338b0bc.entry.js} +1 -1
  112. package/dist/calcite/p-9577dfd9.entry.js +5 -0
  113. package/dist/calcite/{p-c3922ef7.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
  114. package/dist/calcite/p-968ea270.entry.js +5 -0
  115. package/dist/calcite/{p-9358deb1.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
  116. package/dist/calcite/p-9be6633a.entry.js +5 -0
  117. package/dist/calcite/{p-021d44b7.system.entry.js → p-9f240615.system.entry.js} +1 -1
  118. package/dist/calcite/{p-e3a30266.system.entry.js → p-a5269f14.system.entry.js} +1 -1
  119. package/dist/calcite/{p-31c4a271.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
  120. package/dist/calcite/{p-75793454.entry.js → p-ace12b8d.entry.js} +1 -1
  121. package/dist/calcite/{p-1b2c1f55.entry.js → p-aced5f01.entry.js} +1 -1
  122. package/dist/calcite/{p-85a2bf7c.system.entry.js → p-aec398f3.system.entry.js} +1 -1
  123. package/dist/calcite/p-b1351c3e.system.entry.js +5 -0
  124. package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
  125. package/dist/calcite/p-b1f88d45.system.js +5 -0
  126. package/dist/calcite/{p-bb916828.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
  127. package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
  128. package/dist/calcite/p-b9fa225e.entry.js +5 -0
  129. package/dist/calcite/p-c0e35328.entry.js +5 -0
  130. package/dist/calcite/p-c34c4414.system.js +5 -0
  131. package/dist/calcite/{p-0e30afe6.entry.js → p-c3ba61ea.entry.js} +1 -1
  132. package/dist/calcite/{p-cd8f7781.system.entry.js → p-c4cb4fab.system.entry.js} +1 -1
  133. package/dist/calcite/p-c87c04a9.entry.js +5 -0
  134. package/dist/calcite/p-ca3bb147.entry.js +5 -0
  135. package/dist/calcite/{p-34a6550f.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
  136. package/dist/calcite/{p-64d90b14.system.js → p-cbf6bb04.system.js} +1 -1
  137. package/dist/calcite/{p-ac3d8784.entry.js → p-cc788d2e.entry.js} +1 -1
  138. package/dist/calcite/p-cced5508.system.entry.js +5 -0
  139. package/dist/calcite/{p-45d123be.system.entry.js → p-cf03b144.system.entry.js} +1 -1
  140. package/dist/calcite/{p-8fcfe861.js → p-d53cc958.js} +1 -1
  141. package/dist/calcite/p-d550ee4d.entry.js +5 -0
  142. package/dist/calcite/{p-18078190.entry.js → p-d6e30c54.entry.js} +1 -1
  143. package/dist/calcite/{p-7b01fe89.js → p-d6f20229.js} +1 -1
  144. package/dist/calcite/{p-ff04f827.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
  145. package/dist/calcite/{p-99da965d.system.entry.js → p-dd464e44.system.entry.js} +1 -1
  146. package/dist/calcite/p-dd5ff164.entry.js +5 -0
  147. package/dist/calcite/{p-bd555b2e.system.entry.js → p-deb36fde.system.entry.js} +1 -1
  148. package/dist/calcite/{p-ba9b4f62.system.entry.js → p-defcee80.system.entry.js} +1 -1
  149. package/dist/calcite/{p-3b17d8d0.system.js → p-dff7dc90.system.js} +1 -1
  150. package/dist/calcite/{p-318e95d7.system.entry.js → p-e33fe285.system.entry.js} +1 -1
  151. package/dist/calcite/p-e52495d3.system.entry.js +5 -0
  152. package/dist/calcite/{p-7b600760.entry.js → p-e5e3b591.entry.js} +1 -1
  153. package/dist/calcite/p-e62a9b1d.system.entry.js +5 -0
  154. package/dist/calcite/p-e6c84e63.entry.js +5 -0
  155. package/dist/calcite/{p-87e83c0d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
  156. package/dist/calcite/{p-5cb26137.system.entry.js → p-e70cb594.system.entry.js} +1 -1
  157. package/dist/calcite/{p-a20df95c.js → p-e956e279.js} +1 -1
  158. package/dist/calcite/p-eada9cef.entry.js +5 -0
  159. package/dist/calcite/{p-eb3ee207.entry.js → p-ecc00ef0.entry.js} +1 -1
  160. package/dist/calcite/p-ed15771f.system.entry.js +5 -0
  161. package/dist/calcite/p-ed453bfb.entry.js +5 -0
  162. package/dist/calcite/{p-51cb078a.entry.js → p-ef39847e.entry.js} +1 -1
  163. package/dist/calcite/{p-f141da0f.entry.js → p-efb2169a.entry.js} +1 -1
  164. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-f0338acf.system.entry.js} +1 -1
  165. package/dist/calcite/{p-95a3a0ce.entry.js → p-f1c5e7cf.entry.js} +1 -1
  166. package/dist/calcite/{p-1f99b038.entry.js → p-f278dd53.entry.js} +1 -1
  167. package/dist/calcite/{p-9dbb69f7.entry.js → p-f9c46578.entry.js} +1 -1
  168. package/dist/calcite/{p-32faf98b.system.entry.js → p-fc47547f.system.entry.js} +1 -1
  169. package/dist/calcite/p-fc643963.entry.js +5 -0
  170. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-5f60c98b.js} +1 -1
  171. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-112c19f9.js} +1 -1
  172. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  173. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  177. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  179. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  182. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
  184. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +25 -26
  186. package/dist/cjs/calcite-combobox_3.cjs.entry.js +83 -24
  187. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
  188. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
  189. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-filter.cjs.entry.js +43 -14
  191. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -12
  193. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-inline-editable.cjs.entry.js +51 -42
  196. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +70 -17
  197. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  198. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -4
  199. package/dist/cjs/calcite-input.cjs.entry.js +103 -71
  200. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  201. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  204. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  205. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-option_3.cjs.entry.js +31 -5
  207. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  208. package/dist/cjs/calcite-panel.cjs.entry.js +5 -4
  209. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  210. package/dist/cjs/calcite-popover_2.cjs.entry.js +5 -5
  211. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  212. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -24
  214. package/dist/cjs/calcite-radio_2.cjs.entry.js +81 -75
  215. package/dist/cjs/calcite-rating.cjs.entry.js +13 -4
  216. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  217. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -4
  218. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  219. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  220. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  221. package/dist/cjs/calcite-switch.cjs.entry.js +29 -48
  222. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -3
  224. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  226. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite.cjs.js +3 -3
  230. package/dist/cjs/form-a5b44a1f.js +179 -0
  231. package/dist/cjs/{index-1987a382.js → index-6b5d2de5.js} +81 -429
  232. package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
  233. package/dist/cjs/loader.cjs.js +3 -3
  234. package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
  235. package/dist/cjs/{resources-7dcd68d1.js → resources-3f7b51c8.js} +1 -1
  236. package/dist/cjs/{resources-d0619f6a.js → resources-cd25dbae.js} +1 -1
  237. package/dist/collection/collection-manifest.json +2 -2
  238. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  239. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
  240. package/dist/collection/components/calcite-action/calcite-action.js +4 -4
  241. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +2 -2
  242. package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
  243. package/dist/collection/components/calcite-block/calcite-block.css +2 -2
  244. package/dist/collection/components/calcite-block/calcite-block.js +4 -4
  245. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  246. package/dist/collection/components/calcite-button/calcite-button.js +4 -4
  247. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  248. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
  249. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +71 -120
  250. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  251. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +59 -56
  252. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +15 -19
  253. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  254. package/dist/collection/components/calcite-combobox/calcite-combobox.css +15 -0
  255. package/dist/collection/components/calcite-combobox/calcite-combobox.js +146 -26
  256. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +51 -21
  257. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  258. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  259. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +5 -5
  260. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  261. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  262. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  263. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  264. package/dist/collection/components/calcite-filter/calcite-filter.js +108 -19
  265. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  266. package/dist/collection/components/calcite-graph/util.js +1 -1
  267. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  276. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  277. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  278. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  279. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  280. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  281. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  282. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  283. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  284. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  285. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  286. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  287. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  288. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  289. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  290. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  291. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  292. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  293. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  294. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  295. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  296. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  297. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  298. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  299. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  300. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  301. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  302. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  303. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  304. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  305. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +55 -44
  306. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  307. package/dist/collection/components/calcite-input/calcite-input.css +102 -68
  308. package/dist/collection/components/calcite-input/calcite-input.js +144 -81
  309. package/dist/collection/components/calcite-input/resources.js +14 -12
  310. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  311. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +174 -51
  312. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  313. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  314. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +34 -3
  315. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  316. package/dist/collection/components/calcite-list-item/calcite-list-item.css +7 -0
  317. package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
  318. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
  319. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  320. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  321. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  322. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  323. package/dist/collection/components/calcite-panel/calcite-panel.css +16 -6
  324. package/dist/collection/components/calcite-panel/calcite-panel.js +3 -2
  325. package/dist/collection/components/calcite-panel/resources.js +1 -0
  326. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  327. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  328. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  329. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  330. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  331. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  332. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +95 -96
  333. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  334. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  335. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +58 -22
  336. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
  337. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  338. package/dist/collection/components/calcite-rating/calcite-rating.js +53 -5
  339. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  340. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  341. package/dist/collection/components/calcite-select/calcite-select.js +91 -5
  342. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  343. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
  344. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +2 -2
  345. package/dist/collection/components/calcite-shell-panel/resources.js +1 -0
  346. package/dist/collection/components/calcite-slider/calcite-slider.css +17 -4
  347. package/dist/collection/components/calcite-slider/calcite-slider.js +48 -4
  348. package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
  349. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  350. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  351. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  352. package/dist/collection/components/calcite-switch/calcite-switch.js +35 -66
  353. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  354. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
  355. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
  356. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  357. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  358. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
  359. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  360. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  361. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
  362. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  363. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +35 -28
  364. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  365. package/dist/collection/utils/form.js +167 -14
  366. package/dist/collection/utils/label.js +33 -4
  367. package/dist/collection/utils/popper.js +2 -2
  368. package/dist/components/calcite-accordion-item.js +2 -2
  369. package/dist/components/calcite-accordion.js +2 -2
  370. package/dist/components/calcite-action-bar.js +2 -2
  371. package/dist/components/calcite-action-group2.js +2 -2
  372. package/dist/components/calcite-action-menu2.js +2 -2
  373. package/dist/components/calcite-action-pad.js +2 -2
  374. package/dist/components/calcite-action2.js +2 -2
  375. package/dist/components/calcite-alert.js +2 -2
  376. package/dist/components/calcite-avatar.js +2 -2
  377. package/dist/components/calcite-block-section.js +2 -2
  378. package/dist/components/calcite-block.js +3 -3
  379. package/dist/components/calcite-button2.js +3 -3
  380. package/dist/components/calcite-card.js +11 -5
  381. package/dist/components/calcite-checkbox2.js +39 -89
  382. package/dist/components/calcite-chip2.js +2 -2
  383. package/dist/components/calcite-color-picker-hex-input2.js +13 -17
  384. package/dist/components/calcite-color-picker-swatch2.js +2 -2
  385. package/dist/components/calcite-color-picker.js +15 -12
  386. package/dist/components/calcite-combobox-item-group.js +2 -2
  387. package/dist/components/calcite-combobox-item.js +2 -2
  388. package/dist/components/calcite-combobox.js +85 -23
  389. package/dist/components/calcite-date-picker-day2.js +2 -2
  390. package/dist/components/calcite-date-picker-month-header2.js +2 -2
  391. package/dist/components/calcite-date-picker-month2.js +2 -2
  392. package/dist/components/calcite-date-picker2.js +27 -9
  393. package/dist/components/calcite-dropdown-group.js +2 -2
  394. package/dist/components/calcite-dropdown-item.js +3 -3
  395. package/dist/components/calcite-dropdown2.js +3 -3
  396. package/dist/components/calcite-fab.js +2 -2
  397. package/dist/components/calcite-filter2.js +47 -16
  398. package/dist/components/calcite-flow.js +2 -2
  399. package/dist/components/calcite-graph2.js +20 -10
  400. package/dist/components/calcite-handle2.js +2 -2
  401. package/dist/components/calcite-icon2.js +2 -2
  402. package/dist/components/calcite-inline-editable.js +52 -42
  403. package/dist/components/calcite-input-date-picker.js +71 -15
  404. package/dist/components/calcite-input-message.js +2 -2
  405. package/dist/components/calcite-input-time-picker.js +14 -4
  406. package/dist/components/calcite-input2.js +107 -72
  407. package/dist/components/calcite-label.js +1 -75
  408. package/dist/components/calcite-label2.js +81 -0
  409. package/dist/components/calcite-link2.js +2 -2
  410. package/dist/components/calcite-list-item-group.js +2 -2
  411. package/dist/components/calcite-list-item.js +3 -3
  412. package/dist/components/calcite-list.js +2 -2
  413. package/dist/components/calcite-loader2.js +3 -3
  414. package/dist/components/calcite-modal.js +2 -2
  415. package/dist/components/calcite-notice.js +2 -2
  416. package/dist/components/calcite-option-group.js +2 -2
  417. package/dist/components/calcite-option.js +2 -2
  418. package/dist/components/calcite-pagination.js +2 -2
  419. package/dist/components/calcite-panel.js +5 -4
  420. package/dist/components/calcite-pick-list-group.js +2 -2
  421. package/dist/components/calcite-pick-list-item2.js +2 -2
  422. package/dist/components/calcite-pick-list.js +2 -2
  423. package/dist/components/calcite-popover-manager.js +2 -2
  424. package/dist/components/calcite-popover2.js +4 -4
  425. package/dist/components/calcite-progress2.js +2 -2
  426. package/dist/components/calcite-radio-button-group.js +2 -2
  427. package/dist/components/calcite-radio-button.js +83 -76
  428. package/dist/components/calcite-radio-group-item.js +2 -2
  429. package/dist/components/calcite-radio-group.js +22 -24
  430. package/dist/components/calcite-radio2.js +2 -2
  431. package/dist/components/calcite-rating.js +15 -4
  432. package/dist/components/calcite-scrim2.js +2 -2
  433. package/dist/components/calcite-select.js +34 -5
  434. package/dist/components/calcite-shell-center-row.js +2 -2
  435. package/dist/components/calcite-shell-panel.js +5 -4
  436. package/dist/components/calcite-shell.js +3 -3
  437. package/dist/components/calcite-slider.js +15 -5
  438. package/dist/components/calcite-sortable-list.js +2 -2
  439. package/dist/components/calcite-split-button.js +2 -2
  440. package/dist/components/calcite-stepper-item.js +2 -2
  441. package/dist/components/calcite-stepper.js +2 -2
  442. package/dist/components/calcite-switch2.js +32 -53
  443. package/dist/components/calcite-tab-nav2.js +2 -2
  444. package/dist/components/calcite-tab-title2.js +2 -2
  445. package/dist/components/calcite-tab2.js +2 -2
  446. package/dist/components/calcite-tabs2.js +2 -2
  447. package/dist/components/calcite-tile-select-group.js +2 -2
  448. package/dist/components/calcite-tile-select.js +3 -5
  449. package/dist/components/calcite-tile2.js +3 -3
  450. package/dist/components/calcite-time-picker2.js +2 -2
  451. package/dist/components/calcite-tip-group.js +2 -2
  452. package/dist/components/calcite-tip-manager.js +2 -2
  453. package/dist/components/calcite-tip.js +2 -2
  454. package/dist/components/calcite-tooltip-manager2.js +2 -2
  455. package/dist/components/calcite-tooltip.js +3 -3
  456. package/dist/components/calcite-tree-item.js +17 -10
  457. package/dist/components/calcite-tree.js +2 -2
  458. package/dist/components/calcite-value-list-item.js +2 -2
  459. package/dist/components/calcite-value-list.js +2 -2
  460. package/dist/components/form.js +169 -15
  461. package/dist/components/label.js +33 -4
  462. package/dist/components/popper.js +2 -2
  463. package/dist/custom-elements/index.js +947 -573
  464. package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  465. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  466. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  467. package/dist/esm/calcite-action-bar.entry.js +2 -2
  468. package/dist/esm/calcite-action-group.entry.js +1 -1
  469. package/dist/esm/calcite-action-menu.entry.js +1 -1
  470. package/dist/esm/calcite-action-pad.entry.js +2 -2
  471. package/dist/esm/calcite-action.entry.js +1 -1
  472. package/dist/esm/calcite-alert.entry.js +1 -1
  473. package/dist/esm/calcite-avatar.entry.js +1 -1
  474. package/dist/esm/calcite-block_2.entry.js +3 -3
  475. package/dist/esm/calcite-button.entry.js +3 -3
  476. package/dist/esm/calcite-card.entry.js +2 -2
  477. package/dist/esm/calcite-checkbox.entry.js +36 -85
  478. package/dist/esm/calcite-chip.entry.js +1 -1
  479. package/dist/esm/calcite-color-picker_3.entry.js +25 -26
  480. package/dist/esm/calcite-combobox_3.entry.js +83 -24
  481. package/dist/esm/calcite-date-picker_4.entry.js +28 -10
  482. package/dist/esm/calcite-dropdown_3.entry.js +4 -4
  483. package/dist/esm/calcite-fab.entry.js +1 -1
  484. package/dist/esm/calcite-filter.entry.js +43 -14
  485. package/dist/esm/calcite-flow.entry.js +1 -1
  486. package/dist/esm/calcite-graph_2.entry.js +28 -12
  487. package/dist/esm/calcite-handle.entry.js +1 -1
  488. package/dist/esm/calcite-icon.entry.js +1 -1
  489. package/dist/esm/calcite-inline-editable.entry.js +51 -42
  490. package/dist/esm/calcite-input-date-picker.entry.js +70 -17
  491. package/dist/esm/calcite-input-message.entry.js +1 -1
  492. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -4
  493. package/dist/esm/calcite-input.entry.js +104 -72
  494. package/dist/esm/calcite-label.entry.js +1 -1
  495. package/dist/esm/calcite-link.entry.js +1 -1
  496. package/dist/esm/calcite-list_3.entry.js +3 -3
  497. package/dist/esm/calcite-loader.entry.js +2 -2
  498. package/dist/esm/calcite-modal.entry.js +1 -1
  499. package/dist/esm/calcite-notice.entry.js +1 -1
  500. package/dist/esm/calcite-option_3.entry.js +31 -5
  501. package/dist/esm/calcite-pagination.entry.js +1 -1
  502. package/dist/esm/calcite-panel.entry.js +5 -4
  503. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  504. package/dist/esm/calcite-popover_2.entry.js +5 -5
  505. package/dist/esm/calcite-progress.entry.js +1 -1
  506. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  507. package/dist/esm/calcite-radio-group_2.entry.js +20 -24
  508. package/dist/esm/calcite-radio_2.entry.js +82 -76
  509. package/dist/esm/calcite-rating.entry.js +13 -4
  510. package/dist/esm/calcite-scrim.entry.js +1 -1
  511. package/dist/esm/calcite-shell_3.entry.js +5 -4
  512. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  513. package/dist/esm/calcite-split-button.entry.js +1 -1
  514. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  515. package/dist/esm/calcite-switch.entry.js +30 -49
  516. package/dist/esm/calcite-tab_4.entry.js +1 -1
  517. package/dist/esm/calcite-tile-select_2.entry.js +1 -3
  518. package/dist/esm/calcite-tile.entry.js +2 -2
  519. package/dist/esm/calcite-tip_3.entry.js +2 -2
  520. package/dist/esm/calcite-tooltip_2.entry.js +3 -3
  521. package/dist/esm/calcite-tree_2.entry.js +16 -9
  522. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  523. package/dist/esm/calcite.js +3 -3
  524. package/dist/esm/form-160b0fb5.js +174 -0
  525. package/dist/esm/{index-d653c37f.js → index-9de00868.js} +81 -429
  526. package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
  527. package/dist/esm/loader.js +3 -3
  528. package/dist/esm/{popper-7499ea4f.js → popper-dc4b45cf.js} +2 -2
  529. package/dist/esm/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
  530. package/dist/esm/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  531. package/dist/esm-es5/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  532. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  533. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  534. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  535. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  536. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  537. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  538. package/dist/esm-es5/calcite-action.entry.js +1 -1
  539. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  540. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  541. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  542. package/dist/esm-es5/calcite-button.entry.js +1 -1
  543. package/dist/esm-es5/calcite-card.entry.js +1 -1
  544. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  545. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  546. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  547. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  548. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  549. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  550. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  551. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  552. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  553. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  554. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  555. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  556. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  557. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  558. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  559. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  560. package/dist/esm-es5/calcite-input.entry.js +2 -2
  561. package/dist/esm-es5/calcite-label.entry.js +1 -1
  562. package/dist/esm-es5/calcite-link.entry.js +1 -1
  563. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  564. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  565. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  566. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  567. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  568. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  569. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  570. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  571. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  572. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  573. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  574. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  575. package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
  576. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  577. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  578. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  579. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  580. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  581. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  582. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  583. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  584. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  585. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  586. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  587. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  588. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  589. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  590. package/dist/esm-es5/calcite.js +1 -1
  591. package/dist/esm-es5/form-160b0fb5.js +5 -0
  592. package/dist/esm-es5/index-9de00868.js +5 -0
  593. package/dist/esm-es5/label-5559055d.js +5 -0
  594. package/dist/esm-es5/loader.js +1 -1
  595. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  596. package/dist/esm-es5/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
  597. package/dist/esm-es5/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  598. package/dist/extras/docs-json.json +797 -480
  599. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
  600. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  601. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
  602. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  603. package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
  604. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  605. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  606. package/dist/types/components/calcite-input/calcite-input.d.ts +21 -9
  607. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  608. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
  609. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +11 -2
  610. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  611. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  612. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
  613. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +13 -4
  614. package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
  615. package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
  616. package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
  617. package/dist/types/components/calcite-slider/calcite-slider.d.ts +10 -1
  618. package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
  619. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +1 -1
  620. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  621. package/dist/types/components.d.ts +199 -22
  622. package/dist/types/utils/form.d.ts +112 -1
  623. package/dist/types/utils/label.d.ts +5 -0
  624. package/dist/types/utils/popper.d.ts +1 -1
  625. package/hydrate/index.js +891 -498
  626. package/package.json +15 -16
  627. package/readme.md +2 -2
  628. package/CHANGELOG.md +0 -1493
  629. package/dist/calcite/p-07ba39b6.js +0 -5
  630. package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
  631. package/dist/calcite/p-0fd333ff.entry.js +0 -5
  632. package/dist/calcite/p-18574b32.entry.js +0 -5
  633. package/dist/calcite/p-24b86e03.entry.js +0 -5
  634. package/dist/calcite/p-26045881.entry.js +0 -5
  635. package/dist/calcite/p-29b110b2.entry.js +0 -5
  636. package/dist/calcite/p-2ba00b89.js +0 -5
  637. package/dist/calcite/p-349333f8.system.entry.js +0 -5
  638. package/dist/calcite/p-34a1c944.entry.js +0 -5
  639. package/dist/calcite/p-361ddbb6.entry.js +0 -5
  640. package/dist/calcite/p-378b83de.entry.js +0 -5
  641. package/dist/calcite/p-43494684.entry.js +0 -5
  642. package/dist/calcite/p-47313747.system.js +0 -5
  643. package/dist/calcite/p-485062f4.system.entry.js +0 -5
  644. package/dist/calcite/p-4e06a168.entry.js +0 -5
  645. package/dist/calcite/p-530584ff.system.entry.js +0 -5
  646. package/dist/calcite/p-568ed3d6.system.entry.js +0 -5
  647. package/dist/calcite/p-5c221c33.system.entry.js +0 -5
  648. package/dist/calcite/p-67fd79db.entry.js +0 -5
  649. package/dist/calcite/p-693a4d5f.entry.js +0 -5
  650. package/dist/calcite/p-727c8f36.system.entry.js +0 -5
  651. package/dist/calcite/p-728501db.system.js +0 -5
  652. package/dist/calcite/p-72ffc6d7.entry.js +0 -5
  653. package/dist/calcite/p-745e41ea.entry.js +0 -5
  654. package/dist/calcite/p-7a544774.system.entry.js +0 -5
  655. package/dist/calcite/p-7f4a5f8e.system.entry.js +0 -5
  656. package/dist/calcite/p-81a82d01.system.entry.js +0 -5
  657. package/dist/calcite/p-93d8a7d5.entry.js +0 -5
  658. package/dist/calcite/p-9965ea81.system.js +0 -5
  659. package/dist/calcite/p-9ac1fa0b.system.entry.js +0 -5
  660. package/dist/calcite/p-9caae570.entry.js +0 -5
  661. package/dist/calcite/p-9d3ee5cf.system.entry.js +0 -5
  662. package/dist/calcite/p-a7521c0d.entry.js +0 -5
  663. package/dist/calcite/p-b701101e.entry.js +0 -5
  664. package/dist/calcite/p-ba255377.entry.js +0 -5
  665. package/dist/calcite/p-bc02d9ef.system.entry.js +0 -5
  666. package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
  667. package/dist/calcite/p-bfc162ee.system.entry.js +0 -5
  668. package/dist/calcite/p-c1995144.system.entry.js +0 -5
  669. package/dist/calcite/p-c31243c5.entry.js +0 -5
  670. package/dist/calcite/p-c74fc589.system.js +0 -5
  671. package/dist/calcite/p-cb228ac0.entry.js +0 -5
  672. package/dist/calcite/p-cbdf0e6c.js +0 -5
  673. package/dist/calcite/p-d35e423d.js +0 -5
  674. package/dist/calcite/p-d5d62977.entry.js +0 -5
  675. package/dist/calcite/p-d7a7a544.system.entry.js +0 -5
  676. package/dist/calcite/p-de0f4633.entry.js +0 -5
  677. package/dist/calcite/p-e9044cc1.entry.js +0 -5
  678. package/dist/calcite/p-f37563ac.system.entry.js +0 -5
  679. package/dist/calcite/p-f5d25746.system.entry.js +0 -5
  680. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  681. package/dist/calcite/p-fe52131d.entry.js +0 -5
  682. package/dist/cjs/form-00fb301c.js +0 -22
  683. package/dist/esm/form-cee9f632.js +0 -20
  684. package/dist/esm-es5/form-cee9f632.js +0 -5
  685. package/dist/esm-es5/index-d653c37f.js +0 -5
  686. package/dist/esm-es5/label-bb61bdef.js +0 -5
  687. package/dist/esm-es5/popper-7499ea4f.js +0 -5
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, Build, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { Build, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { d as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
8
8
  import { c as createObserver } from './observers.js';
@@ -51,13 +51,13 @@ const TEXT = {
51
51
  loading: "Loading"
52
52
  };
53
53
 
54
- 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(.calcite-inline-editable__enable-editing-button)) button,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) button:hover,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) button:focus,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) a:hover,:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.calcite-inline-editable__enable-editing-button)) button:active,:host([appearance=transparent]:not(.calcite-inline-editable__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(.calcite-inline-editable__cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.calcite-inline-editable__cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.calcite-inline-editable__cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].calcite-inline-editable__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].calcite-inline-editable__cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].calcite-inline-editable__cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].calcite-inline-editable__enable-editing-button) button{background-color:transparent}: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}";
54
+ 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
55
 
56
56
  let CalciteButton = class extends HTMLElement {
57
57
  constructor() {
58
58
  super();
59
59
  this.__registerHost();
60
- attachShadow(this);
60
+ this.__attachShadow();
61
61
  //--------------------------------------------------------------------------
62
62
  //
63
63
  // Properties
@@ -2,10 +2,11 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
- import { d as defineCustomElement$3 } from './calcite-checkbox2.js';
8
+ import { d as defineCustomElement$4 } from './calcite-checkbox2.js';
9
+ import { d as defineCustomElement$3 } from './calcite-label2.js';
9
10
  import { d as defineCustomElement$2 } from './calcite-loader2.js';
10
11
 
11
12
  const CSS = {
@@ -36,7 +37,7 @@ let CalciteCard$1 = class extends HTMLElement {
36
37
  constructor() {
37
38
  super();
38
39
  this.__registerHost();
39
- attachShadow(this);
40
+ this.__attachShadow();
40
41
  this.calciteCardSelect = createEvent(this, "calciteCardSelect", 7);
41
42
  //--------------------------------------------------------------------------
42
43
  //
@@ -103,7 +104,7 @@ let CalciteCard$1 = class extends HTMLElement {
103
104
  }
104
105
  renderCheckbox() {
105
106
  const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
106
- return (h("label", { "aria-label": checkboxLabel, class: CSS.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown, title: checkboxLabel }, h("calcite-checkbox", { checked: this.selected })));
107
+ return (h("calcite-label", { class: CSS.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
107
108
  }
108
109
  renderHeader() {
109
110
  const title = this.el.querySelector(`[slot=${SLOTS.title}]`);
@@ -129,7 +130,7 @@ CalciteCard$1 = /*@__PURE__*/ proxyCustomElement(CalciteCard$1, [1, "calcite-car
129
130
  "intlDeselect": [1, "intl-deselect"]
130
131
  }]);
131
132
  function defineCustomElement$1() {
132
- const components = ["calcite-card", "calcite-checkbox", "calcite-loader"];
133
+ const components = ["calcite-card", "calcite-checkbox", "calcite-label", "calcite-loader"];
133
134
  components.forEach(tagName => { switch (tagName) {
134
135
  case "calcite-card":
135
136
  if (!customElements.get(tagName)) {
@@ -137,6 +138,11 @@ function defineCustomElement$1() {
137
138
  }
138
139
  break;
139
140
  case "calcite-checkbox":
141
+ if (!customElements.get(tagName)) {
142
+ defineCustomElement$4();
143
+ }
144
+ break;
145
+ case "calcite-label":
140
146
  if (!customElements.get(tagName)) {
141
147
  defineCustomElement$3();
142
148
  }
@@ -2,19 +2,18 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
- import { f as focusElement, d as closestElementCrossShadowBoundary } from './dom.js';
8
- import { h as hiddenInputStyle } from './form.js';
9
- import { c as connectLabel, g as getLabelText, d as disconnectLabel } from './label.js';
7
+ import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
8
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
10
9
 
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 ::slotted(input){width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size)}:host(:hover) .check-svg,:host([hovered]) .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([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 .focused .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}";
10
+ 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}";
12
11
 
13
12
  let CalciteCheckbox = class extends HTMLElement {
14
13
  constructor() {
15
14
  super();
16
15
  this.__registerHost();
17
- attachShadow(this);
16
+ this.__attachShadow();
18
17
  this.calciteInternalCheckboxBlur = createEvent(this, "calciteInternalCheckboxBlur", 7);
19
18
  this.calciteCheckboxChange = createEvent(this, "calciteCheckboxChange", 7);
20
19
  this.calciteInternalCheckboxFocus = createEvent(this, "calciteInternalCheckboxFocus", 7);
@@ -38,8 +37,12 @@ let CalciteCheckbox = class extends HTMLElement {
38
37
  * https://css-tricks.com/indeterminate-checkboxes/
39
38
  * */
40
39
  this.indeterminate = false;
41
- /** The name of the checkbox input */
42
- this.name = "";
40
+ /**
41
+ * When true, makes the component required for form-submission.
42
+ *
43
+ * @internal
44
+ */
45
+ this.required = false;
43
46
  /** specify the scale of the checkbox, defaults to m */
44
47
  this.scale = "m";
45
48
  //--------------------------------------------------------------------------
@@ -51,13 +54,6 @@ let CalciteCheckbox = class extends HTMLElement {
51
54
  this.indeterminatePath = "M13 8v1H3V8z";
52
55
  //--------------------------------------------------------------------------
53
56
  //
54
- // State
55
- //
56
- //--------------------------------------------------------------------------
57
- /** The focused state of the checkbox. */
58
- this.focused = false;
59
- //--------------------------------------------------------------------------
60
- //
61
57
  // Private Methods
62
58
  //
63
59
  //--------------------------------------------------------------------------
@@ -65,26 +61,34 @@ let CalciteCheckbox = class extends HTMLElement {
65
61
  this.toggle = () => {
66
62
  if (!this.disabled) {
67
63
  this.checked = !this.checked;
68
- focusElement(this.input);
64
+ this.setFocus();
69
65
  this.indeterminate = false;
70
66
  this.calciteCheckboxChange.emit();
71
67
  }
72
68
  };
69
+ this.keyDownHandler = (event) => {
70
+ if (event.key === " " || event.key === "Enter") {
71
+ this.toggle();
72
+ event.preventDefault();
73
+ }
74
+ };
73
75
  this.clickHandler = () => {
74
76
  this.toggle();
75
77
  };
76
- this.formResetHandler = () => {
77
- this.checked = this.initialChecked;
78
+ //--------------------------------------------------------------------------
79
+ //
80
+ // Event Listeners
81
+ //
82
+ //--------------------------------------------------------------------------
83
+ this.onToggleBlur = () => {
84
+ this.calciteInternalCheckboxBlur.emit(false);
85
+ };
86
+ this.onToggleFocus = () => {
87
+ this.calciteInternalCheckboxFocus.emit(true);
88
+ };
89
+ this.onLabelClick = () => {
90
+ this.toggle();
78
91
  };
79
- }
80
- checkedWatcher(newChecked) {
81
- this.input.checked = newChecked;
82
- }
83
- disabledChanged(disabled) {
84
- this.input.disabled = disabled;
85
- }
86
- nameChanged(newName) {
87
- this.input.name = newName;
88
92
  }
89
93
  //--------------------------------------------------------------------------
90
94
  //
@@ -93,29 +97,8 @@ let CalciteCheckbox = class extends HTMLElement {
93
97
  //--------------------------------------------------------------------------
94
98
  /** Sets focus on the component. */
95
99
  async setFocus() {
96
- focusElement(this.input);
97
- }
98
- //--------------------------------------------------------------------------
99
- //
100
- // Event Listeners
101
- //
102
- //--------------------------------------------------------------------------
103
- mouseenter() {
104
- this.hovered = true;
105
- }
106
- mouseleave() {
107
- this.hovered = false;
108
- }
109
- onInputBlur() {
110
- this.focused = false;
111
- this.calciteInternalCheckboxBlur.emit(false);
112
- }
113
- onInputFocus() {
114
- this.focused = true;
115
- this.calciteInternalCheckboxFocus.emit(true);
116
- }
117
- onLabelClick() {
118
- this.toggle();
100
+ var _a;
101
+ (_a = this.toggleEl) === null || _a === void 0 ? void 0 : _a.focus();
119
102
  }
120
103
  //--------------------------------------------------------------------------
121
104
  //
@@ -124,55 +107,22 @@ let CalciteCheckbox = class extends HTMLElement {
124
107
  //--------------------------------------------------------------------------
125
108
  connectedCallback() {
126
109
  this.guid = this.el.id || `calcite-checkbox-${guid()}`;
127
- this.initialChecked = this.checked;
128
- this.renderHiddenCheckboxInput();
129
- const form = closestElementCrossShadowBoundary(this.el, "form");
130
- if (form) {
131
- form.addEventListener("reset", this.formResetHandler);
132
- }
133
110
  connectLabel(this);
134
- }
135
- componentDidLoad() {
136
- this.input.setAttribute("aria-label", getLabelText(this));
111
+ connectForm(this);
137
112
  }
138
113
  disconnectedCallback() {
139
- this.input.parentNode.removeChild(this.input);
140
- const form = closestElementCrossShadowBoundary(this.el, "form");
141
- if (form) {
142
- form.removeEventListener("reset", this.formResetHandler);
143
- }
144
114
  disconnectLabel(this);
115
+ disconnectForm(this);
145
116
  }
146
117
  // --------------------------------------------------------------------------
147
118
  //
148
119
  // Render Methods
149
120
  //
150
121
  // --------------------------------------------------------------------------
151
- renderHiddenCheckboxInput() {
152
- this.input = document.createElement("input");
153
- this.checked && this.input.setAttribute("checked", "");
154
- this.input.disabled = this.disabled;
155
- this.input.id = `${this.guid}-input`;
156
- this.input.name = this.name;
157
- this.input.onblur = this.onInputBlur.bind(this);
158
- this.input.onfocus = this.onInputFocus.bind(this);
159
- this.input.style.cssText = hiddenInputStyle;
160
- this.input.type = "checkbox";
161
- this.input.setAttribute("aria-label", getLabelText(this));
162
- if (this.value) {
163
- this.input.value = this.value != null ? this.value.toString() : "";
164
- }
165
- this.el.appendChild(this.input);
166
- }
167
122
  render() {
168
- return (h(Host, { onClick: this.clickHandler }, h("div", { class: { focused: this.focused } }, h("svg", { class: "check-svg", viewBox: "0 0 16 16" }, h("path", { d: this.getPath() })), h("slot", null))));
123
+ 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 })));
169
124
  }
170
125
  get el() { return this; }
171
- static get watchers() { return {
172
- "checked": ["checkedWatcher"],
173
- "disabled": ["disabledChanged"],
174
- "name": ["nameChanged"]
175
- }; }
176
126
  static get style() { return calciteCheckboxCss; }
177
127
  };
178
128
  CalciteCheckbox = /*@__PURE__*/ proxyCustomElement(CalciteCheckbox, [1, "calcite-checkbox", {
@@ -182,12 +132,12 @@ CalciteCheckbox = /*@__PURE__*/ proxyCustomElement(CalciteCheckbox, [1, "calcite
182
132
  "hovered": [1540],
183
133
  "indeterminate": [1540],
184
134
  "label": [1],
185
- "name": [513],
135
+ "name": [520],
136
+ "required": [516],
186
137
  "scale": [513],
187
138
  "value": [8],
188
- "focused": [32],
189
139
  "setFocus": [64]
190
- }, [[1, "mouseenter", "mouseenter"], [1, "mouseleave", "mouseleave"]]]);
140
+ }]);
191
141
  function defineCustomElement() {
192
142
  const components = ["calcite-checkbox"];
193
143
  components.forEach(tagName => { switch (tagName) {
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as guid } from './guid.js';
8
8
  import { d as defineCustomElement$1 } from './calcite-icon2.js';
@@ -29,7 +29,7 @@ let CalciteChip = class extends HTMLElement {
29
29
  constructor() {
30
30
  super();
31
31
  this.__registerHost();
32
- attachShadow(this);
32
+ this.__attachShadow();
33
33
  this.calciteChipDismiss = createEvent(this, "calciteChipDismiss", 7);
34
34
  //--------------------------------------------------------------------------
35
35
  //
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { n as normalizeHex, i as isValidHex, a as isLonghandHex, r as rgbToHex, h as hexToRGB, b as hexChar } from './utils.js';
7
7
  import { c as color, d as defineCustomElement$4 } from './calcite-color-picker-swatch2.js';
8
8
  import { a as getElementDir, f as focusElement } from './dom.js';
@@ -125,7 +125,7 @@ let CalciteColorPickerHexInput = class extends HTMLElement {
125
125
  constructor() {
126
126
  super();
127
127
  this.__registerHost();
128
- attachShadow(this);
128
+ this.__attachShadow();
129
129
  this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange", 7);
130
130
  //--------------------------------------------------------------------------
131
131
  //
@@ -156,8 +156,8 @@ let CalciteColorPickerHexInput = class extends HTMLElement {
156
156
  * The hex value.
157
157
  */
158
158
  this.value = normalizeHex(DEFAULT_COLOR.hex());
159
- this.onCalciteInputBlur = (event) => {
160
- const node = event.currentTarget;
159
+ this.onCalciteInputBlur = () => {
160
+ const node = this.inputNode;
161
161
  const inputValue = node.value;
162
162
  const hex = `#${inputValue}`;
163
163
  const willClearValue = this.allowEmpty && !inputValue;
@@ -170,9 +170,8 @@ let CalciteColorPickerHexInput = class extends HTMLElement {
170
170
  ? ""
171
171
  : this.formatForInternalInput(rgbToHex(this.internalColor.object()));
172
172
  };
173
- this.onInputChange = (event) => {
174
- const node = event.currentTarget;
175
- const inputValue = node.value;
173
+ this.onInputChange = () => {
174
+ const inputValue = this.inputNode.value;
176
175
  let value;
177
176
  if (inputValue) {
178
177
  const hex = inputValue;
@@ -248,8 +247,12 @@ let CalciteColorPickerHexInput = class extends HTMLElement {
248
247
  // using @Listen as a workaround for VDOM listener not firing
249
248
  onInputKeyDown(event) {
250
249
  const { altKey, ctrlKey, metaKey, shiftKey } = event;
251
- const { el, inputNode, internalColor, value } = this;
250
+ const { internalColor, value } = this;
252
251
  const key = getKey(event.key);
252
+ if (key === "Tab" || key === "Enter") {
253
+ this.onInputChange();
254
+ return;
255
+ }
253
256
  const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
254
257
  if (isNudgeKey) {
255
258
  if (!value) {
@@ -264,16 +267,9 @@ let CalciteColorPickerHexInput = class extends HTMLElement {
264
267
  return;
265
268
  }
266
269
  const withModifiers = altKey || ctrlKey || metaKey;
267
- const exceededHexLength = inputNode.value.length >= 6;
268
- const focusedElement = el.shadowRoot.activeElement;
269
- const hasTextSelection =
270
- // can't use window.getSelection() because of FF bug: https://bugzilla.mozilla.org/show_bug.cgi?id=85686
271
- focusedElement.selectionStart != focusedElement.selectionEnd;
272
270
  const singleChar = key.length === 1;
273
271
  const validHexChar = hexChar.test(key);
274
- if (singleChar &&
275
- !withModifiers &&
276
- (!validHexChar || (!hasTextSelection && exceededHexLength))) {
272
+ if (singleChar && !withModifiers && !validHexChar) {
277
273
  event.preventDefault();
278
274
  }
279
275
  }
@@ -286,7 +282,7 @@ let CalciteColorPickerHexInput = class extends HTMLElement {
286
282
  const { el, intlHex, value } = this;
287
283
  const hexInputValue = this.formatForInternalInput(value);
288
284
  const elementDir = getElementDir(el);
289
- return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.input, dir: elementDir, label: intlHex, onCalciteInputBlur: this.onCalciteInputBlur, onChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
285
+ return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.input, dir: elementDir, label: intlHex, maxLength: 6, onCalciteInputBlur: this.onCalciteInputBlur, onCalciteInputChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
290
286
  }
291
287
  //--------------------------------------------------------------------------
292
288
  //
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as getThemeName } from './dom.js';
7
7
 
8
8
  function createCommonjsModule(fn, basedir, module) {
@@ -2116,7 +2116,7 @@ let CalciteColorPickerSwatch = class extends HTMLElement {
2116
2116
  constructor() {
2117
2117
  super();
2118
2118
  this.__registerHost();
2119
- attachShadow(this);
2119
+ this.__attachShadow();
2120
2120
  //--------------------------------------------------------------------------
2121
2121
  //
2122
2122
  // Properties
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as color, d as defineCustomElement$a } from './calcite-color-picker-swatch2.js';
7
7
  import { D as DEFAULT_COLOR, T as TEXT, a as DIMENSIONS, H as HSV_LIMITS, C as CSS, d as defineCustomElement$b, b as DEFAULT_STORAGE_KEY_PREFIX, R as RGB_LIMITS } from './calcite-color-picker-hex-input2.js';
8
8
  import { f as focusElement, a as getElementDir, C as CSS_UTILITY } from './dom.js';
@@ -94,7 +94,7 @@ let CalciteColorPicker$1 = class extends HTMLElement {
94
94
  constructor() {
95
95
  super();
96
96
  this.__registerHost();
97
- attachShadow(this);
97
+ this.__attachShadow();
98
98
  this.calciteColorPickerChange = createEvent(this, "calciteColorPickerChange", 7);
99
99
  this.calciteColorPickerInput = createEvent(this, "calciteColorPickerInput", 7);
100
100
  //--------------------------------------------------------------------------
@@ -221,9 +221,9 @@ let CalciteColorPicker$1 = class extends HTMLElement {
221
221
  * @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-color-picker/interfaces.ts#L10)
222
222
  */
223
223
  this.value = defaultValue;
224
- this.colorUpdateLocked = false;
225
224
  this.colorFieldAndSliderHovered = false;
226
225
  this.hueThumbState = "idle";
226
+ this.internalColorUpdateContext = null;
227
227
  this.mode = CSSColorMode.HEX;
228
228
  this.shiftKeyChannelAdjustment = 0;
229
229
  this.sliderThumbState = "idle";
@@ -532,7 +532,7 @@ let CalciteColorPicker$1 = class extends HTMLElement {
532
532
  this.drawColorFieldAndSlider();
533
533
  this.updateChannelsFromColor(color);
534
534
  this.previousColor = oldColor;
535
- if (this.colorUpdateLocked) {
535
+ if (this.internalColorUpdateContext) {
536
536
  return;
537
537
  }
538
538
  this.value = this.toValue(color);
@@ -559,7 +559,10 @@ let CalciteColorPicker$1 = class extends HTMLElement {
559
559
  this.setMode(nextMode);
560
560
  }
561
561
  const dragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
562
- if (this.colorUpdateLocked) {
562
+ if (this.internalColorUpdateContext) {
563
+ if (this.internalColorUpdateContext === "initial") {
564
+ return;
565
+ }
563
566
  this.calciteColorPickerInput.emit();
564
567
  if (!dragging) {
565
568
  this.calciteColorPickerChange.emit();
@@ -630,15 +633,15 @@ let CalciteColorPicker$1 = class extends HTMLElement {
630
633
  }
631
634
  connectedCallback() {
632
635
  const { allowEmpty, color: color$1, format, value } = this;
633
- const valueIsNoColor = allowEmpty && !value;
636
+ const willSetNoColor = allowEmpty && !value;
634
637
  const parsedMode = parseMode(value);
635
- const valueIsCompatible = (format === "auto" && parsedMode) || format === parsedMode;
636
- const initialColor = valueIsNoColor ? null : valueIsCompatible ? color(value) : color$1;
638
+ const valueIsCompatible = willSetNoColor || (format === "auto" && parsedMode) || format === parsedMode;
639
+ const initialColor = willSetNoColor ? null : valueIsCompatible ? color(value) : color$1;
637
640
  if (!valueIsCompatible) {
638
641
  this.showIncompatibleColorWarning(value, format);
639
642
  }
640
643
  this.setMode(format);
641
- this.internalColorSet(initialColor, false);
644
+ this.internalColorSet(initialColor, false, "initial");
642
645
  this.updateDimensions(this.scale);
643
646
  }
644
647
  disconnectedCallback() {
@@ -703,14 +706,14 @@ let CalciteColorPicker$1 = class extends HTMLElement {
703
706
  }
704
707
  return "none";
705
708
  }
706
- internalColorSet(color, skipEqual = true) {
709
+ internalColorSet(color, skipEqual = true, context = "internal") {
707
710
  if (skipEqual && colorEqual(color, this.color)) {
708
711
  return;
709
712
  }
710
- this.colorUpdateLocked = true;
713
+ this.internalColorUpdateContext = context;
711
714
  this.color = color;
712
715
  this.value = this.toValue(color);
713
- this.colorUpdateLocked = false;
716
+ this.internalColorUpdateContext = null;
714
717
  }
715
718
  toValue(color, format = this.mode) {
716
719
  if (!color) {