@esri/calcite-components 1.0.0-next.521 → 1.0.0-next.524

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 (819) 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-3ebebd84.system.entry.js → p-0021e287.system.entry.js} +3 -3
  6. package/dist/calcite/{p-66240c05.entry.js → p-0198ffdc.entry.js} +2 -2
  7. package/dist/calcite/p-046ec290.entry.js +6 -0
  8. package/dist/calcite/{p-25129b54.system.entry.js → p-067f770e.system.entry.js} +2 -2
  9. package/dist/calcite/{p-1934cb89.entry.js → p-073db535.entry.js} +2 -2
  10. package/dist/calcite/{p-0c8eb394.js → p-077ff084.js} +1 -1
  11. package/dist/calcite/{p-fc76a97f.system.js → p-0b11c342.system.js} +1 -1
  12. package/dist/calcite/{p-46c73e88.entry.js → p-0c376871.entry.js} +2 -2
  13. package/dist/calcite/{p-f4a4e6fd.entry.js → p-0cc91f9e.entry.js} +2 -2
  14. package/dist/calcite/p-0f16fcf2.system.js +6 -0
  15. package/dist/calcite/p-0f539167.system.js +6 -0
  16. package/dist/calcite/p-0fe02887.js +6 -0
  17. package/dist/calcite/p-10d09cd6.entry.js +6 -0
  18. package/dist/calcite/{p-503ffd79.js → p-143abf64.js} +1 -1
  19. package/dist/calcite/{p-709ffc8a.system.entry.js → p-14796d0f.system.entry.js} +2 -2
  20. package/dist/calcite/{p-922cca1a.system.js → p-15c964c6.system.js} +2 -2
  21. package/dist/calcite/{p-5c81572b.entry.js → p-1646ec88.entry.js} +2 -2
  22. package/dist/calcite/{p-74508b15.system.js → p-16ca542c.system.js} +1 -1
  23. package/dist/calcite/{p-f5fcb884.system.entry.js → p-184ebb3b.system.entry.js} +2 -2
  24. package/dist/calcite/{p-a799c49f.system.entry.js → p-19bdcf8c.system.entry.js} +2 -2
  25. package/dist/calcite/{p-1a7dcfc0.system.entry.js → p-19f3559b.system.entry.js} +2 -2
  26. package/dist/calcite/{p-22d40d65.entry.js → p-1d943758.entry.js} +2 -2
  27. package/dist/calcite/{p-ef10300b.entry.js → p-1e059893.entry.js} +2 -2
  28. package/dist/calcite/{p-1786fb93.js → p-1e3a412f.js} +1 -1
  29. package/dist/calcite/{p-e0edddf8.entry.js → p-200a4df9.entry.js} +2 -2
  30. package/dist/calcite/{p-c9878d39.system.entry.js → p-203b84e0.system.entry.js} +2 -2
  31. package/dist/calcite/{p-5b2d7828.js → p-217da6af.js} +2 -2
  32. package/dist/calcite/{p-5c335596.system.entry.js → p-23f06b74.system.entry.js} +3 -3
  33. package/dist/calcite/{p-06332d21.system.entry.js → p-25506e7a.system.entry.js} +2 -2
  34. package/dist/calcite/{p-d9e6af1c.system.entry.js → p-25ac8f0f.system.entry.js} +2 -2
  35. package/dist/calcite/{p-43e7a8f1.system.js → p-26556d6d.system.js} +3 -3
  36. package/dist/calcite/{p-3111a501.system.js → p-2ec417aa.system.js} +1 -1
  37. package/dist/calcite/{p-d9d2294a.entry.js → p-2f1d4aae.entry.js} +2 -2
  38. package/dist/calcite/{p-803997da.system.entry.js → p-32448d28.system.entry.js} +2 -2
  39. package/dist/calcite/{p-c57bfa50.system.entry.js → p-35dc2f85.system.entry.js} +2 -2
  40. package/dist/calcite/{p-196346bf.system.entry.js → p-360e30b3.system.entry.js} +3 -3
  41. package/dist/calcite/{p-956aea00.system.entry.js → p-361aa924.system.entry.js} +2 -2
  42. package/dist/calcite/{p-d4a4f33e.entry.js → p-3a5f669d.entry.js} +2 -2
  43. package/dist/calcite/{p-0df3ffa0.system.entry.js → p-3aa6117f.system.entry.js} +2 -2
  44. package/dist/calcite/p-3c567654.entry.js +6 -0
  45. package/dist/calcite/{p-9ed3942c.system.js → p-3cea6fdc.system.js} +2 -2
  46. package/dist/calcite/{p-3ecd2c17.entry.js → p-3e9ed951.entry.js} +2 -2
  47. package/dist/calcite/{p-dc5fb654.system.entry.js → p-40a76d39.system.entry.js} +2 -2
  48. package/dist/calcite/{p-a6339811.system.entry.js → p-41d85ce9.system.entry.js} +2 -2
  49. package/dist/calcite/{p-18e94c9f.entry.js → p-434242b1.entry.js} +2 -2
  50. package/dist/calcite/{p-d8bf5b29.js → p-442951a7.js} +1 -1
  51. package/dist/calcite/{p-08e28998.system.entry.js → p-4545dbb5.system.entry.js} +2 -2
  52. package/dist/calcite/{p-53cb1579.system.js → p-454d0d3b.system.js} +1 -1
  53. package/dist/calcite/{p-98d13115.entry.js → p-463c0ed8.entry.js} +2 -2
  54. package/dist/calcite/{p-3ecec156.entry.js → p-4b4c8b1f.entry.js} +2 -2
  55. package/dist/calcite/{p-0e88270b.js → p-4c684c84.js} +2 -2
  56. package/dist/calcite/{p-0ff0ca0b.system.entry.js → p-4cc8bda0.system.entry.js} +2 -2
  57. package/dist/calcite/{p-ea37aa52.entry.js → p-4da07432.entry.js} +2 -2
  58. package/dist/calcite/{p-0c6874b0.system.entry.js → p-4fe7e777.system.entry.js} +2 -2
  59. package/dist/calcite/{p-a63dc521.system.entry.js → p-505be8f5.system.entry.js} +2 -2
  60. package/dist/calcite/{p-5b152346.entry.js → p-510ddd53.entry.js} +2 -2
  61. package/dist/calcite/{p-18de0e0b.system.entry.js → p-56c11b0f.system.entry.js} +2 -2
  62. package/dist/calcite/{p-e72532a8.entry.js → p-5c0773d2.entry.js} +2 -2
  63. package/dist/calcite/{p-62a0f380.system.entry.js → p-5d050e71.system.entry.js} +2 -2
  64. package/dist/calcite/{p-f105b00b.system.entry.js → p-5d23d9e9.system.entry.js} +2 -2
  65. package/dist/calcite/{p-19f87399.system.js → p-5ded25b4.system.js} +1 -1
  66. package/dist/calcite/{p-8aafc60e.system.js → p-5df04b2f.system.js} +2 -2
  67. package/dist/calcite/{p-df8177da.system.entry.js → p-5e4b8fc3.system.entry.js} +2 -2
  68. package/dist/calcite/{p-4565c114.system.js → p-6021e7db.system.js} +2 -2
  69. package/dist/calcite/{p-01b638d1.entry.js → p-60ec029f.entry.js} +2 -2
  70. package/dist/calcite/{p-ec3ac306.system.entry.js → p-617e01a1.system.entry.js} +2 -2
  71. package/dist/calcite/{p-a7ae0c54.system.entry.js → p-61cd8cfb.system.entry.js} +2 -2
  72. package/dist/calcite/{p-8d193648.system.js → p-620d4b91.system.js} +1 -1
  73. package/dist/calcite/{p-b80bbe57.entry.js → p-63be3fc7.entry.js} +2 -2
  74. package/dist/calcite/{p-7609b260.entry.js → p-63bf0acf.entry.js} +2 -2
  75. package/dist/calcite/{p-1d7e2d4a.js → p-63cea60e.js} +1 -1
  76. package/dist/calcite/p-6431a87e.js +6 -0
  77. package/dist/calcite/{p-302615c5.system.entry.js → p-65e5f903.system.entry.js} +2 -2
  78. package/dist/calcite/{p-4d012e6d.entry.js → p-674bd6ed.entry.js} +2 -2
  79. package/dist/calcite/{p-8ad36643.entry.js → p-6c279d51.entry.js} +2 -2
  80. package/dist/calcite/{p-bc269b24.js → p-6c8e9009.js} +2 -2
  81. package/dist/calcite/{p-7f80ef30.entry.js → p-6ed34f0c.entry.js} +2 -2
  82. package/dist/calcite/{p-05a4b9dd.entry.js → p-6f29031f.entry.js} +2 -2
  83. package/dist/calcite/{p-490d284a.entry.js → p-6f7f0f67.entry.js} +2 -2
  84. package/dist/calcite/{p-1c45719a.system.js → p-7086770b.system.js} +1 -1
  85. package/dist/calcite/{p-82894cb4.system.entry.js → p-76c1bcd7.system.entry.js} +3 -3
  86. package/dist/calcite/{p-f6032fac.entry.js → p-7724bf19.entry.js} +2 -2
  87. package/dist/calcite/{p-f8360ef0.system.entry.js → p-791eb72e.system.entry.js} +2 -2
  88. package/dist/calcite/{p-be33578d.js → p-794df25d.js} +2 -2
  89. package/dist/calcite/{p-68c538e6.js → p-79750027.js} +2 -2
  90. package/dist/calcite/{p-10fe1682.entry.js → p-7990754a.entry.js} +2 -2
  91. package/dist/calcite/{p-2b8e9cae.system.entry.js → p-7a538f4d.system.entry.js} +2 -2
  92. package/dist/calcite/{p-cea960cf.entry.js → p-7d3a5cee.entry.js} +2 -2
  93. package/dist/calcite/{p-c7e7cc3f.js → p-803e1fdf.js} +1 -1
  94. package/dist/calcite/{p-b72717bd.entry.js → p-80b15fa9.entry.js} +2 -2
  95. package/dist/calcite/{p-5a8d424e.system.entry.js → p-80c67e43.system.entry.js} +2 -2
  96. package/dist/calcite/{p-5956ae2b.system.js → p-82189690.system.js} +1 -1
  97. package/dist/calcite/p-87ddf5b2.entry.js +6 -0
  98. package/dist/calcite/{p-5d1ea183.system.entry.js → p-8a15bb81.system.entry.js} +2 -2
  99. package/dist/calcite/{p-9814a422.system.entry.js → p-8b26bb66.system.entry.js} +2 -2
  100. package/dist/calcite/{p-ba1931db.entry.js → p-8bc93584.entry.js} +2 -2
  101. package/dist/calcite/p-8c91f5b7.system.entry.js +6 -0
  102. package/dist/calcite/{p-68605411.entry.js → p-8eb1ad9d.entry.js} +2 -2
  103. package/dist/calcite/{p-a7a4705c.entry.js → p-8f4e9d9b.entry.js} +2 -2
  104. package/dist/calcite/{p-adcd9271.system.js → p-95ac8e64.system.js} +1 -1
  105. package/dist/calcite/{p-8469c3f5.system.entry.js → p-96239dc0.system.entry.js} +2 -2
  106. package/dist/calcite/p-9a9b35e0.system.entry.js +6 -0
  107. package/dist/calcite/{p-d44c6b32.system.js → p-9d4195ba.system.js} +1 -1
  108. package/dist/calcite/{p-3bbfc3a1.js → p-9e416f64.js} +1 -1
  109. package/dist/calcite/{p-f0f828f4.js → p-9e9297fc.js} +1 -1
  110. package/dist/calcite/{p-02a3583d.entry.js → p-9f5327fe.entry.js} +2 -2
  111. package/dist/calcite/{p-08f334c1.js → p-a18960d1.js} +2 -2
  112. package/dist/calcite/{p-ab5101d8.system.js → p-a21681bf.system.js} +1 -1
  113. package/dist/calcite/{p-836254a6.system.entry.js → p-a25613a9.system.entry.js} +2 -2
  114. package/dist/calcite/{p-477ca75f.entry.js → p-a8863e85.entry.js} +2 -2
  115. package/dist/calcite/{p-71a5a7b9.js → p-aa0aafda.js} +1 -1
  116. package/dist/calcite/{p-b64ac51f.entry.js → p-aba8619b.entry.js} +2 -2
  117. package/dist/calcite/{p-0d86e14f.entry.js → p-b0067d82.entry.js} +2 -2
  118. package/dist/calcite/{p-e029f7a3.entry.js → p-b43e23a4.entry.js} +2 -2
  119. package/dist/calcite/{p-4a08a094.js → p-b44a4212.js} +2 -2
  120. package/dist/calcite/{p-c74ae0e9.system.entry.js → p-b4698639.system.entry.js} +2 -2
  121. package/dist/calcite/{p-bee3c541.js → p-b47b772e.js} +1 -1
  122. package/dist/calcite/{p-bcbe7ce6.system.entry.js → p-b78e0aa4.system.entry.js} +2 -2
  123. package/dist/calcite/{p-80dd019b.js → p-b9b838ca.js} +1 -1
  124. package/dist/calcite/{p-ca13fa8e.entry.js → p-bb286f7b.entry.js} +2 -2
  125. package/dist/calcite/{p-2981a893.js → p-bba345b0.js} +2 -2
  126. package/dist/calcite/{p-f463e742.system.entry.js → p-bd1af8e6.system.entry.js} +2 -2
  127. package/dist/calcite/{p-5321532e.entry.js → p-be44dd8c.entry.js} +2 -2
  128. package/dist/calcite/{p-f2efb50c.system.entry.js → p-bf01ccef.system.entry.js} +2 -2
  129. package/dist/calcite/{p-5bbaac2e.system.entry.js → p-bf24e24e.system.entry.js} +2 -2
  130. package/dist/calcite/{p-90bd223c.system.entry.js → p-bffc203d.system.entry.js} +2 -2
  131. package/dist/calcite/{p-d7a237ba.system.js → p-c0137931.system.js} +1 -1
  132. package/dist/calcite/{p-37ae8843.system.js → p-c0564473.system.js} +2 -2
  133. package/dist/calcite/{p-616f05fa.entry.js → p-c0dd3393.entry.js} +2 -2
  134. package/dist/calcite/{p-a56d7998.system.js → p-c17fcd09.system.js} +2 -2
  135. package/dist/calcite/{p-b2f3fc3d.system.entry.js → p-c4296f0f.system.entry.js} +2 -2
  136. package/dist/calcite/{p-037f81e1.entry.js → p-ca864d50.entry.js} +2 -2
  137. package/dist/calcite/{p-b2f5c885.system.entry.js → p-d06a66d5.system.entry.js} +2 -2
  138. package/dist/calcite/{p-d418b98e.system.entry.js → p-d2024d78.system.entry.js} +2 -2
  139. package/dist/calcite/{p-c9962a82.system.entry.js → p-d40e2e5e.system.entry.js} +2 -2
  140. package/dist/calcite/{p-7779dcec.entry.js → p-d48eb3f4.entry.js} +2 -2
  141. package/dist/calcite/{p-3ade5098.js → p-d94193be.js} +1 -1
  142. package/dist/calcite/{p-e99806ce.entry.js → p-da460566.entry.js} +2 -2
  143. package/dist/calcite/{p-a186a81b.entry.js → p-da83c7b8.entry.js} +2 -2
  144. package/dist/calcite/{p-0e8275de.entry.js → p-db9c0de1.entry.js} +2 -2
  145. package/dist/calcite/{p-0664c198.entry.js → p-de9f177a.entry.js} +2 -2
  146. package/dist/calcite/{p-a056927a.entry.js → p-e0e764bb.entry.js} +2 -2
  147. package/dist/calcite/{p-ed2772f3.system.entry.js → p-e18bb14e.system.entry.js} +2 -2
  148. package/dist/calcite/{p-d6299c4e.system.js → p-e1ded583.system.js} +2 -2
  149. package/dist/calcite/{p-eef3c9fd.entry.js → p-e6c703fa.entry.js} +2 -2
  150. package/dist/calcite/{p-60224344.js → p-e8576375.js} +1 -1
  151. package/dist/calcite/{p-bd5694e0.system.entry.js → p-eb913caa.system.entry.js} +2 -2
  152. package/dist/calcite/{p-ce9659f4.entry.js → p-ebdf2dcb.entry.js} +2 -2
  153. package/dist/calcite/{p-28b4be8f.system.entry.js → p-ed735bdc.system.entry.js} +2 -2
  154. package/dist/calcite/{p-597100a7.entry.js → p-f1316f46.entry.js} +2 -2
  155. package/dist/calcite/{p-8e6d31eb.system.js → p-f2b4047b.system.js} +1 -1
  156. package/dist/calcite/{p-3c9fb8a0.system.entry.js → p-f316435a.system.entry.js} +3 -3
  157. package/dist/calcite/{p-54bc93ca.system.entry.js → p-f4c0780c.system.entry.js} +2 -2
  158. package/dist/calcite/{p-f18df807.system.entry.js → p-f5333892.system.entry.js} +2 -2
  159. package/dist/calcite/{p-0f7446cb.entry.js → p-f601b375.entry.js} +2 -2
  160. package/dist/calcite/{p-7b5c7678.system.js → p-f68f7eac.system.js} +1 -1
  161. package/dist/calcite/{p-22ffda43.system.js → p-f7c9c5f2.system.js} +2 -2
  162. package/dist/calcite/{p-d461e15b.system.entry.js → p-f7f7e330.system.entry.js} +2 -2
  163. package/dist/calcite/{p-9109755c.entry.js → p-f8055fa4.entry.js} +2 -2
  164. package/dist/calcite/{p-67f1f6b9.system.entry.js → p-f9642904.system.entry.js} +2 -2
  165. package/dist/calcite/p-fa13fecc.entry.js +6 -0
  166. package/dist/calcite/{p-dd9f25da.entry.js → p-fa95edee.entry.js} +2 -2
  167. package/dist/calcite/{p-b905df83.system.entry.js → p-fe1a1f2b.system.entry.js} +2 -2
  168. package/dist/calcite/p-fe48f6e1.system.js +6 -0
  169. package/dist/calcite/{p-fa49f87b.system.entry.js → p-fe9b9938.system.entry.js} +2 -2
  170. package/dist/calcite/{p-2bceb3cc.js → p-ff900ff3.js} +2 -2
  171. package/dist/cjs/{ExpandToggle-8aaaf12b.js → ExpandToggle-5914d027.js} +5 -5
  172. package/dist/cjs/{Heading-5f2ed366.js → Heading-5b6728fa.js} +2 -2
  173. package/dist/cjs/{array-332f1ad8.js → array-10d140a1.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 +11 -11
  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 +12 -6
  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-345c638f.js → conditionalSlot-2fa6c7c0.js} +3 -3
  234. package/dist/cjs/{debounce-cff73118.js → debounce-a569f7e8.js} +1 -1
  235. package/dist/cjs/{dom-006119f9.js → dom-ab156ed7.js} +2 -2
  236. package/dist/cjs/{forIn-63725cb3.js → forIn-5b249337.js} +2 -2
  237. package/dist/cjs/{form-4aa36914.js → form-9fd7e527.js} +3 -3
  238. package/dist/cjs/{guid-7ac09c7c.js → guid-e3ed3471.js} +1 -1
  239. package/dist/cjs/{index-345bd03e.js → index-688507d2.js} +1 -1
  240. package/dist/cjs/index.cjs.js +1 -1
  241. package/dist/cjs/{interactive-4c089305.js → interactive-4c3bdfce.js} +1 -1
  242. package/dist/cjs/{interfaces-ed5629c9.js → interfaces-8feed84a.js} +1 -1
  243. package/dist/cjs/{key-ad47ec79.js → key-7c21c694.js} +1 -1
  244. package/dist/cjs/{label-cbd2fca0.js → label-585aa37d.js} +2 -2
  245. package/dist/cjs/loader.cjs.js +4 -4
  246. package/dist/cjs/{locale-a7606dce.js → locale-33c1aad6.js} +2 -2
  247. package/dist/cjs/{math-cb0eba16.js → math-f61b24ca.js} +1 -1
  248. package/dist/cjs/{observers-e7215a23.js → observers-1e86c439.js} +1 -1
  249. package/dist/cjs/{popper-a6799f73.js → popper-bf284b6f.js} +2 -2
  250. package/dist/cjs/{resources-ec4ddd5b.js → resources-010f3e62.js} +3 -3
  251. package/dist/cjs/{resources-e4f2b649.js → resources-1d8b7492.js} +1 -1
  252. package/dist/cjs/{resources-e78d08e9.js → resources-a1c7bd83.js} +5 -5
  253. package/dist/cjs/{resources-3dfb6262.js → resources-ac47df12.js} +1 -1
  254. package/dist/cjs/{sortable.esm-75596196.js → sortable.esm-a16d43ef.js} +1 -1
  255. package/dist/cjs/{utils-cd5ed41f.js → utils-daa542d3.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 +1 -1
  347. package/dist/collection/components/input-message/input-message.js +1 -1
  348. package/dist/collection/components/input-message/interfaces.js +1 -1
  349. package/dist/collection/components/input-number/input-number.css +509 -0
  350. package/dist/collection/components/input-number/input-number.js +1251 -0
  351. package/dist/collection/components/input-number/interfaces.js +6 -0
  352. package/dist/collection/components/input-number/resources.js +27 -0
  353. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  354. package/dist/collection/components/interfaces.js +1 -1
  355. package/dist/collection/components/label/label.css +15 -10
  356. package/dist/collection/components/label/label.js +28 -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 +4 -4
  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 -80
  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 +793 -273
  625. package/dist/esm/{ExpandToggle-f015017d.js → ExpandToggle-6bd463d8.js} +5 -5
  626. package/dist/esm/{Heading-d8e9c4d0.js → Heading-129c5b2e.js} +2 -2
  627. package/dist/esm/{array-cc249c07.js → array-5d83abf9.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 +11 -11
  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 +12 -6
  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-251f048d.js → conditionalSlot-a00e8dca.js} +3 -3
  688. package/dist/esm/{debounce-671be4ab.js → debounce-031e6c4d.js} +1 -1
  689. package/dist/esm/{dom-1d25d90d.js → dom-f9756282.js} +2 -2
  690. package/dist/esm/{forIn-61b8f555.js → forIn-dbccb332.js} +2 -2
  691. package/dist/esm/{form-9231bd75.js → form-e4f2868c.js} +3 -3
  692. package/dist/esm/{guid-681ada01.js → guid-db5de792.js} +1 -1
  693. package/dist/esm/{index-3d4e33c9.js → index-258b111b.js} +1 -1
  694. package/dist/esm/index.js +1 -1
  695. package/dist/esm/{interactive-206f3e33.js → interactive-2d24af9c.js} +1 -1
  696. package/dist/esm/{interfaces-1e8297e0.js → interfaces-a34a97a3.js} +1 -1
  697. package/dist/esm/{key-aaa7a17a.js → key-1ad35d1e.js} +1 -1
  698. package/dist/esm/{label-78ef6888.js → label-dad4147d.js} +2 -2
  699. package/dist/esm/loader.js +4 -4
  700. package/dist/esm/{locale-ddc99d54.js → locale-4b78a8a2.js} +2 -2
  701. package/dist/esm/{math-6704b0cd.js → math-f9aa9265.js} +1 -1
  702. package/dist/esm/{observers-f4b26851.js → observers-d73acf67.js} +1 -1
  703. package/dist/esm/{popper-0f8ca820.js → popper-862cce4a.js} +2 -2
  704. package/dist/esm/{resources-c23513d4.js → resources-76735425.js} +5 -5
  705. package/dist/esm/{resources-9cd6c136.js → resources-a1573fa8.js} +3 -3
  706. package/dist/esm/{resources-8bc22c30.js → resources-a53d5723.js} +1 -1
  707. package/dist/esm/{resources-f108bb2c.js → resources-ecb7ae7e.js} +1 -1
  708. package/dist/esm/{sortable.esm-b5154dfc.js → sortable.esm-e4772b0a.js} +1 -1
  709. package/dist/esm/{utils-29143248.js → utils-aa0bb6c4.js} +1 -1
  710. package/dist/esm-es5/{ExpandToggle-f015017d.js → ExpandToggle-6bd463d8.js} +2 -2
  711. package/dist/esm-es5/Heading-129c5b2e.js +6 -0
  712. package/dist/esm-es5/{array-cc249c07.js → array-5d83abf9.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 +3 -3
  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 +3 -3
  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-251f048d.js → conditionalSlot-a00e8dca.js} +2 -2
  773. package/dist/esm-es5/{debounce-671be4ab.js → debounce-031e6c4d.js} +1 -1
  774. package/dist/esm-es5/{dom-1d25d90d.js → dom-f9756282.js} +2 -2
  775. package/dist/esm-es5/{forIn-61b8f555.js → forIn-dbccb332.js} +2 -2
  776. package/dist/esm-es5/{form-9231bd75.js → form-e4f2868c.js} +2 -2
  777. package/dist/esm-es5/{guid-681ada01.js → guid-db5de792.js} +1 -1
  778. package/dist/esm-es5/{index-3d4e33c9.js → index-258b111b.js} +1 -1
  779. package/dist/esm-es5/index.js +1 -1
  780. package/dist/esm-es5/{interactive-206f3e33.js → interactive-2d24af9c.js} +1 -1
  781. package/dist/esm-es5/{interfaces-1e8297e0.js → interfaces-a34a97a3.js} +1 -1
  782. package/dist/esm-es5/{key-aaa7a17a.js → key-1ad35d1e.js} +1 -1
  783. package/dist/esm-es5/{label-78ef6888.js → label-dad4147d.js} +2 -2
  784. package/dist/esm-es5/loader.js +2 -2
  785. package/dist/esm-es5/{locale-ddc99d54.js → locale-4b78a8a2.js} +2 -2
  786. package/dist/esm-es5/{math-6704b0cd.js → math-f9aa9265.js} +1 -1
  787. package/dist/esm-es5/{observers-f4b26851.js → observers-d73acf67.js} +1 -1
  788. package/dist/esm-es5/{popper-0f8ca820.js → popper-862cce4a.js} +2 -2
  789. package/dist/esm-es5/{resources-c23513d4.js → resources-76735425.js} +2 -2
  790. package/dist/esm-es5/{resources-9cd6c136.js → resources-a1573fa8.js} +2 -2
  791. package/dist/esm-es5/{resources-8bc22c30.js → resources-a53d5723.js} +1 -1
  792. package/dist/esm-es5/{resources-f108bb2c.js → resources-ecb7ae7e.js} +1 -1
  793. package/dist/esm-es5/{sortable.esm-b5154dfc.js → sortable.esm-e4772b0a.js} +1 -1
  794. package/dist/esm-es5/{utils-29143248.js → utils-aa0bb6c4.js} +1 -1
  795. package/dist/extras/docs-json.json +806 -111
  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-number/input-number.d.ts +216 -0
  801. package/dist/types/components/input-number/interfaces.d.ts +1 -0
  802. package/dist/types/components/input-number/resources.d.ts +22 -0
  803. package/dist/types/components/label/label.d.ts +6 -0
  804. package/dist/types/components.d.ts +307 -0
  805. package/dist/types/preact.d.ts +7 -0
  806. package/hydrate/index.js +825 -396
  807. package/package.json +2 -2
  808. package/readme.md +2 -2
  809. package/dist/calcite/p-15a2f2b5.entry.js +0 -6
  810. package/dist/calcite/p-3854aaa3.entry.js +0 -6
  811. package/dist/calcite/p-56fad8eb.system.entry.js +0 -6
  812. package/dist/calcite/p-9a775e97.entry.js +0 -6
  813. package/dist/calcite/p-aa04303b.system.js +0 -6
  814. package/dist/calcite/p-ab08ad49.system.js +0 -6
  815. package/dist/calcite/p-b9ba2995.system.js +0 -6
  816. package/dist/calcite/p-cc236a7d.js +0 -6
  817. package/dist/calcite/p-ce350a0c.js +0 -6
  818. package/dist/calcite/p-fb4d2cca.entry.js +0 -6
  819. package/dist/esm-es5/Heading-d8e9c4d0.js +0 -6
@@ -0,0 +1,592 @@
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.524
5
+ */
6
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
7
+ import { T as TEXT$1, b as getSlotted, s as setRequestedIcon, g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
8
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
9
+ import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
10
+ import { d as delocalizeNumberString, i as isValidNumber, p as parseNumberString, g as getDecimalSeparator, l as localizeNumberString, s as sanitizeNumberString } from './locale.js';
11
+ import { n as numberKeys } from './key.js';
12
+ import { d as decimalPlaces } from './math.js';
13
+ import { c as createObserver } from './observers.js';
14
+ import { u as updateHostInteraction } from './interactive.js';
15
+ import { d as defineCustomElement$3 } from './icon.js';
16
+ import { d as defineCustomElement$2 } from './progress.js';
17
+
18
+ const CSS = {
19
+ loader: "loader",
20
+ clearButton: "clear-button",
21
+ editingEnabled: "editing-enabled",
22
+ inlineChild: "inline-child",
23
+ inputIcon: "icon",
24
+ prefix: "prefix",
25
+ suffix: "suffix",
26
+ numberButtonWrapper: "number-button-wrapper",
27
+ buttonItemHorizontal: "number-button-item--horizontal",
28
+ wrapper: "element-wrapper",
29
+ inputWrapper: "wrapper",
30
+ actionWrapper: "action-wrapper",
31
+ resizeIconWrapper: "resize-icon-wrapper",
32
+ numberButtonItem: "number-button-item"
33
+ };
34
+ const SLOTS = {
35
+ action: "action"
36
+ };
37
+ const TEXT = {
38
+ clear: "Clear value"
39
+ };
40
+
41
+ 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}";
42
+
43
+ const InputNumber = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
44
+ constructor() {
45
+ super();
46
+ this.__registerHost();
47
+ this.__attachShadow();
48
+ this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 7);
49
+ this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 7);
50
+ this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
51
+ this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 7);
52
+ //--------------------------------------------------------------------------
53
+ //
54
+ // Properties
55
+ //
56
+ //--------------------------------------------------------------------------
57
+ /** Specifies the text alignment of the component's value. */
58
+ this.alignment = "start";
59
+ /**
60
+ * When true, the component is focused on page load.
61
+ *
62
+ * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
63
+ */
64
+ this.autofocus = false;
65
+ /**
66
+ * When true, a clear button is displayed when the component has a value.
67
+ */
68
+ this.clearable = false;
69
+ /**
70
+ * When true, interaction is prevented and the component is displayed with lower opacity.
71
+ *
72
+ * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
73
+ */
74
+ this.disabled = false;
75
+ /**
76
+ * When true, number values are displayed with the locale's group separator.
77
+ */
78
+ this.groupSeparator = false;
79
+ /**
80
+ * When true, the component will not be visible.
81
+ *
82
+ * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
83
+ */
84
+ this.hidden = false;
85
+ /**
86
+ * Accessible name that will appear while loading.
87
+ *
88
+ * @default "Loading"
89
+ */
90
+ this.intlLoading = TEXT$1.loading;
91
+ /** When true, the icon is flipped in RTL. */
92
+ this.iconFlipRtl = false;
93
+ /** When true, the component is in the loading state and `calcite-progress` is displayed. */
94
+ this.loading = false;
95
+ /** Specifies the BCP 47 language tag for the desired language and country format. */
96
+ this.locale = document.documentElement.lang || "en";
97
+ /**
98
+ * Toggles locale formatting for numbers.
99
+ *
100
+ * @internal
101
+ */
102
+ this.localeFormat = false;
103
+ /** Specifies the placement of the buttons. */
104
+ this.numberButtonType = "vertical";
105
+ /**
106
+ * When true, the value cannot be modified.
107
+ *
108
+ * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
109
+ */
110
+ this.readOnly = false;
111
+ /** When true, the component must have a value in order for the form to submit. */
112
+ this.required = false;
113
+ /** Specifies the size of the component. */
114
+ this.scale = "m";
115
+ /** Specifies the status of the input field, which determines message and icons. */
116
+ this.status = "idle";
117
+ /**
118
+ * @internal
119
+ */
120
+ this.editingEnabled = false;
121
+ /** The component's value. */
122
+ this.value = "";
123
+ this.previousValueOrigin = "initial";
124
+ this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
125
+ this.userChangedValue = false;
126
+ //--------------------------------------------------------------------------
127
+ //
128
+ // Private Methods
129
+ //
130
+ //--------------------------------------------------------------------------
131
+ this.keyDownHandler = (event) => {
132
+ if (this.readOnly || this.disabled) {
133
+ return;
134
+ }
135
+ if (this.isClearable && event.key === "Escape") {
136
+ this.clearInputValue(event);
137
+ event.preventDefault();
138
+ }
139
+ if (event.key === "Enter" && !event.defaultPrevented) {
140
+ submitForm(this);
141
+ }
142
+ };
143
+ this.clearInputValue = (nativeEvent) => {
144
+ this.setNumberValue({
145
+ committing: true,
146
+ nativeEvent,
147
+ origin: "user",
148
+ value: ""
149
+ });
150
+ };
151
+ this.emitChangeIfUserModified = () => {
152
+ if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
153
+ this.calciteInputNumberChange.emit();
154
+ }
155
+ this.previousEmittedValue = this.value;
156
+ };
157
+ this.inputNumberBlurHandler = () => {
158
+ this.calciteInternalInputNumberBlur.emit({
159
+ element: this.childNumberEl,
160
+ value: this.value
161
+ });
162
+ this.emitChangeIfUserModified();
163
+ };
164
+ this.inputNumberFocusHandler = (event) => {
165
+ const slottedActionEl = getSlotted(this.el, "action");
166
+ if (event.target !== slottedActionEl) {
167
+ this.setFocus();
168
+ }
169
+ this.calciteInternalInputNumberFocus.emit({
170
+ element: this.childNumberEl,
171
+ value: this.value
172
+ });
173
+ };
174
+ this.inputNumberInputHandler = (nativeEvent) => {
175
+ if (this.disabled || this.readOnly) {
176
+ return;
177
+ }
178
+ const value = nativeEvent.target.value;
179
+ const delocalizedValue = delocalizeNumberString(value, this.locale);
180
+ if (nativeEvent.inputType === "insertFromPaste") {
181
+ if (!isValidNumber(delocalizedValue)) {
182
+ nativeEvent.preventDefault();
183
+ }
184
+ this.setNumberValue({
185
+ nativeEvent,
186
+ origin: "user",
187
+ value: parseNumberString(delocalizedValue)
188
+ });
189
+ this.childNumberEl.value = this.localizedValue;
190
+ }
191
+ else {
192
+ this.setNumberValue({
193
+ nativeEvent,
194
+ origin: "user",
195
+ value: delocalizedValue
196
+ });
197
+ }
198
+ };
199
+ this.inputNumberKeyDownHandler = (event) => {
200
+ if (this.disabled || this.readOnly) {
201
+ return;
202
+ }
203
+ if (event.key === "ArrowUp") {
204
+ /* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
205
+ event.preventDefault();
206
+ this.nudgeNumberValue("up", event);
207
+ return;
208
+ }
209
+ if (event.key === "ArrowDown") {
210
+ this.nudgeNumberValue("down", event);
211
+ return;
212
+ }
213
+ const supportedKeys = [
214
+ ...numberKeys,
215
+ "ArrowLeft",
216
+ "ArrowRight",
217
+ "Backspace",
218
+ "Delete",
219
+ "Enter",
220
+ "Escape",
221
+ "Tab"
222
+ ];
223
+ if (event.altKey || event.ctrlKey || event.metaKey) {
224
+ return;
225
+ }
226
+ const isShiftTabEvent = event.shiftKey && event.key === "Tab";
227
+ if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
228
+ if (event.key === "Enter") {
229
+ this.emitChangeIfUserModified();
230
+ }
231
+ return;
232
+ }
233
+ const decimalSeparator = getDecimalSeparator(this.locale);
234
+ if (event.key === decimalSeparator) {
235
+ if (!this.value && !this.childNumberEl.value) {
236
+ return;
237
+ }
238
+ if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
239
+ return;
240
+ }
241
+ }
242
+ if (/[eE]/.test(event.key)) {
243
+ if (!this.value && !this.childNumberEl.value) {
244
+ return;
245
+ }
246
+ if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
247
+ return;
248
+ }
249
+ }
250
+ if (event.key === "-") {
251
+ if (!this.value && !this.childNumberEl.value) {
252
+ return;
253
+ }
254
+ if (this.value && this.childNumberEl.value.split("-").length <= 2) {
255
+ return;
256
+ }
257
+ }
258
+ event.preventDefault();
259
+ };
260
+ this.nudgeNumberValue = (direction, nativeEvent) => {
261
+ if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
262
+ return;
263
+ }
264
+ const inputMax = this.maxString ? parseFloat(this.maxString) : null;
265
+ const inputMin = this.minString ? parseFloat(this.minString) : null;
266
+ const valueNudgeDelayInMs = 100;
267
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
268
+ if (this.nudgeNumberValueIntervalId) {
269
+ window.clearInterval(this.nudgeNumberValueIntervalId);
270
+ }
271
+ let firstValueNudge = true;
272
+ this.nudgeNumberValueIntervalId = window.setInterval(() => {
273
+ if (firstValueNudge) {
274
+ firstValueNudge = false;
275
+ return;
276
+ }
277
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
278
+ }, valueNudgeDelayInMs);
279
+ };
280
+ this.nudgeButtonPointerUpAndOutHandler = () => {
281
+ window.clearInterval(this.nudgeNumberValueIntervalId);
282
+ };
283
+ this.nudgeButtonPointerDownHandler = (event) => {
284
+ event.preventDefault();
285
+ const direction = event.target.dataset.adjustment;
286
+ if (!this.disabled) {
287
+ this.nudgeNumberValue(direction, event);
288
+ }
289
+ };
290
+ this.setChildNumberElRef = (el) => {
291
+ this.childNumberEl = el;
292
+ };
293
+ this.setInputNumberValue = (newInputValue) => {
294
+ if (!this.childNumberEl) {
295
+ return;
296
+ }
297
+ this.childNumberEl.value = newInputValue;
298
+ };
299
+ this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {
300
+ this.previousEmittedValue = isValidNumber(newPreviousEmittedValue)
301
+ ? newPreviousEmittedValue
302
+ : "";
303
+ };
304
+ this.setPreviousNumberValue = (newPreviousValue) => {
305
+ this.previousValue = isValidNumber(newPreviousValue) ? newPreviousValue : "";
306
+ };
307
+ this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
308
+ const previousLocalizedValue = localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem);
309
+ const sanitizedValue = sanitizeNumberString(value);
310
+ const newValue = value && !sanitizedValue
311
+ ? isValidNumber(this.previousValue)
312
+ ? this.previousValue
313
+ : ""
314
+ : sanitizedValue;
315
+ const newLocalizedValue = localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem);
316
+ this.setPreviousNumberValue(previousValue || this.value);
317
+ this.previousValueOrigin = origin;
318
+ this.userChangedValue = origin === "user" && this.value !== newValue;
319
+ this.value = newValue;
320
+ this.localizedValue = newLocalizedValue;
321
+ if (origin === "direct") {
322
+ this.setInputNumberValue(newLocalizedValue);
323
+ }
324
+ if (nativeEvent) {
325
+ const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({
326
+ element: this.childNumberEl,
327
+ nativeEvent,
328
+ value: this.value
329
+ });
330
+ if (calciteInputNumberInputEvent.defaultPrevented) {
331
+ this.value = this.previousValue;
332
+ this.localizedValue = previousLocalizedValue;
333
+ }
334
+ else if (committing) {
335
+ this.emitChangeIfUserModified();
336
+ }
337
+ }
338
+ };
339
+ this.inputNumberKeyUpHandler = () => {
340
+ window.clearInterval(this.nudgeNumberValueIntervalId);
341
+ };
342
+ }
343
+ disabledWatcher() {
344
+ this.setDisabledAction();
345
+ }
346
+ /** watcher to update number-to-string for max */
347
+ maxWatcher() {
348
+ var _a;
349
+ this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
350
+ }
351
+ /** watcher to update number-to-string for min */
352
+ minWatcher() {
353
+ var _a;
354
+ this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
355
+ }
356
+ valueWatcher(newValue, previousValue) {
357
+ if (!this.userChangedValue) {
358
+ this.setNumberValue({
359
+ origin: "direct",
360
+ previousValue,
361
+ value: newValue == null || newValue == ""
362
+ ? ""
363
+ : isValidNumber(newValue)
364
+ ? newValue
365
+ : this.previousValue || ""
366
+ });
367
+ this.warnAboutInvalidNumberValue(newValue);
368
+ }
369
+ this.userChangedValue = false;
370
+ }
371
+ updateRequestedIcon() {
372
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
373
+ }
374
+ get isClearable() {
375
+ return this.clearable && this.value.length > 0;
376
+ }
377
+ //--------------------------------------------------------------------------
378
+ //
379
+ // Lifecycle
380
+ //
381
+ //--------------------------------------------------------------------------
382
+ connectedCallback() {
383
+ var _a;
384
+ this.scale = getElementProp(this.el, "scale", this.scale);
385
+ this.status = getElementProp(this.el, "status", this.status);
386
+ this.inlineEditableEl = this.el.closest("calcite-inline-editable");
387
+ if (this.inlineEditableEl) {
388
+ this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
389
+ }
390
+ this.setPreviousEmittedNumberValue(this.value);
391
+ this.setPreviousNumberValue(this.value);
392
+ this.warnAboutInvalidNumberValue(this.value);
393
+ this.setNumberValue({
394
+ origin: "connected",
395
+ value: isValidNumber(this.value) ? this.value : ""
396
+ });
397
+ connectLabel(this);
398
+ connectForm(this);
399
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
400
+ this.setDisabledAction();
401
+ }
402
+ disconnectedCallback() {
403
+ var _a;
404
+ disconnectLabel(this);
405
+ disconnectForm(this);
406
+ (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
407
+ }
408
+ componentWillLoad() {
409
+ var _a, _b;
410
+ this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
411
+ this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
412
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
413
+ }
414
+ componentShouldUpdate(newValue, oldValue, property) {
415
+ if (property === "value" && newValue && !isValidNumber(newValue)) {
416
+ this.setNumberValue({
417
+ origin: "reset",
418
+ value: oldValue
419
+ });
420
+ return false;
421
+ }
422
+ return true;
423
+ }
424
+ componentDidRender() {
425
+ updateHostInteraction(this);
426
+ }
427
+ //--------------------------------------------------------------------------
428
+ //
429
+ // Public Methods
430
+ //
431
+ //--------------------------------------------------------------------------
432
+ /** Sets focus on the component. */
433
+ async setFocus() {
434
+ var _a;
435
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
436
+ }
437
+ /** Selects all text of the component's `value`. */
438
+ async selectText() {
439
+ var _a;
440
+ (_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
441
+ }
442
+ onLabelClick() {
443
+ this.setFocus();
444
+ }
445
+ incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
446
+ const { value } = this;
447
+ const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
448
+ const inputVal = value && value !== "" ? parseFloat(value) : 0;
449
+ const adjustment = direction === "up" ? 1 : -1;
450
+ const nudgedValue = inputVal + inputStep * adjustment;
451
+ const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
452
+ (typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
453
+ ? inputVal
454
+ : nudgedValue;
455
+ const inputValPlaces = decimalPlaces(inputVal);
456
+ const inputStepPlaces = decimalPlaces(inputStep);
457
+ this.setNumberValue({
458
+ committing: true,
459
+ nativeEvent,
460
+ origin: "user",
461
+ value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
462
+ });
463
+ }
464
+ onFormReset() {
465
+ this.setNumberValue({
466
+ origin: "reset",
467
+ value: this.defaultValue
468
+ });
469
+ }
470
+ syncHiddenFormInput(input) {
471
+ var _a, _b, _c, _d;
472
+ input.type = "number";
473
+ input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
474
+ input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
475
+ }
476
+ setDisabledAction() {
477
+ const slottedActionEl = getSlotted(this.el, "action");
478
+ if (!slottedActionEl) {
479
+ return;
480
+ }
481
+ this.disabled
482
+ ? slottedActionEl.setAttribute("disabled", "")
483
+ : slottedActionEl.removeAttribute("disabled");
484
+ }
485
+ warnAboutInvalidNumberValue(value) {
486
+ if (value && !isValidNumber(value)) {
487
+ console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
488
+ }
489
+ }
490
+ // --------------------------------------------------------------------------
491
+ //
492
+ // Render Methods
493
+ //
494
+ // --------------------------------------------------------------------------
495
+ render() {
496
+ const dir = getElementDir(this.el);
497
+ const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
498
+ const inputClearButton = (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" }, h("calcite-icon", { icon: "x", scale: "s" })));
499
+ const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
500
+ const isHorizontalNumberButton = this.numberButtonType === "horizontal";
501
+ const numberButtonsHorizontalUp = (h("button", { class: {
502
+ [CSS.numberButtonItem]: true,
503
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
504
+ }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
505
+ const numberButtonsHorizontalDown = (h("button", { class: {
506
+ [CSS.numberButtonItem]: true,
507
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
508
+ }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
509
+ const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
510
+ const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
511
+ const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
512
+ const childEl = (h("input", { "aria-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 }));
513
+ return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
514
+ ? numberButtonsHorizontalDown
515
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
516
+ ? numberButtonsHorizontalUp
517
+ : null, h(HiddenFormInputSlot, { component: this }))));
518
+ }
519
+ get el() { return this; }
520
+ static get watchers() { return {
521
+ "disabled": ["disabledWatcher"],
522
+ "max": ["maxWatcher"],
523
+ "min": ["minWatcher"],
524
+ "value": ["valueWatcher"],
525
+ "icon": ["updateRequestedIcon"]
526
+ }; }
527
+ static get style() { return inputNumberCss; }
528
+ }, [1, "calcite-input-number", {
529
+ "alignment": [513],
530
+ "autofocus": [4],
531
+ "clearable": [516],
532
+ "disabled": [516],
533
+ "groupSeparator": [4, "group-separator"],
534
+ "hidden": [4],
535
+ "icon": [520],
536
+ "intlClear": [1, "intl-clear"],
537
+ "intlLoading": [1, "intl-loading"],
538
+ "iconFlipRtl": [516, "icon-flip-rtl"],
539
+ "label": [1],
540
+ "loading": [516],
541
+ "locale": [1],
542
+ "numberingSystem": [1, "numbering-system"],
543
+ "localeFormat": [4, "locale-format"],
544
+ "max": [514],
545
+ "min": [514],
546
+ "maxLength": [514, "max-length"],
547
+ "minLength": [514, "min-length"],
548
+ "name": [513],
549
+ "numberButtonType": [513, "number-button-type"],
550
+ "placeholder": [1],
551
+ "prefixText": [1, "prefix-text"],
552
+ "readOnly": [4, "read-only"],
553
+ "required": [4],
554
+ "scale": [1537],
555
+ "status": [1537],
556
+ "step": [520],
557
+ "suffixText": [1, "suffix-text"],
558
+ "editingEnabled": [1540, "editing-enabled"],
559
+ "value": [1025],
560
+ "localizedValue": [32],
561
+ "setFocus": [64],
562
+ "selectText": [64]
563
+ }]);
564
+ function defineCustomElement$1() {
565
+ if (typeof customElements === "undefined") {
566
+ return;
567
+ }
568
+ const components = ["calcite-input-number", "calcite-icon", "calcite-progress"];
569
+ components.forEach(tagName => { switch (tagName) {
570
+ case "calcite-input-number":
571
+ if (!customElements.get(tagName)) {
572
+ customElements.define(tagName, InputNumber);
573
+ }
574
+ break;
575
+ case "calcite-icon":
576
+ if (!customElements.get(tagName)) {
577
+ defineCustomElement$3();
578
+ }
579
+ break;
580
+ case "calcite-progress":
581
+ if (!customElements.get(tagName)) {
582
+ defineCustomElement$2();
583
+ }
584
+ break;
585
+ } });
586
+ }
587
+ defineCustomElement$1();
588
+
589
+ const CalciteInputNumber = InputNumber;
590
+ const defineCustomElement = defineCustomElement$1;
591
+
592
+ export { CalciteInputNumber, defineCustomElement };
@@ -1,12 +1,12 @@
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.521
4
+ * v1.0.0-next.524
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as guid } from './guid.js';
8
8
  import { l as localizeTimeString, f as formatTimeString, i as isValidTime, d as defineCustomElement$2 } from './time-picker.js';
9
- import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
9
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
10
10
  import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
11
11
  import { u as updateHostInteraction } from './interactive.js';
12
12
  import { d as defineCustomElement$8 } from './action.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.521
4
+ * v1.0.0-next.524
5
5
  */
6
6
  import { I as Input, d as defineCustomElement$1 } from './input.js';
7
7
 
@@ -1,9 +1,9 @@
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.521
4
+ * v1.0.0-next.524
5
5
  */
6
- import { L as Label, d as defineCustomElement$1 } from './label.js';
6
+ import { L as Label, d as defineCustomElement$1 } from './label2.js';
7
7
 
8
8
  const CalciteLabel = Label;
9
9
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.521
4
+ * v1.0.0-next.524
5
5
  */
6
6
  import { L as Link, d as defineCustomElement$1 } from './link.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.521
4
+ * v1.0.0-next.524
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
7
7
  import { H as Heading, c as constrainHeadingLevel } from './Heading.js';