@esri/calcite-components 1.0.0-next.294 → 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 (542) hide show
  1. package/dist/calcite/assets/calcite-icon/checkExtent16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/checkExtent24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkExtent32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/driveTime16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/driveTime24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/driveTime32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/driveTimeLargest16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/driveTimeLargest24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/driveTimeLargest32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/driveTimeXBar16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/driveTimeXBar24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/driveTimeXBar32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/groupItems16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/groupItems24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/groupItems32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/groupLayoutElements16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/groupLayoutElements24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/groupLayoutElements32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/ringsLargest16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/ringsLargest24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/ringsLargest32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/ringsSmallest16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/ringsSmallest24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/ringsSmallest32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/ringsXBar16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/ringsXBar24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/ringsXBar32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/ungroupItems16.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/ungroupItems24.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/ungroupItems32.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  37. package/dist/calcite/calcite.esm.js +1 -1
  38. package/dist/calcite/calcite.js +1 -1
  39. package/dist/calcite/{p-dc99bb00.system.entry.js → p-00716aa8.system.entry.js} +1 -1
  40. package/dist/calcite/{p-413b4857.system.entry.js → p-044d603d.system.entry.js} +1 -1
  41. package/dist/calcite/{p-6621aee1.entry.js → p-05da7439.entry.js} +1 -1
  42. package/dist/calcite/{p-7c37ca39.entry.js → p-08d707c4.entry.js} +1 -1
  43. package/dist/calcite/{p-fba65e4a.system.entry.js → p-10708f87.system.entry.js} +1 -1
  44. package/dist/calcite/p-109049e6.system.entry.js +5 -0
  45. package/dist/calcite/{p-58e98b2d.system.entry.js → p-127e3513.system.entry.js} +1 -1
  46. package/dist/calcite/p-1434e37e.entry.js +5 -0
  47. package/dist/calcite/{p-8007a0b4.system.entry.js → p-143cffd9.system.entry.js} +1 -1
  48. package/dist/calcite/{p-c8e4117c.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
  49. package/dist/calcite/{p-de3a04c2.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
  50. package/dist/calcite/{p-c99d8f9e.system.entry.js → p-16f2d814.system.entry.js} +1 -1
  51. package/dist/calcite/p-1942876c.js +5 -0
  52. package/dist/calcite/{p-cca94491.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
  53. package/dist/calcite/p-1a962bdd.js +5 -0
  54. package/dist/calcite/p-1aa89347.system.entry.js +5 -0
  55. package/dist/calcite/{p-a8569c55.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
  56. package/dist/calcite/{p-6988c6b7.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
  57. package/dist/calcite/{p-7a6c6382.entry.js → p-21c8ac06.entry.js} +1 -1
  58. package/dist/calcite/{p-6c8a562f.system.entry.js → p-243d95ab.system.entry.js} +1 -1
  59. package/dist/calcite/{p-3f1d1bad.entry.js → p-2451da5b.entry.js} +1 -1
  60. package/dist/calcite/p-26efaed7.entry.js +5 -0
  61. package/dist/calcite/p-288bc438.system.js +5 -0
  62. package/dist/calcite/{p-4185db77.entry.js → p-289bc56f.entry.js} +1 -1
  63. package/dist/calcite/{p-9affee61.entry.js → p-29771742.entry.js} +1 -1
  64. package/dist/calcite/{p-8953f712.entry.js → p-2aa3007a.entry.js} +1 -1
  65. package/dist/calcite/p-2e29554c.js +5 -0
  66. package/dist/calcite/{p-3962cd38.entry.js → p-33802886.entry.js} +1 -1
  67. package/dist/calcite/{p-25a31861.system.js → p-34e5baa7.system.js} +1 -1
  68. package/dist/calcite/p-3833285b.system.entry.js +5 -0
  69. package/dist/calcite/{p-e638ff0e.entry.js → p-396efb80.entry.js} +1 -1
  70. package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
  71. package/dist/calcite/p-3dae9da3.js +5 -0
  72. package/dist/calcite/{p-bf8b70a8.entry.js → p-3e6fcede.entry.js} +1 -1
  73. package/dist/calcite/p-3eb1dc0f.entry.js +5 -0
  74. package/dist/calcite/p-41023be5.system.entry.js +5 -0
  75. package/dist/calcite/{p-49d5ee42.system.entry.js → p-46285b9c.system.entry.js} +1 -1
  76. package/dist/calcite/{p-c9ecea64.entry.js → p-48f03121.entry.js} +1 -1
  77. package/dist/calcite/{p-83302e1c.entry.js → p-4acfb654.entry.js} +1 -1
  78. package/dist/calcite/{p-bf25e278.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
  79. package/dist/calcite/{p-b8d040e5.system.entry.js → p-4e16515a.system.entry.js} +1 -1
  80. package/dist/calcite/{p-c60e3a71.entry.js → p-4f1f83d2.entry.js} +1 -1
  81. package/dist/calcite/{p-1e875199.entry.js → p-502ea583.entry.js} +1 -1
  82. package/dist/calcite/p-523bc291.system.js +5 -0
  83. package/dist/calcite/p-54394dfe.system.entry.js +5 -0
  84. package/dist/calcite/p-578509a8.entry.js +5 -0
  85. package/dist/calcite/p-592da79d.system.entry.js +5 -0
  86. package/dist/calcite/p-5c0c29bc.entry.js +5 -0
  87. package/dist/calcite/p-5eee672a.system.entry.js +5 -0
  88. package/dist/calcite/{p-ba1322e6.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
  89. package/dist/calcite/{p-36e5db45.entry.js → p-5f817b79.entry.js} +1 -1
  90. package/dist/calcite/p-63e60894.entry.js +5 -0
  91. package/dist/calcite/{p-daa110fe.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
  92. package/dist/calcite/{p-28261aae.entry.js → p-659898bf.entry.js} +1 -1
  93. package/dist/calcite/{p-d11ad046.system.js → p-6d44b7d9.system.js} +1 -1
  94. package/dist/calcite/p-6f1cca21.system.js +5 -0
  95. package/dist/calcite/{p-2418cceb.entry.js → p-70efa39d.entry.js} +1 -1
  96. package/dist/calcite/{p-e7819705.entry.js → p-714ae4f6.entry.js} +1 -1
  97. package/dist/calcite/{p-3bb30b44.system.entry.js → p-74f390e1.system.entry.js} +1 -1
  98. package/dist/calcite/{p-d4059426.entry.js → p-75264173.entry.js} +1 -1
  99. package/dist/calcite/{p-76ccd204.entry.js → p-765fb8ed.entry.js} +1 -1
  100. package/dist/calcite/{p-cacca548.entry.js → p-78d0db7b.entry.js} +1 -1
  101. package/dist/calcite/{p-98789055.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
  102. package/dist/calcite/{p-f281f1e9.entry.js → p-7bb94bfa.entry.js} +1 -1
  103. package/dist/calcite/{p-502736d8.system.entry.js → p-81538774.system.entry.js} +1 -1
  104. package/dist/calcite/p-81ab443c.entry.js +5 -0
  105. package/dist/calcite/p-82139130.entry.js +5 -0
  106. package/dist/calcite/{p-7b869bc5.entry.js → p-82c6cd9a.entry.js} +1 -1
  107. package/dist/calcite/{p-45257edb.js → p-8340b572.js} +1 -1
  108. package/dist/calcite/{p-58716826.system.entry.js → p-840f2937.system.entry.js} +2 -2
  109. package/dist/calcite/p-85032edc.system.entry.js +5 -0
  110. package/dist/calcite/{p-b41deed0.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
  111. package/dist/calcite/p-8baa9ba4.entry.js +5 -0
  112. package/dist/calcite/{p-7ade2294.system.entry.js → p-8fef13ca.system.entry.js} +1 -1
  113. package/dist/calcite/{p-75f714c9.entry.js → p-9338b0bc.entry.js} +1 -1
  114. package/dist/calcite/p-9577dfd9.entry.js +5 -0
  115. package/dist/calcite/{p-c48b4b7e.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
  116. package/dist/calcite/p-968ea270.entry.js +5 -0
  117. package/dist/calcite/{p-83ccefba.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
  118. package/dist/calcite/p-9be6633a.entry.js +5 -0
  119. package/dist/calcite/{p-9fc0dc2c.system.entry.js → p-9f240615.system.entry.js} +1 -1
  120. package/dist/calcite/{p-f6f4648e.system.entry.js → p-a5269f14.system.entry.js} +1 -1
  121. package/dist/calcite/{p-684ccd4e.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
  122. package/dist/calcite/{p-0100aeb0.entry.js → p-ace12b8d.entry.js} +1 -1
  123. package/dist/calcite/{p-7dd5c4e4.entry.js → p-aced5f01.entry.js} +1 -1
  124. package/dist/calcite/{p-f32e61bb.system.entry.js → p-aec398f3.system.entry.js} +1 -1
  125. package/dist/calcite/{p-eed43a57.system.entry.js → p-b1351c3e.system.entry.js} +1 -1
  126. package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
  127. package/dist/calcite/{p-3cf93a58.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
  128. package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
  129. package/dist/calcite/p-b9fa225e.entry.js +5 -0
  130. package/dist/calcite/p-c0e35328.entry.js +5 -0
  131. package/dist/calcite/p-c34c4414.system.js +5 -0
  132. package/dist/calcite/{p-a09634e2.entry.js → p-c3ba61ea.entry.js} +1 -1
  133. package/dist/calcite/{p-fe16f05e.system.entry.js → p-c4cb4fab.system.entry.js} +1 -1
  134. package/dist/calcite/p-c87c04a9.entry.js +5 -0
  135. package/dist/calcite/p-ca3bb147.entry.js +5 -0
  136. package/dist/calcite/{p-527146c8.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
  137. package/dist/calcite/{p-a7ba0292.system.js → p-cbf6bb04.system.js} +1 -1
  138. package/dist/calcite/{p-507b2cc4.entry.js → p-cc788d2e.entry.js} +1 -1
  139. package/dist/calcite/p-cced5508.system.entry.js +5 -0
  140. package/dist/calcite/{p-dcf30b00.system.entry.js → p-cf03b144.system.entry.js} +1 -1
  141. package/dist/calcite/{p-b018fbbd.entry.js → p-d550ee4d.entry.js} +1 -1
  142. package/dist/calcite/{p-72fa390e.entry.js → p-d6e30c54.entry.js} +1 -1
  143. package/dist/calcite/{p-79cbbf2d.js → p-d6f20229.js} +1 -1
  144. package/dist/calcite/{p-3e438b5b.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
  145. package/dist/calcite/{p-9fa024e6.system.entry.js → p-dd464e44.system.entry.js} +1 -1
  146. package/dist/calcite/p-dd5ff164.entry.js +5 -0
  147. package/dist/calcite/{p-38ee7306.system.entry.js → p-deb36fde.system.entry.js} +1 -1
  148. package/dist/calcite/{p-b4e7b593.system.entry.js → p-defcee80.system.entry.js} +1 -1
  149. package/dist/calcite/{p-e35e7216.system.js → p-dff7dc90.system.js} +1 -1
  150. package/dist/calcite/{p-09da1c54.system.entry.js → p-e33fe285.system.entry.js} +1 -1
  151. package/dist/calcite/p-e52495d3.system.entry.js +5 -0
  152. package/dist/calcite/{p-9fa5e356.entry.js → p-e5e3b591.entry.js} +1 -1
  153. package/dist/calcite/p-e62a9b1d.system.entry.js +5 -0
  154. package/dist/calcite/p-e6c84e63.entry.js +5 -0
  155. package/dist/calcite/{p-a5bfc29d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
  156. package/dist/calcite/{p-809ddb6a.js → p-e956e279.js} +1 -1
  157. package/dist/calcite/{p-c399cfce.entry.js → p-eada9cef.entry.js} +1 -1
  158. package/dist/calcite/{p-b244a00c.entry.js → p-ecc00ef0.entry.js} +1 -1
  159. package/dist/calcite/{p-f93a7fce.entry.js → p-ef39847e.entry.js} +1 -1
  160. package/dist/calcite/{p-cd41629f.entry.js → p-efb2169a.entry.js} +1 -1
  161. package/dist/calcite/{p-06646eed.system.entry.js → p-f0338acf.system.entry.js} +1 -1
  162. package/dist/calcite/{p-3383d9b4.entry.js → p-f1c5e7cf.entry.js} +1 -1
  163. package/dist/calcite/{p-58eca102.entry.js → p-f278dd53.entry.js} +1 -1
  164. package/dist/calcite/{p-5efd7297.entry.js → p-f9c46578.entry.js} +1 -1
  165. package/dist/calcite/{p-10de63d7.system.entry.js → p-fc47547f.system.entry.js} +1 -1
  166. package/dist/calcite/p-fc643963.entry.js +5 -0
  167. package/dist/calcite/{p-5322b333.system.entry.js → p-fcb6db39.system.entry.js} +1 -1
  168. package/dist/cjs/{CalciteExpandToggle-6a9f9858.js → CalciteExpandToggle-5f60c98b.js} +1 -1
  169. package/dist/cjs/{CalciteHeading-363b0525.js → CalciteHeading-112c19f9.js} +1 -1
  170. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  171. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  172. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  173. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  174. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  175. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  177. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  179. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  180. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  181. package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
  182. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +25 -26
  184. package/dist/cjs/calcite-combobox_3.cjs.entry.js +81 -22
  185. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
  186. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
  187. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  188. package/dist/cjs/calcite-filter.cjs.entry.js +34 -8
  189. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -4
  191. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  193. package/dist/cjs/calcite-inline-editable.cjs.entry.js +51 -42
  194. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +68 -15
  195. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  196. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -4
  197. package/dist/cjs/calcite-input.cjs.entry.js +75 -56
  198. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  199. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  200. package/dist/cjs/calcite-list_3.cjs.entry.js +2 -2
  201. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  203. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +31 -5
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  208. package/dist/cjs/calcite-popover_2.cjs.entry.js +3 -3
  209. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  211. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -24
  212. package/dist/cjs/calcite-radio_2.cjs.entry.js +81 -75
  213. package/dist/cjs/calcite-rating.cjs.entry.js +13 -4
  214. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -4
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  218. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  219. package/dist/cjs/calcite-switch.cjs.entry.js +25 -49
  220. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  221. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -3
  222. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  223. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  224. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
  225. package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
  226. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  227. package/dist/cjs/calcite.cjs.js +2 -2
  228. package/dist/cjs/form-a5b44a1f.js +179 -0
  229. package/dist/cjs/{index-cee0daa9.js → index-6b5d2de5.js} +8 -365
  230. package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
  231. package/dist/cjs/loader.cjs.js +2 -2
  232. package/dist/cjs/{resources-38563593.js → resources-3f7b51c8.js} +1 -1
  233. package/dist/cjs/{resources-f9c141d2.js → resources-cd25dbae.js} +1 -1
  234. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  235. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
  236. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +63 -112
  237. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +13 -10
  238. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +11 -15
  239. package/dist/collection/components/calcite-combobox/calcite-combobox.css +15 -0
  240. package/dist/collection/components/calcite-combobox/calcite-combobox.js +139 -19
  241. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +45 -15
  242. package/dist/collection/components/calcite-filter/calcite-filter.js +79 -8
  243. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  244. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  245. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  276. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  277. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  278. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  279. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  280. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +43 -32
  281. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  282. package/dist/collection/components/calcite-input/calcite-input.css +102 -68
  283. package/dist/collection/components/calcite-input/calcite-input.js +104 -54
  284. package/dist/collection/components/calcite-input/resources.js +14 -12
  285. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  286. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +163 -40
  287. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  288. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +34 -3
  289. package/dist/collection/components/calcite-panel/calcite-panel.css +2 -2
  290. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  291. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  292. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +83 -84
  293. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  294. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  295. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +58 -22
  296. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  297. package/dist/collection/components/calcite-rating/calcite-rating.js +49 -1
  298. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  299. package/dist/collection/components/calcite-select/calcite-select.js +89 -3
  300. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  301. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
  302. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +2 -2
  303. package/dist/collection/components/calcite-shell-panel/resources.js +1 -0
  304. package/dist/collection/components/calcite-slider/calcite-slider.css +15 -0
  305. package/dist/collection/components/calcite-slider/calcite-slider.js +45 -1
  306. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  307. package/dist/collection/components/calcite-switch/calcite-switch.js +28 -64
  308. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
  309. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +15 -8
  310. package/dist/collection/utils/form.js +167 -14
  311. package/dist/collection/utils/label.js +33 -4
  312. package/dist/components/calcite-button2.js +1 -1
  313. package/dist/components/calcite-checkbox2.js +37 -87
  314. package/dist/components/calcite-color-picker-hex-input2.js +11 -15
  315. package/dist/components/calcite-color-picker.js +13 -10
  316. package/dist/components/calcite-combobox.js +82 -20
  317. package/dist/components/calcite-date-picker2.js +25 -7
  318. package/dist/components/calcite-filter2.js +35 -7
  319. package/dist/components/calcite-inline-editable.js +52 -42
  320. package/dist/components/calcite-input-date-picker.js +68 -12
  321. package/dist/components/calcite-input-time-picker.js +12 -2
  322. package/dist/components/calcite-input2.js +79 -57
  323. package/dist/components/calcite-panel.js +1 -1
  324. package/dist/components/calcite-popover2.js +1 -1
  325. package/dist/components/calcite-radio-button.js +83 -76
  326. package/dist/components/calcite-radio-group.js +20 -22
  327. package/dist/components/calcite-rating.js +13 -2
  328. package/dist/components/calcite-select.js +32 -3
  329. package/dist/components/calcite-shell-panel.js +4 -3
  330. package/dist/components/calcite-shell.js +1 -1
  331. package/dist/components/calcite-slider.js +12 -2
  332. package/dist/components/calcite-switch2.js +25 -51
  333. package/dist/components/calcite-tile-select.js +1 -3
  334. package/dist/components/calcite-tree-item.js +15 -8
  335. package/dist/components/form.js +169 -15
  336. package/dist/components/label.js +33 -4
  337. package/dist/custom-elements/index.js +785 -441
  338. package/dist/esm/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  339. package/dist/esm/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  340. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  341. package/dist/esm/calcite-action-bar.entry.js +2 -2
  342. package/dist/esm/calcite-action-group.entry.js +1 -1
  343. package/dist/esm/calcite-action-menu.entry.js +1 -1
  344. package/dist/esm/calcite-action-pad.entry.js +2 -2
  345. package/dist/esm/calcite-action.entry.js +1 -1
  346. package/dist/esm/calcite-alert.entry.js +1 -1
  347. package/dist/esm/calcite-avatar.entry.js +1 -1
  348. package/dist/esm/calcite-block_2.entry.js +2 -2
  349. package/dist/esm/calcite-button.entry.js +3 -3
  350. package/dist/esm/calcite-card.entry.js +1 -1
  351. package/dist/esm/calcite-checkbox.entry.js +36 -85
  352. package/dist/esm/calcite-chip.entry.js +1 -1
  353. package/dist/esm/calcite-color-picker_3.entry.js +25 -26
  354. package/dist/esm/calcite-combobox_3.entry.js +81 -22
  355. package/dist/esm/calcite-date-picker_4.entry.js +28 -10
  356. package/dist/esm/calcite-dropdown_3.entry.js +1 -1
  357. package/dist/esm/calcite-fab.entry.js +1 -1
  358. package/dist/esm/calcite-filter.entry.js +34 -8
  359. package/dist/esm/calcite-flow.entry.js +1 -1
  360. package/dist/esm/calcite-graph_2.entry.js +12 -4
  361. package/dist/esm/calcite-handle.entry.js +1 -1
  362. package/dist/esm/calcite-icon.entry.js +1 -1
  363. package/dist/esm/calcite-inline-editable.entry.js +51 -42
  364. package/dist/esm/calcite-input-date-picker.entry.js +68 -15
  365. package/dist/esm/calcite-input-message.entry.js +1 -1
  366. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -4
  367. package/dist/esm/calcite-input.entry.js +76 -57
  368. package/dist/esm/calcite-label.entry.js +1 -1
  369. package/dist/esm/calcite-link.entry.js +1 -1
  370. package/dist/esm/calcite-list_3.entry.js +2 -2
  371. package/dist/esm/calcite-loader.entry.js +1 -1
  372. package/dist/esm/calcite-modal.entry.js +1 -1
  373. package/dist/esm/calcite-notice.entry.js +1 -1
  374. package/dist/esm/calcite-option_3.entry.js +31 -5
  375. package/dist/esm/calcite-pagination.entry.js +1 -1
  376. package/dist/esm/calcite-panel.entry.js +3 -3
  377. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  378. package/dist/esm/calcite-popover_2.entry.js +3 -3
  379. package/dist/esm/calcite-progress.entry.js +1 -1
  380. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  381. package/dist/esm/calcite-radio-group_2.entry.js +20 -24
  382. package/dist/esm/calcite-radio_2.entry.js +82 -76
  383. package/dist/esm/calcite-rating.entry.js +13 -4
  384. package/dist/esm/calcite-scrim.entry.js +1 -1
  385. package/dist/esm/calcite-shell_3.entry.js +5 -4
  386. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  387. package/dist/esm/calcite-split-button.entry.js +1 -1
  388. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  389. package/dist/esm/calcite-switch.entry.js +26 -50
  390. package/dist/esm/calcite-tab_4.entry.js +1 -1
  391. package/dist/esm/calcite-tile-select_2.entry.js +1 -3
  392. package/dist/esm/calcite-tile.entry.js +1 -1
  393. package/dist/esm/calcite-tip_3.entry.js +2 -2
  394. package/dist/esm/calcite-tooltip_2.entry.js +1 -1
  395. package/dist/esm/calcite-tree_2.entry.js +16 -9
  396. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  397. package/dist/esm/calcite.js +2 -2
  398. package/dist/esm/form-160b0fb5.js +174 -0
  399. package/dist/esm/{index-66803519.js → index-9de00868.js} +8 -365
  400. package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
  401. package/dist/esm/loader.js +2 -2
  402. package/dist/esm/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
  403. package/dist/esm/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
  404. package/dist/esm-es5/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  405. package/dist/esm-es5/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  406. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  407. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  408. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  409. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  410. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  411. package/dist/esm-es5/calcite-action.entry.js +1 -1
  412. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  413. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  414. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  415. package/dist/esm-es5/calcite-button.entry.js +1 -1
  416. package/dist/esm-es5/calcite-card.entry.js +1 -1
  417. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  418. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  419. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  420. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  421. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  422. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  423. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  424. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  425. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  426. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  427. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  428. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  429. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  430. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  431. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  432. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  433. package/dist/esm-es5/calcite-input.entry.js +2 -2
  434. package/dist/esm-es5/calcite-label.entry.js +1 -1
  435. package/dist/esm-es5/calcite-link.entry.js +1 -1
  436. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  437. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  438. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  439. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  440. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  441. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  442. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  443. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  444. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  445. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  446. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  447. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  448. package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
  449. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  450. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  451. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  452. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  453. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  454. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  455. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  456. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  457. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  458. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  459. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  460. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  461. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  462. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  463. package/dist/esm-es5/calcite.js +1 -1
  464. package/dist/esm-es5/form-160b0fb5.js +5 -0
  465. package/dist/esm-es5/index-9de00868.js +5 -0
  466. package/dist/esm-es5/label-5559055d.js +5 -0
  467. package/dist/esm-es5/loader.js +1 -1
  468. package/dist/esm-es5/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
  469. package/dist/esm-es5/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
  470. package/dist/extras/docs-json.json +320 -59
  471. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
  472. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  473. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
  474. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  475. package/dist/types/components/calcite-filter/calcite-filter.d.ts +19 -0
  476. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  477. package/dist/types/components/calcite-input/calcite-input.d.ts +14 -8
  478. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  479. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
  480. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +11 -2
  481. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
  482. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +13 -4
  483. package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
  484. package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
  485. package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
  486. package/dist/types/components/calcite-slider/calcite-slider.d.ts +10 -1
  487. package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
  488. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +1 -1
  489. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  490. package/dist/types/components.d.ts +171 -18
  491. package/dist/types/utils/form.d.ts +112 -1
  492. package/dist/types/utils/label.d.ts +5 -0
  493. package/hydrate/index.js +811 -451
  494. package/package.json +8 -9
  495. package/readme.md +2 -2
  496. package/CHANGELOG.md +0 -1506
  497. package/dist/calcite/p-05107123.entry.js +0 -5
  498. package/dist/calcite/p-05d1dfc6.js +0 -5
  499. package/dist/calcite/p-0d4e82ab.system.entry.js +0 -5
  500. package/dist/calcite/p-10759c71.system.entry.js +0 -5
  501. package/dist/calcite/p-11113310.entry.js +0 -5
  502. package/dist/calcite/p-12e1c83f.system.entry.js +0 -5
  503. package/dist/calcite/p-1421e818.entry.js +0 -5
  504. package/dist/calcite/p-17e666d6.system.entry.js +0 -5
  505. package/dist/calcite/p-22ecf6df.entry.js +0 -5
  506. package/dist/calcite/p-2ba00b89.js +0 -5
  507. package/dist/calcite/p-2ecafa35.system.entry.js +0 -5
  508. package/dist/calcite/p-329e1831.system.entry.js +0 -5
  509. package/dist/calcite/p-3994ac99.system.entry.js +0 -5
  510. package/dist/calcite/p-42128a12.entry.js +0 -5
  511. package/dist/calcite/p-47313747.system.js +0 -5
  512. package/dist/calcite/p-4c7e3915.system.entry.js +0 -5
  513. package/dist/calcite/p-4ecd0331.entry.js +0 -5
  514. package/dist/calcite/p-5e6d76dc.entry.js +0 -5
  515. package/dist/calcite/p-777c833f.system.entry.js +0 -5
  516. package/dist/calcite/p-8711a0ae.system.entry.js +0 -5
  517. package/dist/calcite/p-89cdfa96.system.js +0 -5
  518. package/dist/calcite/p-8bc3e126.entry.js +0 -5
  519. package/dist/calcite/p-948aca0d.system.entry.js +0 -5
  520. package/dist/calcite/p-99ff3a2f.entry.js +0 -5
  521. package/dist/calcite/p-9fe349b9.entry.js +0 -5
  522. package/dist/calcite/p-a2cc027e.entry.js +0 -5
  523. package/dist/calcite/p-b42d730f.entry.js +0 -5
  524. package/dist/calcite/p-b4960d06.system.js +0 -5
  525. package/dist/calcite/p-bbe2337b.system.entry.js +0 -5
  526. package/dist/calcite/p-bbedf98c.entry.js +0 -5
  527. package/dist/calcite/p-be52c734.entry.js +0 -5
  528. package/dist/calcite/p-cb7b6425.entry.js +0 -5
  529. package/dist/calcite/p-d35e423d.js +0 -5
  530. package/dist/calcite/p-df9b4b76.entry.js +0 -5
  531. package/dist/calcite/p-e24b6c4a.system.entry.js +0 -5
  532. package/dist/calcite/p-e382c4e9.entry.js +0 -5
  533. package/dist/calcite/p-e40dd6fe.system.entry.js +0 -5
  534. package/dist/calcite/p-e5805bf1.entry.js +0 -5
  535. package/dist/calcite/p-eccb140e.entry.js +0 -5
  536. package/dist/calcite/p-f5bb39bb.js +0 -5
  537. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  538. package/dist/cjs/form-00fb301c.js +0 -22
  539. package/dist/esm/form-cee9f632.js +0 -20
  540. package/dist/esm-es5/form-cee9f632.js +0 -5
  541. package/dist/esm-es5/index-66803519.js +0 -5
  542. package/dist/esm-es5/label-bb61bdef.js +0 -5
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-66803519.js';
5
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
6
6
  import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getThemeName } from './dom-f24e866c.js';
7
7
  import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, h as hexToRGB, b as hexChar } from './utils-6beb0662.js';
8
8
  import { g as getKey } from './key-69001a68.js';
@@ -2406,9 +2406,9 @@ let CalciteColorPicker = class {
2406
2406
  * @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-color-picker/interfaces.ts#L10)
2407
2407
  */
2408
2408
  this.value = defaultValue;
2409
- this.colorUpdateLocked = false;
2410
2409
  this.colorFieldAndSliderHovered = false;
2411
2410
  this.hueThumbState = "idle";
2411
+ this.internalColorUpdateContext = null;
2412
2412
  this.mode = CSSColorMode.HEX;
2413
2413
  this.shiftKeyChannelAdjustment = 0;
2414
2414
  this.sliderThumbState = "idle";
@@ -2717,7 +2717,7 @@ let CalciteColorPicker = class {
2717
2717
  this.drawColorFieldAndSlider();
2718
2718
  this.updateChannelsFromColor(color);
2719
2719
  this.previousColor = oldColor;
2720
- if (this.colorUpdateLocked) {
2720
+ if (this.internalColorUpdateContext) {
2721
2721
  return;
2722
2722
  }
2723
2723
  this.value = this.toValue(color);
@@ -2744,7 +2744,10 @@ let CalciteColorPicker = class {
2744
2744
  this.setMode(nextMode);
2745
2745
  }
2746
2746
  const dragging = this.sliderThumbState === "drag" || this.hueThumbState === "drag";
2747
- if (this.colorUpdateLocked) {
2747
+ if (this.internalColorUpdateContext) {
2748
+ if (this.internalColorUpdateContext === "initial") {
2749
+ return;
2750
+ }
2748
2751
  this.calciteColorPickerInput.emit();
2749
2752
  if (!dragging) {
2750
2753
  this.calciteColorPickerChange.emit();
@@ -2815,15 +2818,15 @@ let CalciteColorPicker = class {
2815
2818
  }
2816
2819
  connectedCallback() {
2817
2820
  const { allowEmpty, color: color$1, format, value } = this;
2818
- const valueIsNoColor = allowEmpty && !value;
2821
+ const willSetNoColor = allowEmpty && !value;
2819
2822
  const parsedMode = parseMode(value);
2820
- const valueIsCompatible = (format === "auto" && parsedMode) || format === parsedMode;
2821
- const initialColor = valueIsNoColor ? null : valueIsCompatible ? color(value) : color$1;
2823
+ const valueIsCompatible = willSetNoColor || (format === "auto" && parsedMode) || format === parsedMode;
2824
+ const initialColor = willSetNoColor ? null : valueIsCompatible ? color(value) : color$1;
2822
2825
  if (!valueIsCompatible) {
2823
2826
  this.showIncompatibleColorWarning(value, format);
2824
2827
  }
2825
2828
  this.setMode(format);
2826
- this.internalColorSet(initialColor, false);
2829
+ this.internalColorSet(initialColor, false, "initial");
2827
2830
  this.updateDimensions(this.scale);
2828
2831
  }
2829
2832
  disconnectedCallback() {
@@ -2888,14 +2891,14 @@ let CalciteColorPicker = class {
2888
2891
  }
2889
2892
  return "none";
2890
2893
  }
2891
- internalColorSet(color, skipEqual = true) {
2894
+ internalColorSet(color, skipEqual = true, context = "internal") {
2892
2895
  if (skipEqual && colorEqual(color, this.color)) {
2893
2896
  return;
2894
2897
  }
2895
- this.colorUpdateLocked = true;
2898
+ this.internalColorUpdateContext = context;
2896
2899
  this.color = color;
2897
2900
  this.value = this.toValue(color);
2898
- this.colorUpdateLocked = false;
2901
+ this.internalColorUpdateContext = null;
2899
2902
  }
2900
2903
  toValue(color, format = this.mode) {
2901
2904
  if (!color) {
@@ -3079,8 +3082,8 @@ let CalciteColorPickerHexInput = class {
3079
3082
  * The hex value.
3080
3083
  */
3081
3084
  this.value = normalizeHex(DEFAULT_COLOR.hex());
3082
- this.onCalciteInputBlur = (event) => {
3083
- const node = event.currentTarget;
3085
+ this.onCalciteInputBlur = () => {
3086
+ const node = this.inputNode;
3084
3087
  const inputValue = node.value;
3085
3088
  const hex = `#${inputValue}`;
3086
3089
  const willClearValue = this.allowEmpty && !inputValue;
@@ -3093,9 +3096,8 @@ let CalciteColorPickerHexInput = class {
3093
3096
  ? ""
3094
3097
  : this.formatForInternalInput(rgbToHex(this.internalColor.object()));
3095
3098
  };
3096
- this.onInputChange = (event) => {
3097
- const node = event.currentTarget;
3098
- const inputValue = node.value;
3099
+ this.onInputChange = () => {
3100
+ const inputValue = this.inputNode.value;
3099
3101
  let value;
3100
3102
  if (inputValue) {
3101
3103
  const hex = inputValue;
@@ -3171,8 +3173,12 @@ let CalciteColorPickerHexInput = class {
3171
3173
  // using @Listen as a workaround for VDOM listener not firing
3172
3174
  onInputKeyDown(event) {
3173
3175
  const { altKey, ctrlKey, metaKey, shiftKey } = event;
3174
- const { el, inputNode, internalColor, value } = this;
3176
+ const { internalColor, value } = this;
3175
3177
  const key = getKey(event.key);
3178
+ if (key === "Tab" || key === "Enter") {
3179
+ this.onInputChange();
3180
+ return;
3181
+ }
3176
3182
  const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
3177
3183
  if (isNudgeKey) {
3178
3184
  if (!value) {
@@ -3187,16 +3193,9 @@ let CalciteColorPickerHexInput = class {
3187
3193
  return;
3188
3194
  }
3189
3195
  const withModifiers = altKey || ctrlKey || metaKey;
3190
- const exceededHexLength = inputNode.value.length >= 6;
3191
- const focusedElement = el.shadowRoot.activeElement;
3192
- const hasTextSelection =
3193
- // can't use window.getSelection() because of FF bug: https://bugzilla.mozilla.org/show_bug.cgi?id=85686
3194
- focusedElement.selectionStart != focusedElement.selectionEnd;
3195
3196
  const singleChar = key.length === 1;
3196
3197
  const validHexChar = hexChar.test(key);
3197
- if (singleChar &&
3198
- !withModifiers &&
3199
- (!validHexChar || (!hasTextSelection && exceededHexLength))) {
3198
+ if (singleChar && !withModifiers && !validHexChar) {
3200
3199
  event.preventDefault();
3201
3200
  }
3202
3201
  }
@@ -3209,7 +3208,7 @@ let CalciteColorPickerHexInput = class {
3209
3208
  const { el, intlHex, value } = this;
3210
3209
  const hexInputValue = this.formatForInternalInput(value);
3211
3210
  const elementDir = getElementDir(el);
3212
- return (h("div", { class: CSS$1.container }, 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 ? (h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
3211
+ return (h("div", { class: CSS$1.container }, 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 ? (h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
3213
3212
  }
3214
3213
  //--------------------------------------------------------------------------
3215
3214
  //
@@ -2,14 +2,15 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-66803519.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { a as isSymbol, S as Symbol, d as debounce } from './debounce-79648d42.js';
7
7
  import { i as isArray, f as forIn } from './forIn-48d8fb84.js';
8
8
  import { n as nodeListToArray, a as getElementDir, d as getElementProp, C as CSS_UTILITY } from './dom-f24e866c.js';
9
9
  import { g as getKey } from './key-69001a68.js';
10
10
  import { u as updatePopper, c as createPopper, C as CSS$2 } from './popper-dc4b45cf.js';
11
11
  import { g as guid } from './guid-196bd5ea.js';
12
- import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-bb61bdef.js';
12
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-5559055d.js';
13
+ import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-160b0fb5.js';
13
14
  import { c as createObserver } from './observers-8f0bc419.js';
14
15
 
15
16
  /**
@@ -178,7 +179,7 @@ function getDepth(element) {
178
179
  return result.snapshotLength;
179
180
  }
180
181
 
181
- 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}";
182
+ 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}";
182
183
 
183
184
  const isGroup = (el) => el.tagName === ComboboxItemGroup;
184
185
  let CalciteCombobox = class {
@@ -203,6 +204,12 @@ let CalciteCombobox = class {
203
204
  this.maxItems = 0;
204
205
  /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
205
206
  this.overlayPositioning = "absolute";
207
+ /**
208
+ * When true, makes the component required for form-submission.
209
+ *
210
+ * @internal
211
+ */
212
+ this.required = false;
206
213
  /** specify the selection mode
207
214
  * - multi: allow any number of selected items (default)
208
215
  * - single: only one selection)
@@ -211,6 +218,14 @@ let CalciteCombobox = class {
211
218
  this.selectionMode = "multi";
212
219
  /** Specify the scale of the combobox, defaults to m */
213
220
  this.scale = "m";
221
+ /** The value(s) of the selectedItem(s) */
222
+ this.value = null;
223
+ //--------------------------------------------------------------------------
224
+ //
225
+ // Private State/Props
226
+ //
227
+ //--------------------------------------------------------------------------
228
+ this.internalValueChangeFlag = false;
214
229
  this.items = [];
215
230
  this.groupItems = [];
216
231
  this.selectedItems = [];
@@ -229,6 +244,18 @@ let CalciteCombobox = class {
229
244
  this.inputHeight = 0;
230
245
  this.ignoreSelectedEventsFlag = false;
231
246
  this.activeTransitionProp = "opacity";
247
+ // --------------------------------------------------------------------------
248
+ //
249
+ // Private Methods
250
+ //
251
+ // --------------------------------------------------------------------------
252
+ this.getValue = () => {
253
+ const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());
254
+ return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
255
+ };
256
+ this.onLabelClick = () => {
257
+ this.setFocus();
258
+ };
232
259
  this.keydownHandler = (event) => {
233
260
  const key = getKey(event.key, getElementDir(this.el));
234
261
  switch (key) {
@@ -323,7 +350,10 @@ let CalciteCombobox = class {
323
350
  }
324
351
  this.calciteComboboxChipDismiss.emit(event.detail);
325
352
  };
326
- this.setFocusClick = () => {
353
+ this.setFocusClick = (event) => {
354
+ if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
355
+ return;
356
+ }
327
357
  this.setFocus();
328
358
  };
329
359
  this.setInactiveIfNotContained = (event) => {
@@ -411,8 +441,9 @@ let CalciteCombobox = class {
411
441
  }
412
442
  };
413
443
  this.comboboxFocusHandler = () => {
444
+ var _a;
414
445
  this.active = true;
415
- this.textInput.focus();
446
+ (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
416
447
  };
417
448
  this.comboboxBlurHandler = (event) => {
418
449
  this.setInactiveIfNotContained(event);
@@ -439,6 +470,21 @@ let CalciteCombobox = class {
439
470
  maxItemsHandler() {
440
471
  this.setMaxScrollerHeight();
441
472
  }
473
+ valueHandler(value) {
474
+ if (!this.internalValueChangeFlag) {
475
+ const items = this.getItems();
476
+ if (Array.isArray(value)) {
477
+ items.forEach((item) => (item.selected = value.includes(item.value)));
478
+ }
479
+ else if (value) {
480
+ items.forEach((item) => (item.selected = value === item.value));
481
+ }
482
+ else {
483
+ items.forEach((item) => (item.selected = false));
484
+ }
485
+ this.updateItems();
486
+ }
487
+ }
442
488
  //--------------------------------------------------------------------------
443
489
  //
444
490
  // Event Listeners
@@ -487,13 +533,20 @@ let CalciteCombobox = class {
487
533
  // --------------------------------------------------------------------------
488
534
  connectedCallback() {
489
535
  var _a;
536
+ this.internalValueChangeFlag = true;
537
+ this.value = this.getValue();
538
+ this.internalValueChangeFlag = false;
490
539
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
491
540
  this.createPopper();
492
541
  connectLabel(this);
542
+ connectForm(this);
493
543
  }
494
544
  componentWillLoad() {
495
545
  this.updateItems();
496
546
  }
547
+ componentDidLoad() {
548
+ afterConnectDefaultValueSet(this, this.getValue());
549
+ }
497
550
  componentDidRender() {
498
551
  if (this.el.offsetHeight !== this.inputHeight) {
499
552
  this.reposition();
@@ -505,19 +558,17 @@ let CalciteCombobox = class {
505
558
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
506
559
  this.destroyPopper();
507
560
  disconnectLabel(this);
561
+ disconnectForm(this);
562
+ }
563
+ selectedItemsHandler() {
564
+ this.internalValueChangeFlag = true;
565
+ this.value = this.getValue();
566
+ this.internalValueChangeFlag = false;
508
567
  }
509
568
  /** when search text is cleared, reset active to */
510
569
  textHandler() {
511
570
  this.updateActiveItemIndex(-1);
512
571
  }
513
- // --------------------------------------------------------------------------
514
- //
515
- // Private Methods
516
- //
517
- // --------------------------------------------------------------------------
518
- onLabelClick() {
519
- this.setFocus();
520
- }
521
572
  getModifiers() {
522
573
  const flipModifier = {
523
574
  name: "flip",
@@ -565,9 +616,11 @@ let CalciteCombobox = class {
565
616
  calculateSingleItemHeight(item) {
566
617
  let height = item.offsetHeight;
567
618
  // if item has children items, don't count their height twice
568
- const children = item.querySelectorAll(ComboboxChildSelector);
569
- children.forEach((child) => {
570
- height -= child.offsetHeight;
619
+ const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
620
+ children
621
+ .map((child) => child === null || child === void 0 ? void 0 : child.offsetHeight)
622
+ .forEach((offsetHeight) => {
623
+ height -= offsetHeight;
571
624
  });
572
625
  return height;
573
626
  }
@@ -585,16 +638,17 @@ let CalciteCombobox = class {
585
638
  this.emitCalciteLookupChange();
586
639
  this.emitComboboxChange();
587
640
  this.resetText();
588
- this.textInput.focus();
589
641
  this.filterItems("");
590
642
  }
591
643
  else {
592
644
  this.ignoreSelectedEventsFlag = true;
593
- this.items.forEach((el) => (el.selected = el === item));
645
+ this.items.forEach((el) => (el.selected = el === item ? value : false));
594
646
  this.ignoreSelectedEventsFlag = false;
595
647
  this.selectedItems = this.getSelectedItems();
596
648
  this.emitComboboxChange();
597
- this.textInput.value = item.textLabel;
649
+ if (this.textInput) {
650
+ this.textInput.value = item.textLabel;
651
+ }
598
652
  this.active = false;
599
653
  this.updateActiveItemIndex(-1);
600
654
  this.resetText();
@@ -651,7 +705,9 @@ let CalciteCombobox = class {
651
705
  return this.selectionMode === "single" && this.items.some((item) => item.icon);
652
706
  }
653
707
  resetText() {
654
- this.textInput.value = "";
708
+ if (this.textInput) {
709
+ this.textInput.value = "";
710
+ }
655
711
  this.text = "";
656
712
  }
657
713
  getItems() {
@@ -739,6 +795,7 @@ let CalciteCombobox = class {
739
795
  }
740
796
  }
741
797
  updateActiveItemIndex(index) {
798
+ var _a;
742
799
  this.activeItemIndex = index;
743
800
  let activeDescendant = null;
744
801
  this.visibleItems.forEach((el, i) => {
@@ -753,7 +810,7 @@ let CalciteCombobox = class {
753
810
  this.activeDescendant = activeDescendant;
754
811
  if (this.activeItemIndex > -1) {
755
812
  this.activeChipIndex = -1;
756
- this.textInput.focus();
813
+ (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
757
814
  }
758
815
  }
759
816
  isMulti() {
@@ -830,12 +887,14 @@ let CalciteCombobox = class {
830
887
  wrapper: true,
831
888
  "wrapper--single": single || !this.selectedItems.length,
832
889
  "wrapper--active": open
833
- }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${guid}-input`, id: labelId }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": labelId, "aria-multiselectable": "true", class: "screen-readers-only", id: guid, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer()));
890
+ }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${guid}-input`, id: labelId }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": labelId, "aria-multiselectable": "true", class: "screen-readers-only", id: guid, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
834
891
  }
835
892
  get el() { return getElement(this); }
836
893
  static get watchers() { return {
837
894
  "active": ["activeHandler"],
838
895
  "maxItems": ["maxItemsHandler"],
896
+ "value": ["valueHandler"],
897
+ "selectedItems": ["selectedItemsHandler"],
839
898
  "text": ["textHandler"]
840
899
  }; }
841
900
  };
@@ -2,11 +2,11 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-66803519.js';
6
- import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-c59a1a15.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-9de00868.js';
6
+ import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-bece7a88.js';
7
7
  import { a as getElementDir, C as CSS_UTILITY } from './dom-f24e866c.js';
8
8
  import { g as getKey } from './key-69001a68.js';
9
- import { C as CalciteHeading } from './CalciteHeading-dea3bd05.js';
9
+ import { C as CalciteHeading } from './CalciteHeading-1d6cd311.js';
10
10
  import './locale-6c1b85c7.js';
11
11
  import './number-e7393766.js';
12
12
  import './guid-196bd5ea.js';
@@ -149,7 +149,9 @@ let CalciteDatePicker = class {
149
149
  */
150
150
  this.reset = () => {
151
151
  var _a, _b, _c, _d, _e, _f;
152
- 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())) {
152
+ if (!Array.isArray(this.valueAsDate) &&
153
+ this.valueAsDate &&
154
+ ((_a = this.valueAsDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = this.activeDate) === null || _b === void 0 ? void 0 : _b.getTime())) {
153
155
  this.activeDate = new Date(this.valueAsDate);
154
156
  }
155
157
  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())) {
@@ -218,8 +220,10 @@ let CalciteDatePicker = class {
218
220
  };
219
221
  }
220
222
  handleValueAsDate(date) {
221
- this.activeDate = date;
222
- this.calciteDatePickerChange.emit(date);
223
+ if (!Array.isArray(date) && date && date !== this.activeDate) {
224
+ this.activeDate = date;
225
+ this.calciteDatePickerChange.emit(date);
226
+ }
223
227
  }
224
228
  handleRangeChange() {
225
229
  const { startAsDate: startDate, endAsDate: endDate } = this;
@@ -232,7 +236,12 @@ let CalciteDatePicker = class {
232
236
  //
233
237
  // --------------------------------------------------------------------------
234
238
  connectedCallback() {
235
- if (this.value) {
239
+ if (Array.isArray(this.value)) {
240
+ this.valueAsDate = this.value.map((v) => dateFromISO(v));
241
+ this.start = this.value[0];
242
+ this.end = this.value[1];
243
+ }
244
+ else if (this.value) {
236
245
  this.valueAsDate = dateFromISO(this.value);
237
246
  }
238
247
  if (this.start) {
@@ -283,8 +292,17 @@ let CalciteDatePicker = class {
283
292
  const dir = getElementDir(this.el);
284
293
  return (h(Host, { onBlur: this.reset, onKeyUp: this.keyUpHandler, role: "application" }, this.renderCalendar(activeDate, dir, maxDate, minDate, date, endDate)));
285
294
  }
286
- valueWatcher(value) {
287
- this.valueAsDate = dateFromISO(value);
295
+ valueHandler(value) {
296
+ if (Array.isArray(value)) {
297
+ this.valueAsDate = value.map((v) => dateFromISO(v));
298
+ this.start = value[0];
299
+ this.end = value[1];
300
+ }
301
+ else if (value) {
302
+ this.valueAsDate = dateFromISO(value);
303
+ this.start = "";
304
+ this.end = "";
305
+ }
288
306
  }
289
307
  startWatcher(start) {
290
308
  this.setStartAsDate(dateFromISO(start));
@@ -359,7 +377,7 @@ let CalciteDatePicker = class {
359
377
  "valueAsDate": ["handleValueAsDate"],
360
378
  "startAsDate": ["handleRangeChange"],
361
379
  "endAsDate": ["handleRangeChange"],
362
- "value": ["valueWatcher"],
380
+ "value": ["valueHandler"],
363
381
  "start": ["startWatcher"],
364
382
  "end": ["endWatcher"],
365
383
  "locale": ["loadLocaleData"]
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-66803519.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { g as getKey } from './key-69001a68.js';
7
7
  import { a as getElementDir, C as CSS_UTILITY, f as focusElement, d as getElementProp } from './dom-f24e866c.js';
8
8
  import { C as CSS$2, u as updatePopper, c as createPopper } from './popper-dc4b45cf.js';
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, h, g as getElement } from './index-66803519.js';
5
+ import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
6
6
  import { f as focusElement, a as getElementDir } from './dom-f24e866c.js';
7
7
  import './guid-196bd5ea.js';
8
8
 
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-66803519.js';
5
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-9de00868.js';
6
6
  import { f as focusElement, a as getElementDir, C as CSS_UTILITY } from './dom-f24e866c.js';
7
7
  import { d as debounce } from './debounce-79648d42.js';
8
8
  import { f as forIn } from './forIn-48d8fb84.js';
@@ -33,6 +33,12 @@ let CalciteFilter = class {
33
33
  * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
34
34
  */
35
35
  this.disabled = false;
36
+ /**
37
+ * The resulting items after filtering.
38
+ *
39
+ * @readonly
40
+ */
41
+ this.filteredItems = [];
36
42
  // --------------------------------------------------------------------------
37
43
  //
38
44
  // Private Methods
@@ -40,10 +46,8 @@ let CalciteFilter = class {
40
46
  // --------------------------------------------------------------------------
41
47
  this.filter = debounce((value) => {
42
48
  const regex = new RegExp(value, "i");
43
- if (this.data.length === 0) {
44
- console.warn(`No data was passed to calcite-filter.
45
- The data property expects an array of objects`);
46
- this.calciteFilterChange.emit([]);
49
+ if (this.items.length === 0) {
50
+ this.updateFiltered([]);
47
51
  return;
48
52
  }
49
53
  const find = (input, RE) => {
@@ -63,10 +67,10 @@ let CalciteFilter = class {
63
67
  });
64
68
  return found;
65
69
  };
66
- const result = this.data.filter((item) => {
70
+ const result = this.items.filter((item) => {
67
71
  return find(item, regex);
68
72
  });
69
- this.calciteFilterChange.emit(result);
73
+ this.updateFiltered(result);
70
74
  }, filterDebounceInMs);
71
75
  this.inputHandler = (event) => {
72
76
  const target = event.target;
@@ -79,13 +83,28 @@ let CalciteFilter = class {
79
83
  };
80
84
  this.clear = () => {
81
85
  this.value = "";
82
- this.calciteFilterChange.emit(this.data);
83
86
  this.setFocus();
84
87
  };
85
88
  }
89
+ watchDataHandler(value) {
90
+ this.items = value;
91
+ }
92
+ watchItemsHandler() {
93
+ this.filter(this.value);
94
+ }
86
95
  valueHandler(value) {
87
96
  this.filter(value);
88
97
  }
98
+ //--------------------------------------------------------------------------
99
+ //
100
+ // Lifecycle
101
+ //
102
+ //--------------------------------------------------------------------------
103
+ connectedCallback() {
104
+ if (this.data && !this.items) {
105
+ this.items = this.data;
106
+ }
107
+ }
89
108
  // --------------------------------------------------------------------------
90
109
  //
91
110
  // Public Methods
@@ -95,6 +114,11 @@ let CalciteFilter = class {
95
114
  async setFocus() {
96
115
  focusElement(this.textInput);
97
116
  }
117
+ updateFiltered(filtered) {
118
+ this.filteredItems.length = 0;
119
+ this.filteredItems = this.filteredItems.concat(filtered);
120
+ this.calciteFilterChange.emit(filtered);
121
+ }
98
122
  // --------------------------------------------------------------------------
99
123
  //
100
124
  // Render Methods
@@ -109,6 +133,8 @@ let CalciteFilter = class {
109
133
  }
110
134
  get el() { return getElement(this); }
111
135
  static get watchers() { return {
136
+ "data": ["watchDataHandler"],
137
+ "items": ["watchItemsHandler"],
112
138
  "value": ["valueHandler"]
113
139
  }; }
114
140
  };
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, h, g as getElement } from './index-66803519.js';
5
+ import { r as registerInstance, h, g as getElement } from './index-9de00868.js';
6
6
  import { c as createObserver } from './observers-8f0bc419.js';
7
7
 
8
8
  const CSS = {