@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
@@ -9,10 +9,20 @@ import { dateFromRange, inRange, dateFromISO, dateToISO, parseDateString, sameDa
9
9
  import { getKey } from "../../utils/key";
10
10
  import { TEXT } from "../calcite-date-picker/resources";
11
11
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
12
+ import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
12
13
  import { createPopper, updatePopper, CSS as PopperCSS } from "../../utils/popper";
13
14
  const DEFAULT_PLACEMENT = "bottom-leading";
14
15
  export class CalciteInputDatePicker {
15
16
  constructor() {
17
+ //--------------------------------------------------------------------------
18
+ //
19
+ // Public Properties
20
+ //
21
+ //--------------------------------------------------------------------------
22
+ /**
23
+ * When false, the component won't be interactive.
24
+ */
25
+ this.disabled = false;
16
26
  /** Expand or collapse when calendar does not have input */
17
27
  this.active = false;
18
28
  /** Localized string for "previous month" (used for aria label)
@@ -29,6 +39,12 @@ export class CalciteInputDatePicker {
29
39
  this.scale = "m";
30
40
  /** Range mode activation */
31
41
  this.range = false;
42
+ /**
43
+ * When true, makes the component required for form-submission.
44
+ *
45
+ * @internal
46
+ */
47
+ this.required = false;
32
48
  /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
33
49
  this.overlayPositioning = "absolute";
34
50
  /** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
@@ -103,6 +119,7 @@ export class CalciteInputDatePicker {
103
119
  const { startDate, endDate } = event.detail;
104
120
  this.start = dateToISO(startDate);
105
121
  this.end = dateToISO(endDate);
122
+ this.value = [this.start, this.end];
106
123
  if (this.shouldFocusRangeEnd()) {
107
124
  (_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
108
125
  }
@@ -111,6 +128,23 @@ export class CalciteInputDatePicker {
111
128
  }
112
129
  };
113
130
  }
131
+ valueHandler(value) {
132
+ if (Array.isArray(value)) {
133
+ this.valueAsDate = value.map((v) => dateFromISO(v));
134
+ this.start = value[0];
135
+ this.end = value[1];
136
+ }
137
+ else if (value) {
138
+ this.valueAsDate = dateFromISO(value);
139
+ this.start = "";
140
+ this.end = "";
141
+ }
142
+ else {
143
+ this.valueAsDate = undefined;
144
+ this.start = undefined;
145
+ this.end = undefined;
146
+ }
147
+ }
114
148
  activeHandler() {
115
149
  this.reposition();
116
150
  }
@@ -140,7 +174,7 @@ export class CalciteInputDatePicker {
140
174
  const { popper, menuEl } = this;
141
175
  const modifiers = this.getModifiers();
142
176
  popper
143
- ? updatePopper({
177
+ ? await updatePopper({
144
178
  el: menuEl,
145
179
  modifiers,
146
180
  placement: DEFAULT_PLACEMENT,
@@ -154,8 +188,15 @@ export class CalciteInputDatePicker {
154
188
  //
155
189
  // --------------------------------------------------------------------------
156
190
  connectedCallback() {
157
- if (this.value) {
191
+ if (Array.isArray(this.value)) {
192
+ this.valueAsDate = this.value.map((v) => dateFromISO(v));
193
+ this.start = this.value[0];
194
+ this.end = this.value[1];
195
+ }
196
+ else if (this.value) {
158
197
  this.valueAsDate = dateFromISO(this.value);
198
+ this.start = "";
199
+ this.end = "";
159
200
  }
160
201
  if (this.start) {
161
202
  this.startAsDate = dateFromISO(this.start);
@@ -171,6 +212,7 @@ export class CalciteInputDatePicker {
171
212
  }
172
213
  this.createPopper();
173
214
  connectLabel(this);
215
+ connectForm(this);
174
216
  }
175
217
  async componentWillLoad() {
176
218
  await this.loadLocaleData();
@@ -178,9 +220,11 @@ export class CalciteInputDatePicker {
178
220
  disconnectedCallback() {
179
221
  this.destroyPopper();
180
222
  disconnectLabel(this);
223
+ disconnectForm(this);
181
224
  }
182
225
  render() {
183
226
  var _a, _b;
227
+ const { disabled } = this;
184
228
  const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
185
229
  const endDate = this.range
186
230
  ? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
@@ -188,26 +232,28 @@ export class CalciteInputDatePicker {
188
232
  const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
189
233
  const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
190
234
  const dir = getElementDir(this.el);
191
- return (h(Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container", dir: dir, role: "application" },
192
- h("div", { class: "input-wrapper", ref: this.setStartWrapper },
193
- h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })),
194
- h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl },
195
- h("div", { class: {
196
- ["calendar-picker-wrapper"]: true,
197
- ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
198
- [PopperCSS.animation]: true,
199
- [PopperCSS.animationActive]: this.active
200
- }, onTransitionEnd: this.transitionEnd },
201
- h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))),
202
- this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" },
203
- h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))),
204
- this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" },
205
- h("calcite-icon", { icon: "arrow-down", scale: "s" }))),
206
- this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper },
207
- h("calcite-input", { class: {
208
- input: true,
209
- "border-t-color-1": this.layout === "vertical" && this.range
210
- }, icon: "calendar", "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.endInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate })))))));
235
+ return (h(Host, { onBlur: this.deactivate, onKeyUp: this.keyUpHandler, role: "application" },
236
+ this.localeData && (h("div", { "aria-expanded": this.active.toString(), class: "input-container", dir: dir, role: "application" },
237
+ h("div", { class: "input-wrapper", ref: this.setStartWrapper },
238
+ h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })),
239
+ h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl },
240
+ h("div", { class: {
241
+ ["calendar-picker-wrapper"]: true,
242
+ ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
243
+ [PopperCSS.animation]: true,
244
+ [PopperCSS.animationActive]: this.active
245
+ }, onTransitionEnd: this.transitionEnd },
246
+ h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, locale: this.locale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))),
247
+ this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" },
248
+ h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))),
249
+ this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" },
250
+ h("calcite-icon", { icon: "arrow-down", scale: "s" }))),
251
+ this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper },
252
+ h("calcite-input", { class: {
253
+ input: true,
254
+ "border-t-color-1": this.layout === "vertical" && this.range
255
+ }, disabled: disabled, icon: "calendar", "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.endInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))),
256
+ h(HiddenFormInputSlot, { component: this })));
211
257
  }
212
258
  setReferenceEl() {
213
259
  const { focusedInput, layout, endWrapper, startWrapper } = this;
@@ -257,9 +303,6 @@ export class CalciteInputDatePicker {
257
303
  }
258
304
  this.popper = null;
259
305
  }
260
- valueWatcher(value) {
261
- this.valueAsDate = dateFromISO(value);
262
- }
263
306
  startWatcher(start) {
264
307
  this.startAsDate = dateFromISO(start);
265
308
  }
@@ -275,14 +318,16 @@ export class CalciteInputDatePicker {
275
318
  }
276
319
  clearCurrentValue() {
277
320
  if (!this.range) {
278
- this.value = undefined;
321
+ this.value = "";
279
322
  return;
280
323
  }
281
324
  const { focusedInput } = this;
282
325
  if (focusedInput === "start") {
326
+ this.value = Array.isArray(this.value) ? ["", this.value[1] || ""] : [""];
283
327
  this.start = undefined;
284
328
  }
285
329
  else if (focusedInput === "end") {
330
+ this.value = Array.isArray(this.value) ? [this.value[0] || "", ""] : ["", ""];
286
331
  this.end = undefined;
287
332
  }
288
333
  }
@@ -302,7 +347,11 @@ export class CalciteInputDatePicker {
302
347
  const { focusedInput } = this;
303
348
  if (focusedInput === "start") {
304
349
  if (!this.startAsDate || !sameDate(date, this.startAsDate)) {
305
- this.start = dateToISO(date);
350
+ const startDateISO = dateToISO(date);
351
+ this.value = Array.isArray(this.value)
352
+ ? [startDateISO, this.value[1] || ""]
353
+ : [startDateISO];
354
+ this.start = startDateISO;
306
355
  this.calciteDatePickerRangeChange.emit({
307
356
  startDate: date,
308
357
  endDate: this.endAsDate
@@ -311,7 +360,11 @@ export class CalciteInputDatePicker {
311
360
  }
312
361
  else if (focusedInput === "end") {
313
362
  if (!this.endAsDate || !sameDate(date, this.endAsDate)) {
314
- this.end = dateToISO(date);
363
+ const endDateISO = dateToISO(date);
364
+ this.value = Array.isArray(this.value)
365
+ ? [this.value[0] || "", endDateISO]
366
+ : ["", endDateISO];
367
+ this.end = endDateISO;
315
368
  this.calciteDatePickerRangeChange.emit({
316
369
  startDate: this.startAsDate,
317
370
  endDate: date
@@ -327,7 +380,9 @@ export class CalciteInputDatePicker {
327
380
  const date = this.getDateFromInput(target.value);
328
381
  if (!date) {
329
382
  if (!range && valueAsDate) {
330
- target.value = valueAsDate.toLocaleDateString(locale);
383
+ target.value = Array.isArray(valueAsDate)
384
+ ? valueAsDate[focusedInput === "end" ? 1 : 0].toLocaleDateString(locale)
385
+ : valueAsDate.toLocaleDateString(locale);
331
386
  }
332
387
  else if (focusedInput === "start" && startAsDate) {
333
388
  target.value = startAsDate.toLocaleDateString(locale);
@@ -385,16 +440,34 @@ export class CalciteInputDatePicker {
385
440
  "$": ["calcite-input-date-picker.css"]
386
441
  }; }
387
442
  static get properties() { return {
443
+ "disabled": {
444
+ "type": "boolean",
445
+ "mutable": false,
446
+ "complexType": {
447
+ "original": "boolean",
448
+ "resolved": "boolean",
449
+ "references": {}
450
+ },
451
+ "required": false,
452
+ "optional": false,
453
+ "docs": {
454
+ "tags": [],
455
+ "text": "When false, the component won't be interactive."
456
+ },
457
+ "attribute": "disabled",
458
+ "reflect": true,
459
+ "defaultValue": "false"
460
+ },
388
461
  "value": {
389
462
  "type": "string",
390
463
  "mutable": true,
391
464
  "complexType": {
392
- "original": "string",
393
- "resolved": "string",
465
+ "original": "string | string[]",
466
+ "resolved": "string | string[]",
394
467
  "references": {}
395
468
  },
396
469
  "required": false,
397
- "optional": true,
470
+ "optional": false,
398
471
  "docs": {
399
472
  "tags": [],
400
473
  "text": "Selected date"
@@ -428,8 +501,8 @@ export class CalciteInputDatePicker {
428
501
  "type": "unknown",
429
502
  "mutable": true,
430
503
  "complexType": {
431
- "original": "Date",
432
- "resolved": "Date",
504
+ "original": "Date | Date[]",
505
+ "resolved": "Date | Date[]",
433
506
  "references": {
434
507
  "Date": {
435
508
  "location": "global"
@@ -458,7 +531,10 @@ export class CalciteInputDatePicker {
458
531
  "required": false,
459
532
  "optional": true,
460
533
  "docs": {
461
- "tags": [],
534
+ "tags": [{
535
+ "name": "deprecated",
536
+ "text": "use valueAsDate instead"
537
+ }],
462
538
  "text": "Selected start date as full date object"
463
539
  }
464
540
  },
@@ -477,7 +553,10 @@ export class CalciteInputDatePicker {
477
553
  "required": false,
478
554
  "optional": true,
479
555
  "docs": {
480
- "tags": [],
556
+ "tags": [{
557
+ "name": "deprecated",
558
+ "text": "use valueAsDate instead"
559
+ }],
481
560
  "text": "Selected end date as full date object"
482
561
  }
483
562
  },
@@ -571,6 +650,23 @@ export class CalciteInputDatePicker {
571
650
  "reflect": true,
572
651
  "defaultValue": "false"
573
652
  },
653
+ "name": {
654
+ "type": "string",
655
+ "mutable": false,
656
+ "complexType": {
657
+ "original": "string",
658
+ "resolved": "string",
659
+ "references": {}
660
+ },
661
+ "required": false,
662
+ "optional": false,
663
+ "docs": {
664
+ "tags": [],
665
+ "text": "The picker's name. Gets submitted with the form."
666
+ },
667
+ "attribute": "name",
668
+ "reflect": false
669
+ },
574
670
  "intlPrevMonth": {
575
671
  "type": "string",
576
672
  "mutable": false,
@@ -583,8 +679,8 @@ export class CalciteInputDatePicker {
583
679
  "optional": true,
584
680
  "docs": {
585
681
  "tags": [{
586
- "text": "\"Previous month\"",
587
- "name": "default"
682
+ "name": "default",
683
+ "text": "\"Previous month\""
588
684
  }],
589
685
  "text": "Localized string for \"previous month\" (used for aria label)"
590
686
  },
@@ -604,8 +700,8 @@ export class CalciteInputDatePicker {
604
700
  "optional": true,
605
701
  "docs": {
606
702
  "tags": [{
607
- "text": "\"Next month\"",
608
- "name": "default"
703
+ "name": "default",
704
+ "text": "\"Next month\""
609
705
  }],
610
706
  "text": "Localized string for \"next month\" (used for aria label)"
611
707
  },
@@ -667,6 +763,27 @@ export class CalciteInputDatePicker {
667
763
  "reflect": true,
668
764
  "defaultValue": "false"
669
765
  },
766
+ "required": {
767
+ "type": "boolean",
768
+ "mutable": false,
769
+ "complexType": {
770
+ "original": "boolean",
771
+ "resolved": "boolean",
772
+ "references": {}
773
+ },
774
+ "required": false,
775
+ "optional": false,
776
+ "docs": {
777
+ "tags": [{
778
+ "name": "internal",
779
+ "text": undefined
780
+ }],
781
+ "text": "When true, makes the component required for form-submission."
782
+ },
783
+ "attribute": "required",
784
+ "reflect": true,
785
+ "defaultValue": "false"
786
+ },
670
787
  "start": {
671
788
  "type": "string",
672
789
  "mutable": true,
@@ -678,7 +795,10 @@ export class CalciteInputDatePicker {
678
795
  "required": false,
679
796
  "optional": true,
680
797
  "docs": {
681
- "tags": [],
798
+ "tags": [{
799
+ "name": "deprecated",
800
+ "text": "use value instead"
801
+ }],
682
802
  "text": "Selected start date"
683
803
  },
684
804
  "attribute": "start",
@@ -695,7 +815,10 @@ export class CalciteInputDatePicker {
695
815
  "required": false,
696
816
  "optional": true,
697
817
  "docs": {
698
- "tags": [],
818
+ "tags": [{
819
+ "name": "deprecated",
820
+ "text": "use value instead"
821
+ }],
699
822
  "text": "Selected end date"
700
823
  },
701
824
  "attribute": "end",
@@ -792,8 +915,8 @@ export class CalciteInputDatePicker {
792
915
  "composed": true,
793
916
  "docs": {
794
917
  "tags": [{
795
- "text": " [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)",
796
- "name": "see"
918
+ "name": "see",
919
+ "text": " [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)"
797
920
  }],
798
921
  "text": "Trigger calcite date change when a user changes the date range."
799
922
  },
@@ -815,8 +938,8 @@ export class CalciteInputDatePicker {
815
938
  "composed": true,
816
939
  "docs": {
817
940
  "tags": [{
818
- "text": undefined,
819
- "name": "internal"
941
+ "name": "internal",
942
+ "text": undefined
820
943
  }],
821
944
  "text": ""
822
945
  },
@@ -833,8 +956,8 @@ export class CalciteInputDatePicker {
833
956
  "composed": true,
834
957
  "docs": {
835
958
  "tags": [{
836
- "text": undefined,
837
- "name": "internal"
959
+ "name": "internal",
960
+ "text": undefined
838
961
  }],
839
962
  "text": ""
840
963
  },
@@ -880,6 +1003,9 @@ export class CalciteInputDatePicker {
880
1003
  }; }
881
1004
  static get elementRef() { return "el"; }
882
1005
  static get watchers() { return [{
1006
+ "propName": "value",
1007
+ "methodName": "valueHandler"
1008
+ }, {
883
1009
  "propName": "active",
884
1010
  "methodName": "activeHandler"
885
1011
  }, {
@@ -888,9 +1014,6 @@ export class CalciteInputDatePicker {
888
1014
  }, {
889
1015
  "propName": "focusedInput",
890
1016
  "methodName": "setReferenceEl"
891
- }, {
892
- "propName": "value",
893
- "methodName": "valueWatcher"
894
1017
  }, {
895
1018
  "propName": "start",
896
1019
  "methodName": "startWatcher"
@@ -155,8 +155,8 @@ export class CalciteInputMessage {
155
155
  "optional": false,
156
156
  "docs": {
157
157
  "tags": [{
158
- "text": "\"floating\" type is no longer supported",
159
- "name": "deprecated"
158
+ "name": "deprecated",
159
+ "text": "\"floating\" type is no longer supported"
160
160
  }],
161
161
  "text": "specify the appearance of any slotted message - default (displayed under input), or floating (positioned absolutely under input)"
162
162
  },
@@ -88,4 +88,19 @@
88
88
  display: inline-block;
89
89
  -webkit-user-select: none;
90
90
  user-select: none;
91
+ }
92
+
93
+ ::slotted(input[slot=hidden-form-input]) {
94
+ bottom: 0 !important;
95
+ left: 0 !important;
96
+ margin: 0 !important;
97
+ opacity: 0 !important;
98
+ outline: none !important;
99
+ padding: 0 !important;
100
+ position: absolute !important;
101
+ right: 0 !important;
102
+ top: 0 !important;
103
+ transform: none !important;
104
+ -webkit-appearance: none !important;
105
+ z-index: -1 !important;
91
106
  }
@@ -7,6 +7,7 @@ import { guid } from "../../utils/guid";
7
7
  import { getKey } from "../../utils/key";
8
8
  import { parseTimeString, formatTimeString, getMeridiem, getMeridiemHour } from "../../utils/time";
9
9
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
10
+ import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
10
11
  export class CalciteInputTimePicker {
11
12
  constructor() {
12
13
  //--------------------------------------------------------------------------
@@ -20,6 +21,12 @@ export class CalciteInputTimePicker {
20
21
  this.disabled = false;
21
22
  /** Format of the hour value (12-hour or 24-hour) (this will be replaced by locale eventually) */
22
23
  this.hourDisplayFormat = "12";
24
+ /**
25
+ * When true, makes the component required for form-submission.
26
+ *
27
+ * @internal
28
+ */
29
+ this.required = false;
23
30
  /** The scale (size) of the time input */
24
31
  this.scale = "m";
25
32
  /** number that specifies the granularity that the value must adhere to */
@@ -165,6 +172,7 @@ export class CalciteInputTimePicker {
165
172
  this.setValue({ value: this.value, origin: "loading" });
166
173
  }
167
174
  connectLabel(this);
175
+ connectForm(this);
168
176
  }
169
177
  componentDidLoad() {
170
178
  if (this.calciteInputEl.value !== this.value) {
@@ -173,6 +181,7 @@ export class CalciteInputTimePicker {
173
181
  }
174
182
  disconnectedCallback() {
175
183
  disconnectLabel(this);
184
+ disconnectForm(this);
176
185
  }
177
186
  // --------------------------------------------------------------------------
178
187
  //
@@ -184,9 +193,10 @@ export class CalciteInputTimePicker {
184
193
  const popoverId = `${this.referenceElementId}-popover`;
185
194
  return (h(Host, null,
186
195
  h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" },
187
- h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), name: this.name, onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })),
196
+ h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })),
188
197
  h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active || false, referenceElement: this.referenceElementId },
189
- h("calcite-time-picker", { hour: hour, "hour-display-format": this.hourDisplayFormat, intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, minute: minute, scale: this.scale, second: second, step: this.step }))));
198
+ h("calcite-time-picker", { hour: hour, "hour-display-format": this.hourDisplayFormat, intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, minute: minute, scale: this.scale, second: second, step: this.step })),
199
+ h(HiddenFormInputSlot, { component: this })));
190
200
  }
191
201
  static get is() { return "calcite-input-time-picker"; }
192
202
  static get encapsulation() { return "shadow"; }
@@ -469,7 +479,7 @@ export class CalciteInputTimePicker {
469
479
  "references": {}
470
480
  },
471
481
  "required": false,
472
- "optional": true,
482
+ "optional": false,
473
483
  "docs": {
474
484
  "tags": [],
475
485
  "text": "The name of the time input"
@@ -477,6 +487,27 @@ export class CalciteInputTimePicker {
477
487
  "attribute": "name",
478
488
  "reflect": false
479
489
  },
490
+ "required": {
491
+ "type": "boolean",
492
+ "mutable": false,
493
+ "complexType": {
494
+ "original": "boolean",
495
+ "resolved": "boolean",
496
+ "references": {}
497
+ },
498
+ "required": false,
499
+ "optional": false,
500
+ "docs": {
501
+ "tags": [{
502
+ "name": "internal",
503
+ "text": undefined
504
+ }],
505
+ "text": "When true, makes the component required for form-submission."
506
+ },
507
+ "attribute": "required",
508
+ "reflect": true,
509
+ "defaultValue": "false"
510
+ },
480
511
  "scale": {
481
512
  "type": "string",
482
513
  "mutable": false,
@@ -208,8 +208,8 @@ export class CalciteLabel {
208
208
  "composed": true,
209
209
  "docs": {
210
210
  "tags": [{
211
- "text": undefined,
212
- "name": "internal"
211
+ "name": "internal",
212
+ "text": undefined
213
213
  }],
214
214
  "text": ""
215
215
  },
@@ -158,10 +158,8 @@
158
158
  text-align: center;
159
159
  font-size: var(--calcite-loader-font-size);
160
160
  width: var(--calcite-loader-size);
161
- top: 4rem;
162
161
  left: 50%;
163
162
  margin-left: calc(var(--calcite-loader-size) / 2 * -1);
164
- margin-top: calc(var(--calcite-loader-size) / 2);
165
163
  line-height: 0.25;
166
164
  transform: scale(1, 1);
167
165
  }
@@ -172,7 +170,6 @@
172
170
  opacity: 1;
173
171
  width: var(--calcite-loader-size);
174
172
  height: var(--calcite-loader-size);
175
- top: 4rem;
176
173
  left: 50%;
177
174
  margin-left: calc(var(--calcite-loader-size) / 2 * -1);
178
175
  transform: scale(1, 1);
@@ -540,7 +540,7 @@ export class CalciteModal {
540
540
  "composed": true,
541
541
  "docs": {
542
542
  "tags": [],
543
- "text": "Fired when the modal begins the open animation"
543
+ "text": "Fired when the modal finishes the open animation"
544
544
  },
545
545
  "complexType": {
546
546
  "original": "any",
@@ -555,7 +555,7 @@ export class CalciteModal {
555
555
  "composed": true,
556
556
  "docs": {
557
557
  "tags": [],
558
- "text": "Fired when the modal begins the close animation"
558
+ "text": "Fired when the modal finishes the close animation"
559
559
  },
560
560
  "complexType": {
561
561
  "original": "any",
@@ -194,8 +194,8 @@ export class CalciteNotice {
194
194
  "optional": false,
195
195
  "docs": {
196
196
  "tags": [{
197
- "text": "\"Close\"",
198
- "name": "default"
197
+ "name": "default",
198
+ "text": "\"Close\""
199
199
  }],
200
200
  "text": "String for the close button."
201
201
  },
@@ -154,8 +154,8 @@ export class CalciteOption {
154
154
  "composed": true,
155
155
  "docs": {
156
156
  "tags": [{
157
- "text": undefined,
158
- "name": "internal"
157
+ "name": "internal",
158
+ "text": undefined
159
159
  }],
160
160
  "text": ""
161
161
  },
@@ -84,8 +84,8 @@ export class CalciteOptionGroup {
84
84
  "composed": true,
85
85
  "docs": {
86
86
  "tags": [{
87
- "text": undefined,
88
- "name": "internal"
87
+ "name": "internal",
88
+ "text": undefined
89
89
  }],
90
90
  "text": ""
91
91
  },