@esri/calcite-components 1.0.0-next.576 → 1.0.0-next.579

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 (852) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/index.esm.js +1 -1
  4. package/dist/calcite/{p-d64bed77.entry.js → p-01c3e8d3.entry.js} +2 -2
  5. package/dist/calcite/{p-9e24b319.system.entry.js → p-01fea75a.system.entry.js} +2 -2
  6. package/dist/calcite/{p-b286899b.system.js → p-037c0a36.system.js} +1 -1
  7. package/dist/calcite/{p-dd9ee38c.entry.js → p-0a6a0783.entry.js} +2 -2
  8. package/dist/calcite/{p-a9b1d4a4.entry.js → p-0b761c9d.entry.js} +2 -2
  9. package/dist/calcite/{p-5a4337d3.system.entry.js → p-0c0566b9.system.entry.js} +2 -2
  10. package/dist/calcite/{p-1580b332.system.entry.js → p-0c69e433.system.entry.js} +2 -2
  11. package/dist/calcite/{p-a9fe7931.entry.js → p-0d7f0161.entry.js} +2 -2
  12. package/dist/calcite/{p-7fd9015a.entry.js → p-0eaee689.entry.js} +2 -2
  13. package/dist/calcite/{p-5e23eefc.entry.js → p-0f27c39e.entry.js} +2 -2
  14. package/dist/calcite/{p-926dd4ce.system.entry.js → p-10401c11.system.entry.js} +2 -2
  15. package/dist/calcite/{p-e5cbc24b.system.js → p-1042f056.system.js} +2 -2
  16. package/dist/calcite/{p-cc15ab86.system.js → p-1091e2ab.system.js} +1 -1
  17. package/dist/calcite/{p-9aea24b0.entry.js → p-10f395ef.entry.js} +2 -2
  18. package/dist/calcite/{p-98d922b1.entry.js → p-110b2c0a.entry.js} +2 -2
  19. package/dist/calcite/{p-96df1410.entry.js → p-116355c5.entry.js} +2 -2
  20. package/dist/calcite/{p-f6347608.system.js → p-12f0f9b6.system.js} +2 -2
  21. package/dist/calcite/{p-6c843a7d.system.entry.js → p-1655b1f9.system.entry.js} +2 -2
  22. package/dist/calcite/{p-ba875cbc.entry.js → p-16f03952.entry.js} +2 -2
  23. package/dist/calcite/{p-c4c35103.js → p-184a4bad.js} +2 -2
  24. package/dist/calcite/p-19d7fbab.system.entry.js +6 -0
  25. package/dist/calcite/{p-c19b15b5.entry.js → p-1a0c888a.entry.js} +2 -2
  26. package/dist/calcite/{p-b3965a78.js → p-1a32ed03.js} +1 -1
  27. package/dist/calcite/{p-8daa6da7.js → p-1adf66b0.js} +2 -2
  28. package/dist/calcite/{p-a8bcb1a1.system.entry.js → p-1bbaf388.system.entry.js} +2 -2
  29. package/dist/calcite/{p-5701dfe2.entry.js → p-1ce3b5b5.entry.js} +2 -2
  30. package/dist/calcite/{p-ab6602f7.js → p-1ee211dd.js} +1 -1
  31. package/dist/calcite/{p-76dd13e8.system.js → p-1fe6f9bf.system.js} +2 -2
  32. package/dist/calcite/{p-3182cd22.system.js → p-1ff91a37.system.js} +1 -1
  33. package/dist/calcite/{p-03710730.system.js → p-20b72633.system.js} +1 -1
  34. package/dist/calcite/{p-fac9cf69.system.entry.js → p-233ad93c.system.entry.js} +2 -2
  35. package/dist/calcite/{p-0fe9b606.system.entry.js → p-23c3d662.system.entry.js} +2 -2
  36. package/dist/calcite/{p-fa82297a.system.entry.js → p-263e222d.system.entry.js} +2 -2
  37. package/dist/calcite/{p-1092f237.entry.js → p-279ab656.entry.js} +2 -2
  38. package/dist/calcite/{p-76d99a7b.system.entry.js → p-281708ef.system.entry.js} +2 -2
  39. package/dist/calcite/{p-960675a4.system.entry.js → p-28af9a18.system.entry.js} +2 -2
  40. package/dist/calcite/{p-0063bd54.system.entry.js → p-29499f4c.system.entry.js} +2 -2
  41. package/dist/calcite/{p-2975db93.system.js → p-29633a03.system.js} +2 -2
  42. package/dist/calcite/{p-d3bc790e.system.entry.js → p-2b73c1f6.system.entry.js} +2 -2
  43. package/dist/calcite/{p-dfb23408.system.js → p-2bb92700.system.js} +1 -1
  44. package/dist/calcite/{p-9af07c3e.entry.js → p-2bfc10a7.entry.js} +2 -2
  45. package/dist/calcite/{p-d1baac51.entry.js → p-2d4d9875.entry.js} +2 -2
  46. package/dist/calcite/{p-90bc18da.entry.js → p-2df5e9e2.entry.js} +2 -2
  47. package/dist/calcite/{p-ed924f1b.js → p-36e57dc9.js} +2 -2
  48. package/dist/calcite/{p-9a9d808f.system.entry.js → p-3838ca32.system.entry.js} +2 -2
  49. package/dist/calcite/{p-4d3c4760.js → p-39111a24.js} +1 -1
  50. package/dist/calcite/{p-055689ac.entry.js → p-39aaaef2.entry.js} +2 -2
  51. package/dist/calcite/{p-c8566719.system.entry.js → p-3bc31492.system.entry.js} +3 -3
  52. package/dist/calcite/{p-d03c62db.js → p-3be06abd.js} +2 -2
  53. package/dist/calcite/{p-d1ce94e6.system.entry.js → p-3cf8543b.system.entry.js} +2 -2
  54. package/dist/calcite/{p-478b5bfa.system.entry.js → p-3ea8ed05.system.entry.js} +2 -2
  55. package/dist/calcite/{p-6dbcde67.system.entry.js → p-42c16aed.system.entry.js} +2 -2
  56. package/dist/calcite/{p-8dde86ed.system.js → p-47c65aea.system.js} +2 -2
  57. package/dist/calcite/{p-404f0c9f.system.entry.js → p-4b69076a.system.entry.js} +2 -2
  58. package/dist/calcite/{p-762de88a.entry.js → p-5167f00e.entry.js} +2 -2
  59. package/dist/calcite/{p-7bdcac53.system.entry.js → p-52ee3fdc.system.entry.js} +2 -2
  60. package/dist/calcite/p-53339736.system.js +6 -0
  61. package/dist/calcite/p-53eabeac.entry.js +6 -0
  62. package/dist/calcite/{p-d340c46d.system.entry.js → p-54b5d484.system.entry.js} +2 -2
  63. package/dist/calcite/{p-677b6446.js → p-55103b75.js} +1 -1
  64. package/dist/calcite/{p-cb767160.system.entry.js → p-55c6c7c6.system.entry.js} +2 -2
  65. package/dist/calcite/p-594079b4.js +6 -0
  66. package/dist/calcite/{p-b1dfd6ff.system.js → p-5952e049.system.js} +2 -2
  67. package/dist/calcite/p-596c41c7.entry.js +6 -0
  68. package/dist/calcite/{p-97d06529.system.entry.js → p-5a53d84b.system.entry.js} +2 -2
  69. package/dist/calcite/{p-66d1e0a4.system.entry.js → p-602cd15b.system.entry.js} +2 -2
  70. package/dist/calcite/{p-aa43c144.entry.js → p-60481ada.entry.js} +2 -2
  71. package/dist/calcite/{p-3d5d4d2c.entry.js → p-63bd1727.entry.js} +2 -2
  72. package/dist/calcite/{p-ae9358b7.system.entry.js → p-63e0d1ca.system.entry.js} +2 -2
  73. package/dist/calcite/{p-55b8ed48.entry.js → p-660456f2.entry.js} +2 -2
  74. package/dist/calcite/{p-d71645da.entry.js → p-66943901.entry.js} +2 -2
  75. package/dist/calcite/{p-e3f65e31.system.js → p-67abeb66.system.js} +2 -2
  76. package/dist/calcite/{p-05fe3055.system.entry.js → p-6814b81f.system.entry.js} +2 -2
  77. package/dist/calcite/{p-19828176.system.js → p-68d03432.system.js} +1 -1
  78. package/dist/calcite/{p-e556b877.entry.js → p-6a40551b.entry.js} +2 -2
  79. package/dist/calcite/{p-5b4fe2ee.system.js → p-6b143c84.system.js} +1 -1
  80. package/dist/calcite/{p-f7c72443.entry.js → p-6b6aa6bf.entry.js} +2 -2
  81. package/dist/calcite/{p-47361824.js → p-6bf94e55.js} +1 -1
  82. package/dist/calcite/{p-e00ba801.entry.js → p-6c1d3b65.entry.js} +2 -2
  83. package/dist/calcite/{p-a4db59b2.entry.js → p-6c27f5fc.entry.js} +2 -2
  84. package/dist/calcite/{p-62622654.system.js → p-6ec5d1fd.system.js} +1 -1
  85. package/dist/calcite/{p-6fd47bf6.system.js → p-71a6b6bc.system.js} +1 -1
  86. package/dist/calcite/{p-d2186778.system.js → p-7205f676.system.js} +2 -2
  87. package/dist/calcite/{p-66dfa4f0.system.js → p-73510c62.system.js} +2 -2
  88. package/dist/calcite/{p-d63cd218.entry.js → p-767673ca.entry.js} +2 -2
  89. package/dist/calcite/{p-6e878a5b.js → p-76d89b68.js} +2 -2
  90. package/dist/calcite/{p-f3201bb0.entry.js → p-76e345fc.entry.js} +2 -2
  91. package/dist/calcite/{p-1849141c.system.entry.js → p-796e0a81.system.entry.js} +3 -3
  92. package/dist/calcite/{p-1f47cd4b.system.entry.js → p-7b561900.system.entry.js} +2 -2
  93. package/dist/calcite/{p-06642d43.js → p-7b809364.js} +1 -1
  94. package/dist/calcite/{p-8c2e59d9.entry.js → p-7c2209a9.entry.js} +2 -2
  95. package/dist/calcite/{p-3030925e.system.js → p-7e3aa75f.system.js} +1 -1
  96. package/dist/calcite/{p-6c0211c1.entry.js → p-7f993f50.entry.js} +2 -2
  97. package/dist/calcite/{p-369e807d.system.js → p-816de0b8.system.js} +1 -1
  98. package/dist/calcite/{p-7bc834d6.system.entry.js → p-84d97fcf.system.entry.js} +2 -2
  99. package/dist/calcite/{p-9cff373a.entry.js → p-863dbbd9.entry.js} +2 -2
  100. package/dist/calcite/{p-f226fbfc.system.entry.js → p-86633fc5.system.entry.js} +2 -2
  101. package/dist/calcite/{p-bcc21945.system.js → p-89548a5d.system.js} +1 -1
  102. package/dist/calcite/p-8b41d58d.system.js +6 -0
  103. package/dist/calcite/{p-cc6a1802.system.entry.js → p-8dee835f.system.entry.js} +2 -2
  104. package/dist/calcite/{p-f6d57744.system.entry.js → p-8e15d140.system.entry.js} +2 -2
  105. package/dist/calcite/{p-46ce04f4.system.js → p-8ec5c673.system.js} +2 -2
  106. package/dist/calcite/{p-00d651a3.js → p-93f10ba5.js} +2 -2
  107. package/dist/calcite/{p-a5aee385.entry.js → p-94cc7e1a.entry.js} +2 -2
  108. package/dist/calcite/{p-499143ac.entry.js → p-95dfdb95.entry.js} +2 -2
  109. package/dist/calcite/{p-4183d4fd.system.entry.js → p-96179f57.system.entry.js} +2 -2
  110. package/dist/calcite/p-981e4cc5.system.entry.js +6 -0
  111. package/dist/calcite/{p-adddf205.system.entry.js → p-98ce50ed.system.entry.js} +2 -2
  112. package/dist/calcite/{p-e8ad8f14.system.entry.js → p-9978c23b.system.entry.js} +2 -2
  113. package/dist/calcite/{p-36a2ec14.system.js → p-99e32317.system.js} +1 -1
  114. package/dist/calcite/{p-74d484b8.system.entry.js → p-9af5068c.system.entry.js} +2 -2
  115. package/dist/calcite/{p-3066f23a.system.js → p-9f652e96.system.js} +1 -1
  116. package/dist/calcite/{p-93dd5666.system.entry.js → p-a030c1bb.system.entry.js} +2 -2
  117. package/dist/calcite/{p-982d3df8.system.entry.js → p-a0b72c40.system.entry.js} +2 -2
  118. package/dist/calcite/{p-31313f1f.entry.js → p-a6198327.entry.js} +2 -2
  119. package/dist/calcite/{p-e0c75676.system.js → p-aa34585c.system.js} +1 -1
  120. package/dist/calcite/{p-4dc9141f.entry.js → p-ac9a4966.entry.js} +2 -2
  121. package/dist/calcite/{p-a271fae7.entry.js → p-aca53307.entry.js} +2 -2
  122. package/dist/calcite/{p-728aed53.system.entry.js → p-ae91d667.system.entry.js} +2 -2
  123. package/dist/calcite/{p-112bddc6.entry.js → p-af0bd0d2.entry.js} +2 -2
  124. package/dist/calcite/{p-8234e607.js → p-af6411be.js} +2 -2
  125. package/dist/calcite/{p-bb6fde02.system.js → p-afe1a754.system.js} +2 -2
  126. package/dist/calcite/p-b0956bbd.js +6 -0
  127. package/dist/calcite/{p-82d1c6c4.entry.js → p-b29d531a.entry.js} +2 -2
  128. package/dist/calcite/{p-e51cf891.system.entry.js → p-b4c8cb03.system.entry.js} +2 -2
  129. package/dist/calcite/{p-38261ff9.system.entry.js → p-b92e9502.system.entry.js} +2 -2
  130. package/dist/calcite/{p-a517783e.system.entry.js → p-b962dcda.system.entry.js} +2 -2
  131. package/dist/calcite/{p-bdea289d.system.entry.js → p-b9e1e73e.system.entry.js} +2 -2
  132. package/dist/calcite/{p-2e2b5808.entry.js → p-bcc22e2b.entry.js} +2 -2
  133. package/dist/calcite/p-bd10e864.entry.js +6 -0
  134. package/dist/calcite/{p-444ea4b1.js → p-bd1fac9f.js} +1 -1
  135. package/dist/calcite/{p-07785bab.system.entry.js → p-bd75d9fa.system.entry.js} +3 -3
  136. package/dist/calcite/{p-5e5f793d.js → p-be45e9f1.js} +1 -1
  137. package/dist/calcite/{p-f4364073.entry.js → p-c0400371.entry.js} +2 -2
  138. package/dist/calcite/{p-dfcc691e.entry.js → p-c0953f89.entry.js} +2 -2
  139. package/dist/calcite/{p-c2f58564.entry.js → p-c26df37c.entry.js} +2 -2
  140. package/dist/calcite/{p-c956ed92.entry.js → p-c2a56cf2.entry.js} +2 -2
  141. package/dist/calcite/{p-87145a12.entry.js → p-c5a17914.entry.js} +2 -2
  142. package/dist/calcite/{p-fa714458.entry.js → p-cbf08eb2.entry.js} +2 -2
  143. package/dist/calcite/{p-b941fc92.system.entry.js → p-cbf3a9b8.system.entry.js} +2 -2
  144. package/dist/calcite/{p-7d970a7b.entry.js → p-cd7efd23.entry.js} +2 -2
  145. package/dist/calcite/{p-76ab9f31.entry.js → p-d02a7a07.entry.js} +2 -2
  146. package/dist/calcite/{p-2c0681f2.system.entry.js → p-d0477cd0.system.entry.js} +2 -2
  147. package/dist/calcite/{p-e7e38d6b.js → p-d435edac.js} +1 -1
  148. package/dist/calcite/{p-4116356c.js → p-d56fdda6.js} +1 -1
  149. package/dist/calcite/{p-e044bc1e.entry.js → p-d8a7b396.entry.js} +2 -2
  150. package/dist/calcite/{p-95340889.system.entry.js → p-d8f39b88.system.entry.js} +3 -3
  151. package/dist/calcite/{p-5e84cbe9.entry.js → p-d99f9878.entry.js} +2 -2
  152. package/dist/calcite/{p-1e5ea0c1.system.entry.js → p-da410fa7.system.entry.js} +2 -2
  153. package/dist/calcite/p-dc04f089.js +6 -0
  154. package/dist/calcite/{p-01dfe353.js → p-dc194cdc.js} +2 -2
  155. package/dist/calcite/{p-bf453f94.entry.js → p-de586449.entry.js} +2 -2
  156. package/dist/calcite/{p-e57cfbe2.system.entry.js → p-de68c6d2.system.entry.js} +2 -2
  157. package/dist/calcite/{p-d035c9df.system.entry.js → p-df794302.system.entry.js} +2 -2
  158. package/dist/calcite/{p-07dc2e03.js → p-e0f1eea6.js} +1 -1
  159. package/dist/calcite/{p-92becb57.js → p-e34a26ea.js} +1 -1
  160. package/dist/calcite/{p-7ce0d3ce.system.entry.js → p-e3fe1223.system.entry.js} +2 -2
  161. package/dist/calcite/{p-425a007f.js → p-e526452f.js} +1 -1
  162. package/dist/calcite/{p-ba1f87bf.system.entry.js → p-e5a42e6d.system.entry.js} +2 -2
  163. package/dist/calcite/{p-80dfd47c.js → p-e836da89.js} +1 -1
  164. package/dist/calcite/{p-b5d46dde.js → p-e8f931f7.js} +1 -1
  165. package/dist/calcite/{p-a7a2768c.system.js → p-e9ee6614.system.js} +1 -1
  166. package/dist/calcite/{p-148c7f5e.system.js → p-eb44ed29.system.js} +1 -1
  167. package/dist/calcite/{p-c6fe612c.system.entry.js → p-eb9b51a7.system.entry.js} +3 -3
  168. package/dist/calcite/{p-6dd18b78.system.entry.js → p-eb9b51d8.system.entry.js} +2 -2
  169. package/dist/calcite/{p-c7fb04d2.entry.js → p-ed6ba4d7.entry.js} +2 -2
  170. package/dist/calcite/{p-d76403f7.system.entry.js → p-eda17403.system.entry.js} +2 -2
  171. package/dist/calcite/{p-0fee3871.entry.js → p-ee6a5080.entry.js} +2 -2
  172. package/dist/calcite/{p-25e4f3d8.js → p-f07f5c9b.js} +1 -1
  173. package/dist/calcite/{p-931f53bc.entry.js → p-f301053b.entry.js} +2 -2
  174. package/dist/calcite/{p-a4ea5de7.entry.js → p-f384ea3b.entry.js} +2 -2
  175. package/dist/calcite/p-f38bb6af.entry.js +6 -0
  176. package/dist/calcite/{p-2c52e78e.entry.js → p-f3fbd6f4.entry.js} +2 -2
  177. package/dist/calcite/{p-93bced5f.system.entry.js → p-f559c6f2.system.entry.js} +2 -2
  178. package/dist/calcite/{p-8f0b019a.system.entry.js → p-f7609a55.system.entry.js} +2 -2
  179. package/dist/calcite/{p-fa98cfd6.entry.js → p-f8ca8f86.entry.js} +2 -2
  180. package/dist/calcite/{p-cfc4a165.js → p-facdd598.js} +2 -2
  181. package/dist/calcite/{p-6baedf64.system.entry.js → p-fe90f359.system.entry.js} +2 -2
  182. package/dist/cjs/{ExpandToggle-e1337602.js → ExpandToggle-f7e75c51.js} +5 -5
  183. package/dist/cjs/{Heading-ef56c3d3.js → Heading-22ec7f05.js} +2 -2
  184. package/dist/cjs/{app-globals-6fc66d0b.js → app-globals-22240255.js} +2 -2
  185. package/dist/cjs/{array-6e85280c.js → array-7b8758c8.js} +1 -1
  186. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  188. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  189. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  190. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  191. package/dist/cjs/calcite-action.cjs.entry.js +7 -7
  192. package/dist/cjs/calcite-alert.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  194. package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
  195. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  196. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  197. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  198. package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
  199. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
  200. package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
  201. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
  202. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -10
  203. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  204. package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
  206. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-graph_2.cjs.entry.js +11 -11
  208. package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
  209. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  210. package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
  211. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
  212. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  213. package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
  214. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  215. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -10
  216. package/dist/cjs/calcite-input.cjs.entry.js +12 -12
  217. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  218. package/dist/cjs/calcite-link.cjs.entry.js +24 -7
  219. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  220. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  221. package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
  222. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  223. package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
  224. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  225. package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
  226. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
  227. package/dist/cjs/calcite-popover_2.cjs.entry.js +10 -10
  228. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  229. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  230. package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
  231. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
  232. package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
  233. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  234. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  235. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  236. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  237. package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -6
  238. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  239. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  240. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  241. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  242. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  243. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
  244. package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
  245. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
  246. package/dist/cjs/calcite.cjs.js +5 -5
  247. package/dist/cjs/{conditionalSlot-70df6348.js → conditionalSlot-c971a933.js} +3 -3
  248. package/dist/cjs/{debounce-d73ff8b1.js → debounce-996f341c.js} +1 -1
  249. package/dist/cjs/{dom-3f60cbd0.js → dom-2bc0162d.js} +3 -3
  250. package/dist/cjs/{filter-fcadab7b.js → filter-d2da3ee5.js} +2 -2
  251. package/dist/cjs/{floating-ui-092f4fbd.js → floating-ui-fcf6a0e0.js} +2 -2
  252. package/dist/cjs/{form-3b946711.js → form-5ec27644.js} +3 -3
  253. package/dist/cjs/{guid-fd4860ac.js → guid-c30ca1c9.js} +1 -1
  254. package/dist/cjs/{index-825bdca3.js → index-2722dddc.js} +1 -1
  255. package/dist/cjs/index.cjs.js +1 -1
  256. package/dist/cjs/{interactive-b8e34dfa.js → interactive-5a4f0e57.js} +1 -1
  257. package/dist/cjs/{interfaces-d755a1de.js → interfaces-f0b92d69.js} +1 -1
  258. package/dist/cjs/{key-a6de3a12.js → key-b64af4ca.js} +1 -1
  259. package/dist/cjs/{label-d43a2e03.js → label-f847375b.js} +2 -2
  260. package/dist/cjs/loader.cjs.js +5 -5
  261. package/dist/cjs/{locale-5031d0a4.js → locale-9def3d39.js} +2 -2
  262. package/dist/cjs/{math-7ca32485.js → math-805fed32.js} +1 -1
  263. package/dist/cjs/{observers-11a40c4f.js → observers-ecd11e8f.js} +1 -1
  264. package/dist/cjs/{openCloseComponent-565096c5.js → openCloseComponent-f136c04a.js} +1 -1
  265. package/dist/cjs/{resources-29cc0cd1.js → resources-3d1ec67c.js} +86 -62
  266. package/dist/cjs/{resources-a0b9f49e.js → resources-5e3a36b6.js} +1 -1
  267. package/dist/cjs/{resources-b2db41e0.js → resources-80ec6276.js} +1 -1
  268. package/dist/cjs/{resources-c81aa568.js → resources-953b2733.js} +1 -1
  269. package/dist/cjs/{resources-c98978e6.js → resources-b6b3d560.js} +5 -5
  270. package/dist/cjs/{resources-4d95de9e.js → resources-f7eb761e.js} +1 -1
  271. package/dist/cjs/{sortable.esm-a9d9162d.js → sortable.esm-427ab2ca.js} +1 -1
  272. package/dist/cjs/{utils-0e43a2a6.js → utils-bfc65d1c.js} +1 -1
  273. package/dist/collection/components/accordion/accordion.js +1 -1
  274. package/dist/collection/components/accordion/interfaces.js +1 -1
  275. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  276. package/dist/collection/components/accordion-item/interfaces.js +1 -1
  277. package/dist/collection/components/accordion-item/resources.js +1 -1
  278. package/dist/collection/components/action/action.js +1 -1
  279. package/dist/collection/components/action/resources.js +1 -1
  280. package/dist/collection/components/action-bar/action-bar.js +1 -1
  281. package/dist/collection/components/action-bar/resources.js +1 -1
  282. package/dist/collection/components/action-bar/utils.js +1 -1
  283. package/dist/collection/components/action-group/action-group.js +1 -1
  284. package/dist/collection/components/action-group/resources.js +1 -1
  285. package/dist/collection/components/action-menu/action-menu.js +1 -1
  286. package/dist/collection/components/action-menu/resources.js +1 -1
  287. package/dist/collection/components/action-pad/action-pad.js +1 -1
  288. package/dist/collection/components/action-pad/resources.js +1 -1
  289. package/dist/collection/components/alert/alert.js +1 -1
  290. package/dist/collection/components/alert/interfaces.js +1 -1
  291. package/dist/collection/components/alert/resources.js +1 -1
  292. package/dist/collection/components/avatar/avatar.js +1 -1
  293. package/dist/collection/components/avatar/utils.js +1 -1
  294. package/dist/collection/components/block/block.js +1 -1
  295. package/dist/collection/components/block/resources.js +1 -1
  296. package/dist/collection/components/block-section/block-section.js +1 -1
  297. package/dist/collection/components/block-section/interfaces.js +1 -1
  298. package/dist/collection/components/block-section/resources.js +1 -1
  299. package/dist/collection/components/button/button.js +1 -1
  300. package/dist/collection/components/button/interfaces.js +1 -1
  301. package/dist/collection/components/button/resources.js +1 -1
  302. package/dist/collection/components/card/card.js +1 -1
  303. package/dist/collection/components/card/resources.js +1 -1
  304. package/dist/collection/components/checkbox/checkbox.js +1 -1
  305. package/dist/collection/components/chip/chip.js +1 -1
  306. package/dist/collection/components/chip/interfaces.js +1 -1
  307. package/dist/collection/components/chip/resources.js +1 -1
  308. package/dist/collection/components/color-picker/color-picker.js +1 -1
  309. package/dist/collection/components/color-picker/interfaces.js +1 -1
  310. package/dist/collection/components/color-picker/resources.js +1 -1
  311. package/dist/collection/components/color-picker/utils.js +1 -1
  312. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  313. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  314. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  315. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  316. package/dist/collection/components/combobox/combobox.js +1 -1
  317. package/dist/collection/components/combobox/interfaces.js +1 -1
  318. package/dist/collection/components/combobox/resources.js +1 -1
  319. package/dist/collection/components/combobox/utils.js +1 -1
  320. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  321. package/dist/collection/components/combobox-item/resources.js +1 -1
  322. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  323. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  324. package/dist/collection/components/date-picker/date-picker.js +6 -6
  325. package/dist/collection/components/date-picker/interfaces.js +1 -1
  326. package/dist/collection/components/date-picker/resources.js +1 -1
  327. package/dist/collection/components/date-picker/utils.js +10 -1
  328. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  329. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  330. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  331. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  332. package/dist/collection/components/dropdown/dropdown.js +1 -1
  333. package/dist/collection/components/dropdown/interfaces.js +1 -1
  334. package/dist/collection/components/dropdown/resources.js +1 -1
  335. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  336. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  337. package/dist/collection/components/dropdown-group/resources.js +1 -1
  338. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  339. package/dist/collection/components/dropdown-item/resources.js +1 -1
  340. package/dist/collection/components/fab/fab.js +1 -1
  341. package/dist/collection/components/fab/resources.js +1 -1
  342. package/dist/collection/components/filter/filter.js +1 -1
  343. package/dist/collection/components/filter/resources.js +1 -1
  344. package/dist/collection/components/flow/flow.js +1 -1
  345. package/dist/collection/components/flow/interfaces.js +1 -1
  346. package/dist/collection/components/flow/resources.js +1 -1
  347. package/dist/collection/components/flow-item/flow-item.js +1 -1
  348. package/dist/collection/components/flow-item/resources.js +1 -1
  349. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  350. package/dist/collection/components/functional/Heading.js +1 -1
  351. package/dist/collection/components/graph/graph.js +1 -1
  352. package/dist/collection/components/graph/interfaces.js +1 -1
  353. package/dist/collection/components/graph/util.js +1 -1
  354. package/dist/collection/components/handle/handle.js +1 -1
  355. package/dist/collection/components/handle/resources.js +1 -1
  356. package/dist/collection/components/icon/icon.js +1 -1
  357. package/dist/collection/components/icon/resources.js +1 -1
  358. package/dist/collection/components/icon/utils.js +1 -1
  359. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  360. package/dist/collection/components/inline-editable/resources.js +1 -1
  361. package/dist/collection/components/input/input.js +1 -1
  362. package/dist/collection/components/input/interfaces.js +1 -1
  363. package/dist/collection/components/input/resources.js +1 -1
  364. package/dist/collection/components/input-date-picker/input-date-picker.js +8 -8
  365. package/dist/collection/components/input-date-picker/resources.js +1 -1
  366. package/dist/collection/components/input-message/input-message.js +1 -1
  367. package/dist/collection/components/input-message/interfaces.js +1 -1
  368. package/dist/collection/components/input-number/input-number.js +1 -1
  369. package/dist/collection/components/input-number/interfaces.js +1 -1
  370. package/dist/collection/components/input-number/resources.js +1 -1
  371. package/dist/collection/components/input-text/input-text.js +1 -1
  372. package/dist/collection/components/input-text/resources.js +1 -1
  373. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  374. package/dist/collection/components/interfaces.js +1 -1
  375. package/dist/collection/components/label/label.js +1 -1
  376. package/dist/collection/components/label/resources.js +1 -1
  377. package/dist/collection/components/link/link.js +27 -3
  378. package/dist/collection/components/list/list.js +1 -1
  379. package/dist/collection/components/list/resources.js +1 -1
  380. package/dist/collection/components/list-item/list-item.js +1 -1
  381. package/dist/collection/components/list-item/resources.js +1 -1
  382. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  383. package/dist/collection/components/list-item-group/resources.js +1 -1
  384. package/dist/collection/components/loader/loader.js +1 -1
  385. package/dist/collection/components/modal/interfaces.js +1 -1
  386. package/dist/collection/components/modal/modal.js +1 -1
  387. package/dist/collection/components/modal/resources.js +1 -1
  388. package/dist/collection/components/notice/notice.js +1 -1
  389. package/dist/collection/components/notice/resources.js +1 -1
  390. package/dist/collection/components/option/option.js +1 -1
  391. package/dist/collection/components/option-group/option-group.js +1 -1
  392. package/dist/collection/components/pagination/pagination.js +1 -1
  393. package/dist/collection/components/pagination/resources.js +1 -1
  394. package/dist/collection/components/panel/panel.js +1 -1
  395. package/dist/collection/components/panel/resources.js +1 -1
  396. package/dist/collection/components/pick-list/pick-list.js +1 -1
  397. package/dist/collection/components/pick-list/resources.js +1 -1
  398. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  399. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  400. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  401. package/dist/collection/components/pick-list-group/resources.js +1 -1
  402. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  403. package/dist/collection/components/pick-list-item/resources.js +1 -1
  404. package/dist/collection/components/popover/PopoverManager.js +1 -1
  405. package/dist/collection/components/popover/popover.js +1 -1
  406. package/dist/collection/components/popover/resources.js +1 -1
  407. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  408. package/dist/collection/components/progress/progress.js +1 -1
  409. package/dist/collection/components/radio-button/radio-button.js +1 -1
  410. package/dist/collection/components/radio-button/resources.js +1 -1
  411. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  412. package/dist/collection/components/radio-group/interfaces.js +1 -1
  413. package/dist/collection/components/radio-group/radio-group.js +1 -1
  414. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  415. package/dist/collection/components/radio-group-item/resources.js +1 -1
  416. package/dist/collection/components/rating/rating.js +1 -1
  417. package/dist/collection/components/rating/resources.js +1 -1
  418. package/dist/collection/components/scrim/resources.js +1 -1
  419. package/dist/collection/components/scrim/scrim.js +1 -1
  420. package/dist/collection/components/select/resources.js +1 -1
  421. package/dist/collection/components/select/select.js +1 -1
  422. package/dist/collection/components/shell/resources.js +1 -1
  423. package/dist/collection/components/shell/shell.js +1 -1
  424. package/dist/collection/components/shell-center-row/resources.js +1 -1
  425. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  426. package/dist/collection/components/shell-panel/resources.js +1 -1
  427. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  428. package/dist/collection/components/slider/slider.js +1 -1
  429. package/dist/collection/components/sortable-list/resources.js +1 -1
  430. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  431. package/dist/collection/components/split-button/resources.js +1 -1
  432. package/dist/collection/components/split-button/split-button.js +1 -1
  433. package/dist/collection/components/stepper/interfaces.js +1 -1
  434. package/dist/collection/components/stepper/stepper.js +1 -1
  435. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  436. package/dist/collection/components/switch/switch.js +1 -1
  437. package/dist/collection/components/tab/interfaces.js +1 -1
  438. package/dist/collection/components/tab/tab.js +1 -1
  439. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  440. package/dist/collection/components/tab-title/tab-title.js +1 -1
  441. package/dist/collection/components/tabs/interfaces.js +1 -1
  442. package/dist/collection/components/tabs/resources.js +1 -1
  443. package/dist/collection/components/tabs/tabs.js +1 -1
  444. package/dist/collection/components/tile/resources.js +1 -1
  445. package/dist/collection/components/tile/tile.js +1 -1
  446. package/dist/collection/components/tile-select/interfaces.js +1 -1
  447. package/dist/collection/components/tile-select/resources.js +1 -1
  448. package/dist/collection/components/tile-select/tile-select.js +1 -1
  449. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  450. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  451. package/dist/collection/components/time-picker/resources.js +1 -1
  452. package/dist/collection/components/time-picker/time-picker.js +2 -1
  453. package/dist/collection/components/tip/resources.js +1 -1
  454. package/dist/collection/components/tip/tip.js +1 -1
  455. package/dist/collection/components/tip-group/tip-group.js +1 -1
  456. package/dist/collection/components/tip-manager/resources.js +1 -1
  457. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  458. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  459. package/dist/collection/components/tooltip/resources.js +1 -1
  460. package/dist/collection/components/tooltip/tooltip.js +1 -1
  461. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  462. package/dist/collection/components/tree/interfaces.js +1 -1
  463. package/dist/collection/components/tree/tree.js +1 -1
  464. package/dist/collection/components/tree-item/interfaces.js +1 -1
  465. package/dist/collection/components/tree-item/resources.js +1 -1
  466. package/dist/collection/components/tree-item/tree-item.js +1 -1
  467. package/dist/collection/components/value-list/interfaces.js +1 -1
  468. package/dist/collection/components/value-list/resources.js +1 -1
  469. package/dist/collection/components/value-list/utils.js +1 -1
  470. package/dist/collection/components/value-list/value-list.js +1 -1
  471. package/dist/collection/components/value-list-item/resources.js +1 -1
  472. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  473. package/dist/collection/utils/array.js +1 -1
  474. package/dist/collection/utils/conditionalSlot.js +1 -1
  475. package/dist/collection/utils/date.js +16 -2
  476. package/dist/collection/utils/dom.js +1 -1
  477. package/dist/collection/utils/filter.js +1 -1
  478. package/dist/collection/utils/floating-ui.js +1 -1
  479. package/dist/collection/utils/form.js +1 -1
  480. package/dist/collection/utils/globalAttributes.js +1 -1
  481. package/dist/collection/utils/globalScript.js +1 -1
  482. package/dist/collection/utils/guid.js +1 -1
  483. package/dist/collection/utils/interactive.js +1 -1
  484. package/dist/collection/utils/key.js +1 -1
  485. package/dist/collection/utils/label.js +1 -1
  486. package/dist/collection/utils/locale.js +1 -1
  487. package/dist/collection/utils/math.js +1 -1
  488. package/dist/collection/utils/number.js +1 -1
  489. package/dist/collection/utils/observers.js +1 -1
  490. package/dist/collection/utils/openCloseComponent.js +1 -1
  491. package/dist/collection/utils/resources.js +1 -1
  492. package/dist/collection/utils/theme.js +1 -1
  493. package/dist/collection/utils/time.js +1 -1
  494. package/dist/components/ExpandToggle.js +1 -1
  495. package/dist/components/Heading.js +1 -1
  496. package/dist/components/action-group.js +1 -1
  497. package/dist/components/action-menu.js +1 -1
  498. package/dist/components/action.js +1 -1
  499. package/dist/components/array.js +1 -1
  500. package/dist/components/button.js +1 -1
  501. package/dist/components/calcite-accordion-item.js +1 -1
  502. package/dist/components/calcite-accordion.js +1 -1
  503. package/dist/components/calcite-action-bar.js +1 -1
  504. package/dist/components/calcite-action-group.js +1 -1
  505. package/dist/components/calcite-action-menu.js +1 -1
  506. package/dist/components/calcite-action-pad.js +1 -1
  507. package/dist/components/calcite-action.js +1 -1
  508. package/dist/components/calcite-alert.js +1 -1
  509. package/dist/components/calcite-avatar.js +1 -1
  510. package/dist/components/calcite-block-section.js +1 -1
  511. package/dist/components/calcite-block.js +1 -1
  512. package/dist/components/calcite-button.js +1 -1
  513. package/dist/components/calcite-card.js +1 -1
  514. package/dist/components/calcite-checkbox.js +1 -1
  515. package/dist/components/calcite-chip.js +1 -1
  516. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  517. package/dist/components/calcite-color-picker-swatch.js +1 -1
  518. package/dist/components/calcite-color-picker.js +1 -1
  519. package/dist/components/calcite-combobox-item-group.js +1 -1
  520. package/dist/components/calcite-combobox-item.js +1 -1
  521. package/dist/components/calcite-combobox.js +1 -1
  522. package/dist/components/calcite-date-picker-day.js +1 -1
  523. package/dist/components/calcite-date-picker-month-header.js +1 -1
  524. package/dist/components/calcite-date-picker-month.js +1 -1
  525. package/dist/components/calcite-date-picker.js +1 -1
  526. package/dist/components/calcite-dropdown-group.js +1 -1
  527. package/dist/components/calcite-dropdown-item.js +1 -1
  528. package/dist/components/calcite-dropdown.js +1 -1
  529. package/dist/components/calcite-fab.js +1 -1
  530. package/dist/components/calcite-filter.js +1 -1
  531. package/dist/components/calcite-flow-item.js +1 -1
  532. package/dist/components/calcite-flow.js +1 -1
  533. package/dist/components/calcite-graph.js +1 -1
  534. package/dist/components/calcite-handle.js +1 -1
  535. package/dist/components/calcite-icon.js +1 -1
  536. package/dist/components/calcite-inline-editable.js +1 -1
  537. package/dist/components/calcite-input-date-picker.js +8 -8
  538. package/dist/components/calcite-input-message.js +1 -1
  539. package/dist/components/calcite-input-number.js +1 -1
  540. package/dist/components/calcite-input-text.js +1 -1
  541. package/dist/components/calcite-input-time-picker.js +1 -1
  542. package/dist/components/calcite-input.js +1 -1
  543. package/dist/components/calcite-label.js +1 -1
  544. package/dist/components/calcite-link.js +1 -1
  545. package/dist/components/calcite-list-item-group.js +1 -1
  546. package/dist/components/calcite-list-item.js +1 -1
  547. package/dist/components/calcite-list.js +1 -1
  548. package/dist/components/calcite-loader.js +1 -1
  549. package/dist/components/calcite-modal.js +1 -1
  550. package/dist/components/calcite-notice.js +1 -1
  551. package/dist/components/calcite-option-group.js +1 -1
  552. package/dist/components/calcite-option.js +1 -1
  553. package/dist/components/calcite-pagination.js +1 -1
  554. package/dist/components/calcite-panel.js +1 -1
  555. package/dist/components/calcite-pick-list-group.js +1 -1
  556. package/dist/components/calcite-pick-list-item.js +1 -1
  557. package/dist/components/calcite-pick-list.js +1 -1
  558. package/dist/components/calcite-popover-manager.js +1 -1
  559. package/dist/components/calcite-popover.js +1 -1
  560. package/dist/components/calcite-progress.js +1 -1
  561. package/dist/components/calcite-radio-button-group.js +1 -1
  562. package/dist/components/calcite-radio-button.js +1 -1
  563. package/dist/components/calcite-radio-group-item.js +1 -1
  564. package/dist/components/calcite-radio-group.js +1 -1
  565. package/dist/components/calcite-rating.js +1 -1
  566. package/dist/components/calcite-scrim.js +1 -1
  567. package/dist/components/calcite-select.js +1 -1
  568. package/dist/components/calcite-shell-center-row.js +1 -1
  569. package/dist/components/calcite-shell-panel.js +1 -1
  570. package/dist/components/calcite-shell.js +1 -1
  571. package/dist/components/calcite-slider.js +1 -1
  572. package/dist/components/calcite-sortable-list.js +1 -1
  573. package/dist/components/calcite-split-button.js +1 -1
  574. package/dist/components/calcite-stepper-item.js +1 -1
  575. package/dist/components/calcite-stepper.js +1 -1
  576. package/dist/components/calcite-switch.js +1 -1
  577. package/dist/components/calcite-tab-nav.js +1 -1
  578. package/dist/components/calcite-tab-title.js +1 -1
  579. package/dist/components/calcite-tab.js +1 -1
  580. package/dist/components/calcite-tabs.js +1 -1
  581. package/dist/components/calcite-tile-select-group.js +1 -1
  582. package/dist/components/calcite-tile-select.js +1 -1
  583. package/dist/components/calcite-tile.js +1 -1
  584. package/dist/components/calcite-time-picker.js +1 -1
  585. package/dist/components/calcite-tip-group.js +1 -1
  586. package/dist/components/calcite-tip-manager.js +1 -1
  587. package/dist/components/calcite-tip.js +1 -1
  588. package/dist/components/calcite-tooltip-manager.js +1 -1
  589. package/dist/components/calcite-tooltip.js +1 -1
  590. package/dist/components/calcite-tree-item.js +1 -1
  591. package/dist/components/calcite-tree.js +1 -1
  592. package/dist/components/calcite-value-list-item.js +1 -1
  593. package/dist/components/calcite-value-list.js +1 -1
  594. package/dist/components/checkbox.js +1 -1
  595. package/dist/components/chip.js +1 -1
  596. package/dist/components/color-picker-hex-input.js +1 -1
  597. package/dist/components/color-picker-swatch.js +1 -1
  598. package/dist/components/conditionalSlot.js +1 -1
  599. package/dist/components/date-picker-day.js +1 -1
  600. package/dist/components/date-picker-month-header.js +2 -2
  601. package/dist/components/date-picker-month.js +2 -2
  602. package/dist/components/date-picker.js +14 -6
  603. package/dist/components/date.js +17 -3
  604. package/dist/components/debounce.js +1 -1
  605. package/dist/components/dom.js +1 -1
  606. package/dist/components/dropdown.js +1 -1
  607. package/dist/components/filter.js +1 -1
  608. package/dist/components/filter2.js +1 -1
  609. package/dist/components/floating-ui.js +1 -1
  610. package/dist/components/form.js +1 -1
  611. package/dist/components/graph.js +1 -1
  612. package/dist/components/guid.js +1 -1
  613. package/dist/components/handle.js +1 -1
  614. package/dist/components/icon.js +1 -1
  615. package/dist/components/index.js +1 -1
  616. package/dist/components/input.js +1 -1
  617. package/dist/components/interactive.js +1 -1
  618. package/dist/components/interfaces.js +1 -1
  619. package/dist/components/interfaces2.js +1 -1
  620. package/dist/components/key.js +1 -1
  621. package/dist/components/label.js +1 -1
  622. package/dist/components/label2.js +1 -1
  623. package/dist/components/link.js +20 -3
  624. package/dist/components/loader.js +1 -1
  625. package/dist/components/locale.js +1 -1
  626. package/dist/components/math.js +1 -1
  627. package/dist/components/observers.js +1 -1
  628. package/dist/components/openCloseComponent.js +1 -1
  629. package/dist/components/panel.js +1 -1
  630. package/dist/components/pick-list-item.js +1 -1
  631. package/dist/components/popover.js +1 -1
  632. package/dist/components/progress.js +1 -1
  633. package/dist/components/resources.js +1 -1
  634. package/dist/components/resources2.js +1 -1
  635. package/dist/components/resources3.js +1 -1
  636. package/dist/components/scrim.js +1 -1
  637. package/dist/components/shared-list-render.js +1 -1
  638. package/dist/components/sortable.esm.js +1 -1
  639. package/dist/components/switch.js +1 -1
  640. package/dist/components/tab-nav.js +1 -1
  641. package/dist/components/tab-title.js +1 -1
  642. package/dist/components/tab.js +1 -1
  643. package/dist/components/tabs.js +1 -1
  644. package/dist/components/tile.js +1 -1
  645. package/dist/components/time-picker.js +2 -1
  646. package/dist/components/utils.js +1 -1
  647. package/dist/components/utils2.js +1 -1
  648. package/dist/custom-elements/index.js +236 -196
  649. package/dist/esm/{ExpandToggle-79b23645.js → ExpandToggle-696f5741.js} +5 -5
  650. package/dist/esm/{Heading-09bf2fa9.js → Heading-69713dc2.js} +2 -2
  651. package/dist/esm/{app-globals-33238d1e.js → app-globals-702bd427.js} +2 -2
  652. package/dist/esm/{array-c2c29015.js → array-6db15fd5.js} +1 -1
  653. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  654. package/dist/esm/calcite-action-bar.entry.js +11 -11
  655. package/dist/esm/calcite-action-group.entry.js +9 -9
  656. package/dist/esm/calcite-action-menu.entry.js +8 -8
  657. package/dist/esm/calcite-action-pad.entry.js +10 -10
  658. package/dist/esm/calcite-action.entry.js +7 -7
  659. package/dist/esm/calcite-alert.entry.js +7 -7
  660. package/dist/esm/calcite-avatar.entry.js +6 -6
  661. package/dist/esm/calcite-block_2.entry.js +10 -10
  662. package/dist/esm/calcite-button.entry.js +9 -9
  663. package/dist/esm/calcite-card.entry.js +7 -7
  664. package/dist/esm/calcite-checkbox.entry.js +9 -9
  665. package/dist/esm/calcite-chip.entry.js +7 -7
  666. package/dist/esm/calcite-color-picker_3.entry.js +10 -10
  667. package/dist/esm/calcite-combobox_3.entry.js +14 -14
  668. package/dist/esm/calcite-date-picker_4.entry.js +13 -13
  669. package/dist/esm/calcite-dropdown_3.entry.js +10 -10
  670. package/dist/esm/calcite-fab.entry.js +6 -6
  671. package/dist/esm/calcite-filter.entry.js +8 -8
  672. package/dist/esm/calcite-flow-item.entry.js +7 -7
  673. package/dist/esm/calcite-flow.entry.js +3 -3
  674. package/dist/esm/calcite-graph_2.entry.js +11 -11
  675. package/dist/esm/calcite-handle.entry.js +5 -5
  676. package/dist/esm/calcite-icon.entry.js +6 -6
  677. package/dist/esm/calcite-inline-editable.entry.js +8 -8
  678. package/dist/esm/calcite-input-date-picker.entry.js +18 -18
  679. package/dist/esm/calcite-input-message.entry.js +5 -5
  680. package/dist/esm/calcite-input-number.entry.js +12 -12
  681. package/dist/esm/calcite-input-text.entry.js +9 -9
  682. package/dist/esm/calcite-input-time-picker_2.entry.js +11 -10
  683. package/dist/esm/calcite-input.entry.js +12 -12
  684. package/dist/esm/calcite-label.entry.js +6 -6
  685. package/dist/esm/calcite-link.entry.js +24 -7
  686. package/dist/esm/calcite-list_3.entry.js +9 -9
  687. package/dist/esm/calcite-loader.entry.js +3 -3
  688. package/dist/esm/calcite-modal.entry.js +8 -8
  689. package/dist/esm/calcite-notice.entry.js +8 -8
  690. package/dist/esm/calcite-option_3.entry.js +9 -9
  691. package/dist/esm/calcite-pagination.entry.js +5 -5
  692. package/dist/esm/calcite-panel.entry.js +10 -10
  693. package/dist/esm/calcite-pick-list_3.entry.js +12 -12
  694. package/dist/esm/calcite-popover_2.entry.js +10 -10
  695. package/dist/esm/calcite-progress.entry.js +2 -2
  696. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  697. package/dist/esm/calcite-radio-button.entry.js +9 -9
  698. package/dist/esm/calcite-radio-group_2.entry.js +8 -8
  699. package/dist/esm/calcite-rating.entry.js +9 -9
  700. package/dist/esm/calcite-scrim.entry.js +2 -2
  701. package/dist/esm/calcite-shell_3.entry.js +8 -8
  702. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  703. package/dist/esm/calcite-split-button.entry.js +3 -3
  704. package/dist/esm/calcite-stepper_2.entry.js +6 -6
  705. package/dist/esm/calcite-switch.entry.js +9 -9
  706. package/dist/esm/calcite-tab_4.entry.js +7 -7
  707. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  708. package/dist/esm/calcite-tile.entry.js +8 -8
  709. package/dist/esm/calcite-tip_3.entry.js +8 -8
  710. package/dist/esm/calcite-tooltip_2.entry.js +6 -6
  711. package/dist/esm/calcite-tree_2.entry.js +7 -7
  712. package/dist/esm/calcite-value-list_2.entry.js +12 -12
  713. package/dist/esm/calcite.js +5 -5
  714. package/dist/esm/{conditionalSlot-62083906.js → conditionalSlot-2cb5c51f.js} +3 -3
  715. package/dist/esm/{debounce-8c835d4b.js → debounce-41109b79.js} +1 -1
  716. package/dist/esm/{dom-3916e61f.js → dom-1b649d05.js} +3 -3
  717. package/dist/esm/{filter-aab1017e.js → filter-01a93e9f.js} +2 -2
  718. package/dist/esm/{floating-ui-970c21c6.js → floating-ui-0c362af2.js} +2 -2
  719. package/dist/esm/{form-9147a2f9.js → form-4377e41d.js} +3 -3
  720. package/dist/esm/{guid-164faa41.js → guid-bbafedce.js} +1 -1
  721. package/dist/esm/{index-913acba3.js → index-f36262f4.js} +1 -1
  722. package/dist/esm/index.js +1 -1
  723. package/dist/esm/{interactive-801ed755.js → interactive-840fa6fc.js} +1 -1
  724. package/dist/esm/{interfaces-44885f7b.js → interfaces-066720a8.js} +1 -1
  725. package/dist/esm/{key-a7acb0ab.js → key-75a51b04.js} +1 -1
  726. package/dist/esm/{label-7e38a412.js → label-b1dfadeb.js} +2 -2
  727. package/dist/esm/loader.js +5 -5
  728. package/dist/esm/{locale-e7194024.js → locale-4560d933.js} +2 -2
  729. package/dist/esm/{math-3caf2732.js → math-41ee05b3.js} +1 -1
  730. package/dist/esm/{observers-04da3aa2.js → observers-aaac56ce.js} +1 -1
  731. package/dist/esm/{openCloseComponent-c28502aa.js → openCloseComponent-ae7e7180.js} +1 -1
  732. package/dist/esm/{resources-fb2c5569.js → resources-50e283ed.js} +5 -5
  733. package/dist/esm/{resources-8fdc061f.js → resources-5b5ae1af.js} +85 -63
  734. package/dist/esm/{resources-1b4bd79e.js → resources-68c32ce1.js} +1 -1
  735. package/dist/esm/{resources-a3196cd9.js → resources-7ed1d3b6.js} +1 -1
  736. package/dist/esm/{resources-262a0e5a.js → resources-c21c6026.js} +1 -1
  737. package/dist/esm/{resources-f0e7bd38.js → resources-e706faf6.js} +1 -1
  738. package/dist/esm/{sortable.esm-b06d1353.js → sortable.esm-5be669e6.js} +1 -1
  739. package/dist/esm/{utils-ebc9c1e2.js → utils-29b0defb.js} +1 -1
  740. package/dist/esm-es5/{ExpandToggle-79b23645.js → ExpandToggle-696f5741.js} +2 -2
  741. package/dist/esm-es5/{Heading-09bf2fa9.js → Heading-69713dc2.js} +2 -2
  742. package/dist/esm-es5/{app-globals-33238d1e.js → app-globals-702bd427.js} +2 -2
  743. package/dist/esm-es5/{array-c2c29015.js → array-6db15fd5.js} +1 -1
  744. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  745. package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
  746. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  747. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  748. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  749. package/dist/esm-es5/calcite-action.entry.js +2 -2
  750. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  751. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  752. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  753. package/dist/esm-es5/calcite-button.entry.js +2 -2
  754. package/dist/esm-es5/calcite-card.entry.js +2 -2
  755. package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
  756. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  757. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  758. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  759. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  760. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  761. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  762. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  763. package/dist/esm-es5/calcite-flow-item.entry.js +3 -3
  764. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  765. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  767. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  768. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  769. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  770. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  771. package/dist/esm-es5/calcite-input-number.entry.js +2 -2
  772. package/dist/esm-es5/calcite-input-text.entry.js +2 -2
  773. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  774. package/dist/esm-es5/calcite-input.entry.js +2 -2
  775. package/dist/esm-es5/calcite-label.entry.js +2 -2
  776. package/dist/esm-es5/calcite-link.entry.js +3 -3
  777. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  778. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  779. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  780. package/dist/esm-es5/calcite-notice.entry.js +3 -3
  781. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  782. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  783. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  784. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  785. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  786. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  787. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  788. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  789. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  790. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  791. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  792. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  793. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  794. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  795. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  796. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  797. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  798. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  799. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  800. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  801. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  802. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  803. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  804. package/dist/esm-es5/calcite.js +2 -2
  805. package/dist/esm-es5/{conditionalSlot-62083906.js → conditionalSlot-2cb5c51f.js} +2 -2
  806. package/dist/esm-es5/{debounce-8c835d4b.js → debounce-41109b79.js} +1 -1
  807. package/dist/esm-es5/{dom-3916e61f.js → dom-1b649d05.js} +3 -3
  808. package/dist/esm-es5/{filter-aab1017e.js → filter-01a93e9f.js} +2 -2
  809. package/dist/esm-es5/{floating-ui-970c21c6.js → floating-ui-0c362af2.js} +2 -2
  810. package/dist/esm-es5/{form-9147a2f9.js → form-4377e41d.js} +2 -2
  811. package/dist/esm-es5/{guid-164faa41.js → guid-bbafedce.js} +1 -1
  812. package/dist/esm-es5/{index-913acba3.js → index-f36262f4.js} +1 -1
  813. package/dist/esm-es5/index.js +1 -1
  814. package/dist/esm-es5/{interactive-801ed755.js → interactive-840fa6fc.js} +1 -1
  815. package/dist/esm-es5/{interfaces-44885f7b.js → interfaces-066720a8.js} +1 -1
  816. package/dist/esm-es5/{key-a7acb0ab.js → key-75a51b04.js} +1 -1
  817. package/dist/esm-es5/{label-7e38a412.js → label-b1dfadeb.js} +2 -2
  818. package/dist/esm-es5/loader.js +2 -2
  819. package/dist/esm-es5/{locale-e7194024.js → locale-4560d933.js} +2 -2
  820. package/dist/esm-es5/{math-3caf2732.js → math-41ee05b3.js} +1 -1
  821. package/dist/esm-es5/{observers-04da3aa2.js → observers-aaac56ce.js} +1 -1
  822. package/dist/esm-es5/{openCloseComponent-c28502aa.js → openCloseComponent-ae7e7180.js} +1 -1
  823. package/dist/esm-es5/{resources-fb2c5569.js → resources-50e283ed.js} +2 -2
  824. package/dist/esm-es5/resources-5b5ae1af.js +6 -0
  825. package/dist/esm-es5/{resources-1b4bd79e.js → resources-68c32ce1.js} +1 -1
  826. package/dist/esm-es5/{resources-a3196cd9.js → resources-7ed1d3b6.js} +1 -1
  827. package/dist/esm-es5/{resources-262a0e5a.js → resources-c21c6026.js} +1 -1
  828. package/dist/esm-es5/{resources-f0e7bd38.js → resources-e706faf6.js} +1 -1
  829. package/dist/esm-es5/{sortable.esm-b06d1353.js → sortable.esm-5be669e6.js} +1 -1
  830. package/dist/esm-es5/{utils-ebc9c1e2.js → utils-29b0defb.js} +1 -1
  831. package/dist/extras/docs-json.json +8 -2
  832. package/dist/loader/cdn.js +1 -1
  833. package/dist/loader/index.cjs.js +1 -1
  834. package/dist/loader/index.es2017.js +1 -1
  835. package/dist/loader/index.js +1 -1
  836. package/dist/types/components/date-picker/utils.d.ts +6 -0
  837. package/dist/types/components/link/link.d.ts +2 -0
  838. package/dist/types/utils/date.d.ts +9 -1
  839. package/hydrate/index.js +236 -195
  840. package/package.json +8 -8
  841. package/dist/calcite/p-0aaaec34.entry.js +0 -6
  842. package/dist/calcite/p-250df0c1.entry.js +0 -6
  843. package/dist/calcite/p-6b8e5715.entry.js +0 -6
  844. package/dist/calcite/p-7264b861.js +0 -6
  845. package/dist/calcite/p-a935c72b.system.entry.js +0 -6
  846. package/dist/calcite/p-b1ada8a7.system.js +0 -6
  847. package/dist/calcite/p-c2891336.entry.js +0 -6
  848. package/dist/calcite/p-c5f18639.js +0 -6
  849. package/dist/calcite/p-ce07692c.js +0 -6
  850. package/dist/calcite/p-d68ad052.system.entry.js +0 -6
  851. package/dist/calcite/p-dce4cc99.system.js +0 -6
  852. package/dist/esm-es5/resources-8fdc061f.js +0 -6
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
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.576
4
+ * v1.0.0-next.579
5
5
  */
6
6
  'use strict';
7
7
 
@@ -16764,6 +16764,209 @@ class ComboboxItemGroup {
16764
16764
  }; }
16765
16765
  }
16766
16766
 
16767
+ /**
16768
+ * Check if date is within a min and max
16769
+ *
16770
+ * @param date
16771
+ * @param min
16772
+ * @param max
16773
+ */
16774
+ function inRange(date, min, max) {
16775
+ const time = date.getTime();
16776
+ const afterMin = !(min instanceof Date) || time >= min.getTime();
16777
+ const beforeMax = !(max instanceof Date) || time <= max.getTime();
16778
+ return afterMin && beforeMax;
16779
+ }
16780
+ /**
16781
+ * Ensures date is within range,
16782
+ * returns min or max if out of bounds
16783
+ *
16784
+ * @param date
16785
+ * @param min
16786
+ * @param max
16787
+ */
16788
+ function dateFromRange(date, min, max) {
16789
+ if (!(date instanceof Date)) {
16790
+ return null;
16791
+ }
16792
+ const time = date.getTime();
16793
+ const beforeMin = min instanceof Date && time < min.getTime();
16794
+ const afterMax = max instanceof Date && time > max.getTime();
16795
+ if (beforeMin) {
16796
+ return min;
16797
+ }
16798
+ if (afterMax) {
16799
+ return max;
16800
+ }
16801
+ return date;
16802
+ }
16803
+ /**
16804
+ * Parse an iso8601 string (YYYY-mm-dd) into a valid date.
16805
+ * TODO: handle time when time of day UI is added
16806
+ *
16807
+ * @param iso8601
16808
+ * @param isEndDate
16809
+ */
16810
+ function dateFromISO(iso8601, isEndDate = false) {
16811
+ if (iso8601 instanceof Date) {
16812
+ return iso8601;
16813
+ }
16814
+ if (!iso8601 || typeof iso8601 !== "string") {
16815
+ return null;
16816
+ }
16817
+ const d = iso8601.split(/[: T-]/).map(parseFloat);
16818
+ const date = new Date(d[0], (d[1] || 1) - 1, d[2] || 1);
16819
+ date.setFullYear(d[0]);
16820
+ if (isNaN(date.getTime())) {
16821
+ throw new Error(`Invalid ISO 8601 date: "${iso8601}"`);
16822
+ }
16823
+ if (isEndDate) {
16824
+ return setEndOfDay(date);
16825
+ }
16826
+ return date;
16827
+ }
16828
+ /**
16829
+ * Return first portion of ISO string (YYYY-mm-dd)
16830
+ *
16831
+ * @param date
16832
+ */
16833
+ function dateToISO(date) {
16834
+ if (typeof date === "string") {
16835
+ return date;
16836
+ }
16837
+ if (date instanceof Date) {
16838
+ return new Date(date.getTime() - date.getTimezoneOffset() * 60000).toISOString().split("T")[0];
16839
+ }
16840
+ return "";
16841
+ }
16842
+ /**
16843
+ * Check if two dates are the same day, month, year
16844
+ *
16845
+ * @param d1
16846
+ * @param d2
16847
+ */
16848
+ function sameDate(d1, d2) {
16849
+ return (d1 instanceof Date &&
16850
+ d2 instanceof Date &&
16851
+ d1.getDate() === d2.getDate() &&
16852
+ d1.getMonth() === d2.getMonth() &&
16853
+ d1.getFullYear() === d2.getFullYear());
16854
+ }
16855
+ /**
16856
+ * Get a date one month in the past
16857
+ *
16858
+ * @param date
16859
+ */
16860
+ function prevMonth(date) {
16861
+ const month = date.getMonth();
16862
+ const nextDate = new Date(date);
16863
+ nextDate.setMonth(month - 1);
16864
+ // date doesn't exist in new month, use last day
16865
+ if (month === nextDate.getMonth()) {
16866
+ return new Date(date.getFullYear(), month, 0);
16867
+ }
16868
+ return nextDate;
16869
+ }
16870
+ /**
16871
+ * Get a date one month in the future
16872
+ *
16873
+ * @param date
16874
+ */
16875
+ function nextMonth(date) {
16876
+ const month = date.getMonth();
16877
+ const nextDate = new Date(date);
16878
+ nextDate.setMonth(month + 1);
16879
+ // date doesn't exist in new month, use last day
16880
+ if ((month + 2) % 7 === nextDate.getMonth() % 7) {
16881
+ return new Date(date.getFullYear(), month + 2, 0);
16882
+ }
16883
+ return nextDate;
16884
+ }
16885
+ /**
16886
+ * Translate a number into a given locals numeral system
16887
+ *
16888
+ * @param num
16889
+ * @param localeData
16890
+ */
16891
+ function localizeNumber(num, localeData) {
16892
+ return String(num)
16893
+ .split("")
16894
+ .map((i) => localeData.numerals[i])
16895
+ .join("");
16896
+ }
16897
+ /**
16898
+ * Calculate actual number from localized string
16899
+ *
16900
+ * @param str
16901
+ * @param localeData
16902
+ */
16903
+ function parseNumber(str, localeData) {
16904
+ const numerals = "0123456789";
16905
+ return parseInt(str
16906
+ .split("")
16907
+ .map((i) => numerals[localeData.numerals.indexOf(i)])
16908
+ .filter((num) => num)
16909
+ .join(""));
16910
+ }
16911
+ /**
16912
+ * Parse numeric units for day, month, and year from a localized string
16913
+ * month starts at 0 (can pass to date constructor)
16914
+ *
16915
+ * @param str
16916
+ * @param localeData
16917
+ */
16918
+ function parseDateString(str, localeData) {
16919
+ const { separator, unitOrder } = localeData;
16920
+ const order = getOrder(unitOrder);
16921
+ const values = replaceArabicNumerals(str).split(separator);
16922
+ return {
16923
+ day: parseInt(values[order.indexOf("d")]),
16924
+ month: parseInt(values[order.indexOf("m")]) - 1,
16925
+ year: parseInt(values[order.indexOf("y")])
16926
+ };
16927
+ }
16928
+ /**
16929
+ * Convert eastern arbic numerals
16930
+ *
16931
+ * @param str
16932
+ */
16933
+ function replaceArabicNumerals(str = "") {
16934
+ return str
16935
+ .replace(/[\u0660-\u0669]/g, (c) => (c.charCodeAt(0) - 0x0660))
16936
+ .replace(/[\u06f0-\u06f9]/g, (c) => (c.charCodeAt(0) - 0x06f0));
16937
+ }
16938
+ /**
16939
+ * Based on the unitOrder string, find order of month, day, and year for locale
16940
+ *
16941
+ * @param unitOrder
16942
+ */
16943
+ function getOrder(unitOrder) {
16944
+ const signifiers = ["d", "m", "y"];
16945
+ const order = unitOrder.toLowerCase();
16946
+ return signifiers.sort((a, b) => order.indexOf(a) - order.indexOf(b));
16947
+ }
16948
+ /**
16949
+ * Get number of days between two dates
16950
+ *
16951
+ * @param date1
16952
+ * @param date2
16953
+ */
16954
+ function getDaysDiff(date1, date2) {
16955
+ const ts1 = date1.getTime();
16956
+ const ts2 = date2.getTime();
16957
+ return (ts1 - ts2) / (1000 * 3600 * 24);
16958
+ }
16959
+ /**
16960
+ * Set time of the day to the end.
16961
+ *
16962
+ * @param {Date} date Date.
16963
+ * @returns {Date} Date with time set to end of day .
16964
+ */
16965
+ function setEndOfDay(date) {
16966
+ date.setHours(23, 59, 59, 999);
16967
+ return date;
16968
+ }
16969
+
16767
16970
  // regex for number sanitization
16768
16971
  const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
16769
16972
  const decimalOnlyAtEndOfString = /(?!^\.)\.$/;
@@ -16960,192 +17163,12 @@ function localizeNumberString(numberString, locale, displayGroupSeparator = fals
16960
17163
  }
16961
17164
 
16962
17165
  /**
16963
- * Check if date is within a min and max
17166
+ * Maps value to valueAsDate
16964
17167
  *
16965
- * @param date
16966
- * @param min
16967
- * @param max
16968
- */
16969
- function inRange(date, min, max) {
16970
- const time = date.getTime();
16971
- const afterMin = !(min instanceof Date) || time >= min.getTime();
16972
- const beforeMax = !(max instanceof Date) || time <= max.getTime();
16973
- return afterMin && beforeMax;
16974
- }
16975
- /**
16976
- * Ensures date is within range,
16977
- * returns min or max if out of bounds
16978
- *
16979
- * @param date
16980
- * @param min
16981
- * @param max
16982
- */
16983
- function dateFromRange(date, min, max) {
16984
- if (!(date instanceof Date)) {
16985
- return null;
16986
- }
16987
- const time = date.getTime();
16988
- const beforeMin = min instanceof Date && time < min.getTime();
16989
- const afterMax = max instanceof Date && time > max.getTime();
16990
- if (beforeMin) {
16991
- return min;
16992
- }
16993
- if (afterMax) {
16994
- return max;
16995
- }
16996
- return date;
16997
- }
16998
- /**
16999
- * Parse an iso8601 string (YYYY-mm-dd) into a valid date.
17000
- * TODO: handle time when time of day UI is added
17001
- *
17002
- * @param iso8601
17003
- */
17004
- function dateFromISO(iso8601) {
17005
- if (iso8601 instanceof Date) {
17006
- return iso8601;
17007
- }
17008
- if (!iso8601 || typeof iso8601 !== "string") {
17009
- return null;
17010
- }
17011
- const d = iso8601.split(/[: T-]/).map(parseFloat);
17012
- const date = new Date(d[0], (d[1] || 1) - 1, d[2] || 1);
17013
- date.setFullYear(d[0]);
17014
- if (isNaN(date.getTime())) {
17015
- throw new Error(`Invalid ISO 8601 date: "${iso8601}"`);
17016
- }
17017
- return date;
17018
- }
17019
- /**
17020
- * Return first portion of ISO string (YYYY-mm-dd)
17021
- *
17022
- * @param date
17023
- */
17024
- function dateToISO(date) {
17025
- if (typeof date === "string") {
17026
- return date;
17027
- }
17028
- if (date instanceof Date) {
17029
- return new Date(date.getTime() - date.getTimezoneOffset() * 60000).toISOString().split("T")[0];
17030
- }
17031
- return "";
17032
- }
17033
- /**
17034
- * Check if two dates are the same day, month, year
17035
- *
17036
- * @param d1
17037
- * @param d2
17038
- */
17039
- function sameDate(d1, d2) {
17040
- return (d1 instanceof Date &&
17041
- d2 instanceof Date &&
17042
- d1.getDate() === d2.getDate() &&
17043
- d1.getMonth() === d2.getMonth() &&
17044
- d1.getFullYear() === d2.getFullYear());
17045
- }
17046
- /**
17047
- * Get a date one month in the past
17048
- *
17049
- * @param date
17050
- */
17051
- function prevMonth(date) {
17052
- const month = date.getMonth();
17053
- const nextDate = new Date(date);
17054
- nextDate.setMonth(month - 1);
17055
- // date doesn't exist in new month, use last day
17056
- if (month === nextDate.getMonth()) {
17057
- return new Date(date.getFullYear(), month, 0);
17058
- }
17059
- return nextDate;
17060
- }
17061
- /**
17062
- * Get a date one month in the future
17063
- *
17064
- * @param date
17065
- */
17066
- function nextMonth(date) {
17067
- const month = date.getMonth();
17068
- const nextDate = new Date(date);
17069
- nextDate.setMonth(month + 1);
17070
- // date doesn't exist in new month, use last day
17071
- if ((month + 2) % 7 === nextDate.getMonth() % 7) {
17072
- return new Date(date.getFullYear(), month + 2, 0);
17073
- }
17074
- return nextDate;
17075
- }
17076
- /**
17077
- * Translate a number into a given locals numeral system
17078
- *
17079
- * @param num
17080
- * @param localeData
17081
- */
17082
- function localizeNumber(num, localeData) {
17083
- return String(num)
17084
- .split("")
17085
- .map((i) => localeData.numerals[i])
17086
- .join("");
17087
- }
17088
- /**
17089
- * Calculate actual number from localized string
17090
- *
17091
- * @param str
17092
- * @param localeData
17093
- */
17094
- function parseNumber(str, localeData) {
17095
- const numerals = "0123456789";
17096
- return parseInt(str
17097
- .split("")
17098
- .map((i) => numerals[localeData.numerals.indexOf(i)])
17099
- .filter((num) => num)
17100
- .join(""));
17101
- }
17102
- /**
17103
- * Parse numeric units for day, month, and year from a localized string
17104
- * month starts at 0 (can pass to date constructor)
17105
- *
17106
- * @param str
17107
- * @param localeData
17108
- */
17109
- function parseDateString(str, localeData) {
17110
- const { separator, unitOrder } = localeData;
17111
- const order = getOrder(unitOrder);
17112
- const values = replaceArabicNumerals(str).split(separator);
17113
- return {
17114
- day: parseInt(values[order.indexOf("d")]),
17115
- month: parseInt(values[order.indexOf("m")]) - 1,
17116
- year: parseInt(values[order.indexOf("y")])
17117
- };
17118
- }
17119
- /**
17120
- * Convert eastern arbic numerals
17121
- *
17122
- * @param str
17123
- */
17124
- function replaceArabicNumerals(str = "") {
17125
- return str
17126
- .replace(/[\u0660-\u0669]/g, (c) => (c.charCodeAt(0) - 0x0660))
17127
- .replace(/[\u06f0-\u06f9]/g, (c) => (c.charCodeAt(0) - 0x06f0));
17128
- }
17129
- /**
17130
- * Based on the unitOrder string, find order of month, day, and year for locale
17131
- *
17132
- * @param unitOrder
17133
- */
17134
- function getOrder(unitOrder) {
17135
- const signifiers = ["d", "m", "y"];
17136
- const order = unitOrder.toLowerCase();
17137
- return signifiers.sort((a, b) => order.indexOf(a) - order.indexOf(b));
17138
- }
17139
- /**
17140
- * Get number of days between two dates
17141
- *
17142
- * @param date1
17143
- * @param date2
17168
+ * @param value
17144
17169
  */
17145
- function getDaysDiff(date1, date2) {
17146
- const ts1 = date1.getTime();
17147
- const ts2 = date2.getTime();
17148
- return (ts1 - ts2) / (1000 * 3600 * 24);
17170
+ function getValueAsDateRange(value) {
17171
+ return value.map((v, index) => dateFromISO(v, index === 1));
17149
17172
  }
17150
17173
 
17151
17174
  const HEADING_LEVEL$6 = 2;
@@ -17406,7 +17429,7 @@ class DatePicker {
17406
17429
  // --------------------------------------------------------------------------
17407
17430
  connectedCallback() {
17408
17431
  if (Array.isArray(this.value)) {
17409
- this.valueAsDate = this.value.map((v) => dateFromISO(v));
17432
+ this.valueAsDate = getValueAsDateRange(this.value);
17410
17433
  this.start = this.value[0];
17411
17434
  this.end = this.value[1];
17412
17435
  }
@@ -17464,7 +17487,7 @@ class DatePicker {
17464
17487
  }
17465
17488
  valueHandler(value) {
17466
17489
  if (Array.isArray(value)) {
17467
- this.valueAsDate = value.map((v) => dateFromISO(v));
17490
+ this.valueAsDate = getValueAsDateRange(value);
17468
17491
  this.start = value[0];
17469
17492
  this.end = value[1];
17470
17493
  }
@@ -17523,7 +17546,7 @@ class DatePicker {
17523
17546
  * @param emit
17524
17547
  */
17525
17548
  setEndAsDate(endDate, emit) {
17526
- this.endAsDate = endDate;
17549
+ this.endAsDate = endDate ? setEndOfDay(endDate) : endDate;
17527
17550
  this.mostRecentRangeValue = this.endAsDate;
17528
17551
  if (emit) {
17529
17552
  this.calciteDatePickerRangeChange.emit({
@@ -21062,7 +21085,7 @@ class InputDatePicker {
21062
21085
  }
21063
21086
  valueHandler(value) {
21064
21087
  if (Array.isArray(value)) {
21065
- this.valueAsDate = value.map((v) => dateFromISO(v));
21088
+ this.valueAsDate = getValueAsDateRange(value);
21066
21089
  this.start = value[0];
21067
21090
  this.end = value[1];
21068
21091
  }
@@ -21151,7 +21174,7 @@ class InputDatePicker {
21151
21174
  isOpen && this.activeHandler(isOpen);
21152
21175
  isOpen && this.openHandler(isOpen);
21153
21176
  if (Array.isArray(this.value)) {
21154
- this.valueAsDate = this.value.map((v) => dateFromISO(v));
21177
+ this.valueAsDate = getValueAsDateRange(this.value);
21155
21178
  this.start = this.value[0];
21156
21179
  this.end = this.value[1];
21157
21180
  }
@@ -21164,7 +21187,7 @@ class InputDatePicker {
21164
21187
  this.startAsDate = dateFromISO(this.start);
21165
21188
  }
21166
21189
  if (this.end) {
21167
- this.endAsDate = dateFromISO(this.end);
21190
+ this.endAsDate = setEndOfDay(dateFromISO(this.end));
21168
21191
  }
21169
21192
  if (this.min) {
21170
21193
  this.minAsDate = dateFromISO(this.min);
@@ -21244,7 +21267,7 @@ class InputDatePicker {
21244
21267
  this.startAsDate = dateFromISO(start);
21245
21268
  }
21246
21269
  endWatcher(end) {
21247
- this.endAsDate = dateFromISO(end);
21270
+ this.endAsDate = end ? setEndOfDay(dateFromISO(end)) : dateFromISO(end);
21248
21271
  }
21249
21272
  async loadLocaleData() {
21250
21273
  {
@@ -21314,7 +21337,7 @@ class InputDatePicker {
21314
21337
  this.end = endDateISO;
21315
21338
  this.calciteDatePickerRangeChange.emit({
21316
21339
  startDate: this.startAsDate,
21317
- endDate: date
21340
+ endDate: setEndOfDay(date)
21318
21341
  });
21319
21342
  }
21320
21343
  }
@@ -23035,6 +23058,12 @@ class Link {
23035
23058
  * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
23036
23059
  */
23037
23060
  this.download = false;
23061
+ this.childElClickHandler = (event) => {
23062
+ if (!event.isTrusted) {
23063
+ // click was invoked internally, we stop it here
23064
+ event.stopPropagation();
23065
+ }
23066
+ };
23038
23067
  //--------------------------------------------------------------------------
23039
23068
  //
23040
23069
  // Private Methods
@@ -23066,7 +23095,18 @@ class Link {
23066
23095
  When the 'download' property of type 'boolean | string' is set to true, the value is "".
23067
23096
  This works around that issue for now.
23068
23097
  */
23069
- download: Tag === "a" && (download === "" || download) ? download : null, href: Tag === "a" && this.href, ref: this.storeTagRef, rel: Tag === "a" && this.rel, role: role, tabIndex: tabIndex, target: Tag === "a" && this.target }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
23098
+ download: Tag === "a" && (download === "" || download) ? download : null, href: Tag === "a" && this.href, onClick: this.childElClickHandler, ref: this.storeTagRef, rel: Tag === "a" && this.rel, role: role, tabIndex: tabIndex, target: Tag === "a" && this.target }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
23099
+ }
23100
+ //--------------------------------------------------------------------------
23101
+ //
23102
+ // Events
23103
+ //
23104
+ //--------------------------------------------------------------------------
23105
+ clickHandler(event) {
23106
+ // forwards the click() to the internal link for non user-initiated events
23107
+ if (!event.isTrusted) {
23108
+ this.childEl.click();
23109
+ }
23070
23110
  }
23071
23111
  //--------------------------------------------------------------------------
23072
23112
  //
@@ -23093,7 +23133,7 @@ class Link {
23093
23133
  "target": [1],
23094
23134
  "setFocus": [64]
23095
23135
  },
23096
- "$listeners$": undefined,
23136
+ "$listeners$": [[0, "click", "clickHandler"]],
23097
23137
  "$lazyBundleId$": "-",
23098
23138
  "$attrsToReflect$": [["disabled", "disabled"], ["download", "download"], ["href", "href"], ["iconEnd", "icon-end"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"]]
23099
23139
  }; }
@@ -34137,6 +34177,7 @@ class TimePicker {
34137
34177
  connectedCallback() {
34138
34178
  this.setValue(this.value, false);
34139
34179
  this.hourCycle = getLocaleHourCycle(this.locale);
34180
+ this.meridiemOrder = this.getMeridiemOrder(getTimeParts("0:00:00", this.locale));
34140
34181
  }
34141
34182
  // --------------------------------------------------------------------------
34142
34183
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.576",
3
+ "version": "1.0.0-next.579",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -101,9 +101,9 @@
101
101
  "@types/shell-quote": "1.7.1",
102
102
  "@types/sortablejs": "1.13.0",
103
103
  "@types/standard-version": "7.0.1",
104
- "@types/yargs": "17.0.11",
105
- "@typescript-eslint/eslint-plugin": "5.34.0",
106
- "@typescript-eslint/parser": "5.36.0",
104
+ "@types/yargs": "17.0.12",
105
+ "@typescript-eslint/eslint-plugin": "5.36.1",
106
+ "@typescript-eslint/parser": "5.36.1",
107
107
  "@whitespace/storybook-addon-html": "5.0.0",
108
108
  "autoprefixer": "10.4.8",
109
109
  "axe-core": "4.4.3",
@@ -115,12 +115,12 @@
115
115
  "conventional-changelog-cli": "2.2.2",
116
116
  "cpy-cli": "^4.0.0",
117
117
  "dedent": "0.7.0",
118
- "eslint": "8.22.0",
118
+ "eslint": "8.23.0",
119
119
  "eslint-config-prettier": "8.5.0",
120
- "eslint-plugin-jest": "26.8.7",
120
+ "eslint-plugin-jest": "27.0.1",
121
121
  "eslint-plugin-jsdoc": "39.3.6",
122
122
  "eslint-plugin-prettier": "4.2.1",
123
- "eslint-plugin-react": "7.30.1",
123
+ "eslint-plugin-react": "7.31.1",
124
124
  "eslint-plugin-unicorn": "43.0.2",
125
125
  "gh-release": "6.0.4",
126
126
  "git-semver-tags": "4.1.1",
@@ -148,7 +148,7 @@
148
148
  "tailwindcss": "3.1.8",
149
149
  "ts-jest": "27.1.2",
150
150
  "ts-node": "10.9.1",
151
- "type-fest": "2.18.0",
151
+ "type-fest": "2.19.0",
152
152
  "typescript": "4.5.4",
153
153
  "updtr": "4.0.0",
154
154
  "workbox-build": "6.5.4",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.576
5
- */
6
- import{r as t,c as i,h as a,H as e,g as n}from"./p-ab6602f7.js";import{T as s,d as r,a as o,b as l,g as c,s as h,p,i as d}from"./p-ce07692c.js";import{c as m,d as u,g as f}from"./p-cfc4a165.js";import{s as b,c as w,d as v,H as y}from"./p-c4c35103.js";import{d as g,f as k,c as x,p as D,a as C,F as z}from"./p-ed924f1b.js";import{u as I}from"./p-25e4f3d8.js";import{t as P}from"./p-8daa6da7.js";import{c as A,d as R}from"./p-5e5f793d.js";import"./p-6e878a5b.js";import"./p-b5d46dde.js";import"./p-444ea4b1.js";import"./p-92becb57.js";const H=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.disabled=!1,this.readOnly=!1,this.active=!1,this.open=!1,this.intlPrevMonth=s.prevMonth,this.intlNextMonth=s.nextMonth,this.intlYear=s.year,this.locale=document.documentElement.lang||"en",this.scale="m",this.placement=g,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.focusedInput="start",this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?k(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t,A(this)},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:a}=t;"Enter"!==a||i?"Escape"!==a||i||(this.active=!1,this.open=!1,t.preventDefault()):b(this)&&t.preventDefault()},this.inputBlur=t=>{this.blur(t.currentTarget)},this.startInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="start"},this.endInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="end"},this.inputInput=t=>{this.input(t.detail.value)},this.setFloatingEl=t=>{t&&(this.floatingEl=t,x(this,this.referenceEl,this.floatingEl))},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(this.value=r(t.detail))},this.handleDateRangeChange=t=>{var i,a;if(!this.range||!t.detail)return;const{startDate:e,endDate:n}=t.detail;this.start=r(e),this.end=r(n),this.value=[this.start,this.end],this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(a=this.startInput)||void 0===a||a.setFocus())}}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueHandler(t){Array.isArray(t)?(this.valueAsDate=t.map((t=>o(t))),this.start=t[0],this.end=t[1]):t?(this.valueAsDate=o(t),this.start="",this.end=""):(this.valueAsDate=void 0,this.start=void 0,this.end=void 0)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition()}onMinChanged(t){t&&(this.minAsDate=o(t))}onMaxChanged(t){t&&(this.maxAsDate=o(t))}activeHandler(t){this.open=t}openHandler(t){this.active=t,this.disabled||this.readOnly?this.open=!1:this.reposition()}overlayPositioningHandler(){this.reposition()}handleDateOrRangeChange(){this.calciteInputDatePickerChange.emit()}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){var t;null===(t=this.startInput)||void 0===t||t.setFocus()}async reposition(){const{floatingEl:t,referenceEl:i,placement:a,overlayPositioning:e,filteredFlipPlacements:n}=this;return D({floatingEl:t,referenceEl:i,overlayPositioning:e,placement:a,flipPlacements:n,type:"menu"})}connectedCallback(){const t=this.active||this.open;t&&this.activeHandler(t),t&&this.openHandler(t),Array.isArray(this.value)?(this.valueAsDate=this.value.map((t=>o(t))),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=o(this.value),this.start="",this.end=""),this.start&&(this.startAsDate=o(this.start)),this.end&&(this.endAsDate=o(this.end)),this.min&&(this.minAsDate=o(this.min)),this.max&&(this.maxAsDate=o(this.max)),m(this),w(this),A(this),this.setFilteredPlacements(),this.reposition()}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){this.reposition()}disconnectedCallback(){u(this),v(this),C(this,this.referenceEl,this.floatingEl),R(this)}componentDidRender(){I(this)}render(){var t,i;const{disabled:n,readOnly:s}=this,r=l(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),o=this.range?l(this.endAsDate,this.minAsDate,this.maxAsDate):null,c=o?o.toLocaleDateString(this.locale):"",h=r?r.toLocaleDateString(this.locale):"";return a(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":P(this.open),class:"input-container",role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:n,icon:"calendar",label:f(this),"number-button-type":"none",onCalciteInputInput:this.inputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.startInputFocus,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,readOnly:s,ref:this.setStartInput,scale:this.scale,type:"text",value:h})),a("div",{"aria-hidden":P(!this.open),class:{"menu-container":!0,"menu-container--active":this.open},ref:this.setFloatingEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[z.animation]:!0,[z.animationActive]:this.open},ref:this.setTransitionEl},a("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,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&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:n,icon:"calendar","number-button-type":"none",onCalciteInputInput:this.inputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.endInputFocus,placeholder:null===(i=this.localeData)||void 0===i?void 0:i.placeholder,readOnly:s,ref:this.setEndInput,scale:this.scale,type:"text",value:c}))),a(y,{component:this}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,x(this,this.referenceEl,this.floatingEl)}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit()}startWatcher(t){this.startAsDate=o(t)}endWatcher(t){this.endAsDate=o(t)}async loadLocaleData(){const{locale:t}=this;this.localeData=await c(t)}clearCurrentValue(){if(!this.range)return"string"==typeof this.value&&this.value&&this.calciteDatePickerChange.emit(),void(this.value="");const{focusedInput:t}=this;"start"===t?(this.start&&this.calciteDatePickerRangeChange.emit(),this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""],this.start=void 0):"end"===t&&(this.end&&this.calciteDatePickerRangeChange.emit(),this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""],this.end=void 0)}input(t){const i=this.getDateFromInput(t);if(!i)return void this.clearCurrentValue();if(!this.range)return this.value=r(i),void this.calciteDatePickerChange.emit(i);const{focusedInput:a}=this;if("start"===a){if(!this.startAsDate||!h(i,this.startAsDate)){const t=r(i);this.value=Array.isArray(this.value)?[t,this.value[1]||""]:[t],this.start=t,this.calciteDatePickerRangeChange.emit({startDate:i,endDate:this.endAsDate})}}else if(!("end"!==a||this.endAsDate&&h(i,this.endAsDate))){const t=r(i);this.value=Array.isArray(this.value)?[this.value[0]||"",t]:["",t],this.end=t,this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:i})}}blur(t){const{locale:i,focusedInput:a,endAsDate:e,range:n,startAsDate:s,valueAsDate:r}=this;this.getDateFromInput(t.value)||(!n&&r?t.value=Array.isArray(r)?r["end"===a?1:0].toLocaleDateString(i):r.toLocaleDateString(i):"start"===a&&s?t.value=s.toLocaleDateString(i):"end"===a&&e&&(t.value=e.toLocaleDateString(i)))}shouldFocusRangeStart(){return!(!this.endAsDate||this.startAsDate||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}getDateFromInput(t){if(!this.localeData)return!1;const{separator:i}=this.localeData,{day:a,month:e,year:n}=p(t,this.localeData),s=a>0,r=e>-1,o=new Date(n,e,a);o.setFullYear(n);const l=!isNaN(o.getTime()),c=t.split(i).filter((t=>t)).length>2,h=n.toString().length>0;return!!(s&&r&&l&&c&&h&&d(o,this.min,this.max))&&o}get el(){return n(this)}static get watchers(){return{disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],locale:["loadLocaleData"]}}};H.style="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-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);z-index:1;border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-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{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size: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{inset-block-start:1.5rem;position:absolute;inset-inline-start:0px;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);inline-size:0;block-size:0;overflow:hidden;pointer-events:none;visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-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);z-index:1;border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([open]) .menu-container{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}.menu-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}.input .calcite-input__wrapper{-webkit-margin-before:0px;margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{H as calcite_input_date_picker}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.576
5
- */
6
- import{r as t,h as i,H as a,g as n}from"./p-ab6602f7.js";import{a as e,f as o}from"./p-8daa6da7.js";import{C as s}from"./p-444ea4b1.js";import{u as r}from"./p-25e4f3d8.js";import"./p-92becb57.js";const l=class{constructor(i){t(this,i),this.disabled=!1,this.download=!1,this.storeTagRef=t=>{this.childEl=t}}componentDidRender(){r(this)}render(){const{download:t,el:n}=this,o=e(n),r=this.href?"a":"span",l=i("calcite-icon",{class:"calcite-link--icon icon-start",flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"s"}),c=i("calcite-icon",{class:"calcite-link--icon icon-end",flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"s"});return i(a,{role:"presentation"},i(r,{class:{[s.rtl]:"rtl"===o},download:"a"!==r||""!==t&&!t?null:t,href:"a"===r&&this.href,ref:this.storeTagRef,rel:"a"===r&&this.rel,role:"span"===r?"link":null,tabIndex:"span"===r?0:null,target:"a"===r&&this.target},this.iconStart?l:null,i("slot",null),this.iconEnd?c:null))}async setFocus(){o(this.childEl)}get el(){return n(this)}};l.style="@-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:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.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-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline}:host a,:host span{position:relative;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:0px;border-style:none;font-family:inherit;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;text-decoration:none;line-height:inherit;font-size:inherit;-webkit-appearance:none}:host a:hover,:host span:hover{text-decoration:none}:host a,:host span{outline-color:transparent}:host a:focus,:host span:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-icon{inline-size:1em;block-size:1em;min-inline-size:unset;min-block-size:unset}.calcite-link--icon{vertical-align:text-top;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-before:0.125rem;margin-block-start:0.125rem}:host .calcite-link--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host .calcite-link--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host span,:host a{position:relative;display:inline;border-style:none;background-color:transparent;padding:0px;color:var(--calcite-ui-text-link);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;line-height:inherit;white-space:initial;background-image:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)), -webkit-gradient(linear, left top, left bottom, from(var(--calcite-link-blue-underline)), to(var(--calcite-link-blue-underline)));background-image:linear-gradient(currentColor, currentColor), linear-gradient(var(--calcite-link-blue-underline), var(--calcite-link-blue-underline));background-position:0% 100%, 100% 100%;background-repeat:no-repeat, no-repeat;background-size:0% 1px, 100% 1px}:host span:hover,:host span:focus,:host a:hover,:host a:focus{background-size:100% 1px, 100% 1px}:host span:active,:host a:active{background-size:100% 2px, 100% 2px}:host span.calcite--rtl,:host a.calcite--rtl{background-position:100% 100%, 100% 100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{l as calcite_link}