@esri/calcite-components 1.4.0-next.1 → 1.4.0-next.11

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 (873) hide show
  1. package/dist/calcite/assets/icon/orientedImageryLayer16.json +1 -0
  2. package/dist/calcite/assets/icon/orientedImageryLayer24.json +1 -0
  3. package/dist/calcite/assets/icon/orientedImageryLayer32.json +1 -0
  4. package/dist/calcite/assets/icon/parcelLayer16.json +1 -0
  5. package/dist/calcite/assets/icon/parcelLayer24.json +1 -0
  6. package/dist/calcite/assets/icon/parcelLayer32.json +1 -0
  7. package/dist/calcite/assets/icon/viewAssociations16.json +1 -0
  8. package/dist/calcite/assets/icon/viewAssociations24.json +1 -0
  9. package/dist/calcite/assets/icon/viewAssociations32.json +1 -0
  10. package/dist/calcite/calcite.css +1 -1
  11. package/dist/calcite/calcite.esm.js +2 -2
  12. package/dist/calcite/index.esm.js +2 -2
  13. package/dist/calcite/p-02a5a46d.entry.js +6 -0
  14. package/dist/calcite/p-0472ee23.entry.js +6 -0
  15. package/dist/calcite/p-06a32d43.entry.js +6 -0
  16. package/dist/calcite/p-07ab96dc.entry.js +6 -0
  17. package/dist/calcite/p-0af8f02b.entry.js +6 -0
  18. package/dist/calcite/{p-fdc776d9.js → p-0d985cc2.js} +3 -3
  19. package/dist/calcite/{p-3f20b4ea.js → p-0e6174e1.js} +1 -1
  20. package/dist/calcite/p-0f380c43.entry.js +6 -0
  21. package/dist/calcite/p-15cb4cb0.entry.js +6 -0
  22. package/dist/calcite/{p-7b470dfe.js → p-165ec40b.js} +1 -1
  23. package/dist/calcite/p-18520138.entry.js +6 -0
  24. package/dist/calcite/p-1b20682f.entry.js +6 -0
  25. package/dist/calcite/p-1c831629.js +6 -0
  26. package/dist/calcite/{p-40e9ea4d.js → p-1f66d449.js} +1 -1
  27. package/dist/calcite/p-2338b106.entry.js +6 -0
  28. package/dist/calcite/p-2409fb7f.entry.js +6 -0
  29. package/dist/calcite/{p-baca04ad.entry.js → p-2a3cf375.entry.js} +2 -2
  30. package/dist/calcite/p-2c4bc19b.entry.js +6 -0
  31. package/dist/calcite/{p-3fd6d05a.js → p-2da7b70b.js} +1 -1
  32. package/dist/calcite/{p-931355e8.js → p-2dc2a820.js} +1 -1
  33. package/dist/calcite/{p-dab4ee30.js → p-2dcf0c10.js} +1 -1
  34. package/dist/calcite/p-2eb00e69.js +6 -0
  35. package/dist/calcite/p-30a6bd5e.js +6 -0
  36. package/dist/calcite/{p-b74b3edc.js → p-31ec389a.js} +1 -1
  37. package/dist/calcite/p-365f3e91.entry.js +6 -0
  38. package/dist/calcite/p-38714981.entry.js +6 -0
  39. package/dist/calcite/p-38aa122c.entry.js +6 -0
  40. package/dist/calcite/p-38cd1b20.entry.js +6 -0
  41. package/dist/calcite/p-3b392b46.entry.js +6 -0
  42. package/dist/calcite/{p-160e376e.js → p-42552845.js} +1 -1
  43. package/dist/calcite/p-43699b83.entry.js +6 -0
  44. package/dist/calcite/p-4726e3f1.entry.js +6 -0
  45. package/dist/calcite/p-4d1058f4.entry.js +6 -0
  46. package/dist/calcite/p-4d496ce6.entry.js +6 -0
  47. package/dist/calcite/p-4e86e62c.entry.js +6 -0
  48. package/dist/calcite/p-4ea387a3.entry.js +6 -0
  49. package/dist/calcite/{p-00b8a8e9.js → p-529f0e4a.js} +2 -2
  50. package/dist/calcite/p-5441476c.entry.js +6 -0
  51. package/dist/calcite/p-5e275908.entry.js +6 -0
  52. package/dist/calcite/p-61b39222.entry.js +6 -0
  53. package/dist/calcite/{p-c75b8170.js → p-6315c73f.js} +2 -2
  54. package/dist/calcite/p-6736c3c0.entry.js +6 -0
  55. package/dist/calcite/{p-3048b02a.js → p-6911bf06.js} +1 -1
  56. package/dist/calcite/p-6d9c082a.entry.js +6 -0
  57. package/dist/calcite/{p-8e588bd5.js → p-6dc8f26e.js} +2 -2
  58. package/dist/calcite/p-7543c7af.entry.js +6 -0
  59. package/dist/calcite/{p-202ec7cb.js → p-75a62ff3.js} +1 -1
  60. package/dist/calcite/p-785a071f.entry.js +6 -0
  61. package/dist/calcite/{p-192c9303.js → p-7b4366b3.js} +2 -2
  62. package/dist/calcite/p-7d35466a.entry.js +6 -0
  63. package/dist/calcite/p-80701cd1.entry.js +6 -0
  64. package/dist/calcite/{p-dbfc5b2e.js → p-8420a6cf.js} +2 -2
  65. package/dist/calcite/{p-9f492399.js → p-84c1e54b.js} +2 -2
  66. package/dist/calcite/p-85cca4f2.js +6 -0
  67. package/dist/calcite/p-88dc218e.entry.js +6 -0
  68. package/dist/calcite/p-8ac3da4a.entry.js +6 -0
  69. package/dist/calcite/{p-9f47f20c.js → p-8ae8e08d.js} +1 -1
  70. package/dist/calcite/{p-929f251f.js → p-8d6e3780.js} +1 -1
  71. package/dist/calcite/p-8faa3bdc.entry.js +6 -0
  72. package/dist/calcite/{p-cb0f1e83.js → p-95093c16.js} +1 -1
  73. package/dist/calcite/p-99d4749d.entry.js +6 -0
  74. package/dist/calcite/p-9ad25ab1.entry.js +6 -0
  75. package/dist/calcite/p-a49b3c20.entry.js +6 -0
  76. package/dist/calcite/{p-cbbc6c3c.js → p-a8f92d33.js} +1 -1
  77. package/dist/calcite/p-aa2f5346.entry.js +6 -0
  78. package/dist/calcite/p-ac4a7ccf.entry.js +6 -0
  79. package/dist/calcite/{p-0d8ab202.js → p-afe946bd.js} +2 -2
  80. package/dist/calcite/p-b1058ef9.entry.js +6 -0
  81. package/dist/calcite/{p-cccdae42.js → p-b15456d2.js} +2 -2
  82. package/dist/calcite/p-b6b1831c.entry.js +6 -0
  83. package/dist/calcite/p-bb026473.entry.js +6 -0
  84. package/dist/calcite/p-c0538fc7.entry.js +6 -0
  85. package/dist/calcite/p-c448c7bd.entry.js +6 -0
  86. package/dist/calcite/p-c98aeafa.entry.js +6 -0
  87. package/dist/calcite/p-cafdc943.entry.js +6 -0
  88. package/dist/calcite/p-cfb7ba9f.js +6 -0
  89. package/dist/calcite/p-d0a4d643.entry.js +6 -0
  90. package/dist/calcite/p-d55fc7c1.entry.js +6 -0
  91. package/dist/calcite/p-d5a8044b.entry.js +6 -0
  92. package/dist/calcite/p-d7b38007.entry.js +6 -0
  93. package/dist/calcite/p-da7bb2c5.entry.js +6 -0
  94. package/dist/calcite/p-dc69e13c.entry.js +6 -0
  95. package/dist/calcite/p-df4228a1.entry.js +6 -0
  96. package/dist/calcite/p-df73eefa.entry.js +6 -0
  97. package/dist/calcite/p-e0fa4d49.entry.js +6 -0
  98. package/dist/calcite/p-e2206b46.js +6 -0
  99. package/dist/calcite/p-e22f0d26.entry.js +6 -0
  100. package/dist/calcite/p-e718d92b.entry.js +6 -0
  101. package/dist/calcite/{p-80f5c7dc.entry.js → p-e7ace0b9.entry.js} +2 -2
  102. package/dist/calcite/{p-90170ec7.js → p-ea084a60.js} +2 -2
  103. package/dist/calcite/p-ebb31c6d.entry.js +6 -0
  104. package/dist/calcite/{p-a8216142.js → p-f3a960c7.js} +1 -1
  105. package/dist/calcite/{p-52234353.js → p-f747567a.js} +2 -2
  106. package/dist/calcite/{p-a7a5335e.js → p-f9a351e1.js} +2 -2
  107. package/dist/calcite/{p-4dfe3be2.js → p-fcbd924b.js} +1 -1
  108. package/dist/calcite/p-ffb1f95e.entry.js +6 -0
  109. package/dist/cjs/{ExpandToggle-46462b73.js → ExpandToggle-47593692.js} +5 -5
  110. package/dist/cjs/{FloatingArrow-386bcf99.js → FloatingArrow-f41bbf5a.js} +2 -2
  111. package/dist/cjs/{Heading-cdc35796.js → Heading-2bd3592d.js} +2 -2
  112. package/dist/cjs/{app-globals-d6130b8b.js → app-globals-0b2c6450.js} +2 -2
  113. package/dist/cjs/{array-79e60de8.js → array-09964494.js} +1 -1
  114. package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -9
  115. package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
  116. package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
  117. package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
  118. package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
  119. package/dist/cjs/calcite-action.cjs.entry.js +12 -12
  120. package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
  121. package/dist/cjs/calcite-avatar.cjs.entry.js +10 -9
  122. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -14
  123. package/dist/cjs/calcite-button.cjs.entry.js +14 -14
  124. package/dist/cjs/calcite-card.cjs.entry.js +11 -11
  125. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  126. package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
  127. package/dist/cjs/calcite-chip.cjs.entry.js +13 -13
  128. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +585 -339
  129. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
  130. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
  131. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -15
  132. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  133. package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
  134. package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
  135. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  136. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
  137. package/dist/cjs/calcite-handle.cjs.entry.js +11 -11
  138. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  139. package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
  140. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -19
  141. package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
  142. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  143. package/dist/cjs/calcite-input-text.cjs.entry.js +14 -14
  144. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -16
  145. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  146. package/dist/cjs/calcite-label.cjs.entry.js +7 -7
  147. package/dist/cjs/calcite-link.cjs.entry.js +8 -8
  148. package/dist/cjs/calcite-list_3.cjs.entry.js +53 -43
  149. package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
  150. package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
  151. package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
  152. package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
  153. package/dist/cjs/calcite-pagination.cjs.entry.js +11 -11
  154. package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
  155. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -19
  156. package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
  157. package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
  158. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  159. package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
  160. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  161. package/dist/cjs/calcite-scrim.cjs.entry.js +10 -10
  162. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +11 -11
  163. package/dist/cjs/calcite-shell_3.cjs.entry.js +14 -17
  164. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  165. package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
  166. package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
  167. package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
  168. package/dist/cjs/calcite-tab_4.cjs.entry.js +11 -11
  169. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
  170. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
  171. package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
  172. package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
  173. package/dist/cjs/calcite-tooltip.cjs.entry.js +47 -33
  174. package/dist/cjs/calcite-tree_2.cjs.entry.js +49 -29
  175. package/dist/cjs/calcite-value-list_2.cjs.entry.js +18 -18
  176. package/dist/cjs/calcite.cjs.js +5 -5
  177. package/dist/cjs/{composed-offset-position.esm-34843aea.js → composed-offset-position.esm-da5b3cd1.js} +1 -1
  178. package/dist/cjs/{conditionalSlot-a61d43fc.js → conditionalSlot-00a45a49.js} +3 -3
  179. package/dist/cjs/{debounce-bf9bd36d.js → debounce-8b93ddf9.js} +1 -1
  180. package/dist/cjs/{dom-dd7e7078.js → dom-f9be6b76.js} +116 -17
  181. package/dist/cjs/{filter-95f477d2.js → filter-78a4abdc.js} +2 -2
  182. package/dist/cjs/{floating-ui-fab04fea.js → floating-ui-767d9fec.js} +71 -65
  183. package/dist/cjs/{focusTrapComponent-6e1488e8.js → focusTrapComponent-11458ff7.js} +2 -2
  184. package/dist/cjs/{form-a683c373.js → form-da98f535.js} +3 -3
  185. package/dist/cjs/{guid-6841fe52.js → guid-d38d5390.js} +1 -1
  186. package/dist/cjs/{index-2a60e5ec.js → index-878e6a10.js} +1 -1
  187. package/dist/cjs/index.cjs.js +2 -2
  188. package/dist/cjs/{interactive-6cff8d4e.js → interactive-5c9db1e0.js} +1 -1
  189. package/dist/cjs/{key-629ff080.js → key-19d72847.js} +1 -1
  190. package/dist/cjs/{label-7712e5a1.js → label-41cb371b.js} +2 -2
  191. package/dist/cjs/{loadable-85e1f45b.js → loadable-30ec84d4.js} +1 -1
  192. package/dist/cjs/loader.cjs.js +5 -5
  193. package/dist/cjs/{locale-44e61096.js → locale-2feae2e1.js} +4 -4
  194. package/dist/cjs/{math-faf5a949.js → math-06431d34.js} +1 -1
  195. package/dist/cjs/{observers-d3bfb778.js → observers-1f039e59.js} +1 -1
  196. package/dist/cjs/{openCloseComponent-65c2ca00.js → openCloseComponent-97cba1d8.js} +2 -2
  197. package/dist/cjs/{resources-ad5570c2.js → resources-1e20f92b.js} +1 -1
  198. package/dist/cjs/{resources-6ae8b620.js → resources-37d537a4.js} +1 -1
  199. package/dist/cjs/{resources-2e9fab44.js → resources-71924711.js} +1 -1
  200. package/dist/cjs/{resources-54920aaa.js → resources-d828a7a2.js} +5 -5
  201. package/dist/cjs/{resources-4861da6e.js → resources-dcd3ec6f.js} +1 -1
  202. package/dist/cjs/{resources-34d3d589.js → resources-e81bfcee.js} +1 -1
  203. package/dist/cjs/{sortable.esm-7c113379.js → sortable.esm-bdf4502c.js} +1 -1
  204. package/dist/cjs/{t9n-6d0f2ca7.js → t9n-e4b5d7bc.js} +3 -3
  205. package/dist/cjs/{throttle-9dfcf548.js → throttle-c959a70a.js} +2 -2
  206. package/dist/cjs/utils-3cbb4489.js +213 -0
  207. package/dist/cjs/{utils-7e605f34.js → utils-d7655679.js} +3 -3
  208. package/dist/collection/components/accordion/accordion.css +28 -0
  209. package/dist/collection/components/accordion/accordion.js +1 -1
  210. package/dist/collection/components/accordion-item/accordion-item.css +28 -0
  211. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  212. package/dist/collection/components/accordion-item/resources.js +1 -1
  213. package/dist/collection/components/action/action.css +28 -0
  214. package/dist/collection/components/action/action.js +1 -1
  215. package/dist/collection/components/action/resources.js +1 -1
  216. package/dist/collection/components/action-bar/action-bar.css +37 -12
  217. package/dist/collection/components/action-bar/action-bar.js +1 -1
  218. package/dist/collection/components/action-bar/resources.js +1 -1
  219. package/dist/collection/components/action-bar/utils.js +1 -1
  220. package/dist/collection/components/action-group/action-group.css +28 -0
  221. package/dist/collection/components/action-group/action-group.js +1 -1
  222. package/dist/collection/components/action-group/resources.js +1 -1
  223. package/dist/collection/components/action-menu/action-menu.css +28 -0
  224. package/dist/collection/components/action-menu/action-menu.js +1 -1
  225. package/dist/collection/components/action-menu/resources.js +1 -1
  226. package/dist/collection/components/action-pad/action-pad.css +28 -0
  227. package/dist/collection/components/action-pad/action-pad.js +1 -1
  228. package/dist/collection/components/action-pad/resources.js +1 -1
  229. package/dist/collection/components/alert/alert.css +28 -0
  230. package/dist/collection/components/alert/alert.js +1 -1
  231. package/dist/collection/components/alert/resources.js +1 -1
  232. package/dist/collection/components/avatar/avatar.css +28 -0
  233. package/dist/collection/components/avatar/avatar.js +22 -4
  234. package/dist/collection/components/avatar/utils.js +1 -1
  235. package/dist/collection/components/block/block.css +56 -0
  236. package/dist/collection/components/block/block.js +1 -1
  237. package/dist/collection/components/block/resources.js +1 -1
  238. package/dist/collection/components/block-section/block-section.css +28 -0
  239. package/dist/collection/components/block-section/block-section.js +1 -1
  240. package/dist/collection/components/block-section/resources.js +1 -1
  241. package/dist/collection/components/button/button.css +28 -0
  242. package/dist/collection/components/button/button.js +1 -1
  243. package/dist/collection/components/button/resources.js +1 -1
  244. package/dist/collection/components/card/card.css +28 -0
  245. package/dist/collection/components/card/card.js +1 -1
  246. package/dist/collection/components/card/resources.js +1 -1
  247. package/dist/collection/components/checkbox/checkbox.css +28 -0
  248. package/dist/collection/components/checkbox/checkbox.js +1 -1
  249. package/dist/collection/components/chip/chip.css +28 -0
  250. package/dist/collection/components/chip/chip.js +1 -1
  251. package/dist/collection/components/chip/resources.js +1 -1
  252. package/dist/collection/components/chip-group/chip-group.css +28 -0
  253. package/dist/collection/components/chip-group/chip-group.js +1 -1
  254. package/dist/collection/components/color-picker/color-picker.css +87 -52
  255. package/dist/collection/components/color-picker/color-picker.js +449 -234
  256. package/dist/collection/components/color-picker/resources.js +37 -27
  257. package/dist/collection/components/color-picker/utils.js +116 -30
  258. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +47 -16
  259. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +225 -118
  260. package/dist/collection/components/color-picker-hex-input/resources.js +3 -3
  261. package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +38 -6
  262. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +34 -7
  263. package/dist/collection/components/color-picker-swatch/resources.js +8 -2
  264. package/dist/collection/components/combobox/combobox.css +28 -0
  265. package/dist/collection/components/combobox/combobox.js +1 -1
  266. package/dist/collection/components/combobox/resources.js +1 -1
  267. package/dist/collection/components/combobox/utils.js +1 -1
  268. package/dist/collection/components/combobox-item/combobox-item.css +28 -0
  269. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  270. package/dist/collection/components/combobox-item/resources.js +1 -1
  271. package/dist/collection/components/combobox-item-group/combobox-item-group.css +28 -0
  272. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  273. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  274. package/dist/collection/components/date-picker/date-picker.css +28 -0
  275. package/dist/collection/components/date-picker/date-picker.js +1 -1
  276. package/dist/collection/components/date-picker/resources.js +1 -1
  277. package/dist/collection/components/date-picker/utils.js +1 -1
  278. package/dist/collection/components/date-picker-day/date-picker-day.css +28 -0
  279. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  280. package/dist/collection/components/date-picker-month/date-picker-month.css +28 -0
  281. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  282. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +28 -0
  283. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  284. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  285. package/dist/collection/components/dropdown/dropdown.css +28 -0
  286. package/dist/collection/components/dropdown/dropdown.js +1 -1
  287. package/dist/collection/components/dropdown/resources.js +1 -1
  288. package/dist/collection/components/dropdown-group/dropdown-group.css +28 -0
  289. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  290. package/dist/collection/components/dropdown-group/resources.js +1 -1
  291. package/dist/collection/components/dropdown-item/dropdown-item.css +28 -0
  292. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  293. package/dist/collection/components/dropdown-item/resources.js +1 -1
  294. package/dist/collection/components/fab/fab.css +28 -0
  295. package/dist/collection/components/fab/fab.js +1 -1
  296. package/dist/collection/components/fab/resources.js +1 -1
  297. package/dist/collection/components/filter/filter.css +28 -0
  298. package/dist/collection/components/filter/filter.js +1 -1
  299. package/dist/collection/components/filter/resources.js +1 -1
  300. package/dist/collection/components/flow/flow.css +28 -0
  301. package/dist/collection/components/flow/flow.js +1 -1
  302. package/dist/collection/components/flow/resources.js +1 -1
  303. package/dist/collection/components/flow-item/flow-item.css +40 -0
  304. package/dist/collection/components/flow-item/flow-item.js +2 -2
  305. package/dist/collection/components/flow-item/resources.js +1 -1
  306. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  307. package/dist/collection/components/functional/FloatingArrow.js +1 -1
  308. package/dist/collection/components/functional/Heading.js +1 -1
  309. package/dist/collection/components/graph/graph.css +28 -0
  310. package/dist/collection/components/graph/graph.js +1 -1
  311. package/dist/collection/components/graph/util.js +1 -1
  312. package/dist/collection/components/handle/handle.css +28 -0
  313. package/dist/collection/components/handle/handle.js +1 -1
  314. package/dist/collection/components/handle/resources.js +1 -1
  315. package/dist/collection/components/icon/assets/icon/orientedImageryLayer16.json +1 -0
  316. package/dist/collection/components/icon/assets/icon/orientedImageryLayer24.json +1 -0
  317. package/dist/collection/components/icon/assets/icon/orientedImageryLayer32.json +1 -0
  318. package/dist/collection/components/icon/assets/icon/parcelLayer16.json +1 -0
  319. package/dist/collection/components/icon/assets/icon/parcelLayer24.json +1 -0
  320. package/dist/collection/components/icon/assets/icon/parcelLayer32.json +1 -0
  321. package/dist/collection/components/icon/assets/icon/viewAssociations16.json +1 -0
  322. package/dist/collection/components/icon/assets/icon/viewAssociations24.json +1 -0
  323. package/dist/collection/components/icon/assets/icon/viewAssociations32.json +1 -0
  324. package/dist/collection/components/icon/icon.css +28 -0
  325. package/dist/collection/components/icon/icon.js +1 -1
  326. package/dist/collection/components/icon/resources.js +1 -1
  327. package/dist/collection/components/icon/utils.js +1 -1
  328. package/dist/collection/components/inline-editable/inline-editable.css +28 -0
  329. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  330. package/dist/collection/components/inline-editable/resources.js +1 -1
  331. package/dist/collection/components/input/input.css +28 -0
  332. package/dist/collection/components/input/input.js +1 -1
  333. package/dist/collection/components/input/resources.js +1 -1
  334. package/dist/collection/components/input-date-picker/input-date-picker.css +28 -0
  335. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  336. package/dist/collection/components/input-date-picker/resources.js +1 -1
  337. package/dist/collection/components/input-message/input-message.css +28 -0
  338. package/dist/collection/components/input-message/input-message.js +1 -1
  339. package/dist/collection/components/input-message/interfaces.js +1 -1
  340. package/dist/collection/components/input-number/input-number.css +28 -0
  341. package/dist/collection/components/input-number/input-number.js +1 -1
  342. package/dist/collection/components/input-number/resources.js +1 -1
  343. package/dist/collection/components/input-text/input-text.css +28 -0
  344. package/dist/collection/components/input-text/input-text.js +1 -1
  345. package/dist/collection/components/input-text/resources.js +1 -1
  346. package/dist/collection/components/input-time-picker/input-time-picker.css +28 -0
  347. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  348. package/dist/collection/components/input-time-picker/resources.js +1 -1
  349. package/dist/collection/components/label/label.css +28 -0
  350. package/dist/collection/components/label/label.js +1 -1
  351. package/dist/collection/components/label/resources.js +1 -1
  352. package/dist/collection/components/link/link.css +28 -0
  353. package/dist/collection/components/link/link.js +1 -1
  354. package/dist/collection/components/list/list.css +28 -0
  355. package/dist/collection/components/list/list.js +60 -30
  356. package/dist/collection/components/list/resources.js +2 -2
  357. package/dist/collection/components/list-item/list-item.css +28 -0
  358. package/dist/collection/components/list-item/list-item.js +1 -1
  359. package/dist/collection/components/list-item/resources.js +1 -1
  360. package/dist/collection/components/list-item/utils.js +1 -1
  361. package/dist/collection/components/list-item-group/list-item-group.css +28 -0
  362. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  363. package/dist/collection/components/list-item-group/resources.js +1 -1
  364. package/dist/collection/components/loader/loader.css +56 -0
  365. package/dist/collection/components/loader/loader.js +1 -1
  366. package/dist/collection/components/modal/modal.css +28 -0
  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.css +28 -0
  370. package/dist/collection/components/notice/notice.js +1 -1
  371. package/dist/collection/components/notice/resources.js +1 -1
  372. package/dist/collection/components/option/option.css +28 -0
  373. package/dist/collection/components/option/option.js +1 -1
  374. package/dist/collection/components/option-group/option-group.css +28 -0
  375. package/dist/collection/components/option-group/option-group.js +1 -1
  376. package/dist/collection/components/pagination/pagination.css +28 -0
  377. package/dist/collection/components/pagination/pagination.js +1 -1
  378. package/dist/collection/components/pagination/resources.js +1 -1
  379. package/dist/collection/components/panel/panel.css +37 -2
  380. package/dist/collection/components/panel/panel.js +2 -2
  381. package/dist/collection/components/panel/resources.js +1 -1
  382. package/dist/collection/components/pick-list/pick-list.css +28 -0
  383. package/dist/collection/components/pick-list/pick-list.js +1 -1
  384. package/dist/collection/components/pick-list/resources.js +1 -1
  385. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  386. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  387. package/dist/collection/components/pick-list-group/pick-list-group.css +28 -0
  388. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  389. package/dist/collection/components/pick-list-group/resources.js +1 -1
  390. package/dist/collection/components/pick-list-item/pick-list-item.css +28 -0
  391. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  392. package/dist/collection/components/pick-list-item/resources.js +1 -1
  393. package/dist/collection/components/popover/PopoverManager.js +1 -1
  394. package/dist/collection/components/popover/popover.css +28 -0
  395. package/dist/collection/components/popover/popover.js +1 -1
  396. package/dist/collection/components/popover/resources.js +1 -1
  397. package/dist/collection/components/progress/progress.css +56 -0
  398. package/dist/collection/components/progress/progress.js +1 -1
  399. package/dist/collection/components/radio-button/radio-button.css +28 -0
  400. package/dist/collection/components/radio-button/radio-button.js +1 -1
  401. package/dist/collection/components/radio-button/resources.js +1 -1
  402. package/dist/collection/components/radio-button-group/radio-button-group.css +28 -0
  403. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  404. package/dist/collection/components/rating/function/star.js +1 -1
  405. package/dist/collection/components/rating/rating.css +28 -0
  406. package/dist/collection/components/rating/rating.js +1 -1
  407. package/dist/collection/components/resources.js +1 -1
  408. package/dist/collection/components/scrim/resources.js +1 -1
  409. package/dist/collection/components/scrim/scrim.css +28 -0
  410. package/dist/collection/components/scrim/scrim.js +1 -1
  411. package/dist/collection/components/segmented-control/segmented-control.css +28 -0
  412. package/dist/collection/components/segmented-control/segmented-control.js +1 -1
  413. package/dist/collection/components/segmented-control-item/resources.js +1 -1
  414. package/dist/collection/components/segmented-control-item/segmented-control-item.css +28 -0
  415. package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
  416. package/dist/collection/components/select/resources.js +1 -1
  417. package/dist/collection/components/select/select.css +28 -0
  418. package/dist/collection/components/select/select.js +1 -1
  419. package/dist/collection/components/shell/resources.js +1 -1
  420. package/dist/collection/components/shell/shell.css +28 -0
  421. package/dist/collection/components/shell/shell.js +1 -1
  422. package/dist/collection/components/shell-center-row/resources.js +1 -1
  423. package/dist/collection/components/shell-center-row/shell-center-row.css +28 -0
  424. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -4
  425. package/dist/collection/components/shell-panel/resources.js +1 -1
  426. package/dist/collection/components/shell-panel/shell-panel.css +28 -0
  427. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  428. package/dist/collection/components/slider/resources.js +1 -1
  429. package/dist/collection/components/slider/slider.css +28 -0
  430. package/dist/collection/components/slider/slider.js +1 -1
  431. package/dist/collection/components/sortable-list/resources.js +1 -1
  432. package/dist/collection/components/sortable-list/sortable-list.css +28 -0
  433. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  434. package/dist/collection/components/split-button/resources.js +1 -1
  435. package/dist/collection/components/split-button/split-button.css +28 -0
  436. package/dist/collection/components/split-button/split-button.js +1 -1
  437. package/dist/collection/components/stepper/stepper.css +28 -0
  438. package/dist/collection/components/stepper/stepper.js +1 -1
  439. package/dist/collection/components/stepper-item/stepper-item.css +28 -0
  440. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  441. package/dist/collection/components/switch/switch.css +28 -0
  442. package/dist/collection/components/switch/switch.js +1 -1
  443. package/dist/collection/components/tab/tab.css +28 -0
  444. package/dist/collection/components/tab/tab.js +1 -1
  445. package/dist/collection/components/tab-nav/tab-nav.css +28 -0
  446. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  447. package/dist/collection/components/tab-title/resources.js +1 -1
  448. package/dist/collection/components/tab-title/tab-title.css +28 -0
  449. package/dist/collection/components/tab-title/tab-title.js +1 -1
  450. package/dist/collection/components/tabs/resources.js +1 -1
  451. package/dist/collection/components/tabs/tabs.css +28 -0
  452. package/dist/collection/components/tabs/tabs.js +1 -1
  453. package/dist/collection/components/text-area/resources.js +1 -1
  454. package/dist/collection/components/text-area/text-area.css +28 -0
  455. package/dist/collection/components/text-area/text-area.js +1 -1
  456. package/dist/collection/components/tile/resources.js +1 -1
  457. package/dist/collection/components/tile/tile.css +28 -0
  458. package/dist/collection/components/tile/tile.js +1 -1
  459. package/dist/collection/components/tile-select/resources.js +1 -1
  460. package/dist/collection/components/tile-select/tile-select.css +28 -0
  461. package/dist/collection/components/tile-select/tile-select.js +1 -1
  462. package/dist/collection/components/tile-select-group/tile-select-group.css +28 -0
  463. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  464. package/dist/collection/components/time-picker/resources.js +1 -1
  465. package/dist/collection/components/time-picker/time-picker.css +28 -0
  466. package/dist/collection/components/time-picker/time-picker.js +1 -1
  467. package/dist/collection/components/tip/resources.js +1 -1
  468. package/dist/collection/components/tip/tip.css +28 -0
  469. package/dist/collection/components/tip/tip.js +1 -1
  470. package/dist/collection/components/tip-group/tip-group.css +28 -0
  471. package/dist/collection/components/tip-group/tip-group.js +1 -1
  472. package/dist/collection/components/tip-manager/resources.js +1 -1
  473. package/dist/collection/components/tip-manager/tip-manager.css +28 -0
  474. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  475. package/dist/collection/components/tooltip/TooltipManager.js +38 -24
  476. package/dist/collection/components/tooltip/resources.js +1 -1
  477. package/dist/collection/components/tooltip/tooltip.css +28 -0
  478. package/dist/collection/components/tooltip/tooltip.js +1 -1
  479. package/dist/collection/components/tooltip/utils.js +1 -1
  480. package/dist/collection/components/tree/tree.css +28 -0
  481. package/dist/collection/components/tree/tree.js +25 -12
  482. package/dist/collection/components/tree/utils.js +1 -1
  483. package/dist/collection/components/tree-item/resources.js +1 -1
  484. package/dist/collection/components/tree-item/tree-item.css +28 -0
  485. package/dist/collection/components/tree-item/tree-item.js +15 -8
  486. package/dist/collection/components/value-list/resources.js +1 -1
  487. package/dist/collection/components/value-list/utils.js +1 -1
  488. package/dist/collection/components/value-list/value-list.css +28 -0
  489. package/dist/collection/components/value-list/value-list.js +1 -1
  490. package/dist/collection/components/value-list-item/resources.js +1 -1
  491. package/dist/collection/components/value-list-item/value-list-item.css +28 -0
  492. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  493. package/dist/collection/index.js +1 -1
  494. package/dist/collection/utils/array.js +1 -1
  495. package/dist/collection/utils/conditionalSlot.js +1 -1
  496. package/dist/collection/utils/config.js +1 -1
  497. package/dist/collection/utils/date.js +1 -1
  498. package/dist/collection/utils/dom.js +114 -15
  499. package/dist/collection/utils/filter.js +1 -1
  500. package/dist/collection/utils/floating-ui.js +1 -1
  501. package/dist/collection/utils/focusTrapComponent.js +1 -1
  502. package/dist/collection/utils/form.js +1 -1
  503. package/dist/collection/utils/globalAttributes.js +1 -1
  504. package/dist/collection/utils/globalScript.js +1 -1
  505. package/dist/collection/utils/guid.js +1 -1
  506. package/dist/collection/utils/interactive.js +1 -1
  507. package/dist/collection/utils/key.js +1 -1
  508. package/dist/collection/utils/label.js +1 -1
  509. package/dist/collection/utils/loadable.js +1 -1
  510. package/dist/collection/utils/locale.js +1 -1
  511. package/dist/collection/utils/math.js +1 -1
  512. package/dist/collection/utils/mode.js +1 -1
  513. package/dist/collection/utils/number.js +1 -1
  514. package/dist/collection/utils/observers.js +1 -1
  515. package/dist/collection/utils/openCloseComponent.js +1 -1
  516. package/dist/collection/utils/resources.js +1 -1
  517. package/dist/collection/utils/t9n.js +1 -1
  518. package/dist/collection/utils/time.js +1 -1
  519. package/dist/components/ExpandToggle.js +1 -1
  520. package/dist/components/FloatingArrow.js +1 -1
  521. package/dist/components/Heading.js +1 -1
  522. package/dist/components/action-group.js +2 -2
  523. package/dist/components/action-menu.js +2 -2
  524. package/dist/components/action.js +2 -2
  525. package/dist/components/array.js +1 -1
  526. package/dist/components/button.js +2 -2
  527. package/dist/components/calcite-accordion-item.js +2 -2
  528. package/dist/components/calcite-accordion.js +2 -2
  529. package/dist/components/calcite-action-bar.js +2 -2
  530. package/dist/components/calcite-action-group.js +1 -1
  531. package/dist/components/calcite-action-menu.js +1 -1
  532. package/dist/components/calcite-action-pad.js +2 -2
  533. package/dist/components/calcite-action.js +1 -1
  534. package/dist/components/calcite-alert.js +2 -2
  535. package/dist/components/calcite-avatar.js +6 -4
  536. package/dist/components/calcite-block-section.js +2 -2
  537. package/dist/components/calcite-block.js +2 -2
  538. package/dist/components/calcite-button.js +1 -1
  539. package/dist/components/calcite-card.js +2 -2
  540. package/dist/components/calcite-checkbox.js +1 -1
  541. package/dist/components/calcite-chip-group.js +2 -2
  542. package/dist/components/calcite-chip.js +1 -1
  543. package/dist/components/calcite-color-picker-hex-input.js +2 -2
  544. package/dist/components/calcite-color-picker-swatch.js +1 -1
  545. package/dist/components/calcite-color-picker.js +377 -314
  546. package/dist/components/calcite-combobox-item-group.js +2 -2
  547. package/dist/components/calcite-combobox-item.js +2 -2
  548. package/dist/components/calcite-combobox.js +2 -2
  549. package/dist/components/calcite-date-picker-day.js +1 -1
  550. package/dist/components/calcite-date-picker-month-header.js +1 -1
  551. package/dist/components/calcite-date-picker-month.js +1 -1
  552. package/dist/components/calcite-date-picker.js +1 -1
  553. package/dist/components/calcite-dropdown-group.js +2 -2
  554. package/dist/components/calcite-dropdown-item.js +2 -2
  555. package/dist/components/calcite-dropdown.js +1 -1
  556. package/dist/components/calcite-fab.js +2 -2
  557. package/dist/components/calcite-filter.js +1 -1
  558. package/dist/components/calcite-flow-item.js +2 -2
  559. package/dist/components/calcite-flow.js +2 -2
  560. package/dist/components/calcite-graph.js +1 -1
  561. package/dist/components/calcite-handle.js +1 -1
  562. package/dist/components/calcite-icon.js +1 -1
  563. package/dist/components/calcite-inline-editable.js +2 -2
  564. package/dist/components/calcite-input-date-picker.js +2 -2
  565. package/dist/components/calcite-input-message.js +2 -2
  566. package/dist/components/calcite-input-number.js +2 -617
  567. package/dist/components/calcite-input-text.js +2 -2
  568. package/dist/components/calcite-input-time-picker.js +2 -2
  569. package/dist/components/calcite-input.js +1 -1
  570. package/dist/components/calcite-label.js +1 -1
  571. package/dist/components/calcite-link.js +1 -1
  572. package/dist/components/calcite-list-item-group.js +2 -2
  573. package/dist/components/calcite-list-item.js +2 -2
  574. package/dist/components/calcite-list.js +41 -31
  575. package/dist/components/calcite-loader.js +1 -1
  576. package/dist/components/calcite-modal.js +2 -2
  577. package/dist/components/calcite-notice.js +2 -2
  578. package/dist/components/calcite-option-group.js +2 -2
  579. package/dist/components/calcite-option.js +2 -2
  580. package/dist/components/calcite-pagination.js +2 -2
  581. package/dist/components/calcite-panel.js +1 -1
  582. package/dist/components/calcite-pick-list-group.js +2 -2
  583. package/dist/components/calcite-pick-list-item.js +1 -1
  584. package/dist/components/calcite-pick-list.js +2 -2
  585. package/dist/components/calcite-popover.js +1 -1
  586. package/dist/components/calcite-progress.js +1 -1
  587. package/dist/components/calcite-radio-button-group.js +2 -2
  588. package/dist/components/calcite-radio-button.js +2 -2
  589. package/dist/components/calcite-rating.js +2 -2
  590. package/dist/components/calcite-scrim.js +1 -1
  591. package/dist/components/calcite-segmented-control-item.js +2 -2
  592. package/dist/components/calcite-segmented-control.js +2 -2
  593. package/dist/components/calcite-select.js +2 -2
  594. package/dist/components/calcite-shell-center-row.js +2 -5
  595. package/dist/components/calcite-shell-panel.js +2 -2
  596. package/dist/components/calcite-shell.js +2 -2
  597. package/dist/components/calcite-slider.js +2 -2
  598. package/dist/components/calcite-sortable-list.js +2 -2
  599. package/dist/components/calcite-split-button.js +2 -2
  600. package/dist/components/calcite-stepper-item.js +2 -2
  601. package/dist/components/calcite-stepper.js +2 -2
  602. package/dist/components/calcite-switch.js +1 -1
  603. package/dist/components/calcite-tab-nav.js +1 -1
  604. package/dist/components/calcite-tab-title.js +1 -1
  605. package/dist/components/calcite-tab.js +1 -1
  606. package/dist/components/calcite-tabs.js +1 -1
  607. package/dist/components/calcite-text-area.js +2 -2
  608. package/dist/components/calcite-tile-select-group.js +2 -2
  609. package/dist/components/calcite-tile-select.js +2 -2
  610. package/dist/components/calcite-tile.js +1 -1
  611. package/dist/components/calcite-time-picker.js +1 -1
  612. package/dist/components/calcite-tip-group.js +2 -2
  613. package/dist/components/calcite-tip-manager.js +2 -2
  614. package/dist/components/calcite-tip.js +2 -2
  615. package/dist/components/calcite-tooltip.js +1 -1
  616. package/dist/components/calcite-tree-item.js +16 -9
  617. package/dist/components/calcite-tree.js +26 -13
  618. package/dist/components/calcite-value-list-item.js +2 -2
  619. package/dist/components/calcite-value-list.js +2 -2
  620. package/dist/components/checkbox.js +2 -2
  621. package/dist/components/chip.js +2 -2
  622. package/dist/components/color-picker-hex-input.js +252 -88
  623. package/dist/components/color-picker-swatch.js +42 -2118
  624. package/dist/components/composed-offset-position.esm.js +1 -1
  625. package/dist/components/conditionalSlot.js +1 -1
  626. package/dist/components/date-picker-day.js +2 -2
  627. package/dist/components/date-picker-month-header.js +2 -2
  628. package/dist/components/date-picker-month.js +2 -2
  629. package/dist/components/date-picker.js +3 -3
  630. package/dist/components/date.js +1 -1
  631. package/dist/components/debounce.js +1 -1
  632. package/dist/components/dom.js +114 -15
  633. package/dist/components/dropdown.js +2 -2
  634. package/dist/components/filter.js +2 -2
  635. package/dist/components/filter2.js +1 -1
  636. package/dist/components/floating-ui.js +68 -62
  637. package/dist/components/focusTrapComponent.js +1 -1
  638. package/dist/components/form.js +1 -1
  639. package/dist/components/graph.js +2 -2
  640. package/dist/components/guid.js +1 -1
  641. package/dist/components/handle.js +2 -2
  642. package/dist/components/icon.js +2 -2
  643. package/dist/components/index.js +1 -1
  644. package/dist/components/index2.js +2116 -0
  645. package/dist/components/input-number.js +623 -0
  646. package/dist/components/input.js +3 -3
  647. package/dist/components/interactive.js +1 -1
  648. package/dist/components/key.js +1 -1
  649. package/dist/components/label.js +2 -2
  650. package/dist/components/label2.js +1 -1
  651. package/dist/components/link.js +2 -2
  652. package/dist/components/loadable.js +1 -1
  653. package/dist/components/loader.js +2 -2
  654. package/dist/components/locale.js +2 -2
  655. package/dist/components/math.js +1 -1
  656. package/dist/components/observers.js +1 -1
  657. package/dist/components/openCloseComponent.js +1 -1
  658. package/dist/components/panel.js +2 -2
  659. package/dist/components/pick-list-item.js +2 -2
  660. package/dist/components/popover.js +2 -2
  661. package/dist/components/progress.js +2 -2
  662. package/dist/components/resources.js +1 -1
  663. package/dist/components/resources2.js +1 -1
  664. package/dist/components/resources3.js +1 -1
  665. package/dist/components/scrim.js +2 -2
  666. package/dist/components/shared-list-render.js +1 -1
  667. package/dist/components/sortable.esm.js +1 -1
  668. package/dist/components/switch.js +2 -2
  669. package/dist/components/t9n.js +1 -1
  670. package/dist/components/tab-nav.js +2 -2
  671. package/dist/components/tab-title.js +2 -2
  672. package/dist/components/tab.js +2 -2
  673. package/dist/components/tabs.js +2 -2
  674. package/dist/components/throttle.js +1 -1
  675. package/dist/components/tile.js +2 -2
  676. package/dist/components/time-picker.js +3 -3
  677. package/dist/components/tooltip.js +39 -25
  678. package/dist/components/utils.js +112 -31
  679. package/dist/components/utils2.js +1 -1
  680. package/dist/components/utils3.js +1 -1
  681. package/dist/esm/{ExpandToggle-b9435cd9.js → ExpandToggle-08d3fc16.js} +5 -5
  682. package/dist/esm/{FloatingArrow-c11f7328.js → FloatingArrow-2c212b17.js} +2 -2
  683. package/dist/esm/{Heading-cf0b7487.js → Heading-74a23d79.js} +2 -2
  684. package/dist/esm/{app-globals-4fed5e1d.js → app-globals-8c9ecd4d.js} +2 -2
  685. package/dist/esm/{array-358c609b.js → array-738e1ac6.js} +1 -1
  686. package/dist/esm/calcite-accordion_2.entry.js +9 -9
  687. package/dist/esm/calcite-action-bar.entry.js +16 -16
  688. package/dist/esm/calcite-action-group.entry.js +14 -14
  689. package/dist/esm/calcite-action-menu.entry.js +10 -10
  690. package/dist/esm/calcite-action-pad.entry.js +15 -15
  691. package/dist/esm/calcite-action.entry.js +12 -12
  692. package/dist/esm/calcite-alert.entry.js +13 -13
  693. package/dist/esm/calcite-avatar.entry.js +10 -9
  694. package/dist/esm/calcite-block_2.entry.js +14 -14
  695. package/dist/esm/calcite-button.entry.js +14 -14
  696. package/dist/esm/calcite-card.entry.js +11 -11
  697. package/dist/esm/calcite-checkbox.entry.js +11 -11
  698. package/dist/esm/calcite-chip-group.entry.js +9 -9
  699. package/dist/esm/calcite-chip.entry.js +13 -13
  700. package/dist/esm/calcite-color-picker_3.entry.js +585 -339
  701. package/dist/esm/calcite-combobox_3.entry.js +21 -21
  702. package/dist/esm/calcite-date-picker_4.entry.js +17 -17
  703. package/dist/esm/calcite-dropdown_3.entry.js +15 -15
  704. package/dist/esm/calcite-fab.entry.js +8 -8
  705. package/dist/esm/calcite-filter.entry.js +14 -14
  706. package/dist/esm/calcite-flow-item.entry.js +13 -13
  707. package/dist/esm/calcite-flow.entry.js +4 -4
  708. package/dist/esm/calcite-graph_2.entry.js +15 -15
  709. package/dist/esm/calcite-handle.entry.js +11 -11
  710. package/dist/esm/calcite-icon.entry.js +7 -7
  711. package/dist/esm/calcite-inline-editable.entry.js +13 -13
  712. package/dist/esm/calcite-input-date-picker.entry.js +19 -19
  713. package/dist/esm/calcite-input-message.entry.js +6 -6
  714. package/dist/esm/calcite-input-number.entry.js +14 -14
  715. package/dist/esm/calcite-input-text.entry.js +14 -14
  716. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -16
  717. package/dist/esm/calcite-input.entry.js +14 -14
  718. package/dist/esm/calcite-label.entry.js +7 -7
  719. package/dist/esm/calcite-link.entry.js +8 -8
  720. package/dist/esm/calcite-list_3.entry.js +53 -43
  721. package/dist/esm/calcite-loader.entry.js +4 -4
  722. package/dist/esm/calcite-modal.entry.js +14 -14
  723. package/dist/esm/calcite-notice.entry.js +13 -13
  724. package/dist/esm/calcite-option_3.entry.js +13 -13
  725. package/dist/esm/calcite-pagination.entry.js +11 -11
  726. package/dist/esm/calcite-panel.entry.js +15 -15
  727. package/dist/esm/calcite-pick-list_3.entry.js +19 -19
  728. package/dist/esm/calcite-popover.entry.js +17 -17
  729. package/dist/esm/calcite-progress.entry.js +3 -3
  730. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  731. package/dist/esm/calcite-radio-button.entry.js +11 -11
  732. package/dist/esm/calcite-rating.entry.js +14 -14
  733. package/dist/esm/calcite-scrim.entry.js +10 -10
  734. package/dist/esm/calcite-segmented-control_2.entry.js +11 -11
  735. package/dist/esm/calcite-shell_3.entry.js +14 -17
  736. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  737. package/dist/esm/calcite-split-button.entry.js +5 -5
  738. package/dist/esm/calcite-stepper_2.entry.js +12 -12
  739. package/dist/esm/calcite-switch.entry.js +11 -11
  740. package/dist/esm/calcite-tab_4.entry.js +11 -11
  741. package/dist/esm/calcite-text-area.entry.js +16 -16
  742. package/dist/esm/calcite-tile-select_2.entry.js +7 -7
  743. package/dist/esm/calcite-tile.entry.js +9 -9
  744. package/dist/esm/calcite-tip_3.entry.js +14 -14
  745. package/dist/esm/calcite-tooltip.entry.js +47 -33
  746. package/dist/esm/calcite-tree_2.entry.js +49 -29
  747. package/dist/esm/calcite-value-list_2.entry.js +18 -18
  748. package/dist/esm/calcite.js +6 -6
  749. package/dist/esm/{composed-offset-position.esm-7dad5f51.js → composed-offset-position.esm-7183f535.js} +1 -1
  750. package/dist/esm/{conditionalSlot-5cabd141.js → conditionalSlot-8dcf294e.js} +3 -3
  751. package/dist/esm/{debounce-3236c2d6.js → debounce-202fcbcd.js} +1 -1
  752. package/dist/esm/{dom-28b5e538.js → dom-bef76399.js} +116 -17
  753. package/dist/esm/{filter-698b6eb0.js → filter-99a00b00.js} +2 -2
  754. package/dist/esm/{floating-ui-b5749485.js → floating-ui-3b144250.js} +71 -65
  755. package/dist/esm/{focusTrapComponent-889051a9.js → focusTrapComponent-11da47cd.js} +2 -2
  756. package/dist/esm/{form-09082c06.js → form-9ec1fffc.js} +3 -3
  757. package/dist/esm/{guid-544471e1.js → guid-9fe3e534.js} +1 -1
  758. package/dist/esm/{index-5d088200.js → index-2db8a7e2.js} +1 -1
  759. package/dist/esm/index.js +2 -2
  760. package/dist/esm/{interactive-854fd770.js → interactive-bb1f57d0.js} +1 -1
  761. package/dist/esm/{key-fe7f0c5b.js → key-c032c64e.js} +1 -1
  762. package/dist/esm/{label-78d3672e.js → label-491a2111.js} +2 -2
  763. package/dist/esm/{loadable-1fd5df25.js → loadable-8dd0a87b.js} +1 -1
  764. package/dist/esm/loader.js +6 -6
  765. package/dist/esm/{locale-ca2b383e.js → locale-a0557607.js} +4 -4
  766. package/dist/esm/{math-144739fc.js → math-c3672f0c.js} +1 -1
  767. package/dist/esm/{observers-072ef19c.js → observers-600e50b2.js} +1 -1
  768. package/dist/esm/{openCloseComponent-6e2df95d.js → openCloseComponent-415e6baf.js} +2 -2
  769. package/dist/esm/{resources-bc08b0a8.js → resources-004115b1.js} +5 -5
  770. package/dist/esm/{resources-7c3efd5b.js → resources-07152e83.js} +1 -1
  771. package/dist/esm/{resources-81fb0e53.js → resources-30536763.js} +1 -1
  772. package/dist/esm/{resources-ae5aaa2f.js → resources-405d5533.js} +1 -1
  773. package/dist/esm/{resources-417fcb2c.js → resources-84de5e61.js} +1 -1
  774. package/dist/esm/{resources-0fd2a367.js → resources-8b8ca592.js} +1 -1
  775. package/dist/esm/{sortable.esm-2496d718.js → sortable.esm-b48569dd.js} +1 -1
  776. package/dist/esm/{t9n-a16b2bfd.js → t9n-5f6010b1.js} +3 -3
  777. package/dist/esm/{throttle-f248810f.js → throttle-c1467685.js} +2 -2
  778. package/dist/esm/{utils-dbad4ec5.js → utils-182a6956.js} +3 -3
  779. package/dist/esm/utils-c0bef67d.js +195 -0
  780. package/dist/extras/docs-json.json +193 -39
  781. package/dist/extras/vscode-data.json +28 -4
  782. package/dist/loader/cdn.js +1 -1
  783. package/dist/loader/index.cjs.js +1 -1
  784. package/dist/loader/index.es2017.js +1 -1
  785. package/dist/loader/index.js +1 -1
  786. package/dist/types/components/avatar/avatar.d.ts +3 -1
  787. package/dist/types/components/color-picker/color-picker.d.ts +55 -26
  788. package/dist/types/components/color-picker/interfaces.d.ts +1 -0
  789. package/dist/types/components/color-picker/resources.d.ts +28 -18
  790. package/dist/types/components/color-picker/utils.d.ts +16 -7
  791. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +33 -16
  792. package/dist/types/components/color-picker-hex-input/resources.d.ts +2 -2
  793. package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +3 -2
  794. package/dist/types/components/color-picker-swatch/resources.d.ts +6 -1
  795. package/dist/types/components/flow-item/flow-item.d.ts +1 -1
  796. package/dist/types/components/list/list.d.ts +7 -2
  797. package/dist/types/components/list/resources.d.ts +1 -1
  798. package/dist/types/components/panel/panel.d.ts +1 -1
  799. package/dist/types/components/tooltip/TooltipManager.d.ts +3 -2
  800. package/dist/types/components/tree-item/tree-item.d.ts +2 -0
  801. package/dist/types/components.d.ts +74 -10
  802. package/dist/types/preact.d.ts +2 -1
  803. package/dist/types/utils/dom.d.ts +115 -19
  804. package/hydrate/index.js +1070 -597
  805. package/package.json +5 -6
  806. package/dist/calcite/p-0e62bf57.entry.js +0 -6
  807. package/dist/calcite/p-130cb272.entry.js +0 -6
  808. package/dist/calcite/p-137e2bb9.entry.js +0 -6
  809. package/dist/calcite/p-16186076.entry.js +0 -6
  810. package/dist/calcite/p-16eb38b3.entry.js +0 -6
  811. package/dist/calcite/p-16fa02e0.entry.js +0 -6
  812. package/dist/calcite/p-19558484.entry.js +0 -6
  813. package/dist/calcite/p-19eec879.entry.js +0 -6
  814. package/dist/calcite/p-1a2f0b78.entry.js +0 -6
  815. package/dist/calcite/p-1c134cca.entry.js +0 -6
  816. package/dist/calcite/p-1ea5ac9d.entry.js +0 -6
  817. package/dist/calcite/p-1ee8a27c.entry.js +0 -6
  818. package/dist/calcite/p-26900c87.entry.js +0 -6
  819. package/dist/calcite/p-2e37d908.entry.js +0 -6
  820. package/dist/calcite/p-331764e7.entry.js +0 -6
  821. package/dist/calcite/p-3480e564.js +0 -6
  822. package/dist/calcite/p-355c6b51.js +0 -6
  823. package/dist/calcite/p-3c07d6d9.entry.js +0 -6
  824. package/dist/calcite/p-43c67bb9.entry.js +0 -6
  825. package/dist/calcite/p-4fd321ce.entry.js +0 -6
  826. package/dist/calcite/p-5b450927.entry.js +0 -6
  827. package/dist/calcite/p-5f1f5c38.entry.js +0 -6
  828. package/dist/calcite/p-601ddd73.js +0 -6
  829. package/dist/calcite/p-6050736c.entry.js +0 -6
  830. package/dist/calcite/p-636d0418.entry.js +0 -6
  831. package/dist/calcite/p-647ebb8d.entry.js +0 -6
  832. package/dist/calcite/p-648773ca.entry.js +0 -6
  833. package/dist/calcite/p-69984379.entry.js +0 -6
  834. package/dist/calcite/p-6b999e6a.entry.js +0 -6
  835. package/dist/calcite/p-6f9a5b38.entry.js +0 -6
  836. package/dist/calcite/p-70dba721.entry.js +0 -6
  837. package/dist/calcite/p-77a01239.entry.js +0 -6
  838. package/dist/calcite/p-77e28424.entry.js +0 -6
  839. package/dist/calcite/p-77ffa8c0.entry.js +0 -6
  840. package/dist/calcite/p-78f1640b.entry.js +0 -6
  841. package/dist/calcite/p-8a791b50.entry.js +0 -6
  842. package/dist/calcite/p-8bfca736.entry.js +0 -6
  843. package/dist/calcite/p-8c36542e.entry.js +0 -6
  844. package/dist/calcite/p-8e7597b8.entry.js +0 -6
  845. package/dist/calcite/p-8eb242c3.entry.js +0 -6
  846. package/dist/calcite/p-8f36135a.entry.js +0 -6
  847. package/dist/calcite/p-91a65b3d.entry.js +0 -6
  848. package/dist/calcite/p-9419d79f.entry.js +0 -6
  849. package/dist/calcite/p-9a4aea5c.entry.js +0 -6
  850. package/dist/calcite/p-9e966c8c.entry.js +0 -6
  851. package/dist/calcite/p-9f70d531.entry.js +0 -6
  852. package/dist/calcite/p-a6964ccc.entry.js +0 -6
  853. package/dist/calcite/p-a7b6b725.entry.js +0 -6
  854. package/dist/calcite/p-b1128d62.entry.js +0 -6
  855. package/dist/calcite/p-b96e03be.entry.js +0 -6
  856. package/dist/calcite/p-bfd4b549.entry.js +0 -6
  857. package/dist/calcite/p-c0877b02.js +0 -6
  858. package/dist/calcite/p-ca503db0.entry.js +0 -6
  859. package/dist/calcite/p-ccdbdd3e.entry.js +0 -6
  860. package/dist/calcite/p-d025ac9c.entry.js +0 -6
  861. package/dist/calcite/p-d66139be.entry.js +0 -6
  862. package/dist/calcite/p-db810dad.js +0 -6
  863. package/dist/calcite/p-dc80a779.entry.js +0 -6
  864. package/dist/calcite/p-de9cb821.js +0 -6
  865. package/dist/calcite/p-ec46baf1.entry.js +0 -6
  866. package/dist/calcite/p-ede3f0a2.entry.js +0 -6
  867. package/dist/calcite/p-eebb35d7.entry.js +0 -6
  868. package/dist/calcite/p-f02dfea6.entry.js +0 -6
  869. package/dist/calcite/p-f3481dad.entry.js +0 -6
  870. package/dist/calcite/p-f3fd38f8.entry.js +0 -6
  871. package/dist/calcite/p-f54ae1ab.entry.js +0 -6
  872. package/dist/cjs/utils-a90ed219.js +0 -124
  873. package/dist/esm/utils-5f9ac4a7.js +0 -114
@@ -0,0 +1,623 @@
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.4.0-next.11
5
+ */
6
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
7
+ import { b as getSlotted, j as isPrimaryPointerButton, f as setRequestedIcon, c as getElementDir, C as CSS_UTILITY } from './dom.js';
8
+ import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
9
+ import { u as updateHostInteraction } from './interactive.js';
10
+ import { n as numberKeys } from './key.js';
11
+ import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
12
+ import { s as setComponentLoaded, a as setUpLoadableComponent, c as componentLoaded } from './loadable.js';
13
+ import { n as numberStringFormatter, i as isValidNumber, p as parseNumberString, s as sanitizeNumberString, b as defaultNumberingSystem, c as connectLocalized, d as disconnectLocalized, B as BigDecimal } from './locale.js';
14
+ import { c as createObserver } from './observers.js';
15
+ import { u as updateMessages, c as connectMessages, d as disconnectMessages, s as setUpMessages } from './t9n.js';
16
+ import { d as defineCustomElement$2 } from './icon.js';
17
+ import { d as defineCustomElement$1 } from './progress.js';
18
+
19
+ const CSS = {
20
+ loader: "loader",
21
+ clearButton: "clear-button",
22
+ editingEnabled: "editing-enabled",
23
+ inlineChild: "inline-child",
24
+ inputIcon: "icon",
25
+ prefix: "prefix",
26
+ suffix: "suffix",
27
+ numberButtonWrapper: "number-button-wrapper",
28
+ buttonItemHorizontal: "number-button-item--horizontal",
29
+ wrapper: "element-wrapper",
30
+ inputWrapper: "wrapper",
31
+ actionWrapper: "action-wrapper",
32
+ resizeIconWrapper: "resize-icon-wrapper",
33
+ numberButtonItem: "number-button-item"
34
+ };
35
+ const SLOTS = {
36
+ action: "action"
37
+ };
38
+
39
+ const inputNumberCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline: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{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline: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{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline: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{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;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::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-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}: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{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:1;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;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);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);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-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content: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{order:2;border-inline-end-width:0px}.suffix{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;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;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{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]{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-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items: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-block:0px;padding-inline:0.5rem;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;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:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;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:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
40
+
41
+ const InputNumber = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
42
+ constructor() {
43
+ super();
44
+ this.__registerHost();
45
+ this.__attachShadow();
46
+ this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 6);
47
+ this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 6);
48
+ this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
49
+ this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 6);
50
+ this.previousValueOrigin = "initial";
51
+ this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
52
+ this.userChangedValue = false;
53
+ //--------------------------------------------------------------------------
54
+ //
55
+ // Private Methods
56
+ //
57
+ //--------------------------------------------------------------------------
58
+ this.keyDownHandler = (event) => {
59
+ if (this.readOnly || this.disabled) {
60
+ return;
61
+ }
62
+ if (this.isClearable && event.key === "Escape") {
63
+ this.clearInputValue(event);
64
+ event.preventDefault();
65
+ }
66
+ if (event.key === "Enter" && !event.defaultPrevented) {
67
+ if (submitForm(this)) {
68
+ event.preventDefault();
69
+ }
70
+ }
71
+ };
72
+ this.clearInputValue = (nativeEvent) => {
73
+ this.setNumberValue({
74
+ committing: true,
75
+ nativeEvent,
76
+ origin: "user",
77
+ value: ""
78
+ });
79
+ };
80
+ this.emitChangeIfUserModified = () => {
81
+ if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedNumberValue) {
82
+ this.calciteInputNumberChange.emit();
83
+ this.setPreviousEmittedNumberValue(this.value);
84
+ }
85
+ };
86
+ this.inputNumberBlurHandler = () => {
87
+ this.calciteInternalInputNumberBlur.emit();
88
+ this.emitChangeIfUserModified();
89
+ };
90
+ this.clickHandler = (event) => {
91
+ if (this.disabled) {
92
+ return;
93
+ }
94
+ const slottedActionEl = getSlotted(this.el, "action");
95
+ if (event.target !== slottedActionEl) {
96
+ this.setFocus();
97
+ }
98
+ };
99
+ this.inputNumberFocusHandler = () => {
100
+ this.calciteInternalInputNumberFocus.emit();
101
+ };
102
+ this.inputNumberInputHandler = (nativeEvent) => {
103
+ if (this.disabled || this.readOnly) {
104
+ return;
105
+ }
106
+ const value = nativeEvent.target.value;
107
+ numberStringFormatter.numberFormatOptions = {
108
+ locale: this.effectiveLocale,
109
+ numberingSystem: this.numberingSystem,
110
+ useGrouping: this.groupSeparator
111
+ };
112
+ const delocalizedValue = numberStringFormatter.delocalize(value);
113
+ if (nativeEvent.inputType === "insertFromPaste") {
114
+ if (!isValidNumber(delocalizedValue)) {
115
+ nativeEvent.preventDefault();
116
+ }
117
+ this.setNumberValue({
118
+ nativeEvent,
119
+ origin: "user",
120
+ value: parseNumberString(delocalizedValue)
121
+ });
122
+ this.childNumberEl.value = this.localizedValue;
123
+ }
124
+ else {
125
+ this.setNumberValue({
126
+ nativeEvent,
127
+ origin: "user",
128
+ value: delocalizedValue
129
+ });
130
+ }
131
+ };
132
+ this.inputNumberKeyDownHandler = (event) => {
133
+ if (this.disabled || this.readOnly) {
134
+ return;
135
+ }
136
+ if (event.key === "ArrowUp") {
137
+ /* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
138
+ event.preventDefault();
139
+ this.nudgeNumberValue("up", event);
140
+ return;
141
+ }
142
+ if (event.key === "ArrowDown") {
143
+ this.nudgeNumberValue("down", event);
144
+ return;
145
+ }
146
+ const supportedKeys = [
147
+ ...numberKeys,
148
+ "ArrowLeft",
149
+ "ArrowRight",
150
+ "Backspace",
151
+ "Delete",
152
+ "Enter",
153
+ "Escape",
154
+ "Tab"
155
+ ];
156
+ if (event.altKey || event.ctrlKey || event.metaKey) {
157
+ return;
158
+ }
159
+ const isShiftTabEvent = event.shiftKey && event.key === "Tab";
160
+ if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
161
+ if (event.key === "Enter") {
162
+ this.emitChangeIfUserModified();
163
+ }
164
+ return;
165
+ }
166
+ numberStringFormatter.numberFormatOptions = {
167
+ locale: this.effectiveLocale,
168
+ numberingSystem: this.numberingSystem,
169
+ useGrouping: this.groupSeparator
170
+ };
171
+ if (event.key === numberStringFormatter.decimal) {
172
+ if (!this.value && !this.childNumberEl.value) {
173
+ return;
174
+ }
175
+ if (this.value && this.childNumberEl.value.indexOf(numberStringFormatter.decimal) === -1) {
176
+ return;
177
+ }
178
+ }
179
+ if (/[eE]/.test(event.key)) {
180
+ if (!this.value && !this.childNumberEl.value) {
181
+ return;
182
+ }
183
+ if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
184
+ return;
185
+ }
186
+ }
187
+ if (event.key === "-") {
188
+ if (!this.value && !this.childNumberEl.value) {
189
+ return;
190
+ }
191
+ if (this.value && this.childNumberEl.value.split("-").length <= 2) {
192
+ return;
193
+ }
194
+ }
195
+ event.preventDefault();
196
+ };
197
+ this.nudgeNumberValue = (direction, nativeEvent) => {
198
+ if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
199
+ return;
200
+ }
201
+ const inputMax = this.maxString ? parseFloat(this.maxString) : null;
202
+ const inputMin = this.minString ? parseFloat(this.minString) : null;
203
+ const valueNudgeDelayInMs = 150;
204
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
205
+ if (this.nudgeNumberValueIntervalId) {
206
+ window.clearInterval(this.nudgeNumberValueIntervalId);
207
+ }
208
+ let firstValueNudge = true;
209
+ this.nudgeNumberValueIntervalId = window.setInterval(() => {
210
+ if (firstValueNudge) {
211
+ firstValueNudge = false;
212
+ return;
213
+ }
214
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
215
+ }, valueNudgeDelayInMs);
216
+ };
217
+ this.nudgeButtonPointerUpAndOutHandler = (event) => {
218
+ if (!isPrimaryPointerButton(event)) {
219
+ return;
220
+ }
221
+ window.clearInterval(this.nudgeNumberValueIntervalId);
222
+ };
223
+ this.nudgeButtonPointerDownHandler = (event) => {
224
+ if (!isPrimaryPointerButton(event)) {
225
+ return;
226
+ }
227
+ event.preventDefault();
228
+ const direction = event.target.dataset.adjustment;
229
+ if (!this.disabled) {
230
+ this.nudgeNumberValue(direction, event);
231
+ }
232
+ };
233
+ this.hiddenInputChangeHandler = (event) => {
234
+ if (event.target.name === this.name) {
235
+ this.setNumberValue({
236
+ value: event.target.value,
237
+ origin: "direct"
238
+ });
239
+ }
240
+ event.stopPropagation();
241
+ };
242
+ this.setChildNumberElRef = (el) => {
243
+ this.childNumberEl = el;
244
+ };
245
+ this.setInputNumberValue = (newInputValue) => {
246
+ if (!this.childNumberEl) {
247
+ return;
248
+ }
249
+ this.childNumberEl.value = newInputValue;
250
+ };
251
+ this.setPreviousEmittedNumberValue = (value) => {
252
+ this.previousEmittedNumberValue = this.normalizeValue(value);
253
+ };
254
+ this.setPreviousNumberValue = (value) => {
255
+ this.previousValue = this.normalizeValue(value);
256
+ };
257
+ this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
258
+ numberStringFormatter.numberFormatOptions = {
259
+ locale: this.effectiveLocale,
260
+ numberingSystem: this.numberingSystem,
261
+ useGrouping: this.groupSeparator
262
+ };
263
+ const sanitizedValue = sanitizeNumberString(
264
+ // no need to delocalize a string that ia already in latn numerals
265
+ (this.numberingSystem && this.numberingSystem !== "latn") || defaultNumberingSystem !== "latn"
266
+ ? numberStringFormatter.delocalize(value)
267
+ : value);
268
+ const newValue = value && !sanitizedValue
269
+ ? isValidNumber(this.previousValue)
270
+ ? this.previousValue
271
+ : ""
272
+ : sanitizedValue;
273
+ const newLocalizedValue = numberStringFormatter.localize(newValue);
274
+ this.localizedValue = newLocalizedValue;
275
+ this.setPreviousNumberValue(previousValue ?? this.value);
276
+ this.previousValueOrigin = origin;
277
+ this.userChangedValue = origin === "user" && this.value !== newValue;
278
+ // don't sanitize the start of negative/decimal numbers, but
279
+ // don't set value to an invalid number
280
+ this.value = ["-", "."].includes(newValue) ? "" : newValue;
281
+ if (origin === "direct") {
282
+ this.setInputNumberValue(newLocalizedValue);
283
+ this.setPreviousEmittedNumberValue(newLocalizedValue);
284
+ }
285
+ if (nativeEvent) {
286
+ const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit();
287
+ if (calciteInputNumberInputEvent.defaultPrevented) {
288
+ this.value = this.previousValue;
289
+ this.localizedValue = numberStringFormatter.localize(this.previousValue);
290
+ }
291
+ else if (committing) {
292
+ this.emitChangeIfUserModified();
293
+ }
294
+ }
295
+ };
296
+ this.inputNumberKeyUpHandler = () => {
297
+ window.clearInterval(this.nudgeNumberValueIntervalId);
298
+ };
299
+ this.alignment = "start";
300
+ this.autofocus = false;
301
+ this.clearable = false;
302
+ this.disabled = false;
303
+ this.form = undefined;
304
+ this.groupSeparator = false;
305
+ this.hidden = false;
306
+ this.icon = undefined;
307
+ this.iconFlipRtl = false;
308
+ this.label = undefined;
309
+ this.loading = false;
310
+ this.numberingSystem = undefined;
311
+ this.localeFormat = false;
312
+ this.max = undefined;
313
+ this.min = undefined;
314
+ this.maxLength = undefined;
315
+ this.minLength = undefined;
316
+ this.name = undefined;
317
+ this.numberButtonType = "vertical";
318
+ this.placeholder = undefined;
319
+ this.prefixText = undefined;
320
+ this.readOnly = false;
321
+ this.required = false;
322
+ this.scale = "m";
323
+ this.status = "idle";
324
+ this.step = undefined;
325
+ this.autocomplete = undefined;
326
+ this.inputMode = "decimal";
327
+ this.enterKeyHint = undefined;
328
+ this.suffixText = undefined;
329
+ this.editingEnabled = false;
330
+ this.value = "";
331
+ this.messages = undefined;
332
+ this.messageOverrides = undefined;
333
+ this.effectiveLocale = "";
334
+ this.defaultMessages = undefined;
335
+ this.localizedValue = undefined;
336
+ this.slottedActionElDisabledInternally = false;
337
+ }
338
+ disabledWatcher() {
339
+ this.setDisabledAction();
340
+ }
341
+ /** watcher to update number-to-string for max */
342
+ maxWatcher() {
343
+ this.maxString = this.max?.toString() || null;
344
+ }
345
+ /** watcher to update number-to-string for min */
346
+ minWatcher() {
347
+ this.minString = this.min?.toString() || null;
348
+ }
349
+ onMessagesChange() {
350
+ /* wired up by t9n util */
351
+ }
352
+ valueWatcher(newValue, previousValue) {
353
+ if (!this.userChangedValue) {
354
+ this.setNumberValue({
355
+ origin: "direct",
356
+ previousValue,
357
+ value: newValue == null || newValue == ""
358
+ ? ""
359
+ : isValidNumber(newValue)
360
+ ? newValue
361
+ : this.previousValue || ""
362
+ });
363
+ this.warnAboutInvalidNumberValue(newValue);
364
+ }
365
+ this.userChangedValue = false;
366
+ }
367
+ updateRequestedIcon() {
368
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
369
+ }
370
+ get isClearable() {
371
+ return this.clearable && this.value.length > 0;
372
+ }
373
+ effectiveLocaleWatcher(locale) {
374
+ updateMessages(this, this.effectiveLocale);
375
+ numberStringFormatter.numberFormatOptions = {
376
+ locale,
377
+ numberingSystem: this.numberingSystem,
378
+ useGrouping: false
379
+ };
380
+ }
381
+ //--------------------------------------------------------------------------
382
+ //
383
+ // Lifecycle
384
+ //
385
+ //--------------------------------------------------------------------------
386
+ connectedCallback() {
387
+ connectLocalized(this);
388
+ connectMessages(this);
389
+ this.inlineEditableEl = this.el.closest("calcite-inline-editable");
390
+ if (this.inlineEditableEl) {
391
+ this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
392
+ }
393
+ connectLabel(this);
394
+ connectForm(this);
395
+ this.setPreviousEmittedNumberValue(this.value);
396
+ this.setPreviousNumberValue(this.value);
397
+ this.warnAboutInvalidNumberValue(this.value);
398
+ this.setNumberValue({
399
+ origin: "connected",
400
+ value: isValidNumber(this.value) ? this.value : ""
401
+ });
402
+ this.mutationObserver?.observe(this.el, { childList: true });
403
+ this.setDisabledAction();
404
+ this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
405
+ }
406
+ componentDidLoad() {
407
+ setComponentLoaded(this);
408
+ }
409
+ disconnectedCallback() {
410
+ disconnectLabel(this);
411
+ disconnectForm(this);
412
+ disconnectLocalized(this);
413
+ disconnectMessages(this);
414
+ this.mutationObserver?.disconnect();
415
+ this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
416
+ }
417
+ async componentWillLoad() {
418
+ setUpLoadableComponent(this);
419
+ this.maxString = this.max?.toString();
420
+ this.minString = this.min?.toString();
421
+ this.requestedIcon = setRequestedIcon({}, this.icon, "number");
422
+ await setUpMessages(this);
423
+ }
424
+ componentShouldUpdate(newValue, oldValue, property) {
425
+ if (property === "value" && newValue && !isValidNumber(newValue)) {
426
+ this.setNumberValue({
427
+ origin: "reset",
428
+ value: oldValue
429
+ });
430
+ return false;
431
+ }
432
+ return true;
433
+ }
434
+ componentDidRender() {
435
+ updateHostInteraction(this);
436
+ }
437
+ //--------------------------------------------------------------------------
438
+ //
439
+ // Public Methods
440
+ //
441
+ //--------------------------------------------------------------------------
442
+ /** Sets focus on the component. */
443
+ async setFocus() {
444
+ await componentLoaded(this);
445
+ this.childNumberEl?.focus();
446
+ }
447
+ /** Selects the text of the component's `value`. */
448
+ async selectText() {
449
+ this.childNumberEl?.select();
450
+ }
451
+ onLabelClick() {
452
+ this.setFocus();
453
+ }
454
+ incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
455
+ const { value } = this;
456
+ const adjustment = direction === "up" ? 1 : -1;
457
+ const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
458
+ const inputVal = new BigDecimal(value !== "" ? value : "0");
459
+ const nudgedValue = inputVal.add(`${inputStep * adjustment}`);
460
+ const nudgedValueBelowInputMin = () => typeof inputMin === "number" &&
461
+ !isNaN(inputMin) &&
462
+ nudgedValue.subtract(`${inputMin}`).isNegative;
463
+ const nudgedValueAboveInputMax = () => typeof inputMax === "number" &&
464
+ !isNaN(inputMax) &&
465
+ !nudgedValue.subtract(`${inputMax}`).isNegative;
466
+ const finalValue = nudgedValueBelowInputMin()
467
+ ? `${inputMin}`
468
+ : nudgedValueAboveInputMax()
469
+ ? `${inputMax}`
470
+ : nudgedValue.toString();
471
+ this.setNumberValue({
472
+ committing: true,
473
+ nativeEvent,
474
+ origin: "user",
475
+ value: finalValue
476
+ });
477
+ }
478
+ onFormReset() {
479
+ this.setNumberValue({
480
+ origin: "reset",
481
+ value: this.defaultValue
482
+ });
483
+ }
484
+ syncHiddenFormInput(input) {
485
+ input.type = "number";
486
+ input.min = this.min?.toString(10) ?? "";
487
+ input.max = this.max?.toString(10) ?? "";
488
+ }
489
+ setDisabledAction() {
490
+ const slottedActionEl = getSlotted(this.el, "action");
491
+ if (!slottedActionEl) {
492
+ return;
493
+ }
494
+ if (this.disabled) {
495
+ if (slottedActionEl.getAttribute("disabled") == null) {
496
+ this.slottedActionElDisabledInternally = true;
497
+ }
498
+ slottedActionEl.setAttribute("disabled", "");
499
+ }
500
+ else if (this.slottedActionElDisabledInternally) {
501
+ slottedActionEl.removeAttribute("disabled");
502
+ this.slottedActionElDisabledInternally = false;
503
+ }
504
+ }
505
+ normalizeValue(value) {
506
+ return isValidNumber(value) ? value : "";
507
+ }
508
+ warnAboutInvalidNumberValue(value) {
509
+ if (value && !isValidNumber(value)) {
510
+ console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
511
+ }
512
+ }
513
+ // --------------------------------------------------------------------------
514
+ //
515
+ // Render Methods
516
+ //
517
+ // --------------------------------------------------------------------------
518
+ render() {
519
+ const dir = getElementDir(this.el);
520
+ const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
521
+ const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
522
+ const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
523
+ const isHorizontalNumberButton = this.numberButtonType === "horizontal";
524
+ const numberButtonsHorizontalUp = (h("button", { "aria-hidden": "true", class: {
525
+ [CSS.numberButtonItem]: true,
526
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
527
+ }, "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: this.scale === "l" ? "m" : "s" })));
528
+ const numberButtonsHorizontalDown = (h("button", { "aria-hidden": "true", class: {
529
+ [CSS.numberButtonItem]: true,
530
+ [CSS.buttonItemHorizontal]: isHorizontalNumberButton
531
+ }, "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: this.scale === "l" ? "m" : "s" })));
532
+ const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
533
+ const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
534
+ const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
535
+ const childEl = (h("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.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, type: "text", value: this.localizedValue,
536
+ // eslint-disable-next-line react/jsx-sort-props
537
+ ref: this.setChildNumberElRef }));
538
+ return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
539
+ ? numberButtonsHorizontalDown
540
+ : 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
541
+ ? numberButtonsHorizontalUp
542
+ : null, h(HiddenFormInputSlot, { component: this }))));
543
+ }
544
+ static get assetsDirs() { return ["assets"]; }
545
+ get el() { return this; }
546
+ static get watchers() { return {
547
+ "disabled": ["disabledWatcher"],
548
+ "max": ["maxWatcher"],
549
+ "min": ["minWatcher"],
550
+ "messageOverrides": ["onMessagesChange"],
551
+ "value": ["valueWatcher"],
552
+ "icon": ["updateRequestedIcon"],
553
+ "effectiveLocale": ["effectiveLocaleWatcher"]
554
+ }; }
555
+ static get style() { return inputNumberCss; }
556
+ }, [1, "calcite-input-number", {
557
+ "alignment": [513],
558
+ "autofocus": [516],
559
+ "clearable": [516],
560
+ "disabled": [516],
561
+ "form": [513],
562
+ "groupSeparator": [516, "group-separator"],
563
+ "hidden": [516],
564
+ "icon": [520],
565
+ "iconFlipRtl": [516, "icon-flip-rtl"],
566
+ "label": [1],
567
+ "loading": [516],
568
+ "numberingSystem": [513, "numbering-system"],
569
+ "localeFormat": [4, "locale-format"],
570
+ "max": [514],
571
+ "min": [514],
572
+ "maxLength": [514, "max-length"],
573
+ "minLength": [514, "min-length"],
574
+ "name": [513],
575
+ "numberButtonType": [513, "number-button-type"],
576
+ "placeholder": [1],
577
+ "prefixText": [1, "prefix-text"],
578
+ "readOnly": [516, "read-only"],
579
+ "required": [516],
580
+ "scale": [513],
581
+ "status": [513],
582
+ "step": [520],
583
+ "autocomplete": [1],
584
+ "inputMode": [1, "input-mode"],
585
+ "enterKeyHint": [1, "enter-key-hint"],
586
+ "suffixText": [1, "suffix-text"],
587
+ "editingEnabled": [1540, "editing-enabled"],
588
+ "value": [1025],
589
+ "messages": [1040],
590
+ "messageOverrides": [1040],
591
+ "effectiveLocale": [32],
592
+ "defaultMessages": [32],
593
+ "localizedValue": [32],
594
+ "slottedActionElDisabledInternally": [32],
595
+ "setFocus": [64],
596
+ "selectText": [64]
597
+ }]);
598
+ function defineCustomElement() {
599
+ if (typeof customElements === "undefined") {
600
+ return;
601
+ }
602
+ const components = ["calcite-input-number", "calcite-icon", "calcite-progress"];
603
+ components.forEach(tagName => { switch (tagName) {
604
+ case "calcite-input-number":
605
+ if (!customElements.get(tagName)) {
606
+ customElements.define(tagName, InputNumber);
607
+ }
608
+ break;
609
+ case "calcite-icon":
610
+ if (!customElements.get(tagName)) {
611
+ defineCustomElement$2();
612
+ }
613
+ break;
614
+ case "calcite-progress":
615
+ if (!customElements.get(tagName)) {
616
+ defineCustomElement$1();
617
+ }
618
+ break;
619
+ } });
620
+ }
621
+ defineCustomElement();
622
+
623
+ export { InputNumber as I, defineCustomElement as d };