@esri/calcite-components 1.0.0-next.353 → 1.0.0-next.357

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 (614) hide show
  1. package/dist/calcite/assets/calcite-icon/rightAlign16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/rightAlign24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/rightAlign32.json +1 -0
  4. package/dist/calcite/calcite.css +1 -1
  5. package/dist/calcite/calcite.esm.js +1 -1
  6. package/dist/calcite/calcite.js +1 -1
  7. package/dist/calcite/p-0134e87c.system.entry.js +5 -0
  8. package/dist/calcite/p-02856c5a.system.entry.js +5 -0
  9. package/dist/calcite/p-04bf9bca.system.entry.js +5 -0
  10. package/dist/calcite/p-082c3059.system.entry.js +5 -0
  11. package/dist/calcite/p-0ac72794.system.entry.js +5 -0
  12. package/dist/calcite/p-0b187e6a.system.entry.js +5 -0
  13. package/dist/calcite/p-0d9a5d78.entry.js +5 -0
  14. package/dist/calcite/p-12c57970.js +5 -0
  15. package/dist/calcite/p-141c978b.system.entry.js +5 -0
  16. package/dist/calcite/p-1509da0f.system.entry.js +5 -0
  17. package/dist/calcite/p-15a38242.system.entry.js +5 -0
  18. package/dist/calcite/{p-389d11dd.entry.js → p-18c9da83.entry.js} +1 -1
  19. package/dist/calcite/p-1d26d522.system.entry.js +5 -0
  20. package/dist/calcite/p-2015299a.entry.js +5 -0
  21. package/dist/calcite/{p-27d9be53.entry.js → p-209f2049.entry.js} +1 -1
  22. package/dist/calcite/p-20d2db84.entry.js +5 -0
  23. package/dist/calcite/{p-dbc16f65.system.entry.js → p-227da2a5.system.entry.js} +1 -1
  24. package/dist/calcite/{p-21857b73.entry.js → p-2c278864.entry.js} +1 -1
  25. package/dist/calcite/p-2c3bbbb4.system.entry.js +5 -0
  26. package/dist/calcite/p-3366ef60.entry.js +5 -0
  27. package/dist/calcite/p-3baf4001.system.entry.js +5 -0
  28. package/dist/calcite/p-3c14f089.system.entry.js +5 -0
  29. package/dist/calcite/{p-26ace86f.entry.js → p-3c1841bd.entry.js} +1 -1
  30. package/dist/calcite/p-3c34f20d.system.js +5 -0
  31. package/dist/calcite/p-3e8cf990.entry.js +5 -0
  32. package/dist/calcite/p-3f51ac4b.system.entry.js +5 -0
  33. package/dist/calcite/{p-56963201.entry.js → p-475b5015.entry.js} +1 -1
  34. package/dist/calcite/{p-8d98d2a5.entry.js → p-481366ac.entry.js} +1 -1
  35. package/dist/calcite/p-4aa28569.entry.js +5 -0
  36. package/dist/calcite/{p-52966b4c.js → p-4f9b0b0f.js} +1 -1
  37. package/dist/calcite/p-4fee156d.system.entry.js +5 -0
  38. package/dist/calcite/{p-5c7c2892.system.entry.js → p-513bc44f.system.entry.js} +1 -1
  39. package/dist/calcite/p-54e07c75.entry.js +5 -0
  40. package/dist/calcite/p-557f31e6.system.entry.js +5 -0
  41. package/dist/calcite/{p-ca9795e8.entry.js → p-55e6b0b2.entry.js} +1 -1
  42. package/dist/calcite/p-57555baa.system.entry.js +5 -0
  43. package/dist/calcite/{p-90a47591.entry.js → p-59222393.entry.js} +1 -1
  44. package/dist/calcite/{p-940d168f.entry.js → p-5cce1e8b.entry.js} +1 -1
  45. package/dist/calcite/{p-a7a4f22d.entry.js → p-5d9fe852.entry.js} +1 -1
  46. package/dist/calcite/p-5dcd2088.system.entry.js +5 -0
  47. package/dist/calcite/p-6173cf08.system.js +5 -0
  48. package/dist/calcite/{p-5c849dc8.entry.js → p-66ca7309.entry.js} +1 -1
  49. package/dist/calcite/{p-38b6901a.system.entry.js → p-6c453fd0.system.entry.js} +1 -1
  50. package/dist/calcite/p-6cd93563.entry.js +5 -0
  51. package/dist/calcite/p-6dbcd698.system.entry.js +5 -0
  52. package/dist/calcite/p-6e0fd056.entry.js +5 -0
  53. package/dist/calcite/p-6f0c4739.system.entry.js +5 -0
  54. package/dist/calcite/p-6fb2082b.entry.js +5 -0
  55. package/dist/calcite/p-70566b09.system.entry.js +5 -0
  56. package/dist/calcite/p-74365957.system.entry.js +5 -0
  57. package/dist/calcite/p-748c198c.system.entry.js +5 -0
  58. package/dist/calcite/p-765d6b57.system.entry.js +5 -0
  59. package/dist/calcite/{p-39b7addd.entry.js → p-770c1d6b.entry.js} +1 -1
  60. package/dist/calcite/p-7a2142c2.system.entry.js +5 -0
  61. package/dist/calcite/p-7a28e833.system.entry.js +5 -0
  62. package/dist/calcite/p-7bd71ff0.system.entry.js +5 -0
  63. package/dist/calcite/{p-9db39693.entry.js → p-805c94b9.entry.js} +1 -1
  64. package/dist/calcite/p-83d41684.entry.js +5 -0
  65. package/dist/calcite/{p-d0c41b96.system.entry.js → p-84738edb.system.entry.js} +1 -1
  66. package/dist/calcite/p-869eb8f9.entry.js +5 -0
  67. package/dist/calcite/{p-d92c66b3.entry.js → p-8e1945e3.entry.js} +1 -1
  68. package/dist/calcite/p-90f7c357.system.entry.js +5 -0
  69. package/dist/calcite/p-917e53a2.system.entry.js +5 -0
  70. package/dist/calcite/p-92ad7d95.entry.js +5 -0
  71. package/dist/calcite/p-94398466.system.entry.js +5 -0
  72. package/dist/calcite/p-99d32fc3.system.js +5 -0
  73. package/dist/calcite/{p-7975c2f9.entry.js → p-9acd0a18.entry.js} +1 -1
  74. package/dist/calcite/p-a07e9c46.system.entry.js +5 -0
  75. package/dist/calcite/p-a348ffb1.system.entry.js +5 -0
  76. package/dist/calcite/p-a57bd5e6.entry.js +5 -0
  77. package/dist/calcite/p-a76aa7d2.system.entry.js +5 -0
  78. package/dist/calcite/{p-71da0971.entry.js → p-a7f8b343.entry.js} +1 -1
  79. package/dist/calcite/p-a88d8075.entry.js +5 -0
  80. package/dist/calcite/p-ac234622.system.entry.js +5 -0
  81. package/dist/calcite/p-ad81283a.entry.js +5 -0
  82. package/dist/calcite/p-ae224016.system.entry.js +5 -0
  83. package/dist/calcite/p-afa72097.system.entry.js +5 -0
  84. package/dist/calcite/p-b01c3a89.system.entry.js +5 -0
  85. package/dist/calcite/{p-d1c47e18.system.entry.js → p-b1a43a5f.system.entry.js} +1 -1
  86. package/dist/calcite/p-b55fa7bc.entry.js +5 -0
  87. package/dist/calcite/p-b5bb4618.system.entry.js +5 -0
  88. package/dist/calcite/p-b63dfa63.entry.js +5 -0
  89. package/dist/calcite/{p-aac447a2.entry.js → p-bc85a791.entry.js} +1 -1
  90. package/dist/calcite/{p-e284b5b8.entry.js → p-bccf787f.entry.js} +1 -1
  91. package/dist/calcite/{p-ffba00b9.entry.js → p-bfd9f64a.entry.js} +1 -1
  92. package/dist/calcite/p-c077d664.entry.js +5 -0
  93. package/dist/calcite/{p-dfc1ecd1.system.entry.js → p-c3124245.system.entry.js} +1 -1
  94. package/dist/calcite/{p-1ddaef77.entry.js → p-c5761666.entry.js} +1 -1
  95. package/dist/calcite/p-c7b8a068.entry.js +5 -0
  96. package/dist/calcite/p-cc63f8f9.entry.js +5 -0
  97. package/dist/calcite/p-cd54c8d0.system.entry.js +5 -0
  98. package/dist/calcite/{p-d1110e46.entry.js → p-cfcb2161.entry.js} +1 -1
  99. package/dist/calcite/p-d00fbd1e.entry.js +5 -0
  100. package/dist/calcite/{p-834ec82a.system.js → p-d4bafc77.system.js} +1 -1
  101. package/dist/calcite/p-d5b221b1.entry.js +5 -0
  102. package/dist/calcite/p-d6bfa9b1.entry.js +5 -0
  103. package/dist/calcite/{p-c157e22e.entry.js → p-d6e8d643.entry.js} +1 -1
  104. package/dist/calcite/p-d8653ba3.entry.js +5 -0
  105. package/dist/calcite/{p-4163c0ae.system.entry.js → p-dba7c714.system.entry.js} +1 -1
  106. package/dist/calcite/p-dd9f2e61.js +5 -0
  107. package/dist/calcite/p-e2094dff.system.entry.js +5 -0
  108. package/dist/calcite/p-e426746f.system.entry.js +5 -0
  109. package/dist/calcite/p-e5130ebf.system.entry.js +5 -0
  110. package/dist/calcite/p-e62edb4d.system.entry.js +5 -0
  111. package/dist/calcite/{p-19aaba9d.entry.js → p-e63f0806.entry.js} +1 -1
  112. package/dist/calcite/p-e7103edc.entry.js +5 -0
  113. package/dist/calcite/p-e8270c76.system.entry.js +5 -0
  114. package/dist/calcite/p-eca26cba.system.entry.js +5 -0
  115. package/dist/calcite/p-ef6f8370.entry.js +5 -0
  116. package/dist/calcite/{p-a6da572a.system.entry.js → p-f26cad61.system.entry.js} +1 -1
  117. package/dist/calcite/p-f3d02833.js +5 -0
  118. package/dist/calcite/{p-35fb0117.entry.js → p-f5739197.entry.js} +1 -1
  119. package/dist/calcite/p-f63b9411.entry.js +5 -0
  120. package/dist/calcite/p-f70f5521.system.entry.js +5 -0
  121. package/dist/calcite/{p-f87dc9d4.system.entry.js → p-f763b1e7.system.entry.js} +1 -1
  122. package/dist/calcite/{p-3197e276.system.entry.js → p-f8c99ef3.system.entry.js} +1 -1
  123. package/dist/calcite/{p-f492b6f8.entry.js → p-f8f128a2.entry.js} +1 -1
  124. package/dist/calcite/{p-66f9478e.entry.js → p-f95fb85f.entry.js} +1 -1
  125. package/dist/calcite/{p-dcaf145a.entry.js → p-fc3c1e91.entry.js} +1 -1
  126. package/dist/calcite/p-fcde21ce.system.js +5 -0
  127. package/dist/calcite/p-fdd3ea5e.entry.js +5 -0
  128. package/dist/calcite/{p-394ad62d.entry.js → p-fe3fff79.entry.js} +1 -1
  129. package/dist/calcite/p-fee9511c.system.entry.js +5 -0
  130. package/dist/cjs/calcite-accordion_2.cjs.entry.js +2 -2
  131. package/dist/cjs/calcite-action-bar.cjs.entry.js +1 -1
  132. package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
  133. package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
  134. package/dist/cjs/calcite-action-pad.cjs.entry.js +1 -1
  135. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  136. package/dist/cjs/calcite-alert.cjs.entry.js +7 -4
  137. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  138. package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
  139. package/dist/cjs/calcite-button.cjs.entry.js +1 -1
  140. package/dist/cjs/calcite-card.cjs.entry.js +1 -1
  141. package/dist/cjs/calcite-checkbox.cjs.entry.js +1 -1
  142. package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
  143. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +3 -3
  144. package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
  145. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +7 -7
  146. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
  147. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  148. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  149. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  150. package/dist/cjs/calcite-graph_2.cjs.entry.js +2 -2
  151. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  153. package/dist/cjs/calcite-inline-editable.cjs.entry.js +1 -1
  154. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +5 -5
  155. package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
  156. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +6 -6
  157. package/dist/cjs/calcite-input.cjs.entry.js +11 -3
  158. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  159. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  160. package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
  161. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
  164. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
  165. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
  167. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
  168. package/dist/cjs/calcite-popover_2.cjs.entry.js +3 -3
  169. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  170. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  171. package/dist/cjs/calcite-radio-button.cjs.entry.js +1 -1
  172. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
  173. package/dist/cjs/calcite-rating.cjs.entry.js +1 -1
  174. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  175. package/dist/cjs/calcite-shell_3.cjs.entry.js +3 -3
  176. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  177. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  178. package/dist/cjs/calcite-stepper_2.cjs.entry.js +2 -2
  179. package/dist/cjs/calcite-switch.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-tab_4.cjs.entry.js +4 -4
  181. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +2 -2
  182. package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
  183. package/dist/cjs/calcite-tip_3.cjs.entry.js +3 -3
  184. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
  185. package/dist/cjs/calcite-tree_2.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
  187. package/dist/cjs/calcite.cjs.js +2 -2
  188. package/dist/cjs/loader.cjs.js +2 -2
  189. package/dist/cjs/locale-b9b153dd.js +127 -0
  190. package/dist/cjs/number-e813e801.js +84 -0
  191. package/dist/cjs/{popper-ccef76e3.js → popper-adfdc032.js} +28 -9
  192. package/dist/cjs/{resources-d3c42dc4.js → resources-c524c005.js} +1 -1
  193. package/dist/collection/collection-manifest.json +1 -1
  194. package/dist/collection/components/calcite-accordion/calcite-accordion.css +1 -1
  195. package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +1 -1
  196. package/dist/collection/components/calcite-action/calcite-action.css +1 -1
  197. package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +1 -1
  198. package/dist/collection/components/calcite-action-group/calcite-action-group.css +1 -1
  199. package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +1 -1
  200. package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +1 -1
  201. package/dist/collection/components/calcite-alert/calcite-alert.css +29 -7
  202. package/dist/collection/components/calcite-alert/calcite-alert.js +30 -4
  203. package/dist/collection/components/calcite-avatar/calcite-avatar.css +1 -1
  204. package/dist/collection/components/calcite-block/calcite-block.css +1 -1
  205. package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -1
  206. package/dist/collection/components/calcite-button/calcite-button.css +1 -1
  207. package/dist/collection/components/calcite-card/calcite-card.css +1 -1
  208. package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +2 -2
  209. package/dist/collection/components/calcite-chip/calcite-chip.css +1 -1
  210. package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +1 -1
  211. package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +1 -1
  212. package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +1 -1
  213. package/dist/collection/components/calcite-combobox/calcite-combobox.css +1 -1
  214. package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +1 -1
  215. package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +1 -1
  216. package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +1 -1
  217. package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
  218. package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
  219. package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
  220. package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +1 -1
  221. package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +1 -1
  222. package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +1 -1
  223. package/dist/collection/components/calcite-fab/calcite-fab.css +1 -1
  224. package/dist/collection/components/calcite-filter/calcite-filter.css +3 -3
  225. package/dist/collection/components/calcite-flow/calcite-flow.css +3 -3
  226. package/dist/collection/components/calcite-graph/calcite-graph.css +1 -1
  227. package/dist/collection/components/calcite-handle/calcite-handle.css +1 -1
  228. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign16.json +1 -0
  229. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign24.json +1 -0
  230. package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign32.json +1 -0
  231. package/dist/collection/components/calcite-icon/calcite-icon.css +1 -1
  232. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +1 -1
  233. package/dist/collection/components/calcite-input/calcite-input.css +2 -2
  234. package/dist/collection/components/calcite-input/calcite-input.js +8 -0
  235. package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +1 -1
  236. package/dist/collection/components/calcite-input-message/calcite-input-message.css +1 -1
  237. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +1 -1
  238. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +2 -2
  239. package/dist/collection/components/calcite-label/calcite-label.css +1 -1
  240. package/dist/collection/components/calcite-link/calcite-link.css +1 -1
  241. package/dist/collection/components/calcite-list/calcite-list.css +1 -1
  242. package/dist/collection/components/calcite-list-item/calcite-list-item.css +3 -1
  243. package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +1 -1
  244. package/dist/collection/components/calcite-loader/calcite-loader.css +1 -1
  245. package/dist/collection/components/calcite-modal/calcite-modal.css +1 -1
  246. package/dist/collection/components/calcite-notice/calcite-notice.css +2 -2
  247. package/dist/collection/components/calcite-option/calcite-option.css +1 -1
  248. package/dist/collection/components/calcite-option-group/calcite-option-group.css +1 -1
  249. package/dist/collection/components/calcite-pagination/calcite-pagination.css +1 -1
  250. package/dist/collection/components/calcite-panel/calcite-panel.css +2 -2
  251. package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +1 -1
  252. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +1 -1
  253. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +4 -4
  254. package/dist/collection/components/calcite-popover/calcite-popover.css +1 -1
  255. package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +1 -1
  256. package/dist/collection/components/calcite-progress/calcite-progress.css +1 -1
  257. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +1 -1
  258. package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +1 -1
  259. package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +1 -1
  260. package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -1
  261. package/dist/collection/components/calcite-rating/calcite-rating.css +3 -3
  262. package/dist/collection/components/calcite-scrim/calcite-scrim.css +1 -1
  263. package/dist/collection/components/calcite-select/calcite-select.css +1 -1
  264. package/dist/collection/components/calcite-shell/calcite-shell.css +1 -1
  265. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +1 -1
  266. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +2 -2
  267. package/dist/collection/components/calcite-slider/calcite-slider.css +1 -1
  268. package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +1 -1
  269. package/dist/collection/components/calcite-split-button/calcite-split-button.css +1 -1
  270. package/dist/collection/components/calcite-stepper/calcite-stepper.css +1 -1
  271. package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +1 -1
  272. package/dist/collection/components/calcite-switch/calcite-switch.css +1 -1
  273. package/dist/collection/components/calcite-tab/calcite-tab.css +1 -1
  274. package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +1 -1
  275. package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +1 -1
  276. package/dist/collection/components/calcite-tabs/calcite-tabs.css +1 -1
  277. package/dist/collection/components/calcite-tile/calcite-tile.css +1 -1
  278. package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +2 -2
  279. package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +1 -1
  280. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +1 -1
  281. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -4
  282. package/dist/collection/components/calcite-tip/calcite-tip.css +1 -1
  283. package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +1 -1
  284. package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +1 -1
  285. package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +1 -1
  286. package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +1 -1
  287. package/dist/collection/components/calcite-tree/calcite-tree.css +1 -1
  288. package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +1 -1
  289. package/dist/collection/components/calcite-value-list/calcite-value-list.css +1 -1
  290. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +2 -2
  291. package/dist/collection/utils/locale.js +42 -38
  292. package/dist/collection/utils/number.js +41 -23
  293. package/dist/components/calcite-accordion-item.js +1 -1
  294. package/dist/components/calcite-accordion.js +1 -1
  295. package/dist/components/calcite-action-bar.js +1 -1
  296. package/dist/components/calcite-action-group2.js +1 -1
  297. package/dist/components/calcite-action-menu2.js +1 -1
  298. package/dist/components/calcite-action-pad.js +1 -1
  299. package/dist/components/calcite-action2.js +1 -1
  300. package/dist/components/calcite-alert.js +8 -4
  301. package/dist/components/calcite-avatar.js +1 -1
  302. package/dist/components/calcite-block-section.js +1 -1
  303. package/dist/components/calcite-block.js +1 -1
  304. package/dist/components/calcite-button2.js +1 -1
  305. package/dist/components/calcite-card.js +1 -1
  306. package/dist/components/calcite-checkbox2.js +1 -1
  307. package/dist/components/calcite-chip2.js +1 -1
  308. package/dist/components/calcite-color-picker-hex-input2.js +1 -1
  309. package/dist/components/calcite-color-picker-swatch2.js +1 -1
  310. package/dist/components/calcite-color-picker.js +1 -1
  311. package/dist/components/calcite-combobox-item-group.js +1 -1
  312. package/dist/components/calcite-combobox-item.js +1 -1
  313. package/dist/components/calcite-combobox.js +1 -1
  314. package/dist/components/calcite-date-picker-day2.js +1 -1
  315. package/dist/components/calcite-date-picker-month-header2.js +1 -1
  316. package/dist/components/calcite-date-picker-month2.js +1 -1
  317. package/dist/components/calcite-date-picker2.js +1 -1
  318. package/dist/components/calcite-dropdown-group.js +1 -1
  319. package/dist/components/calcite-dropdown-item.js +1 -1
  320. package/dist/components/calcite-dropdown2.js +1 -1
  321. package/dist/components/calcite-fab.js +1 -1
  322. package/dist/components/calcite-filter2.js +1 -1
  323. package/dist/components/calcite-flow.js +1 -1
  324. package/dist/components/calcite-graph2.js +1 -1
  325. package/dist/components/calcite-handle2.js +1 -1
  326. package/dist/components/calcite-icon2.js +1 -1
  327. package/dist/components/calcite-inline-editable.js +1 -1
  328. package/dist/components/calcite-input-date-picker.js +1 -1
  329. package/dist/components/calcite-input-message.js +1 -1
  330. package/dist/components/calcite-input-time-picker.js +2 -2
  331. package/dist/components/calcite-input2.js +9 -1
  332. package/dist/components/calcite-label2.js +1 -1
  333. package/dist/components/calcite-link2.js +1 -1
  334. package/dist/components/calcite-list-item-group.js +1 -1
  335. package/dist/components/calcite-list-item.js +1 -1
  336. package/dist/components/calcite-list.js +1 -1
  337. package/dist/components/calcite-loader2.js +1 -1
  338. package/dist/components/calcite-modal.js +1 -1
  339. package/dist/components/calcite-notice.js +1 -1
  340. package/dist/components/calcite-option-group.js +1 -1
  341. package/dist/components/calcite-option.js +1 -1
  342. package/dist/components/calcite-pagination.js +1 -1
  343. package/dist/components/calcite-panel.js +1 -1
  344. package/dist/components/calcite-pick-list-group.js +1 -1
  345. package/dist/components/calcite-pick-list-item2.js +1 -1
  346. package/dist/components/calcite-pick-list.js +1 -1
  347. package/dist/components/calcite-popover-manager.js +1 -1
  348. package/dist/components/calcite-popover2.js +1 -1
  349. package/dist/components/calcite-progress2.js +1 -1
  350. package/dist/components/calcite-radio-button-group.js +1 -1
  351. package/dist/components/calcite-radio-button.js +1 -1
  352. package/dist/components/calcite-radio-group-item.js +1 -1
  353. package/dist/components/calcite-radio-group.js +1 -1
  354. package/dist/components/calcite-rating.js +1 -1
  355. package/dist/components/calcite-scrim2.js +1 -1
  356. package/dist/components/calcite-select.js +1 -1
  357. package/dist/components/calcite-shell-center-row.js +1 -1
  358. package/dist/components/calcite-shell-panel.js +1 -1
  359. package/dist/components/calcite-shell.js +1 -1
  360. package/dist/components/calcite-slider.js +1 -1
  361. package/dist/components/calcite-sortable-list.js +1 -1
  362. package/dist/components/calcite-split-button.js +1 -1
  363. package/dist/components/calcite-stepper-item.js +1 -1
  364. package/dist/components/calcite-stepper.js +1 -1
  365. package/dist/components/calcite-switch2.js +1 -1
  366. package/dist/components/calcite-tab-nav2.js +1 -1
  367. package/dist/components/calcite-tab-title2.js +1 -1
  368. package/dist/components/calcite-tab2.js +1 -1
  369. package/dist/components/calcite-tabs2.js +1 -1
  370. package/dist/components/calcite-tile-select-group.js +1 -1
  371. package/dist/components/calcite-tile-select.js +1 -1
  372. package/dist/components/calcite-tile2.js +1 -1
  373. package/dist/components/calcite-time-picker2.js +4 -4
  374. package/dist/components/calcite-tip-group.js +1 -1
  375. package/dist/components/calcite-tip-manager.js +1 -1
  376. package/dist/components/calcite-tip.js +1 -1
  377. package/dist/components/calcite-tooltip-manager2.js +1 -1
  378. package/dist/components/calcite-tooltip.js +1 -1
  379. package/dist/components/calcite-tree-item.js +1 -1
  380. package/dist/components/calcite-tree.js +1 -1
  381. package/dist/components/calcite-value-list-item.js +1 -1
  382. package/dist/components/calcite-value-list.js +1 -1
  383. package/dist/components/locale.js +42 -38
  384. package/dist/components/number.js +42 -24
  385. package/dist/components/popper.js +28 -9
  386. package/dist/custom-elements/index.js +218 -166
  387. package/dist/esm/calcite-accordion_2.entry.js +2 -2
  388. package/dist/esm/calcite-action-bar.entry.js +1 -1
  389. package/dist/esm/calcite-action-group.entry.js +1 -1
  390. package/dist/esm/calcite-action-menu.entry.js +1 -1
  391. package/dist/esm/calcite-action-pad.entry.js +1 -1
  392. package/dist/esm/calcite-action.entry.js +1 -1
  393. package/dist/esm/calcite-alert.entry.js +7 -4
  394. package/dist/esm/calcite-avatar.entry.js +1 -1
  395. package/dist/esm/calcite-block_2.entry.js +2 -2
  396. package/dist/esm/calcite-button.entry.js +1 -1
  397. package/dist/esm/calcite-card.entry.js +1 -1
  398. package/dist/esm/calcite-checkbox.entry.js +1 -1
  399. package/dist/esm/calcite-chip.entry.js +1 -1
  400. package/dist/esm/calcite-color-picker_3.entry.js +3 -3
  401. package/dist/esm/calcite-combobox_3.entry.js +4 -4
  402. package/dist/esm/calcite-date-picker_4.entry.js +7 -7
  403. package/dist/esm/calcite-dropdown_3.entry.js +4 -4
  404. package/dist/esm/calcite-fab.entry.js +1 -1
  405. package/dist/esm/calcite-filter.entry.js +1 -1
  406. package/dist/esm/calcite-flow.entry.js +1 -1
  407. package/dist/esm/calcite-graph_2.entry.js +2 -2
  408. package/dist/esm/calcite-handle.entry.js +1 -1
  409. package/dist/esm/calcite-icon.entry.js +1 -1
  410. package/dist/esm/calcite-inline-editable.entry.js +1 -1
  411. package/dist/esm/calcite-input-date-picker.entry.js +5 -5
  412. package/dist/esm/calcite-input-message.entry.js +1 -1
  413. package/dist/esm/calcite-input-time-picker_2.entry.js +6 -6
  414. package/dist/esm/calcite-input.entry.js +11 -3
  415. package/dist/esm/calcite-label.entry.js +1 -1
  416. package/dist/esm/calcite-link.entry.js +1 -1
  417. package/dist/esm/calcite-list_3.entry.js +3 -3
  418. package/dist/esm/calcite-loader.entry.js +1 -1
  419. package/dist/esm/calcite-modal.entry.js +1 -1
  420. package/dist/esm/calcite-notice.entry.js +1 -1
  421. package/dist/esm/calcite-option_3.entry.js +3 -3
  422. package/dist/esm/calcite-pagination.entry.js +1 -1
  423. package/dist/esm/calcite-panel.entry.js +1 -1
  424. package/dist/esm/calcite-pick-list_3.entry.js +3 -3
  425. package/dist/esm/calcite-popover_2.entry.js +3 -3
  426. package/dist/esm/calcite-progress.entry.js +1 -1
  427. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  428. package/dist/esm/calcite-radio-button.entry.js +1 -1
  429. package/dist/esm/calcite-radio-group_2.entry.js +2 -2
  430. package/dist/esm/calcite-rating.entry.js +1 -1
  431. package/dist/esm/calcite-scrim.entry.js +1 -1
  432. package/dist/esm/calcite-shell_3.entry.js +3 -3
  433. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  434. package/dist/esm/calcite-split-button.entry.js +1 -1
  435. package/dist/esm/calcite-stepper_2.entry.js +2 -2
  436. package/dist/esm/calcite-switch.entry.js +1 -1
  437. package/dist/esm/calcite-tab_4.entry.js +4 -4
  438. package/dist/esm/calcite-tile-select_2.entry.js +2 -2
  439. package/dist/esm/calcite-tile.entry.js +1 -1
  440. package/dist/esm/calcite-tip_3.entry.js +3 -3
  441. package/dist/esm/calcite-tooltip_2.entry.js +3 -3
  442. package/dist/esm/calcite-tree_2.entry.js +2 -2
  443. package/dist/esm/calcite-value-list_2.entry.js +2 -2
  444. package/dist/esm/calcite.js +2 -2
  445. package/dist/esm/loader.js +2 -2
  446. package/dist/esm/locale-1b48f64f.js +122 -0
  447. package/dist/esm/number-8779395f.js +76 -0
  448. package/dist/esm/{popper-405efdae.js → popper-1814b3c1.js} +28 -9
  449. package/dist/esm/{resources-421133b2.js → resources-74c807b4.js} +1 -1
  450. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  451. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  452. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  453. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  454. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  455. package/dist/esm-es5/calcite-action.entry.js +1 -1
  456. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  457. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  458. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  459. package/dist/esm-es5/calcite-button.entry.js +1 -1
  460. package/dist/esm-es5/calcite-card.entry.js +1 -1
  461. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  462. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  463. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  464. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  465. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  466. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  467. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  468. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  469. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  470. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  471. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  472. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  473. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  474. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  475. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  476. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  477. package/dist/esm-es5/calcite-input.entry.js +1 -1
  478. package/dist/esm-es5/calcite-label.entry.js +1 -1
  479. package/dist/esm-es5/calcite-link.entry.js +1 -1
  480. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  481. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  482. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  483. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  484. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  485. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  486. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  487. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  488. package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
  489. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  490. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  491. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  492. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  493. package/dist/esm-es5/calcite-rating.entry.js +2 -2
  494. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  495. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  496. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  497. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  498. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  499. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  500. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  501. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  502. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  503. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  504. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  505. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  506. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  507. package/dist/esm-es5/calcite.js +1 -1
  508. package/dist/esm-es5/loader.js +1 -1
  509. package/dist/esm-es5/locale-1b48f64f.js +5 -0
  510. package/dist/esm-es5/number-8779395f.js +5 -0
  511. package/dist/esm-es5/popper-1814b3c1.js +5 -0
  512. package/dist/esm-es5/{resources-421133b2.js → resources-74c807b4.js} +1 -1
  513. package/dist/extras/docs-json.json +44 -6
  514. package/dist/types/components/calcite-alert/calcite-alert.d.ts +4 -2
  515. package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
  516. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +1 -1
  517. package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +2 -2
  518. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +2 -2
  519. package/dist/types/components.d.ts +17 -9
  520. package/dist/types/stencil-public-runtime.d.ts +6 -4
  521. package/dist/types/utils/number.d.ts +2 -1
  522. package/hydrate/index.js +219 -166
  523. package/package.json +15 -15
  524. package/readme.md +2 -2
  525. package/dist/calcite/p-004809cc.entry.js +0 -5
  526. package/dist/calcite/p-05a069ad.system.entry.js +0 -5
  527. package/dist/calcite/p-05afd204.system.entry.js +0 -5
  528. package/dist/calcite/p-05edaadf.system.entry.js +0 -5
  529. package/dist/calcite/p-070ce87b.system.entry.js +0 -5
  530. package/dist/calcite/p-0a65fbd6.system.entry.js +0 -5
  531. package/dist/calcite/p-0dcf351d.system.entry.js +0 -5
  532. package/dist/calcite/p-102916c7.system.entry.js +0 -5
  533. package/dist/calcite/p-11b9e4bb.system.js +0 -5
  534. package/dist/calcite/p-12c1a605.system.entry.js +0 -5
  535. package/dist/calcite/p-1529e188.entry.js +0 -5
  536. package/dist/calcite/p-18c4af8f.system.js +0 -5
  537. package/dist/calcite/p-18d9a261.system.js +0 -5
  538. package/dist/calcite/p-1a5bd3cd.system.entry.js +0 -5
  539. package/dist/calcite/p-1e6a3265.entry.js +0 -5
  540. package/dist/calcite/p-20f933ec.system.entry.js +0 -5
  541. package/dist/calcite/p-21aa0028.entry.js +0 -5
  542. package/dist/calcite/p-2c0832d4.system.entry.js +0 -5
  543. package/dist/calcite/p-2f14b4cb.entry.js +0 -5
  544. package/dist/calcite/p-2f5787f7.entry.js +0 -5
  545. package/dist/calcite/p-30a5d7eb.system.entry.js +0 -5
  546. package/dist/calcite/p-3c42905b.system.entry.js +0 -5
  547. package/dist/calcite/p-3ed7c8b9.system.entry.js +0 -5
  548. package/dist/calcite/p-4308ccda.system.entry.js +0 -5
  549. package/dist/calcite/p-462f38ea.entry.js +0 -5
  550. package/dist/calcite/p-463b50b4.system.entry.js +0 -5
  551. package/dist/calcite/p-46e69c5d.system.entry.js +0 -5
  552. package/dist/calcite/p-4c902a9d.entry.js +0 -5
  553. package/dist/calcite/p-4cf5bdd0.entry.js +0 -5
  554. package/dist/calcite/p-4f1fd456.system.entry.js +0 -5
  555. package/dist/calcite/p-5ebc6442.system.entry.js +0 -5
  556. package/dist/calcite/p-5f949b17.system.entry.js +0 -5
  557. package/dist/calcite/p-6472926f.entry.js +0 -5
  558. package/dist/calcite/p-64b2b37a.system.entry.js +0 -5
  559. package/dist/calcite/p-6a06c39d.entry.js +0 -5
  560. package/dist/calcite/p-6d0d9bba.js +0 -5
  561. package/dist/calcite/p-707b6b8a.system.entry.js +0 -5
  562. package/dist/calcite/p-7958e723.entry.js +0 -5
  563. package/dist/calcite/p-7b709610.entry.js +0 -5
  564. package/dist/calcite/p-81fecc87.system.entry.js +0 -5
  565. package/dist/calcite/p-8396a2d2.js +0 -5
  566. package/dist/calcite/p-88143ee3.system.entry.js +0 -5
  567. package/dist/calcite/p-8abe0816.system.entry.js +0 -5
  568. package/dist/calcite/p-8ac0823e.system.entry.js +0 -5
  569. package/dist/calcite/p-8e0dff09.entry.js +0 -5
  570. package/dist/calcite/p-8ecae737.system.entry.js +0 -5
  571. package/dist/calcite/p-910e1235.system.entry.js +0 -5
  572. package/dist/calcite/p-91300144.js +0 -5
  573. package/dist/calcite/p-9348fb7a.system.entry.js +0 -5
  574. package/dist/calcite/p-9b5bb8ad.system.entry.js +0 -5
  575. package/dist/calcite/p-a391ef7c.entry.js +0 -5
  576. package/dist/calcite/p-a84c50db.system.entry.js +0 -5
  577. package/dist/calcite/p-b000a562.system.entry.js +0 -5
  578. package/dist/calcite/p-b343bc29.entry.js +0 -5
  579. package/dist/calcite/p-b485b5c0.entry.js +0 -5
  580. package/dist/calcite/p-b5dcec87.system.entry.js +0 -5
  581. package/dist/calcite/p-bd70cb32.entry.js +0 -5
  582. package/dist/calcite/p-be4dec64.system.entry.js +0 -5
  583. package/dist/calcite/p-c33bdeaa.system.entry.js +0 -5
  584. package/dist/calcite/p-c3fc696a.system.entry.js +0 -5
  585. package/dist/calcite/p-c6e950ce.system.entry.js +0 -5
  586. package/dist/calcite/p-cd2a194c.entry.js +0 -5
  587. package/dist/calcite/p-cdf1d141.system.entry.js +0 -5
  588. package/dist/calcite/p-cf9389d2.entry.js +0 -5
  589. package/dist/calcite/p-d1d02a92.entry.js +0 -5
  590. package/dist/calcite/p-d6d92f2c.system.entry.js +0 -5
  591. package/dist/calcite/p-d791b8ed.system.entry.js +0 -5
  592. package/dist/calcite/p-db18b0b9.system.entry.js +0 -5
  593. package/dist/calcite/p-dbafbe0a.entry.js +0 -5
  594. package/dist/calcite/p-dd4d55d4.system.entry.js +0 -5
  595. package/dist/calcite/p-e33346fd.system.entry.js +0 -5
  596. package/dist/calcite/p-e592e359.system.entry.js +0 -5
  597. package/dist/calcite/p-e9197eeb.entry.js +0 -5
  598. package/dist/calcite/p-ea59c57b.entry.js +0 -5
  599. package/dist/calcite/p-ed64efc7.entry.js +0 -5
  600. package/dist/calcite/p-f45f88db.entry.js +0 -5
  601. package/dist/calcite/p-f69c50e1.entry.js +0 -5
  602. package/dist/calcite/p-fa872404.system.entry.js +0 -5
  603. package/dist/calcite/p-fc57d215.entry.js +0 -5
  604. package/dist/calcite/p-fc998713.system.js +0 -5
  605. package/dist/calcite/p-fdba68b7.entry.js +0 -5
  606. package/dist/calcite/p-fe5c3f36.system.entry.js +0 -5
  607. package/dist/calcite/p-ffaaffcc.system.entry.js +0 -5
  608. package/dist/cjs/locale-ccfa66f6.js +0 -123
  609. package/dist/cjs/number-f57fd111.js +0 -65
  610. package/dist/esm/locale-86b789f9.js +0 -118
  611. package/dist/esm/number-eb92427e.js +0 -58
  612. package/dist/esm-es5/locale-86b789f9.js +0 -5
  613. package/dist/esm-es5/number-eb92427e.js +0 -5
  614. package/dist/esm-es5/popper-405efdae.js +0 -5
@@ -14,21 +14,23 @@ function parseNumberString(numberString) {
14
14
  if (!numberString || !stringContainsNumbers(numberString)) {
15
15
  return "";
16
16
  }
17
- let containsDecimal = false;
18
- const result = numberString
19
- .split("")
20
- .filter((value, i) => {
21
- if (value.match(/\./g) && !containsDecimal) {
22
- containsDecimal = true;
23
- return true;
24
- }
25
- if (value.match(/\-/g) && i === 0) {
26
- return true;
27
- }
28
- return numberKeys.includes(value);
29
- })
30
- .reduce((string, part) => string + part);
31
- return isValidNumber(result) ? Number(result).toString() : null;
17
+ return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
18
+ let containsDecimal = false;
19
+ const result = nonExpoNumString
20
+ .split("")
21
+ .filter((value, i) => {
22
+ if (value.match(/\./g) && !containsDecimal) {
23
+ containsDecimal = true;
24
+ return true;
25
+ }
26
+ if (value.match(/\-/g) && i === 0) {
27
+ return true;
28
+ }
29
+ return numberKeys.includes(value);
30
+ })
31
+ .reduce((string, part) => string + part);
32
+ return isValidNumber(result) ? Number(result).toString() : null;
33
+ });
32
34
  }
33
35
  function sanitizeDecimalString(decimalString) {
34
36
  const decimalAtEndOfStringButNotStart = /(?!^\.)\.$/;
@@ -42,17 +44,33 @@ function sanitizeLeadingZeroString(zeroString) {
42
44
  const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
43
45
  return zeroString.replace(allLeadingZerosOptionallyNegative, "$1");
44
46
  }
45
- function sanitizeNumberString(value) {
46
- const sanitizedValue = sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(value)));
47
- const isNegativeDecimalOnlyZeros = /^-\b0\b\.?0*$/;
48
- return isValidNumber(sanitizedValue)
49
- ? isNegativeDecimalOnlyZeros.test(sanitizedValue)
50
- ? sanitizedValue
51
- : Number(sanitizedValue).toString()
52
- : value;
47
+ function sanitizeNumberString(numberString) {
48
+ return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
49
+ const sanitizedValue = sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(nonExpoNumString)));
50
+ const isNegativeDecimalOnlyZeros = /^-\b0\b\.?0*$/;
51
+ return isValidNumber(sanitizedValue)
52
+ ? isNegativeDecimalOnlyZeros.test(sanitizedValue)
53
+ ? sanitizedValue
54
+ : Number(sanitizedValue).toString()
55
+ : nonExpoNumString;
56
+ });
57
+ }
58
+ function sanitizeExponentialNumberString(numberString, func) {
59
+ if (!numberString) {
60
+ return numberString;
61
+ }
62
+ const firstE = numberString.toLowerCase().indexOf("e") + 1;
63
+ return numberString
64
+ .replace(/[eE]*$/g, "")
65
+ .substring(0, firstE)
66
+ .concat(numberString.slice(firstE).replace(/[eE]/g, ""))
67
+ .split(/[eE]/)
68
+ .map((section, i) => (i === 1 ? func(section.replace(/\./g, "")) : func(section)))
69
+ .join("e")
70
+ .replace(/^e/, "1e");
53
71
  }
54
72
  function stringContainsNumbers(string) {
55
73
  return numberKeys.some((number) => string.includes(number));
56
74
  }
57
75
 
58
- export { sanitizeDecimalString as a, isActivationKey as b, isValidNumber as i, numberKeys as n, parseNumberString as p, sanitizeNumberString as s };
76
+ export { sanitizeExponentialNumberString as a, sanitizeDecimalString as b, isActivationKey as c, isValidNumber as i, numberKeys as n, parseNumberString as p, sanitizeNumberString as s };
@@ -487,13 +487,21 @@ function mapToStyles(_ref2) {
487
487
  adaptive = _ref2.adaptive,
488
488
  roundOffsets = _ref2.roundOffsets,
489
489
  isFixed = _ref2.isFixed;
490
+ var _offsets$x = offsets.x,
491
+ x = _offsets$x === void 0 ? 0 : _offsets$x,
492
+ _offsets$y = offsets.y,
493
+ y = _offsets$y === void 0 ? 0 : _offsets$y;
490
494
 
491
- var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
492
- _ref3$x = _ref3.x,
493
- x = _ref3$x === void 0 ? 0 : _ref3$x,
494
- _ref3$y = _ref3.y,
495
- y = _ref3$y === void 0 ? 0 : _ref3$y;
495
+ var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
496
+ x: x,
497
+ y: y
498
+ }) : {
499
+ x: x,
500
+ y: y
501
+ };
496
502
 
503
+ x = _ref3.x;
504
+ y = _ref3.y;
497
505
  var hasX = offsets.hasOwnProperty('x');
498
506
  var hasY = offsets.hasOwnProperty('y');
499
507
  var sideX = left;
@@ -538,6 +546,17 @@ function mapToStyles(_ref2) {
538
546
  position: position
539
547
  }, adaptive && unsetSides);
540
548
 
549
+ var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
550
+ x: x,
551
+ y: y
552
+ }) : {
553
+ x: x,
554
+ y: y
555
+ };
556
+
557
+ x = _ref4.x;
558
+ y = _ref4.y;
559
+
541
560
  if (gpuAcceleration) {
542
561
  var _Object$assign;
543
562
 
@@ -547,9 +566,9 @@ function mapToStyles(_ref2) {
547
566
  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
548
567
  }
549
568
 
550
- function computeStyles(_ref4) {
551
- var state = _ref4.state,
552
- options = _ref4.options;
569
+ function computeStyles(_ref5) {
570
+ var state = _ref5.state,
571
+ options = _ref5.options;
553
572
  var _options$gpuAccelerat = options.gpuAcceleration,
554
573
  gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
555
574
  _options$adaptive = options.adaptive,
@@ -838,7 +857,7 @@ function getClippingParents(element) {
838
857
 
839
858
 
840
859
  return clippingParents.filter(function (clippingParent) {
841
- return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle(clippingParent).position !== 'static' : true);
860
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
842
861
  });
843
862
  } // Gets the maximum area that the element is visible in due to any number of
844
863
  // clipping parents