@esri/calcite-components 1.0.0-next.294 → 1.0.0-next.298

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 (561) 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-c8e4117c.system.entry.js → p-15f3a0d7.system.entry.js} +1 -1
  48. package/dist/calcite/{p-de3a04c2.system.entry.js → p-16bb48f6.system.entry.js} +1 -1
  49. package/dist/calcite/{p-c99d8f9e.system.entry.js → p-16f2d814.system.entry.js} +1 -1
  50. package/dist/calcite/p-1942876c.js +5 -0
  51. package/dist/calcite/{p-cca94491.system.entry.js → p-1a1e9057.system.entry.js} +1 -1
  52. package/dist/calcite/p-1a962bdd.js +5 -0
  53. package/dist/calcite/p-1aa89347.system.entry.js +5 -0
  54. package/dist/calcite/{p-a8569c55.system.entry.js → p-1c8fe17f.system.entry.js} +1 -1
  55. package/dist/calcite/{p-6988c6b7.system.entry.js → p-1dd440e6.system.entry.js} +1 -1
  56. package/dist/calcite/{p-7a6c6382.entry.js → p-21c8ac06.entry.js} +1 -1
  57. package/dist/calcite/{p-6c8a562f.system.entry.js → p-243d95ab.system.entry.js} +1 -1
  58. package/dist/calcite/{p-3f1d1bad.entry.js → p-2451da5b.entry.js} +1 -1
  59. package/dist/calcite/p-288bc438.system.js +5 -0
  60. package/dist/calcite/{p-4185db77.entry.js → p-289bc56f.entry.js} +1 -1
  61. package/dist/calcite/{p-9affee61.entry.js → p-29771742.entry.js} +1 -1
  62. package/dist/calcite/{p-8953f712.entry.js → p-2aa3007a.entry.js} +1 -1
  63. package/dist/calcite/p-2d09cc25.js +5 -0
  64. package/dist/calcite/p-2e29554c.js +5 -0
  65. package/dist/calcite/{p-3962cd38.entry.js → p-33802886.entry.js} +1 -1
  66. package/dist/calcite/{p-25a31861.system.js → p-34e5baa7.system.js} +1 -1
  67. package/dist/calcite/p-3a592bf3.system.entry.js +5 -0
  68. package/dist/calcite/p-3dae9da3.js +5 -0
  69. package/dist/calcite/{p-bf8b70a8.entry.js → p-3e6fcede.entry.js} +1 -1
  70. package/dist/calcite/p-3eb1dc0f.entry.js +5 -0
  71. package/dist/calcite/{p-c9ecea64.entry.js → p-48f03121.entry.js} +1 -1
  72. package/dist/calcite/{p-83302e1c.entry.js → p-4acfb654.entry.js} +1 -1
  73. package/dist/calcite/{p-bf25e278.system.entry.js → p-4d11efdb.system.entry.js} +1 -1
  74. package/dist/calcite/{p-b8d040e5.system.entry.js → p-4e16515a.system.entry.js} +1 -1
  75. package/dist/calcite/{p-c60e3a71.entry.js → p-4f1f83d2.entry.js} +1 -1
  76. package/dist/calcite/{p-1e875199.entry.js → p-502ea583.entry.js} +1 -1
  77. package/dist/calcite/p-523bc291.system.js +5 -0
  78. package/dist/calcite/p-54394dfe.system.entry.js +5 -0
  79. package/dist/calcite/p-578509a8.entry.js +5 -0
  80. package/dist/calcite/p-592da79d.system.entry.js +5 -0
  81. package/dist/calcite/p-5c0c29bc.entry.js +5 -0
  82. package/dist/calcite/p-5eee672a.system.entry.js +5 -0
  83. package/dist/calcite/{p-ba1322e6.system.entry.js → p-5f2a9710.system.entry.js} +1 -1
  84. package/dist/calcite/{p-36e5db45.entry.js → p-5f817b79.entry.js} +1 -1
  85. package/dist/calcite/{p-e638ff0e.entry.js → p-6296644b.entry.js} +1 -1
  86. package/dist/calcite/p-63e60894.entry.js +5 -0
  87. package/dist/calcite/{p-daa110fe.system.entry.js → p-6484ffb7.system.entry.js} +1 -1
  88. package/dist/calcite/{p-28261aae.entry.js → p-659898bf.entry.js} +1 -1
  89. package/dist/calcite/{p-d11ad046.system.js → p-6d44b7d9.system.js} +1 -1
  90. package/dist/calcite/p-6f1cca21.system.js +5 -0
  91. package/dist/calcite/{p-e7819705.entry.js → p-714ae4f6.entry.js} +1 -1
  92. package/dist/calcite/{p-3bb30b44.system.entry.js → p-74f390e1.system.entry.js} +1 -1
  93. package/dist/calcite/{p-d4059426.entry.js → p-75264173.entry.js} +1 -1
  94. package/dist/calcite/{p-76ccd204.entry.js → p-765fb8ed.entry.js} +1 -1
  95. package/dist/calcite/p-784e414b.entry.js +5 -0
  96. package/dist/calcite/{p-cacca548.entry.js → p-78d0db7b.entry.js} +1 -1
  97. package/dist/calcite/{p-98789055.system.entry.js → p-7ba971b5.system.entry.js} +1 -1
  98. package/dist/calcite/{p-f281f1e9.entry.js → p-7bb94bfa.entry.js} +1 -1
  99. package/dist/calcite/{p-502736d8.system.entry.js → p-81538774.system.entry.js} +1 -1
  100. package/dist/calcite/p-81ab443c.entry.js +5 -0
  101. package/dist/calcite/p-82139130.entry.js +5 -0
  102. package/dist/calcite/{p-7b869bc5.entry.js → p-82c6cd9a.entry.js} +1 -1
  103. package/dist/calcite/{p-45257edb.js → p-8340b572.js} +1 -1
  104. package/dist/calcite/{p-58716826.system.entry.js → p-840f2937.system.entry.js} +2 -2
  105. package/dist/calcite/p-85032edc.system.entry.js +5 -0
  106. package/dist/calcite/{p-b41deed0.system.entry.js → p-8b2ead09.system.entry.js} +1 -1
  107. package/dist/calcite/p-8baa9ba4.entry.js +5 -0
  108. package/dist/calcite/{p-7ade2294.system.entry.js → p-8fef13ca.system.entry.js} +1 -1
  109. package/dist/calcite/{p-75f714c9.entry.js → p-9338b0bc.entry.js} +1 -1
  110. package/dist/calcite/p-9577dfd9.entry.js +5 -0
  111. package/dist/calcite/{p-c48b4b7e.system.entry.js → p-95b9a0f2.system.entry.js} +1 -1
  112. package/dist/calcite/p-968ea270.entry.js +5 -0
  113. package/dist/calcite/p-99a1c131.entry.js +5 -0
  114. package/dist/calcite/{p-83ccefba.system.entry.js → p-9abbbcbd.system.entry.js} +1 -1
  115. package/dist/calcite/p-9be6633a.entry.js +5 -0
  116. package/dist/calcite/{p-9fc0dc2c.system.entry.js → p-9f240615.system.entry.js} +1 -1
  117. package/dist/calcite/{p-f6f4648e.system.entry.js → p-a5269f14.system.entry.js} +1 -1
  118. package/dist/calcite/{p-684ccd4e.system.entry.js → p-a8dc2982.system.entry.js} +1 -1
  119. package/dist/calcite/{p-0100aeb0.entry.js → p-ace12b8d.entry.js} +1 -1
  120. package/dist/calcite/{p-7dd5c4e4.entry.js → p-aced5f01.entry.js} +1 -1
  121. package/dist/calcite/{p-f32e61bb.system.entry.js → p-aec398f3.system.entry.js} +1 -1
  122. package/dist/calcite/{p-eed43a57.system.entry.js → p-b1351c3e.system.entry.js} +1 -1
  123. package/dist/calcite/p-b1a96c72.system.entry.js +5 -0
  124. package/dist/calcite/{p-8007a0b4.system.entry.js → p-b2bbac37.system.entry.js} +1 -1
  125. package/dist/calcite/{p-3cf93a58.system.entry.js → p-b4b1081f.system.entry.js} +1 -1
  126. package/dist/calcite/p-b94bf8ac.system.entry.js +5 -0
  127. package/dist/calcite/p-c0e35328.entry.js +5 -0
  128. package/dist/calcite/p-c34c4414.system.js +5 -0
  129. package/dist/calcite/{p-a09634e2.entry.js → p-c3ba61ea.entry.js} +1 -1
  130. package/dist/calcite/{p-fe16f05e.system.entry.js → p-c4cb4fab.system.entry.js} +1 -1
  131. package/dist/calcite/p-c87c04a9.entry.js +5 -0
  132. package/dist/calcite/p-ca3bb147.entry.js +5 -0
  133. package/dist/calcite/{p-527146c8.system.entry.js → p-cbe9f1a2.system.entry.js} +1 -1
  134. package/dist/calcite/{p-a7ba0292.system.js → p-cbf6bb04.system.js} +1 -1
  135. package/dist/calcite/p-cc2085c7.system.entry.js +5 -0
  136. package/dist/calcite/{p-507b2cc4.entry.js → p-cc788d2e.entry.js} +1 -1
  137. package/dist/calcite/p-cced5508.system.entry.js +5 -0
  138. package/dist/calcite/{p-dcf30b00.system.entry.js → p-cf03b144.system.entry.js} +1 -1
  139. package/dist/calcite/{p-b018fbbd.entry.js → p-d550ee4d.entry.js} +1 -1
  140. package/dist/calcite/{p-72fa390e.entry.js → p-d6e30c54.entry.js} +1 -1
  141. package/dist/calcite/{p-79cbbf2d.js → p-d6f20229.js} +1 -1
  142. package/dist/calcite/{p-3e438b5b.system.entry.js → p-dabb63b5.system.entry.js} +1 -1
  143. package/dist/calcite/{p-9fa024e6.system.entry.js → p-dd464e44.system.entry.js} +1 -1
  144. package/dist/calcite/{p-38ee7306.system.entry.js → p-deb36fde.system.entry.js} +1 -1
  145. package/dist/calcite/{p-b4e7b593.system.entry.js → p-defcee80.system.entry.js} +1 -1
  146. package/dist/calcite/{p-e35e7216.system.js → p-dff7dc90.system.js} +1 -1
  147. package/dist/calcite/{p-aad45edf.system.js → p-e095517f.system.js} +1 -1
  148. package/dist/calcite/{p-09da1c54.system.entry.js → p-e33fe285.system.entry.js} +1 -1
  149. package/dist/calcite/p-e52495d3.system.entry.js +5 -0
  150. package/dist/calcite/p-e5932886.system.entry.js +5 -0
  151. package/dist/calcite/{p-9fa5e356.entry.js → p-e5e3b591.entry.js} +1 -1
  152. package/dist/calcite/p-e62a9b1d.system.entry.js +5 -0
  153. package/dist/calcite/p-e6c84e63.entry.js +5 -0
  154. package/dist/calcite/{p-a5bfc29d.system.entry.js → p-e6d05ad6.system.entry.js} +1 -1
  155. package/dist/calcite/{p-49d5ee42.system.entry.js → p-e70cb594.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-ed15771f.system.entry.js +5 -0
  160. package/dist/calcite/p-ed453bfb.entry.js +5 -0
  161. package/dist/calcite/{p-f93a7fce.entry.js → p-ef39847e.entry.js} +1 -1
  162. package/dist/calcite/{p-cd41629f.entry.js → p-efb2169a.entry.js} +1 -1
  163. package/dist/calcite/{p-06646eed.system.entry.js → p-f0338acf.system.entry.js} +1 -1
  164. package/dist/calcite/{p-3383d9b4.entry.js → p-f1c5e7cf.entry.js} +1 -1
  165. package/dist/calcite/{p-58eca102.entry.js → p-f278dd53.entry.js} +1 -1
  166. package/dist/calcite/p-f44e01bf.entry.js +5 -0
  167. package/dist/calcite/{p-5efd7297.entry.js → p-f9c46578.entry.js} +1 -1
  168. package/dist/calcite/{p-10de63d7.system.entry.js → p-fc47547f.system.entry.js} +1 -1
  169. package/dist/calcite/p-fc643963.entry.js +5 -0
  170. package/dist/cjs/{CalciteExpandToggle-6a9f9858.js → CalciteExpandToggle-5f60c98b.js} +1 -1
  171. package/dist/cjs/{CalciteHeading-363b0525.js → CalciteHeading-112c19f9.js} +1 -1
  172. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  173. package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
  174. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
  177. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  179. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  181. package/dist/cjs/calcite-button.cjs.entry.js +3 -3
  182. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-checkbox.cjs.entry.js +36 -85
  184. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +26 -27
  186. package/dist/cjs/calcite-combobox_3.cjs.entry.js +81 -22
  187. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -10
  188. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  190. package/dist/cjs/calcite-filter.cjs.entry.js +34 -8
  191. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -5
  193. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  194. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-inline-editable.cjs.entry.js +51 -42
  196. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +68 -15
  197. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  198. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -4
  199. package/dist/cjs/calcite-input.cjs.entry.js +78 -58
  200. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  201. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  202. package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
  203. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  204. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  205. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  206. package/dist/cjs/calcite-option_3.cjs.entry.js +31 -5
  207. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  208. package/dist/cjs/calcite-panel.cjs.entry.js +5 -4
  209. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  210. package/dist/cjs/calcite-popover_2.cjs.entry.js +3 -3
  211. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  212. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  213. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +20 -24
  214. package/dist/cjs/calcite-radio_2.cjs.entry.js +81 -75
  215. package/dist/cjs/calcite-rating.cjs.entry.js +13 -4
  216. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  217. package/dist/cjs/calcite-shell_3.cjs.entry.js +5 -4
  218. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  219. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  220. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  221. package/dist/cjs/calcite-switch.cjs.entry.js +25 -49
  222. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  223. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -3
  224. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  225. package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
  226. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
  227. package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
  228. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite.cjs.js +2 -2
  230. package/dist/cjs/form-a5b44a1f.js +179 -0
  231. package/dist/cjs/{index-cee0daa9.js → index-6b5d2de5.js} +8 -365
  232. package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
  233. package/dist/cjs/loader.cjs.js +2 -2
  234. package/dist/cjs/math-145c80e2.js +21 -0
  235. package/dist/cjs/{resources-38563593.js → resources-3f7b51c8.js} +1 -1
  236. package/dist/cjs/{resources-f9c141d2.js → resources-cd25dbae.js} +1 -1
  237. package/dist/collection/components/calcite-button/calcite-button.css +20 -14
  238. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +22 -11
  239. package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +63 -112
  240. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +13 -10
  241. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +11 -15
  242. package/dist/collection/components/calcite-combobox/calcite-combobox.css +15 -0
  243. package/dist/collection/components/calcite-combobox/calcite-combobox.js +139 -19
  244. package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +45 -15
  245. package/dist/collection/components/calcite-filter/calcite-filter.js +79 -8
  246. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent16.json +1 -0
  247. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent24.json +1 -0
  248. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkExtent32.json +1 -0
  249. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime16.json +1 -0
  250. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime24.json +1 -0
  251. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTime32.json +1 -0
  252. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest16.json +1 -0
  253. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest24.json +1 -0
  254. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeLargest32.json +1 -0
  255. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest16.json +1 -0
  256. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest24.json +1 -0
  257. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeSmallest32.json +1 -0
  258. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar16.json +1 -0
  259. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar24.json +1 -0
  260. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeXBar32.json +1 -0
  261. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems16.json +1 -0
  262. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems24.json +1 -0
  263. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupItems32.json +1 -0
  264. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements16.json +1 -0
  265. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements24.json +1 -0
  266. package/dist/collection/components/calcite-icon/assets/calcite-icon/groupLayoutElements32.json +1 -0
  267. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest16.json +1 -0
  268. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest24.json +1 -0
  269. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsLargest32.json +1 -0
  270. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest16.json +1 -0
  271. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest24.json +1 -0
  272. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsSmallest32.json +1 -0
  273. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar16.json +1 -0
  274. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar24.json +1 -0
  275. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsXBar32.json +1 -0
  276. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems16.json +1 -0
  277. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems24.json +1 -0
  278. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupItems32.json +1 -0
  279. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements16.json +1 -0
  280. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements24.json +1 -0
  281. package/dist/collection/components/calcite-icon/assets/calcite-icon/ungroupLayoutElements32.json +1 -0
  282. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +8 -54
  283. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +43 -32
  284. package/dist/collection/components/calcite-inline-editable/resources.js +7 -7
  285. package/dist/collection/components/calcite-input/calcite-input.css +102 -68
  286. package/dist/collection/components/calcite-input/calcite-input.js +107 -56
  287. package/dist/collection/components/calcite-input/resources.js +14 -12
  288. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +15 -0
  289. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +163 -40
  290. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +15 -0
  291. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +34 -3
  292. package/dist/collection/components/calcite-list-item/calcite-list-item.css +7 -0
  293. package/dist/collection/components/calcite-panel/calcite-panel.css +10 -4
  294. package/dist/collection/components/calcite-panel/calcite-panel.js +3 -2
  295. package/dist/collection/components/calcite-panel/resources.js +1 -0
  296. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -0
  297. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +18 -1
  298. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +83 -84
  299. package/dist/collection/components/calcite-radio-button/resources.js +1 -1
  300. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +15 -0
  301. package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +58 -22
  302. package/dist/collection/components/calcite-rating/calcite-rating.css +15 -0
  303. package/dist/collection/components/calcite-rating/calcite-rating.js +49 -1
  304. package/dist/collection/components/calcite-select/calcite-select.css +15 -0
  305. package/dist/collection/components/calcite-select/calcite-select.js +89 -3
  306. package/dist/collection/components/calcite-shell/calcite-shell.css +11 -11
  307. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +38 -21
  308. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +2 -2
  309. package/dist/collection/components/calcite-shell-panel/resources.js +1 -0
  310. package/dist/collection/components/calcite-slider/calcite-slider.css +15 -0
  311. package/dist/collection/components/calcite-slider/calcite-slider.js +45 -1
  312. package/dist/collection/components/calcite-switch/calcite-switch.css +15 -0
  313. package/dist/collection/components/calcite-switch/calcite-switch.js +28 -64
  314. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +4 -7
  315. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +15 -8
  316. package/dist/collection/utils/form.js +167 -14
  317. package/dist/collection/utils/label.js +33 -4
  318. package/dist/collection/utils/math.js +11 -0
  319. package/dist/components/calcite-button2.js +1 -1
  320. package/dist/components/calcite-checkbox2.js +37 -87
  321. package/dist/components/calcite-color-picker-hex-input2.js +11 -15
  322. package/dist/components/calcite-color-picker.js +13 -10
  323. package/dist/components/calcite-combobox.js +82 -20
  324. package/dist/components/calcite-date-picker2.js +25 -7
  325. package/dist/components/calcite-filter2.js +35 -7
  326. package/dist/components/calcite-inline-editable.js +52 -42
  327. package/dist/components/calcite-input-date-picker.js +68 -12
  328. package/dist/components/calcite-input-time-picker.js +12 -2
  329. package/dist/components/calcite-input2.js +82 -59
  330. package/dist/components/calcite-list-item.js +1 -1
  331. package/dist/components/calcite-panel.js +3 -2
  332. package/dist/components/calcite-popover2.js +1 -1
  333. package/dist/components/calcite-radio-button.js +83 -76
  334. package/dist/components/calcite-radio-group.js +20 -22
  335. package/dist/components/calcite-rating.js +13 -2
  336. package/dist/components/calcite-select.js +32 -3
  337. package/dist/components/calcite-shell-panel.js +4 -3
  338. package/dist/components/calcite-shell.js +1 -1
  339. package/dist/components/calcite-slider.js +12 -2
  340. package/dist/components/calcite-switch2.js +25 -51
  341. package/dist/components/calcite-tile-select.js +1 -3
  342. package/dist/components/calcite-tree-item.js +15 -8
  343. package/dist/components/form.js +169 -15
  344. package/dist/components/label.js +33 -4
  345. package/dist/components/math.js +12 -1
  346. package/dist/custom-elements/index.js +801 -445
  347. package/dist/esm/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  348. package/dist/esm/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  349. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  350. package/dist/esm/calcite-action-bar.entry.js +2 -2
  351. package/dist/esm/calcite-action-group.entry.js +1 -1
  352. package/dist/esm/calcite-action-menu.entry.js +1 -1
  353. package/dist/esm/calcite-action-pad.entry.js +2 -2
  354. package/dist/esm/calcite-action.entry.js +1 -1
  355. package/dist/esm/calcite-alert.entry.js +1 -1
  356. package/dist/esm/calcite-avatar.entry.js +1 -1
  357. package/dist/esm/calcite-block_2.entry.js +2 -2
  358. package/dist/esm/calcite-button.entry.js +3 -3
  359. package/dist/esm/calcite-card.entry.js +1 -1
  360. package/dist/esm/calcite-checkbox.entry.js +36 -85
  361. package/dist/esm/calcite-chip.entry.js +1 -1
  362. package/dist/esm/calcite-color-picker_3.entry.js +26 -27
  363. package/dist/esm/calcite-combobox_3.entry.js +81 -22
  364. package/dist/esm/calcite-date-picker_4.entry.js +28 -10
  365. package/dist/esm/calcite-dropdown_3.entry.js +1 -1
  366. package/dist/esm/calcite-fab.entry.js +1 -1
  367. package/dist/esm/calcite-filter.entry.js +34 -8
  368. package/dist/esm/calcite-flow.entry.js +1 -1
  369. package/dist/esm/calcite-graph_2.entry.js +13 -5
  370. package/dist/esm/calcite-handle.entry.js +1 -1
  371. package/dist/esm/calcite-icon.entry.js +1 -1
  372. package/dist/esm/calcite-inline-editable.entry.js +51 -42
  373. package/dist/esm/calcite-input-date-picker.entry.js +68 -15
  374. package/dist/esm/calcite-input-message.entry.js +1 -1
  375. package/dist/esm/calcite-input-time-picker_2.entry.js +13 -4
  376. package/dist/esm/calcite-input.entry.js +79 -59
  377. package/dist/esm/calcite-label.entry.js +1 -1
  378. package/dist/esm/calcite-link.entry.js +1 -1
  379. package/dist/esm/calcite-list_3.entry.js +3 -3
  380. package/dist/esm/calcite-loader.entry.js +1 -1
  381. package/dist/esm/calcite-modal.entry.js +1 -1
  382. package/dist/esm/calcite-notice.entry.js +1 -1
  383. package/dist/esm/calcite-option_3.entry.js +31 -5
  384. package/dist/esm/calcite-pagination.entry.js +1 -1
  385. package/dist/esm/calcite-panel.entry.js +5 -4
  386. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  387. package/dist/esm/calcite-popover_2.entry.js +3 -3
  388. package/dist/esm/calcite-progress.entry.js +1 -1
  389. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  390. package/dist/esm/calcite-radio-group_2.entry.js +20 -24
  391. package/dist/esm/calcite-radio_2.entry.js +82 -76
  392. package/dist/esm/calcite-rating.entry.js +13 -4
  393. package/dist/esm/calcite-scrim.entry.js +1 -1
  394. package/dist/esm/calcite-shell_3.entry.js +5 -4
  395. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  396. package/dist/esm/calcite-split-button.entry.js +1 -1
  397. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  398. package/dist/esm/calcite-switch.entry.js +26 -50
  399. package/dist/esm/calcite-tab_4.entry.js +1 -1
  400. package/dist/esm/calcite-tile-select_2.entry.js +1 -3
  401. package/dist/esm/calcite-tile.entry.js +1 -1
  402. package/dist/esm/calcite-tip_3.entry.js +2 -2
  403. package/dist/esm/calcite-tooltip_2.entry.js +1 -1
  404. package/dist/esm/calcite-tree_2.entry.js +16 -9
  405. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  406. package/dist/esm/calcite.js +2 -2
  407. package/dist/esm/form-160b0fb5.js +174 -0
  408. package/dist/esm/{index-66803519.js → index-9de00868.js} +8 -365
  409. package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
  410. package/dist/esm/loader.js +2 -2
  411. package/dist/esm/math-456207f5.js +18 -0
  412. package/dist/esm/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
  413. package/dist/esm/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
  414. package/dist/esm-es5/{CalciteExpandToggle-235a6bfd.js → CalciteExpandToggle-677f2f8b.js} +1 -1
  415. package/dist/esm-es5/{CalciteHeading-dea3bd05.js → CalciteHeading-1d6cd311.js} +1 -1
  416. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  417. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  418. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  419. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  420. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  421. package/dist/esm-es5/calcite-action.entry.js +1 -1
  422. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  423. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  424. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  425. package/dist/esm-es5/calcite-button.entry.js +1 -1
  426. package/dist/esm-es5/calcite-card.entry.js +1 -1
  427. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  428. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  429. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  430. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  431. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  432. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  433. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  434. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  435. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  436. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  437. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  438. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  439. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  440. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  441. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  442. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  443. package/dist/esm-es5/calcite-input.entry.js +2 -2
  444. package/dist/esm-es5/calcite-label.entry.js +1 -1
  445. package/dist/esm-es5/calcite-link.entry.js +1 -1
  446. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  447. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  448. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  449. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  450. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  451. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  452. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  453. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  454. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  455. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  456. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  457. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  458. package/dist/esm-es5/calcite-radio_2.entry.js +2 -2
  459. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  460. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  461. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  462. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  463. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  464. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  465. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  466. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  467. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  468. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  469. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  470. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  471. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  472. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  473. package/dist/esm-es5/calcite.js +1 -1
  474. package/dist/esm-es5/form-160b0fb5.js +5 -0
  475. package/dist/esm-es5/index-9de00868.js +5 -0
  476. package/dist/esm-es5/label-5559055d.js +5 -0
  477. package/dist/esm-es5/loader.js +1 -1
  478. package/dist/esm-es5/math-456207f5.js +5 -0
  479. package/dist/esm-es5/{resources-8dd80c84.js → resources-16a2a25a.js} +1 -1
  480. package/dist/esm-es5/{resources-c59a1a15.js → resources-bece7a88.js} +1 -1
  481. package/dist/extras/docs-json.json +320 -59
  482. package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +22 -23
  483. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
  484. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +21 -3
  485. package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +20 -8
  486. package/dist/types/components/calcite-filter/calcite-filter.d.ts +19 -0
  487. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -6
  488. package/dist/types/components/calcite-input/calcite-input.d.ts +14 -8
  489. package/dist/types/components/calcite-input/resources.d.ts +2 -0
  490. package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +37 -8
  491. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +11 -2
  492. package/dist/types/components/calcite-panel/resources.d.ts +1 -0
  493. package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +14 -15
  494. package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +13 -4
  495. package/dist/types/components/calcite-rating/calcite-rating.d.ts +12 -1
  496. package/dist/types/components/calcite-select/calcite-select.d.ts +19 -1
  497. package/dist/types/components/calcite-shell-panel/resources.d.ts +1 -0
  498. package/dist/types/components/calcite-slider/calcite-slider.d.ts +10 -1
  499. package/dist/types/components/calcite-switch/calcite-switch.d.ts +10 -9
  500. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +1 -1
  501. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
  502. package/dist/types/components.d.ts +171 -18
  503. package/dist/types/utils/form.d.ts +112 -1
  504. package/dist/types/utils/label.d.ts +5 -0
  505. package/dist/types/utils/math.d.ts +1 -0
  506. package/hydrate/index.js +827 -455
  507. package/package.json +8 -9
  508. package/readme.md +2 -2
  509. package/CHANGELOG.md +0 -1506
  510. package/dist/calcite/p-05107123.entry.js +0 -5
  511. package/dist/calcite/p-05d1dfc6.js +0 -5
  512. package/dist/calcite/p-0d4e82ab.system.entry.js +0 -5
  513. package/dist/calcite/p-10759c71.system.entry.js +0 -5
  514. package/dist/calcite/p-11113310.entry.js +0 -5
  515. package/dist/calcite/p-12e1c83f.system.entry.js +0 -5
  516. package/dist/calcite/p-1421e818.entry.js +0 -5
  517. package/dist/calcite/p-157d05ce.js +0 -5
  518. package/dist/calcite/p-17e666d6.system.entry.js +0 -5
  519. package/dist/calcite/p-22ecf6df.entry.js +0 -5
  520. package/dist/calcite/p-2418cceb.entry.js +0 -5
  521. package/dist/calcite/p-2ba00b89.js +0 -5
  522. package/dist/calcite/p-2ecafa35.system.entry.js +0 -5
  523. package/dist/calcite/p-329e1831.system.entry.js +0 -5
  524. package/dist/calcite/p-3994ac99.system.entry.js +0 -5
  525. package/dist/calcite/p-42128a12.entry.js +0 -5
  526. package/dist/calcite/p-47313747.system.js +0 -5
  527. package/dist/calcite/p-4c7e3915.system.entry.js +0 -5
  528. package/dist/calcite/p-4ecd0331.entry.js +0 -5
  529. package/dist/calcite/p-5322b333.system.entry.js +0 -5
  530. package/dist/calcite/p-5e6d76dc.entry.js +0 -5
  531. package/dist/calcite/p-777c833f.system.entry.js +0 -5
  532. package/dist/calcite/p-8711a0ae.system.entry.js +0 -5
  533. package/dist/calcite/p-89cdfa96.system.js +0 -5
  534. package/dist/calcite/p-8bc3e126.entry.js +0 -5
  535. package/dist/calcite/p-948aca0d.system.entry.js +0 -5
  536. package/dist/calcite/p-99ff3a2f.entry.js +0 -5
  537. package/dist/calcite/p-9fe349b9.entry.js +0 -5
  538. package/dist/calcite/p-a2cc027e.entry.js +0 -5
  539. package/dist/calcite/p-b42d730f.entry.js +0 -5
  540. package/dist/calcite/p-b4960d06.system.js +0 -5
  541. package/dist/calcite/p-bbe2337b.system.entry.js +0 -5
  542. package/dist/calcite/p-bbedf98c.entry.js +0 -5
  543. package/dist/calcite/p-be52c734.entry.js +0 -5
  544. package/dist/calcite/p-cb7b6425.entry.js +0 -5
  545. package/dist/calcite/p-d35e423d.js +0 -5
  546. package/dist/calcite/p-df9b4b76.entry.js +0 -5
  547. package/dist/calcite/p-e24b6c4a.system.entry.js +0 -5
  548. package/dist/calcite/p-e382c4e9.entry.js +0 -5
  549. package/dist/calcite/p-e40dd6fe.system.entry.js +0 -5
  550. package/dist/calcite/p-e5805bf1.entry.js +0 -5
  551. package/dist/calcite/p-eccb140e.entry.js +0 -5
  552. package/dist/calcite/p-f5bb39bb.js +0 -5
  553. package/dist/calcite/p-fb1da0f5.system.js +0 -5
  554. package/dist/cjs/form-00fb301c.js +0 -22
  555. package/dist/cjs/math-9d44163f.js +0 -9
  556. package/dist/esm/form-cee9f632.js +0 -20
  557. package/dist/esm/math-250d4476.js +0 -7
  558. package/dist/esm-es5/form-cee9f632.js +0 -5
  559. package/dist/esm-es5/index-66803519.js +0 -5
  560. package/dist/esm-es5/label-bb61bdef.js +0 -5
  561. package/dist/esm-es5/math-250d4476.js +0 -5
@@ -2,12 +2,13 @@
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, c as createEvent, H as Host } from './index-66803519.js';
5
+ import { r as registerInstance, h, g as getElement, c as createEvent, H as Host } from './index-9de00868.js';
6
6
  import { g as guid } from './guid-196bd5ea.js';
7
7
  import { g as getKey } from './key-69001a68.js';
8
8
  import { j as intersects } from './dom-f24e866c.js';
9
- import { c as clamp } from './math-250d4476.js';
10
- import { c as connectLabel, d as disconnectLabel } from './label-bb61bdef.js';
9
+ import { c as clamp } from './math-456207f5.js';
10
+ import { c as connectLabel, d as disconnectLabel } from './label-5559055d.js';
11
+ import { c as connectForm, d as disconnectForm, a as afterConnectDefaultValueSet, H as HiddenFormInputSlot } from './form-160b0fb5.js';
11
12
 
12
13
  /**
13
14
  * Calculate slope of the tangents
@@ -191,7 +192,7 @@ let CalciteGraph = class {
191
192
  };
192
193
  CalciteGraph.style = calciteGraphCss;
193
194
 
194
- const calciteSliderCss = "@charset \"UTF-8\";@-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}.container{display:block;position:relative;padding:7px 0;margin:7px 0.5rem}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) .graph .graph-path--highlight{fill:var(--calcite-ui-text-3)}:host([label-handles]) .container,:host([precise]:not([precise=false])) .container{margin-top:21px}:host([label-ticks]),:host([precise]:not([precise=false])) .container--range{margin-bottom:21px}:host([precise]:not([precise=false])[label-handles]) .container{margin-top:35px}:host([precise]:not([precise=false])[label-handles]) .container--range{margin-bottom:35px}.thumb{position:absolute;border-style:none;background-color:transparent;cursor:pointer;outline:2px solid transparent;outline-offset:2px;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-family:inherit;z-index:2;-webkit-transform:translate(7px, -8px);transform:translate(7px, -8px)}.thumb .handle__label{font-size:var(--calcite-font-size--2);font-weight:500;line-height:1;color:var(--calcite-ui-text-2);margin-bottom:5px}.thumb .handle__label.static,.thumb .handle__label.transformed{opacity:0;position:absolute;top:0;bottom:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{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;height:14px;width:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, -webkit-box-shadow 0.25s ease}.thumb .handle-extension{width:2px;height:7px;background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb--minValue{-webkit-transform:translate(-7px, -8px);transform:translate(-7px, -8px)}:host([label-handles]) .thumb{-webkit-transform:translate(50%, -25px);transform:translate(50%, -25px)}:host([label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -25px);transform:translate(-50%, -25px)}:host([has-histogram][label-handles]) .thumb{-webkit-transform:translate(50%, -8px);transform:translate(50%, -8px)}:host([has-histogram][label-handles]) .thumb .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -8px);transform:translate(-50%, -8px)}:host([precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -21px);transform:translate(7px, -21px)}:host([precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -2px);transform:translate(-7px, -2px)}:host([precise]:not([precise=false])) .thumb--minValue .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -2px);transform:translate(7px, -2px)}:host([has-histogram][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -20px);transform:translate(7px, -20px)}:host([ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -3px);transform:translate(-7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -3px);transform:translate(7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -38px);transform:translate(50%, -38px)}:host([label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -2px);transform:translate(50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -37px);transform:translate(50%, -37px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -3px);transform:translate(50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}.thumb:focus,.thumb--active{z-index:3}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{height:2px;border-radius:0;z-index:1;background-color:var(--calcite-ui-border-2);-webkit-transition:all 250ms ease-in;transition:all 250ms ease-in;position:relative}.track__range{position:absolute;top:0;height:2px;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{content:\"\";position:absolute;top:-5px;width:100%;height:14px}.tick{position:absolute;top:-2px;width:2px;height:4px;left:var(--calcite-ui-border-1-offset);margin-left:-2px;border:1px solid var(--calcite-ui-foreground-1);background-color:var(--calcite-ui-border-1)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{position:absolute;font-size:var(--calcite-font-size--2);font-weight:500;color:var(--calcite-ui-text-2);width:4em;margin:14px -2em;text-align:center;display:block;pointer-events:none}.tick__label--min{left:0;margin:14px -3px;text-align:left;-webkit-transition:opacity 150ms;transition:opacity 150ms}.tick__label--max{left:unset;right:0;margin:14px -3px;text-align:right;-webkit-transition:opacity 50ms;transition:opacity 50ms}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}:host([has-histogram][precise]:not([precise=false])) .tick__label--min,:host([has-histogram][precise]:not([precise=false])) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([mirrored]:not([has-histogram])) .tick__label--min{right:0;left:unset;text-align:right}:host([mirrored]:not([has-histogram])) .tick__label--max{right:unset;left:0;text-align:left}";
195
+ const calciteSliderCss = "@charset \"UTF-8\";@-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}.container{display:block;position:relative;padding:7px 0;margin:7px 0.5rem}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) .graph .graph-path--highlight{fill:var(--calcite-ui-text-3)}:host([label-handles]) .container,:host([precise]:not([precise=false])) .container{margin-top:21px}:host([label-ticks]),:host([precise]:not([precise=false])) .container--range{margin-bottom:21px}:host([precise]:not([precise=false])[label-handles]) .container{margin-top:35px}:host([precise]:not([precise=false])[label-handles]) .container--range{margin-bottom:35px}.thumb{position:absolute;border-style:none;background-color:transparent;cursor:pointer;outline:2px solid transparent;outline-offset:2px;padding:0;margin:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-family:inherit;z-index:2;-webkit-transform:translate(7px, -8px);transform:translate(7px, -8px)}.thumb .handle__label{font-size:var(--calcite-font-size--2);font-weight:500;line-height:1;color:var(--calcite-ui-text-2);margin-bottom:5px}.thumb .handle__label.static,.thumb .handle__label.transformed{opacity:0;position:absolute;top:0;bottom:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{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;height:14px;width:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, -webkit-box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;transition:border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, -webkit-box-shadow 0.25s ease}.thumb .handle-extension{width:2px;height:7px;background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb--minValue{-webkit-transform:translate(-7px, -8px);transform:translate(-7px, -8px)}:host([label-handles]) .thumb{-webkit-transform:translate(50%, -25px);transform:translate(50%, -25px)}:host([label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -25px);transform:translate(-50%, -25px)}:host([has-histogram][label-handles]) .thumb{-webkit-transform:translate(50%, -8px);transform:translate(50%, -8px)}:host([has-histogram][label-handles]) .thumb .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][label-handles]) .thumb--minValue{-webkit-transform:translate(-50%, -8px);transform:translate(-50%, -8px)}:host([precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -21px);transform:translate(7px, -21px)}:host([precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -2px);transform:translate(-7px, -2px)}:host([precise]:not([precise=false])) .thumb--minValue .handle__label{margin-bottom:unset;margin-top:5px}:host([has-histogram][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -2px);transform:translate(7px, -2px)}:host([has-histogram][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -20px);transform:translate(7px, -20px)}:host([ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-7px, -3px);transform:translate(-7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb{-webkit-transform:translate(7px, -3px);transform:translate(7px, -3px)}:host([has-histogram][ticks][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -38px);transform:translate(50%, -38px)}:host([label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -2px);transform:translate(50%, -2px)}:host([has-histogram][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -2px);transform:translate(-50%, -2px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -37px);transform:translate(50%, -37px)}:host([ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb{-webkit-transform:translate(50%, -3px);transform:translate(50%, -3px)}:host([has-histogram][ticks][label-handles][precise]:not([precise=false])) .thumb--minValue{-webkit-transform:translate(-50%, -3px);transform:translate(-50%, -3px)}.thumb:focus,.thumb--active{z-index:3}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{height:2px;border-radius:0;z-index:1;background-color:var(--calcite-ui-border-2);-webkit-transition:all 250ms ease-in;transition:all 250ms ease-in;position:relative}.track__range{position:absolute;top:0;height:2px;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{content:\"\";position:absolute;top:-5px;width:100%;height:14px}.tick{position:absolute;top:-2px;width:2px;height:4px;left:var(--calcite-ui-border-1-offset);margin-left:-2px;border:1px solid var(--calcite-ui-foreground-1);background-color:var(--calcite-ui-border-1)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{position:absolute;font-size:var(--calcite-font-size--2);font-weight:500;color:var(--calcite-ui-text-2);width:4em;margin:14px -2em;text-align:center;display:block;pointer-events:none}.tick__label--min{left:0;margin:14px -3px;text-align:left;-webkit-transition:opacity 150ms;transition:opacity 150ms}.tick__label--max{left:unset;right:0;margin:14px -3px;text-align:right;-webkit-transition:opacity 50ms;transition:opacity 50ms}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}:host([has-histogram][precise]:not([precise=false])) .tick__label--min,:host([has-histogram][precise]:not([precise=false])) .tick__label--max{margin:6px -3px;font-weight:300;color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([mirrored]:not([has-histogram])) .tick__label--min{right:0;left:unset;text-align:right}:host([mirrored]:not([has-histogram])) .tick__label--max{right:unset;left:0;text-align:left}::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}";
195
196
 
196
197
  let CalciteSlider = class {
197
198
  constructor(hostRef) {
@@ -224,6 +225,10 @@ let CalciteSlider = class {
224
225
  this.mirrored = false;
225
226
  /** Use finer point for handles */
226
227
  this.precise = false;
228
+ /**
229
+ * When true, makes the component required for form-submission.
230
+ */
231
+ this.required = false;
227
232
  /** When true, enables snap selection along the step interval */
228
233
  this.snap = false;
229
234
  /** Interval to move on up/down keys */
@@ -296,14 +301,17 @@ let CalciteSlider = class {
296
301
  //--------------------------------------------------------------------------
297
302
  connectedCallback() {
298
303
  connectLabel(this);
304
+ connectForm(this);
299
305
  }
300
306
  disconnectedCallback() {
301
307
  disconnectLabel(this);
308
+ disconnectForm(this);
302
309
  }
303
310
  componentWillLoad() {
304
311
  this.isRange = !!(this.maxValue || this.maxValue === 0);
305
312
  this.tickValues = this.generateTickValues();
306
313
  this.value = this.clamp(this.value);
314
+ afterConnectDefaultValueSet(this, this.value);
307
315
  if (this.snap) {
308
316
  this.value = this.getClosestStep(this.value);
309
317
  }
@@ -425,7 +433,7 @@ let CalciteSlider = class {
425
433
  !this.precise &&
426
434
  this.labelHandles &&
427
435
  this.isRange &&
428
- minHistogramLabeledHandle, !this.precise && !this.labelHandles && handle, !this.hasHistogram && !this.precise && this.labelHandles && labeledHandle, !this.hasHistogram && this.precise && !this.labelHandles && preciseHandle, this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle, !this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle, this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle, this.hasHistogram && this.precise && this.labelHandles && histogramLabeledPreciseHandle)));
436
+ minHistogramLabeledHandle, !this.precise && !this.labelHandles && handle, !this.hasHistogram && !this.precise && this.labelHandles && labeledHandle, !this.hasHistogram && this.precise && !this.labelHandles && preciseHandle, this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle, !this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle, this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle, this.hasHistogram && this.precise && this.labelHandles && histogramLabeledPreciseHandle, h(HiddenFormInputSlot, { component: this }))));
429
437
  }
430
438
  renderGraph() {
431
439
  return this.histogram ? (h("div", { class: "graph" }, h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min, width: 300 }))) : null;
@@ -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
 
7
7
  const CSS = {
8
8
  handle: "handle",
@@ -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 { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-66803519.js';
5
+ import { a as getAssetPath, r as registerInstance, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { a as getElementDir } from './dom-f24e866c.js';
7
7
  import { c as createObserver } from './observers-8f0bc419.js';
8
8
  import './guid-196bd5ea.js';
@@ -2,19 +2,19 @@
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 { d as getElementProp } from './dom-f24e866c.js';
7
- import { g as getLabelText, c as connectLabel, d as disconnectLabel } from './label-bb61bdef.js';
7
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-5559055d.js';
8
8
  import './guid-196bd5ea.js';
9
9
 
10
10
  const CSS = {
11
- wrapper: "calcite-inline-editable__wrapper",
12
- confirmChangesButton: "calcite-inline-editable__confirm-changes-button",
13
- cancelEditingButton: "calcite-inline-editable__cancel-editing-button",
14
- inputWrapper: "calcite-inline-editable__input-wrapper",
15
- cancelEditingButtonWrapper: "calcite-inline-editable__cancel-editing-button-wrapper",
16
- enableEditingButton: "calcite-inline-editable__enable-editing-button",
17
- controlsWrapper: "calcite-inline-editable__controls-wrapper"
11
+ wrapper: "wrapper",
12
+ confirmChangesButton: "confirm-changes-button",
13
+ cancelEditingButton: "cancel-editing-button",
14
+ inputWrapper: "input-wrapper",
15
+ cancelEditingButtonWrapper: "cancel-editing-button-wrapper",
16
+ enableEditingButton: "enable-editing-button",
17
+ controlsWrapper: "controls-wrapper"
18
18
  };
19
19
  const TEXT = {
20
20
  intlEnablingEditing: "Click to edit",
@@ -22,7 +22,7 @@ const TEXT = {
22
22
  intlConfirmChanges: "Save"
23
23
  };
24
24
 
25
- const calciteInlineEditableCss = "@-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)}}.sc-calcite-inline-editable:root{--calcite-animation-timing:300ms}.calcite-animate.sc-calcite-inline-editable{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.sc-calcite-inline-editable{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down.sc-calcite-inline-editable{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up.sc-calcite-inline-editable{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale.sc-calcite-inline-editable{-webkit-animation-name:in-scale;animation-name:in-scale}.sc-calcite-inline-editable:root{--calcite-popper-transition:150ms ease-in-out}[hidden].sc-calcite-inline-editable-h{display:none}[scale=s].sc-calcite-inline-editable-h .calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{height:1.5rem}[scale=m].sc-calcite-inline-editable-h .calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{height:2rem}[scale=l].sc-calcite-inline-editable-h .calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{height:2.75rem}.sc-calcite-inline-editable-h:not([editing-enabled]):not([disabled]) .calcite-inline-editable__wrapper.sc-calcite-inline-editable:hover{background-color:var(--calcite-ui-foreground-2)}.calcite-inline-editable__wrapper.sc-calcite-inline-editable{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.calcite-inline-editable__wrapper.sc-calcite-inline-editable .calcite-inline-editable__input-wrapper.sc-calcite-inline-editable{-ms-flex:1 1 0%;flex:1 1 0%}.calcite-inline-editable__controls-wrapper.sc-calcite-inline-editable{display:-ms-flexbox;display:flex}[disabled].sc-calcite-inline-editable-h .calcite-inline-editable__cancel-editing-button-wrapper.sc-calcite-inline-editable{border-color:var(--calcite-ui-border-2)}.sc-calcite-inline-editable-h.sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,.sc-calcite-inline-editable-h.sc-calcite-inline-editable-s .calcite-input__element-wrapper input{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper{background-color:transparent}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .sc-calcite-input{display:none}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper{display:-ms-flexbox;display:flex;cursor:pointer}.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,.sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper input{display:-ms-flexbox;display:flex;cursor:pointer;padding-left:0;border-color:transparent}.sc-calcite-inline-editable-h:not([editing-enabled]):not([disabled]):hover.sc-calcite-inline-editable-s textarea,.sc-calcite-inline-editable-h:not([editing-enabled]):not([disabled]):hover.sc-calcite-inline-editable-s input{background-color:var(--calcite-ui-foreground-2)}.sc-calcite-inline-editable-h[dir=rtl]:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,.sc-calcite-inline-editable-h[dir=rtl]:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper input{padding-left:unset;padding-right:0}[dir=rtl] .sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper textarea,[dir=rtl] .sc-calcite-inline-editable-h:not([editing-enabled]).sc-calcite-inline-editable-s .calcite-input__element-wrapper input{padding-left:unset;padding-right:0}";
25
+ const calciteInlineEditableCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) .controls-wrapper{height:1.5rem}:host([scale=m]) .controls-wrapper{height:2rem}:host([scale=l]) .controls-wrapper{height:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-ui-foreground-2)}.wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.wrapper .input-wrapper{-ms-flex:1 1 0%;flex:1 1 0%}.controls-wrapper{display:-ms-flexbox;display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-ui-border-2)}";
26
26
 
27
27
  let CalciteInlineEditable = class {
28
28
  constructor(hostRef) {
@@ -55,39 +55,38 @@ let CalciteInlineEditable = class {
55
55
  * @default "Save"
56
56
  */
57
57
  this.intlConfirmChanges = TEXT.intlConfirmChanges;
58
- this.editingCancelTransitionProp = "border-top-color";
59
- //--------------------------------------------------------------------------
60
- //
61
- // Private Methods
62
- //
63
- //--------------------------------------------------------------------------
64
58
  this.transitionEnd = (event) => {
65
- if (!this.editingEnabled && event.propertyName === this.editingCancelTransitionProp) {
59
+ if (!this.editingEnabled && !!this.shouldEmitCancel) {
66
60
  this.calciteInlineEditableEditingCancel.emit(event);
67
61
  }
68
62
  };
69
63
  this.enableEditing = () => {
70
- this.htmlInput.tabIndex = undefined;
71
64
  this.valuePriorToEditing = this.inputElement.value;
72
65
  this.editingEnabled = true;
73
66
  this.inputElement.setFocus();
74
67
  this.calciteInlineEditableEnableEditingChange.emit();
75
68
  };
76
69
  this.disableEditing = () => {
77
- this.htmlInput.tabIndex = -1;
78
70
  this.editingEnabled = false;
79
71
  };
80
- this.cancelEditingEnd = () => {
81
- this.enableEditingButton.setFocus();
82
- this.el.removeEventListener("calciteInlineEditableEditingCancel", this.cancelEditingEnd);
83
- };
84
72
  this.cancelEditing = () => {
85
73
  this.inputElement.value = this.valuePriorToEditing;
86
- this.el.addEventListener("calciteInlineEditableEditingCancel", this.cancelEditingEnd);
87
74
  this.disableEditing();
75
+ this.enableEditingButton.setFocus();
88
76
  };
89
77
  this.escapeKeyHandler = async (e) => {
90
78
  if (e.key !== "Escape") {
79
+ if (e.key === "Tab" && this.shouldShowControls) {
80
+ if (!e.shiftKey && e.target === this.inputElement) {
81
+ e.preventDefault();
82
+ this.cancelEditingButton.setFocus();
83
+ }
84
+ if (!!e.shiftKey && e.target === this.cancelEditingButton) {
85
+ e.preventDefault();
86
+ e.stopPropagation();
87
+ this.inputElement.setFocus();
88
+ }
89
+ }
91
90
  return;
92
91
  }
93
92
  this.cancelEditing();
@@ -116,6 +115,7 @@ let CalciteInlineEditable = class {
116
115
  this.loading = true;
117
116
  await this.afterConfirm();
118
117
  this.disableEditing();
118
+ this.enableEditingButton.setFocus();
119
119
  }
120
120
  }
121
121
  catch (e) {
@@ -128,11 +128,23 @@ let CalciteInlineEditable = class {
128
128
  disabledWatcher(disabled) {
129
129
  this.inputElement.disabled = disabled;
130
130
  }
131
+ editingEnabledWatcher(newValue, oldValue) {
132
+ this.inputElement.editingEnabled = newValue;
133
+ if (!newValue && !!oldValue) {
134
+ this.shouldEmitCancel = true;
135
+ }
136
+ }
131
137
  //--------------------------------------------------------------------------
132
138
  //
133
139
  // Lifecycle
134
140
  //
135
141
  //--------------------------------------------------------------------------
142
+ connectedCallback() {
143
+ connectLabel(this);
144
+ }
145
+ disconnectedCallback() {
146
+ disconnectLabel(this);
147
+ }
136
148
  componentWillLoad() {
137
149
  this.inputElement = this.el.querySelector("calcite-input");
138
150
  this.inputElement.disabled = this.disabled;
@@ -140,21 +152,12 @@ let CalciteInlineEditable = class {
140
152
  this.scale =
141
153
  this.scale || this.inputElement.scale || getElementProp(this.el, "scale", undefined);
142
154
  }
143
- componentDidLoad() {
144
- this.htmlInput = this.inputElement.querySelector("input");
145
- if (!this.editingEnabled) {
146
- this.htmlInput.tabIndex = -1;
147
- }
148
- }
149
- connectedCallback() {
150
- connectLabel(this);
151
- }
152
- disconnectedCallback() {
153
- disconnectLabel(this);
154
- }
155
155
  render() {
156
- return (h("div", { class: CSS.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd }, h("div", { class: CSS.inputWrapper }, h("slot", null)), h("div", { class: CSS.controlsWrapper }, !this.editingEnabled && (h("calcite-button", { appearance: "transparent", class: CSS.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale })), this.shouldShowControls && [
157
- h("div", { class: CSS.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, scale: this.scale })),
156
+ return (h("div", { class: CSS.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler, onTransitionEnd: this.transitionEnd }, h("div", { class: CSS.inputWrapper }, h("slot", null)), h("div", { class: CSS.controlsWrapper }, h("calcite-button", { appearance: "transparent", class: CSS.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
157
+ opacity: this.editingEnabled ? "0" : "1",
158
+ width: this.editingEnabled ? "0" : "inherit"
159
+ } }), this.shouldShowControls && [
160
+ h("div", { class: CSS.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale })),
158
161
  h("calcite-button", { appearance: "solid", class: CSS.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale })
159
162
  ])));
160
163
  }
@@ -168,9 +171,6 @@ let CalciteInlineEditable = class {
168
171
  this.disableEditing();
169
172
  }
170
173
  }
171
- onLabelClick() {
172
- this.setFocus();
173
- }
174
174
  //--------------------------------------------------------------------------
175
175
  //
176
176
  // Public Methods
@@ -185,12 +185,21 @@ let CalciteInlineEditable = class {
185
185
  (_b = this.enableEditingButton) === null || _b === void 0 ? void 0 : _b.setFocus();
186
186
  }
187
187
  }
188
+ //--------------------------------------------------------------------------
189
+ //
190
+ // Private Methods
191
+ //
192
+ //--------------------------------------------------------------------------
193
+ onLabelClick() {
194
+ this.setFocus();
195
+ }
188
196
  get shouldShowControls() {
189
197
  return this.editingEnabled && this.controls;
190
198
  }
191
199
  get el() { return getElement(this); }
192
200
  static get watchers() { return {
193
- "disabled": ["disabledWatcher"]
201
+ "disabled": ["disabledWatcher"],
202
+ "editingEnabled": ["editingEnabledWatcher"]
194
203
  }; }
195
204
  };
196
205
  CalciteInlineEditable.style = calciteInlineEditableCss;
@@ -2,17 +2,18 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-66803519.js';
6
- import { T as TEXT, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, s as sameDate, p as parseDateString, i as inRange } from './resources-c59a1a15.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
+ import { T as TEXT, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, s as sameDate, p as parseDateString, i as inRange } from './resources-bece7a88.js';
7
7
  import { a as getElementDir } from './dom-f24e866c.js';
8
8
  import { g as getKey } from './key-69001a68.js';
9
- import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-bb61bdef.js';
9
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-5559055d.js';
10
+ import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-160b0fb5.js';
10
11
  import { u as updatePopper, C as CSS, c as createPopper } from './popper-dc4b45cf.js';
11
12
  import './locale-6c1b85c7.js';
12
13
  import './number-e7393766.js';
13
14
  import './guid-196bd5ea.js';
14
15
 
15
- const calciteInputDatePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-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}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}";
16
+ const calciteInputDatePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:top;width:100%;position:relative;overflow:visible}:host .menu-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}:host .menu-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.calendar-picker-wrapper{-webkit-box-shadow:none;box-shadow:none;position:static;width:100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:-ms-flexbox;display:flex}:host([range]) .input-wrapper{-ms-flex:1 1 auto;flex:1 1 auto}:host([range]) .horizontal-arrow-container{background-color:var(--calcite-ui-background);padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-left-width:0;border-right-width:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{top:1.5rem;left:0;padding-left:0.625rem;padding-right:0.625rem;margin-left:1px;margin-right:1px;position:absolute;z-index:10;background-color:var(--calcite-ui-foreground-1)}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{width:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{width:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{width:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}:host([active]) .menu-container{visibility:visible;pointer-events:auto}.input .calcite-input__wrapper{margin-top:0}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{top:1.5rem;padding-left:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{width:0.75rem;height:0.75rem;min-width:0}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{top:2.25rem;padding-left:0.875rem;padding-right:0.875rem}:host([range][layout=vertical][active]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
16
17
 
17
18
  const DEFAULT_PLACEMENT = "bottom-leading";
18
19
  let CalciteInputDatePicker = class {
@@ -22,6 +23,15 @@ let CalciteInputDatePicker = class {
22
23
  this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
23
24
  this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
24
25
  this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 7);
26
+ //--------------------------------------------------------------------------
27
+ //
28
+ // Public Properties
29
+ //
30
+ //--------------------------------------------------------------------------
31
+ /**
32
+ * When false, the component won't be interactive.
33
+ */
34
+ this.disabled = false;
25
35
  /** Expand or collapse when calendar does not have input */
26
36
  this.active = false;
27
37
  /** Localized string for "previous month" (used for aria label)
@@ -38,6 +48,12 @@ let CalciteInputDatePicker = class {
38
48
  this.scale = "m";
39
49
  /** Range mode activation */
40
50
  this.range = false;
51
+ /**
52
+ * When true, makes the component required for form-submission.
53
+ *
54
+ * @internal
55
+ */
56
+ this.required = false;
41
57
  /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */
42
58
  this.overlayPositioning = "absolute";
43
59
  /** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
@@ -112,6 +128,7 @@ let CalciteInputDatePicker = class {
112
128
  const { startDate, endDate } = event.detail;
113
129
  this.start = dateToISO(startDate);
114
130
  this.end = dateToISO(endDate);
131
+ this.value = [this.start, this.end];
115
132
  if (this.shouldFocusRangeEnd()) {
116
133
  (_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
117
134
  }
@@ -120,6 +137,23 @@ let CalciteInputDatePicker = class {
120
137
  }
121
138
  };
122
139
  }
140
+ valueHandler(value) {
141
+ if (Array.isArray(value)) {
142
+ this.valueAsDate = value.map((v) => dateFromISO(v));
143
+ this.start = value[0];
144
+ this.end = value[1];
145
+ }
146
+ else if (value) {
147
+ this.valueAsDate = dateFromISO(value);
148
+ this.start = "";
149
+ this.end = "";
150
+ }
151
+ else {
152
+ this.valueAsDate = undefined;
153
+ this.start = undefined;
154
+ this.end = undefined;
155
+ }
156
+ }
123
157
  activeHandler() {
124
158
  this.reposition();
125
159
  }
@@ -163,8 +197,15 @@ let CalciteInputDatePicker = class {
163
197
  //
164
198
  // --------------------------------------------------------------------------
165
199
  connectedCallback() {
166
- if (this.value) {
200
+ if (Array.isArray(this.value)) {
201
+ this.valueAsDate = this.value.map((v) => dateFromISO(v));
202
+ this.start = this.value[0];
203
+ this.end = this.value[1];
204
+ }
205
+ else if (this.value) {
167
206
  this.valueAsDate = dateFromISO(this.value);
207
+ this.start = "";
208
+ this.end = "";
168
209
  }
169
210
  if (this.start) {
170
211
  this.startAsDate = dateFromISO(this.start);
@@ -180,6 +221,7 @@ let CalciteInputDatePicker = class {
180
221
  }
181
222
  this.createPopper();
182
223
  connectLabel(this);
224
+ connectForm(this);
183
225
  }
184
226
  async componentWillLoad() {
185
227
  await this.loadLocaleData();
@@ -187,9 +229,11 @@ let CalciteInputDatePicker = class {
187
229
  disconnectedCallback() {
188
230
  this.destroyPopper();
189
231
  disconnectLabel(this);
232
+ disconnectForm(this);
190
233
  }
191
234
  render() {
192
235
  var _a, _b;
236
+ const { disabled } = this;
193
237
  const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
194
238
  const endDate = this.range
195
239
  ? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
@@ -197,7 +241,7 @@ let CalciteInputDatePicker = class {
197
241
  const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
198
242
  const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
199
243
  const dir = getElementDir(this.el);
200
- 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" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, 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 })), h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl }, h("div", { class: {
244
+ 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" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, 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 })), h("div", { "aria-hidden": (!this.active).toString(), class: "menu-container", ref: this.setMenuEl }, h("div", { class: {
201
245
  ["calendar-picker-wrapper"]: true,
202
246
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
203
247
  [CSS.animation]: true,
@@ -205,7 +249,7 @@ let CalciteInputDatePicker = class {
205
249
  }, onTransitionEnd: this.transitionEnd }, 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 }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
206
250
  input: true,
207
251
  "border-t-color-1": this.layout === "vertical" && this.range
208
- }, 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 })))))));
252
+ }, 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 }))))), h(HiddenFormInputSlot, { component: this })));
209
253
  }
210
254
  setReferenceEl() {
211
255
  const { focusedInput, layout, endWrapper, startWrapper } = this;
@@ -255,9 +299,6 @@ let CalciteInputDatePicker = class {
255
299
  }
256
300
  this.popper = null;
257
301
  }
258
- valueWatcher(value) {
259
- this.valueAsDate = dateFromISO(value);
260
- }
261
302
  startWatcher(start) {
262
303
  this.startAsDate = dateFromISO(start);
263
304
  }
@@ -270,14 +311,16 @@ let CalciteInputDatePicker = class {
270
311
  }
271
312
  clearCurrentValue() {
272
313
  if (!this.range) {
273
- this.value = undefined;
314
+ this.value = "";
274
315
  return;
275
316
  }
276
317
  const { focusedInput } = this;
277
318
  if (focusedInput === "start") {
319
+ this.value = Array.isArray(this.value) ? ["", this.value[1] || ""] : [""];
278
320
  this.start = undefined;
279
321
  }
280
322
  else if (focusedInput === "end") {
323
+ this.value = Array.isArray(this.value) ? [this.value[0] || "", ""] : ["", ""];
281
324
  this.end = undefined;
282
325
  }
283
326
  }
@@ -297,7 +340,11 @@ let CalciteInputDatePicker = class {
297
340
  const { focusedInput } = this;
298
341
  if (focusedInput === "start") {
299
342
  if (!this.startAsDate || !sameDate(date, this.startAsDate)) {
300
- this.start = dateToISO(date);
343
+ const startDateISO = dateToISO(date);
344
+ this.value = Array.isArray(this.value)
345
+ ? [startDateISO, this.value[1] || ""]
346
+ : [startDateISO];
347
+ this.start = startDateISO;
301
348
  this.calciteDatePickerRangeChange.emit({
302
349
  startDate: date,
303
350
  endDate: this.endAsDate
@@ -306,7 +353,11 @@ let CalciteInputDatePicker = class {
306
353
  }
307
354
  else if (focusedInput === "end") {
308
355
  if (!this.endAsDate || !sameDate(date, this.endAsDate)) {
309
- this.end = dateToISO(date);
356
+ const endDateISO = dateToISO(date);
357
+ this.value = Array.isArray(this.value)
358
+ ? [this.value[0] || "", endDateISO]
359
+ : ["", endDateISO];
360
+ this.end = endDateISO;
310
361
  this.calciteDatePickerRangeChange.emit({
311
362
  startDate: this.startAsDate,
312
363
  endDate: date
@@ -322,7 +373,9 @@ let CalciteInputDatePicker = class {
322
373
  const date = this.getDateFromInput(target.value);
323
374
  if (!date) {
324
375
  if (!range && valueAsDate) {
325
- target.value = valueAsDate.toLocaleDateString(locale);
376
+ target.value = Array.isArray(valueAsDate)
377
+ ? valueAsDate[focusedInput === "end" ? 1 : 0].toLocaleDateString(locale)
378
+ : valueAsDate.toLocaleDateString(locale);
326
379
  }
327
380
  else if (focusedInput === "start" && startAsDate) {
328
381
  target.value = startAsDate.toLocaleDateString(locale);
@@ -373,10 +426,10 @@ let CalciteInputDatePicker = class {
373
426
  }
374
427
  get el() { return getElement(this); }
375
428
  static get watchers() { return {
429
+ "value": ["valueHandler"],
376
430
  "active": ["activeHandler"],
377
431
  "layout": ["setReferenceEl"],
378
432
  "focusedInput": ["setReferenceEl"],
379
- "value": ["valueWatcher"],
380
433
  "start": ["startWatcher"],
381
434
  "end": ["endWatcher"],
382
435
  "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, h, H as Host, g as getElement } from './index-66803519.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { s as setRequestedIcon, d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-f24e866c.js';
7
7
  import './guid-196bd5ea.js';
8
8