@esri/calcite-components 1.0.0-beta.95 → 1.0.0-beta.96

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 (1190) hide show
  1. package/dist/calcite/assets/date-picker/nls/messages.json +31 -0
  2. package/dist/calcite/assets/date-picker/t9n/index.d.ts +5 -0
  3. package/dist/calcite/assets/date-picker/t9n/messages.json +5 -0
  4. package/dist/calcite/assets/date-picker/t9n/messages_ar.json +5 -0
  5. package/dist/calcite/assets/date-picker/t9n/messages_bg.json +5 -0
  6. package/dist/calcite/assets/date-picker/t9n/messages_bs.json +5 -0
  7. package/dist/calcite/assets/date-picker/t9n/messages_ca.json +5 -0
  8. package/dist/calcite/assets/date-picker/t9n/messages_cs.json +5 -0
  9. package/dist/calcite/assets/date-picker/t9n/messages_da.json +5 -0
  10. package/dist/calcite/assets/date-picker/t9n/messages_de.json +5 -0
  11. package/dist/calcite/assets/date-picker/t9n/messages_el.json +5 -0
  12. package/dist/calcite/assets/date-picker/t9n/messages_en.json +5 -0
  13. package/dist/calcite/assets/date-picker/t9n/messages_es.json +5 -0
  14. package/dist/calcite/assets/date-picker/t9n/messages_et.json +5 -0
  15. package/dist/calcite/assets/date-picker/t9n/messages_fi.json +5 -0
  16. package/dist/calcite/assets/date-picker/t9n/messages_fr.json +5 -0
  17. package/dist/calcite/assets/date-picker/t9n/messages_he.json +5 -0
  18. package/dist/calcite/assets/date-picker/t9n/messages_hr.json +5 -0
  19. package/dist/calcite/assets/date-picker/t9n/messages_hu.json +5 -0
  20. package/dist/calcite/assets/date-picker/t9n/messages_id.json +5 -0
  21. package/dist/calcite/assets/date-picker/t9n/messages_it.json +5 -0
  22. package/dist/calcite/assets/date-picker/t9n/messages_ja.json +5 -0
  23. package/dist/calcite/assets/date-picker/t9n/messages_ko.json +5 -0
  24. package/dist/calcite/assets/date-picker/t9n/messages_lt.json +5 -0
  25. package/dist/calcite/assets/date-picker/t9n/messages_lv.json +5 -0
  26. package/dist/calcite/assets/date-picker/t9n/messages_nl.json +5 -0
  27. package/dist/calcite/assets/date-picker/t9n/messages_no.json +5 -0
  28. package/dist/calcite/assets/date-picker/t9n/messages_pl.json +5 -0
  29. package/dist/calcite/assets/date-picker/t9n/messages_pt-BR.json +5 -0
  30. package/dist/calcite/assets/date-picker/t9n/messages_pt-PT.json +5 -0
  31. package/dist/calcite/assets/date-picker/t9n/messages_ro.json +5 -0
  32. package/dist/calcite/assets/date-picker/t9n/messages_ru.json +5 -0
  33. package/dist/calcite/assets/date-picker/t9n/messages_sk.json +5 -0
  34. package/dist/calcite/assets/date-picker/t9n/messages_sl.json +5 -0
  35. package/dist/calcite/assets/date-picker/t9n/messages_sr.json +5 -0
  36. package/dist/calcite/assets/date-picker/t9n/messages_sv.json +5 -0
  37. package/dist/calcite/assets/date-picker/t9n/messages_th.json +5 -0
  38. package/dist/calcite/assets/date-picker/t9n/messages_tr.json +5 -0
  39. package/dist/calcite/assets/date-picker/t9n/messages_uk.json +5 -0
  40. package/dist/calcite/assets/date-picker/t9n/messages_vi.json +5 -0
  41. package/dist/calcite/assets/date-picker/t9n/messages_zh-CN.json +5 -0
  42. package/dist/calcite/assets/date-picker/t9n/messages_zh-HK.json +5 -0
  43. package/dist/calcite/assets/date-picker/t9n/messages_zh-TW.json +5 -0
  44. package/dist/calcite/assets/icon/dimensions16.json +1 -0
  45. package/dist/calcite/assets/icon/dimensions24.json +1 -0
  46. package/dist/calcite/assets/icon/dimensions32.json +1 -0
  47. package/dist/calcite/assets/icon/ellipse16.json +1 -0
  48. package/dist/calcite/assets/icon/ellipse24.json +1 -0
  49. package/dist/calcite/assets/icon/ellipse32.json +1 -0
  50. package/dist/calcite/assets/icon/triangle16.json +1 -0
  51. package/dist/calcite/assets/icon/triangle24.json +1 -0
  52. package/dist/calcite/assets/icon/triangle32.json +1 -0
  53. package/dist/calcite/calcite.css +1 -1
  54. package/dist/calcite/calcite.esm.js +2 -2
  55. package/dist/calcite/index.esm.js +1 -1
  56. package/dist/calcite/p-033e56dc.js +6 -0
  57. package/dist/calcite/p-054f9257.entry.js +6 -0
  58. package/dist/calcite/{p-e0cd1e84.js → p-0727a03b.js} +2 -2
  59. package/dist/calcite/{p-510d1337.js → p-08415f4f.js} +2 -2
  60. package/dist/calcite/p-0a364c49.entry.js +6 -0
  61. package/dist/calcite/{p-f4e3dc87.js → p-0b6b6b1b.js} +1 -1
  62. package/dist/calcite/p-0bed1036.entry.js +6 -0
  63. package/dist/calcite/p-1229fa6d.entry.js +6 -0
  64. package/dist/calcite/p-13f17010.js +7 -0
  65. package/dist/calcite/{p-4b823890.js → p-179c1bc9.js} +2 -2
  66. package/dist/calcite/p-18132899.entry.js +6 -0
  67. package/dist/calcite/p-196141d3.entry.js +6 -0
  68. package/dist/calcite/p-1af072c8.entry.js +6 -0
  69. package/dist/calcite/{p-b5326072.js → p-1ca81a06.js} +1 -1
  70. package/dist/calcite/p-210859d3.entry.js +6 -0
  71. package/dist/calcite/p-2a12e026.entry.js +6 -0
  72. package/dist/calcite/p-30d7d4da.entry.js +6 -0
  73. package/dist/calcite/p-30f1f11c.entry.js +6 -0
  74. package/dist/calcite/p-310bf615.entry.js +6 -0
  75. package/dist/calcite/p-37e6c0af.entry.js +6 -0
  76. package/dist/calcite/p-38e8edca.entry.js +6 -0
  77. package/dist/calcite/p-3b128396.entry.js +6 -0
  78. package/dist/calcite/{p-58a40573.js → p-3c892875.js} +1 -1
  79. package/dist/calcite/{p-80a51eb7.js → p-3f192117.js} +1 -1
  80. package/dist/calcite/{p-48bb042f.js → p-40a60ac0.js} +1 -1
  81. package/dist/calcite/p-40ffeac5.entry.js +6 -0
  82. package/dist/calcite/p-423e61e6.js +6 -0
  83. package/dist/calcite/p-43886d77.entry.js +6 -0
  84. package/dist/calcite/{p-af88a01c.js → p-441fba11.js} +1 -1
  85. package/dist/calcite/p-450a89b4.js +6 -0
  86. package/dist/calcite/p-4540d613.entry.js +6 -0
  87. package/dist/calcite/p-483720f0.entry.js +6 -0
  88. package/dist/calcite/{p-3aaffa03.js → p-4c5ac926.js} +1 -1
  89. package/dist/calcite/p-4f2adaaf.js +6 -0
  90. package/dist/calcite/p-51643d9f.entry.js +6 -0
  91. package/dist/calcite/p-52da185f.entry.js +6 -0
  92. package/dist/calcite/p-561f1808.entry.js +6 -0
  93. package/dist/calcite/p-5897d751.entry.js +6 -0
  94. package/dist/calcite/p-598afc72.entry.js +6 -0
  95. package/dist/calcite/p-5b80ddbf.entry.js +6 -0
  96. package/dist/calcite/p-5baaa8ec.entry.js +6 -0
  97. package/dist/calcite/p-600eec01.entry.js +6 -0
  98. package/dist/calcite/p-61ed30ba.entry.js +6 -0
  99. package/dist/calcite/p-6422e887.entry.js +6 -0
  100. package/dist/calcite/p-6af188b5.entry.js +6 -0
  101. package/dist/calcite/p-6edbfe7a.entry.js +6 -0
  102. package/dist/calcite/p-6f703767.entry.js +6 -0
  103. package/dist/calcite/p-7a50deba.js +6 -0
  104. package/dist/calcite/p-810d9179.entry.js +6 -0
  105. package/dist/calcite/p-83cbc6d4.entry.js +6 -0
  106. package/dist/calcite/p-844de364.entry.js +6 -0
  107. package/dist/calcite/p-847da2d2.entry.js +6 -0
  108. package/dist/calcite/{p-bd64d06c.js → p-8cc4679e.js} +1 -1
  109. package/dist/calcite/{p-00abe273.js → p-96a31967.js} +2 -2
  110. package/dist/calcite/p-98b84c0f.entry.js +6 -0
  111. package/dist/calcite/p-a2ab49da.entry.js +6 -0
  112. package/dist/calcite/{p-21116f05.js → p-a44dcb4b.js} +1 -1
  113. package/dist/calcite/p-aa06470a.entry.js +6 -0
  114. package/dist/calcite/p-aa097223.entry.js +6 -0
  115. package/dist/calcite/p-b1228ffa.entry.js +6 -0
  116. package/dist/calcite/p-b41e1e4f.entry.js +6 -0
  117. package/dist/calcite/{p-966679da.js → p-b5ea3e89.js} +1 -1
  118. package/dist/calcite/{p-46fef127.js → p-b6d8d647.js} +1 -1
  119. package/dist/calcite/p-bbcafefb.entry.js +6 -0
  120. package/dist/{esm-es5/index.js → calcite/p-bc3c7799.js} +2 -1
  121. package/dist/calcite/p-bcbf1921.entry.js +6 -0
  122. package/dist/calcite/p-bcc5c668.entry.js +6 -0
  123. package/dist/calcite/p-be2b65ee.entry.js +6 -0
  124. package/dist/calcite/{p-901dc3de.js → p-c02455d4.js} +1 -1
  125. package/dist/calcite/p-c2911c3c.entry.js +6 -0
  126. package/dist/calcite/p-c68538e0.entry.js +6 -0
  127. package/dist/calcite/p-c8e251b9.entry.js +6 -0
  128. package/dist/calcite/p-d17467fd.js +6 -0
  129. package/dist/calcite/p-d30c2118.entry.js +6 -0
  130. package/dist/calcite/p-d8e9053b.entry.js +6 -0
  131. package/dist/calcite/p-de64753f.entry.js +6 -0
  132. package/dist/calcite/p-dfabac33.entry.js +6 -0
  133. package/dist/calcite/p-e101165f.entry.js +6 -0
  134. package/dist/calcite/{p-ef082834.js → p-e39761ae.js} +1 -1
  135. package/dist/calcite/p-e520047a.entry.js +6 -0
  136. package/dist/calcite/p-e724dd06.entry.js +6 -0
  137. package/dist/calcite/p-ee8bba91.js +6 -0
  138. package/dist/calcite/p-f05d0119.entry.js +6 -0
  139. package/dist/calcite/{p-77636ceb.js → p-f56d863e.js} +2 -2
  140. package/dist/calcite/p-f98a4a16.js +6 -0
  141. package/dist/calcite/{p-3053c253.js → p-f9db728c.js} +2 -2
  142. package/dist/calcite/p-fb451108.entry.js +6 -0
  143. package/dist/calcite/p-fb4a87d7.entry.js +6 -0
  144. package/dist/calcite/p-fdbc1a87.entry.js +6 -0
  145. package/dist/cjs/{ExpandToggle-d10914db.js → ExpandToggle-fc7bbe3d.js} +5 -5
  146. package/dist/cjs/{Heading-1d94663a.js → Heading-22395b92.js} +2 -2
  147. package/dist/cjs/{app-globals-843f6f1d.js → app-globals-6606611f.js} +2 -2
  148. package/dist/cjs/{array-7de7f400.js → array-e3bb210b.js} +1 -1
  149. package/dist/cjs/calcite-accordion_2.cjs.entry.js +14 -14
  150. package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
  151. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  152. package/dist/cjs/calcite-action-menu.cjs.entry.js +41 -42
  153. package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
  154. package/dist/cjs/calcite-action.cjs.entry.js +13 -13
  155. package/dist/cjs/calcite-alert.cjs.entry.js +25 -13
  156. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  157. package/dist/cjs/calcite-block_2.cjs.entry.js +33 -30
  158. package/dist/cjs/calcite-button.cjs.entry.js +30 -24
  159. package/dist/cjs/calcite-card.cjs.entry.js +15 -14
  160. package/dist/cjs/calcite-checkbox.cjs.entry.js +19 -17
  161. package/dist/cjs/calcite-chip.cjs.entry.js +17 -17
  162. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +62 -59
  163. package/dist/cjs/calcite-combobox_3.cjs.entry.js +60 -47
  164. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +46 -33
  165. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +44 -31
  166. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  167. package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
  168. package/dist/cjs/calcite-flow-item.cjs.entry.js +24 -18
  169. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  170. package/dist/cjs/calcite-graph_2.cjs.entry.js +88 -61
  171. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  172. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  173. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
  174. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +112 -60
  175. package/dist/cjs/calcite-input-message.cjs.entry.js +14 -9
  176. package/dist/cjs/calcite-input-number.cjs.entry.js +70 -45
  177. package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
  178. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +155 -93
  179. package/dist/cjs/calcite-input.cjs.entry.js +89 -64
  180. package/dist/cjs/calcite-label.cjs.entry.js +16 -16
  181. package/dist/cjs/calcite-link.cjs.entry.js +9 -9
  182. package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
  183. package/dist/cjs/calcite-loader.cjs.entry.js +12 -7
  184. package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
  185. package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
  186. package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
  187. package/dist/cjs/calcite-pagination.cjs.entry.js +20 -13
  188. package/dist/cjs/calcite-panel.cjs.entry.js +33 -32
  189. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -27
  190. package/dist/cjs/calcite-popover_2.cjs.entry.js +56 -41
  191. package/dist/cjs/calcite-progress.cjs.entry.js +10 -5
  192. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -7
  193. package/dist/cjs/calcite-radio-button.cjs.entry.js +14 -14
  194. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +17 -17
  195. package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
  196. package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
  197. package/dist/cjs/calcite-shell_3.cjs.entry.js +23 -17
  198. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  199. package/dist/cjs/calcite-split-button.cjs.entry.js +10 -8
  200. package/dist/cjs/calcite-stepper_2.cjs.entry.js +48 -20
  201. package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
  202. package/dist/cjs/calcite-tab_4.cjs.entry.js +22 -27
  203. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +13 -13
  204. package/dist/cjs/calcite-tile.cjs.entry.js +13 -13
  205. package/dist/cjs/calcite-tip_3.cjs.entry.js +15 -15
  206. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +38 -23
  207. package/dist/cjs/calcite-tree_2.cjs.entry.js +141 -90
  208. package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -25
  209. package/dist/cjs/calcite.cjs.js +6 -6
  210. package/dist/cjs/{conditionalSlot-ffff1ba2.js → conditionalSlot-99e51afe.js} +3 -3
  211. package/dist/cjs/{debounce-3f8af6d8.js → debounce-1ad9c9c5.js} +1 -1
  212. package/dist/cjs/{dom-df1903f9.js → dom-fdaf919a.js} +41 -3
  213. package/dist/cjs/{filter-a0274ec6.js → filter-edd10f6d.js} +3 -4
  214. package/dist/cjs/{floating-ui-99430551.js → floating-ui-84635bb5.js} +175 -23
  215. package/dist/cjs/{form-53eb189e.js → form-9e23e659.js} +3 -3
  216. package/dist/cjs/{guid-9ba07df0.js → guid-ba414ece.js} +1 -1
  217. package/dist/cjs/{index-bbc26bc6.js → index-89b75f9d.js} +1117 -946
  218. package/dist/cjs/index.cjs.js +1 -1
  219. package/dist/cjs/{interactive-b210765f.js → interactive-9891c7ff.js} +1 -1
  220. package/dist/cjs/{interfaces-43537378.js → interfaces-70afd954.js} +1 -1
  221. package/dist/cjs/{key-7c8bf01a.js → key-08efaede.js} +1 -1
  222. package/dist/cjs/{label-a586ee40.js → label-fd565fe7.js} +2 -2
  223. package/dist/cjs/loader.cjs.js +6 -6
  224. package/dist/cjs/locale-89bd7314.js +414 -0
  225. package/dist/cjs/{math-8f7af178.js → math-12e520d7.js} +1 -1
  226. package/dist/cjs/nonChromiumPlatformUtils-ef072a2b.js +506 -0
  227. package/dist/cjs/observers-b15136c8.js +48 -0
  228. package/dist/cjs/{openCloseComponent-b884b722.js → openCloseComponent-2d4454a1.js} +1 -1
  229. package/dist/cjs/{resources-aa8679e5.js → resources-09d49437.js} +1 -1
  230. package/dist/cjs/{resources-dd0bf97d.js → resources-4a9729ee.js} +1 -1
  231. package/dist/cjs/{resources-c25710c9.js → resources-713e13b0.js} +1 -1
  232. package/dist/cjs/{resources-6f839761.js → resources-e0dc19ba.js} +1 -1
  233. package/dist/cjs/{resources-ec998c3c.js → resources-e0e028db.js} +12 -70
  234. package/dist/cjs/{resources-c61ea826.js → resources-f315ffb3.js} +5 -5
  235. package/dist/cjs/{sortable.esm-6707f3f9.js → sortable.esm-5aaf8877.js} +1 -1
  236. package/dist/cjs/{utils-2cc96bc6.js → utils-1369197b.js} +1 -1
  237. package/dist/collection/collection-manifest.json +2 -2
  238. package/dist/collection/components/accordion/accordion.js +162 -153
  239. package/dist/collection/components/accordion/interfaces.js +0 -5
  240. package/dist/collection/components/accordion-item/accordion-item.js +304 -308
  241. package/dist/collection/components/accordion-item/interfaces.js +0 -5
  242. package/dist/collection/components/accordion-item/resources.js +1 -1
  243. package/dist/collection/components/action/action.css +1 -1
  244. package/dist/collection/components/action/action.js +298 -295
  245. package/dist/collection/components/action/resources.js +1 -1
  246. package/dist/collection/components/action-bar/action-bar.js +241 -234
  247. package/dist/collection/components/action-bar/resources.js +1 -1
  248. package/dist/collection/components/action-bar/utils.js +1 -1
  249. package/dist/collection/components/action-group/action-group.css +1 -1
  250. package/dist/collection/components/action-group/action-group.js +138 -135
  251. package/dist/collection/components/action-group/resources.js +1 -1
  252. package/dist/collection/components/action-menu/action-menu.js +250 -241
  253. package/dist/collection/components/action-menu/resources.js +1 -1
  254. package/dist/collection/components/action-pad/action-pad.js +198 -191
  255. package/dist/collection/components/action-pad/resources.js +1 -1
  256. package/dist/collection/components/alert/alert.css +1 -1
  257. package/dist/collection/components/alert/alert.js +413 -376
  258. package/dist/collection/components/alert/interfaces.js +1 -1
  259. package/dist/collection/components/alert/resources.js +1 -1
  260. package/dist/collection/components/avatar/avatar.js +107 -99
  261. package/dist/collection/components/avatar/utils.js +1 -1
  262. package/dist/collection/components/block/block.css +7 -0
  263. package/dist/collection/components/block/block.js +332 -339
  264. package/dist/collection/components/block/resources.js +3 -2
  265. package/dist/collection/components/block-section/block-section.js +150 -150
  266. package/dist/collection/components/block-section/interfaces.js +0 -5
  267. package/dist/collection/components/block-section/resources.js +1 -1
  268. package/dist/collection/components/button/button.js +458 -437
  269. package/dist/collection/components/button/interfaces.js +0 -5
  270. package/dist/collection/components/button/resources.js +1 -1
  271. package/dist/collection/components/card/card.js +181 -188
  272. package/dist/collection/components/card/resources.js +1 -1
  273. package/dist/collection/components/checkbox/checkbox.css +1 -1
  274. package/dist/collection/components/checkbox/checkbox.js +280 -270
  275. package/dist/collection/components/chip/chip.js +266 -261
  276. package/dist/collection/components/chip/interfaces.js +0 -5
  277. package/dist/collection/components/chip/resources.js +1 -1
  278. package/dist/collection/components/color-picker/color-picker.js +821 -817
  279. package/dist/collection/components/color-picker/interfaces.js +0 -5
  280. package/dist/collection/components/color-picker/resources.js +1 -1
  281. package/dist/collection/components/color-picker/utils.js +1 -1
  282. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +195 -178
  283. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  284. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +83 -77
  285. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  286. package/dist/collection/components/combobox/combobox.css +1 -2
  287. package/dist/collection/components/combobox/combobox.js +595 -576
  288. package/dist/collection/components/combobox/interfaces.js +0 -5
  289. package/dist/collection/components/combobox/resources.js +1 -1
  290. package/dist/collection/components/combobox/utils.js +1 -1
  291. package/dist/collection/components/combobox-item/combobox-item.js +247 -239
  292. package/dist/collection/components/combobox-item/resources.js +1 -1
  293. package/dist/collection/components/combobox-item-group/combobox-item-group.js +50 -47
  294. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  295. package/dist/collection/components/date-picker/assets/date-picker/nls/messages.json +31 -0
  296. package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  297. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages.json +5 -0
  298. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ar.json +5 -0
  299. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +5 -0
  300. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +5 -0
  301. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +5 -0
  302. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +5 -0
  303. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +5 -0
  304. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +5 -0
  305. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +5 -0
  306. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_en.json +5 -0
  307. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +5 -0
  308. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +5 -0
  309. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +5 -0
  310. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +5 -0
  311. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +5 -0
  312. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +5 -0
  313. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +5 -0
  314. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +5 -0
  315. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +5 -0
  316. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +5 -0
  317. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +5 -0
  318. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +5 -0
  319. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +5 -0
  320. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +5 -0
  321. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +5 -0
  322. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +5 -0
  323. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +5 -0
  324. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +5 -0
  325. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +5 -0
  326. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +5 -0
  327. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +5 -0
  328. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +5 -0
  329. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +5 -0
  330. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +5 -0
  331. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +5 -0
  332. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +5 -0
  333. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +5 -0
  334. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +5 -0
  335. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +5 -0
  336. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +5 -0
  337. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +5 -0
  338. package/dist/collection/components/date-picker/date-picker.js +494 -447
  339. package/dist/collection/components/date-picker/interfaces.js +0 -5
  340. package/dist/collection/components/date-picker/resources.js +1 -1
  341. package/dist/collection/components/date-picker/utils.js +2 -22
  342. package/dist/collection/components/date-picker-day/date-picker-day.css +48 -24
  343. package/dist/collection/components/date-picker-day/date-picker-day.js +268 -284
  344. package/dist/collection/components/date-picker-month/date-picker-month.js +257 -250
  345. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +3 -9
  346. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +237 -234
  347. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  348. package/dist/collection/components/dropdown/dropdown.css +0 -1
  349. package/dist/collection/components/dropdown/dropdown.js +460 -430
  350. package/dist/collection/components/dropdown/interfaces.js +0 -5
  351. package/dist/collection/components/dropdown/resources.js +1 -1
  352. package/dist/collection/components/dropdown-group/dropdown-group.js +113 -107
  353. package/dist/collection/components/dropdown-group/interfaces.js +0 -5
  354. package/dist/collection/components/dropdown-group/resources.js +1 -1
  355. package/dist/collection/components/dropdown-item/dropdown-item.js +292 -282
  356. package/dist/collection/components/dropdown-item/resources.js +1 -1
  357. package/dist/collection/components/fab/fab.js +205 -197
  358. package/dist/collection/components/fab/resources.js +1 -1
  359. package/dist/collection/components/filter/filter.js +200 -191
  360. package/dist/collection/components/filter/resources.js +1 -1
  361. package/dist/collection/components/flow/flow.js +55 -46
  362. package/dist/collection/components/flow/interfaces.js +0 -5
  363. package/dist/collection/components/flow/resources.js +1 -1
  364. package/dist/collection/components/flow-item/flow-item.js +419 -395
  365. package/dist/collection/components/flow-item/resources.js +1 -1
  366. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  367. package/dist/collection/components/functional/Heading.js +1 -1
  368. package/dist/collection/components/graph/graph.js +125 -125
  369. package/dist/collection/components/graph/interfaces.js +0 -5
  370. package/dist/collection/components/graph/util.js +1 -1
  371. package/dist/collection/components/handle/handle.css +1 -1
  372. package/dist/collection/components/handle/handle.js +94 -85
  373. package/dist/collection/components/handle/resources.js +1 -1
  374. package/dist/collection/components/icon/assets/icon/dimensions16.json +1 -0
  375. package/dist/collection/components/icon/assets/icon/dimensions24.json +1 -0
  376. package/dist/collection/components/icon/assets/icon/dimensions32.json +1 -0
  377. package/dist/collection/components/icon/assets/icon/ellipse16.json +1 -0
  378. package/dist/collection/components/icon/assets/icon/ellipse24.json +1 -0
  379. package/dist/collection/components/icon/assets/icon/ellipse32.json +1 -0
  380. package/dist/collection/components/icon/assets/icon/triangle16.json +1 -0
  381. package/dist/collection/components/icon/assets/icon/triangle24.json +1 -0
  382. package/dist/collection/components/icon/assets/icon/triangle32.json +1 -0
  383. package/dist/collection/components/icon/icon.js +107 -98
  384. package/dist/collection/components/icon/resources.js +1 -1
  385. package/dist/collection/components/icon/utils.js +1 -1
  386. package/dist/collection/components/inline-editable/inline-editable.js +274 -266
  387. package/dist/collection/components/inline-editable/resources.js +1 -1
  388. package/dist/collection/components/input/input.css +5 -0
  389. package/dist/collection/components/input/input.js +882 -862
  390. package/dist/collection/components/input/interfaces.js +0 -5
  391. package/dist/collection/components/input/resources.js +1 -1
  392. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -2
  393. package/dist/collection/components/input-date-picker/input-date-picker.js +896 -812
  394. package/dist/collection/components/input-date-picker/resources.js +1 -1
  395. package/dist/collection/components/input-message/input-message.css +7 -17
  396. package/dist/collection/components/input-message/input-message.js +135 -118
  397. package/dist/collection/components/input-message/interfaces.js +1 -1
  398. package/dist/collection/components/input-number/input-number.css +1 -20
  399. package/dist/collection/components/input-number/input-number.js +818 -796
  400. package/dist/collection/components/input-number/interfaces.js +0 -5
  401. package/dist/collection/components/input-number/resources.js +1 -1
  402. package/dist/collection/components/input-text/input-text.css +1 -20
  403. package/dist/collection/components/input-text/input-text.js +602 -603
  404. package/dist/collection/components/input-text/resources.js +1 -1
  405. package/dist/collection/components/input-time-picker/input-time-picker.js +671 -583
  406. package/dist/collection/components/interfaces.js +0 -5
  407. package/dist/collection/components/label/label.css +1 -1
  408. package/dist/collection/components/label/label.js +189 -183
  409. package/dist/collection/components/label/resources.js +1 -1
  410. package/dist/collection/components/link/link.js +186 -180
  411. package/dist/collection/components/list/list.js +76 -70
  412. package/dist/collection/components/list/resources.js +1 -1
  413. package/dist/collection/components/list-item/list-item.js +109 -113
  414. package/dist/collection/components/list-item/resources.js +1 -1
  415. package/dist/collection/components/list-item-group/list-item-group.js +54 -51
  416. package/dist/collection/components/list-item-group/resources.js +1 -1
  417. package/dist/collection/components/loader/loader.css +3 -10
  418. package/dist/collection/components/loader/loader.js +173 -165
  419. package/dist/collection/components/modal/interfaces.js +0 -5
  420. package/dist/collection/components/modal/modal.js +478 -481
  421. package/dist/collection/components/modal/resources.js +1 -1
  422. package/dist/collection/components/notice/notice.js +269 -267
  423. package/dist/collection/components/notice/resources.js +1 -1
  424. package/dist/collection/components/option/option.js +118 -108
  425. package/dist/collection/components/option-group/option-group.js +81 -73
  426. package/dist/collection/components/pagination/pagination.js +266 -258
  427. package/dist/collection/components/pagination/resources.js +1 -1
  428. package/dist/collection/components/panel/panel.css +1 -1
  429. package/dist/collection/components/panel/panel.js +557 -563
  430. package/dist/collection/components/panel/resources.js +1 -1
  431. package/dist/collection/components/pick-list/pick-list.js +255 -241
  432. package/dist/collection/components/pick-list/resources.js +1 -1
  433. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  434. package/dist/collection/components/pick-list/shared-list-render.js +2 -9
  435. package/dist/collection/components/pick-list-group/pick-list-group.js +54 -52
  436. package/dist/collection/components/pick-list-group/resources.js +1 -1
  437. package/dist/collection/components/pick-list-item/pick-list-item.js +354 -352
  438. package/dist/collection/components/pick-list-item/resources.js +1 -1
  439. package/dist/collection/components/popover/PopoverManager.js +5 -2
  440. package/dist/collection/components/popover/popover.css +0 -1
  441. package/dist/collection/components/popover/popover.js +586 -562
  442. package/dist/collection/components/popover/resources.js +1 -1
  443. package/dist/collection/components/popover-manager/popover-manager.js +60 -52
  444. package/dist/collection/components/progress/progress.js +112 -104
  445. package/dist/collection/components/radio-button/radio-button.js +348 -337
  446. package/dist/collection/components/radio-button/resources.js +1 -1
  447. package/dist/collection/components/radio-button-group/radio-button-group.js +171 -160
  448. package/dist/collection/components/radio-group/interfaces.js +0 -5
  449. package/dist/collection/components/radio-group/radio-group.js +256 -244
  450. package/dist/collection/components/radio-group-item/radio-group-item.js +179 -176
  451. package/dist/collection/components/radio-group-item/resources.js +1 -1
  452. package/dist/collection/components/rating/rating.js +276 -277
  453. package/dist/collection/components/rating/resources.js +1 -1
  454. package/dist/collection/components/scrim/resources.js +1 -1
  455. package/dist/collection/components/scrim/scrim.js +57 -54
  456. package/dist/collection/components/select/resources.js +1 -1
  457. package/dist/collection/components/select/select.js +228 -219
  458. package/dist/collection/components/shell/resources.js +1 -1
  459. package/dist/collection/components/shell/shell.js +38 -43
  460. package/dist/collection/components/shell-center-row/resources.js +1 -1
  461. package/dist/collection/components/shell-center-row/shell-center-row.js +80 -76
  462. package/dist/collection/components/shell-panel/resources.js +1 -1
  463. package/dist/collection/components/shell-panel/shell-panel.js +194 -180
  464. package/dist/collection/components/slider/resources.js +1 -1
  465. package/dist/collection/components/slider/slider.js +643 -658
  466. package/dist/collection/components/sortable-list/resources.js +1 -1
  467. package/dist/collection/components/sortable-list/sortable-list.js +153 -142
  468. package/dist/collection/components/split-button/resources.js +1 -1
  469. package/dist/collection/components/split-button/split-button.js +366 -360
  470. package/dist/collection/components/stepper/interfaces.js +0 -5
  471. package/dist/collection/components/stepper/stepper.js +270 -236
  472. package/dist/collection/components/stepper-item/stepper-item.js +436 -400
  473. package/dist/collection/components/switch/switch.js +190 -182
  474. package/dist/collection/components/tab/interfaces.js +0 -5
  475. package/dist/collection/components/tab/tab.css +4 -2
  476. package/dist/collection/components/tab/tab.js +194 -181
  477. package/dist/collection/components/tab-nav/tab-nav.js +285 -275
  478. package/dist/collection/components/tab-title/tab-title.js +468 -456
  479. package/dist/collection/components/tabs/interfaces.js +0 -5
  480. package/dist/collection/components/tabs/resources.js +1 -1
  481. package/dist/collection/components/tabs/tabs.js +134 -132
  482. package/dist/collection/components/tile/resources.js +1 -1
  483. package/dist/collection/components/tile/tile.js +174 -178
  484. package/dist/collection/components/tile-select/interfaces.js +0 -5
  485. package/dist/collection/components/tile-select/resources.js +1 -1
  486. package/dist/collection/components/tile-select/tile-select.css +1 -0
  487. package/dist/collection/components/tile-select/tile-select.js +352 -338
  488. package/dist/collection/components/tile-select-group/interfaces.js +0 -5
  489. package/dist/collection/components/tile-select-group/tile-select-group.js +57 -51
  490. package/dist/collection/components/time-picker/resources.js +1 -1
  491. package/dist/collection/components/time-picker/time-picker.js +575 -550
  492. package/dist/collection/components/tip/resources.js +1 -1
  493. package/dist/collection/components/tip/tip.js +145 -146
  494. package/dist/collection/components/tip-group/tip-group.js +33 -27
  495. package/dist/collection/components/tip-manager/resources.js +1 -1
  496. package/dist/collection/components/tip-manager/tip-manager.js +226 -222
  497. package/dist/collection/components/tooltip/TooltipManager.js +6 -1
  498. package/dist/collection/components/tooltip/resources.js +1 -1
  499. package/dist/collection/components/tooltip/tooltip.css +0 -1
  500. package/dist/collection/components/tooltip/tooltip.js +252 -225
  501. package/dist/collection/components/tooltip-manager/tooltip-manager.js +38 -32
  502. package/dist/collection/components/tree/interfaces.js +1 -1
  503. package/dist/collection/components/tree/tree.js +278 -245
  504. package/dist/collection/components/tree/utils.js +21 -0
  505. package/dist/collection/components/tree-item/interfaces.js +0 -5
  506. package/dist/collection/components/tree-item/resources.js +1 -1
  507. package/dist/collection/components/tree-item/tree-item.css +17 -3
  508. package/dist/collection/components/tree-item/tree-item.js +306 -273
  509. package/dist/collection/components/value-list/interfaces.js +0 -5
  510. package/dist/collection/components/value-list/resources.js +1 -1
  511. package/dist/collection/components/value-list/utils.js +1 -1
  512. package/dist/collection/components/value-list/value-list.js +348 -334
  513. package/dist/collection/components/value-list-item/resources.js +1 -1
  514. package/dist/collection/components/value-list-item/value-list-item.css +1 -2
  515. package/dist/collection/components/value-list-item/value-list-item.js +286 -279
  516. package/dist/collection/demos/_assets/demo-dom-swapper.js +45 -0
  517. package/dist/collection/demos/_assets/demo-form.js +22 -0
  518. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  519. package/dist/collection/demos/_assets/demo-template.js +24 -0
  520. package/dist/collection/demos/_assets/head.js +48 -0
  521. package/dist/collection/demos/_assets/locales.js +223 -0
  522. package/dist/collection/utils/array.js +1 -1
  523. package/dist/collection/utils/conditionalSlot.js +1 -1
  524. package/dist/collection/utils/config.js +22 -0
  525. package/dist/collection/utils/date.js +3 -38
  526. package/dist/collection/utils/dom.js +37 -1
  527. package/dist/collection/utils/filter.js +2 -3
  528. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +496 -0
  529. package/dist/collection/utils/floating-ui.js +123 -12
  530. package/dist/collection/utils/form.js +1 -1
  531. package/dist/collection/utils/globalAttributes.js +1 -1
  532. package/dist/collection/utils/globalScript.js +1 -1
  533. package/dist/collection/utils/guid.js +1 -1
  534. package/dist/collection/utils/interactive.js +1 -1
  535. package/dist/collection/utils/key.js +1 -1
  536. package/dist/collection/utils/label.js +1 -1
  537. package/dist/collection/utils/locale.js +199 -64
  538. package/dist/collection/utils/math.js +1 -1
  539. package/dist/collection/utils/number.js +36 -31
  540. package/dist/collection/utils/observers.js +31 -7
  541. package/dist/collection/utils/openCloseComponent.js +1 -1
  542. package/dist/collection/utils/resources.js +1 -1
  543. package/dist/collection/utils/t9n.js +110 -0
  544. package/dist/collection/utils/theme.js +1 -1
  545. package/dist/collection/utils/time.js +16 -14
  546. package/dist/components/ExpandToggle.js +1 -1
  547. package/dist/components/Heading.js +1 -1
  548. package/dist/components/action-group.js +4 -4
  549. package/dist/components/action-menu.js +35 -36
  550. package/dist/components/action.js +8 -8
  551. package/dist/components/array.js +1 -1
  552. package/dist/components/button.js +23 -17
  553. package/dist/components/calcite-accordion-item.js +5 -5
  554. package/dist/components/calcite-accordion.js +4 -4
  555. package/dist/components/calcite-action-bar.js +6 -6
  556. package/dist/components/calcite-action-group.js +1 -1
  557. package/dist/components/calcite-action-menu.js +1 -1
  558. package/dist/components/calcite-action-pad.js +4 -4
  559. package/dist/components/calcite-action.js +1 -1
  560. package/dist/components/calcite-alert.js +19 -7
  561. package/dist/components/calcite-avatar.js +2 -2
  562. package/dist/components/calcite-block-section.js +8 -6
  563. package/dist/components/calcite-block.js +17 -16
  564. package/dist/components/calcite-button.js +1 -1
  565. package/dist/components/calcite-card.js +9 -8
  566. package/dist/components/calcite-checkbox.js +1 -1
  567. package/dist/components/calcite-chip.js +1 -1
  568. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  569. package/dist/components/calcite-color-picker-swatch.js +1 -1
  570. package/dist/components/calcite-color-picker.js +44 -39
  571. package/dist/components/calcite-combobox-item-group.js +2 -2
  572. package/dist/components/calcite-combobox-item.js +8 -6
  573. package/dist/components/calcite-combobox.js +42 -31
  574. package/dist/components/calcite-date-picker-day.js +1 -1
  575. package/dist/components/calcite-date-picker-month-header.js +1 -1
  576. package/dist/components/calcite-date-picker-month.js +1 -1
  577. package/dist/components/calcite-date-picker.js +1 -1
  578. package/dist/components/calcite-dropdown-group.js +2 -2
  579. package/dist/components/calcite-dropdown-item.js +2 -2
  580. package/dist/components/calcite-dropdown.js +1 -1
  581. package/dist/components/calcite-fab.js +3 -3
  582. package/dist/components/calcite-filter.js +1 -1
  583. package/dist/components/calcite-flow-item.js +18 -12
  584. package/dist/components/calcite-flow.js +2 -2
  585. package/dist/components/calcite-graph.js +1 -1
  586. package/dist/components/calcite-handle.js +1 -1
  587. package/dist/components/calcite-icon.js +1 -1
  588. package/dist/components/calcite-inline-editable.js +2 -2
  589. package/dist/components/calcite-input-date-picker.js +106 -52
  590. package/dist/components/calcite-input-message.js +10 -5
  591. package/dist/components/calcite-input-number.js +53 -28
  592. package/dist/components/calcite-input-text.js +10 -10
  593. package/dist/components/calcite-input-time-picker.js +83 -35
  594. package/dist/components/calcite-input.js +1 -1
  595. package/dist/components/calcite-label.js +1 -1
  596. package/dist/components/calcite-link.js +1 -1
  597. package/dist/components/calcite-list-item-group.js +2 -2
  598. package/dist/components/calcite-list-item.js +4 -4
  599. package/dist/components/calcite-list.js +3 -3
  600. package/dist/components/calcite-loader.js +1 -1
  601. package/dist/components/calcite-modal.js +11 -11
  602. package/dist/components/calcite-notice.js +8 -8
  603. package/dist/components/calcite-option-group.js +3 -3
  604. package/dist/components/calcite-option.js +3 -3
  605. package/dist/components/calcite-pagination.js +15 -11
  606. package/dist/components/calcite-panel.js +1 -1
  607. package/dist/components/calcite-pick-list-group.js +2 -2
  608. package/dist/components/calcite-pick-list-item.js +1 -1
  609. package/dist/components/calcite-pick-list.js +8 -8
  610. package/dist/components/calcite-popover-manager.js +2 -2
  611. package/dist/components/calcite-popover.js +1 -1
  612. package/dist/components/calcite-progress.js +1 -1
  613. package/dist/components/calcite-radio-button-group.js +5 -5
  614. package/dist/components/calcite-radio-button.js +7 -7
  615. package/dist/components/calcite-radio-group-item.js +6 -6
  616. package/dist/components/calcite-radio-group.js +5 -5
  617. package/dist/components/calcite-rating.js +8 -8
  618. package/dist/components/calcite-scrim.js +1 -1
  619. package/dist/components/calcite-select.js +5 -5
  620. package/dist/components/calcite-shell-center-row.js +4 -4
  621. package/dist/components/calcite-shell-panel.js +13 -7
  622. package/dist/components/calcite-shell.js +2 -2
  623. package/dist/components/calcite-slider.js +79 -53
  624. package/dist/components/calcite-sortable-list.js +2 -2
  625. package/dist/components/calcite-split-button.js +8 -6
  626. package/dist/components/calcite-stepper-item.js +39 -12
  627. package/dist/components/calcite-stepper.js +5 -4
  628. package/dist/components/calcite-switch.js +1 -1
  629. package/dist/components/calcite-tab-nav.js +1 -1
  630. package/dist/components/calcite-tab-title.js +1 -1
  631. package/dist/components/calcite-tab.js +1 -1
  632. package/dist/components/calcite-tabs.js +1 -1
  633. package/dist/components/calcite-tile-select-group.js +4 -4
  634. package/dist/components/calcite-tile-select.js +8 -8
  635. package/dist/components/calcite-tile.js +1 -1
  636. package/dist/components/calcite-time-picker.js +1 -1
  637. package/dist/components/calcite-tip-group.js +2 -2
  638. package/dist/components/calcite-tip-manager.js +3 -3
  639. package/dist/components/calcite-tip.js +5 -5
  640. package/dist/components/calcite-tooltip-manager.js +2 -2
  641. package/dist/components/calcite-tooltip.js +1 -1
  642. package/dist/components/calcite-tree-item.js +21 -9
  643. package/dist/components/calcite-tree.js +118 -78
  644. package/dist/components/calcite-value-list-item.js +6 -6
  645. package/dist/components/calcite-value-list.js +9 -9
  646. package/dist/components/checkbox.js +11 -9
  647. package/dist/components/chip.js +11 -11
  648. package/dist/components/color-picker-hex-input.js +8 -10
  649. package/dist/components/color-picker-swatch.js +4 -4
  650. package/dist/components/conditionalSlot.js +1 -1
  651. package/dist/components/date-picker-day.js +5 -8
  652. package/dist/components/date-picker-month-header.js +13 -11
  653. package/dist/components/date-picker-month.js +4 -4
  654. package/dist/components/date-picker.js +25 -28
  655. package/dist/components/date.js +5 -39
  656. package/dist/components/debounce.js +1 -1
  657. package/dist/components/dom.js +38 -2
  658. package/dist/components/dropdown.js +35 -23
  659. package/dist/components/filter.js +2 -2
  660. package/dist/components/filter2.js +2 -3
  661. package/dist/components/floating-ui.js +181 -22
  662. package/dist/components/form.js +2 -2
  663. package/dist/components/graph.js +2 -2
  664. package/dist/components/guid.js +1 -1
  665. package/dist/components/handle.js +2 -2
  666. package/dist/components/icon.js +2 -2
  667. package/dist/components/index.js +1 -1
  668. package/dist/components/input.js +72 -47
  669. package/dist/components/interactive.js +1 -1
  670. package/dist/components/interfaces.js +1 -1
  671. package/dist/components/interfaces2.js +1 -1
  672. package/dist/components/key.js +1 -1
  673. package/dist/components/label.js +11 -11
  674. package/dist/components/label2.js +2 -2
  675. package/dist/components/link.js +6 -6
  676. package/dist/components/loader.js +10 -5
  677. package/dist/components/locale.js +403 -0
  678. package/dist/components/math.js +1 -1
  679. package/dist/components/nonChromiumPlatformUtils.js +498 -0
  680. package/dist/components/observers.js +31 -7
  681. package/dist/components/openCloseComponent.js +1 -1
  682. package/dist/components/panel.js +24 -23
  683. package/dist/components/pick-list-item.js +8 -8
  684. package/dist/components/popover.js +47 -33
  685. package/dist/components/progress.js +9 -4
  686. package/dist/components/resources.js +1 -1
  687. package/dist/components/resources2.js +1 -1
  688. package/dist/components/resources3.js +1 -1
  689. package/dist/components/scrim.js +3 -3
  690. package/dist/components/shared-list-render.js +1 -1
  691. package/dist/components/sortable.esm.js +1 -1
  692. package/dist/components/switch.js +6 -6
  693. package/dist/components/tab-nav.js +3 -3
  694. package/dist/components/tab-title.js +6 -6
  695. package/dist/components/tab.js +6 -6
  696. package/dist/components/tabs.js +5 -10
  697. package/dist/components/tile.js +6 -6
  698. package/dist/components/time-picker.js +56 -39
  699. package/dist/components/tooltip.js +33 -19
  700. package/dist/components/utils.js +1 -1
  701. package/dist/components/utils2.js +2 -2
  702. package/dist/esm/{ExpandToggle-51cda39f.js → ExpandToggle-947164fe.js} +5 -5
  703. package/dist/esm/{Heading-3a6ae137.js → Heading-257e631d.js} +2 -2
  704. package/dist/esm/{app-globals-8ea1c0e3.js → app-globals-5b11622a.js} +2 -2
  705. package/dist/esm/{array-2db27e14.js → array-1589fdff.js} +1 -1
  706. package/dist/esm/calcite-accordion_2.entry.js +14 -14
  707. package/dist/esm/calcite-action-bar.entry.js +14 -14
  708. package/dist/esm/calcite-action-group.entry.js +12 -12
  709. package/dist/esm/calcite-action-menu.entry.js +41 -42
  710. package/dist/esm/calcite-action-pad.entry.js +13 -13
  711. package/dist/esm/calcite-action.entry.js +13 -13
  712. package/dist/esm/calcite-alert.entry.js +25 -13
  713. package/dist/esm/calcite-avatar.entry.js +7 -7
  714. package/dist/esm/calcite-block_2.entry.js +33 -30
  715. package/dist/esm/calcite-button.entry.js +30 -24
  716. package/dist/esm/calcite-card.entry.js +15 -14
  717. package/dist/esm/calcite-checkbox.entry.js +19 -17
  718. package/dist/esm/calcite-chip.entry.js +17 -17
  719. package/dist/esm/calcite-color-picker_3.entry.js +62 -59
  720. package/dist/esm/calcite-combobox_3.entry.js +60 -47
  721. package/dist/esm/calcite-date-picker_4.entry.js +46 -33
  722. package/dist/esm/calcite-dropdown_3.entry.js +44 -31
  723. package/dist/esm/calcite-fab.entry.js +8 -8
  724. package/dist/esm/calcite-filter.entry.js +9 -9
  725. package/dist/esm/calcite-flow-item.entry.js +24 -18
  726. package/dist/esm/calcite-flow.entry.js +4 -4
  727. package/dist/esm/calcite-graph_2.entry.js +88 -61
  728. package/dist/esm/calcite-handle.entry.js +6 -6
  729. package/dist/esm/calcite-icon.entry.js +7 -7
  730. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  731. package/dist/esm/calcite-input-date-picker.entry.js +112 -60
  732. package/dist/esm/calcite-input-message.entry.js +14 -9
  733. package/dist/esm/calcite-input-number.entry.js +61 -36
  734. package/dist/esm/calcite-input-text.entry.js +18 -18
  735. package/dist/esm/calcite-input-time-picker_2.entry.js +139 -77
  736. package/dist/esm/calcite-input.entry.js +80 -55
  737. package/dist/esm/calcite-label.entry.js +16 -16
  738. package/dist/esm/calcite-link.entry.js +9 -9
  739. package/dist/esm/calcite-list_3.entry.js +15 -15
  740. package/dist/esm/calcite-loader.entry.js +12 -7
  741. package/dist/esm/calcite-modal.entry.js +17 -17
  742. package/dist/esm/calcite-notice.entry.js +15 -15
  743. package/dist/esm/calcite-option_3.entry.js +17 -17
  744. package/dist/esm/calcite-pagination.entry.js +20 -13
  745. package/dist/esm/calcite-panel.entry.js +33 -32
  746. package/dist/esm/calcite-pick-list_3.entry.js +27 -27
  747. package/dist/esm/calcite-popover_2.entry.js +56 -41
  748. package/dist/esm/calcite-progress.entry.js +10 -5
  749. package/dist/esm/calcite-radio-button-group.entry.js +7 -7
  750. package/dist/esm/calcite-radio-button.entry.js +14 -14
  751. package/dist/esm/calcite-radio-group_2.entry.js +17 -17
  752. package/dist/esm/calcite-rating.entry.js +16 -16
  753. package/dist/esm/calcite-scrim.entry.js +4 -4
  754. package/dist/esm/calcite-shell_3.entry.js +23 -17
  755. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  756. package/dist/esm/calcite-split-button.entry.js +10 -8
  757. package/dist/esm/calcite-stepper_2.entry.js +48 -20
  758. package/dist/esm/calcite-switch.entry.js +14 -14
  759. package/dist/esm/calcite-tab_4.entry.js +22 -27
  760. package/dist/esm/calcite-tile-select_2.entry.js +13 -13
  761. package/dist/esm/calcite-tile.entry.js +13 -13
  762. package/dist/esm/calcite-tip_3.entry.js +15 -15
  763. package/dist/esm/calcite-tooltip_2.entry.js +38 -23
  764. package/dist/esm/calcite-tree_2.entry.js +141 -90
  765. package/dist/esm/calcite-value-list_2.entry.js +25 -25
  766. package/dist/esm/calcite.js +6 -6
  767. package/dist/esm/{conditionalSlot-a8df5b3f.js → conditionalSlot-b3e64dc7.js} +3 -3
  768. package/dist/esm/{debounce-d31cc476.js → debounce-ea9692d7.js} +1 -1
  769. package/dist/esm/{dom-24af003b.js → dom-a73e8a2b.js} +40 -4
  770. package/dist/esm/{filter-72316b3f.js → filter-3ba1a381.js} +3 -4
  771. package/dist/esm/{floating-ui-10f8689c.js → floating-ui-984dfec0.js} +173 -22
  772. package/dist/esm/{form-390fdf0f.js → form-0e21de45.js} +3 -3
  773. package/dist/esm/{guid-b68b1941.js → guid-6f7dc9eb.js} +1 -1
  774. package/dist/esm/{index-8384b5ec.js → index-14216daa.js} +1117 -946
  775. package/dist/esm/index.js +1 -1
  776. package/dist/esm/{interactive-f2ec7825.js → interactive-c7d0aec8.js} +1 -1
  777. package/dist/esm/{interfaces-ba98f966.js → interfaces-ed0a53af.js} +1 -1
  778. package/dist/esm/{key-ed874b7d.js → key-51ed0d1a.js} +1 -1
  779. package/dist/esm/{label-78f72c1a.js → label-d2cf5bd5.js} +2 -2
  780. package/dist/esm/loader.js +6 -6
  781. package/dist/esm/locale-0be23f6a.js +403 -0
  782. package/dist/esm/{math-2893cee3.js → math-7cf93944.js} +1 -1
  783. package/dist/esm/nonChromiumPlatformUtils-fc3598fa.js +502 -0
  784. package/dist/esm/observers-22e20270.js +46 -0
  785. package/dist/esm/{openCloseComponent-0a4c6226.js → openCloseComponent-4d8348cf.js} +1 -1
  786. package/dist/esm/polyfills/css-shim.js +1 -1
  787. package/dist/esm/{resources-32c242fa.js → resources-15329bef.js} +5 -5
  788. package/dist/esm/{resources-351f6f14.js → resources-22c8d6b5.js} +1 -1
  789. package/dist/esm/{resources-0497ae87.js → resources-47333b80.js} +1 -1
  790. package/dist/esm/{resources-f8aa3ed1.js → resources-712a7c01.js} +5 -61
  791. package/dist/esm/{resources-3acd3089.js → resources-aad6b1a9.js} +1 -1
  792. package/dist/esm/{resources-ea0a60b4.js → resources-d9cc509f.js} +1 -1
  793. package/dist/esm/{sortable.esm-3d78dbdc.js → sortable.esm-679051e1.js} +1 -1
  794. package/dist/esm/{utils-a7e4e0e1.js → utils-e76f2be0.js} +1 -1
  795. package/dist/extras/docs-json.json +1957 -772
  796. package/dist/index.js +1 -1
  797. package/dist/loader/cdn.js +1 -1
  798. package/dist/loader/index.cjs.js +1 -1
  799. package/dist/loader/index.es2017.js +1 -1
  800. package/dist/loader/index.js +2 -2
  801. package/dist/loader/package.json +1 -0
  802. package/dist/types/components/accordion/accordion.d.ts +2 -2
  803. package/dist/types/components/accordion-item/accordion-item.d.ts +7 -7
  804. package/dist/types/components/action/action.d.ts +8 -8
  805. package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
  806. package/dist/types/components/action-bar/action-bar.d.ts +3 -3
  807. package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
  808. package/dist/types/components/action-group/action-group.d.ts +2 -2
  809. package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +3 -0
  810. package/dist/types/components/action-menu/action-menu.d.ts +7 -7
  811. package/dist/types/components/action-pad/action-pad.d.ts +2 -2
  812. package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
  813. package/dist/types/components/alert/alert.d.ts +12 -6
  814. package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
  815. package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
  816. package/dist/types/components/block/block.d.ts +22 -20
  817. package/dist/types/components/block/resources.d.ts +2 -1
  818. package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
  819. package/dist/types/components/block-section/block-section.d.ts +12 -10
  820. package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
  821. package/dist/types/components/button/button.d.ts +37 -21
  822. package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
  823. package/dist/types/components/card/card.d.ts +11 -10
  824. package/dist/types/components/checkbox/checkbox.d.ts +16 -14
  825. package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
  826. package/dist/types/components/chip/chip.d.ts +13 -13
  827. package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +21 -0
  828. package/dist/types/components/color-picker/color-picker.d.ts +39 -41
  829. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +9 -10
  830. package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
  831. package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
  832. package/dist/types/components/combobox/combobox.d.ts +36 -31
  833. package/dist/types/components/combobox-item/combobox-item.d.ts +15 -13
  834. package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
  835. package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  836. package/dist/types/components/date-picker/date-picker.d.ts +9 -4
  837. package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -3
  838. package/dist/types/components/dropdown/dropdown.d.ts +11 -6
  839. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  840. package/dist/types/components/fab/fab.d.ts +1 -1
  841. package/dist/types/components/filter/assets/filter/t9n/index.d.ts +4 -0
  842. package/dist/types/components/flow/flow.d.ts +1 -1
  843. package/dist/types/components/flow-item/flow-item.d.ts +12 -8
  844. package/dist/types/components/handle/handle.d.ts +1 -1
  845. package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +5 -0
  846. package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
  847. package/dist/types/components/input/assets/input/t9n/index.d.ts +4 -0
  848. package/dist/types/components/input/input.d.ts +31 -32
  849. package/dist/types/components/input-date-picker/input-date-picker.d.ts +61 -44
  850. package/dist/types/components/input-message/input-message.d.ts +10 -8
  851. package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
  852. package/dist/types/components/input-number/input-number.d.ts +17 -19
  853. package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
  854. package/dist/types/components/input-text/input-text.d.ts +10 -10
  855. package/dist/types/components/input-time-picker/input-time-picker.d.ts +41 -30
  856. package/dist/types/components/label/label.d.ts +10 -10
  857. package/dist/types/components/link/link.d.ts +8 -8
  858. package/dist/types/components/list/list.d.ts +1 -1
  859. package/dist/types/components/list-item/list-item.d.ts +2 -2
  860. package/dist/types/components/loader/loader.d.ts +14 -4
  861. package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
  862. package/dist/types/components/modal/modal.d.ts +10 -10
  863. package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
  864. package/dist/types/components/notice/notice.d.ts +7 -8
  865. package/dist/types/components/option/option.d.ts +2 -2
  866. package/dist/types/components/option-group/option-group.d.ts +1 -1
  867. package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
  868. package/dist/types/components/pagination/pagination.d.ts +5 -8
  869. package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
  870. package/dist/types/components/panel/panel.d.ts +21 -23
  871. package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
  872. package/dist/types/components/pick-list/pick-list.d.ts +7 -7
  873. package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
  874. package/dist/types/components/pick-list-item/pick-list-item.d.ts +8 -8
  875. package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
  876. package/dist/types/components/popover/popover.d.ts +24 -17
  877. package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
  878. package/dist/types/components/progress/progress.d.ts +7 -2
  879. package/dist/types/components/radio-button/radio-button.d.ts +6 -6
  880. package/dist/types/components/radio-button-group/radio-button-group.d.ts +4 -4
  881. package/dist/types/components/radio-group/radio-group.d.ts +3 -3
  882. package/dist/types/components/radio-group-item/radio-group-item.d.ts +8 -8
  883. package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
  884. package/dist/types/components/rating/rating.d.ts +4 -4
  885. package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
  886. package/dist/types/components/scrim/scrim.d.ts +1 -1
  887. package/dist/types/components/select/select.d.ts +4 -4
  888. package/dist/types/components/shell-center-row/shell-center-row.d.ts +2 -2
  889. package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
  890. package/dist/types/components/shell-panel/shell-panel.d.ts +6 -6
  891. package/dist/types/components/slider/slider.d.ts +24 -25
  892. package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
  893. package/dist/types/components/split-button/split-button.d.ts +9 -7
  894. package/dist/types/components/stepper/stepper.d.ts +7 -2
  895. package/dist/types/components/stepper-item/stepper-item.d.ts +15 -11
  896. package/dist/types/components/switch/switch.d.ts +6 -6
  897. package/dist/types/components/tab/tab.d.ts +3 -3
  898. package/dist/types/components/tab-title/tab-title.d.ts +8 -8
  899. package/dist/types/components/tabs/tabs.d.ts +3 -4
  900. package/dist/types/components/tile/tile.d.ts +5 -5
  901. package/dist/types/components/tile-select/tile-select.d.ts +5 -5
  902. package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -2
  903. package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +14 -0
  904. package/dist/types/components/time-picker/time-picker.d.ts +13 -8
  905. package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
  906. package/dist/types/components/tip/tip.d.ts +3 -3
  907. package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +7 -0
  908. package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
  909. package/dist/types/components/tooltip/tooltip.d.ts +16 -7
  910. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -1
  911. package/dist/types/components/tree/tree.d.ts +2 -2
  912. package/dist/types/components/tree/utils.d.ts +1 -0
  913. package/dist/types/components/tree-item/tree-item.d.ts +10 -4
  914. package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +7 -0
  915. package/dist/types/components/value-list/value-list.d.ts +16 -16
  916. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -4
  917. package/dist/types/components.d.ts +1082 -1007
  918. package/dist/types/preact.d.ts +2 -1
  919. package/dist/types/stencil-public-runtime.d.ts +15 -4
  920. package/dist/types/utils/config.d.ts +7 -0
  921. package/dist/types/utils/date.d.ts +0 -20
  922. package/dist/types/utils/dom.d.ts +19 -0
  923. package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
  924. package/dist/types/utils/floating-ui.d.ts +45 -2
  925. package/dist/types/utils/locale.d.ts +81 -11
  926. package/dist/types/utils/number.d.ts +3 -5
  927. package/dist/types/utils/observers.d.ts +5 -1
  928. package/dist/types/utils/t9n.d.ts +88 -0
  929. package/dist/types/utils/time.d.ts +29 -5
  930. package/hydrate/index.d.ts +1 -1
  931. package/hydrate/index.js +2512 -1973
  932. package/package.json +31 -28
  933. package/readme.md +2 -2
  934. package/dist/calcite/calcite.js +0 -131
  935. package/dist/calcite/p-01e0a7fb.system.entry.js +0 -6
  936. package/dist/calcite/p-026ebb31.system.entry.js +0 -6
  937. package/dist/calcite/p-0371e393.system.js +0 -6
  938. package/dist/calcite/p-049ccea8.system.entry.js +0 -6
  939. package/dist/calcite/p-06715c20.system.entry.js +0 -6
  940. package/dist/calcite/p-0b16f5a2.entry.js +0 -6
  941. package/dist/calcite/p-120e25b0.entry.js +0 -6
  942. package/dist/calcite/p-132242dd.system.js +0 -6
  943. package/dist/calcite/p-164c7993.system.entry.js +0 -6
  944. package/dist/calcite/p-180c45dd.js +0 -6
  945. package/dist/calcite/p-1927311f.system.js +0 -6
  946. package/dist/calcite/p-195b47d8.system.entry.js +0 -6
  947. package/dist/calcite/p-1a801c80.system.entry.js +0 -6
  948. package/dist/calcite/p-1c1808a9.system.js +0 -6
  949. package/dist/calcite/p-21e61d1f.system.entry.js +0 -6
  950. package/dist/calcite/p-2204aeed.entry.js +0 -6
  951. package/dist/calcite/p-2292f660.entry.js +0 -6
  952. package/dist/calcite/p-234334e8.system.js +0 -7
  953. package/dist/calcite/p-240b92fc.system.entry.js +0 -6
  954. package/dist/calcite/p-244e6a16.system.js +0 -6
  955. package/dist/calcite/p-24fc537c.entry.js +0 -6
  956. package/dist/calcite/p-25d9815f.entry.js +0 -6
  957. package/dist/calcite/p-2942f335.entry.js +0 -6
  958. package/dist/calcite/p-296b72ab.entry.js +0 -6
  959. package/dist/calcite/p-2a6d83f2.system.entry.js +0 -6
  960. package/dist/calcite/p-2bb5628e.system.entry.js +0 -6
  961. package/dist/calcite/p-2dc6b889.js +0 -6
  962. package/dist/calcite/p-33e2cc83.entry.js +0 -6
  963. package/dist/calcite/p-35df3a74.entry.js +0 -6
  964. package/dist/calcite/p-390ae661.entry.js +0 -6
  965. package/dist/calcite/p-3ba3650d.entry.js +0 -6
  966. package/dist/calcite/p-3c899e58.entry.js +0 -6
  967. package/dist/calcite/p-3d0903d1.entry.js +0 -6
  968. package/dist/calcite/p-3d277c10.entry.js +0 -6
  969. package/dist/calcite/p-3fe14113.entry.js +0 -6
  970. package/dist/calcite/p-421fa896.entry.js +0 -6
  971. package/dist/calcite/p-438e56fd.entry.js +0 -6
  972. package/dist/calcite/p-43f9bb67.system.js +0 -6
  973. package/dist/calcite/p-4450a62e.system.entry.js +0 -6
  974. package/dist/calcite/p-4591d14e.entry.js +0 -6
  975. package/dist/calcite/p-47537b0f.system.entry.js +0 -6
  976. package/dist/calcite/p-4776fee2.entry.js +0 -6
  977. package/dist/calcite/p-4a3dcaab.entry.js +0 -6
  978. package/dist/calcite/p-4b4c47b4.system.js +0 -6
  979. package/dist/calcite/p-4bd4b21b.system.js +0 -12
  980. package/dist/calcite/p-4d9e93ae.system.js +0 -6
  981. package/dist/calcite/p-50148e92.system.entry.js +0 -6
  982. package/dist/calcite/p-524ac193.system.js +0 -6
  983. package/dist/calcite/p-54dc5c4f.system.entry.js +0 -6
  984. package/dist/calcite/p-55051fef.js +0 -6
  985. package/dist/calcite/p-576b3dfd.entry.js +0 -6
  986. package/dist/calcite/p-57c051cd.system.entry.js +0 -6
  987. package/dist/calcite/p-580abaa0.system.entry.js +0 -6
  988. package/dist/calcite/p-59e4f11d.entry.js +0 -6
  989. package/dist/calcite/p-5b7d6465.system.js +0 -6
  990. package/dist/calcite/p-5ee0d6fc.entry.js +0 -6
  991. package/dist/calcite/p-5ff62aa9.system.entry.js +0 -6
  992. package/dist/calcite/p-61508652.system.js +0 -6
  993. package/dist/calcite/p-619ea68d.system.entry.js +0 -6
  994. package/dist/calcite/p-638c0f83.system.js +0 -6
  995. package/dist/calcite/p-63be4875.js +0 -7
  996. package/dist/calcite/p-661983f6.system.js +0 -6
  997. package/dist/calcite/p-66a8d6f6.entry.js +0 -6
  998. package/dist/calcite/p-67a854c0.entry.js +0 -6
  999. package/dist/calcite/p-680d6cf6.entry.js +0 -6
  1000. package/dist/calcite/p-6941ffe8.entry.js +0 -6
  1001. package/dist/calcite/p-6ad53382.system.entry.js +0 -6
  1002. package/dist/calcite/p-6c421b57.entry.js +0 -6
  1003. package/dist/calcite/p-6ca84ba8.entry.js +0 -6
  1004. package/dist/calcite/p-6d884dae.entry.js +0 -6
  1005. package/dist/calcite/p-6e8a4081.system.entry.js +0 -6
  1006. package/dist/calcite/p-70c06ad4.system.entry.js +0 -6
  1007. package/dist/calcite/p-71650d4e.system.entry.js +0 -6
  1008. package/dist/calcite/p-74b0148d.system.js +0 -6
  1009. package/dist/calcite/p-75cb1d5b.system.entry.js +0 -6
  1010. package/dist/calcite/p-75f64c6d.entry.js +0 -6
  1011. package/dist/calcite/p-7c550d9b.entry.js +0 -6
  1012. package/dist/calcite/p-7ed2f59f.system.entry.js +0 -6
  1013. package/dist/calcite/p-85c6e58a.system.entry.js +0 -6
  1014. package/dist/calcite/p-89a7e6bc.entry.js +0 -6
  1015. package/dist/calcite/p-8c66c36c.system.js +0 -6
  1016. package/dist/calcite/p-8c95d7a0.entry.js +0 -6
  1017. package/dist/calcite/p-8e41d2bb.system.js +0 -6
  1018. package/dist/calcite/p-8ee1498f.entry.js +0 -6
  1019. package/dist/calcite/p-92038736.system.entry.js +0 -6
  1020. package/dist/calcite/p-9241c6a5.entry.js +0 -6
  1021. package/dist/calcite/p-93970959.system.entry.js +0 -6
  1022. package/dist/calcite/p-960c76e9.system.entry.js +0 -6
  1023. package/dist/calcite/p-96236e5c.entry.js +0 -6
  1024. package/dist/calcite/p-9a9fbf22.entry.js +0 -6
  1025. package/dist/calcite/p-9ae4b555.entry.js +0 -6
  1026. package/dist/calcite/p-9aebe377.entry.js +0 -6
  1027. package/dist/calcite/p-9b43c40c.system.js +0 -6
  1028. package/dist/calcite/p-9ca4f290.system.js +0 -6
  1029. package/dist/calcite/p-9dccf007.js +0 -6
  1030. package/dist/calcite/p-9ef7904e.js +0 -6
  1031. package/dist/calcite/p-a304a6b7.system.entry.js +0 -6
  1032. package/dist/calcite/p-a4cff117.system.js +0 -6
  1033. package/dist/calcite/p-a726bcff.entry.js +0 -6
  1034. package/dist/calcite/p-a9221536.system.js +0 -6
  1035. package/dist/calcite/p-aa6d9dcc.system.entry.js +0 -6
  1036. package/dist/calcite/p-ab4d0b8e.entry.js +0 -6
  1037. package/dist/calcite/p-abdc8c60.system.entry.js +0 -6
  1038. package/dist/calcite/p-abf5fb38.entry.js +0 -6
  1039. package/dist/calcite/p-ad22f173.entry.js +0 -6
  1040. package/dist/calcite/p-ad68bd9e.system.entry.js +0 -6
  1041. package/dist/calcite/p-ad884bc4.system.js +0 -6
  1042. package/dist/calcite/p-ae2518f0.system.js +0 -6
  1043. package/dist/calcite/p-aef54c5f.system.entry.js +0 -6
  1044. package/dist/calcite/p-b084a958.entry.js +0 -6
  1045. package/dist/calcite/p-b10ce7f4.system.entry.js +0 -6
  1046. package/dist/calcite/p-b1859703.system.entry.js +0 -6
  1047. package/dist/calcite/p-b29859b5.system.entry.js +0 -6
  1048. package/dist/calcite/p-b3004fac.entry.js +0 -6
  1049. package/dist/calcite/p-b51eb86c.system.entry.js +0 -6
  1050. package/dist/calcite/p-b5ef1019.entry.js +0 -6
  1051. package/dist/calcite/p-b6f004c4.entry.js +0 -6
  1052. package/dist/calcite/p-b7941592.js +0 -6
  1053. package/dist/calcite/p-b795148e.entry.js +0 -6
  1054. package/dist/calcite/p-b9fb0207.system.js +0 -6
  1055. package/dist/calcite/p-bb36ddb1.system.entry.js +0 -6
  1056. package/dist/calcite/p-bbc5fa4d.system.entry.js +0 -6
  1057. package/dist/calcite/p-bf0d4fa9.system.entry.js +0 -6
  1058. package/dist/calcite/p-c18b2f37.system.entry.js +0 -6
  1059. package/dist/calcite/p-c20b0a94.system.entry.js +0 -6
  1060. package/dist/calcite/p-c311d80b.entry.js +0 -6
  1061. package/dist/calcite/p-c3380c86.system.entry.js +0 -6
  1062. package/dist/calcite/p-c370487d.entry.js +0 -6
  1063. package/dist/calcite/p-c3a76a69.js +0 -6
  1064. package/dist/calcite/p-c75e4948.system.entry.js +0 -6
  1065. package/dist/calcite/p-c9179809.entry.js +0 -6
  1066. package/dist/calcite/p-ca72c4da.system.entry.js +0 -6
  1067. package/dist/calcite/p-cd3d8542.system.js +0 -6
  1068. package/dist/calcite/p-ce6b62ad.entry.js +0 -6
  1069. package/dist/calcite/p-d1131b5d.system.entry.js +0 -6
  1070. package/dist/calcite/p-d18b3ee8.entry.js +0 -6
  1071. package/dist/calcite/p-d30e6a15.system.entry.js +0 -6
  1072. package/dist/calcite/p-d6627d94.system.entry.js +0 -6
  1073. package/dist/calcite/p-d686deea.system.entry.js +0 -6
  1074. package/dist/calcite/p-dc294613.system.js +0 -6
  1075. package/dist/calcite/p-dc346223.system.js +0 -6
  1076. package/dist/calcite/p-dcb7c0a5.system.entry.js +0 -6
  1077. package/dist/calcite/p-e0ecae58.system.entry.js +0 -6
  1078. package/dist/calcite/p-e1799b74.system.js +0 -6
  1079. package/dist/calcite/p-e1e4265f.system.js +0 -6
  1080. package/dist/calcite/p-e30b9b3a.entry.js +0 -6
  1081. package/dist/calcite/p-e836bdbf.system.entry.js +0 -6
  1082. package/dist/calcite/p-e8c8a9c4.js +0 -6
  1083. package/dist/calcite/p-eb000d01.system.entry.js +0 -6
  1084. package/dist/calcite/p-ec32dce1.entry.js +0 -6
  1085. package/dist/calcite/p-ed965a88.entry.js +0 -6
  1086. package/dist/calcite/p-eddb3738.entry.js +0 -6
  1087. package/dist/calcite/p-f22e79c7.entry.js +0 -6
  1088. package/dist/calcite/p-f69aa7a0.system.entry.js +0 -6
  1089. package/dist/calcite/p-f6a26297.system.entry.js +0 -6
  1090. package/dist/calcite/p-fbb251a6.system.entry.js +0 -6
  1091. package/dist/calcite/p-fc374bdb.system.entry.js +0 -6
  1092. package/dist/calcite/p-fd76be2a.system.entry.js +0 -6
  1093. package/dist/calcite/p-ff26531e.system.entry.js +0 -6
  1094. package/dist/cjs/globalAttributes-2783566c.js +0 -335
  1095. package/dist/cjs/observers-82a85a0c.js +0 -27
  1096. package/dist/components/globalAttributes.js +0 -324
  1097. package/dist/custom-elements/index.d.ts +0 -597
  1098. package/dist/custom-elements/index.js +0 -28881
  1099. package/dist/esm/globalAttributes-9a3874c6.js +0 -324
  1100. package/dist/esm/observers-251355d3.js +0 -25
  1101. package/dist/esm-es5/ExpandToggle-51cda39f.js +0 -6
  1102. package/dist/esm-es5/Heading-3a6ae137.js +0 -6
  1103. package/dist/esm-es5/app-globals-8ea1c0e3.js +0 -6
  1104. package/dist/esm-es5/array-2db27e14.js +0 -6
  1105. package/dist/esm-es5/calcite-accordion_2.entry.js +0 -6
  1106. package/dist/esm-es5/calcite-action-bar.entry.js +0 -6
  1107. package/dist/esm-es5/calcite-action-group.entry.js +0 -6
  1108. package/dist/esm-es5/calcite-action-menu.entry.js +0 -6
  1109. package/dist/esm-es5/calcite-action-pad.entry.js +0 -6
  1110. package/dist/esm-es5/calcite-action.entry.js +0 -6
  1111. package/dist/esm-es5/calcite-alert.entry.js +0 -6
  1112. package/dist/esm-es5/calcite-avatar.entry.js +0 -6
  1113. package/dist/esm-es5/calcite-block_2.entry.js +0 -6
  1114. package/dist/esm-es5/calcite-button.entry.js +0 -6
  1115. package/dist/esm-es5/calcite-card.entry.js +0 -6
  1116. package/dist/esm-es5/calcite-checkbox.entry.js +0 -6
  1117. package/dist/esm-es5/calcite-chip.entry.js +0 -6
  1118. package/dist/esm-es5/calcite-color-picker_3.entry.js +0 -6
  1119. package/dist/esm-es5/calcite-combobox_3.entry.js +0 -6
  1120. package/dist/esm-es5/calcite-date-picker_4.entry.js +0 -6
  1121. package/dist/esm-es5/calcite-dropdown_3.entry.js +0 -6
  1122. package/dist/esm-es5/calcite-fab.entry.js +0 -6
  1123. package/dist/esm-es5/calcite-filter.entry.js +0 -6
  1124. package/dist/esm-es5/calcite-flow-item.entry.js +0 -6
  1125. package/dist/esm-es5/calcite-flow.entry.js +0 -6
  1126. package/dist/esm-es5/calcite-graph_2.entry.js +0 -6
  1127. package/dist/esm-es5/calcite-handle.entry.js +0 -6
  1128. package/dist/esm-es5/calcite-icon.entry.js +0 -6
  1129. package/dist/esm-es5/calcite-inline-editable.entry.js +0 -6
  1130. package/dist/esm-es5/calcite-input-date-picker.entry.js +0 -6
  1131. package/dist/esm-es5/calcite-input-message.entry.js +0 -6
  1132. package/dist/esm-es5/calcite-input-number.entry.js +0 -6
  1133. package/dist/esm-es5/calcite-input-text.entry.js +0 -6
  1134. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +0 -6
  1135. package/dist/esm-es5/calcite-input.entry.js +0 -6
  1136. package/dist/esm-es5/calcite-label.entry.js +0 -6
  1137. package/dist/esm-es5/calcite-link.entry.js +0 -6
  1138. package/dist/esm-es5/calcite-list_3.entry.js +0 -6
  1139. package/dist/esm-es5/calcite-loader.entry.js +0 -6
  1140. package/dist/esm-es5/calcite-modal.entry.js +0 -6
  1141. package/dist/esm-es5/calcite-notice.entry.js +0 -6
  1142. package/dist/esm-es5/calcite-option_3.entry.js +0 -6
  1143. package/dist/esm-es5/calcite-pagination.entry.js +0 -6
  1144. package/dist/esm-es5/calcite-panel.entry.js +0 -6
  1145. package/dist/esm-es5/calcite-pick-list_3.entry.js +0 -6
  1146. package/dist/esm-es5/calcite-popover_2.entry.js +0 -6
  1147. package/dist/esm-es5/calcite-progress.entry.js +0 -6
  1148. package/dist/esm-es5/calcite-radio-button-group.entry.js +0 -6
  1149. package/dist/esm-es5/calcite-radio-button.entry.js +0 -6
  1150. package/dist/esm-es5/calcite-radio-group_2.entry.js +0 -6
  1151. package/dist/esm-es5/calcite-rating.entry.js +0 -6
  1152. package/dist/esm-es5/calcite-scrim.entry.js +0 -6
  1153. package/dist/esm-es5/calcite-shell_3.entry.js +0 -6
  1154. package/dist/esm-es5/calcite-sortable-list.entry.js +0 -6
  1155. package/dist/esm-es5/calcite-split-button.entry.js +0 -6
  1156. package/dist/esm-es5/calcite-stepper_2.entry.js +0 -6
  1157. package/dist/esm-es5/calcite-switch.entry.js +0 -6
  1158. package/dist/esm-es5/calcite-tab_4.entry.js +0 -6
  1159. package/dist/esm-es5/calcite-tile-select_2.entry.js +0 -6
  1160. package/dist/esm-es5/calcite-tile.entry.js +0 -6
  1161. package/dist/esm-es5/calcite-tip_3.entry.js +0 -6
  1162. package/dist/esm-es5/calcite-tooltip_2.entry.js +0 -6
  1163. package/dist/esm-es5/calcite-tree_2.entry.js +0 -6
  1164. package/dist/esm-es5/calcite-value-list_2.entry.js +0 -6
  1165. package/dist/esm-es5/calcite.js +0 -6
  1166. package/dist/esm-es5/conditionalSlot-a8df5b3f.js +0 -6
  1167. package/dist/esm-es5/debounce-d31cc476.js +0 -6
  1168. package/dist/esm-es5/dom-24af003b.js +0 -6
  1169. package/dist/esm-es5/filter-72316b3f.js +0 -6
  1170. package/dist/esm-es5/floating-ui-10f8689c.js +0 -6
  1171. package/dist/esm-es5/form-390fdf0f.js +0 -6
  1172. package/dist/esm-es5/globalAttributes-9a3874c6.js +0 -6
  1173. package/dist/esm-es5/guid-b68b1941.js +0 -6
  1174. package/dist/esm-es5/index-8384b5ec.js +0 -7
  1175. package/dist/esm-es5/interactive-f2ec7825.js +0 -6
  1176. package/dist/esm-es5/interfaces-ba98f966.js +0 -6
  1177. package/dist/esm-es5/key-ed874b7d.js +0 -6
  1178. package/dist/esm-es5/label-78f72c1a.js +0 -6
  1179. package/dist/esm-es5/loader.js +0 -6
  1180. package/dist/esm-es5/math-2893cee3.js +0 -6
  1181. package/dist/esm-es5/observers-251355d3.js +0 -6
  1182. package/dist/esm-es5/openCloseComponent-0a4c6226.js +0 -6
  1183. package/dist/esm-es5/resources-0497ae87.js +0 -6
  1184. package/dist/esm-es5/resources-32c242fa.js +0 -6
  1185. package/dist/esm-es5/resources-351f6f14.js +0 -6
  1186. package/dist/esm-es5/resources-3acd3089.js +0 -6
  1187. package/dist/esm-es5/resources-ea0a60b4.js +0 -6
  1188. package/dist/esm-es5/resources-f8aa3ed1.js +0 -6
  1189. package/dist/esm-es5/sortable.esm-3d78dbdc.js +0 -12
  1190. package/dist/esm-es5/utils-a7e4e0e1.js +0 -6
@@ -1,23 +1,22 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-beta.95
4
+ * v1.0.0-beta.96
5
5
  */
6
- import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
7
- import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
6
+ import { h, Host } from "@stencil/core";
7
+ import { getElementDir, getElementProp, getSlotted, isPrimaryPointerButton, setRequestedIcon } from "../../utils/dom";
8
8
  import { CSS, INPUT_TYPE_ICONS, SLOTS, TEXT } from "./resources";
9
9
  import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
10
10
  import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
11
- import { getDecimalSeparator, delocalizeNumberString, localizeNumberString, getLocale } from "../../utils/locale";
11
+ import { defaultNumberingSystem, numberStringFormatter, disconnectLocalized, connectLocalized, updateEffectiveLocale } from "../../utils/locale";
12
12
  import { numberKeys } from "../../utils/key";
13
13
  import { isValidNumber, parseNumberString, sanitizeNumberString } from "../../utils/number";
14
14
  import { CSS_UTILITY, TEXT as COMMON_TEXT } from "../../utils/resources";
15
15
  import { decimalPlaces } from "../../utils/math";
16
16
  import { createObserver } from "../../utils/observers";
17
17
  import { updateHostInteraction } from "../../utils/interactive";
18
- import { unwatchGlobalAttributes, watchGlobalAttributes } from "../../utils/globalAttributes";
19
18
  /**
20
- * @slot action - A slot for positioning a button next to the component.
19
+ * @slot action - A slot for positioning a `calcite-button` next to the component.
21
20
  */
22
21
  export class Input {
23
22
  constructor() {
@@ -29,56 +28,56 @@ export class Input {
29
28
  /** Specifies the text alignment of the component's value. */
30
29
  this.alignment = "start";
31
30
  /**
32
- * When true, the component is focused on page load.
31
+ * When `true`, the component is focused on page load.
33
32
  *
34
33
  * @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
35
34
  */
36
35
  this.autofocus = false;
37
36
  /**
38
- * When true, a clear button is displayed when the component has a value. The clear button shows by default for "search", "time", and "date" types, and will not display for the "textarea" type.
37
+ * When `true`, a clear button is displayed when the component has a value. The clear button shows by default for `"search"`, `"time"`, and `"date"` types, and will not display for the `"textarea"` type.
39
38
  */
40
39
  this.clearable = false;
41
40
  /**
42
- * When true, interaction is prevented and the component is displayed with lower opacity.
41
+ * When `true`, interaction is prevented and the component is displayed with lower opacity.
43
42
  *
44
43
  * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
45
44
  */
46
45
  this.disabled = false;
47
46
  /**
48
- * When true, number values are displayed with the locale's group separator.
47
+ * When `true`, number values are displayed with a group separator corresponding to the language and country format.
49
48
  */
50
49
  this.groupSeparator = false;
51
50
  /**
52
- * When true, the component will not be visible.
51
+ * When `true`, the component will not be visible.
53
52
  *
54
53
  * @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
55
54
  */
56
55
  this.hidden = false;
57
56
  /**
58
- * Accessible name that will appear while loading.
57
+ * Accessible name when the component is loading.
59
58
  *
60
59
  * @default "Loading"
61
60
  */
62
61
  this.intlLoading = COMMON_TEXT.loading;
63
- /** When true, the icon is flipped in RTL. */
62
+ /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
64
63
  this.iconFlipRtl = false;
65
- /** When true, the component is in the loading state and `calcite-progress` is displayed. */
64
+ /** When `true`, a busy indicator is displayed. */
66
65
  this.loading = false;
67
66
  /**
68
- * Toggles locale formatting for numbers.
67
+ * When `true`, uses locale formatting for numbers.
69
68
  *
70
69
  * @internal
71
70
  */
72
71
  this.localeFormat = false;
73
- /** Specifies the placement of the buttons for type "number". */
72
+ /** Specifies the placement of the buttons for `type="number"`. */
74
73
  this.numberButtonType = "vertical";
75
74
  /**
76
- * When true, the value cannot be modified.
75
+ * When `true`, the component's value can be read, but cannot be modified.
77
76
  *
78
77
  * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
79
78
  */
80
79
  this.readOnly = false;
81
- /** When true, the component must have a value in order for the form to submit. */
80
+ /** When `true`, the component must have a value in order for the form to submit. */
82
81
  this.required = false;
83
82
  /** Specifies the size of the component. */
84
83
  this.scale = "m";
@@ -91,7 +90,7 @@ export class Input {
91
90
  /**
92
91
  * Specifies the component type.
93
92
  *
94
- * Note that the following types add type-specific icons by default: "date", "email", "password", "search", "tel", "time".
93
+ * Note that the following `type`s add type-specific icons by default: `"date"`, `"email"`, `"password"`, `"search"`, `"tel"`, `"time"`.
95
94
  */
96
95
  this.type = "text";
97
96
  /** The component's value. */
@@ -106,7 +105,7 @@ export class Input {
106
105
  // State
107
106
  //
108
107
  //--------------------------------------------------------------------------
109
- this.globalAttributes = {};
108
+ this.effectiveLocale = "";
110
109
  //--------------------------------------------------------------------------
111
110
  //
112
111
  // Private Methods
@@ -174,7 +173,12 @@ export class Input {
174
173
  return;
175
174
  }
176
175
  const value = nativeEvent.target.value;
177
- const delocalizedValue = delocalizeNumberString(value, getLocale(this));
176
+ numberStringFormatter.numberFormatOptions = {
177
+ locale: this.effectiveLocale,
178
+ numberingSystem: this.numberingSystem,
179
+ useGrouping: this.groupSeparator
180
+ };
181
+ const delocalizedValue = numberStringFormatter.delocalize(value);
178
182
  if (nativeEvent.inputType === "insertFromPaste") {
179
183
  if (!isValidNumber(delocalizedValue)) {
180
184
  nativeEvent.preventDefault();
@@ -228,12 +232,16 @@ export class Input {
228
232
  }
229
233
  return;
230
234
  }
231
- const decimalSeparator = getDecimalSeparator(getLocale(this));
232
- if (event.key === decimalSeparator) {
235
+ numberStringFormatter.numberFormatOptions = {
236
+ locale: this.effectiveLocale,
237
+ numberingSystem: this.numberingSystem,
238
+ useGrouping: this.groupSeparator
239
+ };
240
+ if (event.key === numberStringFormatter.decimal) {
233
241
  if (!this.value && !this.childNumberEl.value) {
234
242
  return;
235
243
  }
236
- if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
244
+ if (this.value && this.childNumberEl.value.indexOf(numberStringFormatter.decimal) === -1) {
237
245
  return;
238
246
  }
239
247
  }
@@ -279,6 +287,9 @@ export class Input {
279
287
  window.clearInterval(this.nudgeNumberValueIntervalId);
280
288
  };
281
289
  this.numberButtonPointerDownHandler = (event) => {
290
+ if (!isPrimaryPointerButton(event)) {
291
+ return;
292
+ }
282
293
  event.preventDefault();
283
294
  const direction = event.target.dataset.adjustment;
284
295
  if (!this.disabled) {
@@ -332,29 +343,35 @@ export class Input {
332
343
  : newPreviousValue;
333
344
  };
334
345
  this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
335
- const locale = getLocale(this);
336
- const previousLocalizedValue = this.type === "number"
337
- ? localizeNumberString(this.previousValue, locale, this.groupSeparator, this.numberingSystem)
338
- : "";
339
- const sanitizedValue = this.type === "number" ? sanitizeNumberString(value) : value;
340
- const newValue = this.type === "number" && value && !sanitizedValue
341
- ? isValidNumber(this.previousValue)
342
- ? this.previousValue
343
- : ""
344
- : sanitizedValue;
345
- const newLocalizedValue = this.type === "number"
346
- ? localizeNumberString(newValue, locale, this.groupSeparator, this.numberingSystem)
347
- : "";
348
- this.setPreviousValue(previousValue || this.value);
349
- this.previousValueOrigin = origin;
350
- this.userChangedValue = origin === "user" && this.value !== newValue;
351
- this.value = newValue;
346
+ numberStringFormatter.numberFormatOptions = {
347
+ locale: this.effectiveLocale,
348
+ numberingSystem: this.numberingSystem,
349
+ useGrouping: this.groupSeparator
350
+ };
352
351
  if (this.type === "number") {
352
+ const delocalizedValue = (this.numberingSystem && this.numberingSystem !== "latn") ||
353
+ defaultNumberingSystem !== "latn"
354
+ ? numberStringFormatter.delocalize(value)
355
+ : value;
356
+ const sanitizedValue = sanitizeNumberString(delocalizedValue);
357
+ const newValue = (value && !sanitizedValue) || [".", "-"].includes(sanitizedValue)
358
+ ? isValidNumber(this.previousValue)
359
+ ? this.previousValue
360
+ : ""
361
+ : sanitizedValue;
362
+ const newLocalizedValue = numberStringFormatter.localize(newValue);
353
363
  this.localizedValue = newLocalizedValue;
364
+ this.userChangedValue = origin === "user" && this.value !== newValue;
365
+ this.value = newValue;
366
+ origin === "direct" && this.setInputValue(newLocalizedValue);
354
367
  }
355
- if (origin === "direct") {
356
- this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
368
+ else {
369
+ this.userChangedValue = origin === "user" && this.value !== value;
370
+ this.value = value;
371
+ origin === "direct" && this.setInputValue(value);
357
372
  }
373
+ this.setPreviousValue(previousValue || this.value);
374
+ this.previousValueOrigin = origin;
358
375
  if (nativeEvent) {
359
376
  const calciteInputInputEvent = this.calciteInputInput.emit({
360
377
  element: this.childEl,
@@ -363,7 +380,10 @@ export class Input {
363
380
  });
364
381
  if (calciteInputInputEvent.defaultPrevented) {
365
382
  this.value = this.previousValue;
366
- this.localizedValue = previousLocalizedValue;
383
+ this.localizedValue =
384
+ this.type === "number"
385
+ ? numberStringFormatter.localize(this.previousValue)
386
+ : this.previousValue;
367
387
  }
368
388
  else if (committing) {
369
389
  this.emitChangeIfUserModified();
@@ -377,6 +397,9 @@ export class Input {
377
397
  disabledWatcher() {
378
398
  this.setDisabledAction();
379
399
  }
400
+ localeChanged() {
401
+ updateEffectiveLocale(this);
402
+ }
380
403
  /** watcher to update number-to-string for max */
381
404
  maxWatcher() {
382
405
  var _a;
@@ -420,12 +443,15 @@ export class Input {
420
443
  //--------------------------------------------------------------------------
421
444
  connectedCallback() {
422
445
  var _a;
446
+ connectLocalized(this);
423
447
  this.scale = getElementProp(this.el, "scale", this.scale);
424
448
  this.status = getElementProp(this.el, "status", this.status);
425
449
  this.inlineEditableEl = this.el.closest("calcite-inline-editable");
426
450
  if (this.inlineEditableEl) {
427
451
  this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
428
452
  }
453
+ connectLabel(this);
454
+ connectForm(this);
429
455
  this.setPreviousEmittedValue(this.value);
430
456
  this.setPreviousValue(this.value);
431
457
  if (this.type === "number") {
@@ -435,9 +461,6 @@ export class Input {
435
461
  value: isValidNumber(this.value) ? this.value : ""
436
462
  });
437
463
  }
438
- connectLabel(this);
439
- connectForm(this);
440
- watchGlobalAttributes(this, ["lang"]);
441
464
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
442
465
  this.setDisabledAction();
443
466
  this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
@@ -446,7 +469,7 @@ export class Input {
446
469
  var _a;
447
470
  disconnectLabel(this);
448
471
  disconnectForm(this);
449
- unwatchGlobalAttributes(this);
472
+ disconnectLocalized(this);
450
473
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
451
474
  this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
452
475
  }
@@ -564,25 +587,19 @@ export class Input {
564
587
  // --------------------------------------------------------------------------
565
588
  render() {
566
589
  const dir = getElementDir(this.el);
567
- const loader = (h("div", { class: CSS.loader },
568
- h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
569
- const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" },
570
- h("calcite-icon", { icon: "x", scale: "s" })));
590
+ const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
591
+ const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
571
592
  const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
572
593
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
573
594
  const numberButtonsHorizontalUp = (h("button", { "aria-hidden": "true", class: {
574
595
  [CSS.numberButtonItem]: true,
575
596
  [CSS.buttonItemHorizontal]: isHorizontalNumberButton
576
- }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" },
577
- h("calcite-icon", { icon: "chevron-up", scale: "s" })));
597
+ }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
578
598
  const numberButtonsHorizontalDown = (h("button", { "aria-hidden": "true", class: {
579
599
  [CSS.numberButtonItem]: true,
580
600
  [CSS.buttonItemHorizontal]: isHorizontalNumberButton
581
- }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" },
582
- h("calcite-icon", { icon: "chevron-down", scale: "s" })));
583
- const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper },
584
- numberButtonsHorizontalUp,
585
- numberButtonsHorizontalDown));
601
+ }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
602
+ const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
586
603
  const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
587
604
  const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
588
605
  const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
@@ -592,824 +609,827 @@ export class Input {
592
609
  [CSS.editingEnabled]: this.editingEnabled,
593
610
  [CSS.inlineChild]: !!this.inlineEditableEl
594
611
  }, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
595
- this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper },
596
- h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
612
+ this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
597
613
  ]
598
614
  : null;
599
- return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler },
600
- h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } },
601
- this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
602
- ? numberButtonsHorizontalDown
603
- : null,
604
- this.prefixText ? prefixText : null,
605
- h("div", { class: CSS.wrapper },
606
- localeNumberInput,
607
- childEl,
608
- this.isClearable ? inputClearButton : null,
609
- this.requestedIcon ? iconEl : null,
610
- this.loading ? loader : null),
611
- h("div", { class: CSS.actionWrapper },
612
- h("slot", { name: SLOTS.action })),
613
- this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
614
- ? numberButtonsVertical
615
- : null,
616
- this.suffixText ? suffixText : null,
617
- this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
618
- ? numberButtonsHorizontalUp
619
- : null,
620
- h(HiddenFormInputSlot, { component: this }))));
615
+ return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
616
+ ? numberButtonsHorizontalDown
617
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
618
+ ? numberButtonsVertical
619
+ : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
620
+ ? numberButtonsHorizontalUp
621
+ : null, h(HiddenFormInputSlot, { component: this }))));
621
622
  }
622
623
  static get is() { return "calcite-input"; }
623
624
  static get encapsulation() { return "shadow"; }
624
- static get originalStyleUrls() { return {
625
- "$": ["input.scss"]
626
- }; }
627
- static get styleUrls() { return {
628
- "$": ["input.css"]
629
- }; }
630
- static get properties() { return {
631
- "alignment": {
632
- "type": "string",
633
- "mutable": false,
634
- "complexType": {
635
- "original": "Position",
636
- "resolved": "\"end\" | \"start\"",
637
- "references": {
638
- "Position": {
639
- "location": "import",
640
- "path": "../interfaces"
641
- }
642
- }
643
- },
644
- "required": false,
645
- "optional": false,
646
- "docs": {
647
- "tags": [],
648
- "text": "Specifies the text alignment of the component's value."
649
- },
650
- "attribute": "alignment",
651
- "reflect": true,
652
- "defaultValue": "\"start\""
653
- },
654
- "autofocus": {
655
- "type": "boolean",
656
- "mutable": false,
657
- "complexType": {
658
- "original": "boolean",
659
- "resolved": "boolean",
660
- "references": {}
661
- },
662
- "required": false,
663
- "optional": false,
664
- "docs": {
665
- "tags": [{
666
- "name": "mdn",
667
- "text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
668
- }],
669
- "text": "When true, the component is focused on page load."
670
- },
671
- "attribute": "autofocus",
672
- "reflect": true,
673
- "defaultValue": "false"
674
- },
675
- "clearable": {
676
- "type": "boolean",
677
- "mutable": false,
678
- "complexType": {
679
- "original": "boolean",
680
- "resolved": "boolean",
681
- "references": {}
682
- },
683
- "required": false,
684
- "optional": false,
685
- "docs": {
686
- "tags": [],
687
- "text": "When true, a clear button is displayed when the component has a value. The clear button shows by default for \"search\", \"time\", and \"date\" types, and will not display for the \"textarea\" type."
688
- },
689
- "attribute": "clearable",
690
- "reflect": true,
691
- "defaultValue": "false"
692
- },
693
- "disabled": {
694
- "type": "boolean",
695
- "mutable": false,
696
- "complexType": {
697
- "original": "boolean",
698
- "resolved": "boolean",
699
- "references": {}
700
- },
701
- "required": false,
702
- "optional": false,
703
- "docs": {
704
- "tags": [{
705
- "name": "mdn",
706
- "text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
707
- }],
708
- "text": "When true, interaction is prevented and the component is displayed with lower opacity."
709
- },
710
- "attribute": "disabled",
711
- "reflect": true,
712
- "defaultValue": "false"
713
- },
714
- "groupSeparator": {
715
- "type": "boolean",
716
- "mutable": false,
717
- "complexType": {
718
- "original": "boolean",
719
- "resolved": "boolean",
720
- "references": {}
721
- },
722
- "required": false,
723
- "optional": false,
724
- "docs": {
725
- "tags": [],
726
- "text": "When true, number values are displayed with the locale's group separator."
727
- },
728
- "attribute": "group-separator",
729
- "reflect": true,
730
- "defaultValue": "false"
731
- },
732
- "hidden": {
733
- "type": "boolean",
734
- "mutable": false,
735
- "complexType": {
736
- "original": "boolean",
737
- "resolved": "boolean",
738
- "references": {}
739
- },
740
- "required": false,
741
- "optional": false,
742
- "docs": {
743
- "tags": [{
744
- "name": "mdn",
745
- "text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
746
- }],
747
- "text": "When true, the component will not be visible."
748
- },
749
- "attribute": "hidden",
750
- "reflect": true,
751
- "defaultValue": "false"
752
- },
753
- "icon": {
754
- "type": "any",
755
- "mutable": false,
756
- "complexType": {
757
- "original": "string | boolean",
758
- "resolved": "boolean | string",
759
- "references": {}
760
- },
761
- "required": false,
762
- "optional": false,
763
- "docs": {
764
- "tags": [],
765
- "text": "When true, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon."
766
- },
767
- "attribute": "icon",
768
- "reflect": true
769
- },
770
- "intlClear": {
771
- "type": "string",
772
- "mutable": false,
773
- "complexType": {
774
- "original": "string",
775
- "resolved": "string",
776
- "references": {}
777
- },
778
- "required": false,
779
- "optional": true,
780
- "docs": {
781
- "tags": [],
782
- "text": "A text label that will appear on the clear button for screen readers."
783
- },
784
- "attribute": "intl-clear",
785
- "reflect": false
786
- },
787
- "intlLoading": {
788
- "type": "string",
789
- "mutable": false,
790
- "complexType": {
791
- "original": "string",
792
- "resolved": "string",
793
- "references": {}
794
- },
795
- "required": false,
796
- "optional": true,
797
- "docs": {
798
- "tags": [{
799
- "name": "default",
800
- "text": "\"Loading\""
801
- }],
802
- "text": "Accessible name that will appear while loading."
803
- },
804
- "attribute": "intl-loading",
805
- "reflect": false,
806
- "defaultValue": "COMMON_TEXT.loading"
807
- },
808
- "iconFlipRtl": {
809
- "type": "boolean",
810
- "mutable": false,
811
- "complexType": {
812
- "original": "boolean",
813
- "resolved": "boolean",
814
- "references": {}
815
- },
816
- "required": false,
817
- "optional": false,
818
- "docs": {
819
- "tags": [],
820
- "text": "When true, the icon is flipped in RTL."
821
- },
822
- "attribute": "icon-flip-rtl",
823
- "reflect": true,
824
- "defaultValue": "false"
825
- },
826
- "label": {
827
- "type": "string",
828
- "mutable": false,
829
- "complexType": {
830
- "original": "string",
831
- "resolved": "string",
832
- "references": {}
833
- },
834
- "required": false,
835
- "optional": true,
836
- "docs": {
837
- "tags": [],
838
- "text": "Accessible name for the component's button or hyperlink."
839
- },
840
- "attribute": "label",
841
- "reflect": false
842
- },
843
- "loading": {
844
- "type": "boolean",
845
- "mutable": false,
846
- "complexType": {
847
- "original": "boolean",
848
- "resolved": "boolean",
849
- "references": {}
850
- },
851
- "required": false,
852
- "optional": false,
853
- "docs": {
854
- "tags": [],
855
- "text": "When true, the component is in the loading state and `calcite-progress` is displayed."
856
- },
857
- "attribute": "loading",
858
- "reflect": true,
859
- "defaultValue": "false"
860
- },
861
- "locale": {
862
- "type": "string",
863
- "mutable": false,
864
- "complexType": {
865
- "original": "string",
866
- "resolved": "string",
867
- "references": {}
868
- },
869
- "required": false,
870
- "optional": false,
871
- "docs": {
872
- "tags": [{
873
- "name": "deprecated",
874
- "text": "set the global `lang` attribute on the element instead."
875
- }, {
876
- "name": "mdn",
877
- "text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
878
- }],
879
- "text": "BCP 47 language tag for desired language and country format"
880
- },
881
- "attribute": "locale",
882
- "reflect": false
883
- },
884
- "numberingSystem": {
885
- "type": "string",
886
- "mutable": false,
887
- "complexType": {
888
- "original": "string",
889
- "resolved": "string",
890
- "references": {}
891
- },
892
- "required": false,
893
- "optional": true,
894
- "docs": {
895
- "tags": [{
896
- "name": "mdn",
897
- "text": "[numberingSystem](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/numberingSystem)"
898
- }],
899
- "text": "Specifies the Unicode numeral system used by the component for localization."
900
- },
901
- "attribute": "numbering-system",
902
- "reflect": true
903
- },
904
- "localeFormat": {
905
- "type": "boolean",
906
- "mutable": false,
907
- "complexType": {
908
- "original": "boolean",
909
- "resolved": "boolean",
910
- "references": {}
911
- },
912
- "required": false,
913
- "optional": false,
914
- "docs": {
915
- "tags": [{
916
- "name": "internal",
917
- "text": undefined
918
- }],
919
- "text": "Toggles locale formatting for numbers."
920
- },
921
- "attribute": "locale-format",
922
- "reflect": false,
923
- "defaultValue": "false"
924
- },
925
- "max": {
926
- "type": "number",
927
- "mutable": false,
928
- "complexType": {
929
- "original": "number",
930
- "resolved": "number",
931
- "references": {}
932
- },
933
- "required": false,
934
- "optional": true,
935
- "docs": {
936
- "tags": [{
937
- "name": "mdn",
938
- "text": "[max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)"
939
- }],
940
- "text": "Specifies the maximum value for type \"number\"."
941
- },
942
- "attribute": "max",
943
- "reflect": true
944
- },
945
- "min": {
946
- "type": "number",
947
- "mutable": false,
948
- "complexType": {
949
- "original": "number",
950
- "resolved": "number",
951
- "references": {}
952
- },
953
- "required": false,
954
- "optional": true,
955
- "docs": {
956
- "tags": [{
957
- "name": "mdn",
958
- "text": "[min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)"
959
- }],
960
- "text": "Specifies the minimum value for type \"number\"."
961
- },
962
- "attribute": "min",
963
- "reflect": true
964
- },
965
- "maxlength": {
966
- "type": "number",
967
- "mutable": false,
968
- "complexType": {
969
- "original": "number",
970
- "resolved": "number",
971
- "references": {}
972
- },
973
- "required": false,
974
- "optional": true,
975
- "docs": {
976
- "tags": [{
977
- "name": "deprecated",
978
- "text": "use maxLength instead"
979
- }],
980
- "text": "Specifies the maximum length of text for the component's value."
981
- },
982
- "attribute": "maxlength",
983
- "reflect": true
984
- },
985
- "maxLength": {
986
- "type": "number",
987
- "mutable": false,
988
- "complexType": {
989
- "original": "number",
990
- "resolved": "number",
991
- "references": {}
992
- },
993
- "required": false,
994
- "optional": true,
995
- "docs": {
996
- "tags": [{
997
- "name": "mdn",
998
- "text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
999
- }],
1000
- "text": "Specifies the maximum length of text for the component's value."
1001
- },
1002
- "attribute": "max-length",
1003
- "reflect": true
1004
- },
1005
- "minLength": {
1006
- "type": "number",
1007
- "mutable": false,
1008
- "complexType": {
1009
- "original": "number",
1010
- "resolved": "number",
1011
- "references": {}
1012
- },
1013
- "required": false,
1014
- "optional": true,
1015
- "docs": {
1016
- "tags": [{
1017
- "name": "mdn",
1018
- "text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
1019
- }],
1020
- "text": "Specifies the minimum length of text for the component's value."
1021
- },
1022
- "attribute": "min-length",
1023
- "reflect": true
1024
- },
1025
- "name": {
1026
- "type": "string",
1027
- "mutable": false,
1028
- "complexType": {
1029
- "original": "string",
1030
- "resolved": "string",
1031
- "references": {}
1032
- },
1033
- "required": false,
1034
- "optional": false,
1035
- "docs": {
1036
- "tags": [{
1037
- "name": "mdn",
1038
- "text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
1039
- }],
1040
- "text": "Specifies the name of the component."
1041
- },
1042
- "attribute": "name",
1043
- "reflect": true
1044
- },
1045
- "numberButtonType": {
1046
- "type": "string",
1047
- "mutable": false,
1048
- "complexType": {
1049
- "original": "InputPlacement",
1050
- "resolved": "\"horizontal\" | \"none\" | \"vertical\"",
1051
- "references": {
1052
- "InputPlacement": {
1053
- "location": "import",
1054
- "path": "./interfaces"
625
+ static get originalStyleUrls() {
626
+ return {
627
+ "$": ["input.scss"]
628
+ };
629
+ }
630
+ static get styleUrls() {
631
+ return {
632
+ "$": ["input.css"]
633
+ };
634
+ }
635
+ static get properties() {
636
+ return {
637
+ "alignment": {
638
+ "type": "string",
639
+ "mutable": false,
640
+ "complexType": {
641
+ "original": "Position",
642
+ "resolved": "\"end\" | \"start\"",
643
+ "references": {
644
+ "Position": {
645
+ "location": "import",
646
+ "path": "../interfaces"
647
+ }
1055
648
  }
1056
- }
1057
- },
1058
- "required": false,
1059
- "optional": true,
1060
- "docs": {
1061
- "tags": [],
1062
- "text": "Specifies the placement of the buttons for type \"number\"."
1063
- },
1064
- "attribute": "number-button-type",
1065
- "reflect": true,
1066
- "defaultValue": "\"vertical\""
1067
- },
1068
- "placeholder": {
1069
- "type": "string",
1070
- "mutable": false,
1071
- "complexType": {
1072
- "original": "string",
1073
- "resolved": "string",
1074
- "references": {}
1075
- },
1076
- "required": false,
1077
- "optional": false,
1078
- "docs": {
1079
- "tags": [{
1080
- "name": "mdn",
1081
- "text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
1082
- }],
1083
- "text": "Specifies placeholder text for the component."
1084
- },
1085
- "attribute": "placeholder",
1086
- "reflect": false
1087
- },
1088
- "prefixText": {
1089
- "type": "string",
1090
- "mutable": false,
1091
- "complexType": {
1092
- "original": "string",
1093
- "resolved": "string",
1094
- "references": {}
1095
- },
1096
- "required": false,
1097
- "optional": true,
1098
- "docs": {
1099
- "tags": [],
1100
- "text": "Adds text to the start of the component."
1101
- },
1102
- "attribute": "prefix-text",
1103
- "reflect": false
1104
- },
1105
- "readOnly": {
1106
- "type": "boolean",
1107
- "mutable": false,
1108
- "complexType": {
1109
- "original": "boolean",
1110
- "resolved": "boolean",
1111
- "references": {}
1112
- },
1113
- "required": false,
1114
- "optional": false,
1115
- "docs": {
1116
- "tags": [{
1117
- "name": "mdn",
1118
- "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
1119
- }],
1120
- "text": "When true, the value cannot be modified."
1121
- },
1122
- "attribute": "read-only",
1123
- "reflect": true,
1124
- "defaultValue": "false"
1125
- },
1126
- "required": {
1127
- "type": "boolean",
1128
- "mutable": false,
1129
- "complexType": {
1130
- "original": "boolean",
1131
- "resolved": "boolean",
1132
- "references": {}
1133
- },
1134
- "required": false,
1135
- "optional": false,
1136
- "docs": {
1137
- "tags": [],
1138
- "text": "When true, the component must have a value in order for the form to submit."
1139
- },
1140
- "attribute": "required",
1141
- "reflect": true,
1142
- "defaultValue": "false"
1143
- },
1144
- "scale": {
1145
- "type": "string",
1146
- "mutable": true,
1147
- "complexType": {
1148
- "original": "Scale",
1149
- "resolved": "\"l\" | \"m\" | \"s\"",
1150
- "references": {
1151
- "Scale": {
1152
- "location": "import",
1153
- "path": "../interfaces"
649
+ },
650
+ "required": false,
651
+ "optional": false,
652
+ "docs": {
653
+ "tags": [],
654
+ "text": "Specifies the text alignment of the component's value."
655
+ },
656
+ "attribute": "alignment",
657
+ "reflect": true,
658
+ "defaultValue": "\"start\""
659
+ },
660
+ "autofocus": {
661
+ "type": "boolean",
662
+ "mutable": false,
663
+ "complexType": {
664
+ "original": "boolean",
665
+ "resolved": "boolean",
666
+ "references": {}
667
+ },
668
+ "required": false,
669
+ "optional": false,
670
+ "docs": {
671
+ "tags": [{
672
+ "name": "mdn",
673
+ "text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
674
+ }],
675
+ "text": "When `true`, the component is focused on page load."
676
+ },
677
+ "attribute": "autofocus",
678
+ "reflect": true,
679
+ "defaultValue": "false"
680
+ },
681
+ "clearable": {
682
+ "type": "boolean",
683
+ "mutable": false,
684
+ "complexType": {
685
+ "original": "boolean",
686
+ "resolved": "boolean",
687
+ "references": {}
688
+ },
689
+ "required": false,
690
+ "optional": false,
691
+ "docs": {
692
+ "tags": [],
693
+ "text": "When `true`, a clear button is displayed when the component has a value. The clear button shows by default for `\"search\"`, `\"time\"`, and `\"date\"` types, and will not display for the `\"textarea\"` type."
694
+ },
695
+ "attribute": "clearable",
696
+ "reflect": true,
697
+ "defaultValue": "false"
698
+ },
699
+ "disabled": {
700
+ "type": "boolean",
701
+ "mutable": false,
702
+ "complexType": {
703
+ "original": "boolean",
704
+ "resolved": "boolean",
705
+ "references": {}
706
+ },
707
+ "required": false,
708
+ "optional": false,
709
+ "docs": {
710
+ "tags": [{
711
+ "name": "mdn",
712
+ "text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
713
+ }],
714
+ "text": "When `true`, interaction is prevented and the component is displayed with lower opacity."
715
+ },
716
+ "attribute": "disabled",
717
+ "reflect": true,
718
+ "defaultValue": "false"
719
+ },
720
+ "groupSeparator": {
721
+ "type": "boolean",
722
+ "mutable": false,
723
+ "complexType": {
724
+ "original": "boolean",
725
+ "resolved": "boolean",
726
+ "references": {}
727
+ },
728
+ "required": false,
729
+ "optional": false,
730
+ "docs": {
731
+ "tags": [],
732
+ "text": "When `true`, number values are displayed with a group separator corresponding to the language and country format."
733
+ },
734
+ "attribute": "group-separator",
735
+ "reflect": true,
736
+ "defaultValue": "false"
737
+ },
738
+ "hidden": {
739
+ "type": "boolean",
740
+ "mutable": false,
741
+ "complexType": {
742
+ "original": "boolean",
743
+ "resolved": "boolean",
744
+ "references": {}
745
+ },
746
+ "required": false,
747
+ "optional": false,
748
+ "docs": {
749
+ "tags": [{
750
+ "name": "mdn",
751
+ "text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
752
+ }],
753
+ "text": "When `true`, the component will not be visible."
754
+ },
755
+ "attribute": "hidden",
756
+ "reflect": true,
757
+ "defaultValue": "false"
758
+ },
759
+ "icon": {
760
+ "type": "any",
761
+ "mutable": false,
762
+ "complexType": {
763
+ "original": "string | boolean",
764
+ "resolved": "boolean | string",
765
+ "references": {}
766
+ },
767
+ "required": false,
768
+ "optional": false,
769
+ "docs": {
770
+ "tags": [],
771
+ "text": "When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon."
772
+ },
773
+ "attribute": "icon",
774
+ "reflect": true
775
+ },
776
+ "intlClear": {
777
+ "type": "string",
778
+ "mutable": false,
779
+ "complexType": {
780
+ "original": "string",
781
+ "resolved": "string",
782
+ "references": {}
783
+ },
784
+ "required": false,
785
+ "optional": true,
786
+ "docs": {
787
+ "tags": [],
788
+ "text": "Accessible name for the component's clear button."
789
+ },
790
+ "attribute": "intl-clear",
791
+ "reflect": false
792
+ },
793
+ "intlLoading": {
794
+ "type": "string",
795
+ "mutable": false,
796
+ "complexType": {
797
+ "original": "string",
798
+ "resolved": "string",
799
+ "references": {}
800
+ },
801
+ "required": false,
802
+ "optional": true,
803
+ "docs": {
804
+ "tags": [{
805
+ "name": "default",
806
+ "text": "\"Loading\""
807
+ }],
808
+ "text": "Accessible name when the component is loading."
809
+ },
810
+ "attribute": "intl-loading",
811
+ "reflect": false,
812
+ "defaultValue": "COMMON_TEXT.loading"
813
+ },
814
+ "iconFlipRtl": {
815
+ "type": "boolean",
816
+ "mutable": false,
817
+ "complexType": {
818
+ "original": "boolean",
819
+ "resolved": "boolean",
820
+ "references": {}
821
+ },
822
+ "required": false,
823
+ "optional": false,
824
+ "docs": {
825
+ "tags": [],
826
+ "text": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`)."
827
+ },
828
+ "attribute": "icon-flip-rtl",
829
+ "reflect": true,
830
+ "defaultValue": "false"
831
+ },
832
+ "label": {
833
+ "type": "string",
834
+ "mutable": false,
835
+ "complexType": {
836
+ "original": "string",
837
+ "resolved": "string",
838
+ "references": {}
839
+ },
840
+ "required": false,
841
+ "optional": true,
842
+ "docs": {
843
+ "tags": [],
844
+ "text": "Accessible name for the component."
845
+ },
846
+ "attribute": "label",
847
+ "reflect": false
848
+ },
849
+ "loading": {
850
+ "type": "boolean",
851
+ "mutable": false,
852
+ "complexType": {
853
+ "original": "boolean",
854
+ "resolved": "boolean",
855
+ "references": {}
856
+ },
857
+ "required": false,
858
+ "optional": false,
859
+ "docs": {
860
+ "tags": [],
861
+ "text": "When `true`, a busy indicator is displayed."
862
+ },
863
+ "attribute": "loading",
864
+ "reflect": true,
865
+ "defaultValue": "false"
866
+ },
867
+ "locale": {
868
+ "type": "string",
869
+ "mutable": false,
870
+ "complexType": {
871
+ "original": "string",
872
+ "resolved": "string",
873
+ "references": {}
874
+ },
875
+ "required": false,
876
+ "optional": false,
877
+ "docs": {
878
+ "tags": [{
879
+ "name": "deprecated",
880
+ "text": "set the global `lang` attribute on the element instead."
881
+ }, {
882
+ "name": "mdn",
883
+ "text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
884
+ }],
885
+ "text": "BCP 47 language tag for desired language and country format"
886
+ },
887
+ "attribute": "locale",
888
+ "reflect": false
889
+ },
890
+ "numberingSystem": {
891
+ "type": "string",
892
+ "mutable": false,
893
+ "complexType": {
894
+ "original": "NumberingSystem",
895
+ "resolved": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
896
+ "references": {
897
+ "NumberingSystem": {
898
+ "location": "import",
899
+ "path": "../../utils/locale"
900
+ }
1154
901
  }
1155
- }
1156
- },
1157
- "required": false,
1158
- "optional": false,
1159
- "docs": {
1160
- "tags": [],
1161
- "text": "Specifies the size of the component."
1162
- },
1163
- "attribute": "scale",
1164
- "reflect": true,
1165
- "defaultValue": "\"m\""
1166
- },
1167
- "status": {
1168
- "type": "string",
1169
- "mutable": true,
1170
- "complexType": {
1171
- "original": "Status",
1172
- "resolved": "\"idle\" | \"invalid\" | \"valid\"",
1173
- "references": {
1174
- "Status": {
1175
- "location": "import",
1176
- "path": "../interfaces"
902
+ },
903
+ "required": false,
904
+ "optional": true,
905
+ "docs": {
906
+ "tags": [],
907
+ "text": "Specifies the Unicode numeral system used by the component for localization."
908
+ },
909
+ "attribute": "numbering-system",
910
+ "reflect": true
911
+ },
912
+ "localeFormat": {
913
+ "type": "boolean",
914
+ "mutable": false,
915
+ "complexType": {
916
+ "original": "boolean",
917
+ "resolved": "boolean",
918
+ "references": {}
919
+ },
920
+ "required": false,
921
+ "optional": false,
922
+ "docs": {
923
+ "tags": [{
924
+ "name": "internal",
925
+ "text": undefined
926
+ }],
927
+ "text": "When `true`, uses locale formatting for numbers."
928
+ },
929
+ "attribute": "locale-format",
930
+ "reflect": false,
931
+ "defaultValue": "false"
932
+ },
933
+ "max": {
934
+ "type": "number",
935
+ "mutable": false,
936
+ "complexType": {
937
+ "original": "number",
938
+ "resolved": "number",
939
+ "references": {}
940
+ },
941
+ "required": false,
942
+ "optional": true,
943
+ "docs": {
944
+ "tags": [{
945
+ "name": "mdn",
946
+ "text": "[max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)"
947
+ }],
948
+ "text": "Specifies the maximum value for type \"number\"."
949
+ },
950
+ "attribute": "max",
951
+ "reflect": true
952
+ },
953
+ "min": {
954
+ "type": "number",
955
+ "mutable": false,
956
+ "complexType": {
957
+ "original": "number",
958
+ "resolved": "number",
959
+ "references": {}
960
+ },
961
+ "required": false,
962
+ "optional": true,
963
+ "docs": {
964
+ "tags": [{
965
+ "name": "mdn",
966
+ "text": "[min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)"
967
+ }],
968
+ "text": "Specifies the minimum value for `type=\"number\"`."
969
+ },
970
+ "attribute": "min",
971
+ "reflect": true
972
+ },
973
+ "maxlength": {
974
+ "type": "number",
975
+ "mutable": false,
976
+ "complexType": {
977
+ "original": "number",
978
+ "resolved": "number",
979
+ "references": {}
980
+ },
981
+ "required": false,
982
+ "optional": true,
983
+ "docs": {
984
+ "tags": [{
985
+ "name": "deprecated",
986
+ "text": "use `maxLength` instead."
987
+ }],
988
+ "text": "Specifies the maximum length of text for the component's value."
989
+ },
990
+ "attribute": "maxlength",
991
+ "reflect": true
992
+ },
993
+ "maxLength": {
994
+ "type": "number",
995
+ "mutable": false,
996
+ "complexType": {
997
+ "original": "number",
998
+ "resolved": "number",
999
+ "references": {}
1000
+ },
1001
+ "required": false,
1002
+ "optional": true,
1003
+ "docs": {
1004
+ "tags": [{
1005
+ "name": "mdn",
1006
+ "text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
1007
+ }],
1008
+ "text": "Specifies the maximum length of text for the component's value."
1009
+ },
1010
+ "attribute": "max-length",
1011
+ "reflect": true
1012
+ },
1013
+ "minLength": {
1014
+ "type": "number",
1015
+ "mutable": false,
1016
+ "complexType": {
1017
+ "original": "number",
1018
+ "resolved": "number",
1019
+ "references": {}
1020
+ },
1021
+ "required": false,
1022
+ "optional": true,
1023
+ "docs": {
1024
+ "tags": [{
1025
+ "name": "mdn",
1026
+ "text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
1027
+ }],
1028
+ "text": "Specifies the minimum length of text for the component's value."
1029
+ },
1030
+ "attribute": "min-length",
1031
+ "reflect": true
1032
+ },
1033
+ "name": {
1034
+ "type": "string",
1035
+ "mutable": false,
1036
+ "complexType": {
1037
+ "original": "string",
1038
+ "resolved": "string",
1039
+ "references": {}
1040
+ },
1041
+ "required": false,
1042
+ "optional": false,
1043
+ "docs": {
1044
+ "tags": [{
1045
+ "name": "mdn",
1046
+ "text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
1047
+ }],
1048
+ "text": "Specifies the name of the component on form submission."
1049
+ },
1050
+ "attribute": "name",
1051
+ "reflect": true
1052
+ },
1053
+ "numberButtonType": {
1054
+ "type": "string",
1055
+ "mutable": false,
1056
+ "complexType": {
1057
+ "original": "InputPlacement",
1058
+ "resolved": "\"horizontal\" | \"none\" | \"vertical\"",
1059
+ "references": {
1060
+ "InputPlacement": {
1061
+ "location": "import",
1062
+ "path": "./interfaces"
1063
+ }
1177
1064
  }
1178
- }
1179
- },
1180
- "required": false,
1181
- "optional": false,
1182
- "docs": {
1183
- "tags": [],
1184
- "text": "Specifies the status of the input field, which determines message and icons."
1185
- },
1186
- "attribute": "status",
1187
- "reflect": true,
1188
- "defaultValue": "\"idle\""
1189
- },
1190
- "step": {
1191
- "type": "any",
1192
- "mutable": false,
1193
- "complexType": {
1194
- "original": "number | \"any\"",
1195
- "resolved": "\"any\" | number",
1196
- "references": {}
1197
- },
1198
- "required": false,
1199
- "optional": true,
1200
- "docs": {
1201
- "tags": [{
1202
- "name": "mdn",
1203
- "text": "[step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)"
1204
- }],
1205
- "text": "Specifies the granularity that the component's value must adhere to."
1206
- },
1207
- "attribute": "step",
1208
- "reflect": true
1209
- },
1210
- "suffixText": {
1211
- "type": "string",
1212
- "mutable": false,
1213
- "complexType": {
1214
- "original": "string",
1215
- "resolved": "string",
1216
- "references": {}
1217
- },
1218
- "required": false,
1219
- "optional": true,
1220
- "docs": {
1221
- "tags": [],
1222
- "text": "Adds text to the end of the component."
1223
- },
1224
- "attribute": "suffix-text",
1225
- "reflect": false
1226
- },
1227
- "editingEnabled": {
1228
- "type": "boolean",
1229
- "mutable": true,
1230
- "complexType": {
1231
- "original": "boolean",
1232
- "resolved": "boolean",
1233
- "references": {}
1234
- },
1235
- "required": false,
1236
- "optional": false,
1237
- "docs": {
1238
- "tags": [{
1239
- "name": "internal",
1240
- "text": undefined
1241
- }],
1242
- "text": ""
1243
- },
1244
- "attribute": "editing-enabled",
1245
- "reflect": true,
1246
- "defaultValue": "false"
1247
- },
1248
- "type": {
1249
- "type": "string",
1250
- "mutable": false,
1251
- "complexType": {
1252
- "original": "| \"color\"\n | \"date\"\n | \"datetime-local\"\n | \"email\"\n | \"file\"\n | \"image\"\n | \"month\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"text\"\n | \"textarea\"\n | \"time\"\n | \"url\"\n | \"week\"",
1253
- "resolved": "\"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"image\" | \"month\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"time\" | \"url\" | \"week\"",
1254
- "references": {}
1255
- },
1256
- "required": false,
1257
- "optional": false,
1258
- "docs": {
1259
- "tags": [],
1260
- "text": "Specifies the component type.\n\nNote that the following types add type-specific icons by default: \"date\", \"email\", \"password\", \"search\", \"tel\", \"time\"."
1261
- },
1262
- "attribute": "type",
1263
- "reflect": true,
1264
- "defaultValue": "\"text\""
1265
- },
1266
- "value": {
1267
- "type": "string",
1268
- "mutable": true,
1269
- "complexType": {
1270
- "original": "string",
1271
- "resolved": "string",
1272
- "references": {}
1273
- },
1274
- "required": false,
1275
- "optional": false,
1276
- "docs": {
1277
- "tags": [],
1278
- "text": "The component's value."
1279
- },
1280
- "attribute": "value",
1281
- "reflect": false,
1282
- "defaultValue": "\"\""
1283
- }
1284
- }; }
1285
- static get states() { return {
1286
- "globalAttributes": {},
1287
- "localizedValue": {}
1288
- }; }
1289
- static get events() { return [{
1290
- "method": "calciteInternalInputFocus",
1291
- "name": "calciteInternalInputFocus",
1292
- "bubbles": true,
1293
- "cancelable": false,
1294
- "composed": true,
1295
- "docs": {
1296
- "tags": [{
1297
- "name": "internal",
1298
- "text": undefined
1299
- }],
1300
- "text": ""
1301
- },
1302
- "complexType": {
1303
- "original": "void",
1304
- "resolved": "void",
1305
- "references": {}
1306
- }
1307
- }, {
1308
- "method": "calciteInternalInputBlur",
1309
- "name": "calciteInternalInputBlur",
1310
- "bubbles": true,
1311
- "cancelable": false,
1312
- "composed": true,
1313
- "docs": {
1314
- "tags": [{
1315
- "name": "internal",
1316
- "text": undefined
1317
- }],
1318
- "text": ""
1319
- },
1320
- "complexType": {
1321
- "original": "void",
1322
- "resolved": "void",
1323
- "references": {}
1324
- }
1325
- }, {
1326
- "method": "calciteInputInput",
1327
- "name": "calciteInputInput",
1328
- "bubbles": true,
1329
- "cancelable": true,
1330
- "composed": true,
1331
- "docs": {
1332
- "tags": [],
1333
- "text": "Fires each time a new value is typed.\n\n**Note:**: The `el` and `value` event payload props are deprecated, please use the event's target/currentTarget instead"
1334
- },
1335
- "complexType": {
1336
- "original": "DeprecatedEventPayload",
1337
- "resolved": "any",
1338
- "references": {
1339
- "DeprecatedEventPayload": {
1340
- "location": "import",
1341
- "path": "../interfaces"
1065
+ },
1066
+ "required": false,
1067
+ "optional": true,
1068
+ "docs": {
1069
+ "tags": [],
1070
+ "text": "Specifies the placement of the buttons for `type=\"number\"`."
1071
+ },
1072
+ "attribute": "number-button-type",
1073
+ "reflect": true,
1074
+ "defaultValue": "\"vertical\""
1075
+ },
1076
+ "placeholder": {
1077
+ "type": "string",
1078
+ "mutable": false,
1079
+ "complexType": {
1080
+ "original": "string",
1081
+ "resolved": "string",
1082
+ "references": {}
1083
+ },
1084
+ "required": false,
1085
+ "optional": false,
1086
+ "docs": {
1087
+ "tags": [{
1088
+ "name": "mdn",
1089
+ "text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
1090
+ }],
1091
+ "text": "Specifies placeholder text for the component."
1092
+ },
1093
+ "attribute": "placeholder",
1094
+ "reflect": false
1095
+ },
1096
+ "prefixText": {
1097
+ "type": "string",
1098
+ "mutable": false,
1099
+ "complexType": {
1100
+ "original": "string",
1101
+ "resolved": "string",
1102
+ "references": {}
1103
+ },
1104
+ "required": false,
1105
+ "optional": true,
1106
+ "docs": {
1107
+ "tags": [],
1108
+ "text": "Adds text to the start of the component."
1109
+ },
1110
+ "attribute": "prefix-text",
1111
+ "reflect": false
1112
+ },
1113
+ "readOnly": {
1114
+ "type": "boolean",
1115
+ "mutable": false,
1116
+ "complexType": {
1117
+ "original": "boolean",
1118
+ "resolved": "boolean",
1119
+ "references": {}
1120
+ },
1121
+ "required": false,
1122
+ "optional": false,
1123
+ "docs": {
1124
+ "tags": [{
1125
+ "name": "mdn",
1126
+ "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
1127
+ }],
1128
+ "text": "When `true`, the component's value can be read, but cannot be modified."
1129
+ },
1130
+ "attribute": "read-only",
1131
+ "reflect": true,
1132
+ "defaultValue": "false"
1133
+ },
1134
+ "required": {
1135
+ "type": "boolean",
1136
+ "mutable": false,
1137
+ "complexType": {
1138
+ "original": "boolean",
1139
+ "resolved": "boolean",
1140
+ "references": {}
1141
+ },
1142
+ "required": false,
1143
+ "optional": false,
1144
+ "docs": {
1145
+ "tags": [],
1146
+ "text": "When `true`, the component must have a value in order for the form to submit."
1147
+ },
1148
+ "attribute": "required",
1149
+ "reflect": true,
1150
+ "defaultValue": "false"
1151
+ },
1152
+ "scale": {
1153
+ "type": "string",
1154
+ "mutable": true,
1155
+ "complexType": {
1156
+ "original": "Scale",
1157
+ "resolved": "\"l\" | \"m\" | \"s\"",
1158
+ "references": {
1159
+ "Scale": {
1160
+ "location": "import",
1161
+ "path": "../interfaces"
1162
+ }
1342
1163
  }
1343
- }
1344
- }
1345
- }, {
1346
- "method": "calciteInputChange",
1347
- "name": "calciteInputChange",
1348
- "bubbles": true,
1349
- "cancelable": false,
1350
- "composed": true,
1351
- "docs": {
1352
- "tags": [],
1353
- "text": "Fires each time a new value is typed and committed."
1354
- },
1355
- "complexType": {
1356
- "original": "void",
1357
- "resolved": "void",
1358
- "references": {}
1359
- }
1360
- }]; }
1361
- static get methods() { return {
1362
- "setFocus": {
1363
- "complexType": {
1364
- "signature": "() => Promise<void>",
1365
- "parameters": [],
1366
- "references": {
1367
- "Promise": {
1368
- "location": "global"
1164
+ },
1165
+ "required": false,
1166
+ "optional": false,
1167
+ "docs": {
1168
+ "tags": [],
1169
+ "text": "Specifies the size of the component."
1170
+ },
1171
+ "attribute": "scale",
1172
+ "reflect": true,
1173
+ "defaultValue": "\"m\""
1174
+ },
1175
+ "status": {
1176
+ "type": "string",
1177
+ "mutable": true,
1178
+ "complexType": {
1179
+ "original": "Status",
1180
+ "resolved": "\"idle\" | \"invalid\" | \"valid\"",
1181
+ "references": {
1182
+ "Status": {
1183
+ "location": "import",
1184
+ "path": "../interfaces"
1185
+ }
1369
1186
  }
1370
1187
  },
1371
- "return": "Promise<void>"
1372
- },
1373
- "docs": {
1374
- "text": "Sets focus on the component.",
1375
- "tags": []
1188
+ "required": false,
1189
+ "optional": false,
1190
+ "docs": {
1191
+ "tags": [],
1192
+ "text": "Specifies the status of the input field, which determines message and icons."
1193
+ },
1194
+ "attribute": "status",
1195
+ "reflect": true,
1196
+ "defaultValue": "\"idle\""
1197
+ },
1198
+ "step": {
1199
+ "type": "any",
1200
+ "mutable": false,
1201
+ "complexType": {
1202
+ "original": "number | \"any\"",
1203
+ "resolved": "\"any\" | number",
1204
+ "references": {}
1205
+ },
1206
+ "required": false,
1207
+ "optional": true,
1208
+ "docs": {
1209
+ "tags": [{
1210
+ "name": "mdn",
1211
+ "text": "[step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)"
1212
+ }],
1213
+ "text": "Specifies the granularity the component's value must adhere to."
1214
+ },
1215
+ "attribute": "step",
1216
+ "reflect": true
1217
+ },
1218
+ "suffixText": {
1219
+ "type": "string",
1220
+ "mutable": false,
1221
+ "complexType": {
1222
+ "original": "string",
1223
+ "resolved": "string",
1224
+ "references": {}
1225
+ },
1226
+ "required": false,
1227
+ "optional": true,
1228
+ "docs": {
1229
+ "tags": [],
1230
+ "text": "Adds text to the end of the component."
1231
+ },
1232
+ "attribute": "suffix-text",
1233
+ "reflect": false
1234
+ },
1235
+ "editingEnabled": {
1236
+ "type": "boolean",
1237
+ "mutable": true,
1238
+ "complexType": {
1239
+ "original": "boolean",
1240
+ "resolved": "boolean",
1241
+ "references": {}
1242
+ },
1243
+ "required": false,
1244
+ "optional": false,
1245
+ "docs": {
1246
+ "tags": [{
1247
+ "name": "internal",
1248
+ "text": undefined
1249
+ }],
1250
+ "text": ""
1251
+ },
1252
+ "attribute": "editing-enabled",
1253
+ "reflect": true,
1254
+ "defaultValue": "false"
1255
+ },
1256
+ "type": {
1257
+ "type": "string",
1258
+ "mutable": false,
1259
+ "complexType": {
1260
+ "original": "| \"color\"\n | \"date\"\n | \"datetime-local\"\n | \"email\"\n | \"file\"\n | \"image\"\n | \"month\"\n | \"number\"\n | \"password\"\n | \"search\"\n | \"tel\"\n | \"text\"\n | \"textarea\"\n | \"time\"\n | \"url\"\n | \"week\"",
1261
+ "resolved": "\"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"image\" | \"month\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"time\" | \"url\" | \"week\"",
1262
+ "references": {}
1263
+ },
1264
+ "required": false,
1265
+ "optional": false,
1266
+ "docs": {
1267
+ "tags": [],
1268
+ "text": "Specifies the component type.\n\nNote that the following `type`s add type-specific icons by default: `\"date\"`, `\"email\"`, `\"password\"`, `\"search\"`, `\"tel\"`, `\"time\"`."
1269
+ },
1270
+ "attribute": "type",
1271
+ "reflect": true,
1272
+ "defaultValue": "\"text\""
1273
+ },
1274
+ "value": {
1275
+ "type": "string",
1276
+ "mutable": true,
1277
+ "complexType": {
1278
+ "original": "string",
1279
+ "resolved": "string",
1280
+ "references": {}
1281
+ },
1282
+ "required": false,
1283
+ "optional": false,
1284
+ "docs": {
1285
+ "tags": [],
1286
+ "text": "The component's value."
1287
+ },
1288
+ "attribute": "value",
1289
+ "reflect": false,
1290
+ "defaultValue": "\"\""
1376
1291
  }
1377
- },
1378
- "selectText": {
1379
- "complexType": {
1380
- "signature": "() => Promise<void>",
1381
- "parameters": [],
1382
- "references": {
1383
- "Promise": {
1384
- "location": "global"
1292
+ };
1293
+ }
1294
+ static get states() {
1295
+ return {
1296
+ "effectiveLocale": {},
1297
+ "localizedValue": {}
1298
+ };
1299
+ }
1300
+ static get events() {
1301
+ return [{
1302
+ "method": "calciteInternalInputFocus",
1303
+ "name": "calciteInternalInputFocus",
1304
+ "bubbles": true,
1305
+ "cancelable": false,
1306
+ "composed": true,
1307
+ "docs": {
1308
+ "tags": [{
1309
+ "name": "internal",
1310
+ "text": undefined
1311
+ }],
1312
+ "text": ""
1313
+ },
1314
+ "complexType": {
1315
+ "original": "void",
1316
+ "resolved": "void",
1317
+ "references": {}
1318
+ }
1319
+ }, {
1320
+ "method": "calciteInternalInputBlur",
1321
+ "name": "calciteInternalInputBlur",
1322
+ "bubbles": true,
1323
+ "cancelable": false,
1324
+ "composed": true,
1325
+ "docs": {
1326
+ "tags": [{
1327
+ "name": "internal",
1328
+ "text": undefined
1329
+ }],
1330
+ "text": ""
1331
+ },
1332
+ "complexType": {
1333
+ "original": "void",
1334
+ "resolved": "void",
1335
+ "references": {}
1336
+ }
1337
+ }, {
1338
+ "method": "calciteInputInput",
1339
+ "name": "calciteInputInput",
1340
+ "bubbles": true,
1341
+ "cancelable": true,
1342
+ "composed": true,
1343
+ "docs": {
1344
+ "tags": [],
1345
+ "text": "Fires each time a new `value` is typed.\n\n**Note:**: The `el` and `value` event payload properties are deprecated, use the event's `target`/`currentTarget` instead."
1346
+ },
1347
+ "complexType": {
1348
+ "original": "DeprecatedEventPayload",
1349
+ "resolved": "any",
1350
+ "references": {
1351
+ "DeprecatedEventPayload": {
1352
+ "location": "import",
1353
+ "path": "../interfaces"
1354
+ }
1385
1355
  }
1356
+ }
1357
+ }, {
1358
+ "method": "calciteInputChange",
1359
+ "name": "calciteInputChange",
1360
+ "bubbles": true,
1361
+ "cancelable": false,
1362
+ "composed": true,
1363
+ "docs": {
1364
+ "tags": [],
1365
+ "text": "Fires each time a new `value` is typed and committed."
1366
+ },
1367
+ "complexType": {
1368
+ "original": "void",
1369
+ "resolved": "void",
1370
+ "references": {}
1371
+ }
1372
+ }];
1373
+ }
1374
+ static get methods() {
1375
+ return {
1376
+ "setFocus": {
1377
+ "complexType": {
1378
+ "signature": "() => Promise<void>",
1379
+ "parameters": [],
1380
+ "references": {
1381
+ "Promise": {
1382
+ "location": "global"
1383
+ }
1384
+ },
1385
+ "return": "Promise<void>"
1386
1386
  },
1387
- "return": "Promise<void>"
1387
+ "docs": {
1388
+ "text": "Sets focus on the component.",
1389
+ "tags": []
1390
+ }
1388
1391
  },
1389
- "docs": {
1390
- "text": "Selects all text of the component's `value`.",
1391
- "tags": []
1392
+ "selectText": {
1393
+ "complexType": {
1394
+ "signature": "() => Promise<void>",
1395
+ "parameters": [],
1396
+ "references": {
1397
+ "Promise": {
1398
+ "location": "global"
1399
+ }
1400
+ },
1401
+ "return": "Promise<void>"
1402
+ },
1403
+ "docs": {
1404
+ "text": "Selects all text of the component's `value`.",
1405
+ "tags": []
1406
+ }
1392
1407
  }
1393
- }
1394
- }; }
1408
+ };
1409
+ }
1395
1410
  static get elementRef() { return "el"; }
1396
- static get watchers() { return [{
1397
- "propName": "disabled",
1398
- "methodName": "disabledWatcher"
1399
- }, {
1400
- "propName": "max",
1401
- "methodName": "maxWatcher"
1402
- }, {
1403
- "propName": "min",
1404
- "methodName": "minWatcher"
1405
- }, {
1406
- "propName": "value",
1407
- "methodName": "valueWatcher"
1408
- }, {
1409
- "propName": "icon",
1410
- "methodName": "updateRequestedIcon"
1411
- }, {
1412
- "propName": "type",
1413
- "methodName": "updateRequestedIcon"
1414
- }]; }
1411
+ static get watchers() {
1412
+ return [{
1413
+ "propName": "disabled",
1414
+ "methodName": "disabledWatcher"
1415
+ }, {
1416
+ "propName": "locale",
1417
+ "methodName": "localeChanged"
1418
+ }, {
1419
+ "propName": "max",
1420
+ "methodName": "maxWatcher"
1421
+ }, {
1422
+ "propName": "min",
1423
+ "methodName": "minWatcher"
1424
+ }, {
1425
+ "propName": "value",
1426
+ "methodName": "valueWatcher"
1427
+ }, {
1428
+ "propName": "icon",
1429
+ "methodName": "updateRequestedIcon"
1430
+ }, {
1431
+ "propName": "type",
1432
+ "methodName": "updateRequestedIcon"
1433
+ }];
1434
+ }
1415
1435
  }