@esri/calcite-components 1.0.0-next.522 → 1.0.0-next.525

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 (818) hide show
  1. package/dist/calcite/calcite.css +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-f342c46f.entry.js → p-0362ba14.entry.js} +2 -2
  6. package/dist/calcite/{p-2c08c290.system.entry.js → p-03d74ef8.system.entry.js} +2 -2
  7. package/dist/calcite/{p-51862ce5.entry.js → p-0872c9ff.entry.js} +2 -2
  8. package/dist/calcite/{p-e311d728.entry.js → p-0884714d.entry.js} +2 -2
  9. package/dist/calcite/{p-7cc8ab54.system.js → p-097c25df.system.js} +1 -1
  10. package/dist/calcite/{p-0f325504.entry.js → p-0aa57571.entry.js} +2 -2
  11. package/dist/calcite/{p-d408bf2a.js → p-0b84b515.js} +1 -1
  12. package/dist/calcite/{p-7a8c9b36.js → p-0c544b96.js} +1 -1
  13. package/dist/calcite/{p-7dd9d843.system.entry.js → p-0cea1f69.system.entry.js} +2 -2
  14. package/dist/calcite/{p-1b569ed2.entry.js → p-0e4136ee.entry.js} +2 -2
  15. package/dist/calcite/{p-83201463.system.entry.js → p-12313bfa.system.entry.js} +2 -2
  16. package/dist/calcite/{p-02d90a3c.entry.js → p-13949364.entry.js} +2 -2
  17. package/dist/calcite/{p-0e6c6a3f.entry.js → p-16c52ecc.entry.js} +2 -2
  18. package/dist/calcite/{p-bd920c4c.js → p-16e4e07b.js} +2 -2
  19. package/dist/calcite/{p-6e49979a.system.entry.js → p-170b23a0.system.entry.js} +2 -2
  20. package/dist/calcite/p-1717861c.entry.js +6 -0
  21. package/dist/calcite/{p-f5e5b162.entry.js → p-171a66cc.entry.js} +2 -2
  22. package/dist/calcite/{p-665e2811.system.js → p-173826f0.system.js} +1 -1
  23. package/dist/calcite/{p-c8933dd4.js → p-197e4edd.js} +1 -1
  24. package/dist/calcite/{p-680716eb.system.entry.js → p-19f2eda0.system.entry.js} +2 -2
  25. package/dist/calcite/p-1a4b74f2.js +6 -0
  26. package/dist/calcite/{p-c9a0b3e7.entry.js → p-1ddea970.entry.js} +2 -2
  27. package/dist/calcite/{p-f9eec6b5.js → p-1e480f0d.js} +1 -1
  28. package/dist/calcite/{p-14c02cf3.entry.js → p-1f2b426c.entry.js} +2 -2
  29. package/dist/calcite/{p-12002b5d.js → p-241d4ca2.js} +2 -2
  30. package/dist/calcite/{p-b3498d0a.system.entry.js → p-24b05827.system.entry.js} +2 -2
  31. package/dist/calcite/{p-5035157b.entry.js → p-2755267f.entry.js} +2 -2
  32. package/dist/calcite/{p-70bfb953.system.entry.js → p-2a6a11af.system.entry.js} +2 -2
  33. package/dist/calcite/{p-79ec6c19.entry.js → p-2a78bca4.entry.js} +2 -2
  34. package/dist/calcite/{p-9622b991.system.js → p-2c4819da.system.js} +2 -2
  35. package/dist/calcite/{p-1acdb39a.system.js → p-2cb27a28.system.js} +2 -2
  36. package/dist/calcite/{p-06d292ee.system.entry.js → p-2d9a05eb.system.entry.js} +2 -2
  37. package/dist/calcite/{p-0d984834.js → p-2e96af94.js} +2 -2
  38. package/dist/calcite/{p-69aca4c9.js → p-342db291.js} +2 -2
  39. package/dist/calcite/p-34936daa.entry.js +6 -0
  40. package/dist/calcite/{p-edb70e9a.system.entry.js → p-363ce475.system.entry.js} +2 -2
  41. package/dist/calcite/{p-aadf7921.system.js → p-3659f8be.system.js} +1 -1
  42. package/dist/calcite/{p-ec4e9f1d.entry.js → p-37d9969a.entry.js} +2 -2
  43. package/dist/calcite/{p-67062308.entry.js → p-388cc6ef.entry.js} +2 -2
  44. package/dist/calcite/{p-7ee8d9a5.system.entry.js → p-39a41c88.system.entry.js} +2 -2
  45. package/dist/calcite/{p-4dfa4e29.entry.js → p-3aab31d3.entry.js} +2 -2
  46. package/dist/calcite/{p-2c19fc16.system.entry.js → p-3c6df526.system.entry.js} +2 -2
  47. package/dist/calcite/{p-4ab6bef7.system.entry.js → p-3eee5d79.system.entry.js} +2 -2
  48. package/dist/calcite/{p-93da4953.system.js → p-40f7b543.system.js} +1 -1
  49. package/dist/calcite/{p-563d4ab8.entry.js → p-425a3a18.entry.js} +2 -2
  50. package/dist/calcite/{p-97af883a.js → p-4291626d.js} +2 -2
  51. package/dist/calcite/{p-0474a799.entry.js → p-42d40e5e.entry.js} +2 -2
  52. package/dist/calcite/{p-454c08d6.entry.js → p-4483b9f6.entry.js} +2 -2
  53. package/dist/calcite/{p-61641303.system.entry.js → p-48c07f95.system.entry.js} +2 -2
  54. package/dist/calcite/{p-dd998343.entry.js → p-49f5452a.entry.js} +2 -2
  55. package/dist/calcite/{p-d0b3993b.js → p-4af70f9c.js} +1 -1
  56. package/dist/calcite/{p-1f8db5f6.system.entry.js → p-4be3970c.system.entry.js} +2 -2
  57. package/dist/calcite/{p-ae5c7d9e.system.entry.js → p-4c1500eb.system.entry.js} +2 -2
  58. package/dist/calcite/p-4e2d2f52.system.entry.js +6 -0
  59. package/dist/calcite/{p-981926f5.entry.js → p-50c97e8c.entry.js} +2 -2
  60. package/dist/calcite/{p-041def50.system.entry.js → p-52ba9423.system.entry.js} +2 -2
  61. package/dist/calcite/{p-b0e5b10f.system.entry.js → p-543482dc.system.entry.js} +2 -2
  62. package/dist/calcite/{p-74304849.system.js → p-54c72502.system.js} +2 -2
  63. package/dist/calcite/{p-8106987e.system.js → p-5aec0446.system.js} +1 -1
  64. package/dist/calcite/{p-b88e3880.system.js → p-5c2f20e0.system.js} +3 -3
  65. package/dist/calcite/{p-cd46ba47.entry.js → p-5d8e3d98.entry.js} +2 -2
  66. package/dist/calcite/{p-476d5ced.entry.js → p-5df77d24.entry.js} +2 -2
  67. package/dist/calcite/{p-b5c36f2d.entry.js → p-5f56338f.entry.js} +2 -2
  68. package/dist/calcite/{p-d5744efa.system.entry.js → p-5fb6d693.system.entry.js} +2 -2
  69. package/dist/calcite/{p-b816a795.system.entry.js → p-60139268.system.entry.js} +2 -2
  70. package/dist/calcite/{p-6e128447.js → p-6229d0b8.js} +1 -1
  71. package/dist/calcite/{p-6825eeab.entry.js → p-639b77d8.entry.js} +2 -2
  72. package/dist/calcite/{p-8e1c3767.entry.js → p-64189617.entry.js} +2 -2
  73. package/dist/calcite/{p-4c5f2c57.system.entry.js → p-64c19bf8.system.entry.js} +2 -2
  74. package/dist/calcite/{p-fcb0c1e4.js → p-65cfab35.js} +2 -2
  75. package/dist/calcite/{p-695bcfa4.entry.js → p-667abc07.entry.js} +2 -2
  76. package/dist/calcite/{p-c51a8172.system.entry.js → p-67bdb9f6.system.entry.js} +2 -2
  77. package/dist/calcite/{p-e4e7fc69.system.entry.js → p-67cf6af8.system.entry.js} +2 -2
  78. package/dist/calcite/{p-fab25580.system.js → p-6d1a01e1.system.js} +1 -1
  79. package/dist/calcite/{p-51988248.entry.js → p-6e20ecf2.entry.js} +2 -2
  80. package/dist/calcite/{p-0d6a7d43.entry.js → p-7048e3c9.entry.js} +2 -2
  81. package/dist/calcite/{p-8888317b.system.entry.js → p-7123fba5.system.entry.js} +2 -2
  82. package/dist/calcite/{p-d272bab7.system.entry.js → p-769618d9.system.entry.js} +2 -2
  83. package/dist/calcite/{p-02b13787.system.js → p-782b67d0.system.js} +1 -1
  84. package/dist/calcite/{p-d6052d60.system.entry.js → p-78fc3eb7.system.entry.js} +2 -2
  85. package/dist/calcite/{p-54b6c6cb.js → p-7904228d.js} +1 -1
  86. package/dist/calcite/{p-72e19433.system.js → p-7b351537.system.js} +1 -1
  87. package/dist/calcite/{p-ecf5d220.system.js → p-7b5b8f9f.system.js} +2 -2
  88. package/dist/calcite/{p-1492dd2e.system.js → p-7c08ce82.system.js} +1 -1
  89. package/dist/calcite/{p-7ba0e1ca.system.entry.js → p-7d55fee7.system.entry.js} +2 -2
  90. package/dist/calcite/{p-15912f97.entry.js → p-7e0fff17.entry.js} +2 -2
  91. package/dist/calcite/{p-9b8cce2c.js → p-7ffa8636.js} +1 -1
  92. package/dist/calcite/p-82f26c29.entry.js +6 -0
  93. package/dist/calcite/{p-9a891e3f.system.entry.js → p-849abcf4.system.entry.js} +2 -2
  94. package/dist/calcite/{p-b9680bb1.system.entry.js → p-8cb76b6d.system.entry.js} +2 -2
  95. package/dist/calcite/{p-ab5b2bb3.system.js → p-8da8b4be.system.js} +2 -2
  96. package/dist/calcite/{p-2cea745e.entry.js → p-8e294740.entry.js} +2 -2
  97. package/dist/calcite/{p-e2f42683.system.entry.js → p-8e79a07c.system.entry.js} +2 -2
  98. package/dist/calcite/{p-0a28bf7c.system.entry.js → p-8f643b1a.system.entry.js} +2 -2
  99. package/dist/calcite/{p-9f620743.system.js → p-90c4c36c.system.js} +2 -2
  100. package/dist/calcite/{p-4e04e448.js → p-964a7ecd.js} +1 -1
  101. package/dist/calcite/{p-2ca96abc.system.entry.js → p-988519a8.system.entry.js} +2 -2
  102. package/dist/calcite/{p-973dfd08.system.js → p-98ebad2e.system.js} +1 -1
  103. package/dist/calcite/{p-cbfac0d0.entry.js → p-99a02678.entry.js} +2 -2
  104. package/dist/calcite/{p-d7057d4d.js → p-9a9da37a.js} +1 -1
  105. package/dist/calcite/{p-d6c62aae.entry.js → p-9f63a4ed.entry.js} +2 -2
  106. package/dist/calcite/{p-d43b152f.system.entry.js → p-a17a0991.system.entry.js} +2 -2
  107. package/dist/calcite/{p-1d69a2a5.js → p-a18073ff.js} +2 -2
  108. package/dist/calcite/{p-14f02cf1.system.js → p-a1a9693e.system.js} +2 -2
  109. package/dist/calcite/{p-27b2227b.entry.js → p-a4d062c9.entry.js} +2 -2
  110. package/dist/calcite/{p-a4b660d8.system.js → p-a58898a0.system.js} +1 -1
  111. package/dist/calcite/{p-28f260c7.entry.js → p-a9e8b19c.entry.js} +2 -2
  112. package/dist/calcite/{p-8d368b1d.system.entry.js → p-a9f6875f.system.entry.js} +2 -2
  113. package/dist/calcite/{p-1b84dd72.entry.js → p-abb78c3e.entry.js} +2 -2
  114. package/dist/calcite/{p-873fd04d.entry.js → p-ad7f5cb1.entry.js} +2 -2
  115. package/dist/calcite/{p-915db32f.entry.js → p-ae3217e4.entry.js} +2 -2
  116. package/dist/calcite/{p-2621edb4.system.entry.js → p-aff218bf.system.entry.js} +2 -2
  117. package/dist/calcite/{p-df65c7dd.entry.js → p-b0832288.entry.js} +2 -2
  118. package/dist/calcite/p-b40bcbc1.system.entry.js +6 -0
  119. package/dist/calcite/{p-e10d2e24.system.entry.js → p-b4b79300.system.entry.js} +2 -2
  120. package/dist/calcite/{p-fa8833ad.js → p-b52858de.js} +1 -1
  121. package/dist/calcite/{p-b40465ee.system.js → p-b5e4f98f.system.js} +1 -1
  122. package/dist/calcite/{p-03c5b20a.system.entry.js → p-b697477a.system.entry.js} +2 -2
  123. package/dist/calcite/{p-80c21a40.entry.js → p-b7188057.entry.js} +2 -2
  124. package/dist/calcite/{p-fa80738a.entry.js → p-b71f209c.entry.js} +2 -2
  125. package/dist/calcite/{p-4a237fef.system.entry.js → p-b8a205f6.system.entry.js} +2 -2
  126. package/dist/calcite/{p-8bafa8bd.system.entry.js → p-bc5156ce.system.entry.js} +2 -2
  127. package/dist/calcite/{p-8a9593ae.entry.js → p-bc6a9aef.entry.js} +2 -2
  128. package/dist/calcite/{p-7c7d9679.js → p-bcbc4753.js} +1 -1
  129. package/dist/calcite/{p-2122b11f.system.entry.js → p-be1e6c8d.system.entry.js} +2 -2
  130. package/dist/calcite/p-c14cdf32.system.entry.js +6 -0
  131. package/dist/calcite/{p-b30d3cb6.system.js → p-c2052d5c.system.js} +2 -2
  132. package/dist/calcite/{p-69bd2fb5.entry.js → p-c237ae5e.entry.js} +2 -2
  133. package/dist/calcite/{p-5fb93865.entry.js → p-c2875918.entry.js} +2 -2
  134. package/dist/calcite/{p-156bb68a.system.entry.js → p-c4c94f04.system.entry.js} +2 -2
  135. package/dist/calcite/{p-72e5daab.system.entry.js → p-c62f2f0a.system.entry.js} +2 -2
  136. package/dist/calcite/{p-cfcf2b2d.system.entry.js → p-caced5bb.system.entry.js} +2 -2
  137. package/dist/calcite/{p-359a7f18.entry.js → p-cdd5df4f.entry.js} +2 -2
  138. package/dist/calcite/{p-76517b1e.system.js → p-ce67c68b.system.js} +2 -2
  139. package/dist/calcite/{p-a6cda115.system.entry.js → p-cf518892.system.entry.js} +2 -2
  140. package/dist/calcite/{p-63faa58b.system.entry.js → p-d1660fde.system.entry.js} +2 -2
  141. package/dist/calcite/{p-abfcf5dd.entry.js → p-d19aa778.entry.js} +2 -2
  142. package/dist/calcite/{p-2293f8dc.js → p-d4674166.js} +1 -1
  143. package/dist/calcite/p-d509e032.js +6 -0
  144. package/dist/calcite/p-d704c833.entry.js +6 -0
  145. package/dist/calcite/{p-e9f5e3a8.js → p-d8097540.js} +2 -2
  146. package/dist/calcite/{p-1f8b2a67.entry.js → p-db99cfe8.entry.js} +2 -2
  147. package/dist/calcite/{p-88222a8a.system.entry.js → p-dc0683b4.system.entry.js} +2 -2
  148. package/dist/calcite/{p-7b87e445.system.entry.js → p-dd1ead1a.system.entry.js} +2 -2
  149. package/dist/calcite/{p-17302383.system.js → p-df19d3a8.system.js} +1 -1
  150. package/dist/calcite/{p-0fa9f8cd.system.entry.js → p-e4b16472.system.entry.js} +2 -2
  151. package/dist/calcite/{p-513ffe0e.system.entry.js → p-e728e7d0.system.entry.js} +2 -2
  152. package/dist/calcite/{p-90d4d7ae.system.entry.js → p-e8a92545.system.entry.js} +2 -2
  153. package/dist/calcite/{p-35602f5c.system.entry.js → p-ea1a7c7b.system.entry.js} +2 -2
  154. package/dist/calcite/{p-484dd896.js → p-eb45f2f3.js} +2 -2
  155. package/dist/calcite/p-eb850203.system.js +6 -0
  156. package/dist/calcite/{p-baf8cd79.system.entry.js → p-ebf1eb5d.system.entry.js} +2 -2
  157. package/dist/calcite/{p-1bbb21b1.system.entry.js → p-eccb8532.system.entry.js} +2 -2
  158. package/dist/calcite/{p-fd1e71e3.entry.js → p-ee0ce4a5.entry.js} +2 -2
  159. package/dist/calcite/p-ee95f088.entry.js +6 -0
  160. package/dist/calcite/{p-c491d27c.system.entry.js → p-f26d9c56.system.entry.js} +2 -2
  161. package/dist/calcite/{p-27abc67c.entry.js → p-f51c3692.entry.js} +2 -2
  162. package/dist/calcite/{p-151d73d8.system.js → p-f8b81535.system.js} +2 -2
  163. package/dist/calcite/{p-1f954a13.entry.js → p-f9146696.entry.js} +2 -2
  164. package/dist/calcite/{p-12b35f72.system.entry.js → p-f9747562.system.entry.js} +2 -2
  165. package/dist/calcite/{p-ccf697aa.entry.js → p-fac94337.entry.js} +2 -2
  166. package/dist/calcite/{p-c2f6beed.entry.js → p-fb0808d3.entry.js} +2 -2
  167. package/dist/calcite/{p-7928cdad.system.entry.js → p-fb66e55d.system.entry.js} +2 -2
  168. package/dist/calcite/{p-9e44728c.entry.js → p-fbc3622f.entry.js} +2 -2
  169. package/dist/calcite/{p-d4cf82e2.entry.js → p-fd2bdd68.entry.js} +2 -2
  170. package/dist/calcite/{p-594c0ae3.system.js → p-feb47232.system.js} +1 -1
  171. package/dist/cjs/{ExpandToggle-9438f9f7.js → ExpandToggle-2745b21c.js} +5 -5
  172. package/dist/cjs/{Heading-204bc3e0.js → Heading-b2d01c44.js} +2 -2
  173. package/dist/cjs/{array-14434dbf.js → array-8da26385.js} +1 -1
  174. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  175. package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
  176. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  177. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  178. package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
  179. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  180. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  181. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  182. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  183. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  184. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  185. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  186. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  187. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
  188. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  189. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
  190. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  191. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  192. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  194. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  195. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  196. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  197. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  198. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +37 -21
  199. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  200. package/dist/cjs/calcite-input-number.cjs.entry.js +531 -0
  201. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
  202. package/dist/cjs/calcite-input.cjs.entry.js +11 -11
  203. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  204. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  205. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  206. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  207. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  208. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  209. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  210. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  211. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  212. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  213. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  216. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  217. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
  218. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  219. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  220. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  221. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  222. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  223. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  224. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  225. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  227. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  228. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  229. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  230. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  231. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  232. package/dist/cjs/calcite.cjs.js +4 -4
  233. package/dist/cjs/{conditionalSlot-6012b551.js → conditionalSlot-e06b0e90.js} +3 -3
  234. package/dist/cjs/{debounce-7c8a4cc8.js → debounce-c477951f.js} +1 -1
  235. package/dist/cjs/{dom-739ae487.js → dom-f05962d2.js} +2 -2
  236. package/dist/cjs/{forIn-5ef0ca74.js → forIn-88942872.js} +2 -2
  237. package/dist/cjs/{form-7182f5a7.js → form-0730f37d.js} +3 -3
  238. package/dist/cjs/{guid-d66561a0.js → guid-bc00d73c.js} +1 -1
  239. package/dist/cjs/{index-f1bf60db.js → index-141fe7e3.js} +1 -1
  240. package/dist/cjs/index.cjs.js +1 -1
  241. package/dist/cjs/{interactive-bba9cba3.js → interactive-355899a4.js} +1 -1
  242. package/dist/cjs/{interfaces-d99ec021.js → interfaces-62cb2bd2.js} +1 -1
  243. package/dist/cjs/{key-2b4610f5.js → key-79701226.js} +1 -1
  244. package/dist/cjs/{label-74356241.js → label-a3065b67.js} +2 -2
  245. package/dist/cjs/loader.cjs.js +4 -4
  246. package/dist/cjs/{locale-824bd757.js → locale-265f7308.js} +2 -2
  247. package/dist/cjs/{math-824c1cd2.js → math-77294d6b.js} +1 -1
  248. package/dist/cjs/{observers-c153b458.js → observers-03638bdd.js} +1 -1
  249. package/dist/cjs/{popper-5c94e4b1.js → popper-dcbf4815.js} +2 -2
  250. package/dist/cjs/{resources-68aeb7f6.js → resources-3ab2effd.js} +1 -1
  251. package/dist/cjs/{resources-c6a63cf4.js → resources-797d409d.js} +3 -3
  252. package/dist/cjs/{resources-cf57d101.js → resources-7ad02a28.js} +5 -5
  253. package/dist/cjs/{resources-fc3c9f1f.js → resources-e5149e1c.js} +1 -1
  254. package/dist/cjs/{sortable.esm-f64c964f.js → sortable.esm-515d2d1b.js} +1 -1
  255. package/dist/cjs/{utils-c6020b88.js → utils-185e5641.js} +1 -1
  256. package/dist/collection/collection-manifest.json +7 -1
  257. package/dist/collection/components/accordion/accordion.js +1 -1
  258. package/dist/collection/components/accordion/interfaces.js +1 -1
  259. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  260. package/dist/collection/components/action/action.js +1 -1
  261. package/dist/collection/components/action/resources.js +1 -1
  262. package/dist/collection/components/action-bar/action-bar.css +1 -0
  263. package/dist/collection/components/action-bar/action-bar.js +1 -1
  264. package/dist/collection/components/action-bar/resources.js +1 -1
  265. package/dist/collection/components/action-bar/utils.js +1 -1
  266. package/dist/collection/components/action-group/action-group.js +1 -1
  267. package/dist/collection/components/action-group/resources.js +1 -1
  268. package/dist/collection/components/action-menu/action-menu.js +1 -1
  269. package/dist/collection/components/action-menu/resources.js +1 -1
  270. package/dist/collection/components/action-pad/action-pad.css +1 -0
  271. package/dist/collection/components/action-pad/action-pad.js +1 -1
  272. package/dist/collection/components/action-pad/resources.js +1 -1
  273. package/dist/collection/components/alert/alert.js +1 -1
  274. package/dist/collection/components/alert/interfaces.js +1 -1
  275. package/dist/collection/components/alert/resources.js +1 -1
  276. package/dist/collection/components/avatar/avatar.js +1 -1
  277. package/dist/collection/components/avatar/utils.js +1 -1
  278. package/dist/collection/components/block/block.js +1 -1
  279. package/dist/collection/components/block/resources.js +1 -1
  280. package/dist/collection/components/block-section/block-section.js +1 -1
  281. package/dist/collection/components/block-section/interfaces.js +1 -1
  282. package/dist/collection/components/block-section/resources.js +1 -1
  283. package/dist/collection/components/button/button.js +1 -1
  284. package/dist/collection/components/button/interfaces.js +1 -1
  285. package/dist/collection/components/button/resources.js +1 -1
  286. package/dist/collection/components/card/card.js +1 -1
  287. package/dist/collection/components/card/resources.js +1 -1
  288. package/dist/collection/components/checkbox/checkbox.js +1 -1
  289. package/dist/collection/components/chip/chip.js +1 -1
  290. package/dist/collection/components/chip/interfaces.js +1 -1
  291. package/dist/collection/components/chip/resources.js +1 -1
  292. package/dist/collection/components/color-picker/color-picker.js +1 -1
  293. package/dist/collection/components/color-picker/interfaces.js +1 -1
  294. package/dist/collection/components/color-picker/resources.js +1 -1
  295. package/dist/collection/components/color-picker/utils.js +1 -1
  296. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  297. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  298. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  299. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  300. package/dist/collection/components/combobox/combobox.js +1 -1
  301. package/dist/collection/components/combobox/interfaces.js +1 -1
  302. package/dist/collection/components/combobox/resources.js +1 -1
  303. package/dist/collection/components/combobox/utils.js +1 -1
  304. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  305. package/dist/collection/components/combobox-item/resources.js +1 -1
  306. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  307. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  308. package/dist/collection/components/date-picker/date-picker.js +1 -1
  309. package/dist/collection/components/date-picker/interfaces.js +1 -1
  310. package/dist/collection/components/date-picker/resources.js +1 -1
  311. package/dist/collection/components/date-picker/utils.js +1 -1
  312. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  313. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  314. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  315. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  316. package/dist/collection/components/dropdown/dropdown.js +1 -1
  317. package/dist/collection/components/dropdown/interfaces.js +1 -1
  318. package/dist/collection/components/dropdown/resources.js +1 -1
  319. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  320. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  321. package/dist/collection/components/dropdown-group/resources.js +1 -1
  322. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  323. package/dist/collection/components/dropdown-item/resources.js +1 -1
  324. package/dist/collection/components/fab/fab.js +1 -1
  325. package/dist/collection/components/fab/resources.js +1 -1
  326. package/dist/collection/components/filter/filter.js +1 -1
  327. package/dist/collection/components/filter/resources.js +1 -1
  328. package/dist/collection/components/flow/flow.js +1 -1
  329. package/dist/collection/components/flow/interfaces.js +1 -1
  330. package/dist/collection/components/flow/resources.js +1 -1
  331. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  332. package/dist/collection/components/functional/Heading.js +1 -1
  333. package/dist/collection/components/graph/graph.js +1 -1
  334. package/dist/collection/components/graph/interfaces.js +1 -1
  335. package/dist/collection/components/graph/util.js +1 -1
  336. package/dist/collection/components/handle/handle.js +1 -1
  337. package/dist/collection/components/handle/resources.js +1 -1
  338. package/dist/collection/components/icon/icon.js +1 -1
  339. package/dist/collection/components/icon/resources.js +1 -1
  340. package/dist/collection/components/icon/utils.js +1 -1
  341. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  342. package/dist/collection/components/inline-editable/resources.js +1 -1
  343. package/dist/collection/components/input/input.js +1 -1
  344. package/dist/collection/components/input/interfaces.js +1 -1
  345. package/dist/collection/components/input/resources.js +1 -1
  346. package/dist/collection/components/input-date-picker/input-date-picker.js +46 -11
  347. package/dist/collection/components/input-date-picker/resources.js +9 -0
  348. package/dist/collection/components/input-message/input-message.js +1 -1
  349. package/dist/collection/components/input-message/interfaces.js +1 -1
  350. package/dist/collection/components/input-number/input-number.css +509 -0
  351. package/dist/collection/components/input-number/input-number.js +1251 -0
  352. package/dist/collection/components/input-number/interfaces.js +6 -0
  353. package/dist/collection/components/input-number/resources.js +27 -0
  354. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  355. package/dist/collection/components/interfaces.js +1 -1
  356. package/dist/collection/components/label/label.js +1 -1
  357. package/dist/collection/components/label/resources.js +1 -1
  358. package/dist/collection/components/link/link.js +1 -1
  359. package/dist/collection/components/list/list.js +1 -1
  360. package/dist/collection/components/list/resources.js +1 -1
  361. package/dist/collection/components/list-item/list-item.js +1 -1
  362. package/dist/collection/components/list-item/resources.js +1 -1
  363. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  364. package/dist/collection/components/list-item-group/resources.js +1 -1
  365. package/dist/collection/components/loader/loader.js +1 -1
  366. package/dist/collection/components/modal/interfaces.js +1 -1
  367. package/dist/collection/components/modal/modal.js +1 -1
  368. package/dist/collection/components/modal/resources.js +1 -1
  369. package/dist/collection/components/notice/notice.js +1 -1
  370. package/dist/collection/components/notice/resources.js +1 -1
  371. package/dist/collection/components/option/option.js +1 -1
  372. package/dist/collection/components/option-group/option-group.js +1 -1
  373. package/dist/collection/components/pagination/pagination.js +1 -1
  374. package/dist/collection/components/pagination/resources.js +1 -1
  375. package/dist/collection/components/panel/panel.js +1 -1
  376. package/dist/collection/components/panel/resources.js +1 -1
  377. package/dist/collection/components/pick-list/pick-list.js +1 -1
  378. package/dist/collection/components/pick-list/resources.js +1 -1
  379. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  380. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  381. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  382. package/dist/collection/components/pick-list-group/resources.js +1 -1
  383. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  384. package/dist/collection/components/pick-list-item/resources.js +1 -1
  385. package/dist/collection/components/popover/PopoverManager.js +1 -1
  386. package/dist/collection/components/popover/popover.js +1 -1
  387. package/dist/collection/components/popover/resources.js +1 -1
  388. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  389. package/dist/collection/components/progress/progress.js +1 -1
  390. package/dist/collection/components/radio-button/radio-button.js +1 -1
  391. package/dist/collection/components/radio-button/resources.js +1 -1
  392. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  393. package/dist/collection/components/radio-group/interfaces.js +1 -1
  394. package/dist/collection/components/radio-group/radio-group.js +1 -1
  395. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  396. package/dist/collection/components/radio-group-item/resources.js +1 -1
  397. package/dist/collection/components/rating/rating.js +1 -1
  398. package/dist/collection/components/rating/resources.js +1 -1
  399. package/dist/collection/components/scrim/resources.js +1 -1
  400. package/dist/collection/components/scrim/scrim.js +1 -1
  401. package/dist/collection/components/select/resources.js +1 -1
  402. package/dist/collection/components/select/select.js +1 -1
  403. package/dist/collection/components/shell/resources.js +1 -1
  404. package/dist/collection/components/shell/shell.js +1 -1
  405. package/dist/collection/components/shell-center-row/resources.js +1 -1
  406. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  407. package/dist/collection/components/shell-panel/resources.js +1 -1
  408. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  409. package/dist/collection/components/slider/slider.js +1 -1
  410. package/dist/collection/components/sortable-list/resources.js +1 -1
  411. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  412. package/dist/collection/components/split-button/resources.js +1 -1
  413. package/dist/collection/components/split-button/split-button.js +1 -1
  414. package/dist/collection/components/stepper/interfaces.js +1 -1
  415. package/dist/collection/components/stepper/stepper.js +1 -1
  416. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  417. package/dist/collection/components/switch/switch.js +1 -1
  418. package/dist/collection/components/tab/interfaces.js +1 -1
  419. package/dist/collection/components/tab/tab.js +1 -1
  420. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  421. package/dist/collection/components/tab-title/tab-title.js +1 -1
  422. package/dist/collection/components/tabs/interfaces.js +1 -1
  423. package/dist/collection/components/tabs/resources.js +1 -1
  424. package/dist/collection/components/tabs/tabs.js +1 -1
  425. package/dist/collection/components/tile/resources.js +1 -1
  426. package/dist/collection/components/tile/tile.js +1 -1
  427. package/dist/collection/components/tile-select/interfaces.js +1 -1
  428. package/dist/collection/components/tile-select/resources.js +1 -1
  429. package/dist/collection/components/tile-select/tile-select.js +1 -1
  430. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  431. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  432. package/dist/collection/components/time-picker/resources.js +1 -1
  433. package/dist/collection/components/time-picker/time-picker.js +1 -1
  434. package/dist/collection/components/tip/resources.js +1 -1
  435. package/dist/collection/components/tip/tip.js +1 -1
  436. package/dist/collection/components/tip-group/tip-group.js +1 -1
  437. package/dist/collection/components/tip-manager/resources.js +1 -1
  438. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  439. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  440. package/dist/collection/components/tooltip/resources.js +1 -1
  441. package/dist/collection/components/tooltip/tooltip.js +1 -1
  442. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  443. package/dist/collection/components/tree/interfaces.js +1 -1
  444. package/dist/collection/components/tree/tree.js +1 -1
  445. package/dist/collection/components/tree-item/interfaces.js +1 -1
  446. package/dist/collection/components/tree-item/resources.js +1 -1
  447. package/dist/collection/components/tree-item/tree-item.js +1 -1
  448. package/dist/collection/components/value-list/resources.js +1 -1
  449. package/dist/collection/components/value-list/value-list.js +1 -1
  450. package/dist/collection/components/value-list-item/resources.js +1 -1
  451. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  452. package/dist/collection/utils/array.js +1 -1
  453. package/dist/collection/utils/conditionalSlot.js +1 -1
  454. package/dist/collection/utils/date.js +1 -1
  455. package/dist/collection/utils/dom.js +1 -1
  456. package/dist/collection/utils/filter.js +1 -1
  457. package/dist/collection/utils/form.js +1 -1
  458. package/dist/collection/utils/globalAttributes.js +1 -1
  459. package/dist/collection/utils/guid.js +1 -1
  460. package/dist/collection/utils/interactive.js +1 -1
  461. package/dist/collection/utils/key.js +1 -1
  462. package/dist/collection/utils/label.js +1 -1
  463. package/dist/collection/utils/locale.js +1 -1
  464. package/dist/collection/utils/math.js +1 -1
  465. package/dist/collection/utils/number.js +1 -1
  466. package/dist/collection/utils/observers.js +1 -1
  467. package/dist/collection/utils/openCloseComponent.js +1 -1
  468. package/dist/collection/utils/popper.js +1 -1
  469. package/dist/collection/utils/resources.js +1 -1
  470. package/dist/collection/utils/time.js +1 -1
  471. package/dist/components/ExpandToggle.js +1 -1
  472. package/dist/components/Heading.js +1 -1
  473. package/dist/components/action-group.js +1 -1
  474. package/dist/components/action-menu.js +1 -1
  475. package/dist/components/action.js +1 -1
  476. package/dist/components/array.js +1 -1
  477. package/dist/components/button.js +3 -3
  478. package/dist/components/calcite-accordion-item.js +1 -1
  479. package/dist/components/calcite-accordion.js +1 -1
  480. package/dist/components/calcite-action-bar.js +2 -2
  481. package/dist/components/calcite-action-group.js +1 -1
  482. package/dist/components/calcite-action-menu.js +1 -1
  483. package/dist/components/calcite-action-pad.js +2 -2
  484. package/dist/components/calcite-action.js +1 -1
  485. package/dist/components/calcite-alert.js +1 -1
  486. package/dist/components/calcite-avatar.js +1 -1
  487. package/dist/components/calcite-block-section.js +1 -1
  488. package/dist/components/calcite-block.js +1 -1
  489. package/dist/components/calcite-button.js +1 -1
  490. package/dist/components/calcite-card.js +2 -2
  491. package/dist/components/calcite-checkbox.js +1 -1
  492. package/dist/components/calcite-chip.js +1 -1
  493. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  494. package/dist/components/calcite-color-picker-swatch.js +1 -1
  495. package/dist/components/calcite-color-picker.js +1 -1
  496. package/dist/components/calcite-combobox-item-group.js +1 -1
  497. package/dist/components/calcite-combobox-item.js +1 -1
  498. package/dist/components/calcite-combobox.js +3 -3
  499. package/dist/components/calcite-date-picker-day.js +1 -1
  500. package/dist/components/calcite-date-picker-month-header.js +1 -1
  501. package/dist/components/calcite-date-picker-month.js +1 -1
  502. package/dist/components/calcite-date-picker.js +1 -1
  503. package/dist/components/calcite-dropdown-group.js +1 -1
  504. package/dist/components/calcite-dropdown-item.js +1 -1
  505. package/dist/components/calcite-dropdown.js +1 -1
  506. package/dist/components/calcite-fab.js +1 -1
  507. package/dist/components/calcite-filter.js +1 -1
  508. package/dist/components/calcite-flow.js +1 -1
  509. package/dist/components/calcite-graph.js +1 -1
  510. package/dist/components/calcite-handle.js +1 -1
  511. package/dist/components/calcite-icon.js +1 -1
  512. package/dist/components/calcite-inline-editable.js +2 -2
  513. package/dist/components/calcite-input-date-picker.js +33 -16
  514. package/dist/components/calcite-input-message.js +1 -1
  515. package/dist/components/calcite-input-number.d.ts +11 -0
  516. package/dist/components/calcite-input-number.js +592 -0
  517. package/dist/components/calcite-input-time-picker.js +2 -2
  518. package/dist/components/calcite-input.js +1 -1
  519. package/dist/components/calcite-label.js +2 -2
  520. package/dist/components/calcite-link.js +1 -1
  521. package/dist/components/calcite-list-item-group.js +1 -1
  522. package/dist/components/calcite-list-item.js +1 -1
  523. package/dist/components/calcite-list.js +1 -1
  524. package/dist/components/calcite-loader.js +1 -1
  525. package/dist/components/calcite-modal.js +2 -2
  526. package/dist/components/calcite-notice.js +1 -1
  527. package/dist/components/calcite-option-group.js +1 -1
  528. package/dist/components/calcite-option.js +1 -1
  529. package/dist/components/calcite-pagination.js +1 -1
  530. package/dist/components/calcite-panel.js +1 -1
  531. package/dist/components/calcite-pick-list-group.js +1 -1
  532. package/dist/components/calcite-pick-list-item.js +1 -1
  533. package/dist/components/calcite-pick-list.js +1 -1
  534. package/dist/components/calcite-popover-manager.js +1 -1
  535. package/dist/components/calcite-popover.js +1 -1
  536. package/dist/components/calcite-progress.js +1 -1
  537. package/dist/components/calcite-radio-button-group.js +1 -1
  538. package/dist/components/calcite-radio-button.js +2 -2
  539. package/dist/components/calcite-radio-group-item.js +1 -1
  540. package/dist/components/calcite-radio-group.js +2 -2
  541. package/dist/components/calcite-rating.js +2 -2
  542. package/dist/components/calcite-scrim.js +1 -1
  543. package/dist/components/calcite-select.js +2 -2
  544. package/dist/components/calcite-shell-center-row.js +1 -1
  545. package/dist/components/calcite-shell-panel.js +1 -1
  546. package/dist/components/calcite-shell.js +1 -1
  547. package/dist/components/calcite-slider.js +3 -3
  548. package/dist/components/calcite-sortable-list.js +1 -1
  549. package/dist/components/calcite-split-button.js +1 -1
  550. package/dist/components/calcite-stepper-item.js +1 -1
  551. package/dist/components/calcite-stepper.js +1 -1
  552. package/dist/components/calcite-switch.js +1 -1
  553. package/dist/components/calcite-tab-nav.js +1 -1
  554. package/dist/components/calcite-tab-title.js +1 -1
  555. package/dist/components/calcite-tab.js +1 -1
  556. package/dist/components/calcite-tabs.js +1 -1
  557. package/dist/components/calcite-tile-select-group.js +1 -1
  558. package/dist/components/calcite-tile-select.js +1 -1
  559. package/dist/components/calcite-tile.js +1 -1
  560. package/dist/components/calcite-time-picker.js +1 -1
  561. package/dist/components/calcite-tip-group.js +1 -1
  562. package/dist/components/calcite-tip-manager.js +1 -1
  563. package/dist/components/calcite-tip.js +1 -1
  564. package/dist/components/calcite-tooltip-manager.js +1 -1
  565. package/dist/components/calcite-tooltip.js +2 -2
  566. package/dist/components/calcite-tree-item.js +2 -2
  567. package/dist/components/calcite-tree.js +1 -1
  568. package/dist/components/calcite-value-list-item.js +1 -1
  569. package/dist/components/calcite-value-list.js +1 -1
  570. package/dist/components/checkbox.js +2 -2
  571. package/dist/components/chip.js +1 -1
  572. package/dist/components/color-picker-hex-input.js +1 -1
  573. package/dist/components/color-picker-swatch.js +1 -1
  574. package/dist/components/conditionalSlot.js +1 -1
  575. package/dist/components/date-picker-day.js +1 -1
  576. package/dist/components/date-picker-month-header.js +2 -2
  577. package/dist/components/date-picker-month.js +1 -1
  578. package/dist/components/date-picker.js +1 -1
  579. package/dist/components/date.js +2 -2
  580. package/dist/components/debounce.js +1 -1
  581. package/dist/components/dom.js +2 -2
  582. package/dist/components/dropdown.js +2 -2
  583. package/dist/components/filter.js +1 -1
  584. package/dist/components/forIn.js +1 -1
  585. package/dist/components/form.js +2 -2
  586. package/dist/components/graph.js +1 -1
  587. package/dist/components/guid.js +1 -1
  588. package/dist/components/handle.js +1 -1
  589. package/dist/components/icon.js +1 -1
  590. package/dist/components/index.d.ts +5 -90
  591. package/dist/components/index.js +1 -91
  592. package/dist/components/input.js +2 -2
  593. package/dist/components/interactive.js +1 -1
  594. package/dist/components/interfaces.js +1 -1
  595. package/dist/components/interfaces2.js +1 -1
  596. package/dist/components/key.js +1 -1
  597. package/dist/components/label.js +112 -87
  598. package/dist/components/label2.js +87 -112
  599. package/dist/components/link.js +1 -1
  600. package/dist/components/loader.js +1 -1
  601. package/dist/components/locale.js +1 -1
  602. package/dist/components/math.js +1 -1
  603. package/dist/components/observers.js +1 -1
  604. package/dist/components/pick-list-item.js +1 -1
  605. package/dist/components/popover.js +2 -2
  606. package/dist/components/popper.js +2 -2
  607. package/dist/components/progress.js +1 -1
  608. package/dist/components/resources.js +1 -1
  609. package/dist/components/resources2.js +1 -1
  610. package/dist/components/resources3.js +1 -1
  611. package/dist/components/scrim.js +1 -1
  612. package/dist/components/shared-list-render.js +1 -1
  613. package/dist/components/sortable.esm.js +1 -1
  614. package/dist/components/switch.js +2 -2
  615. package/dist/components/tab-nav.js +2 -2
  616. package/dist/components/tab-title.js +1 -1
  617. package/dist/components/tab.js +1 -1
  618. package/dist/components/tabs.js +1 -1
  619. package/dist/components/tile.js +1 -1
  620. package/dist/components/time-picker.js +1 -1
  621. package/dist/components/utils.js +1 -1
  622. package/dist/components/utils2.js +1 -1
  623. package/dist/custom-elements/index.d.ts +6 -0
  624. package/dist/custom-elements/index.js +796 -266
  625. package/dist/esm/{ExpandToggle-b8d6ebb1.js → ExpandToggle-f11a5e7b.js} +5 -5
  626. package/dist/esm/{Heading-ec9eef57.js → Heading-1cdf475b.js} +2 -2
  627. package/dist/esm/{array-2439a18d.js → array-c4d120c6.js} +1 -1
  628. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  629. package/dist/esm/calcite-action-bar.entry.js +11 -11
  630. package/dist/esm/calcite-action-group.entry.js +8 -8
  631. package/dist/esm/calcite-action-menu.entry.js +8 -8
  632. package/dist/esm/calcite-action-pad.entry.js +10 -10
  633. package/dist/esm/calcite-action.entry.js +6 -6
  634. package/dist/esm/calcite-alert.entry.js +5 -5
  635. package/dist/esm/calcite-avatar.entry.js +5 -5
  636. package/dist/esm/calcite-block_2.entry.js +8 -8
  637. package/dist/esm/calcite-button.entry.js +8 -8
  638. package/dist/esm/calcite-card.entry.js +6 -6
  639. package/dist/esm/calcite-checkbox.entry.js +7 -7
  640. package/dist/esm/calcite-chip.entry.js +6 -6
  641. package/dist/esm/calcite-color-picker_3.entry.js +8 -8
  642. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  643. package/dist/esm/calcite-date-picker_4.entry.js +9 -9
  644. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  645. package/dist/esm/calcite-fab.entry.js +5 -5
  646. package/dist/esm/calcite-filter.entry.js +7 -7
  647. package/dist/esm/calcite-flow.entry.js +3 -3
  648. package/dist/esm/calcite-graph_2.entry.js +9 -9
  649. package/dist/esm/calcite-handle.entry.js +4 -4
  650. package/dist/esm/calcite-icon.entry.js +5 -5
  651. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  652. package/dist/esm/calcite-input-date-picker.entry.js +39 -23
  653. package/dist/esm/calcite-input-message.entry.js +4 -4
  654. package/dist/esm/calcite-input-number.entry.js +527 -0
  655. package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
  656. package/dist/esm/calcite-input.entry.js +11 -11
  657. package/dist/esm/calcite-label.entry.js +5 -5
  658. package/dist/esm/calcite-link.entry.js +5 -5
  659. package/dist/esm/calcite-list_3.entry.js +8 -8
  660. package/dist/esm/calcite-loader.entry.js +3 -3
  661. package/dist/esm/calcite-modal.entry.js +6 -6
  662. package/dist/esm/calcite-notice.entry.js +7 -7
  663. package/dist/esm/calcite-option_3.entry.js +8 -8
  664. package/dist/esm/calcite-pagination.entry.js +5 -5
  665. package/dist/esm/calcite-panel.entry.js +9 -9
  666. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  667. package/dist/esm/calcite-popover_2.entry.js +7 -7
  668. package/dist/esm/calcite-progress.entry.js +2 -2
  669. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  670. package/dist/esm/calcite-radio-button.entry.js +8 -8
  671. package/dist/esm/calcite-radio-group_2.entry.js +7 -7
  672. package/dist/esm/calcite-rating.entry.js +8 -8
  673. package/dist/esm/calcite-scrim.entry.js +2 -2
  674. package/dist/esm/calcite-shell_3.entry.js +7 -7
  675. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  676. package/dist/esm/calcite-split-button.entry.js +3 -3
  677. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  678. package/dist/esm/calcite-switch.entry.js +7 -7
  679. package/dist/esm/calcite-tab_4.entry.js +6 -6
  680. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  681. package/dist/esm/calcite-tile.entry.js +7 -7
  682. package/dist/esm/calcite-tip_3.entry.js +7 -7
  683. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  684. package/dist/esm/calcite-tree_2.entry.js +6 -6
  685. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  686. package/dist/esm/calcite.js +4 -4
  687. package/dist/esm/{conditionalSlot-af40e69d.js → conditionalSlot-797af078.js} +3 -3
  688. package/dist/esm/{debounce-e637af8f.js → debounce-a358f479.js} +1 -1
  689. package/dist/esm/{dom-4a570372.js → dom-c0c9406f.js} +2 -2
  690. package/dist/esm/{forIn-688b086d.js → forIn-18b2a2a0.js} +2 -2
  691. package/dist/esm/{form-14fd8611.js → form-9f2e02ac.js} +3 -3
  692. package/dist/esm/{guid-f5a77ce5.js → guid-6d8f4485.js} +1 -1
  693. package/dist/esm/{index-53dc1297.js → index-ca6b2fbd.js} +1 -1
  694. package/dist/esm/index.js +1 -1
  695. package/dist/esm/{interactive-e7e06cc6.js → interactive-60f5b313.js} +1 -1
  696. package/dist/esm/{interfaces-e1c78a43.js → interfaces-37f5fa25.js} +1 -1
  697. package/dist/esm/{key-619e0eb1.js → key-2825327f.js} +1 -1
  698. package/dist/esm/{label-877bda1f.js → label-5ea49504.js} +2 -2
  699. package/dist/esm/loader.js +4 -4
  700. package/dist/esm/{locale-059b98bf.js → locale-072575ea.js} +2 -2
  701. package/dist/esm/{math-c2a3f273.js → math-1589e735.js} +1 -1
  702. package/dist/esm/{observers-60e784e4.js → observers-0642e1f5.js} +1 -1
  703. package/dist/esm/{popper-80b48749.js → popper-eb775445.js} +2 -2
  704. package/dist/esm/{resources-a1044ce5.js → resources-1a1b9d48.js} +1 -1
  705. package/dist/esm/{resources-771be1f7.js → resources-2eb253e4.js} +3 -3
  706. package/dist/esm/{resources-71a71539.js → resources-6c9e0f8d.js} +1 -1
  707. package/dist/esm/{resources-a6b9a87e.js → resources-db5ae071.js} +5 -5
  708. package/dist/esm/{sortable.esm-3d01d332.js → sortable.esm-9762f425.js} +1 -1
  709. package/dist/esm/{utils-0ccd2ade.js → utils-5da12722.js} +1 -1
  710. package/dist/esm-es5/{ExpandToggle-b8d6ebb1.js → ExpandToggle-f11a5e7b.js} +2 -2
  711. package/dist/esm-es5/{Heading-ec9eef57.js → Heading-1cdf475b.js} +2 -2
  712. package/dist/esm-es5/{array-2439a18d.js → array-c4d120c6.js} +1 -1
  713. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  714. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  715. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  716. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  717. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  718. package/dist/esm-es5/calcite-action.entry.js +2 -2
  719. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  720. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  721. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  722. package/dist/esm-es5/calcite-button.entry.js +2 -2
  723. package/dist/esm-es5/calcite-card.entry.js +2 -2
  724. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  725. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  726. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  727. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  728. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  729. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  730. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  731. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  732. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  733. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  734. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  735. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  736. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  737. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  738. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  739. package/dist/esm-es5/calcite-input-number.entry.js +6 -0
  740. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  741. package/dist/esm-es5/calcite-input.entry.js +2 -2
  742. package/dist/esm-es5/calcite-label.entry.js +2 -2
  743. package/dist/esm-es5/calcite-link.entry.js +2 -2
  744. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  745. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  746. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  747. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  748. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  749. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  750. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  751. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  752. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  753. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  754. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  755. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  756. package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
  757. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  758. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  759. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  760. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  761. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  762. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  763. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  764. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  765. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  766. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  767. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  768. package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
  769. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  770. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  771. package/dist/esm-es5/calcite.js +2 -2
  772. package/dist/esm-es5/{conditionalSlot-af40e69d.js → conditionalSlot-797af078.js} +2 -2
  773. package/dist/esm-es5/{debounce-e637af8f.js → debounce-a358f479.js} +1 -1
  774. package/dist/esm-es5/{dom-4a570372.js → dom-c0c9406f.js} +2 -2
  775. package/dist/esm-es5/{forIn-688b086d.js → forIn-18b2a2a0.js} +2 -2
  776. package/dist/esm-es5/{form-14fd8611.js → form-9f2e02ac.js} +2 -2
  777. package/dist/esm-es5/{guid-f5a77ce5.js → guid-6d8f4485.js} +1 -1
  778. package/dist/esm-es5/{index-53dc1297.js → index-ca6b2fbd.js} +1 -1
  779. package/dist/esm-es5/index.js +1 -1
  780. package/dist/esm-es5/{interactive-e7e06cc6.js → interactive-60f5b313.js} +1 -1
  781. package/dist/esm-es5/{interfaces-e1c78a43.js → interfaces-37f5fa25.js} +1 -1
  782. package/dist/esm-es5/{key-619e0eb1.js → key-2825327f.js} +1 -1
  783. package/dist/esm-es5/{label-877bda1f.js → label-5ea49504.js} +2 -2
  784. package/dist/esm-es5/loader.js +2 -2
  785. package/dist/esm-es5/{locale-059b98bf.js → locale-072575ea.js} +2 -2
  786. package/dist/esm-es5/{math-c2a3f273.js → math-1589e735.js} +1 -1
  787. package/dist/esm-es5/{observers-60e784e4.js → observers-0642e1f5.js} +1 -1
  788. package/dist/esm-es5/{popper-80b48749.js → popper-eb775445.js} +2 -2
  789. package/dist/esm-es5/{resources-a1044ce5.js → resources-1a1b9d48.js} +1 -1
  790. package/dist/esm-es5/{resources-771be1f7.js → resources-2eb253e4.js} +2 -2
  791. package/dist/esm-es5/{resources-71a71539.js → resources-6c9e0f8d.js} +1 -1
  792. package/dist/esm-es5/{resources-a6b9a87e.js → resources-db5ae071.js} +2 -2
  793. package/dist/esm-es5/{sortable.esm-3d01d332.js → sortable.esm-9762f425.js} +1 -1
  794. package/dist/esm-es5/{utils-0ccd2ade.js → utils-5da12722.js} +1 -1
  795. package/dist/extras/docs-json.json +814 -120
  796. package/dist/loader/cdn.js +1 -1
  797. package/dist/loader/index.cjs.js +1 -1
  798. package/dist/loader/index.es2017.js +1 -1
  799. package/dist/loader/index.js +1 -1
  800. package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -1
  801. package/dist/types/components/input-date-picker/resources.d.ts +4 -0
  802. package/dist/types/components/input-number/input-number.d.ts +216 -0
  803. package/dist/types/components/input-number/interfaces.d.ts +1 -0
  804. package/dist/types/components/input-number/resources.d.ts +22 -0
  805. package/dist/types/components.d.ts +307 -0
  806. package/dist/types/preact.d.ts +7 -0
  807. package/hydrate/index.js +843 -404
  808. package/package.json +2 -2
  809. package/readme.md +2 -2
  810. package/dist/calcite/p-06a1fb77.entry.js +0 -6
  811. package/dist/calcite/p-2c62ed26.js +0 -6
  812. package/dist/calcite/p-420ef200.system.entry.js +0 -6
  813. package/dist/calcite/p-520423bb.entry.js +0 -6
  814. package/dist/calcite/p-80864ac7.entry.js +0 -6
  815. package/dist/calcite/p-887dccd5.js +0 -6
  816. package/dist/calcite/p-8f739a07.entry.js +0 -6
  817. package/dist/calcite/p-a4fbcc0e.system.js +0 -6
  818. package/dist/calcite/p-e29906ac.system.entry.js +0 -6
@@ -0,0 +1,531 @@
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.525
5
+ */
6
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ const index = require('./index-141fe7e3.js');
11
+ const dom = require('./dom-f05962d2.js');
12
+ const label = require('./label-a3065b67.js');
13
+ const form = require('./form-0730f37d.js');
14
+ const locale = require('./locale-265f7308.js');
15
+ const key = require('./key-79701226.js');
16
+ const math = require('./math-77294d6b.js');
17
+ const observers = require('./observers-03638bdd.js');
18
+ const interactive = require('./interactive-355899a4.js');
19
+ require('./guid-bc00d73c.js');
20
+
21
+ const CSS = {
22
+ loader: "loader",
23
+ clearButton: "clear-button",
24
+ editingEnabled: "editing-enabled",
25
+ inlineChild: "inline-child",
26
+ inputIcon: "icon",
27
+ prefix: "prefix",
28
+ suffix: "suffix",
29
+ numberButtonWrapper: "number-button-wrapper",
30
+ buttonItemHorizontal: "number-button-item--horizontal",
31
+ wrapper: "element-wrapper",
32
+ inputWrapper: "wrapper",
33
+ actionWrapper: "action-wrapper",
34
+ resizeIconWrapper: "resize-icon-wrapper",
35
+ numberButtonItem: "number-button-item"
36
+ };
37
+ const SLOTS = {
38
+ action: "action"
39
+ };
40
+ const TEXT = {
41
+ clear: "Clear value"
42
+ };
43
+
44
+ const inputNumberCss = "@-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-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}: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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host input{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host input{outline-color:transparent}:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-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}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-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}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-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}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-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}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-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;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-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}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;-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}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
45
+
46
+ const InputNumber = class {
47
+ constructor(hostRef) {
48
+ index.registerInstance(this, hostRef);
49
+ this.calciteInternalInputNumberFocus = index.createEvent(this, "calciteInternalInputNumberFocus", 7);
50
+ this.calciteInternalInputNumberBlur = index.createEvent(this, "calciteInternalInputNumberBlur", 7);
51
+ this.calciteInputNumberInput = index.createEvent(this, "calciteInputNumberInput", 7);
52
+ this.calciteInputNumberChange = index.createEvent(this, "calciteInputNumberChange", 7);
53
+ //--------------------------------------------------------------------------
54
+ //
55
+ // Properties
56
+ //
57
+ //--------------------------------------------------------------------------
58
+ /** Specifies the text alignment of the component's value. */
59
+ this.alignment = "start";
60
+ /**
61
+ * When true, the component is focused on page load.
62
+ *
63
+ * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
64
+ */
65
+ this.autofocus = false;
66
+ /**
67
+ * When true, a clear button is displayed when the component has a value.
68
+ */
69
+ this.clearable = false;
70
+ /**
71
+ * When true, interaction is prevented and the component is displayed with lower opacity.
72
+ *
73
+ * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
74
+ */
75
+ this.disabled = false;
76
+ /**
77
+ * When true, number values are displayed with the locale's group separator.
78
+ */
79
+ this.groupSeparator = false;
80
+ /**
81
+ * When true, the component will not be visible.
82
+ *
83
+ * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
84
+ */
85
+ this.hidden = false;
86
+ /**
87
+ * Accessible name that will appear while loading.
88
+ *
89
+ * @default "Loading"
90
+ */
91
+ this.intlLoading = dom.TEXT.loading;
92
+ /** When true, the icon is flipped in RTL. */
93
+ this.iconFlipRtl = false;
94
+ /** When true, the component is in the loading state and `calcite-progress` is displayed. */
95
+ this.loading = false;
96
+ /** Specifies the BCP 47 language tag for the desired language and country format. */
97
+ this.locale = document.documentElement.lang || "en";
98
+ /**
99
+ * Toggles locale formatting for numbers.
100
+ *
101
+ * @internal
102
+ */
103
+ this.localeFormat = false;
104
+ /** Specifies the placement of the buttons. */
105
+ this.numberButtonType = "vertical";
106
+ /**
107
+ * When true, the value cannot be modified.
108
+ *
109
+ * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
110
+ */
111
+ this.readOnly = false;
112
+ /** When true, the component must have a value in order for the form to submit. */
113
+ this.required = false;
114
+ /** Specifies the size of the component. */
115
+ this.scale = "m";
116
+ /** Specifies the status of the input field, which determines message and icons. */
117
+ this.status = "idle";
118
+ /**
119
+ * @internal
120
+ */
121
+ this.editingEnabled = false;
122
+ /** The component's value. */
123
+ this.value = "";
124
+ this.previousValueOrigin = "initial";
125
+ this.mutationObserver = observers.createObserver("mutation", () => this.setDisabledAction());
126
+ this.userChangedValue = false;
127
+ //--------------------------------------------------------------------------
128
+ //
129
+ // Private Methods
130
+ //
131
+ //--------------------------------------------------------------------------
132
+ this.keyDownHandler = (event) => {
133
+ if (this.readOnly || this.disabled) {
134
+ return;
135
+ }
136
+ if (this.isClearable && event.key === "Escape") {
137
+ this.clearInputValue(event);
138
+ event.preventDefault();
139
+ }
140
+ if (event.key === "Enter" && !event.defaultPrevented) {
141
+ form.submitForm(this);
142
+ }
143
+ };
144
+ this.clearInputValue = (nativeEvent) => {
145
+ this.setNumberValue({
146
+ committing: true,
147
+ nativeEvent,
148
+ origin: "user",
149
+ value: ""
150
+ });
151
+ };
152
+ this.emitChangeIfUserModified = () => {
153
+ if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
154
+ this.calciteInputNumberChange.emit();
155
+ }
156
+ this.previousEmittedValue = this.value;
157
+ };
158
+ this.inputNumberBlurHandler = () => {
159
+ this.calciteInternalInputNumberBlur.emit({
160
+ element: this.childNumberEl,
161
+ value: this.value
162
+ });
163
+ this.emitChangeIfUserModified();
164
+ };
165
+ this.inputNumberFocusHandler = (event) => {
166
+ const slottedActionEl = dom.getSlotted(this.el, "action");
167
+ if (event.target !== slottedActionEl) {
168
+ this.setFocus();
169
+ }
170
+ this.calciteInternalInputNumberFocus.emit({
171
+ element: this.childNumberEl,
172
+ value: this.value
173
+ });
174
+ };
175
+ this.inputNumberInputHandler = (nativeEvent) => {
176
+ if (this.disabled || this.readOnly) {
177
+ return;
178
+ }
179
+ const value = nativeEvent.target.value;
180
+ const delocalizedValue = locale.delocalizeNumberString(value, this.locale);
181
+ if (nativeEvent.inputType === "insertFromPaste") {
182
+ if (!locale.isValidNumber(delocalizedValue)) {
183
+ nativeEvent.preventDefault();
184
+ }
185
+ this.setNumberValue({
186
+ nativeEvent,
187
+ origin: "user",
188
+ value: locale.parseNumberString(delocalizedValue)
189
+ });
190
+ this.childNumberEl.value = this.localizedValue;
191
+ }
192
+ else {
193
+ this.setNumberValue({
194
+ nativeEvent,
195
+ origin: "user",
196
+ value: delocalizedValue
197
+ });
198
+ }
199
+ };
200
+ this.inputNumberKeyDownHandler = (event) => {
201
+ if (this.disabled || this.readOnly) {
202
+ return;
203
+ }
204
+ if (event.key === "ArrowUp") {
205
+ /* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
206
+ event.preventDefault();
207
+ this.nudgeNumberValue("up", event);
208
+ return;
209
+ }
210
+ if (event.key === "ArrowDown") {
211
+ this.nudgeNumberValue("down", event);
212
+ return;
213
+ }
214
+ const supportedKeys = [
215
+ ...key.numberKeys,
216
+ "ArrowLeft",
217
+ "ArrowRight",
218
+ "Backspace",
219
+ "Delete",
220
+ "Enter",
221
+ "Escape",
222
+ "Tab"
223
+ ];
224
+ if (event.altKey || event.ctrlKey || event.metaKey) {
225
+ return;
226
+ }
227
+ const isShiftTabEvent = event.shiftKey && event.key === "Tab";
228
+ if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
229
+ if (event.key === "Enter") {
230
+ this.emitChangeIfUserModified();
231
+ }
232
+ return;
233
+ }
234
+ const decimalSeparator = locale.getDecimalSeparator(this.locale);
235
+ if (event.key === decimalSeparator) {
236
+ if (!this.value && !this.childNumberEl.value) {
237
+ return;
238
+ }
239
+ if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
240
+ return;
241
+ }
242
+ }
243
+ if (/[eE]/.test(event.key)) {
244
+ if (!this.value && !this.childNumberEl.value) {
245
+ return;
246
+ }
247
+ if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
248
+ return;
249
+ }
250
+ }
251
+ if (event.key === "-") {
252
+ if (!this.value && !this.childNumberEl.value) {
253
+ return;
254
+ }
255
+ if (this.value && this.childNumberEl.value.split("-").length <= 2) {
256
+ return;
257
+ }
258
+ }
259
+ event.preventDefault();
260
+ };
261
+ this.nudgeNumberValue = (direction, nativeEvent) => {
262
+ if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
263
+ return;
264
+ }
265
+ const inputMax = this.maxString ? parseFloat(this.maxString) : null;
266
+ const inputMin = this.minString ? parseFloat(this.minString) : null;
267
+ const valueNudgeDelayInMs = 100;
268
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
269
+ if (this.nudgeNumberValueIntervalId) {
270
+ window.clearInterval(this.nudgeNumberValueIntervalId);
271
+ }
272
+ let firstValueNudge = true;
273
+ this.nudgeNumberValueIntervalId = window.setInterval(() => {
274
+ if (firstValueNudge) {
275
+ firstValueNudge = false;
276
+ return;
277
+ }
278
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
279
+ }, valueNudgeDelayInMs);
280
+ };
281
+ this.nudgeButtonPointerUpAndOutHandler = () => {
282
+ window.clearInterval(this.nudgeNumberValueIntervalId);
283
+ };
284
+ this.nudgeButtonPointerDownHandler = (event) => {
285
+ event.preventDefault();
286
+ const direction = event.target.dataset.adjustment;
287
+ if (!this.disabled) {
288
+ this.nudgeNumberValue(direction, event);
289
+ }
290
+ };
291
+ this.setChildNumberElRef = (el) => {
292
+ this.childNumberEl = el;
293
+ };
294
+ this.setInputNumberValue = (newInputValue) => {
295
+ if (!this.childNumberEl) {
296
+ return;
297
+ }
298
+ this.childNumberEl.value = newInputValue;
299
+ };
300
+ this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {
301
+ this.previousEmittedValue = locale.isValidNumber(newPreviousEmittedValue)
302
+ ? newPreviousEmittedValue
303
+ : "";
304
+ };
305
+ this.setPreviousNumberValue = (newPreviousValue) => {
306
+ this.previousValue = locale.isValidNumber(newPreviousValue) ? newPreviousValue : "";
307
+ };
308
+ this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
309
+ const previousLocalizedValue = locale.localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem);
310
+ const sanitizedValue = locale.sanitizeNumberString(value);
311
+ const newValue = value && !sanitizedValue
312
+ ? locale.isValidNumber(this.previousValue)
313
+ ? this.previousValue
314
+ : ""
315
+ : sanitizedValue;
316
+ const newLocalizedValue = locale.localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem);
317
+ this.setPreviousNumberValue(previousValue || this.value);
318
+ this.previousValueOrigin = origin;
319
+ this.userChangedValue = origin === "user" && this.value !== newValue;
320
+ this.value = newValue;
321
+ this.localizedValue = newLocalizedValue;
322
+ if (origin === "direct") {
323
+ this.setInputNumberValue(newLocalizedValue);
324
+ }
325
+ if (nativeEvent) {
326
+ const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({
327
+ element: this.childNumberEl,
328
+ nativeEvent,
329
+ value: this.value
330
+ });
331
+ if (calciteInputNumberInputEvent.defaultPrevented) {
332
+ this.value = this.previousValue;
333
+ this.localizedValue = previousLocalizedValue;
334
+ }
335
+ else if (committing) {
336
+ this.emitChangeIfUserModified();
337
+ }
338
+ }
339
+ };
340
+ this.inputNumberKeyUpHandler = () => {
341
+ window.clearInterval(this.nudgeNumberValueIntervalId);
342
+ };
343
+ }
344
+ disabledWatcher() {
345
+ this.setDisabledAction();
346
+ }
347
+ /** watcher to update number-to-string for max */
348
+ maxWatcher() {
349
+ var _a;
350
+ this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
351
+ }
352
+ /** watcher to update number-to-string for min */
353
+ minWatcher() {
354
+ var _a;
355
+ this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
356
+ }
357
+ valueWatcher(newValue, previousValue) {
358
+ if (!this.userChangedValue) {
359
+ this.setNumberValue({
360
+ origin: "direct",
361
+ previousValue,
362
+ value: newValue == null || newValue == ""
363
+ ? ""
364
+ : locale.isValidNumber(newValue)
365
+ ? newValue
366
+ : this.previousValue || ""
367
+ });
368
+ this.warnAboutInvalidNumberValue(newValue);
369
+ }
370
+ this.userChangedValue = false;
371
+ }
372
+ updateRequestedIcon() {
373
+ this.requestedIcon = dom.setRequestedIcon({}, this.icon, "number");
374
+ }
375
+ get isClearable() {
376
+ return this.clearable && this.value.length > 0;
377
+ }
378
+ //--------------------------------------------------------------------------
379
+ //
380
+ // Lifecycle
381
+ //
382
+ //--------------------------------------------------------------------------
383
+ connectedCallback() {
384
+ var _a;
385
+ this.scale = dom.getElementProp(this.el, "scale", this.scale);
386
+ this.status = dom.getElementProp(this.el, "status", this.status);
387
+ this.inlineEditableEl = this.el.closest("calcite-inline-editable");
388
+ if (this.inlineEditableEl) {
389
+ this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
390
+ }
391
+ this.setPreviousEmittedNumberValue(this.value);
392
+ this.setPreviousNumberValue(this.value);
393
+ this.warnAboutInvalidNumberValue(this.value);
394
+ this.setNumberValue({
395
+ origin: "connected",
396
+ value: locale.isValidNumber(this.value) ? this.value : ""
397
+ });
398
+ label.connectLabel(this);
399
+ form.connectForm(this);
400
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
401
+ this.setDisabledAction();
402
+ }
403
+ disconnectedCallback() {
404
+ var _a;
405
+ label.disconnectLabel(this);
406
+ form.disconnectForm(this);
407
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
408
+ }
409
+ componentWillLoad() {
410
+ var _a, _b;
411
+ this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
412
+ this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
413
+ this.requestedIcon = dom.setRequestedIcon({}, this.icon, "number");
414
+ }
415
+ componentShouldUpdate(newValue, oldValue, property) {
416
+ if (property === "value" && newValue && !locale.isValidNumber(newValue)) {
417
+ this.setNumberValue({
418
+ origin: "reset",
419
+ value: oldValue
420
+ });
421
+ return false;
422
+ }
423
+ return true;
424
+ }
425
+ componentDidRender() {
426
+ interactive.updateHostInteraction(this);
427
+ }
428
+ //--------------------------------------------------------------------------
429
+ //
430
+ // Public Methods
431
+ //
432
+ //--------------------------------------------------------------------------
433
+ /** Sets focus on the component. */
434
+ async setFocus() {
435
+ var _a;
436
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
437
+ }
438
+ /** Selects all text of the component's `value`. */
439
+ async selectText() {
440
+ var _a;
441
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
442
+ }
443
+ onLabelClick() {
444
+ this.setFocus();
445
+ }
446
+ incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
447
+ const { value } = this;
448
+ const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
449
+ const inputVal = value && value !== "" ? parseFloat(value) : 0;
450
+ const adjustment = direction === "up" ? 1 : -1;
451
+ const nudgedValue = inputVal + inputStep * adjustment;
452
+ const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
453
+ (typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
454
+ ? inputVal
455
+ : nudgedValue;
456
+ const inputValPlaces = math.decimalPlaces(inputVal);
457
+ const inputStepPlaces = math.decimalPlaces(inputStep);
458
+ this.setNumberValue({
459
+ committing: true,
460
+ nativeEvent,
461
+ origin: "user",
462
+ value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
463
+ });
464
+ }
465
+ onFormReset() {
466
+ this.setNumberValue({
467
+ origin: "reset",
468
+ value: this.defaultValue
469
+ });
470
+ }
471
+ syncHiddenFormInput(input) {
472
+ var _a, _b, _c, _d;
473
+ input.type = "number";
474
+ input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
475
+ input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
476
+ }
477
+ setDisabledAction() {
478
+ const slottedActionEl = dom.getSlotted(this.el, "action");
479
+ if (!slottedActionEl) {
480
+ return;
481
+ }
482
+ this.disabled
483
+ ? slottedActionEl.setAttribute("disabled", "")
484
+ : slottedActionEl.removeAttribute("disabled");
485
+ }
486
+ warnAboutInvalidNumberValue(value) {
487
+ if (value && !locale.isValidNumber(value)) {
488
+ console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
489
+ }
490
+ }
491
+ // --------------------------------------------------------------------------
492
+ //
493
+ // Render Methods
494
+ //
495
+ // --------------------------------------------------------------------------
496
+ render() {
497
+ const dir = dom.getElementDir(this.el);
498
+ const loader = (index.h("div", { class: CSS.loader }, index.h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
499
+ const inputClearButton = (index.h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, index.h("calcite-icon", { icon: "x", scale: "s" })));
500
+ const iconEl = (index.h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
501
+ const isHorizontalNumberButton = this.numberButtonType === "horizontal";
502
+ const numberButtonsHorizontalUp = (index.h("button", { class: {
503
+ [CSS.numberButtonItem]: true,
504
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
505
+ }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: "s" })));
506
+ const numberButtonsHorizontalDown = (index.h("button", { class: {
507
+ [CSS.numberButtonItem]: true,
508
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
509
+ }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: "s" })));
510
+ const numberButtonsVertical = (index.h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
511
+ const prefixText = index.h("div", { class: CSS.prefix }, this.prefixText);
512
+ const suffixText = index.h("div", { class: CSS.suffix }, this.suffixText);
513
+ const childEl = (index.h("input", { "aria-label": label.getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
514
+ return (index.h(index.Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: { [CSS.inputWrapper]: true, [dom.CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
515
+ ? numberButtonsHorizontalDown
516
+ : null, this.prefixText ? prefixText : null, index.h("div", { class: CSS.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), index.h("div", { class: CSS.actionWrapper }, index.h("slot", { name: SLOTS.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
517
+ ? numberButtonsHorizontalUp
518
+ : null, index.h(form.HiddenFormInputSlot, { component: this }))));
519
+ }
520
+ get el() { return index.getElement(this); }
521
+ static get watchers() { return {
522
+ "disabled": ["disabledWatcher"],
523
+ "max": ["maxWatcher"],
524
+ "min": ["minWatcher"],
525
+ "value": ["valueWatcher"],
526
+ "icon": ["updateRequestedIcon"]
527
+ }; }
528
+ };
529
+ InputNumber.style = inputNumberCss;
530
+
531
+ exports.calcite_input_number = InputNumber;
@@ -1,20 +1,20 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.522
4
+ * v1.0.0-next.525
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-f1bf60db.js');
11
- const guid = require('./guid-d66561a0.js');
12
- const locale = require('./locale-824bd757.js');
13
- const label = require('./label-74356241.js');
14
- const form = require('./form-7182f5a7.js');
15
- const interactive = require('./interactive-bba9cba3.js');
16
- const key = require('./key-2b4610f5.js');
17
- require('./dom-739ae487.js');
10
+ const index = require('./index-141fe7e3.js');
11
+ const guid = require('./guid-bc00d73c.js');
12
+ const locale = require('./locale-265f7308.js');
13
+ const label = require('./label-a3065b67.js');
14
+ const form = require('./form-0730f37d.js');
15
+ const interactive = require('./interactive-355899a4.js');
16
+ const key = require('./key-79701226.js');
17
+ require('./dom-f05962d2.js');
18
18
 
19
19
  const maxTenthForMinuteAndSecond = 5;
20
20
  function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
@@ -1,22 +1,22 @@
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.522
4
+ * v1.0.0-next.525
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-f1bf60db.js');
11
- const dom = require('./dom-739ae487.js');
12
- const label = require('./label-74356241.js');
13
- const form = require('./form-7182f5a7.js');
14
- const locale = require('./locale-824bd757.js');
15
- const key = require('./key-2b4610f5.js');
16
- const math = require('./math-824c1cd2.js');
17
- const observers = require('./observers-c153b458.js');
18
- const interactive = require('./interactive-bba9cba3.js');
19
- require('./guid-d66561a0.js');
10
+ const index = require('./index-141fe7e3.js');
11
+ const dom = require('./dom-f05962d2.js');
12
+ const label = require('./label-a3065b67.js');
13
+ const form = require('./form-0730f37d.js');
14
+ const locale = require('./locale-265f7308.js');
15
+ const key = require('./key-79701226.js');
16
+ const math = require('./math-77294d6b.js');
17
+ const observers = require('./observers-03638bdd.js');
18
+ const interactive = require('./interactive-355899a4.js');
19
+ require('./guid-bc00d73c.js');
20
20
 
21
21
  const CSS = {
22
22
  loader: "loader",
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.522
4
+ * v1.0.0-next.525
5
5
  */
6
6
  'use strict';
7
7
 
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
- const index = require('./index-f1bf60db.js');
11
- const label = require('./label-74356241.js');
12
- require('./dom-739ae487.js');
13
- require('./guid-d66561a0.js');
10
+ const index = require('./index-141fe7e3.js');
11
+ const label = require('./label-a3065b67.js');
12
+ require('./dom-f05962d2.js');
13
+ require('./guid-bc00d73c.js');
14
14
 
15
15
  const CSS = {
16
16
  container: "container"