@esri/calcite-components 1.0.0-next.291 → 1.0.0-next.295

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 (750) 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/penMark16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  49. package/dist/calcite/calcite.esm.js +1 -1
  50. package/dist/calcite/calcite.js +1 -1
  51. package/dist/calcite/{p-fc4846f0.system.entry.js → p-00716aa8.system.entry.js} +1 -1
  52. package/dist/calcite/{p-69548a7d.system.entry.js → p-044d603d.system.entry.js} +1 -1
  53. package/dist/calcite/{p-37cee0ea.entry.js → p-05da7439.entry.js} +1 -1
  54. package/dist/calcite/{p-f4299b95.entry.js → p-08d707c4.entry.js} +1 -1
  55. package/dist/calcite/{p-e33a2dd2.system.entry.js → p-10708f87.system.entry.js} +1 -1
  56. package/dist/calcite/p-109049e6.system.entry.js +5 -0
  57. package/dist/calcite/{p-d7e5b807.system.entry.js → p-127e3513.system.entry.js} +1 -1
  58. package/dist/calcite/p-1434e37e.entry.js +5 -0
  59. package/dist/calcite/{p-01c3783e.system.entry.js → p-143cffd9.system.entry.js} +1 -1
  60. package/dist/calcite/{p-050dc7e6.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
  61. package/dist/calcite/{p-c20278e8.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
  62. package/dist/calcite/{p-3ba8024a.system.entry.js → p-16f2d814.system.entry.js} +1 -1
  63. package/dist/calcite/p-1942876c.js +5 -0
  64. package/dist/calcite/{p-f8d975a1.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
  65. package/dist/calcite/{p-61038b30.js → p-1a962bdd.js} +1 -1
  66. package/dist/calcite/p-1aa89347.system.entry.js +5 -0
  67. package/dist/calcite/{p-7c0debe0.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
  68. package/dist/calcite/{p-473cfb74.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
  69. package/dist/calcite/p-21c8ac06.entry.js +5 -0
  70. package/dist/calcite/p-243d95ab.system.entry.js +5 -0
  71. package/dist/calcite/{p-49bddf59.entry.js → p-2451da5b.entry.js} +1 -1
  72. package/dist/calcite/p-26efaed7.entry.js +5 -0
  73. package/dist/calcite/p-288bc438.system.js +5 -0
  74. package/dist/calcite/{p-da9603a3.entry.js → p-289bc56f.entry.js} +1 -1
  75. package/dist/calcite/{p-10ccc21d.entry.js → p-29771742.entry.js} +1 -1
  76. package/dist/calcite/{p-c0dd929a.entry.js → p-2aa3007a.entry.js} +1 -1
  77. package/dist/calcite/p-2e29554c.js +5 -0
  78. package/dist/calcite/{p-8efb43fc.entry.js → p-33802886.entry.js} +1 -1
  79. package/dist/calcite/{p-32fbf8cd.system.js → p-34e5baa7.system.js} +1 -1
  80. package/dist/calcite/p-3833285b.system.entry.js +5 -0
  81. package/dist/calcite/{p-e693758c.entry.js → p-396efb80.entry.js} +1 -1
  82. package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
  83. package/dist/calcite/p-3dae9da3.js +5 -0
  84. package/dist/calcite/{p-fff0a881.entry.js → p-3e6fcede.entry.js} +1 -1
  85. package/dist/calcite/p-3eb1dc0f.entry.js +5 -0
  86. package/dist/calcite/p-41023be5.system.entry.js +5 -0
  87. package/dist/calcite/{p-5cb26137.system.entry.js → p-46285b9c.system.entry.js} +1 -1
  88. package/dist/calcite/{p-00d72f16.entry.js → p-48f03121.entry.js} +1 -1
  89. package/dist/calcite/{p-22ad79b1.entry.js → p-4acfb654.entry.js} +1 -1
  90. package/dist/calcite/{p-3929447c.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
  91. package/dist/calcite/{p-0fc8b24c.system.entry.js → p-4e16515a.system.entry.js} +1 -1
  92. package/dist/calcite/p-4f1f83d2.entry.js +5 -0
  93. package/dist/calcite/p-502ea583.entry.js +5 -0
  94. package/dist/calcite/p-523bc291.system.js +5 -0
  95. package/dist/calcite/p-54394dfe.system.entry.js +5 -0
  96. package/dist/calcite/p-578509a8.entry.js +5 -0
  97. package/dist/calcite/p-592da79d.system.entry.js +5 -0
  98. package/dist/calcite/p-5c0c29bc.entry.js +5 -0
  99. package/dist/calcite/p-5eee672a.system.entry.js +5 -0
  100. package/dist/calcite/{p-af9172a5.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
  101. package/dist/calcite/p-5f817b79.entry.js +5 -0
  102. package/dist/calcite/p-63e60894.entry.js +5 -0
  103. package/dist/calcite/{p-acaad99b.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
  104. package/dist/calcite/{p-8655c0a1.entry.js → p-659898bf.entry.js} +1 -1
  105. package/dist/calcite/{p-7cdfec27.system.js → p-6d44b7d9.system.js} +1 -1
  106. package/dist/calcite/p-6f1cca21.system.js +5 -0
  107. package/dist/calcite/{p-72ffc6d7.entry.js → p-70efa39d.entry.js} +1 -1
  108. package/dist/calcite/{p-7839d1c9.entry.js → p-714ae4f6.entry.js} +1 -1
  109. package/dist/calcite/{p-9d83f268.system.entry.js → p-74f390e1.system.entry.js} +1 -1
  110. package/dist/calcite/p-75264173.entry.js +5 -0
  111. package/dist/calcite/{p-41e9b889.entry.js → p-765fb8ed.entry.js} +1 -1
  112. package/dist/calcite/{p-be3b0fee.entry.js → p-78d0db7b.entry.js} +1 -1
  113. package/dist/calcite/{p-9e4f2697.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
  114. package/dist/calcite/{p-c57f8690.entry.js → p-7bb94bfa.entry.js} +1 -1
  115. package/dist/calcite/p-81538774.system.entry.js +5 -0
  116. package/dist/calcite/p-81ab443c.entry.js +5 -0
  117. package/dist/calcite/p-82139130.entry.js +5 -0
  118. package/dist/calcite/{p-20042561.entry.js → p-82c6cd9a.entry.js} +1 -1
  119. package/dist/calcite/p-8340b572.js +5 -0
  120. package/dist/calcite/{p-a93678c6.system.entry.js → p-840f2937.system.entry.js} +2 -2
  121. package/dist/calcite/p-85032edc.system.entry.js +5 -0
  122. package/dist/calcite/{p-57f5866d.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
  123. package/dist/calcite/p-8baa9ba4.entry.js +5 -0
  124. package/dist/calcite/p-8fef13ca.system.entry.js +5 -0
  125. package/dist/calcite/{p-1aaf7f83.entry.js → p-9338b0bc.entry.js} +1 -1
  126. package/dist/calcite/p-9577dfd9.entry.js +5 -0
  127. package/dist/calcite/{p-c3922ef7.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
  128. package/dist/calcite/p-968ea270.entry.js +5 -0
  129. package/dist/calcite/{p-9358deb1.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
  130. package/dist/calcite/p-9be6633a.entry.js +5 -0
  131. package/dist/calcite/{p-021d44b7.system.entry.js → p-9f240615.system.entry.js} +1 -1
  132. package/dist/calcite/{p-e3a30266.system.entry.js → p-a5269f14.system.entry.js} +1 -1
  133. package/dist/calcite/{p-31c4a271.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
  134. package/dist/calcite/{p-75793454.entry.js → p-ace12b8d.entry.js} +1 -1
  135. package/dist/calcite/{p-1b2c1f55.entry.js → p-aced5f01.entry.js} +1 -1
  136. package/dist/calcite/{p-85a2bf7c.system.entry.js → p-aec398f3.system.entry.js} +1 -1
  137. package/dist/calcite/p-b1351c3e.system.entry.js +5 -0
  138. package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
  139. package/dist/calcite/p-b1f88d45.system.js +5 -0
  140. package/dist/calcite/{p-bb916828.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
  141. package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
  142. package/dist/calcite/p-b9fa225e.entry.js +5 -0
  143. package/dist/calcite/p-c0e35328.entry.js +5 -0
  144. package/dist/calcite/p-c34c4414.system.js +5 -0
  145. package/dist/calcite/{p-0e30afe6.entry.js → p-c3ba61ea.entry.js} +1 -1
  146. package/dist/calcite/{p-cd8f7781.system.entry.js → p-c4cb4fab.system.entry.js} +1 -1
  147. package/dist/calcite/p-c87c04a9.entry.js +5 -0
  148. package/dist/calcite/p-ca3bb147.entry.js +5 -0
  149. package/dist/calcite/{p-34a6550f.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
  150. package/dist/calcite/{p-64d90b14.system.js → p-cbf6bb04.system.js} +1 -1
  151. package/dist/calcite/{p-ac3d8784.entry.js → p-cc788d2e.entry.js} +1 -1
  152. package/dist/calcite/p-cced5508.system.entry.js +5 -0
  153. package/dist/calcite/{p-45d123be.system.entry.js → p-cf03b144.system.entry.js} +1 -1
  154. package/dist/calcite/{p-8fcfe861.js → p-d53cc958.js} +1 -1
  155. package/dist/calcite/p-d550ee4d.entry.js +5 -0
  156. package/dist/calcite/{p-18078190.entry.js → p-d6e30c54.entry.js} +1 -1
  157. package/dist/calcite/{p-7b01fe89.js → p-d6f20229.js} +1 -1
  158. package/dist/calcite/{p-ff04f827.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
  159. package/dist/calcite/{p-99da965d.system.entry.js → p-dd464e44.system.entry.js} +1 -1
  160. package/dist/calcite/p-dd5ff164.entry.js +5 -0
  161. package/dist/calcite/{p-bd555b2e.system.entry.js → p-deb36fde.system.entry.js} +1 -1
  162. package/dist/calcite/{p-ba9b4f62.system.entry.js → p-defcee80.system.entry.js} +1 -1
  163. package/dist/calcite/{p-3b17d8d0.system.js → p-dff7dc90.system.js} +1 -1
  164. package/dist/calcite/{p-318e95d7.system.entry.js → p-e33fe285.system.entry.js} +1 -1
  165. package/dist/calcite/p-e52495d3.system.entry.js +5 -0
  166. package/dist/calcite/{p-7b600760.entry.js → p-e5e3b591.entry.js} +1 -1
  167. package/dist/calcite/p-e62a9b1d.system.entry.js +5 -0
  168. package/dist/calcite/p-e6c84e63.entry.js +5 -0
  169. package/dist/calcite/{p-87e83c0d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
  170. package/dist/calcite/{p-a20df95c.js → p-e956e279.js} +1 -1
  171. package/dist/calcite/p-eada9cef.entry.js +5 -0
  172. package/dist/calcite/{p-eb3ee207.entry.js → p-ecc00ef0.entry.js} +1 -1
  173. package/dist/calcite/{p-51cb078a.entry.js → p-ef39847e.entry.js} +1 -1
  174. package/dist/calcite/{p-f141da0f.entry.js → p-efb2169a.entry.js} +1 -1
  175. package/dist/calcite/{p-a8cd5cde.system.entry.js → p-f0338acf.system.entry.js} +1 -1
  176. package/dist/calcite/{p-95a3a0ce.entry.js → p-f1c5e7cf.entry.js} +1 -1
  177. package/dist/calcite/{p-1f99b038.entry.js → p-f278dd53.entry.js} +1 -1
  178. package/dist/calcite/{p-9dbb69f7.entry.js → p-f9c46578.entry.js} +1 -1
  179. package/dist/calcite/{p-32faf98b.system.entry.js → p-fc47547f.system.entry.js} +1 -1
  180. package/dist/calcite/p-fc643963.entry.js +5 -0
  181. package/dist/calcite/{p-f37563ac.system.entry.js → p-fcb6db39.system.entry.js} +1 -1
  182. package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-5f60c98b.js} +1 -1
  183. package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-112c19f9.js} +1 -1
  184. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  187. package/dist/cjs/calcite-action-menu.cjs.entry.js +5 -3
  188. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  189. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-alert.cjs.entry.js +2 -2
  191. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  193. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  194. package/dist/cjs/calcite-card.cjs.entry.js +2 -2
  195. package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
  196. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  197. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +25 -26
  198. package/dist/cjs/calcite-combobox_3.cjs.entry.js +83 -24
  199. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
  200. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +32 -19
  201. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-filter.cjs.entry.js +43 -14
  203. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  204. package/dist/cjs/calcite-graph_2.cjs.entry.js +28 -12
  205. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  207. package/dist/cjs/calcite-inline-editable.cjs.entry.js +51 -42
  208. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +70 -17
  209. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  210. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -4
  211. package/dist/cjs/calcite-input.cjs.entry.js +103 -71
  212. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  214. package/dist/cjs/calcite-list_3.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
  216. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  217. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  218. package/dist/cjs/calcite-option_3.cjs.entry.js +31 -5
  219. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  220. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  221. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  222. package/dist/cjs/calcite-popover_2.cjs.entry.js +5 -5
  223. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  224. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  225. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -24
  226. package/dist/cjs/calcite-radio_2.cjs.entry.js +81 -75
  227. package/dist/cjs/calcite-rating.cjs.entry.js +13 -4
  228. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  229. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -4
  230. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  231. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  232. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  233. package/dist/cjs/calcite-switch.cjs.entry.js +29 -48
  234. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  235. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -3
  236. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  237. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  238. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
  239. package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
  240. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  241. package/dist/cjs/calcite.cjs.js +3 -3
  242. package/dist/cjs/form-a5b44a1f.js +179 -0
  243. package/dist/cjs/{index-1987a382.js → index-6b5d2de5.js} +81 -429
  244. package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
  245. package/dist/cjs/loader.cjs.js +3 -3
  246. package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
  247. package/dist/cjs/{resources-7dcd68d1.js → resources-3f7b51c8.js} +1 -1
  248. package/dist/cjs/{resources-d0619f6a.js → resources-cd25dbae.js} +1 -1
  249. package/dist/collection/collection-manifest.json +2 -2
  250. package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
  251. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
  252. package/dist/collection/components/calcite-action/calcite-action.js +4 -4
  253. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +6 -4
  254. package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
  255. package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
  256. package/dist/collection/components/calcite-block/calcite-block.css +2 -2
  257. package/dist/collection/components/calcite-block/calcite-block.js +4 -4
  258. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  259. package/dist/collection/components/calcite-button/calcite-button.js +4 -4
  260. package/dist/collection/components/calcite-card/calcite-card.js +8 -8
  261. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
  262. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +71 -120
  263. package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
  264. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +59 -56
  265. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +15 -19
  266. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
  267. package/dist/collection/components/calcite-combobox/calcite-combobox.css +18 -0
  268. package/dist/collection/components/calcite-combobox/calcite-combobox.js +146 -26
  269. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +51 -21
  270. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
  271. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
  272. package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +35 -20
  273. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
  274. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
  275. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
  276. package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
  277. package/dist/collection/components/calcite-filter/calcite-filter.js +108 -19
  278. package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
  279. package/dist/collection/components/calcite-graph/util.js +1 -1
  280. package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
  281. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  282. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  283. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  284. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  285. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  286. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  287. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  288. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  289. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  290. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  291. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  292. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  293. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  294. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  295. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  296. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  297. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  298. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  299. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  300. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  301. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  302. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
  303. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
  304. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
  305. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
  306. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
  307. package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
  308. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  309. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  310. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  311. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  312. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  313. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  314. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  315. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  316. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  317. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
  318. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
  319. package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
  320. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
  321. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
  322. package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
  323. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  324. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  325. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  326. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  327. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  328. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  329. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  330. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +55 -44
  331. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  332. package/dist/collection/components/calcite-input/calcite-input.css +102 -68
  333. package/dist/collection/components/calcite-input/calcite-input.js +144 -81
  334. package/dist/collection/components/calcite-input/resources.js +14 -12
  335. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  336. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +174 -51
  337. package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
  338. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  339. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +34 -3
  340. package/dist/collection/components/calcite-label/calcite-label.js +2 -2
  341. package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
  342. package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
  343. package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
  344. package/dist/collection/components/calcite-option/calcite-option.js +2 -2
  345. package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
  346. package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
  347. package/dist/collection/components/calcite-panel/calcite-panel.css +8 -4
  348. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
  349. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  350. package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
  351. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
  352. package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
  353. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  354. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +95 -96
  355. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  356. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  357. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +58 -22
  358. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
  359. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  360. package/dist/collection/components/calcite-rating/calcite-rating.js +53 -5
  361. package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
  362. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  363. package/dist/collection/components/calcite-select/calcite-select.js +91 -5
  364. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  365. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
  366. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +2 -2
  367. package/dist/collection/components/calcite-shell-panel/resources.js +1 -0
  368. package/dist/collection/components/calcite-slider/calcite-slider.css +17 -4
  369. package/dist/collection/components/calcite-slider/calcite-slider.js +48 -4
  370. package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
  371. package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
  372. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
  373. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  374. package/dist/collection/components/calcite-switch/calcite-switch.js +35 -66
  375. package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
  376. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
  377. package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
  378. package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
  379. package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
  380. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
  381. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
  382. package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
  383. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
  384. package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
  385. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +35 -28
  386. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
  387. package/dist/collection/utils/form.js +167 -14
  388. package/dist/collection/utils/label.js +33 -4
  389. package/dist/collection/utils/popper.js +2 -2
  390. package/dist/components/calcite-accordion-item.js +2 -2
  391. package/dist/components/calcite-accordion.js +2 -2
  392. package/dist/components/calcite-action-bar.js +2 -2
  393. package/dist/components/calcite-action-group2.js +2 -2
  394. package/dist/components/calcite-action-menu2.js +6 -4
  395. package/dist/components/calcite-action-pad.js +2 -2
  396. package/dist/components/calcite-action2.js +2 -2
  397. package/dist/components/calcite-alert.js +3 -3
  398. package/dist/components/calcite-avatar.js +2 -2
  399. package/dist/components/calcite-block-section.js +2 -2
  400. package/dist/components/calcite-block.js +3 -3
  401. package/dist/components/calcite-button2.js +3 -3
  402. package/dist/components/calcite-card.js +11 -5
  403. package/dist/components/calcite-checkbox2.js +39 -89
  404. package/dist/components/calcite-chip2.js +2 -2
  405. package/dist/components/calcite-color-picker-hex-input2.js +13 -17
  406. package/dist/components/calcite-color-picker-swatch2.js +2 -2
  407. package/dist/components/calcite-color-picker.js +15 -12
  408. package/dist/components/calcite-combobox-item-group.js +2 -2
  409. package/dist/components/calcite-combobox-item.js +2 -2
  410. package/dist/components/calcite-combobox.js +85 -23
  411. package/dist/components/calcite-date-picker-day2.js +2 -2
  412. package/dist/components/calcite-date-picker-month-header2.js +2 -2
  413. package/dist/components/calcite-date-picker-month2.js +2 -2
  414. package/dist/components/calcite-date-picker2.js +27 -9
  415. package/dist/components/calcite-dropdown-group.js +2 -2
  416. package/dist/components/calcite-dropdown-item.js +3 -3
  417. package/dist/components/calcite-dropdown2.js +31 -18
  418. package/dist/components/calcite-fab.js +2 -2
  419. package/dist/components/calcite-filter2.js +47 -16
  420. package/dist/components/calcite-flow.js +2 -2
  421. package/dist/components/calcite-graph2.js +20 -10
  422. package/dist/components/calcite-handle2.js +2 -2
  423. package/dist/components/calcite-icon2.js +2 -2
  424. package/dist/components/calcite-inline-editable.js +52 -42
  425. package/dist/components/calcite-input-date-picker.js +71 -15
  426. package/dist/components/calcite-input-message.js +2 -2
  427. package/dist/components/calcite-input-time-picker.js +14 -4
  428. package/dist/components/calcite-input2.js +107 -72
  429. package/dist/components/calcite-label.js +1 -75
  430. package/dist/components/calcite-label2.js +81 -0
  431. package/dist/components/calcite-link2.js +2 -2
  432. package/dist/components/calcite-list-item-group.js +2 -2
  433. package/dist/components/calcite-list-item.js +2 -2
  434. package/dist/components/calcite-list.js +2 -2
  435. package/dist/components/calcite-loader2.js +3 -3
  436. package/dist/components/calcite-modal.js +2 -2
  437. package/dist/components/calcite-notice.js +2 -2
  438. package/dist/components/calcite-option-group.js +2 -2
  439. package/dist/components/calcite-option.js +2 -2
  440. package/dist/components/calcite-pagination.js +2 -2
  441. package/dist/components/calcite-panel.js +3 -3
  442. package/dist/components/calcite-pick-list-group.js +2 -2
  443. package/dist/components/calcite-pick-list-item2.js +2 -2
  444. package/dist/components/calcite-pick-list.js +2 -2
  445. package/dist/components/calcite-popover-manager.js +2 -2
  446. package/dist/components/calcite-popover2.js +4 -4
  447. package/dist/components/calcite-progress2.js +2 -2
  448. package/dist/components/calcite-radio-button-group.js +2 -2
  449. package/dist/components/calcite-radio-button.js +83 -76
  450. package/dist/components/calcite-radio-group-item.js +2 -2
  451. package/dist/components/calcite-radio-group.js +22 -24
  452. package/dist/components/calcite-radio2.js +2 -2
  453. package/dist/components/calcite-rating.js +15 -4
  454. package/dist/components/calcite-scrim2.js +2 -2
  455. package/dist/components/calcite-select.js +34 -5
  456. package/dist/components/calcite-shell-center-row.js +2 -2
  457. package/dist/components/calcite-shell-panel.js +5 -4
  458. package/dist/components/calcite-shell.js +3 -3
  459. package/dist/components/calcite-slider.js +15 -5
  460. package/dist/components/calcite-sortable-list.js +2 -2
  461. package/dist/components/calcite-split-button.js +2 -2
  462. package/dist/components/calcite-stepper-item.js +2 -2
  463. package/dist/components/calcite-stepper.js +2 -2
  464. package/dist/components/calcite-switch2.js +32 -53
  465. package/dist/components/calcite-tab-nav2.js +2 -2
  466. package/dist/components/calcite-tab-title2.js +2 -2
  467. package/dist/components/calcite-tab2.js +2 -2
  468. package/dist/components/calcite-tabs2.js +2 -2
  469. package/dist/components/calcite-tile-select-group.js +2 -2
  470. package/dist/components/calcite-tile-select.js +3 -5
  471. package/dist/components/calcite-tile2.js +3 -3
  472. package/dist/components/calcite-time-picker2.js +2 -2
  473. package/dist/components/calcite-tip-group.js +2 -2
  474. package/dist/components/calcite-tip-manager.js +2 -2
  475. package/dist/components/calcite-tip.js +2 -2
  476. package/dist/components/calcite-tooltip-manager2.js +2 -2
  477. package/dist/components/calcite-tooltip.js +3 -3
  478. package/dist/components/calcite-tree-item.js +17 -10
  479. package/dist/components/calcite-tree.js +2 -2
  480. package/dist/components/calcite-value-list-item.js +2 -2
  481. package/dist/components/calcite-value-list.js +2 -2
  482. package/dist/components/form.js +169 -15
  483. package/dist/components/label.js +33 -4
  484. package/dist/components/popper.js +2 -2
  485. package/dist/custom-elements/index.js +976 -589
  486. package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  487. package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  488. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  489. package/dist/esm/calcite-action-bar.entry.js +2 -2
  490. package/dist/esm/calcite-action-group.entry.js +1 -1
  491. package/dist/esm/calcite-action-menu.entry.js +5 -3
  492. package/dist/esm/calcite-action-pad.entry.js +2 -2
  493. package/dist/esm/calcite-action.entry.js +1 -1
  494. package/dist/esm/calcite-alert.entry.js +2 -2
  495. package/dist/esm/calcite-avatar.entry.js +1 -1
  496. package/dist/esm/calcite-block_2.entry.js +3 -3
  497. package/dist/esm/calcite-button.entry.js +3 -3
  498. package/dist/esm/calcite-card.entry.js +2 -2
  499. package/dist/esm/calcite-checkbox.entry.js +36 -85
  500. package/dist/esm/calcite-chip.entry.js +1 -1
  501. package/dist/esm/calcite-color-picker_3.entry.js +25 -26
  502. package/dist/esm/calcite-combobox_3.entry.js +83 -24
  503. package/dist/esm/calcite-date-picker_4.entry.js +28 -10
  504. package/dist/esm/calcite-dropdown_3.entry.js +32 -19
  505. package/dist/esm/calcite-fab.entry.js +1 -1
  506. package/dist/esm/calcite-filter.entry.js +43 -14
  507. package/dist/esm/calcite-flow.entry.js +1 -1
  508. package/dist/esm/calcite-graph_2.entry.js +28 -12
  509. package/dist/esm/calcite-handle.entry.js +1 -1
  510. package/dist/esm/calcite-icon.entry.js +1 -1
  511. package/dist/esm/calcite-inline-editable.entry.js +51 -42
  512. package/dist/esm/calcite-input-date-picker.entry.js +70 -17
  513. package/dist/esm/calcite-input-message.entry.js +1 -1
  514. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -4
  515. package/dist/esm/calcite-input.entry.js +104 -72
  516. package/dist/esm/calcite-label.entry.js +1 -1
  517. package/dist/esm/calcite-link.entry.js +1 -1
  518. package/dist/esm/calcite-list_3.entry.js +2 -2
  519. package/dist/esm/calcite-loader.entry.js +2 -2
  520. package/dist/esm/calcite-modal.entry.js +1 -1
  521. package/dist/esm/calcite-notice.entry.js +1 -1
  522. package/dist/esm/calcite-option_3.entry.js +31 -5
  523. package/dist/esm/calcite-pagination.entry.js +1 -1
  524. package/dist/esm/calcite-panel.entry.js +3 -3
  525. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  526. package/dist/esm/calcite-popover_2.entry.js +5 -5
  527. package/dist/esm/calcite-progress.entry.js +1 -1
  528. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  529. package/dist/esm/calcite-radio-group_2.entry.js +20 -24
  530. package/dist/esm/calcite-radio_2.entry.js +82 -76
  531. package/dist/esm/calcite-rating.entry.js +13 -4
  532. package/dist/esm/calcite-scrim.entry.js +1 -1
  533. package/dist/esm/calcite-shell_3.entry.js +5 -4
  534. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  535. package/dist/esm/calcite-split-button.entry.js +1 -1
  536. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  537. package/dist/esm/calcite-switch.entry.js +30 -49
  538. package/dist/esm/calcite-tab_4.entry.js +1 -1
  539. package/dist/esm/calcite-tile-select_2.entry.js +1 -3
  540. package/dist/esm/calcite-tile.entry.js +2 -2
  541. package/dist/esm/calcite-tip_3.entry.js +2 -2
  542. package/dist/esm/calcite-tooltip_2.entry.js +3 -3
  543. package/dist/esm/calcite-tree_2.entry.js +16 -9
  544. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  545. package/dist/esm/calcite.js +3 -3
  546. package/dist/esm/form-160b0fb5.js +174 -0
  547. package/dist/esm/{index-d653c37f.js → index-9de00868.js} +81 -429
  548. package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
  549. package/dist/esm/loader.js +3 -3
  550. package/dist/esm/{popper-7499ea4f.js → popper-dc4b45cf.js} +2 -2
  551. package/dist/esm/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
  552. package/dist/esm/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  553. package/dist/esm-es5/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  554. package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-1d6cd311.js} +1 -1
  555. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  556. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  557. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  558. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  559. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  560. package/dist/esm-es5/calcite-action.entry.js +1 -1
  561. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  562. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  563. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  564. package/dist/esm-es5/calcite-button.entry.js +1 -1
  565. package/dist/esm-es5/calcite-card.entry.js +1 -1
  566. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  567. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  568. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  569. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  570. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  571. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  572. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  573. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  574. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  575. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  576. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  577. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  578. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  579. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  580. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  581. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  582. package/dist/esm-es5/calcite-input.entry.js +2 -2
  583. package/dist/esm-es5/calcite-label.entry.js +1 -1
  584. package/dist/esm-es5/calcite-link.entry.js +1 -1
  585. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  586. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  587. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  588. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  589. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  590. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  591. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  592. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  593. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  594. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  595. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  596. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  597. package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
  598. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  599. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  600. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  601. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  602. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  603. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  604. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  605. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  606. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  607. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  608. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  609. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  610. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  611. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  612. package/dist/esm-es5/calcite.js +1 -1
  613. package/dist/esm-es5/form-160b0fb5.js +5 -0
  614. package/dist/esm-es5/index-9de00868.js +5 -0
  615. package/dist/esm-es5/label-5559055d.js +5 -0
  616. package/dist/esm-es5/loader.js +1 -1
  617. package/dist/esm-es5/popper-dc4b45cf.js +5 -0
  618. package/dist/esm-es5/{resources-510eed1a.js → resources-16a2a25a.js} +1 -1
  619. package/dist/esm-es5/{resources-3b481489.js → resources-bece7a88.js} +1 -1
  620. package/dist/extras/docs-json.json +797 -480
  621. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
  622. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  623. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
  624. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  625. package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +4 -3
  626. package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
  627. package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
  628. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  629. package/dist/types/components/calcite-input/calcite-input.d.ts +21 -9
  630. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  631. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
  632. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +11 -2
  633. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
  634. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
  635. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +13 -4
  636. package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
  637. package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
  638. package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
  639. package/dist/types/components/calcite-slider/calcite-slider.d.ts +10 -1
  640. package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
  641. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +1 -1
  642. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  643. package/dist/types/components.d.ts +199 -22
  644. package/dist/types/utils/form.d.ts +112 -1
  645. package/dist/types/utils/label.d.ts +5 -0
  646. package/dist/types/utils/popper.d.ts +1 -1
  647. package/hydrate/index.js +920 -514
  648. package/package.json +21 -22
  649. package/readme.md +5 -5
  650. package/CHANGELOG.md +0 -1490
  651. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
  652. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
  653. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
  654. package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
  655. package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
  656. package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
  657. package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
  658. package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
  659. package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
  660. package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
  661. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
  662. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
  663. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
  664. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
  665. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
  666. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
  667. package/dist/calcite/p-005e2e7e.entry.js +0 -5
  668. package/dist/calcite/p-07ba39b6.js +0 -5
  669. package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
  670. package/dist/calcite/p-0fd333ff.entry.js +0 -5
  671. package/dist/calcite/p-18574b32.entry.js +0 -5
  672. package/dist/calcite/p-24b86e03.entry.js +0 -5
  673. package/dist/calcite/p-26045881.entry.js +0 -5
  674. package/dist/calcite/p-29b110b2.entry.js +0 -5
  675. package/dist/calcite/p-2ba00b89.js +0 -5
  676. package/dist/calcite/p-3331d93d.system.entry.js +0 -5
  677. package/dist/calcite/p-349333f8.system.entry.js +0 -5
  678. package/dist/calcite/p-34a1c944.entry.js +0 -5
  679. package/dist/calcite/p-361ddbb6.entry.js +0 -5
  680. package/dist/calcite/p-43494684.entry.js +0 -5
  681. package/dist/calcite/p-47313747.system.js +0 -5
  682. package/dist/calcite/p-485062f4.system.entry.js +0 -5
  683. package/dist/calcite/p-4e06a168.entry.js +0 -5
  684. package/dist/calcite/p-4e0bc406.entry.js +0 -5
  685. package/dist/calcite/p-530584ff.system.entry.js +0 -5
  686. package/dist/calcite/p-568ed3d6.system.entry.js +0 -5
  687. package/dist/calcite/p-5c221c33.system.entry.js +0 -5
  688. package/dist/calcite/p-67fd79db.entry.js +0 -5
  689. package/dist/calcite/p-693a4d5f.entry.js +0 -5
  690. package/dist/calcite/p-727c8f36.system.entry.js +0 -5
  691. package/dist/calcite/p-728501db.system.js +0 -5
  692. package/dist/calcite/p-7a544774.system.entry.js +0 -5
  693. package/dist/calcite/p-7f4a5f8e.system.entry.js +0 -5
  694. package/dist/calcite/p-81a82d01.system.entry.js +0 -5
  695. package/dist/calcite/p-93d8a7d5.entry.js +0 -5
  696. package/dist/calcite/p-960fd368.system.entry.js +0 -5
  697. package/dist/calcite/p-9965ea81.system.js +0 -5
  698. package/dist/calcite/p-9ac1fa0b.system.entry.js +0 -5
  699. package/dist/calcite/p-9caae570.entry.js +0 -5
  700. package/dist/calcite/p-9d3ee5cf.system.entry.js +0 -5
  701. package/dist/calcite/p-a7521c0d.entry.js +0 -5
  702. package/dist/calcite/p-b3197425.system.entry.js +0 -5
  703. package/dist/calcite/p-b701101e.entry.js +0 -5
  704. package/dist/calcite/p-ba255377.entry.js +0 -5
  705. package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
  706. package/dist/calcite/p-bfc162ee.system.entry.js +0 -5
  707. package/dist/calcite/p-c31243c5.entry.js +0 -5
  708. package/dist/calcite/p-c74fc589.system.js +0 -5
  709. package/dist/calcite/p-cb228ac0.entry.js +0 -5
  710. package/dist/calcite/p-cbdf0e6c.js +0 -5
  711. package/dist/calcite/p-d35e423d.js +0 -5
  712. package/dist/calcite/p-d5d62977.entry.js +0 -5
  713. package/dist/calcite/p-d7a7a544.system.entry.js +0 -5
  714. package/dist/calcite/p-de0f4633.entry.js +0 -5
  715. package/dist/calcite/p-e9044cc1.entry.js +0 -5
  716. package/dist/calcite/p-eedb78db.entry.js +0 -5
  717. package/dist/calcite/p-f5d25746.system.entry.js +0 -5
  718. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  719. package/dist/calcite/p-fe52131d.entry.js +0 -5
  720. package/dist/cjs/form-00fb301c.js +0 -22
  721. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
  722. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
  723. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
  724. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
  725. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
  726. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
  727. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
  728. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
  729. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
  730. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
  731. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
  732. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
  733. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
  734. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
  735. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
  736. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
  737. package/dist/collection/components/calcite-label/interfaces.js +0 -1
  738. package/dist/collection/demos/_assets/demo-form.js +0 -23
  739. package/dist/collection/demos/_assets/demo-spacer.js +0 -17
  740. package/dist/collection/demos/_assets/demo-template.js +0 -13
  741. package/dist/collection/demos/_assets/demoPageReloader.js +0 -10
  742. package/dist/collection/demos/_assets/head.js +0 -51
  743. package/dist/collection/demos/_assets/loadingButton.js +0 -5
  744. package/dist/collection/demos/_assets/locales.js +0 -50
  745. package/dist/collection/demos/_assets/validateInput.js +0 -111
  746. package/dist/esm/form-cee9f632.js +0 -20
  747. package/dist/esm-es5/form-cee9f632.js +0 -5
  748. package/dist/esm-es5/index-d653c37f.js +0 -5
  749. package/dist/esm-es5/label-bb61bdef.js +0 -5
  750. package/dist/esm-es5/popper-7499ea4f.js +0 -5
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-1987a382.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const dom = require('./dom-19822169.js');
11
11
  const utils = require('./utils-55d67711.js');
12
12
  const key = require('./key-8bfb93ec.js');
@@ -2410,9 +2410,9 @@ let CalciteColorPicker = class {
2410
2410
  * @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-color-picker/interfaces.ts#L10)
2411
2411
  */
2412
2412
  this.value = defaultValue;
2413
- this.colorUpdateLocked = false;
2414
2413
  this.colorFieldAndSliderHovered = false;
2415
2414
  this.hueThumbState = "idle";
2415
+ this.internalColorUpdateContext = null;
2416
2416
  this.mode = utils.CSSColorMode.HEX;
2417
2417
  this.shiftKeyChannelAdjustment = 0;
2418
2418
  this.sliderThumbState = "idle";
@@ -2721,7 +2721,7 @@ let CalciteColorPicker = class {
2721
2721
  this.drawColorFieldAndSlider();
2722
2722
  this.updateChannelsFromColor(color);
2723
2723
  this.previousColor = oldColor;
2724
- if (this.colorUpdateLocked) {
2724
+ if (this.internalColorUpdateContext) {
2725
2725
  return;
2726
2726
  }
2727
2727
  this.value = this.toValue(color);
@@ -2748,7 +2748,10 @@ let CalciteColorPicker = class {
2748
2748
  this.setMode(nextMode);
2749
2749
  }
2750
2750
  const dragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
2751
- if (this.colorUpdateLocked) {
2751
+ if (this.internalColorUpdateContext) {
2752
+ if (this.internalColorUpdateContext === "initial") {
2753
+ return;
2754
+ }
2752
2755
  this.calciteColorPickerInput.emit();
2753
2756
  if (!dragging) {
2754
2757
  this.calciteColorPickerChange.emit();
@@ -2819,15 +2822,15 @@ let CalciteColorPicker = class {
2819
2822
  }
2820
2823
  connectedCallback() {
2821
2824
  const { allowEmpty, color: color$1, format, value } = this;
2822
- const valueIsNoColor = allowEmpty && !value;
2825
+ const willSetNoColor = allowEmpty && !value;
2823
2826
  const parsedMode = utils.parseMode(value);
2824
- const valueIsCompatible = (format === "auto" && parsedMode) || format === parsedMode;
2825
- const initialColor = valueIsNoColor ? null : valueIsCompatible ? color(value) : color$1;
2827
+ const valueIsCompatible = willSetNoColor || (format === "auto" && parsedMode) || format === parsedMode;
2828
+ const initialColor = willSetNoColor ? null : valueIsCompatible ? color(value) : color$1;
2826
2829
  if (!valueIsCompatible) {
2827
2830
  this.showIncompatibleColorWarning(value, format);
2828
2831
  }
2829
2832
  this.setMode(format);
2830
- this.internalColorSet(initialColor, false);
2833
+ this.internalColorSet(initialColor, false, "initial");
2831
2834
  this.updateDimensions(this.scale);
2832
2835
  }
2833
2836
  disconnectedCallback() {
@@ -2892,14 +2895,14 @@ let CalciteColorPicker = class {
2892
2895
  }
2893
2896
  return "none";
2894
2897
  }
2895
- internalColorSet(color, skipEqual = true) {
2898
+ internalColorSet(color, skipEqual = true, context = "internal") {
2896
2899
  if (skipEqual && utils.colorEqual(color, this.color)) {
2897
2900
  return;
2898
2901
  }
2899
- this.colorUpdateLocked = true;
2902
+ this.internalColorUpdateContext = context;
2900
2903
  this.color = color;
2901
2904
  this.value = this.toValue(color);
2902
- this.colorUpdateLocked = false;
2905
+ this.internalColorUpdateContext = null;
2903
2906
  }
2904
2907
  toValue(color, format = this.mode) {
2905
2908
  if (!color) {
@@ -3083,8 +3086,8 @@ let CalciteColorPickerHexInput = class {
3083
3086
  * The hex value.
3084
3087
  */
3085
3088
  this.value = utils.normalizeHex(DEFAULT_COLOR.hex());
3086
- this.onCalciteInputBlur = (event) => {
3087
- const node = event.currentTarget;
3089
+ this.onCalciteInputBlur = () => {
3090
+ const node = this.inputNode;
3088
3091
  const inputValue = node.value;
3089
3092
  const hex = `#${inputValue}`;
3090
3093
  const willClearValue = this.allowEmpty && !inputValue;
@@ -3097,9 +3100,8 @@ let CalciteColorPickerHexInput = class {
3097
3100
  ? ""
3098
3101
  : this.formatForInternalInput(utils.rgbToHex(this.internalColor.object()));
3099
3102
  };
3100
- this.onInputChange = (event) => {
3101
- const node = event.currentTarget;
3102
- const inputValue = node.value;
3103
+ this.onInputChange = () => {
3104
+ const inputValue = this.inputNode.value;
3103
3105
  let value;
3104
3106
  if (inputValue) {
3105
3107
  const hex = inputValue;
@@ -3175,8 +3177,12 @@ let CalciteColorPickerHexInput = class {
3175
3177
  // using @Listen as a workaround for VDOM listener not firing
3176
3178
  onInputKeyDown(event) {
3177
3179
  const { altKey, ctrlKey, metaKey, shiftKey } = event;
3178
- const { el, inputNode, internalColor, value } = this;
3180
+ const { internalColor, value } = this;
3179
3181
  const key$1 = key.getKey(event.key);
3182
+ if (key$1 === "Tab" || key$1 === "Enter") {
3183
+ this.onInputChange();
3184
+ return;
3185
+ }
3180
3186
  const isNudgeKey = key$1 === "ArrowDown" || key$1 === "ArrowUp";
3181
3187
  if (isNudgeKey) {
3182
3188
  if (!value) {
@@ -3191,16 +3197,9 @@ let CalciteColorPickerHexInput = class {
3191
3197
  return;
3192
3198
  }
3193
3199
  const withModifiers = altKey || ctrlKey || metaKey;
3194
- const exceededHexLength = inputNode.value.length >= 6;
3195
- const focusedElement = el.shadowRoot.activeElement;
3196
- const hasTextSelection =
3197
- // can't use window.getSelection() because of FF bug: https://bugzilla.mozilla.org/show_bug.cgi?id=85686
3198
- focusedElement.selectionStart != focusedElement.selectionEnd;
3199
3200
  const singleChar = key$1.length === 1;
3200
3201
  const validHexChar = utils.hexChar.test(key$1);
3201
- if (singleChar &&
3202
- !withModifiers &&
3203
- (!validHexChar || (!hasTextSelection && exceededHexLength))) {
3202
+ if (singleChar && !withModifiers && !validHexChar) {
3204
3203
  event.preventDefault();
3205
3204
  }
3206
3205
  }
@@ -3213,7 +3212,7 @@ let CalciteColorPickerHexInput = class {
3213
3212
  const { el, intlHex, value } = this;
3214
3213
  const hexInputValue = this.formatForInternalInput(value);
3215
3214
  const elementDir = dom.getElementDir(el);
3216
- return (index.h("div", { class: CSS$1.container }, index.h("calcite-input", { class: CSS$1.input, dir: elementDir, label: intlHex, onCalciteInputBlur: this.onCalciteInputBlur, onChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (index.h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
3215
+ return (index.h("div", { class: CSS$1.container }, index.h("calcite-input", { class: CSS$1.input, dir: elementDir, label: intlHex, maxLength: 6, onCalciteInputBlur: this.onCalciteInputBlur, onCalciteInputChange: this.onInputChange, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (index.h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
3217
3216
  }
3218
3217
  //--------------------------------------------------------------------------
3219
3218
  //
@@ -6,14 +6,15 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-1987a382.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const debounce = require('./debounce-95979061.js');
11
11
  const forIn = require('./forIn-a5d553af.js');
12
12
  const dom = require('./dom-19822169.js');
13
13
  const key = require('./key-8bfb93ec.js');
14
- const popper = require('./popper-cd9c0742.js');
14
+ const popper = require('./popper-87bf13e6.js');
15
15
  const guid = require('./guid-b270f0db.js');
16
- const label = require('./label-549c3d9d.js');
16
+ const label = require('./label-8e3552b2.js');
17
+ const form = require('./form-a5b44a1f.js');
17
18
  const observers = require('./observers-41837607.js');
18
19
 
19
20
  /**
@@ -182,7 +183,7 @@ function getDepth(element) {
182
183
  return result.snapshotLength;
183
184
  }
184
185
 
185
- const calciteComboboxCss = "@-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:block;position:relative}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;padding:0}.input{-ms-flex-positive:1;flex-grow:1;font-family:inherit;padding:0;background-color:transparent;border-style:none;color:var(--calcite-ui-text-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0;margin-top:0;padding:0}.wrapper--active .input-single{cursor:text}.input--hidden{width:0;min-width:0;opacity:0;pointer-events:none}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{padding:0;display:-ms-flexbox;display:flex;font-weight:var(--calcite-font-weight-normal);-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0;padding-bottom:0;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:1rem}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{overflow-y:auto;max-height:100vh;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{display:block;margin:0;padding:0}.list--hide{height:0;overflow:hidden}.chip{margin:calc(var(--calcite-combobox-item-spacing-unit-s) / 2) var(--calcite-combobox-item-spacing-unit-s) calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-child{margin-right:0}.chip--rtl{margin-right:unset;margin-left:var(--calcite-combobox-item-spacing-unit-l)}.chip--rtl:last-child{margin-left:0}.item{display:block}";
186
+ const calciteComboboxCss = "@-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:block;position:relative}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input{-ms-flex-positive:1;flex-grow:1;font-family:inherit;padding:0;background-color:transparent;border-style:none;color:var(--calcite-ui-text-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0;margin-top:0;padding:0}.wrapper--active .input-single{cursor:text}.input--hidden{width:0;min-width:0;opacity:0;pointer-events:none}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{padding:0;display:-ms-flexbox;display:flex;font-weight:var(--calcite-font-weight-normal);-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0;padding-bottom:0;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:1rem}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{overflow-y:auto;max-height:100vh;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{display:block;margin:0;padding:0}.list--hide{height:0;overflow:hidden}.chip{margin:calc(var(--calcite-combobox-item-spacing-unit-s) / 2) var(--calcite-combobox-item-spacing-unit-s) calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-child{margin-right:0}.chip--rtl{margin-right:unset;margin-left:var(--calcite-combobox-item-spacing-unit-l)}.chip--rtl:last-child{margin-left:0}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
186
187
 
187
188
  const isGroup = (el) => el.tagName === ComboboxItemGroup;
188
189
  let CalciteCombobox = class {
@@ -207,6 +208,12 @@ let CalciteCombobox = class {
207
208
  this.maxItems = 0;
208
209
  /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
209
210
  this.overlayPositioning = "absolute";
211
+ /**
212
+ * When true, makes the component required for form-submission.
213
+ *
214
+ * @internal
215
+ */
216
+ this.required = false;
210
217
  /** specify the selection mode
211
218
  * - multi: allow any number of selected items (default)
212
219
  * - single: only one selection)
@@ -215,6 +222,14 @@ let CalciteCombobox = class {
215
222
  this.selectionMode = "multi";
216
223
  /** Specify the scale of the combobox, defaults to m */
217
224
  this.scale = "m";
225
+ /** The value(s) of the selectedItem(s) */
226
+ this.value = null;
227
+ //--------------------------------------------------------------------------
228
+ //
229
+ // Private State/Props
230
+ //
231
+ //--------------------------------------------------------------------------
232
+ this.internalValueChangeFlag = false;
218
233
  this.items = [];
219
234
  this.groupItems = [];
220
235
  this.selectedItems = [];
@@ -233,6 +248,18 @@ let CalciteCombobox = class {
233
248
  this.inputHeight = 0;
234
249
  this.ignoreSelectedEventsFlag = false;
235
250
  this.activeTransitionProp = "opacity";
251
+ // --------------------------------------------------------------------------
252
+ //
253
+ // Private Methods
254
+ //
255
+ // --------------------------------------------------------------------------
256
+ this.getValue = () => {
257
+ const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());
258
+ return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
259
+ };
260
+ this.onLabelClick = () => {
261
+ this.setFocus();
262
+ };
236
263
  this.keydownHandler = (event) => {
237
264
  const key$1 = key.getKey(event.key, dom.getElementDir(this.el));
238
265
  switch (key$1) {
@@ -327,7 +354,10 @@ let CalciteCombobox = class {
327
354
  }
328
355
  this.calciteComboboxChipDismiss.emit(event.detail);
329
356
  };
330
- this.setFocusClick = () => {
357
+ this.setFocusClick = (event) => {
358
+ if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
359
+ return;
360
+ }
331
361
  this.setFocus();
332
362
  };
333
363
  this.setInactiveIfNotContained = (event) => {
@@ -415,8 +445,9 @@ let CalciteCombobox = class {
415
445
  }
416
446
  };
417
447
  this.comboboxFocusHandler = () => {
448
+ var _a;
418
449
  this.active = true;
419
- this.textInput.focus();
450
+ (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
420
451
  };
421
452
  this.comboboxBlurHandler = (event) => {
422
453
  this.setInactiveIfNotContained(event);
@@ -443,6 +474,21 @@ let CalciteCombobox = class {
443
474
  maxItemsHandler() {
444
475
  this.setMaxScrollerHeight();
445
476
  }
477
+ valueHandler(value) {
478
+ if (!this.internalValueChangeFlag) {
479
+ const items = this.getItems();
480
+ if (Array.isArray(value)) {
481
+ items.forEach((item) => (item.selected = value.includes(item.value)));
482
+ }
483
+ else if (value) {
484
+ items.forEach((item) => (item.selected = value === item.value));
485
+ }
486
+ else {
487
+ items.forEach((item) => (item.selected = false));
488
+ }
489
+ this.updateItems();
490
+ }
491
+ }
446
492
  //--------------------------------------------------------------------------
447
493
  //
448
494
  // Event Listeners
@@ -468,7 +514,7 @@ let CalciteCombobox = class {
468
514
  const { popper: popper$1, menuEl } = this;
469
515
  const modifiers = this.getModifiers();
470
516
  popper$1
471
- ? popper.updatePopper({
517
+ ? await popper.updatePopper({
472
518
  el: menuEl,
473
519
  modifiers,
474
520
  placement: ComboboxDefaultPlacement,
@@ -491,13 +537,20 @@ let CalciteCombobox = class {
491
537
  // --------------------------------------------------------------------------
492
538
  connectedCallback() {
493
539
  var _a;
540
+ this.internalValueChangeFlag = true;
541
+ this.value = this.getValue();
542
+ this.internalValueChangeFlag = false;
494
543
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
495
544
  this.createPopper();
496
545
  label.connectLabel(this);
546
+ form.connectForm(this);
497
547
  }
498
548
  componentWillLoad() {
499
549
  this.updateItems();
500
550
  }
551
+ componentDidLoad() {
552
+ form.afterConnectDefaultValueSet(this, this.getValue());
553
+ }
501
554
  componentDidRender() {
502
555
  if (this.el.offsetHeight !== this.inputHeight) {
503
556
  this.reposition();
@@ -509,19 +562,17 @@ let CalciteCombobox = class {
509
562
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
510
563
  this.destroyPopper();
511
564
  label.disconnectLabel(this);
565
+ form.disconnectForm(this);
566
+ }
567
+ selectedItemsHandler() {
568
+ this.internalValueChangeFlag = true;
569
+ this.value = this.getValue();
570
+ this.internalValueChangeFlag = false;
512
571
  }
513
572
  /** when search text is cleared, reset active to */
514
573
  textHandler() {
515
574
  this.updateActiveItemIndex(-1);
516
575
  }
517
- // --------------------------------------------------------------------------
518
- //
519
- // Private Methods
520
- //
521
- // --------------------------------------------------------------------------
522
- onLabelClick() {
523
- this.setFocus();
524
- }
525
576
  getModifiers() {
526
577
  const flipModifier = {
527
578
  name: "flip",
@@ -569,9 +620,11 @@ let CalciteCombobox = class {
569
620
  calculateSingleItemHeight(item) {
570
621
  let height = item.offsetHeight;
571
622
  // if item has children items, don't count their height twice
572
- const children = item.querySelectorAll(ComboboxChildSelector);
573
- children.forEach((child) => {
574
- height -= child.offsetHeight;
623
+ const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
624
+ children
625
+ .map((child) => child === null || child === void 0 ? void 0 : child.offsetHeight)
626
+ .forEach((offsetHeight) => {
627
+ height -= offsetHeight;
575
628
  });
576
629
  return height;
577
630
  }
@@ -589,16 +642,17 @@ let CalciteCombobox = class {
589
642
  this.emitCalciteLookupChange();
590
643
  this.emitComboboxChange();
591
644
  this.resetText();
592
- this.textInput.focus();
593
645
  this.filterItems("");
594
646
  }
595
647
  else {
596
648
  this.ignoreSelectedEventsFlag = true;
597
- this.items.forEach((el) => (el.selected = el === item));
649
+ this.items.forEach((el) => (el.selected = el === item ? value : false));
598
650
  this.ignoreSelectedEventsFlag = false;
599
651
  this.selectedItems = this.getSelectedItems();
600
652
  this.emitComboboxChange();
601
- this.textInput.value = item.textLabel;
653
+ if (this.textInput) {
654
+ this.textInput.value = item.textLabel;
655
+ }
602
656
  this.active = false;
603
657
  this.updateActiveItemIndex(-1);
604
658
  this.resetText();
@@ -655,7 +709,9 @@ let CalciteCombobox = class {
655
709
  return this.selectionMode === "single" && this.items.some((item) => item.icon);
656
710
  }
657
711
  resetText() {
658
- this.textInput.value = "";
712
+ if (this.textInput) {
713
+ this.textInput.value = "";
714
+ }
659
715
  this.text = "";
660
716
  }
661
717
  getItems() {
@@ -743,6 +799,7 @@ let CalciteCombobox = class {
743
799
  }
744
800
  }
745
801
  updateActiveItemIndex(index) {
802
+ var _a;
746
803
  this.activeItemIndex = index;
747
804
  let activeDescendant = null;
748
805
  this.visibleItems.forEach((el, i) => {
@@ -757,7 +814,7 @@ let CalciteCombobox = class {
757
814
  this.activeDescendant = activeDescendant;
758
815
  if (this.activeItemIndex > -1) {
759
816
  this.activeChipIndex = -1;
760
- this.textInput.focus();
817
+ (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
761
818
  }
762
819
  }
763
820
  isMulti() {
@@ -834,12 +891,14 @@ let CalciteCombobox = class {
834
891
  wrapper: true,
835
892
  "wrapper--single": single || !this.selectedItems.length,
836
893
  "wrapper--active": open
837
- }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, index.h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), index.h("label", { class: "screen-readers-only", htmlFor: `${guid}-input`, id: labelId }, label), this.renderInput()), this.renderIconEnd()), index.h("ul", { "aria-labelledby": labelId, "aria-multiselectable": "true", class: "screen-readers-only", id: guid, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer()));
894
+ }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, index.h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), index.h("label", { class: "screen-readers-only", htmlFor: `${guid}-input`, id: labelId }, label), this.renderInput()), this.renderIconEnd()), index.h("ul", { "aria-labelledby": labelId, "aria-multiselectable": "true", class: "screen-readers-only", id: guid, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), index.h(form.HiddenFormInputSlot, { component: this })));
838
895
  }
839
896
  get el() { return index.getElement(this); }
840
897
  static get watchers() { return {
841
898
  "active": ["activeHandler"],
842
899
  "maxItems": ["maxItemsHandler"],
900
+ "value": ["valueHandler"],
901
+ "selectedItems": ["selectedItemsHandler"],
843
902
  "text": ["textHandler"]
844
903
  }; }
845
904
  };
@@ -6,11 +6,11 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-1987a382.js');
10
- const resources = require('./resources-7dcd68d1.js');
9
+ const index = require('./index-6b5d2de5.js');
10
+ const resources = require('./resources-3f7b51c8.js');
11
11
  const dom = require('./dom-19822169.js');
12
12
  const key = require('./key-8bfb93ec.js');
13
- const CalciteHeading = require('./CalciteHeading-381b977d.js');
13
+ const CalciteHeading = require('./CalciteHeading-112c19f9.js');
14
14
  require('./locale-69dc9583.js');
15
15
  require('./number-e6448e15.js');
16
16
  require('./guid-b270f0db.js');
@@ -153,7 +153,9 @@ let CalciteDatePicker = class {
153
153
  */
154
154
  this.reset = () => {
155
155
  var _a, _b, _c, _d, _e, _f;
156
- if (this.valueAsDate && ((_a = this.valueAsDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = this.activeDate) === null || _b === void 0 ? void 0 : _b.getTime())) {
156
+ if (!Array.isArray(this.valueAsDate) &&
157
+ this.valueAsDate &&
158
+ ((_a = this.valueAsDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = this.activeDate) === null || _b === void 0 ? void 0 : _b.getTime())) {
157
159
  this.activeDate = new Date(this.valueAsDate);
158
160
  }
159
161
  if (this.startAsDate && ((_c = this.startAsDate) === null || _c === void 0 ? void 0 : _c.getTime()) !== ((_d = this.activeStartDate) === null || _d === void 0 ? void 0 : _d.getTime())) {
@@ -222,8 +224,10 @@ let CalciteDatePicker = class {
222
224
  };
223
225
  }
224
226
  handleValueAsDate(date) {
225
- this.activeDate = date;
226
- this.calciteDatePickerChange.emit(date);
227
+ if (!Array.isArray(date) && date && date !== this.activeDate) {
228
+ this.activeDate = date;
229
+ this.calciteDatePickerChange.emit(date);
230
+ }
227
231
  }
228
232
  handleRangeChange() {
229
233
  const { startAsDate: startDate, endAsDate: endDate } = this;
@@ -236,7 +240,12 @@ let CalciteDatePicker = class {
236
240
  //
237
241
  // --------------------------------------------------------------------------
238
242
  connectedCallback() {
239
- if (this.value) {
243
+ if (Array.isArray(this.value)) {
244
+ this.valueAsDate = this.value.map((v) => resources.dateFromISO(v));
245
+ this.start = this.value[0];
246
+ this.end = this.value[1];
247
+ }
248
+ else if (this.value) {
240
249
  this.valueAsDate = resources.dateFromISO(this.value);
241
250
  }
242
251
  if (this.start) {
@@ -287,8 +296,17 @@ let CalciteDatePicker = class {
287
296
  const dir = dom.getElementDir(this.el);
288
297
  return (index.h(index.Host, { onBlur: this.reset, onKeyUp: this.keyUpHandler, role: "application" }, this.renderCalendar(activeDate, dir, maxDate, minDate, date, endDate)));
289
298
  }
290
- valueWatcher(value) {
291
- this.valueAsDate = resources.dateFromISO(value);
299
+ valueHandler(value) {
300
+ if (Array.isArray(value)) {
301
+ this.valueAsDate = value.map((v) => resources.dateFromISO(v));
302
+ this.start = value[0];
303
+ this.end = value[1];
304
+ }
305
+ else if (value) {
306
+ this.valueAsDate = resources.dateFromISO(value);
307
+ this.start = "";
308
+ this.end = "";
309
+ }
292
310
  }
293
311
  startWatcher(start) {
294
312
  this.setStartAsDate(resources.dateFromISO(start));
@@ -363,7 +381,7 @@ let CalciteDatePicker = class {
363
381
  "valueAsDate": ["handleValueAsDate"],
364
382
  "startAsDate": ["handleRangeChange"],
365
383
  "endAsDate": ["handleRangeChange"],
366
- "value": ["valueWatcher"],
384
+ "value": ["valueHandler"],
367
385
  "start": ["startWatcher"],
368
386
  "end": ["endWatcher"],
369
387
  "locale": ["loadLocaleData"]
@@ -6,10 +6,11 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-1987a382.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const key = require('./key-8bfb93ec.js');
11
11
  const dom = require('./dom-19822169.js');
12
- const popper = require('./popper-cd9c0742.js');
12
+ const popper = require('./popper-87bf13e6.js');
13
+ const observers = require('./observers-41837607.js');
13
14
  require('./guid-b270f0db.js');
14
15
 
15
16
  const DefaultDropdownPlacement = "bottom-leading";
@@ -69,14 +70,26 @@ let CalciteDropdown = class {
69
70
  //
70
71
  //--------------------------------------------------------------------------
71
72
  this.items = [];
72
- /** specifies the item wrapper height; it is updated when maxItems is > 0 **/
73
- this.maxScrollerHeight = 0;
74
73
  this.activeTransitionProp = "opacity";
74
+ this.mutationObserver = observers.createObserver("mutation", () => this.updateItems());
75
75
  //--------------------------------------------------------------------------
76
76
  //
77
77
  // Private Methods
78
78
  //
79
79
  //--------------------------------------------------------------------------
80
+ this.updateItems = () => {
81
+ this.updateSelectedItems();
82
+ this.triggers = Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]"));
83
+ this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
84
+ this.reposition();
85
+ };
86
+ this.setMaxScrollerHeight = () => {
87
+ const { scrollerEl } = this;
88
+ if (scrollerEl) {
89
+ const maxScrollerHeight = this.getMaxScrollerHeight();
90
+ scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
91
+ }
92
+ };
80
93
  this.setScrollerEl = (scrollerEl) => {
81
94
  this.scrollerEl = scrollerEl;
82
95
  };
@@ -129,6 +142,9 @@ let CalciteDropdown = class {
129
142
  activeHandler() {
130
143
  this.reposition();
131
144
  }
145
+ maxItemsHandler() {
146
+ this.reposition();
147
+ }
132
148
  placementHandler() {
133
149
  this.reposition();
134
150
  }
@@ -138,20 +154,17 @@ let CalciteDropdown = class {
138
154
  //
139
155
  //--------------------------------------------------------------------------
140
156
  connectedCallback() {
157
+ var _a;
158
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
141
159
  this.createPopper();
142
- }
143
- componentWillLoad() {
144
- // get initially selected items
145
- this.updateSelectedItems();
160
+ this.updateItems();
146
161
  }
147
162
  componentDidLoad() {
148
- this.triggers = Array.from(this.el.querySelectorAll("[slot=dropdown-trigger]"));
149
- const groups = Array.from(this.el.querySelectorAll("calcite-dropdown-group"));
150
- this.maxScrollerHeight = this.getMaxScrollerHeight(groups);
151
- this.items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
152
163
  this.reposition();
153
164
  }
154
165
  disconnectedCallback() {
166
+ var _a;
167
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
155
168
  this.destroyPopper();
156
169
  }
157
170
  render() {
@@ -170,13 +183,11 @@ let CalciteDropdown = class {
170
183
  //--------------------------------------------------------------------------
171
184
  /** Updates the position of the component. */
172
185
  async reposition() {
173
- const { popper: popper$1, menuEl, placement, scrollerEl, maxScrollerHeight } = this;
174
- if (scrollerEl) {
175
- scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
176
- }
186
+ const { popper: popper$1, menuEl, placement } = this;
187
+ this.setMaxScrollerHeight();
177
188
  const modifiers = this.getModifiers();
178
189
  popper$1
179
- ? popper.updatePopper({
190
+ ? await popper.updatePopper({
180
191
  el: menuEl,
181
192
  modifiers,
182
193
  placement,
@@ -288,7 +299,8 @@ let CalciteDropdown = class {
288
299
  const items = Array.from(this.el.querySelectorAll("calcite-dropdown-item"));
289
300
  this.selectedItems = items.filter((item) => item.active);
290
301
  }
291
- getMaxScrollerHeight(groups) {
302
+ getMaxScrollerHeight() {
303
+ const groups = Array.from(this.el.querySelectorAll("calcite-dropdown-group"));
292
304
  const { maxItems } = this;
293
305
  let itemsToProcess = 0;
294
306
  let maxScrollerHeight = 0;
@@ -348,6 +360,7 @@ let CalciteDropdown = class {
348
360
  get el() { return index.getElement(this); }
349
361
  static get watchers() { return {
350
362
  "active": ["activeHandler"],
363
+ "maxItems": ["maxItemsHandler"],
351
364
  "placement": ["placementHandler"]
352
365
  }; }
353
366
  };
@@ -424,7 +437,7 @@ const CSS = {
424
437
  containerNone: "container--none-selection"
425
438
  };
426
439
 
427
- const calciteDropdownItemCss = "@-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}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem;padding-right:0.5rem;padding-left:1.5rem;padding-top:0.25rem;padding-bottom:0.25rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem;padding-right:0.75rem;padding-left:2rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-right:1rem;padding-left:2.5rem;padding-top:0.75rem;padding-bottom:0.75rem}.container--s.calcite--rtl{padding-right:1.5rem;padding-left:0.5rem}.container--m.calcite--rtl{padding-right:2rem;padding-left:0.75rem}.container--l.calcite--rtl{padding-right:2.5rem;padding-left:1rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;position:relative}.container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-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);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.dropdown-item-content{margin-right:auto;margin-left:0.25rem}.calcite--rtl .dropdown-item-content{margin-left:auto;margin-right:0}:host,.container--link 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(:focus),.container--link a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0}.container--link a{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-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);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.container--s .dropdown-link{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--m .dropdown-link{padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem}.container--l .dropdown-link{padding-left:1.25rem;padding-right:1.25rem;padding-top:1rem;padding-bottom:1rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration:none}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}.calcite--rtl:before{left:unset;right:1rem}:host([active]) .container:not(.container--none-selection){color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}:host([active]) .container:not(.container--none-selection):before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon{color:var(--calcite-ui-brand)}.container--s.container--none-selection{padding-left:0.25rem}.container--m.container--none-selection{padding-left:0.5rem}.container--l.container--none-selection{padding-left:0.75rem}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{left:0.5rem}.container--m:before{left:0.75rem}.container--l:before{left:1rem}.calcite--rtl:before{left:unset}.container--s.calcite--rtl:before{right:0.5rem}.container--m.calcite--rtl:before{right:0.75rem}.container--l.calcite--rtl:before{right:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{left:0.25rem}.container--m .dropdown-item-icon{left:0.5rem}.container--l .dropdown-item-icon{left:0.75rem}.calcite--rtl .dropdown-item-icon{left:unset;margin-left:0}.container--s.calcite--rtl .dropdown-item-icon{right:0.25rem}.container--m.calcite--rtl .dropdown-item-icon{right:0.5rem}.container--l.calcite--rtl .dropdown-item-icon{right:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-right:0.5rem;margin-left:0.25rem}.container--s .dropdown-item-icon-end{margin-left:0.5rem}.container--m .dropdown-item-icon-start{margin-right:0.75rem;margin-left:0.25rem}.container--m .dropdown-item-icon-end{margin-left:0.75rem}.container--l .dropdown-item-icon-start{margin-right:1rem;margin-left:0.25rem}.container--l .dropdown-item-icon-end{margin-left:1rem}.calcite--rtl .dropdown-item-icon-start{margin-right:0}.calcite--rtl .dropdown-item-icon-end{margin-left:0}.container--s.calcite--rtl .dropdown-item-icon-start{margin-left:0.5rem}.container--s.calcite--rtl .dropdown-item-icon-end{margin-right:0.5rem}.container--m.calcite--rtl .dropdown-item-icon-start{margin-left:0.75rem}.container--m.calcite--rtl .dropdown-item-icon-end{margin-right:0.75rem}.container--l.calcite--rtl .dropdown-item-icon-start{margin-left:1rem}.container--l.calcite--rtl .dropdown-item-icon-end{margin-right:1rem}.calcite--rtl calcite-icon{margin-right:0;margin-left:0.75rem}";
440
+ const calciteDropdownItemCss = "@-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}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem;padding-right:0.5rem;padding-left:1.5rem;padding-top:0.25rem;padding-bottom:0.25rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem;padding-right:0.75rem;padding-left:2rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-right:1rem;padding-left:2.5rem;padding-top:0.75rem;padding-bottom:0.75rem}.container--s.calcite--rtl{padding-right:1.5rem;padding-left:0.5rem}.container--m.calcite--rtl{padding-right:2rem;padding-left:0.75rem}.container--l.calcite--rtl{padding-right:2.5rem;padding-left:1rem}:host{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;position:relative}.container{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-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);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.dropdown-item-content{margin-right:auto;margin-left:0.25rem}.calcite--rtl .dropdown-item-content{margin-left:auto;margin-right:0}:host,.container--link 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(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0}.container--link a{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-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);cursor:pointer;text-decoration:none;outline:2px solid transparent;outline-offset:2px;position:relative}.container--s .dropdown-link{font-size:var(--calcite-font-size--2);line-height:1rem;padding-right:0.5rem;padding-left:1.5rem;padding-top:0.25rem;padding-bottom:0.25rem}.container--m .dropdown-link{font-size:var(--calcite-font-size--1);line-height:1rem;padding-right:0.75rem;padding-left:2rem;padding-top:0.5rem;padding-bottom:0.5rem}.container--l .dropdown-link{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-right:1rem;padding-left:2.5rem;padding-top:0.75rem;padding-bottom:0.75rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);text-decoration:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}.calcite--rtl:before{left:unset;right:1rem}.calcite--rtl .dropdown-link{padding-right:0;padding-left:0}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{color:var(--calcite-ui-text-1);font-weight:var(--calcite-font-weight-medium)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{left:0.5rem}.container--m:before{left:0.75rem}.container--l:before{left:1rem}.calcite--rtl:before{left:unset}.container--s.calcite--rtl:before{right:0.5rem}.container--m.calcite--rtl:before{right:0.75rem}.container--l.calcite--rtl:before{right:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{left:0.25rem}.container--m .dropdown-item-icon{left:0.5rem}.container--l .dropdown-item-icon{left:0.75rem}.calcite--rtl .dropdown-item-icon{left:unset;margin-left:0}.container--s.calcite--rtl .dropdown-item-icon{right:0.25rem}.container--m.calcite--rtl .dropdown-item-icon{right:0.5rem}.container--l.calcite--rtl .dropdown-item-icon{right:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-right:0.5rem;margin-left:0.25rem}.container--s .dropdown-item-icon-end{margin-left:0.5rem}.container--m .dropdown-item-icon-start{margin-right:0.75rem;margin-left:0.25rem}.container--m .dropdown-item-icon-end{margin-left:0.75rem}.container--l .dropdown-item-icon-start{margin-right:1rem;margin-left:0.25rem}.container--l .dropdown-item-icon-end{margin-left:1rem}.calcite--rtl .dropdown-item-icon-start{margin-right:0}.calcite--rtl .dropdown-item-icon-end{margin-left:0}.container--s.calcite--rtl .dropdown-item-icon-start{margin-left:0.5rem}.container--s.calcite--rtl .dropdown-item-icon-end{margin-right:0.5rem}.container--m.calcite--rtl .dropdown-item-icon-start{margin-left:0.75rem}.container--m.calcite--rtl .dropdown-item-icon-end{margin-right:0.75rem}.container--l.calcite--rtl .dropdown-item-icon-start{margin-left:1rem}.container--l.calcite--rtl .dropdown-item-icon-end{margin-right:1rem}.calcite--rtl calcite-icon{margin-right:0;margin-left:0.75rem}";
428
441
 
429
442
  let CalciteDropdownItem = class {
430
443
  constructor(hostRef) {