@esri/calcite-components 1.0.0-next.621 → 1.0.0-next.623

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 (649) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/{p-92fba838.js → p-04fd6182.js} +2 -2
  4. package/dist/calcite/{p-fa5734b0.entry.js → p-0595ac4c.entry.js} +2 -2
  5. package/dist/calcite/{p-2a2481ff.entry.js → p-09696047.entry.js} +2 -2
  6. package/dist/calcite/{p-0521d204.entry.js → p-09ae6f64.entry.js} +2 -2
  7. package/dist/calcite/{p-44fc18dc.entry.js → p-0bd3f205.entry.js} +2 -2
  8. package/dist/calcite/{p-322a0ed2.js → p-11e91f58.js} +1 -1
  9. package/dist/calcite/{p-c318a3f7.entry.js → p-13bab275.entry.js} +2 -2
  10. package/dist/calcite/{p-3dbdaa52.entry.js → p-18b67121.entry.js} +2 -2
  11. package/dist/calcite/{p-53edbf75.entry.js → p-1b14dcb7.entry.js} +2 -2
  12. package/dist/calcite/{p-1df5485b.entry.js → p-22e9f634.entry.js} +2 -2
  13. package/dist/calcite/{p-0952a584.entry.js → p-2670c9e4.entry.js} +2 -2
  14. package/dist/calcite/p-26f2b7f5.js +6 -0
  15. package/dist/calcite/{p-f791dfa5.entry.js → p-2773b7ef.entry.js} +2 -2
  16. package/dist/calcite/{p-6b8b8c34.entry.js → p-2897d202.entry.js} +2 -2
  17. package/dist/calcite/{p-c4d6edf1.entry.js → p-2eb3250d.entry.js} +2 -2
  18. package/dist/calcite/{p-0fa0c792.js → p-30808671.js} +2 -2
  19. package/dist/calcite/{p-e4586625.entry.js → p-3353d6e4.entry.js} +2 -2
  20. package/dist/calcite/{p-2138b0b6.entry.js → p-348c4f79.entry.js} +2 -2
  21. package/dist/calcite/{p-0bdd14f0.js → p-355b7cf9.js} +1 -1
  22. package/dist/calcite/{p-ef467f86.js → p-366feaa8.js} +1 -1
  23. package/dist/calcite/p-399a601c.entry.js +6 -0
  24. package/dist/calcite/{p-60aa9acf.entry.js → p-3a4edb92.entry.js} +2 -2
  25. package/dist/calcite/{p-677bd60b.entry.js → p-3bac095d.entry.js} +2 -2
  26. package/dist/calcite/p-3c3c31f7.js +6 -0
  27. package/dist/calcite/p-406165b9.entry.js +6 -0
  28. package/dist/calcite/{p-9cd0124d.entry.js → p-46ca7df5.entry.js} +2 -2
  29. package/dist/calcite/{p-19fd7fdd.entry.js → p-47ceca5e.entry.js} +2 -2
  30. package/dist/calcite/{p-ae16a763.entry.js → p-48f7e6b3.entry.js} +2 -2
  31. package/dist/calcite/{p-e7c5dc6a.js → p-4b2c4894.js} +2 -2
  32. package/dist/calcite/{p-3fb5c925.js → p-4f954fa8.js} +1 -1
  33. package/dist/calcite/{p-f6df89ee.entry.js → p-551f7bbd.entry.js} +2 -2
  34. package/dist/calcite/{p-a8b94643.entry.js → p-56ee0f01.entry.js} +2 -2
  35. package/dist/calcite/{p-49ff5254.entry.js → p-57b8a8c8.entry.js} +2 -2
  36. package/dist/calcite/{p-09efa156.js → p-5940f0e0.js} +1 -1
  37. package/dist/calcite/{p-6a318899.entry.js → p-5d47f00a.entry.js} +2 -2
  38. package/dist/calcite/{p-e27d014b.entry.js → p-5e810390.entry.js} +2 -2
  39. package/dist/calcite/{p-78842e04.js → p-623614af.js} +2 -2
  40. package/dist/calcite/{p-d5bd2cce.entry.js → p-6241594b.entry.js} +2 -2
  41. package/dist/calcite/{p-76f423b1.js → p-643ef81d.js} +2 -2
  42. package/dist/calcite/{p-8d4a6d2e.js → p-646d7d85.js} +1 -1
  43. package/dist/calcite/{p-8d2b16bc.entry.js → p-65cbb73a.entry.js} +2 -2
  44. package/dist/calcite/{p-85e746b3.entry.js → p-67a4367e.entry.js} +2 -2
  45. package/dist/calcite/{p-bce1438e.entry.js → p-68d3ba94.entry.js} +2 -2
  46. package/dist/calcite/{p-2180565b.js → p-6aa7723a.js} +1 -1
  47. package/dist/calcite/{p-2d119582.entry.js → p-6d7b0abe.entry.js} +2 -2
  48. package/dist/calcite/{p-d5ab7d86.js → p-6df279cc.js} +2 -2
  49. package/dist/calcite/{p-973f536b.entry.js → p-7a899648.entry.js} +2 -2
  50. package/dist/calcite/{p-b7d84fd3.entry.js → p-7ed776a5.entry.js} +2 -2
  51. package/dist/calcite/{p-a5290358.entry.js → p-819608a3.entry.js} +2 -2
  52. package/dist/calcite/{p-56ac3ebb.entry.js → p-85df868a.entry.js} +2 -2
  53. package/dist/calcite/p-8f8965da.js +6 -0
  54. package/dist/calcite/{p-5011d3d1.entry.js → p-9077dc7b.entry.js} +2 -2
  55. package/dist/calcite/{p-41485201.js → p-91887b43.js} +1 -1
  56. package/dist/calcite/{p-105295b3.entry.js → p-91959924.entry.js} +2 -2
  57. package/dist/calcite/{p-e3bae452.js → p-98123542.js} +1 -1
  58. package/dist/calcite/{p-3891aeef.entry.js → p-989885b8.entry.js} +2 -2
  59. package/dist/calcite/{p-6e5a7881.entry.js → p-9b1c2bac.entry.js} +2 -2
  60. package/dist/calcite/{p-15940da2.entry.js → p-9e499a17.entry.js} +2 -2
  61. package/dist/calcite/{p-3253e0f7.entry.js → p-a729ba9d.entry.js} +2 -2
  62. package/dist/calcite/{p-90d92bec.entry.js → p-ab021c05.entry.js} +2 -2
  63. package/dist/calcite/{p-168a6ac9.entry.js → p-ab6c3082.entry.js} +2 -2
  64. package/dist/calcite/{p-617b6222.js → p-ae0c7d32.js} +2 -2
  65. package/dist/calcite/{p-dfe7edf4.entry.js → p-b2d5191c.entry.js} +2 -2
  66. package/dist/calcite/{p-89b3f2cc.entry.js → p-b4085ed5.entry.js} +2 -2
  67. package/dist/calcite/{p-926ecaf9.entry.js → p-b6925a05.entry.js} +2 -2
  68. package/dist/calcite/{p-d14fe8fb.js → p-b72c7fc9.js} +1 -1
  69. package/dist/calcite/{p-caffe56d.entry.js → p-c1107550.entry.js} +2 -2
  70. package/dist/calcite/{p-aa50ed7b.entry.js → p-c14b2850.entry.js} +2 -2
  71. package/dist/calcite/{p-7d0a0f90.entry.js → p-c19f23c9.entry.js} +2 -2
  72. package/dist/calcite/{p-95a223ae.entry.js → p-c355bab3.entry.js} +2 -2
  73. package/dist/calcite/{p-4df78bad.entry.js → p-c5214cbc.entry.js} +2 -2
  74. package/dist/calcite/{p-08863064.entry.js → p-cde125f1.entry.js} +2 -2
  75. package/dist/calcite/{p-bdc088d1.js → p-ced0cf16.js} +2 -2
  76. package/dist/calcite/{p-9d19f843.js → p-d04ab0de.js} +1 -1
  77. package/dist/calcite/{p-272bb78b.js → p-d3dc8bcf.js} +1 -1
  78. package/dist/calcite/{p-09cda1db.entry.js → p-d977a78f.entry.js} +2 -2
  79. package/dist/calcite/{p-02d06f36.entry.js → p-da3c5654.entry.js} +2 -2
  80. package/dist/calcite/{p-edaac0ed.js → p-dab8fac6.js} +1 -1
  81. package/dist/calcite/{p-7e683a16.entry.js → p-de1cc7e4.entry.js} +2 -2
  82. package/dist/calcite/{p-dd56c58e.js → p-de9c9782.js} +1 -1
  83. package/dist/calcite/{p-0f9dd6cb.entry.js → p-dff4d005.entry.js} +2 -2
  84. package/dist/calcite/{p-f3045588.js → p-e5a9e20b.js} +1 -1
  85. package/dist/calcite/{p-390df669.js → p-e5ddbb1c.js} +1 -1
  86. package/dist/calcite/{p-c4428a1d.entry.js → p-e8efdf9f.entry.js} +2 -2
  87. package/dist/calcite/{p-3fd5f4ef.js → p-eaa02364.js} +2 -2
  88. package/dist/calcite/{p-adaf07bb.js → p-f1ab3157.js} +2 -2
  89. package/dist/calcite/{p-05279aef.entry.js → p-f636a554.entry.js} +2 -2
  90. package/dist/calcite/{p-3dbbb524.entry.js → p-f8394c34.entry.js} +2 -2
  91. package/dist/calcite/{p-12beb662.entry.js → p-ff098f27.entry.js} +2 -2
  92. package/dist/cjs/{ExpandToggle-30870be4.js → ExpandToggle-18235848.js} +5 -5
  93. package/dist/cjs/{Heading-50e27201.js → Heading-0db9175a.js} +2 -2
  94. package/dist/cjs/{app-globals-454ef5c3.js → app-globals-f8e080b5.js} +2 -2
  95. package/dist/cjs/{array-14b8a712.js → array-886c87d8.js} +1 -1
  96. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  98. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  99. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  100. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  101. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  102. package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
  103. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  104. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  105. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  106. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  107. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  108. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  109. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  111. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +26 -22
  112. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
  113. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  114. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  115. package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
  116. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  117. package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
  118. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  119. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  120. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  121. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +202 -192
  122. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  123. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  124. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  125. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
  126. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  127. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  128. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  129. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  130. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  131. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  132. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  133. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  134. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
  135. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  136. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  137. package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -11
  138. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  139. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  140. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  141. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  142. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  143. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  144. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  145. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  146. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  147. package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
  148. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  149. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  150. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  151. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  152. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  153. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
  154. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  155. package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
  156. package/dist/cjs/calcite.cjs.js +5 -5
  157. package/dist/cjs/{conditionalSlot-0218bdb0.js → conditionalSlot-fd320878.js} +3 -3
  158. package/dist/cjs/{debounce-9f721f0f.js → debounce-bb717590.js} +1 -1
  159. package/dist/cjs/{dom-111d0b48.js → dom-0aabd897.js} +3 -3
  160. package/dist/cjs/{filter-93e488ed.js → filter-8f65e79c.js} +2 -2
  161. package/dist/cjs/{floating-ui-2b3588cc.js → floating-ui-c45516f6.js} +4 -4
  162. package/dist/cjs/{form-574759e3.js → form-4c422179.js} +3 -3
  163. package/dist/cjs/{guid-f91a5b94.js → guid-94853a3e.js} +1 -1
  164. package/dist/cjs/{index-a435aa25.js → index-b20ebc08.js} +1 -1
  165. package/dist/cjs/index.cjs.js +1 -1
  166. package/dist/cjs/{interactive-3af46bf5.js → interactive-2ebb12dd.js} +1 -1
  167. package/dist/cjs/{interfaces-d038fd36.js → interfaces-5caa07dc.js} +1 -1
  168. package/dist/cjs/{key-8fd9f672.js → key-d3904100.js} +1 -1
  169. package/dist/cjs/{label-320e4b2c.js → label-97021edf.js} +2 -2
  170. package/dist/cjs/loader.cjs.js +5 -5
  171. package/dist/cjs/{locale-17731889.js → locale-76c83cde.js} +4 -4
  172. package/dist/cjs/{math-9f1a8824.js → math-107a0fc7.js} +1 -1
  173. package/dist/cjs/{nonChromiumPlatformUtils-7fec6639.js → nonChromiumPlatformUtils-d595dbeb.js} +6 -6
  174. package/dist/cjs/{observers-01f80ba1.js → observers-375f517f.js} +1 -1
  175. package/dist/cjs/{openCloseComponent-4a377556.js → openCloseComponent-f940e430.js} +1 -1
  176. package/dist/cjs/{resources-622ea992.js → resources-2c64fe3d.js} +55 -12
  177. package/dist/cjs/{resources-1e6c2e18.js → resources-300e28a7.js} +1 -1
  178. package/dist/cjs/{resources-cc09ee96.js → resources-beb08870.js} +1 -1
  179. package/dist/cjs/{resources-a58222d7.js → resources-c23d6080.js} +5 -5
  180. package/dist/cjs/{resources-b33165ed.js → resources-d97a86ea.js} +1 -1
  181. package/dist/cjs/{resources-683f77ba.js → resources-e0f919b2.js} +1 -1
  182. package/dist/cjs/{sortable.esm-46429ff6.js → sortable.esm-e846c1a9.js} +1 -1
  183. package/dist/cjs/{utils-c454cde9.js → utils-bb02fda6.js} +1 -1
  184. package/dist/collection/components/accordion/accordion.js +1 -1
  185. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  186. package/dist/collection/components/accordion-item/resources.js +1 -1
  187. package/dist/collection/components/action/action.js +1 -1
  188. package/dist/collection/components/action/resources.js +1 -1
  189. package/dist/collection/components/action-bar/action-bar.js +1 -1
  190. package/dist/collection/components/action-bar/resources.js +1 -1
  191. package/dist/collection/components/action-bar/utils.js +1 -1
  192. package/dist/collection/components/action-group/action-group.js +1 -1
  193. package/dist/collection/components/action-group/resources.js +1 -1
  194. package/dist/collection/components/action-menu/action-menu.js +1 -1
  195. package/dist/collection/components/action-menu/resources.js +1 -1
  196. package/dist/collection/components/action-pad/action-pad.js +1 -1
  197. package/dist/collection/components/action-pad/resources.js +1 -1
  198. package/dist/collection/components/alert/alert.js +1 -1
  199. package/dist/collection/components/alert/interfaces.js +1 -1
  200. package/dist/collection/components/alert/resources.js +1 -1
  201. package/dist/collection/components/avatar/avatar.js +1 -1
  202. package/dist/collection/components/avatar/utils.js +1 -1
  203. package/dist/collection/components/block/block.js +1 -1
  204. package/dist/collection/components/block/resources.js +1 -1
  205. package/dist/collection/components/block-section/block-section.js +1 -1
  206. package/dist/collection/components/block-section/resources.js +1 -1
  207. package/dist/collection/components/button/button.js +1 -1
  208. package/dist/collection/components/button/resources.js +1 -1
  209. package/dist/collection/components/card/card.js +1 -1
  210. package/dist/collection/components/card/resources.js +1 -1
  211. package/dist/collection/components/checkbox/checkbox.js +1 -1
  212. package/dist/collection/components/chip/chip.js +1 -1
  213. package/dist/collection/components/chip/resources.js +1 -1
  214. package/dist/collection/components/color-picker/color-picker.js +1 -1
  215. package/dist/collection/components/color-picker/resources.js +1 -1
  216. package/dist/collection/components/color-picker/utils.js +1 -1
  217. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  218. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  219. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  220. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  221. package/dist/collection/components/combobox/combobox.js +1 -1
  222. package/dist/collection/components/combobox/resources.js +1 -1
  223. package/dist/collection/components/combobox/utils.js +1 -1
  224. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  225. package/dist/collection/components/combobox-item/resources.js +1 -1
  226. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  227. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  228. package/dist/collection/components/date-picker/date-picker.js +37 -13
  229. package/dist/collection/components/date-picker/resources.js +1 -1
  230. package/dist/collection/components/date-picker/utils.js +1 -1
  231. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  232. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  233. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  234. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  235. package/dist/collection/components/dropdown/dropdown.js +1 -1
  236. package/dist/collection/components/dropdown/resources.js +1 -1
  237. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  238. package/dist/collection/components/dropdown-group/resources.js +1 -1
  239. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  240. package/dist/collection/components/dropdown-item/resources.js +1 -1
  241. package/dist/collection/components/fab/fab.js +1 -1
  242. package/dist/collection/components/fab/resources.js +1 -1
  243. package/dist/collection/components/filter/filter.js +1 -1
  244. package/dist/collection/components/filter/resources.js +1 -1
  245. package/dist/collection/components/flow/flow.js +1 -1
  246. package/dist/collection/components/flow/resources.js +1 -1
  247. package/dist/collection/components/flow-item/flow-item.js +1 -1
  248. package/dist/collection/components/flow-item/resources.js +1 -1
  249. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  250. package/dist/collection/components/functional/Heading.js +1 -1
  251. package/dist/collection/components/graph/graph.js +1 -1
  252. package/dist/collection/components/graph/util.js +1 -1
  253. package/dist/collection/components/handle/handle.js +1 -1
  254. package/dist/collection/components/handle/resources.js +1 -1
  255. package/dist/collection/components/icon/icon.js +1 -1
  256. package/dist/collection/components/icon/resources.js +1 -1
  257. package/dist/collection/components/icon/utils.js +1 -1
  258. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  259. package/dist/collection/components/inline-editable/resources.js +1 -1
  260. package/dist/collection/components/input/input.js +1 -1
  261. package/dist/collection/components/input/resources.js +1 -1
  262. package/dist/collection/components/input-date-picker/input-date-picker.js +195 -193
  263. package/dist/collection/components/input-date-picker/resources.js +1 -1
  264. package/dist/collection/components/input-message/input-message.js +1 -1
  265. package/dist/collection/components/input-message/interfaces.js +1 -1
  266. package/dist/collection/components/input-number/input-number.js +1 -1
  267. package/dist/collection/components/input-number/resources.js +1 -1
  268. package/dist/collection/components/input-text/input-text.js +1 -1
  269. package/dist/collection/components/input-text/resources.js +1 -1
  270. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  271. package/dist/collection/components/label/label.js +1 -1
  272. package/dist/collection/components/label/resources.js +1 -1
  273. package/dist/collection/components/link/link.js +1 -1
  274. package/dist/collection/components/list/list.js +1 -1
  275. package/dist/collection/components/list/resources.js +1 -1
  276. package/dist/collection/components/list-item/list-item.js +1 -1
  277. package/dist/collection/components/list-item/resources.js +1 -1
  278. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  279. package/dist/collection/components/list-item-group/resources.js +1 -1
  280. package/dist/collection/components/loader/loader.js +1 -1
  281. package/dist/collection/components/modal/modal.js +1 -1
  282. package/dist/collection/components/modal/resources.js +1 -1
  283. package/dist/collection/components/notice/notice.js +1 -1
  284. package/dist/collection/components/notice/resources.js +1 -1
  285. package/dist/collection/components/option/option.js +1 -1
  286. package/dist/collection/components/option-group/option-group.js +1 -1
  287. package/dist/collection/components/pagination/pagination.js +1 -1
  288. package/dist/collection/components/pagination/resources.js +1 -1
  289. package/dist/collection/components/panel/panel.js +1 -1
  290. package/dist/collection/components/panel/resources.js +1 -1
  291. package/dist/collection/components/pick-list/pick-list.js +1 -1
  292. package/dist/collection/components/pick-list/resources.js +1 -1
  293. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  294. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  295. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  296. package/dist/collection/components/pick-list-group/resources.js +1 -1
  297. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  298. package/dist/collection/components/pick-list-item/resources.js +1 -1
  299. package/dist/collection/components/popover/PopoverManager.js +1 -1
  300. package/dist/collection/components/popover/popover.js +1 -1
  301. package/dist/collection/components/popover/resources.js +1 -1
  302. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  303. package/dist/collection/components/progress/progress.js +1 -1
  304. package/dist/collection/components/radio-button/radio-button.js +1 -1
  305. package/dist/collection/components/radio-button/resources.js +1 -1
  306. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  307. package/dist/collection/components/radio-group/radio-group.js +1 -1
  308. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  309. package/dist/collection/components/radio-group-item/resources.js +1 -1
  310. package/dist/collection/components/rating/rating.js +1 -1
  311. package/dist/collection/components/rating/resources.js +1 -1
  312. package/dist/collection/components/scrim/resources.js +1 -1
  313. package/dist/collection/components/scrim/scrim.js +1 -1
  314. package/dist/collection/components/select/resources.js +1 -1
  315. package/dist/collection/components/select/select.js +1 -1
  316. package/dist/collection/components/shell/resources.js +1 -1
  317. package/dist/collection/components/shell/shell.js +1 -1
  318. package/dist/collection/components/shell-center-row/resources.js +1 -1
  319. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  320. package/dist/collection/components/shell-panel/resources.js +1 -1
  321. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  322. package/dist/collection/components/slider/resources.js +1 -1
  323. package/dist/collection/components/slider/slider.js +1 -1
  324. package/dist/collection/components/sortable-list/resources.js +1 -1
  325. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  326. package/dist/collection/components/split-button/resources.js +1 -1
  327. package/dist/collection/components/split-button/split-button.js +1 -1
  328. package/dist/collection/components/stepper/stepper.js +1 -1
  329. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  330. package/dist/collection/components/switch/switch.js +1 -1
  331. package/dist/collection/components/tab/tab.js +1 -1
  332. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  333. package/dist/collection/components/tab-title/tab-title.js +1 -1
  334. package/dist/collection/components/tabs/resources.js +1 -1
  335. package/dist/collection/components/tabs/tabs.js +1 -1
  336. package/dist/collection/components/tile/resources.js +1 -1
  337. package/dist/collection/components/tile/tile.js +1 -1
  338. package/dist/collection/components/tile-select/resources.js +1 -1
  339. package/dist/collection/components/tile-select/tile-select.js +1 -1
  340. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  341. package/dist/collection/components/time-picker/resources.js +1 -1
  342. package/dist/collection/components/time-picker/time-picker.js +1 -1
  343. package/dist/collection/components/tip/resources.js +1 -1
  344. package/dist/collection/components/tip/tip.js +1 -1
  345. package/dist/collection/components/tip-group/tip-group.js +1 -1
  346. package/dist/collection/components/tip-manager/resources.js +1 -1
  347. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  348. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  349. package/dist/collection/components/tooltip/resources.js +1 -1
  350. package/dist/collection/components/tooltip/tooltip.js +1 -1
  351. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  352. package/dist/collection/components/tree/interfaces.js +1 -1
  353. package/dist/collection/components/tree/tree.js +1 -1
  354. package/dist/collection/components/tree/utils.js +1 -1
  355. package/dist/collection/components/tree-item/resources.js +1 -1
  356. package/dist/collection/components/tree-item/tree-item.js +1 -1
  357. package/dist/collection/components/value-list/resources.js +1 -1
  358. package/dist/collection/components/value-list/utils.js +1 -1
  359. package/dist/collection/components/value-list/value-list.css +12 -0
  360. package/dist/collection/components/value-list/value-list.js +1 -1
  361. package/dist/collection/components/value-list-item/resources.js +1 -1
  362. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  363. package/dist/collection/utils/array.js +1 -1
  364. package/dist/collection/utils/conditionalSlot.js +1 -1
  365. package/dist/collection/utils/config.js +1 -1
  366. package/dist/collection/utils/date.js +51 -9
  367. package/dist/collection/utils/dom.js +1 -1
  368. package/dist/collection/utils/filter.js +1 -1
  369. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  370. package/dist/collection/utils/floating-ui.js +1 -1
  371. package/dist/collection/utils/form.js +1 -1
  372. package/dist/collection/utils/globalAttributes.js +1 -1
  373. package/dist/collection/utils/globalScript.js +1 -1
  374. package/dist/collection/utils/guid.js +1 -1
  375. package/dist/collection/utils/interactive.js +1 -1
  376. package/dist/collection/utils/key.js +1 -1
  377. package/dist/collection/utils/label.js +1 -1
  378. package/dist/collection/utils/locale.js +1 -1
  379. package/dist/collection/utils/math.js +1 -1
  380. package/dist/collection/utils/number.js +1 -1
  381. package/dist/collection/utils/observers.js +1 -1
  382. package/dist/collection/utils/openCloseComponent.js +1 -1
  383. package/dist/collection/utils/resources.js +1 -1
  384. package/dist/collection/utils/t9n.js +1 -1
  385. package/dist/collection/utils/theme.js +1 -1
  386. package/dist/collection/utils/time.js +1 -1
  387. package/dist/components/ExpandToggle.js +1 -1
  388. package/dist/components/Heading.js +1 -1
  389. package/dist/components/action-group.js +1 -1
  390. package/dist/components/action-menu.js +1 -1
  391. package/dist/components/action.js +1 -1
  392. package/dist/components/array.js +1 -1
  393. package/dist/components/button.js +1 -1
  394. package/dist/components/calcite-accordion-item.js +1 -1
  395. package/dist/components/calcite-accordion.js +1 -1
  396. package/dist/components/calcite-action-bar.js +1 -1
  397. package/dist/components/calcite-action-group.js +1 -1
  398. package/dist/components/calcite-action-menu.js +1 -1
  399. package/dist/components/calcite-action-pad.js +1 -1
  400. package/dist/components/calcite-action.js +1 -1
  401. package/dist/components/calcite-alert.js +1 -1
  402. package/dist/components/calcite-avatar.js +1 -1
  403. package/dist/components/calcite-block-section.js +1 -1
  404. package/dist/components/calcite-block.js +1 -1
  405. package/dist/components/calcite-button.js +1 -1
  406. package/dist/components/calcite-card.js +1 -1
  407. package/dist/components/calcite-checkbox.js +1 -1
  408. package/dist/components/calcite-chip.js +1 -1
  409. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  410. package/dist/components/calcite-color-picker-swatch.js +1 -1
  411. package/dist/components/calcite-color-picker.js +1 -1
  412. package/dist/components/calcite-combobox-item-group.js +1 -1
  413. package/dist/components/calcite-combobox-item.js +1 -1
  414. package/dist/components/calcite-combobox.js +1 -1
  415. package/dist/components/calcite-date-picker-day.js +1 -1
  416. package/dist/components/calcite-date-picker-month-header.js +1 -1
  417. package/dist/components/calcite-date-picker-month.js +1 -1
  418. package/dist/components/calcite-date-picker.js +1 -1
  419. package/dist/components/calcite-dropdown-group.js +1 -1
  420. package/dist/components/calcite-dropdown-item.js +1 -1
  421. package/dist/components/calcite-dropdown.js +1 -1
  422. package/dist/components/calcite-fab.js +1 -1
  423. package/dist/components/calcite-filter.js +1 -1
  424. package/dist/components/calcite-flow-item.js +1 -1
  425. package/dist/components/calcite-flow.js +1 -1
  426. package/dist/components/calcite-graph.js +1 -1
  427. package/dist/components/calcite-handle.js +1 -1
  428. package/dist/components/calcite-icon.js +1 -1
  429. package/dist/components/calcite-inline-editable.js +1 -1
  430. package/dist/components/calcite-input-date-picker.js +191 -180
  431. package/dist/components/calcite-input-message.js +1 -1
  432. package/dist/components/calcite-input-number.js +1 -1
  433. package/dist/components/calcite-input-text.js +1 -1
  434. package/dist/components/calcite-input-time-picker.js +1 -1
  435. package/dist/components/calcite-input.js +1 -1
  436. package/dist/components/calcite-label.js +1 -1
  437. package/dist/components/calcite-link.js +1 -1
  438. package/dist/components/calcite-list-item-group.js +1 -1
  439. package/dist/components/calcite-list-item.js +1 -1
  440. package/dist/components/calcite-list.js +1 -1
  441. package/dist/components/calcite-loader.js +1 -1
  442. package/dist/components/calcite-modal.js +1 -1
  443. package/dist/components/calcite-notice.js +1 -1
  444. package/dist/components/calcite-option-group.js +1 -1
  445. package/dist/components/calcite-option.js +1 -1
  446. package/dist/components/calcite-pagination.js +1 -1
  447. package/dist/components/calcite-panel.js +1 -1
  448. package/dist/components/calcite-pick-list-group.js +1 -1
  449. package/dist/components/calcite-pick-list-item.js +1 -1
  450. package/dist/components/calcite-pick-list.js +1 -1
  451. package/dist/components/calcite-popover-manager.js +1 -1
  452. package/dist/components/calcite-popover.js +1 -1
  453. package/dist/components/calcite-progress.js +1 -1
  454. package/dist/components/calcite-radio-button-group.js +1 -1
  455. package/dist/components/calcite-radio-button.js +1 -1
  456. package/dist/components/calcite-radio-group-item.js +1 -1
  457. package/dist/components/calcite-radio-group.js +1 -1
  458. package/dist/components/calcite-rating.js +1 -1
  459. package/dist/components/calcite-scrim.js +1 -1
  460. package/dist/components/calcite-select.js +1 -1
  461. package/dist/components/calcite-shell-center-row.js +1 -1
  462. package/dist/components/calcite-shell-panel.js +1 -1
  463. package/dist/components/calcite-shell.js +1 -1
  464. package/dist/components/calcite-slider.js +1 -1
  465. package/dist/components/calcite-sortable-list.js +1 -1
  466. package/dist/components/calcite-split-button.js +1 -1
  467. package/dist/components/calcite-stepper-item.js +1 -1
  468. package/dist/components/calcite-stepper.js +1 -1
  469. package/dist/components/calcite-switch.js +1 -1
  470. package/dist/components/calcite-tab-nav.js +1 -1
  471. package/dist/components/calcite-tab-title.js +1 -1
  472. package/dist/components/calcite-tab.js +1 -1
  473. package/dist/components/calcite-tabs.js +1 -1
  474. package/dist/components/calcite-tile-select-group.js +1 -1
  475. package/dist/components/calcite-tile-select.js +1 -1
  476. package/dist/components/calcite-tile.js +1 -1
  477. package/dist/components/calcite-time-picker.js +1 -1
  478. package/dist/components/calcite-tip-group.js +1 -1
  479. package/dist/components/calcite-tip-manager.js +1 -1
  480. package/dist/components/calcite-tip.js +1 -1
  481. package/dist/components/calcite-tooltip-manager.js +1 -1
  482. package/dist/components/calcite-tooltip.js +1 -1
  483. package/dist/components/calcite-tree-item.js +1 -1
  484. package/dist/components/calcite-tree.js +1 -1
  485. package/dist/components/calcite-value-list-item.js +1 -1
  486. package/dist/components/calcite-value-list.js +2 -2
  487. package/dist/components/checkbox.js +1 -1
  488. package/dist/components/chip.js +1 -1
  489. package/dist/components/color-picker-hex-input.js +1 -1
  490. package/dist/components/color-picker-swatch.js +1 -1
  491. package/dist/components/conditionalSlot.js +1 -1
  492. package/dist/components/date-picker-day.js +1 -1
  493. package/dist/components/date-picker-month-header.js +2 -2
  494. package/dist/components/date-picker-month.js +2 -2
  495. package/dist/components/date-picker.js +18 -14
  496. package/dist/components/date.js +52 -10
  497. package/dist/components/debounce.js +1 -1
  498. package/dist/components/dom.js +1 -1
  499. package/dist/components/dropdown.js +1 -1
  500. package/dist/components/filter.js +1 -1
  501. package/dist/components/filter2.js +1 -1
  502. package/dist/components/floating-ui.js +1 -1
  503. package/dist/components/form.js +1 -1
  504. package/dist/components/graph.js +1 -1
  505. package/dist/components/guid.js +1 -1
  506. package/dist/components/handle.js +1 -1
  507. package/dist/components/icon.js +1 -1
  508. package/dist/components/index.js +1 -1
  509. package/dist/components/input.js +1 -1
  510. package/dist/components/interactive.js +1 -1
  511. package/dist/components/interfaces.js +1 -1
  512. package/dist/components/interfaces2.js +1 -1
  513. package/dist/components/key.js +1 -1
  514. package/dist/components/label.js +1 -1
  515. package/dist/components/label2.js +1 -1
  516. package/dist/components/link.js +1 -1
  517. package/dist/components/loader.js +1 -1
  518. package/dist/components/locale.js +1 -1
  519. package/dist/components/math.js +1 -1
  520. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  521. package/dist/components/observers.js +1 -1
  522. package/dist/components/openCloseComponent.js +1 -1
  523. package/dist/components/panel.js +1 -1
  524. package/dist/components/pick-list-item.js +1 -1
  525. package/dist/components/popover.js +1 -1
  526. package/dist/components/progress.js +1 -1
  527. package/dist/components/resources.js +1 -1
  528. package/dist/components/resources2.js +1 -1
  529. package/dist/components/resources3.js +1 -1
  530. package/dist/components/scrim.js +1 -1
  531. package/dist/components/shared-list-render.js +1 -1
  532. package/dist/components/sortable.esm.js +1 -1
  533. package/dist/components/switch.js +1 -1
  534. package/dist/components/tab-nav.js +1 -1
  535. package/dist/components/tab-title.js +1 -1
  536. package/dist/components/tab.js +1 -1
  537. package/dist/components/tabs.js +1 -1
  538. package/dist/components/tile.js +1 -1
  539. package/dist/components/time-picker.js +1 -1
  540. package/dist/components/tooltip.js +1 -1
  541. package/dist/components/utils.js +1 -1
  542. package/dist/components/utils2.js +1 -1
  543. package/dist/esm/{ExpandToggle-2fe0eb69.js → ExpandToggle-9f895528.js} +5 -5
  544. package/dist/esm/{Heading-6b420ea9.js → Heading-6d3b6b5b.js} +2 -2
  545. package/dist/esm/{app-globals-c7367546.js → app-globals-ee56721e.js} +2 -2
  546. package/dist/esm/{array-95f55518.js → array-dc25a282.js} +1 -1
  547. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  548. package/dist/esm/calcite-action-bar.entry.js +11 -11
  549. package/dist/esm/calcite-action-group.entry.js +9 -9
  550. package/dist/esm/calcite-action-menu.entry.js +8 -8
  551. package/dist/esm/calcite-action-pad.entry.js +10 -10
  552. package/dist/esm/calcite-action.entry.js +7 -7
  553. package/dist/esm/calcite-alert.entry.js +10 -10
  554. package/dist/esm/calcite-avatar.entry.js +6 -6
  555. package/dist/esm/calcite-block_2.entry.js +10 -10
  556. package/dist/esm/calcite-button.entry.js +9 -9
  557. package/dist/esm/calcite-card.entry.js +7 -7
  558. package/dist/esm/calcite-checkbox.entry.js +9 -9
  559. package/dist/esm/calcite-chip.entry.js +7 -7
  560. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  561. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  562. package/dist/esm/calcite-date-picker_4.entry.js +26 -22
  563. package/dist/esm/calcite-dropdown_3.entry.js +11 -11
  564. package/dist/esm/calcite-fab.entry.js +6 -6
  565. package/dist/esm/calcite-filter.entry.js +8 -8
  566. package/dist/esm/calcite-flow-item.entry.js +7 -7
  567. package/dist/esm/calcite-flow.entry.js +3 -3
  568. package/dist/esm/calcite-graph_2.entry.js +12 -12
  569. package/dist/esm/calcite-handle.entry.js +5 -5
  570. package/dist/esm/calcite-icon.entry.js +6 -6
  571. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  572. package/dist/esm/calcite-input-date-picker.entry.js +202 -192
  573. package/dist/esm/calcite-input-message.entry.js +5 -5
  574. package/dist/esm/calcite-input-number.entry.js +12 -12
  575. package/dist/esm/calcite-input-text.entry.js +9 -9
  576. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
  577. package/dist/esm/calcite-input.entry.js +12 -12
  578. package/dist/esm/calcite-label.entry.js +6 -6
  579. package/dist/esm/calcite-link.entry.js +6 -6
  580. package/dist/esm/calcite-list_3.entry.js +9 -9
  581. package/dist/esm/calcite-loader.entry.js +3 -3
  582. package/dist/esm/calcite-modal.entry.js +8 -8
  583. package/dist/esm/calcite-notice.entry.js +8 -8
  584. package/dist/esm/calcite-option_3.entry.js +9 -9
  585. package/dist/esm/calcite-pagination.entry.js +8 -8
  586. package/dist/esm/calcite-panel.entry.js +10 -10
  587. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  588. package/dist/esm/calcite-popover_2.entry.js +11 -11
  589. package/dist/esm/calcite-progress.entry.js +2 -2
  590. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  591. package/dist/esm/calcite-radio-button.entry.js +9 -9
  592. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  593. package/dist/esm/calcite-rating.entry.js +9 -9
  594. package/dist/esm/calcite-scrim.entry.js +2 -2
  595. package/dist/esm/calcite-shell_3.entry.js +8 -8
  596. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  597. package/dist/esm/calcite-split-button.entry.js +3 -3
  598. package/dist/esm/calcite-stepper_2.entry.js +9 -9
  599. package/dist/esm/calcite-switch.entry.js +9 -9
  600. package/dist/esm/calcite-tab_4.entry.js +7 -7
  601. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  602. package/dist/esm/calcite-tile.entry.js +8 -8
  603. package/dist/esm/calcite-tip_3.entry.js +8 -8
  604. package/dist/esm/calcite-tooltip_2.entry.js +7 -7
  605. package/dist/esm/calcite-tree_2.entry.js +8 -8
  606. package/dist/esm/calcite-value-list_2.entry.js +13 -13
  607. package/dist/esm/calcite.js +5 -5
  608. package/dist/esm/{conditionalSlot-3e6ff622.js → conditionalSlot-82a00320.js} +3 -3
  609. package/dist/esm/{debounce-baa0cb16.js → debounce-043acf64.js} +1 -1
  610. package/dist/esm/{dom-7f5ae1d3.js → dom-65f0504d.js} +3 -3
  611. package/dist/esm/{filter-0a4e4ea8.js → filter-8ca50f59.js} +2 -2
  612. package/dist/esm/{floating-ui-7afdd776.js → floating-ui-dfab76ec.js} +4 -4
  613. package/dist/esm/{form-4a1f04c5.js → form-91142437.js} +3 -3
  614. package/dist/esm/{guid-f7b01d22.js → guid-9def76fa.js} +1 -1
  615. package/dist/esm/{index-edbe4b19.js → index-bd3cc490.js} +1 -1
  616. package/dist/esm/index.js +1 -1
  617. package/dist/esm/{interactive-b28a6f7f.js → interactive-80132ca3.js} +1 -1
  618. package/dist/esm/{interfaces-40fe82c0.js → interfaces-deb05e21.js} +1 -1
  619. package/dist/esm/{key-73f72ef3.js → key-c82a486a.js} +1 -1
  620. package/dist/esm/{label-cbd83726.js → label-1a523873.js} +2 -2
  621. package/dist/esm/loader.js +5 -5
  622. package/dist/esm/{locale-f27e1f50.js → locale-a887d86e.js} +4 -4
  623. package/dist/esm/{math-f6edd3d2.js → math-a1d6c71e.js} +1 -1
  624. package/dist/esm/{nonChromiumPlatformUtils-0d2ff806.js → nonChromiumPlatformUtils-41ede917.js} +6 -6
  625. package/dist/esm/{observers-2ca1ba4b.js → observers-ed8743d1.js} +1 -1
  626. package/dist/esm/{openCloseComponent-3741a2a8.js → openCloseComponent-01c0a7ea.js} +1 -1
  627. package/dist/esm/{resources-e56f0644.js → resources-2f5d1325.js} +54 -12
  628. package/dist/esm/{resources-4ce8df60.js → resources-7989af4e.js} +1 -1
  629. package/dist/esm/{resources-7b01babf.js → resources-92cd3636.js} +1 -1
  630. package/dist/esm/{resources-07374ab4.js → resources-bce4522e.js} +5 -5
  631. package/dist/esm/{resources-4069c9e2.js → resources-bd95b821.js} +1 -1
  632. package/dist/esm/{resources-66a0a955.js → resources-e870ee36.js} +1 -1
  633. package/dist/esm/{sortable.esm-e0c5a35a.js → sortable.esm-d01cf851.js} +1 -1
  634. package/dist/esm/{utils-8592ea57.js → utils-165db206.js} +1 -1
  635. package/dist/loader/cdn.js +1 -1
  636. package/dist/loader/index.cjs.js +1 -1
  637. package/dist/loader/index.es2017.js +1 -1
  638. package/dist/loader/index.js +1 -1
  639. package/dist/types/components/date-picker/date-picker.d.ts +3 -5
  640. package/dist/types/components/input-date-picker/input-date-picker.d.ts +14 -28
  641. package/dist/types/components.d.ts +10 -2
  642. package/dist/types/utils/date.d.ts +22 -2
  643. package/hydrate/index.js +257 -200
  644. package/package.json +1 -1
  645. package/dist/calcite/p-0a300758.js +0 -6
  646. package/dist/calcite/p-4d82a992.entry.js +0 -6
  647. package/dist/calcite/p-585ec526.entry.js +0 -6
  648. package/dist/calcite/p-6a391414.js +0 -6
  649. package/dist/calcite/p-806686e9.js +0 -6
@@ -1,26 +1,26 @@
1
1
  /*!
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
- * v1.0.0-next.621
4
+ * v1.0.0-next.623
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-a435aa25.js');
11
- const resources = require('./resources-622ea992.js');
12
- const label = require('./label-320e4b2c.js');
13
- const form = require('./form-574759e3.js');
14
- const floatingUi = require('./floating-ui-2b3588cc.js');
15
- const interactive = require('./interactive-3af46bf5.js');
16
- const dom = require('./dom-111d0b48.js');
17
- const openCloseComponent = require('./openCloseComponent-4a377556.js');
18
- const locale = require('./locale-17731889.js');
19
- const key = require('./key-8fd9f672.js');
20
- require('./debounce-9f721f0f.js');
21
- require('./resources-b33165ed.js');
22
- require('./guid-f91a5b94.js');
23
- require('./observers-01f80ba1.js');
10
+ const index = require('./index-b20ebc08.js');
11
+ const resources = require('./resources-2c64fe3d.js');
12
+ const label = require('./label-97021edf.js');
13
+ const form = require('./form-4c422179.js');
14
+ const floatingUi = require('./floating-ui-c45516f6.js');
15
+ const interactive = require('./interactive-2ebb12dd.js');
16
+ const dom = require('./dom-0aabd897.js');
17
+ const openCloseComponent = require('./openCloseComponent-f940e430.js');
18
+ const locale = require('./locale-76c83cde.js');
19
+ const key = require('./key-d3904100.js');
20
+ require('./debounce-bb717590.js');
21
+ require('./resources-d97a86ea.js');
22
+ require('./guid-94853a3e.js');
23
+ require('./observers-375f517f.js');
24
24
 
25
25
  const CSS = {
26
26
  menu: "menu-container",
@@ -54,6 +54,8 @@ const InputDatePicker = class {
54
54
  * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
55
55
  */
56
56
  this.readOnly = false;
57
+ /** Selected date as a string in ISO format (YYYY-MM-DD) */
58
+ this.value = "";
57
59
  /**
58
60
  * When `true`, the component is active.
59
61
  *
@@ -112,9 +114,25 @@ const InputDatePicker = class {
112
114
  this.proximitySelectionDisabled = false;
113
115
  /** Defines the layout of the component. */
114
116
  this.layout = "horizontal";
117
+ this.calciteInternalInputInputHandler = (event) => {
118
+ const target = event.target;
119
+ const value = target.value;
120
+ const { year } = resources.datePartsFromLocalizedString(value, this.localeData);
121
+ if (year && year.length < 4) {
122
+ return;
123
+ }
124
+ const date = resources.dateFromLocalizedString(value, this.localeData);
125
+ if (resources.inRange(date, this.min, this.max)) {
126
+ this.datePickerActiveDate = date;
127
+ }
128
+ };
129
+ this.calciteInternalInputBlurHandler = () => {
130
+ this.commitValue();
131
+ };
115
132
  this.effectiveLocale = "";
116
133
  this.focusedInput = "start";
117
134
  this.globalAttributes = {};
135
+ this.userChangedValue = false;
118
136
  this.openTransitionProp = "opacity";
119
137
  //--------------------------------------------------------------------------
120
138
  //
@@ -141,8 +159,16 @@ const InputDatePicker = class {
141
159
  this.open = false;
142
160
  };
143
161
  this.keyDownHandler = (event) => {
162
+ var _a, _b;
144
163
  const { defaultPrevented, key } = event;
145
164
  if (key === "Enter" && !defaultPrevented) {
165
+ this.commitValue();
166
+ if (this.shouldFocusRangeEnd()) {
167
+ (_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
168
+ }
169
+ else if (this.shouldFocusRangeStart()) {
170
+ (_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
171
+ }
146
172
  if (form.submitForm(this)) {
147
173
  event.preventDefault();
148
174
  }
@@ -153,9 +179,6 @@ const InputDatePicker = class {
153
179
  event.preventDefault();
154
180
  }
155
181
  };
156
- this.inputBlur = (event) => {
157
- this.blur(event.currentTarget);
158
- };
159
182
  this.startInputFocus = () => {
160
183
  if (!this.readOnly) {
161
184
  this.open = true;
@@ -168,18 +191,6 @@ const InputDatePicker = class {
168
191
  }
169
192
  this.focusedInput = "end";
170
193
  };
171
- this.startInputInput = () => {
172
- const parsedValue = this.parseNumerals(this.startInput.value);
173
- const formattedValue = this.formatNumerals(parsedValue);
174
- this.startInput.value = formattedValue;
175
- this.input(parsedValue);
176
- };
177
- this.endInputInput = () => {
178
- const parsedValue = this.parseNumerals(this.endInput.value);
179
- const formattedValue = this.formatNumerals(parsedValue);
180
- this.endInput.value = formattedValue;
181
- this.input(parsedValue);
182
- };
183
194
  this.setFloatingEl = (el) => {
184
195
  if (el) {
185
196
  this.floatingEl = el;
@@ -197,23 +208,25 @@ const InputDatePicker = class {
197
208
  /**
198
209
  * Event handler for when the selected date changes
199
210
  *
200
- * @param event
211
+ * @param event CalciteDatePicker custom change event
201
212
  */
202
213
  this.handleDateChange = (event) => {
203
214
  if (this.range) {
204
215
  return;
205
216
  }
206
- this.value = resources.dateToISO(event.detail);
217
+ event.stopPropagation();
218
+ this.setValue(event.detail);
219
+ this.localizeInputValues();
207
220
  };
208
221
  this.handleDateRangeChange = (event) => {
209
222
  var _a, _b;
210
223
  if (!this.range || !event.detail) {
211
224
  return;
212
225
  }
226
+ event.stopPropagation();
213
227
  const { startDate, endDate } = event.detail;
214
- this.start = resources.dateToISO(startDate);
215
- this.end = resources.dateToISO(endDate);
216
- this.value = [this.start, this.end];
228
+ this.setRangeValue([startDate, endDate]);
229
+ this.localizeInputValues();
217
230
  if (this.shouldFocusRangeEnd()) {
218
231
  (_a = this.endInput) === null || _a === void 0 ? void 0 : _a.setFocus();
219
232
  }
@@ -221,6 +234,71 @@ const InputDatePicker = class {
221
234
  (_b = this.startInput) === null || _b === void 0 ? void 0 : _b.setFocus();
222
235
  }
223
236
  };
237
+ this.setInputValue = (newValue, input = "start") => {
238
+ const inputEl = this[`${input}Input`];
239
+ if (!inputEl) {
240
+ return;
241
+ }
242
+ inputEl.value = newValue;
243
+ };
244
+ this.setRangeValue = (value) => {
245
+ if (!this.range) {
246
+ return;
247
+ }
248
+ const { value: oldValue } = this;
249
+ const oldValueIsArray = Array.isArray(oldValue);
250
+ const valueIsArray = Array.isArray(value);
251
+ const newStartDate = valueIsArray ? value[0] : "";
252
+ const newStartDateISO = valueIsArray ? resources.dateToISO(newStartDate) : "";
253
+ const newEndDate = valueIsArray ? value[1] : "";
254
+ const newEndDateISO = valueIsArray ? resources.dateToISO(newEndDate) : "";
255
+ const newValue = newStartDateISO || newEndDateISO ? [newStartDateISO, newEndDateISO] : "";
256
+ if (newValue === oldValue) {
257
+ return;
258
+ }
259
+ this.userChangedValue = true;
260
+ this.value = newValue;
261
+ this.valueAsDate = newValue ? resources.getValueAsDateRange(newValue) : undefined;
262
+ this.start = newStartDateISO;
263
+ this.end = newEndDateISO;
264
+ const eventDetail = {
265
+ startDate: newStartDate,
266
+ endDate: newEndDate ? resources.setEndOfDay(newEndDate) : null
267
+ };
268
+ const changeEvent = this.calciteInputDatePickerChange.emit();
269
+ const rangeChangeEvent = this.calciteDatePickerRangeChange.emit(eventDetail);
270
+ if ((changeEvent && changeEvent.defaultPrevented) ||
271
+ (rangeChangeEvent && rangeChangeEvent.defaultPrevented)) {
272
+ this.value = oldValue;
273
+ if (oldValueIsArray) {
274
+ this.setInputValue(oldValue[0], "start");
275
+ this.setInputValue(oldValue[1], "end");
276
+ }
277
+ else {
278
+ this.value = oldValue;
279
+ this.setInputValue(oldValue);
280
+ }
281
+ }
282
+ };
283
+ this.setValue = (value) => {
284
+ if (this.range) {
285
+ return;
286
+ }
287
+ const oldValue = this.value;
288
+ const newValue = resources.dateToISO(value);
289
+ if (newValue === oldValue) {
290
+ return;
291
+ }
292
+ this.userChangedValue = true;
293
+ this.valueAsDate = newValue ? resources.dateFromISO(newValue) : undefined;
294
+ this.value = newValue || "";
295
+ const changeEvent = this.calciteInputDatePickerChange.emit();
296
+ const deprecatedDatePickerChangeEvent = this.calciteDatePickerChange.emit(value);
297
+ if (changeEvent.defaultPrevented || deprecatedDatePickerChangeEvent.defaultPrevented) {
298
+ this.value = oldValue;
299
+ this.setInputValue(oldValue);
300
+ }
301
+ };
224
302
  this.commonDateSeparators = [".", "-", "/"];
225
303
  this.formatNumerals = (value) => value
226
304
  ? value
@@ -234,34 +312,31 @@ const InputDatePicker = class {
234
312
  : char)
235
313
  .join("")
236
314
  : "";
237
- this.parseNumerals = (value) => value
238
- ? value
239
- .split("")
240
- .map((char) => key.numberKeys.includes(char) ? locale.numberStringFormatter.delocalize(char) : char)
241
- .join("")
242
- : "";
243
315
  }
244
316
  handleDisabledAndReadOnlyChange(value) {
245
317
  if (!value) {
246
318
  this.open = false;
247
319
  }
248
320
  }
249
- valueHandler(value) {
250
- if (Array.isArray(value)) {
251
- this.valueAsDate = resources.getValueAsDateRange(value);
252
- this.start = value[0];
253
- this.end = value[1];
254
- }
255
- else if (value) {
256
- this.valueAsDate = resources.dateFromISO(value);
257
- this.start = "";
258
- this.end = "";
259
- }
260
- else {
261
- this.valueAsDate = undefined;
262
- this.start = undefined;
263
- this.end = undefined;
321
+ valueWatcher(newValue) {
322
+ if (!this.userChangedValue) {
323
+ if (Array.isArray(newValue)) {
324
+ this.valueAsDate = resources.getValueAsDateRange(newValue);
325
+ this.start = newValue[0];
326
+ this.end = newValue[1];
327
+ }
328
+ else if (newValue) {
329
+ this.valueAsDate = resources.dateFromISO(newValue);
330
+ }
331
+ else {
332
+ this.valueAsDate = undefined;
333
+ }
334
+ this.localizeInputValues();
264
335
  }
336
+ this.userChangedValue = false;
337
+ }
338
+ valueAsDateWatcher(valueAsDate) {
339
+ this.datePickerActiveDate = valueAsDate;
265
340
  }
266
341
  flipPlacementsHandler() {
267
342
  this.setFilteredPlacements();
@@ -304,9 +379,6 @@ const InputDatePicker = class {
304
379
  // Event Listeners
305
380
  //
306
381
  //--------------------------------------------------------------------------
307
- handleDateOrRangeChange() {
308
- this.calciteInputDatePickerChange.emit();
309
- }
310
382
  calciteDaySelectHandler() {
311
383
  if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
312
384
  return;
@@ -355,7 +427,13 @@ const InputDatePicker = class {
355
427
  this.end = this.value[1];
356
428
  }
357
429
  else if (this.value) {
358
- this.valueAsDate = resources.dateFromISO(this.value);
430
+ try {
431
+ this.valueAsDate = resources.dateFromISO(this.value);
432
+ }
433
+ catch (error) {
434
+ this.warnAboutInvalidValue(this.value);
435
+ this.value = "";
436
+ }
359
437
  this.start = "";
360
438
  this.end = "";
361
439
  }
@@ -388,6 +466,7 @@ const InputDatePicker = class {
388
466
  this.onMaxChanged(this.max);
389
467
  }
390
468
  componentDidLoad() {
469
+ this.localizeInputValues();
391
470
  this.reposition(true);
392
471
  }
393
472
  disconnectedCallback() {
@@ -402,21 +481,13 @@ const InputDatePicker = class {
402
481
  }
403
482
  render() {
404
483
  var _a, _b;
405
- const { disabled, readOnly, numberingSystem, effectiveLocale } = this;
484
+ const { disabled, effectiveLocale, numberingSystem, readOnly } = this;
406
485
  locale.numberStringFormatter.numberFormatOptions = {
407
486
  numberingSystem,
408
487
  locale: effectiveLocale,
409
488
  useGrouping: false
410
489
  };
411
- const date = resources.dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
412
- const endDate = this.range
413
- ? resources.dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
414
- : null;
415
- const formattedEndDate = endDate
416
- ? this.formatNumerals(endDate.toLocaleDateString(effectiveLocale))
417
- : "";
418
- const formattedDate = date ? this.formatNumerals(date.toLocaleDateString(effectiveLocale)) : "";
419
- return (index.h(index.Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (index.h("div", { "aria-expanded": dom.toAriaBoolean(this.open), class: "input-container", role: "application" }, index.h("div", { class: "input-wrapper", ref: this.setStartWrapper }, index.h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: label.getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.startInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), index.h("div", { "aria-hidden": dom.toAriaBoolean(!this.open), class: {
490
+ return (index.h(index.Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (index.h("div", { "aria-expanded": dom.toAriaBoolean(this.open), class: "input-container", role: "application" }, index.h("div", { class: "input-wrapper", ref: this.setStartWrapper }, index.h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: label.getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text" })), index.h("div", { "aria-hidden": dom.toAriaBoolean(!this.open), class: {
420
491
  [CSS.menu]: true,
421
492
  [CSS.menuActive]: this.open
422
493
  }, ref: this.setFloatingEl }, index.h("div", { class: {
@@ -424,10 +495,10 @@ const InputDatePicker = class {
424
495
  ["calendar-picker-wrapper--end"]: this.focusedInput === "end",
425
496
  [floatingUi.FloatingCSS.animation]: true,
426
497
  [floatingUi.FloatingCSS.animationActive]: this.open
427
- }, ref: this.setTransitionEl }, index.h("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, 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" && (index.h("div", { class: "horizontal-arrow-container" }, index.h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (index.h("div", { class: "vertical-arrow-container" }, index.h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (index.h("div", { class: "input-wrapper", ref: this.setEndWrapper }, index.h("calcite-input", { class: {
498
+ }, ref: this.setTransitionEl }, index.h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, 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" && (index.h("div", { class: "horizontal-arrow-container" }, index.h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (index.h("div", { class: "vertical-arrow-container" }, index.h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (index.h("div", { class: "input-wrapper", ref: this.setEndWrapper }, index.h("calcite-input", { class: {
428
499
  input: true,
429
500
  "border-top-color-one": this.layout === "vertical" && this.range
430
- }, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.endInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), index.h(form.HiddenFormInputSlot, { component: this })));
501
+ }, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text" }))))), index.h(form.HiddenFormInputSlot, { component: this })));
431
502
  }
432
503
  setReferenceEl() {
433
504
  const { focusedInput, layout, endWrapper, startWrapper } = this;
@@ -452,6 +523,51 @@ const InputDatePicker = class {
452
523
  onClose() {
453
524
  this.calciteInputDatePickerClose.emit();
454
525
  }
526
+ commitValue() {
527
+ const { focusedInput, value } = this;
528
+ const focusedInputName = `${focusedInput}Input`;
529
+ const focusedInputValue = this[focusedInputName].value;
530
+ const date = resources.dateFromLocalizedString(focusedInputValue, this.localeData);
531
+ const dateAsISO = resources.dateToISO(date);
532
+ const valueIsArray = Array.isArray(value);
533
+ if (this.range) {
534
+ const focusedInputValueIndex = focusedInput === "start" ? 0 : 1;
535
+ if (valueIsArray) {
536
+ if (dateAsISO === value[focusedInputValueIndex]) {
537
+ return;
538
+ }
539
+ if (date) {
540
+ this.setRangeValue([
541
+ focusedInput === "start" ? date : resources.dateFromISO(value[0]),
542
+ focusedInput === "end" ? date : resources.dateFromISO(value[1])
543
+ ]);
544
+ this.localizeInputValues();
545
+ }
546
+ else {
547
+ this.setRangeValue([
548
+ focusedInput === "end" && resources.dateFromISO(value[0]),
549
+ focusedInput === "start" && resources.dateFromISO(value[1])
550
+ ]);
551
+ }
552
+ }
553
+ else {
554
+ if (date) {
555
+ this.setRangeValue([
556
+ focusedInput === "start" ? date : resources.dateFromISO(value[0]),
557
+ focusedInput === "end" ? date : resources.dateFromISO(value[1])
558
+ ]);
559
+ this.localizeInputValues();
560
+ }
561
+ }
562
+ }
563
+ else {
564
+ if (dateAsISO === value) {
565
+ return;
566
+ }
567
+ this.setValue(date);
568
+ this.localizeInputValues();
569
+ }
570
+ }
455
571
  startWatcher(start) {
456
572
  this.startAsDate = resources.dateFromISO(start);
457
573
  }
@@ -461,97 +577,6 @@ const InputDatePicker = class {
461
577
  async loadLocaleData() {
462
578
  this.localeData = await resources.getLocaleData(this.effectiveLocale);
463
579
  }
464
- clearCurrentValue() {
465
- if (!this.range) {
466
- if (typeof this.value === "string" && this.value) {
467
- this.calciteDatePickerChange.emit();
468
- }
469
- this.value = "";
470
- return;
471
- }
472
- const { focusedInput } = this;
473
- if (focusedInput === "start") {
474
- if (this.start) {
475
- this.calciteDatePickerRangeChange.emit();
476
- }
477
- this.value = Array.isArray(this.value) ? ["", this.value[1] || ""] : [""];
478
- this.start = undefined;
479
- }
480
- else if (focusedInput === "end") {
481
- if (this.end) {
482
- this.calciteDatePickerRangeChange.emit();
483
- }
484
- this.value = Array.isArray(this.value) ? [this.value[0] || "", ""] : ["", ""];
485
- this.end = undefined;
486
- }
487
- }
488
- /**
489
- * If inputted string is a valid date, update value/active
490
- *
491
- * @param value
492
- */
493
- input(value) {
494
- const date = this.getDateFromInput(value);
495
- if (!date) {
496
- this.clearCurrentValue();
497
- return;
498
- }
499
- if (!this.range) {
500
- this.value = resources.dateToISO(date);
501
- this.calciteDatePickerChange.emit(date);
502
- return;
503
- }
504
- const { focusedInput } = this;
505
- if (focusedInput === "start") {
506
- if (!this.startAsDate || !resources.sameDate(date, this.startAsDate)) {
507
- const startDateISO = resources.dateToISO(date);
508
- this.value = Array.isArray(this.value)
509
- ? [startDateISO, this.value[1] || ""]
510
- : [startDateISO];
511
- this.start = startDateISO;
512
- this.calciteDatePickerRangeChange.emit({
513
- startDate: date,
514
- endDate: this.endAsDate
515
- });
516
- }
517
- }
518
- else if (focusedInput === "end") {
519
- if (!this.endAsDate || !resources.sameDate(date, this.endAsDate)) {
520
- const endDateISO = resources.dateToISO(date);
521
- this.value = Array.isArray(this.value)
522
- ? [this.value[0] || "", endDateISO]
523
- : ["", endDateISO];
524
- this.end = endDateISO;
525
- this.calciteDatePickerRangeChange.emit({
526
- startDate: this.startAsDate,
527
- endDate: resources.setEndOfDay(date)
528
- });
529
- }
530
- }
531
- }
532
- /**
533
- * Clean up invalid date from input on blur
534
- *
535
- * @param target
536
- */
537
- blur(target) {
538
- const { focusedInput, endAsDate, range, startAsDate, valueAsDate } = this;
539
- const locale = this.effectiveLocale;
540
- const date = this.getDateFromInput(target.value);
541
- if (!date) {
542
- if (!range && valueAsDate) {
543
- target.value = this.formatNumerals(Array.isArray(valueAsDate)
544
- ? valueAsDate[focusedInput === "end" ? 1 : 0].toLocaleDateString(locale)
545
- : valueAsDate.toLocaleDateString(locale));
546
- }
547
- else if (focusedInput === "start" && startAsDate) {
548
- target.value = this.formatNumerals(startAsDate.toLocaleDateString(locale));
549
- }
550
- else if (focusedInput === "end" && endAsDate) {
551
- target.value = this.formatNumerals(endAsDate.toLocaleDateString(locale));
552
- }
553
- }
554
- }
555
580
  shouldFocusRangeStart() {
556
581
  return !!(this.endAsDate &&
557
582
  !this.startAsDate &&
@@ -564,40 +589,25 @@ const InputDatePicker = class {
564
589
  this.focusedInput === "start" &&
565
590
  this.endInput);
566
591
  }
567
- /**
568
- * Find a date from input string
569
- * return false if date is invalid, or out of range
570
- *
571
- * @param value
572
- */
573
- getDateFromInput(value) {
574
- if (!this.localeData) {
575
- return false;
576
- }
577
- const { separator } = this.localeData;
578
- const { day, month, year } = resources.parseDateString(value, this.localeData);
579
- const validDay = day > 0;
580
- const validMonth = month > -1;
581
- const date = new Date(year, month, day);
582
- date.setFullYear(year);
583
- const validDate = !isNaN(date.getTime());
584
- const validLength = value.split(separator).filter((c) => c).length > 2;
585
- const validYear = year.toString().length > 0;
586
- if (validDay &&
587
- validMonth &&
588
- validDate &&
589
- validLength &&
590
- validYear &&
591
- resources.inRange(date, this.min, this.max)) {
592
- return date;
593
- }
594
- return false;
592
+ localizeInputValues() {
593
+ const date = resources.dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
594
+ const endDate = this.range
595
+ ? resources.dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
596
+ : null;
597
+ const localizedDate = date && this.formatNumerals(date.toLocaleDateString(this.effectiveLocale));
598
+ const localizedEndDate = endDate && this.formatNumerals(endDate.toLocaleDateString(this.effectiveLocale));
599
+ localizedDate && this.setInputValue(localizedDate, "start");
600
+ this.range && localizedEndDate && this.setInputValue(localizedEndDate, "end");
601
+ }
602
+ warnAboutInvalidValue(value) {
603
+ console.warn(`The specified value "${value}" does not conform to the required format, "yyyy-MM-dd".`);
595
604
  }
596
605
  get el() { return index.getElement(this); }
597
606
  static get watchers() { return {
598
607
  "disabled": ["handleDisabledAndReadOnlyChange"],
599
608
  "readOnly": ["handleDisabledAndReadOnlyChange"],
600
- "value": ["valueHandler"],
609
+ "value": ["valueWatcher"],
610
+ "valueAsDate": ["valueAsDateWatcher"],
601
611
  "flipPlacements": ["flipPlacementsHandler"],
602
612
  "min": ["onMinChanged"],
603
613
  "max": ["onMaxChanged"],
@@ -1,16 +1,16 @@
1
1
  /*!
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
- * v1.0.0-next.621
4
+ * v1.0.0-next.623
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-a435aa25.js');
11
- const dom = require('./dom-111d0b48.js');
12
- require('./resources-b33165ed.js');
13
- require('./guid-f91a5b94.js');
10
+ const index = require('./index-b20ebc08.js');
11
+ const dom = require('./dom-0aabd897.js');
12
+ require('./resources-d97a86ea.js');
13
+ require('./guid-94853a3e.js');
14
14
 
15
15
  var StatusIconDefaults;
16
16
  (function (StatusIconDefaults) {
@@ -1,23 +1,23 @@
1
1
  /*!
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
- * v1.0.0-next.621
4
+ * v1.0.0-next.623
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-a435aa25.js');
11
- const dom = require('./dom-111d0b48.js');
12
- const label = require('./label-320e4b2c.js');
13
- const form = require('./form-574759e3.js');
14
- const locale = require('./locale-17731889.js');
15
- const key = require('./key-8fd9f672.js');
16
- const resources = require('./resources-b33165ed.js');
17
- const math = require('./math-9f1a8824.js');
18
- const observers = require('./observers-01f80ba1.js');
19
- const interactive = require('./interactive-3af46bf5.js');
20
- require('./guid-f91a5b94.js');
10
+ const index = require('./index-b20ebc08.js');
11
+ const dom = require('./dom-0aabd897.js');
12
+ const label = require('./label-97021edf.js');
13
+ const form = require('./form-4c422179.js');
14
+ const locale = require('./locale-76c83cde.js');
15
+ const key = require('./key-d3904100.js');
16
+ const resources = require('./resources-d97a86ea.js');
17
+ const math = require('./math-107a0fc7.js');
18
+ const observers = require('./observers-375f517f.js');
19
+ const interactive = require('./interactive-2ebb12dd.js');
20
+ require('./guid-94853a3e.js');
21
21
 
22
22
  const CSS = {
23
23
  loader: "loader",
@@ -1,20 +1,20 @@
1
1
  /*!
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
- * v1.0.0-next.621
4
+ * v1.0.0-next.623
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-a435aa25.js');
11
- const dom = require('./dom-111d0b48.js');
12
- const label = require('./label-320e4b2c.js');
13
- const form = require('./form-574759e3.js');
14
- const resources = require('./resources-b33165ed.js');
15
- const observers = require('./observers-01f80ba1.js');
16
- const interactive = require('./interactive-3af46bf5.js');
17
- require('./guid-f91a5b94.js');
10
+ const index = require('./index-b20ebc08.js');
11
+ const dom = require('./dom-0aabd897.js');
12
+ const label = require('./label-97021edf.js');
13
+ const form = require('./form-4c422179.js');
14
+ const resources = require('./resources-d97a86ea.js');
15
+ const observers = require('./observers-375f517f.js');
16
+ const interactive = require('./interactive-2ebb12dd.js');
17
+ require('./guid-94853a3e.js');
18
18
 
19
19
  const CSS = {
20
20
  loader: "loader",