@esri/calcite-components 1.0.0-next.596 → 1.0.0-next.598

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 (1195) 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/calcite.css +1 -1
  45. package/dist/calcite/calcite.esm.js +2 -2
  46. package/dist/calcite/index.esm.js +1 -1
  47. package/dist/calcite/p-010dd109.entry.js +6 -0
  48. package/dist/calcite/{p-6fab9a7a.js → p-02c03af1.js} +1 -1
  49. package/dist/calcite/p-02d86d44.js +6 -0
  50. package/dist/calcite/p-03bdf648.entry.js +6 -0
  51. package/dist/calcite/p-062ce043.entry.js +6 -0
  52. package/dist/calcite/p-0deab0a4.entry.js +6 -0
  53. package/dist/calcite/{p-8d83e629.js → p-0edd33c6.js} +2 -2
  54. package/dist/calcite/{p-9f8a6b31.js → p-0f5f53c2.js} +1 -1
  55. package/dist/calcite/p-10c92db7.entry.js +6 -0
  56. package/dist/calcite/p-12b30d17.entry.js +6 -0
  57. package/dist/calcite/p-1352273d.entry.js +6 -0
  58. package/dist/calcite/p-176c7c94.entry.js +6 -0
  59. package/dist/calcite/p-18ebc779.entry.js +6 -0
  60. package/dist/calcite/{p-df63f732.js → p-1db0a85d.js} +2 -2
  61. package/dist/calcite/p-219e2e73.entry.js +6 -0
  62. package/dist/calcite/p-2ab04b0f.entry.js +6 -0
  63. package/dist/calcite/p-2f357624.entry.js +6 -0
  64. package/dist/calcite/p-2f52a669.entry.js +6 -0
  65. package/dist/calcite/p-2fecb26e.js +6 -0
  66. package/dist/calcite/{p-a8c6757c.js → p-36a2b846.js} +1 -1
  67. package/dist/calcite/{p-9a3c3fc8.js → p-36c1c94c.js} +1 -1
  68. package/dist/calcite/p-37bc6ac2.entry.js +6 -0
  69. package/dist/calcite/p-392906a6.entry.js +6 -0
  70. package/dist/calcite/p-3941a63c.js +6 -0
  71. package/dist/calcite/p-3b9a8c5f.entry.js +6 -0
  72. package/dist/calcite/p-404e08b8.entry.js +6 -0
  73. package/dist/calcite/p-41aa50b7.entry.js +6 -0
  74. package/dist/calcite/{p-10d16edb.js → p-41c52f7c.js} +2 -2
  75. package/dist/calcite/{p-d7f23fcf.js → p-43b4a53e.js} +1 -1
  76. package/dist/calcite/p-44aecb14.js +7 -0
  77. package/dist/calcite/p-49529d9e.entry.js +6 -0
  78. package/dist/calcite/{p-6b45b297.js → p-4987b4ee.js} +1 -1
  79. package/dist/calcite/p-4cb9c524.entry.js +6 -0
  80. package/dist/calcite/p-4e5fcfd7.entry.js +6 -0
  81. package/dist/calcite/p-4eeb34ad.entry.js +6 -0
  82. package/dist/calcite/p-5139ac26.entry.js +6 -0
  83. package/dist/calcite/p-53c34094.entry.js +6 -0
  84. package/dist/calcite/{p-770a316f.js → p-543a5925.js} +1 -1
  85. package/dist/calcite/p-58ea74ab.entry.js +6 -0
  86. package/dist/calcite/{p-13eef16b.js → p-5d29962c.js} +1 -1
  87. package/dist/calcite/p-5e355fbb.entry.js +6 -0
  88. package/dist/calcite/p-66011932.entry.js +6 -0
  89. package/dist/calcite/p-665605d0.entry.js +6 -0
  90. package/dist/calcite/p-6d221ee4.entry.js +6 -0
  91. package/dist/calcite/{p-93647858.js → p-77a66a54.js} +2 -2
  92. package/dist/calcite/{p-b6d7bb31.js → p-7951d360.js} +2 -2
  93. package/dist/calcite/p-7c084561.entry.js +6 -0
  94. package/dist/calcite/p-7cb27f2a.entry.js +6 -0
  95. package/dist/calcite/{p-1689e7ab.js → p-7fa0faec.js} +1 -1
  96. package/dist/calcite/p-820a08a7.entry.js +6 -0
  97. package/dist/calcite/p-83ece20a.entry.js +6 -0
  98. package/dist/calcite/{p-9e4453d8.entry.js → p-857f0433.entry.js} +2 -2
  99. package/dist/calcite/p-91ec0aa8.entry.js +6 -0
  100. package/dist/calcite/p-92976168.entry.js +6 -0
  101. package/dist/calcite/{p-6377d482.js → p-93cd79e0.js} +1 -1
  102. package/dist/calcite/p-999f8f79.entry.js +6 -0
  103. package/dist/calcite/p-9c54742f.entry.js +6 -0
  104. package/dist/calcite/p-9fd20f7e.entry.js +6 -0
  105. package/dist/calcite/p-a7862fd2.entry.js +6 -0
  106. package/dist/calcite/p-aa9d985d.js +6 -0
  107. package/dist/calcite/{p-3e4bf2de.js → p-ae75f7f9.js} +1 -1
  108. package/dist/calcite/{p-409af2eb.js → p-b10d453d.js} +1 -1
  109. package/dist/calcite/p-b5abec95.entry.js +6 -0
  110. package/dist/calcite/p-b5d68e9b.entry.js +6 -0
  111. package/dist/calcite/p-b62081a4.entry.js +6 -0
  112. package/dist/calcite/p-bc460116.entry.js +6 -0
  113. package/dist/calcite/p-bce0e288.js +6 -0
  114. package/dist/calcite/{p-44c85d7f.js → p-bd6478ee.js} +2 -2
  115. package/dist/calcite/p-cbbaffb1.entry.js +6 -0
  116. package/dist/calcite/p-cd2d103c.entry.js +6 -0
  117. package/dist/calcite/p-cd3d6d8a.entry.js +6 -0
  118. package/dist/calcite/p-d274cd75.entry.js +6 -0
  119. package/dist/calcite/p-d393cf2a.entry.js +6 -0
  120. package/dist/calcite/p-dd4f0eb4.entry.js +6 -0
  121. package/dist/calcite/p-dd73aa68.entry.js +6 -0
  122. package/dist/calcite/{p-f848a6b0.js → p-e1fa8d26.js} +2 -2
  123. package/dist/calcite/p-e3158aba.entry.js +6 -0
  124. package/dist/calcite/p-e43df264.entry.js +6 -0
  125. package/dist/calcite/p-e6757fa4.js +6 -0
  126. package/dist/calcite/{p-8a29e1f5.js → p-e86518a3.js} +1 -1
  127. package/dist/calcite/p-eb8e9bec.entry.js +6 -0
  128. package/dist/calcite/p-ecfdca0f.entry.js +6 -0
  129. package/dist/calcite/p-f1cc17e7.entry.js +6 -0
  130. package/dist/calcite/p-f21ff110.entry.js +6 -0
  131. package/dist/calcite/{p-311e41bb.js → p-f4970d48.js} +1 -1
  132. package/dist/calcite/p-f707cf6d.entry.js +6 -0
  133. package/dist/calcite/p-fd07c84a.entry.js +6 -0
  134. package/dist/calcite/p-fd177f5d.entry.js +6 -0
  135. package/dist/cjs/{ExpandToggle-80ef82c7.js → ExpandToggle-ab03bc61.js} +5 -5
  136. package/dist/cjs/{Heading-33db6b85.js → Heading-2b3d0f1c.js} +2 -2
  137. package/dist/cjs/{app-globals-fd934cae.js → app-globals-3d7459b7.js} +2 -2
  138. package/dist/cjs/{array-c0cc85de.js → array-0903a4d0.js} +1 -1
  139. package/dist/cjs/calcite-accordion_2.cjs.entry.js +14 -14
  140. package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
  141. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  142. package/dist/cjs/calcite-action-menu.cjs.entry.js +13 -12
  143. package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
  144. package/dist/cjs/calcite-action.cjs.entry.js +13 -13
  145. package/dist/cjs/calcite-alert.cjs.entry.js +25 -13
  146. package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
  147. package/dist/cjs/calcite-block_2.cjs.entry.js +17 -16
  148. package/dist/cjs/calcite-button.cjs.entry.js +10 -10
  149. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  150. package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
  151. package/dist/cjs/calcite-chip.cjs.entry.js +9 -9
  152. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +13 -13
  153. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -19
  154. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +29 -24
  155. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +17 -15
  156. package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
  158. package/dist/cjs/calcite-flow-item.cjs.entry.js +19 -18
  159. package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
  160. package/dist/cjs/calcite-graph_2.cjs.entry.js +32 -28
  161. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  162. package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
  163. package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
  164. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +45 -40
  165. package/dist/cjs/calcite-input-message.cjs.entry.js +9 -9
  166. package/dist/cjs/calcite-input-number.cjs.entry.js +63 -44
  167. package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
  168. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +145 -89
  169. package/dist/cjs/calcite-input.cjs.entry.js +86 -64
  170. package/dist/cjs/calcite-label.cjs.entry.js +16 -16
  171. package/dist/cjs/calcite-link.cjs.entry.js +9 -9
  172. package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
  173. package/dist/cjs/calcite-loader.cjs.entry.js +7 -7
  174. package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
  175. package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
  176. package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
  177. package/dist/cjs/calcite-pagination.cjs.entry.js +20 -13
  178. package/dist/cjs/calcite-panel.cjs.entry.js +33 -32
  179. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -27
  180. package/dist/cjs/calcite-popover_2.cjs.entry.js +28 -24
  181. package/dist/cjs/calcite-progress.cjs.entry.js +10 -5
  182. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -7
  183. package/dist/cjs/calcite-radio-button.cjs.entry.js +14 -14
  184. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +17 -17
  185. package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
  186. package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
  187. package/dist/cjs/calcite-shell_3.cjs.entry.js +17 -17
  188. package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
  189. package/dist/cjs/calcite-split-button.cjs.entry.js +10 -8
  190. package/dist/cjs/calcite-stepper_2.cjs.entry.js +42 -20
  191. package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
  192. package/dist/cjs/calcite-tab_4.cjs.entry.js +21 -21
  193. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +13 -13
  194. package/dist/cjs/calcite-tile.cjs.entry.js +13 -13
  195. package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -14
  196. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +13 -11
  197. package/dist/cjs/calcite-tree_2.cjs.entry.js +133 -86
  198. package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -25
  199. package/dist/cjs/calcite.cjs.js +6 -6
  200. package/dist/cjs/{conditionalSlot-6bcc1a43.js → conditionalSlot-4b981e1a.js} +3 -3
  201. package/dist/cjs/{debounce-7a430467.js → debounce-6ac6d224.js} +1 -1
  202. package/dist/cjs/{dom-58cda112.js → dom-2aaee0df.js} +29 -3
  203. package/dist/cjs/{filter-b7bd3662.js → filter-10c27a83.js} +3 -4
  204. package/dist/cjs/{floating-ui-a78b95ef.js → floating-ui-bf70093a.js} +2 -2
  205. package/dist/cjs/{form-e31078d9.js → form-47d1e430.js} +3 -3
  206. package/dist/cjs/{guid-8b3a200d.js → guid-1b12a751.js} +1 -1
  207. package/dist/cjs/{index-f9989f5d.js → index-457a5a54.js} +1117 -946
  208. package/dist/cjs/index.cjs.js +1 -1
  209. package/dist/cjs/{interactive-a77d0ef0.js → interactive-e35bd87f.js} +1 -1
  210. package/dist/cjs/{interfaces-522c5f39.js → interfaces-58d0b0fb.js} +1 -1
  211. package/dist/cjs/{key-167ee472.js → key-5b6abad3.js} +1 -1
  212. package/dist/cjs/{label-762f03a5.js → label-bcb3c8cc.js} +2 -2
  213. package/dist/cjs/loader.cjs.js +6 -6
  214. package/dist/cjs/locale-c66b8c43.js +392 -0
  215. package/dist/cjs/{math-42a15095.js → math-9a4a9057.js} +1 -1
  216. package/dist/cjs/observers-6c3955d2.js +48 -0
  217. package/dist/cjs/{openCloseComponent-d20e03e7.js → openCloseComponent-d5404853.js} +1 -1
  218. package/dist/cjs/{resources-8a806639.js → resources-29b287c0.js} +1 -1
  219. package/dist/cjs/{resources-8ffd1200.js → resources-7103f0d8.js} +1 -1
  220. package/dist/cjs/{resources-8912222b.js → resources-83acf426.js} +1 -1
  221. package/dist/cjs/{resources-f2712948.js → resources-a636e50a.js} +5 -5
  222. package/dist/cjs/{resources-aba47c80.js → resources-c689e9d0.js} +11 -31
  223. package/dist/cjs/{resources-cd1870a1.js → resources-d8da865a.js} +1 -1
  224. package/dist/cjs/{sortable.esm-cd4b2dcd.js → sortable.esm-4c7fab47.js} +1 -1
  225. package/dist/cjs/{utils-6617f268.js → utils-147a89d2.js} +1 -1
  226. package/dist/collection/collection-manifest.json +2 -2
  227. package/dist/collection/components/accordion/accordion.js +162 -153
  228. package/dist/collection/components/accordion/accordion.stories.js +197 -0
  229. package/dist/collection/components/accordion/interfaces.js +0 -5
  230. package/dist/collection/components/accordion-item/accordion-item.js +304 -308
  231. package/dist/collection/components/accordion-item/interfaces.js +0 -5
  232. package/dist/collection/components/accordion-item/resources.js +1 -1
  233. package/dist/collection/components/action/action.css +1 -1
  234. package/dist/collection/components/action/action.js +298 -295
  235. package/dist/collection/components/action/action.stories.js +181 -0
  236. package/dist/collection/components/action/resources.js +1 -1
  237. package/dist/collection/components/action-bar/action-bar.js +241 -234
  238. package/dist/collection/components/action-bar/action-bar.stories.js +141 -0
  239. package/dist/collection/components/action-bar/resources.js +1 -1
  240. package/dist/collection/components/action-bar/utils.js +1 -1
  241. package/dist/collection/components/action-group/action-group.css +1 -1
  242. package/dist/collection/components/action-group/action-group.js +138 -135
  243. package/dist/collection/components/action-group/action-group.stories.js +41 -0
  244. package/dist/collection/components/action-group/resources.js +1 -1
  245. package/dist/collection/components/action-menu/action-menu.js +222 -211
  246. package/dist/collection/components/action-menu/action-menu.stories.js +26 -0
  247. package/dist/collection/components/action-menu/resources.js +1 -1
  248. package/dist/collection/components/action-pad/action-pad.js +198 -191
  249. package/dist/collection/components/action-pad/action-pad.stories.js +107 -0
  250. package/dist/collection/components/action-pad/resources.js +1 -1
  251. package/dist/collection/components/alert/alert.css +1 -1
  252. package/dist/collection/components/alert/alert.js +413 -376
  253. package/dist/collection/components/alert/alert.stories.js +140 -0
  254. package/dist/collection/components/alert/interfaces.js +1 -1
  255. package/dist/collection/components/alert/resources.js +1 -1
  256. package/dist/collection/components/avatar/avatar.js +107 -99
  257. package/dist/collection/components/avatar/avatar.stories.js +44 -0
  258. package/dist/collection/components/avatar/utils.js +1 -1
  259. package/dist/collection/components/block/block.css +7 -0
  260. package/dist/collection/components/block/block.js +319 -326
  261. package/dist/collection/components/block/block.stories.js +158 -0
  262. package/dist/collection/components/block/resources.js +3 -2
  263. package/dist/collection/components/block-section/block-section.js +143 -145
  264. package/dist/collection/components/block-section/interfaces.js +0 -5
  265. package/dist/collection/components/block-section/resources.js +1 -1
  266. package/dist/collection/components/button/button.js +430 -424
  267. package/dist/collection/components/button/button.stories.js +129 -0
  268. package/dist/collection/components/button/interfaces.js +0 -5
  269. package/dist/collection/components/button/resources.js +1 -1
  270. package/dist/collection/components/card/card.js +171 -179
  271. package/dist/collection/components/card/card.stories.js +225 -0
  272. package/dist/collection/components/card/resources.js +1 -1
  273. package/dist/collection/components/checkbox/checkbox.js +269 -264
  274. package/dist/collection/components/checkbox/checkbox.stories.js +43 -0
  275. package/dist/collection/components/chip/chip.js +258 -253
  276. package/dist/collection/components/chip/chip.stories.js +85 -0
  277. package/dist/collection/components/chip/interfaces.js +0 -5
  278. package/dist/collection/components/chip/resources.js +1 -1
  279. package/dist/collection/components/color-picker/color-picker.js +779 -780
  280. package/dist/collection/components/color-picker/color-picker.stories.js +80 -0
  281. package/dist/collection/components/color-picker/interfaces.js +0 -5
  282. package/dist/collection/components/color-picker/resources.js +1 -1
  283. package/dist/collection/components/color-picker/utils.js +1 -1
  284. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +189 -170
  285. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  286. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +81 -75
  287. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  288. package/dist/collection/components/combobox/combobox.js +551 -550
  289. package/dist/collection/components/combobox/combobox.stories.js +387 -0
  290. package/dist/collection/components/combobox/interfaces.js +0 -5
  291. package/dist/collection/components/combobox/resources.js +1 -1
  292. package/dist/collection/components/combobox/utils.js +1 -1
  293. package/dist/collection/components/combobox-item/combobox-item.js +241 -235
  294. package/dist/collection/components/combobox-item/resources.js +1 -1
  295. package/dist/collection/components/combobox-item-group/combobox-item-group.js +50 -47
  296. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  297. package/dist/collection/components/date-picker/assets/date-picker/nls/messages.json +31 -0
  298. package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  299. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages.json +5 -0
  300. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ar.json +5 -0
  301. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +5 -0
  302. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +5 -0
  303. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +5 -0
  304. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +5 -0
  305. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +5 -0
  306. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +5 -0
  307. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +5 -0
  308. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_en.json +5 -0
  309. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +5 -0
  310. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +5 -0
  311. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +5 -0
  312. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +5 -0
  313. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +5 -0
  314. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +5 -0
  315. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +5 -0
  316. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +5 -0
  317. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +5 -0
  318. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +5 -0
  319. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +5 -0
  320. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +5 -0
  321. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +5 -0
  322. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +5 -0
  323. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +5 -0
  324. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +5 -0
  325. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +5 -0
  326. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +5 -0
  327. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +5 -0
  328. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +5 -0
  329. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +5 -0
  330. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +5 -0
  331. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +5 -0
  332. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +5 -0
  333. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +5 -0
  334. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +5 -0
  335. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +5 -0
  336. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +5 -0
  337. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +5 -0
  338. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +5 -0
  339. package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +5 -0
  340. package/dist/collection/components/date-picker/date-picker.js +462 -447
  341. package/dist/collection/components/date-picker/interfaces.js +0 -5
  342. package/dist/collection/components/date-picker/resources.js +1 -1
  343. package/dist/collection/components/date-picker/utils.js +2 -22
  344. package/dist/collection/components/date-picker-day/date-picker-day.css +48 -24
  345. package/dist/collection/components/date-picker-day/date-picker-day.js +284 -278
  346. package/dist/collection/components/date-picker-month/date-picker-month.js +256 -249
  347. package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -8
  348. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +231 -230
  349. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  350. package/dist/collection/components/dropdown/dropdown.js +422 -411
  351. package/dist/collection/components/dropdown/dropdown.stories.js +408 -0
  352. package/dist/collection/components/dropdown/interfaces.js +0 -5
  353. package/dist/collection/components/dropdown/resources.js +1 -1
  354. package/dist/collection/components/dropdown-group/dropdown-group.js +113 -107
  355. package/dist/collection/components/dropdown-group/interfaces.js +0 -5
  356. package/dist/collection/components/dropdown-group/resources.js +1 -1
  357. package/dist/collection/components/dropdown-item/dropdown-item.js +292 -282
  358. package/dist/collection/components/dropdown-item/resources.js +1 -1
  359. package/dist/collection/components/fab/fab.js +205 -197
  360. package/dist/collection/components/fab/fab.stories.js +96 -0
  361. package/dist/collection/components/fab/resources.js +1 -1
  362. package/dist/collection/components/filter/filter.js +200 -191
  363. package/dist/collection/components/filter/resources.js +1 -1
  364. package/dist/collection/components/flow/flow.js +55 -46
  365. package/dist/collection/components/flow/flow.stories.js +151 -0
  366. package/dist/collection/components/flow/interfaces.js +0 -5
  367. package/dist/collection/components/flow/resources.js +1 -1
  368. package/dist/collection/components/flow-item/flow-item.js +400 -395
  369. package/dist/collection/components/flow-item/flow-item.stories.js +181 -0
  370. package/dist/collection/components/flow-item/resources.js +1 -1
  371. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  372. package/dist/collection/components/functional/Heading.js +1 -1
  373. package/dist/collection/components/graph/graph.js +125 -125
  374. package/dist/collection/components/graph/graph.stories.js +77 -0
  375. package/dist/collection/components/graph/interfaces.js +0 -5
  376. package/dist/collection/components/graph/util.js +1 -1
  377. package/dist/collection/components/handle/handle.js +94 -85
  378. package/dist/collection/components/handle/resources.js +1 -1
  379. package/dist/collection/components/icon/icon.js +107 -98
  380. package/dist/collection/components/icon/icon.stories.js +26 -0
  381. package/dist/collection/components/icon/resources.js +1 -1
  382. package/dist/collection/components/icon/utils.js +1 -1
  383. package/dist/collection/components/inline-editable/inline-editable.js +274 -266
  384. package/dist/collection/components/inline-editable/inline-editable.stories.js +70 -0
  385. package/dist/collection/components/inline-editable/resources.js +1 -1
  386. package/dist/collection/components/input/input.css +5 -0
  387. package/dist/collection/components/input/input.js +878 -861
  388. package/dist/collection/components/input/input.stories.js +146 -0
  389. package/dist/collection/components/input/interfaces.js +0 -5
  390. package/dist/collection/components/input/resources.js +1 -1
  391. package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
  392. package/dist/collection/components/input-date-picker/input-date-picker.js +799 -793
  393. package/dist/collection/components/input-date-picker/input-date-picker.stories.js +79 -0
  394. package/dist/collection/components/input-date-picker/resources.js +1 -1
  395. package/dist/collection/components/input-message/input-message.css +1 -1
  396. package/dist/collection/components/input-message/input-message.js +124 -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 +810 -794
  400. package/dist/collection/components/input-number/input-number.stories.js +124 -0
  401. package/dist/collection/components/input-number/interfaces.js +0 -5
  402. package/dist/collection/components/input-number/resources.js +1 -1
  403. package/dist/collection/components/input-text/input-text.css +1 -20
  404. package/dist/collection/components/input-text/input-text.js +602 -603
  405. package/dist/collection/components/input-text/input-text.stories.js +99 -0
  406. package/dist/collection/components/input-text/resources.js +1 -1
  407. package/dist/collection/components/input-time-picker/input-time-picker.js +652 -579
  408. package/dist/collection/components/input-time-picker/input-time-picker.stories.js +77 -0
  409. package/dist/collection/components/interfaces.js +0 -5
  410. package/dist/collection/components/label/label.css +1 -1
  411. package/dist/collection/components/label/label.js +189 -183
  412. package/dist/collection/components/label/label.stories.js +178 -0
  413. package/dist/collection/components/label/resources.js +1 -1
  414. package/dist/collection/components/link/link.js +186 -180
  415. package/dist/collection/components/link/link.stories.js +89 -0
  416. package/dist/collection/components/list/list.js +76 -70
  417. package/dist/collection/components/list/list.stories.js +187 -0
  418. package/dist/collection/components/list/resources.js +1 -1
  419. package/dist/collection/components/list-item/list-item.js +109 -113
  420. package/dist/collection/components/list-item/resources.js +1 -1
  421. package/dist/collection/components/list-item-group/list-item-group.js +54 -51
  422. package/dist/collection/components/list-item-group/resources.js +1 -1
  423. package/dist/collection/components/loader/loader.css +3 -3
  424. package/dist/collection/components/loader/loader.js +169 -172
  425. package/dist/collection/components/loader/loader.stories.js +42 -0
  426. package/dist/collection/components/modal/interfaces.js +0 -5
  427. package/dist/collection/components/modal/modal.js +478 -481
  428. package/dist/collection/components/modal/modal.stories.js +66 -0
  429. package/dist/collection/components/modal/resources.js +1 -1
  430. package/dist/collection/components/notice/notice.js +269 -267
  431. package/dist/collection/components/notice/notice.stories.js +90 -0
  432. package/dist/collection/components/notice/resources.js +1 -1
  433. package/dist/collection/components/option/option.js +118 -108
  434. package/dist/collection/components/option-group/option-group.js +81 -73
  435. package/dist/collection/components/pagination/pagination.js +266 -258
  436. package/dist/collection/components/pagination/pagination.stories.js +37 -0
  437. package/dist/collection/components/pagination/resources.js +1 -1
  438. package/dist/collection/components/panel/panel.css +1 -1
  439. package/dist/collection/components/panel/panel.js +557 -563
  440. package/dist/collection/components/panel/panel.stories.js +181 -0
  441. package/dist/collection/components/panel/resources.js +1 -1
  442. package/dist/collection/components/pick-list/pick-list.js +255 -241
  443. package/dist/collection/components/pick-list/pick-list.stories.js +142 -0
  444. package/dist/collection/components/pick-list/resources.js +1 -1
  445. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  446. package/dist/collection/components/pick-list/shared-list-render.js +2 -9
  447. package/dist/collection/components/pick-list-group/pick-list-group.js +54 -52
  448. package/dist/collection/components/pick-list-group/resources.js +1 -1
  449. package/dist/collection/components/pick-list-item/pick-list-item.js +354 -352
  450. package/dist/collection/components/pick-list-item/resources.js +1 -1
  451. package/dist/collection/components/popover/PopoverManager.js +1 -1
  452. package/dist/collection/components/popover/popover.js +551 -544
  453. package/dist/collection/components/popover/popover.stories.js +95 -0
  454. package/dist/collection/components/popover/resources.js +1 -1
  455. package/dist/collection/components/popover-manager/popover-manager.js +60 -52
  456. package/dist/collection/components/progress/progress.js +112 -104
  457. package/dist/collection/components/progress/progress.stories.js +28 -0
  458. package/dist/collection/components/radio-button/radio-button.js +348 -337
  459. package/dist/collection/components/radio-button/radio-button.stories.js +43 -0
  460. package/dist/collection/components/radio-button/resources.js +1 -1
  461. package/dist/collection/components/radio-button-group/radio-button-group.js +171 -160
  462. package/dist/collection/components/radio-button-group/radio-button-group.stories.js +67 -0
  463. package/dist/collection/components/radio-group/interfaces.js +0 -5
  464. package/dist/collection/components/radio-group/radio-group.js +256 -244
  465. package/dist/collection/components/radio-group/radio-group.stories.js +79 -0
  466. package/dist/collection/components/radio-group-item/radio-group-item.js +179 -176
  467. package/dist/collection/components/radio-group-item/resources.js +1 -1
  468. package/dist/collection/components/rating/rating.js +276 -277
  469. package/dist/collection/components/rating/rating.stories.js +42 -0
  470. package/dist/collection/components/rating/resources.js +1 -1
  471. package/dist/collection/components/scrim/resources.js +1 -1
  472. package/dist/collection/components/scrim/scrim.js +57 -54
  473. package/dist/collection/components/scrim/scrim.stories.js +70 -0
  474. package/dist/collection/components/select/resources.js +1 -1
  475. package/dist/collection/components/select/select.js +228 -219
  476. package/dist/collection/components/select/select.stories.js +109 -0
  477. package/dist/collection/components/shell/resources.js +1 -1
  478. package/dist/collection/components/shell/shell.js +38 -43
  479. package/dist/collection/components/shell/shell.stories.js +482 -0
  480. package/dist/collection/components/shell-center-row/resources.js +1 -1
  481. package/dist/collection/components/shell-center-row/shell-center-row.js +80 -76
  482. package/dist/collection/components/shell-panel/resources.js +1 -1
  483. package/dist/collection/components/shell-panel/shell-panel.js +187 -179
  484. package/dist/collection/components/slider/resources.js +1 -1
  485. package/dist/collection/components/slider/slider.js +600 -637
  486. package/dist/collection/components/slider/slider.stories.js +227 -0
  487. package/dist/collection/components/sortable-list/resources.js +1 -1
  488. package/dist/collection/components/sortable-list/sortable-list.js +153 -142
  489. package/dist/collection/components/split-button/resources.js +1 -1
  490. package/dist/collection/components/split-button/split-button.js +366 -360
  491. package/dist/collection/components/split-button/split-button.stories.js +112 -0
  492. package/dist/collection/components/stepper/interfaces.js +0 -5
  493. package/dist/collection/components/stepper/stepper.js +270 -236
  494. package/dist/collection/components/stepper/stepper.stories.js +163 -0
  495. package/dist/collection/components/stepper-item/stepper-item.js +430 -400
  496. package/dist/collection/components/switch/switch.js +190 -182
  497. package/dist/collection/components/switch/switch.stories.js +32 -0
  498. package/dist/collection/components/tab/interfaces.js +0 -5
  499. package/dist/collection/components/tab/tab.js +194 -181
  500. package/dist/collection/components/tab-nav/tab-nav.js +285 -275
  501. package/dist/collection/components/tab-title/tab-title.js +468 -456
  502. package/dist/collection/components/tabs/interfaces.js +0 -5
  503. package/dist/collection/components/tabs/resources.js +1 -1
  504. package/dist/collection/components/tabs/tabs.js +134 -127
  505. package/dist/collection/components/tabs/tabs.stories.js +223 -0
  506. package/dist/collection/components/tile/resources.js +1 -1
  507. package/dist/collection/components/tile/tile.js +174 -178
  508. package/dist/collection/components/tile/tile.stories.js +81 -0
  509. package/dist/collection/components/tile-select/interfaces.js +0 -5
  510. package/dist/collection/components/tile-select/resources.js +1 -1
  511. package/dist/collection/components/tile-select/tile-select.js +352 -338
  512. package/dist/collection/components/tile-select/tile-select.stories.js +137 -0
  513. package/dist/collection/components/tile-select-group/interfaces.js +0 -5
  514. package/dist/collection/components/tile-select-group/tile-select-group.js +57 -51
  515. package/dist/collection/components/tile-select-group/tile-select-group.stories.js +89 -0
  516. package/dist/collection/components/time-picker/resources.js +1 -1
  517. package/dist/collection/components/time-picker/time-picker.js +575 -550
  518. package/dist/collection/components/tip/resources.js +1 -1
  519. package/dist/collection/components/tip/tip.js +144 -145
  520. package/dist/collection/components/tip/tip.stories.js +60 -0
  521. package/dist/collection/components/tip-group/tip-group.js +33 -27
  522. package/dist/collection/components/tip-manager/resources.js +1 -1
  523. package/dist/collection/components/tip-manager/tip-manager.js +226 -222
  524. package/dist/collection/components/tip-manager/tip-manager.stories.js +115 -0
  525. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  526. package/dist/collection/components/tooltip/resources.js +1 -1
  527. package/dist/collection/components/tooltip/tooltip.js +221 -211
  528. package/dist/collection/components/tooltip/tooltip.stories.js +60 -0
  529. package/dist/collection/components/tooltip-manager/tooltip-manager.js +38 -32
  530. package/dist/collection/components/tree/interfaces.js +1 -1
  531. package/dist/collection/components/tree/tree.js +276 -244
  532. package/dist/collection/components/tree/tree.stories.js +76 -0
  533. package/dist/collection/components/tree/utils.js +21 -0
  534. package/dist/collection/components/tree-item/interfaces.js +0 -5
  535. package/dist/collection/components/tree-item/resources.js +1 -1
  536. package/dist/collection/components/tree-item/tree-item.css +17 -3
  537. package/dist/collection/components/tree-item/tree-item.js +300 -270
  538. package/dist/collection/components/value-list/interfaces.js +0 -5
  539. package/dist/collection/components/value-list/resources.js +1 -1
  540. package/dist/collection/components/value-list/utils.js +1 -1
  541. package/dist/collection/components/value-list/value-list.js +348 -334
  542. package/dist/collection/components/value-list/value-list.stories.js +125 -0
  543. package/dist/collection/components/value-list-item/resources.js +1 -1
  544. package/dist/collection/components/value-list-item/value-list-item.js +286 -279
  545. package/dist/collection/utils/array.js +1 -1
  546. package/dist/collection/utils/conditionalSlot.js +1 -1
  547. package/dist/collection/utils/date.js +1 -1
  548. package/dist/collection/utils/dom.js +26 -1
  549. package/dist/collection/utils/filter.js +2 -3
  550. package/dist/collection/utils/floating-ui.js +1 -1
  551. package/dist/collection/utils/form.js +1 -1
  552. package/dist/collection/utils/globalAttributes.js +1 -1
  553. package/dist/collection/utils/globalScript.js +1 -1
  554. package/dist/collection/utils/guid.js +1 -1
  555. package/dist/collection/utils/interactive.js +1 -1
  556. package/dist/collection/utils/key.js +1 -1
  557. package/dist/collection/utils/label.js +1 -1
  558. package/dist/collection/utils/locale.js +180 -64
  559. package/dist/collection/utils/math.js +1 -1
  560. package/dist/collection/utils/number.js +33 -31
  561. package/dist/collection/utils/observers.js +31 -7
  562. package/dist/collection/utils/openCloseComponent.js +1 -1
  563. package/dist/collection/utils/resources.js +1 -1
  564. package/dist/collection/utils/t9n.js +110 -0
  565. package/dist/collection/utils/theme.js +1 -1
  566. package/dist/collection/utils/time.js +16 -14
  567. package/dist/components/ExpandToggle.js +1 -1
  568. package/dist/components/Heading.js +1 -1
  569. package/dist/components/action-group.js +4 -4
  570. package/dist/components/action-menu.js +6 -5
  571. package/dist/components/action.js +8 -8
  572. package/dist/components/array.js +1 -1
  573. package/dist/components/button.js +2 -2
  574. package/dist/components/calcite-accordion-item.js +5 -5
  575. package/dist/components/calcite-accordion.js +4 -4
  576. package/dist/components/calcite-action-bar.js +4 -4
  577. package/dist/components/calcite-action-group.js +1 -1
  578. package/dist/components/calcite-action-menu.js +1 -1
  579. package/dist/components/calcite-action-pad.js +4 -4
  580. package/dist/components/calcite-action.js +1 -1
  581. package/dist/components/calcite-alert.js +19 -7
  582. package/dist/components/calcite-avatar.js +2 -2
  583. package/dist/components/calcite-block-section.js +2 -2
  584. package/dist/components/calcite-block.js +7 -6
  585. package/dist/components/calcite-button.js +1 -1
  586. package/dist/components/calcite-card.js +2 -2
  587. package/dist/components/calcite-checkbox.js +1 -1
  588. package/dist/components/calcite-chip.js +1 -1
  589. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  590. package/dist/components/calcite-color-picker-swatch.js +1 -1
  591. package/dist/components/calcite-color-picker.js +2 -2
  592. package/dist/components/calcite-combobox-item-group.js +2 -2
  593. package/dist/components/calcite-combobox-item.js +2 -2
  594. package/dist/components/calcite-combobox.js +6 -4
  595. package/dist/components/calcite-date-picker-day.js +1 -1
  596. package/dist/components/calcite-date-picker-month-header.js +1 -1
  597. package/dist/components/calcite-date-picker-month.js +1 -1
  598. package/dist/components/calcite-date-picker.js +1 -1
  599. package/dist/components/calcite-dropdown-group.js +2 -2
  600. package/dist/components/calcite-dropdown-item.js +2 -2
  601. package/dist/components/calcite-dropdown.js +1 -1
  602. package/dist/components/calcite-fab.js +3 -3
  603. package/dist/components/calcite-filter.js +1 -1
  604. package/dist/components/calcite-flow-item.js +13 -12
  605. package/dist/components/calcite-flow.js +2 -2
  606. package/dist/components/calcite-graph.js +1 -1
  607. package/dist/components/calcite-handle.js +1 -1
  608. package/dist/components/calcite-icon.js +1 -1
  609. package/dist/components/calcite-inline-editable.js +2 -2
  610. package/dist/components/calcite-input-date-picker.js +36 -30
  611. package/dist/components/calcite-input-message.js +5 -5
  612. package/dist/components/calcite-input-number.js +45 -26
  613. package/dist/components/calcite-input-text.js +10 -10
  614. package/dist/components/calcite-input-time-picker.js +73 -31
  615. package/dist/components/calcite-input.js +1 -1
  616. package/dist/components/calcite-label.js +1 -1
  617. package/dist/components/calcite-link.js +1 -1
  618. package/dist/components/calcite-list-item-group.js +2 -2
  619. package/dist/components/calcite-list-item.js +4 -4
  620. package/dist/components/calcite-list.js +3 -3
  621. package/dist/components/calcite-loader.js +1 -1
  622. package/dist/components/calcite-modal.js +10 -10
  623. package/dist/components/calcite-notice.js +8 -8
  624. package/dist/components/calcite-option-group.js +3 -3
  625. package/dist/components/calcite-option.js +3 -3
  626. package/dist/components/calcite-pagination.js +15 -11
  627. package/dist/components/calcite-panel.js +1 -1
  628. package/dist/components/calcite-pick-list-group.js +2 -2
  629. package/dist/components/calcite-pick-list-item.js +1 -1
  630. package/dist/components/calcite-pick-list.js +8 -8
  631. package/dist/components/calcite-popover-manager.js +2 -2
  632. package/dist/components/calcite-popover.js +1 -1
  633. package/dist/components/calcite-progress.js +1 -1
  634. package/dist/components/calcite-radio-button-group.js +5 -5
  635. package/dist/components/calcite-radio-button.js +6 -6
  636. package/dist/components/calcite-radio-group-item.js +6 -6
  637. package/dist/components/calcite-radio-group.js +5 -5
  638. package/dist/components/calcite-rating.js +6 -6
  639. package/dist/components/calcite-scrim.js +1 -1
  640. package/dist/components/calcite-select.js +5 -5
  641. package/dist/components/calcite-shell-center-row.js +4 -4
  642. package/dist/components/calcite-shell-panel.js +6 -6
  643. package/dist/components/calcite-shell.js +2 -2
  644. package/dist/components/calcite-slider.js +22 -18
  645. package/dist/components/calcite-sortable-list.js +2 -2
  646. package/dist/components/calcite-split-button.js +8 -6
  647. package/dist/components/calcite-stepper-item.js +33 -12
  648. package/dist/components/calcite-stepper.js +5 -4
  649. package/dist/components/calcite-switch.js +1 -1
  650. package/dist/components/calcite-tab-nav.js +1 -1
  651. package/dist/components/calcite-tab-title.js +1 -1
  652. package/dist/components/calcite-tab.js +1 -1
  653. package/dist/components/calcite-tabs.js +1 -1
  654. package/dist/components/calcite-tile-select-group.js +4 -4
  655. package/dist/components/calcite-tile-select.js +7 -7
  656. package/dist/components/calcite-tile.js +1 -1
  657. package/dist/components/calcite-time-picker.js +1 -1
  658. package/dist/components/calcite-tip-group.js +2 -2
  659. package/dist/components/calcite-tip-manager.js +3 -3
  660. package/dist/components/calcite-tip.js +4 -4
  661. package/dist/components/calcite-tooltip-manager.js +2 -2
  662. package/dist/components/calcite-tooltip.js +1 -1
  663. package/dist/components/calcite-tree-item.js +14 -5
  664. package/dist/components/calcite-tree.js +115 -76
  665. package/dist/components/calcite-value-list-item.js +6 -6
  666. package/dist/components/calcite-value-list.js +9 -9
  667. package/dist/components/checkbox.js +3 -3
  668. package/dist/components/chip.js +3 -3
  669. package/dist/components/color-picker-hex-input.js +2 -2
  670. package/dist/components/color-picker-swatch.js +2 -2
  671. package/dist/components/conditionalSlot.js +1 -1
  672. package/dist/components/date-picker-day.js +2 -2
  673. package/dist/components/date-picker-month-header.js +6 -6
  674. package/dist/components/date-picker-month.js +2 -2
  675. package/dist/components/date-picker.js +14 -28
  676. package/dist/components/date.js +1 -1
  677. package/dist/components/debounce.js +1 -1
  678. package/dist/components/dom.js +27 -2
  679. package/dist/components/dropdown.js +5 -3
  680. package/dist/components/filter.js +2 -2
  681. package/dist/components/filter2.js +2 -3
  682. package/dist/components/floating-ui.js +1 -1
  683. package/dist/components/form.js +1 -1
  684. package/dist/components/graph.js +2 -2
  685. package/dist/components/guid.js +1 -1
  686. package/dist/components/handle.js +2 -2
  687. package/dist/components/icon.js +2 -2
  688. package/dist/components/index.js +1 -1
  689. package/dist/components/input.js +68 -46
  690. package/dist/components/interactive.js +1 -1
  691. package/dist/components/interfaces.js +1 -1
  692. package/dist/components/interfaces2.js +1 -1
  693. package/dist/components/key.js +1 -1
  694. package/dist/components/label.js +11 -11
  695. package/dist/components/label2.js +1 -1
  696. package/dist/components/link.js +6 -6
  697. package/dist/components/loader.js +5 -5
  698. package/dist/components/locale.js +381 -0
  699. package/dist/components/math.js +1 -1
  700. package/dist/components/observers.js +31 -7
  701. package/dist/components/openCloseComponent.js +1 -1
  702. package/dist/components/panel.js +24 -23
  703. package/dist/components/pick-list-item.js +8 -8
  704. package/dist/components/popover.js +17 -13
  705. package/dist/components/progress.js +9 -4
  706. package/dist/components/resources.js +1 -1
  707. package/dist/components/resources2.js +1 -1
  708. package/dist/components/resources3.js +1 -1
  709. package/dist/components/scrim.js +3 -3
  710. package/dist/components/shared-list-render.js +1 -1
  711. package/dist/components/sortable.esm.js +1 -1
  712. package/dist/components/switch.js +6 -6
  713. package/dist/components/tab-nav.js +2 -2
  714. package/dist/components/tab-title.js +6 -6
  715. package/dist/components/tab.js +5 -5
  716. package/dist/components/tabs.js +5 -5
  717. package/dist/components/tile.js +6 -6
  718. package/dist/components/time-picker.js +56 -39
  719. package/dist/components/tooltip.js +6 -4
  720. package/dist/components/utils.js +1 -1
  721. package/dist/components/utils2.js +1 -1
  722. package/dist/esm/{ExpandToggle-b94e1fe2.js → ExpandToggle-c4680d33.js} +5 -5
  723. package/dist/esm/{Heading-9398c9e6.js → Heading-101a701e.js} +2 -2
  724. package/dist/esm/{app-globals-1f65a164.js → app-globals-ce2cbf03.js} +2 -2
  725. package/dist/esm/{array-3ac5d2ad.js → array-2549899e.js} +1 -1
  726. package/dist/esm/calcite-accordion_2.entry.js +14 -14
  727. package/dist/esm/calcite-action-bar.entry.js +14 -14
  728. package/dist/esm/calcite-action-group.entry.js +12 -12
  729. package/dist/esm/calcite-action-menu.entry.js +13 -12
  730. package/dist/esm/calcite-action-pad.entry.js +13 -13
  731. package/dist/esm/calcite-action.entry.js +13 -13
  732. package/dist/esm/calcite-alert.entry.js +25 -13
  733. package/dist/esm/calcite-avatar.entry.js +7 -7
  734. package/dist/esm/calcite-block_2.entry.js +17 -16
  735. package/dist/esm/calcite-button.entry.js +10 -10
  736. package/dist/esm/calcite-card.entry.js +8 -8
  737. package/dist/esm/calcite-checkbox.entry.js +11 -11
  738. package/dist/esm/calcite-chip.entry.js +9 -9
  739. package/dist/esm/calcite-color-picker_3.entry.js +13 -13
  740. package/dist/esm/calcite-combobox_3.entry.js +21 -19
  741. package/dist/esm/calcite-date-picker_4.entry.js +29 -24
  742. package/dist/esm/calcite-dropdown_3.entry.js +17 -15
  743. package/dist/esm/calcite-fab.entry.js +8 -8
  744. package/dist/esm/calcite-filter.entry.js +9 -9
  745. package/dist/esm/calcite-flow-item.entry.js +19 -18
  746. package/dist/esm/calcite-flow.entry.js +4 -4
  747. package/dist/esm/calcite-graph_2.entry.js +32 -28
  748. package/dist/esm/calcite-handle.entry.js +6 -6
  749. package/dist/esm/calcite-icon.entry.js +7 -7
  750. package/dist/esm/calcite-inline-editable.entry.js +9 -9
  751. package/dist/esm/calcite-input-date-picker.entry.js +45 -40
  752. package/dist/esm/calcite-input-message.entry.js +9 -9
  753. package/dist/esm/calcite-input-number.entry.js +54 -35
  754. package/dist/esm/calcite-input-text.entry.js +18 -18
  755. package/dist/esm/calcite-input-time-picker_2.entry.js +129 -73
  756. package/dist/esm/calcite-input.entry.js +77 -55
  757. package/dist/esm/calcite-label.entry.js +16 -16
  758. package/dist/esm/calcite-link.entry.js +9 -9
  759. package/dist/esm/calcite-list_3.entry.js +15 -15
  760. package/dist/esm/calcite-loader.entry.js +7 -7
  761. package/dist/esm/calcite-modal.entry.js +17 -17
  762. package/dist/esm/calcite-notice.entry.js +15 -15
  763. package/dist/esm/calcite-option_3.entry.js +17 -17
  764. package/dist/esm/calcite-pagination.entry.js +20 -13
  765. package/dist/esm/calcite-panel.entry.js +33 -32
  766. package/dist/esm/calcite-pick-list_3.entry.js +27 -27
  767. package/dist/esm/calcite-popover_2.entry.js +28 -24
  768. package/dist/esm/calcite-progress.entry.js +10 -5
  769. package/dist/esm/calcite-radio-button-group.entry.js +7 -7
  770. package/dist/esm/calcite-radio-button.entry.js +14 -14
  771. package/dist/esm/calcite-radio-group_2.entry.js +17 -17
  772. package/dist/esm/calcite-rating.entry.js +14 -14
  773. package/dist/esm/calcite-scrim.entry.js +4 -4
  774. package/dist/esm/calcite-shell_3.entry.js +17 -17
  775. package/dist/esm/calcite-sortable-list.entry.js +6 -6
  776. package/dist/esm/calcite-split-button.entry.js +10 -8
  777. package/dist/esm/calcite-stepper_2.entry.js +42 -20
  778. package/dist/esm/calcite-switch.entry.js +14 -14
  779. package/dist/esm/calcite-tab_4.entry.js +21 -21
  780. package/dist/esm/calcite-tile-select_2.entry.js +13 -13
  781. package/dist/esm/calcite-tile.entry.js +13 -13
  782. package/dist/esm/calcite-tip_3.entry.js +14 -14
  783. package/dist/esm/calcite-tooltip_2.entry.js +13 -11
  784. package/dist/esm/calcite-tree_2.entry.js +133 -86
  785. package/dist/esm/calcite-value-list_2.entry.js +25 -25
  786. package/dist/esm/calcite.js +6 -6
  787. package/dist/esm/{conditionalSlot-5b35c2f6.js → conditionalSlot-97eefd44.js} +3 -3
  788. package/dist/esm/{debounce-3b1693a8.js → debounce-eb8de851.js} +1 -1
  789. package/dist/esm/{dom-4436bd07.js → dom-648b4a2f.js} +29 -4
  790. package/dist/esm/{filter-8af4eb80.js → filter-7d351602.js} +3 -4
  791. package/dist/esm/{floating-ui-fcf59cab.js → floating-ui-65b7d762.js} +2 -2
  792. package/dist/esm/{form-c902fafa.js → form-6ee82a1e.js} +3 -3
  793. package/dist/esm/{guid-cd505852.js → guid-3260dd45.js} +1 -1
  794. package/dist/esm/{index-61da5fbc.js → index-cf16b53b.js} +1117 -946
  795. package/dist/esm/index.js +1 -1
  796. package/dist/esm/{interactive-6cafa58c.js → interactive-53846bd5.js} +1 -1
  797. package/dist/esm/{interfaces-401a4071.js → interfaces-5bcff418.js} +1 -1
  798. package/dist/esm/{key-d6e66ea5.js → key-a3bce814.js} +1 -1
  799. package/dist/esm/{label-6c6aade5.js → label-a2d9ea4b.js} +2 -2
  800. package/dist/esm/loader.js +6 -6
  801. package/dist/esm/locale-66ebbf7a.js +381 -0
  802. package/dist/esm/{math-35a0e454.js → math-a5ac6592.js} +1 -1
  803. package/dist/esm/observers-85e8fe58.js +46 -0
  804. package/dist/esm/{openCloseComponent-16d8c6cb.js → openCloseComponent-926c5b7a.js} +1 -1
  805. package/dist/esm/polyfills/css-shim.js +1 -1
  806. package/dist/esm/{resources-54c26d1b.js → resources-19dbedf3.js} +1 -1
  807. package/dist/esm/{resources-1e0c6832.js → resources-386257f3.js} +1 -1
  808. package/dist/esm/{resources-cd0c5121.js → resources-418fb8c6.js} +3 -23
  809. package/dist/esm/{resources-54732430.js → resources-6177d83d.js} +1 -1
  810. package/dist/esm/{resources-ce568df4.js → resources-8468e332.js} +1 -1
  811. package/dist/esm/{resources-6e9455eb.js → resources-ab13d20f.js} +5 -5
  812. package/dist/esm/{sortable.esm-dcbb5a29.js → sortable.esm-aca7e683.js} +1 -1
  813. package/dist/esm/{utils-ad1cc5e3.js → utils-78b2f096.js} +1 -1
  814. package/dist/extras/docs-json.json +1433 -514
  815. package/dist/index.js +1 -1
  816. package/dist/loader/cdn.js +1 -1
  817. package/dist/loader/index.cjs.js +1 -1
  818. package/dist/loader/index.es2017.js +1 -1
  819. package/dist/loader/index.js +2 -2
  820. package/dist/loader/package.json +1 -0
  821. package/dist/types/components/accordion/accordion.d.ts +2 -2
  822. package/dist/types/components/accordion-item/accordion-item.d.ts +7 -7
  823. package/dist/types/components/action/action.d.ts +8 -8
  824. package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
  825. package/dist/types/components/action-bar/action-bar.d.ts +3 -3
  826. package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
  827. package/dist/types/components/action-group/action-group.d.ts +2 -2
  828. package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +3 -0
  829. package/dist/types/components/action-menu/action-menu.d.ts +4 -3
  830. package/dist/types/components/action-pad/action-pad.d.ts +2 -2
  831. package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
  832. package/dist/types/components/alert/alert.d.ts +12 -6
  833. package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
  834. package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
  835. package/dist/types/components/block/resources.d.ts +2 -1
  836. package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
  837. package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
  838. package/dist/types/components/button/button.d.ts +3 -3
  839. package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
  840. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  841. package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
  842. package/dist/types/components/chip/chip.d.ts +3 -3
  843. package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +21 -0
  844. package/dist/types/components/color-picker/color-picker.d.ts +3 -2
  845. package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -2
  846. package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
  847. package/dist/types/components/combobox/combobox.d.ts +5 -3
  848. package/dist/types/components/combobox-item/combobox-item.d.ts +1 -1
  849. package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
  850. package/dist/types/components/date-picker/date-picker.d.ts +4 -4
  851. package/dist/types/components/dropdown/dropdown.d.ts +4 -2
  852. package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
  853. package/dist/types/components/fab/fab.d.ts +1 -1
  854. package/dist/types/components/filter/assets/filter/t9n/index.d.ts +4 -0
  855. package/dist/types/components/flow/flow.d.ts +1 -1
  856. package/dist/types/components/flow-item/flow-item.d.ts +7 -8
  857. package/dist/types/components/handle/handle.d.ts +1 -1
  858. package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +5 -0
  859. package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
  860. package/dist/types/components/input/assets/input/t9n/index.d.ts +4 -0
  861. package/dist/types/components/input/input.d.ts +31 -32
  862. package/dist/types/components/input-date-picker/input-date-picker.d.ts +45 -40
  863. package/dist/types/components/input-message/input-message.d.ts +6 -9
  864. package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
  865. package/dist/types/components/input-number/input-number.d.ts +17 -19
  866. package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
  867. package/dist/types/components/input-text/input-text.d.ts +10 -10
  868. package/dist/types/components/input-time-picker/input-time-picker.d.ts +35 -28
  869. package/dist/types/components/label/label.d.ts +10 -10
  870. package/dist/types/components/link/link.d.ts +8 -8
  871. package/dist/types/components/list/list.d.ts +1 -1
  872. package/dist/types/components/list-item/list-item.d.ts +2 -2
  873. package/dist/types/components/loader/loader.d.ts +9 -4
  874. package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
  875. package/dist/types/components/modal/modal.d.ts +10 -10
  876. package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
  877. package/dist/types/components/notice/notice.d.ts +7 -8
  878. package/dist/types/components/option/option.d.ts +2 -2
  879. package/dist/types/components/option-group/option-group.d.ts +1 -1
  880. package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
  881. package/dist/types/components/pagination/pagination.d.ts +5 -8
  882. package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
  883. package/dist/types/components/panel/panel.d.ts +21 -23
  884. package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
  885. package/dist/types/components/pick-list/pick-list.d.ts +7 -7
  886. package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
  887. package/dist/types/components/pick-list-item/pick-list-item.d.ts +8 -8
  888. package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
  889. package/dist/types/components/popover/popover.d.ts +16 -12
  890. package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
  891. package/dist/types/components/progress/progress.d.ts +7 -2
  892. package/dist/types/components/radio-button/radio-button.d.ts +6 -6
  893. package/dist/types/components/radio-button-group/radio-button-group.d.ts +4 -4
  894. package/dist/types/components/radio-group/radio-group.d.ts +3 -3
  895. package/dist/types/components/radio-group-item/radio-group-item.d.ts +8 -8
  896. package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
  897. package/dist/types/components/rating/rating.d.ts +4 -4
  898. package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
  899. package/dist/types/components/scrim/scrim.d.ts +1 -1
  900. package/dist/types/components/select/select.d.ts +4 -4
  901. package/dist/types/components/shell-center-row/shell-center-row.d.ts +2 -2
  902. package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
  903. package/dist/types/components/shell-panel/shell-panel.d.ts +6 -6
  904. package/dist/types/components/slider/slider.d.ts +18 -20
  905. package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
  906. package/dist/types/components/split-button/split-button.d.ts +9 -7
  907. package/dist/types/components/stepper/stepper.d.ts +7 -2
  908. package/dist/types/components/stepper-item/stepper-item.d.ts +15 -11
  909. package/dist/types/components/switch/switch.d.ts +6 -6
  910. package/dist/types/components/tab/tab.d.ts +3 -3
  911. package/dist/types/components/tab-title/tab-title.d.ts +8 -8
  912. package/dist/types/components/tabs/tabs.d.ts +3 -3
  913. package/dist/types/components/tile/tile.d.ts +5 -5
  914. package/dist/types/components/tile-select/tile-select.d.ts +5 -5
  915. package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -2
  916. package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +14 -0
  917. package/dist/types/components/time-picker/time-picker.d.ts +13 -8
  918. package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
  919. package/dist/types/components/tip/tip.d.ts +2 -2
  920. package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +7 -0
  921. package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
  922. package/dist/types/components/tooltip/tooltip.d.ts +9 -3
  923. package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -1
  924. package/dist/types/components/tree/tree.d.ts +2 -2
  925. package/dist/types/components/tree/utils.d.ts +1 -0
  926. package/dist/types/components/tree-item/tree-item.d.ts +10 -4
  927. package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +7 -0
  928. package/dist/types/components/value-list/value-list.d.ts +16 -16
  929. package/dist/types/components/value-list-item/value-list-item.d.ts +4 -4
  930. package/dist/types/components.d.ts +761 -726
  931. package/dist/types/stencil-public-runtime.d.ts +15 -4
  932. package/dist/types/utils/dom.d.ts +10 -0
  933. package/dist/types/utils/locale.d.ts +80 -11
  934. package/dist/types/utils/number.d.ts +3 -5
  935. package/dist/types/utils/observers.d.ts +5 -1
  936. package/dist/types/utils/t9n.d.ts +88 -0
  937. package/dist/types/utils/time.d.ts +29 -5
  938. package/hydrate/index.d.ts +1 -1
  939. package/hydrate/index.js +1874 -1553
  940. package/package.json +24 -21
  941. package/dist/calcite/calcite.js +0 -131
  942. package/dist/calcite/p-01084455.entry.js +0 -6
  943. package/dist/calcite/p-0171edf2.entry.js +0 -6
  944. package/dist/calcite/p-053beb3b.system.entry.js +0 -6
  945. package/dist/calcite/p-066e7b95.entry.js +0 -6
  946. package/dist/calcite/p-078bf287.system.entry.js +0 -6
  947. package/dist/calcite/p-08582520.system.entry.js +0 -6
  948. package/dist/calcite/p-0a33ea71.entry.js +0 -6
  949. package/dist/calcite/p-0e5463f9.entry.js +0 -6
  950. package/dist/calcite/p-0ecef714.js +0 -6
  951. package/dist/calcite/p-0f1d9b98.system.entry.js +0 -6
  952. package/dist/calcite/p-0f4d2a35.system.entry.js +0 -6
  953. package/dist/calcite/p-0fe5235a.system.js +0 -6
  954. package/dist/calcite/p-0ff05607.entry.js +0 -6
  955. package/dist/calcite/p-10eee6b3.system.js +0 -6
  956. package/dist/calcite/p-128503da.entry.js +0 -6
  957. package/dist/calcite/p-14ccc0d9.entry.js +0 -6
  958. package/dist/calcite/p-153c05a0.js +0 -7
  959. package/dist/calcite/p-178adc2e.system.entry.js +0 -6
  960. package/dist/calcite/p-195fae84.entry.js +0 -6
  961. package/dist/calcite/p-1a31ff14.entry.js +0 -6
  962. package/dist/calcite/p-1ae41816.system.entry.js +0 -6
  963. package/dist/calcite/p-1b21cf49.entry.js +0 -6
  964. package/dist/calcite/p-1df9515b.entry.js +0 -6
  965. package/dist/calcite/p-1f71a1f3.entry.js +0 -6
  966. package/dist/calcite/p-21df7481.entry.js +0 -6
  967. package/dist/calcite/p-2286c402.entry.js +0 -6
  968. package/dist/calcite/p-23829a7c.system.entry.js +0 -6
  969. package/dist/calcite/p-2ae16ecd.system.js +0 -6
  970. package/dist/calcite/p-2c1b84b8.system.entry.js +0 -6
  971. package/dist/calcite/p-2dbafa0e.system.entry.js +0 -6
  972. package/dist/calcite/p-2ddf20c1.entry.js +0 -6
  973. package/dist/calcite/p-2e41fabd.system.entry.js +0 -6
  974. package/dist/calcite/p-2e9f9c77.entry.js +0 -6
  975. package/dist/calcite/p-2f7e077f.system.entry.js +0 -6
  976. package/dist/calcite/p-30cc3512.system.js +0 -6
  977. package/dist/calcite/p-3308bd8c.system.entry.js +0 -6
  978. package/dist/calcite/p-336737ce.system.entry.js +0 -6
  979. package/dist/calcite/p-34565e87.system.js +0 -6
  980. package/dist/calcite/p-37a1e422.system.js +0 -6
  981. package/dist/calcite/p-37bd9759.system.entry.js +0 -6
  982. package/dist/calcite/p-3a51faac.system.entry.js +0 -6
  983. package/dist/calcite/p-3b0ab13f.entry.js +0 -6
  984. package/dist/calcite/p-3fa648a6.system.js +0 -6
  985. package/dist/calcite/p-4855edd6.system.entry.js +0 -6
  986. package/dist/calcite/p-4ae05971.system.entry.js +0 -6
  987. package/dist/calcite/p-4e650ae3.entry.js +0 -6
  988. package/dist/calcite/p-4ea81ee8.system.entry.js +0 -6
  989. package/dist/calcite/p-4f999803.system.entry.js +0 -6
  990. package/dist/calcite/p-4fab2c01.system.js +0 -7
  991. package/dist/calcite/p-50352c86.system.js +0 -6
  992. package/dist/calcite/p-5463e965.entry.js +0 -6
  993. package/dist/calcite/p-56aa2ee6.system.js +0 -6
  994. package/dist/calcite/p-5a1d3074.system.js +0 -6
  995. package/dist/calcite/p-5c0d6300.system.entry.js +0 -6
  996. package/dist/calcite/p-5c193aaf.entry.js +0 -6
  997. package/dist/calcite/p-5d681f1f.system.js +0 -6
  998. package/dist/calcite/p-5e1a4c6a.entry.js +0 -6
  999. package/dist/calcite/p-5ef02486.system.js +0 -6
  1000. package/dist/calcite/p-603b3f3b.system.js +0 -6
  1001. package/dist/calcite/p-65f981cc.system.js +0 -6
  1002. package/dist/calcite/p-66d6175b.system.entry.js +0 -6
  1003. package/dist/calcite/p-6817a388.system.entry.js +0 -6
  1004. package/dist/calcite/p-712673ee.entry.js +0 -6
  1005. package/dist/calcite/p-7148500f.entry.js +0 -6
  1006. package/dist/calcite/p-715ff3ee.system.js +0 -6
  1007. package/dist/calcite/p-71e932d2.system.js +0 -6
  1008. package/dist/calcite/p-74f40869.entry.js +0 -6
  1009. package/dist/calcite/p-768b7c96.system.entry.js +0 -6
  1010. package/dist/calcite/p-77fadf98.entry.js +0 -6
  1011. package/dist/calcite/p-7932a17d.system.js +0 -12
  1012. package/dist/calcite/p-7aed292d.js +0 -6
  1013. package/dist/calcite/p-7bf8e945.entry.js +0 -6
  1014. package/dist/calcite/p-7d3c6c3c.entry.js +0 -6
  1015. package/dist/calcite/p-7e96bb79.entry.js +0 -6
  1016. package/dist/calcite/p-821266d4.entry.js +0 -6
  1017. package/dist/calcite/p-82283c1d.entry.js +0 -6
  1018. package/dist/calcite/p-830c7c7b.system.js +0 -6
  1019. package/dist/calcite/p-8358768c.system.entry.js +0 -6
  1020. package/dist/calcite/p-882c15d1.system.entry.js +0 -6
  1021. package/dist/calcite/p-8bd8264d.js +0 -6
  1022. package/dist/calcite/p-8ca19c2d.js +0 -6
  1023. package/dist/calcite/p-8d36d6c1.system.entry.js +0 -6
  1024. package/dist/calcite/p-8d996e47.system.entry.js +0 -6
  1025. package/dist/calcite/p-8d9f078a.system.entry.js +0 -6
  1026. package/dist/calcite/p-8e370f1d.js +0 -6
  1027. package/dist/calcite/p-9026d51a.system.entry.js +0 -6
  1028. package/dist/calcite/p-93ce252a.entry.js +0 -6
  1029. package/dist/calcite/p-93fd0e15.entry.js +0 -6
  1030. package/dist/calcite/p-9644ce73.system.entry.js +0 -6
  1031. package/dist/calcite/p-9771d02c.system.entry.js +0 -6
  1032. package/dist/calcite/p-9ad62baa.system.js +0 -6
  1033. package/dist/calcite/p-9b342cc2.system.entry.js +0 -6
  1034. package/dist/calcite/p-9e433f85.entry.js +0 -6
  1035. package/dist/calcite/p-a0e5beec.system.entry.js +0 -6
  1036. package/dist/calcite/p-a4a80ad0.system.entry.js +0 -6
  1037. package/dist/calcite/p-a53f4584.entry.js +0 -6
  1038. package/dist/calcite/p-ab184638.system.js +0 -6
  1039. package/dist/calcite/p-afb01982.system.entry.js +0 -6
  1040. package/dist/calcite/p-b0749063.entry.js +0 -6
  1041. package/dist/calcite/p-b13fc832.system.js +0 -6
  1042. package/dist/calcite/p-b154a711.system.entry.js +0 -6
  1043. package/dist/calcite/p-b19c45da.system.entry.js +0 -6
  1044. package/dist/calcite/p-b45030e3.system.js +0 -6
  1045. package/dist/calcite/p-b723b411.system.js +0 -6
  1046. package/dist/calcite/p-b7b68db9.system.entry.js +0 -6
  1047. package/dist/calcite/p-ba97422d.system.entry.js +0 -6
  1048. package/dist/calcite/p-bb928b37.system.entry.js +0 -6
  1049. package/dist/calcite/p-bed458d9.system.js +0 -6
  1050. package/dist/calcite/p-bef6e5cc.system.entry.js +0 -6
  1051. package/dist/calcite/p-bf6a1418.system.js +0 -6
  1052. package/dist/calcite/p-bf992e7a.entry.js +0 -6
  1053. package/dist/calcite/p-c1ea949b.entry.js +0 -6
  1054. package/dist/calcite/p-c2044303.system.entry.js +0 -6
  1055. package/dist/calcite/p-c2ab7bb3.entry.js +0 -6
  1056. package/dist/calcite/p-c2afef79.entry.js +0 -6
  1057. package/dist/calcite/p-c58167a4.entry.js +0 -6
  1058. package/dist/calcite/p-c586e438.system.entry.js +0 -6
  1059. package/dist/calcite/p-c6747d09.system.entry.js +0 -6
  1060. package/dist/calcite/p-c84e0441.entry.js +0 -6
  1061. package/dist/calcite/p-c8e901fa.system.entry.js +0 -6
  1062. package/dist/calcite/p-c8ed9108.system.js +0 -6
  1063. package/dist/calcite/p-c907abab.entry.js +0 -6
  1064. package/dist/calcite/p-c9351ade.system.entry.js +0 -6
  1065. package/dist/calcite/p-c9a7c2c2.system.entry.js +0 -6
  1066. package/dist/calcite/p-ce7ed50c.entry.js +0 -6
  1067. package/dist/calcite/p-d1dda926.system.entry.js +0 -6
  1068. package/dist/calcite/p-d2357828.system.js +0 -6
  1069. package/dist/calcite/p-d2f50dc3.entry.js +0 -6
  1070. package/dist/calcite/p-d7972096.entry.js +0 -6
  1071. package/dist/calcite/p-d8309ad2.entry.js +0 -6
  1072. package/dist/calcite/p-da51f48c.system.js +0 -6
  1073. package/dist/calcite/p-ddb5353c.js +0 -6
  1074. package/dist/calcite/p-e0c6fe94.entry.js +0 -6
  1075. package/dist/calcite/p-e1c06b29.system.js +0 -6
  1076. package/dist/calcite/p-e3709f3d.system.entry.js +0 -6
  1077. package/dist/calcite/p-e3e7945b.entry.js +0 -6
  1078. package/dist/calcite/p-e5b27fdb.system.entry.js +0 -6
  1079. package/dist/calcite/p-e66cb253.entry.js +0 -6
  1080. package/dist/calcite/p-eafab2ea.system.entry.js +0 -6
  1081. package/dist/calcite/p-eb07d147.system.entry.js +0 -6
  1082. package/dist/calcite/p-ec392994.system.entry.js +0 -6
  1083. package/dist/calcite/p-eca10afe.entry.js +0 -6
  1084. package/dist/calcite/p-ed27f58a.system.entry.js +0 -6
  1085. package/dist/calcite/p-eda06163.entry.js +0 -6
  1086. package/dist/calcite/p-f1bc4c1d.system.entry.js +0 -6
  1087. package/dist/calcite/p-f2da8856.entry.js +0 -6
  1088. package/dist/calcite/p-f4371c35.entry.js +0 -6
  1089. package/dist/calcite/p-f43a332b.system.entry.js +0 -6
  1090. package/dist/calcite/p-f5c1ecd3.entry.js +0 -6
  1091. package/dist/calcite/p-f5c909b7.entry.js +0 -6
  1092. package/dist/calcite/p-f7865770.system.entry.js +0 -6
  1093. package/dist/calcite/p-f814cb24.entry.js +0 -6
  1094. package/dist/calcite/p-f8697a29.system.entry.js +0 -6
  1095. package/dist/calcite/p-f9723480.entry.js +0 -6
  1096. package/dist/calcite/p-fb075d49.system.entry.js +0 -6
  1097. package/dist/calcite/p-fb93c365.entry.js +0 -6
  1098. package/dist/cjs/globalAttributes-39b0e7d7.js +0 -335
  1099. package/dist/cjs/observers-03ac940c.js +0 -27
  1100. package/dist/components/globalAttributes.js +0 -324
  1101. package/dist/custom-elements/index.d.ts +0 -597
  1102. package/dist/custom-elements/index.js +0 -28879
  1103. package/dist/esm/globalAttributes-6affbda6.js +0 -324
  1104. package/dist/esm/observers-5010a9dd.js +0 -25
  1105. package/dist/esm-es5/ExpandToggle-b94e1fe2.js +0 -6
  1106. package/dist/esm-es5/Heading-9398c9e6.js +0 -6
  1107. package/dist/esm-es5/app-globals-1f65a164.js +0 -6
  1108. package/dist/esm-es5/array-3ac5d2ad.js +0 -6
  1109. package/dist/esm-es5/calcite-accordion_2.entry.js +0 -6
  1110. package/dist/esm-es5/calcite-action-bar.entry.js +0 -6
  1111. package/dist/esm-es5/calcite-action-group.entry.js +0 -6
  1112. package/dist/esm-es5/calcite-action-menu.entry.js +0 -6
  1113. package/dist/esm-es5/calcite-action-pad.entry.js +0 -6
  1114. package/dist/esm-es5/calcite-action.entry.js +0 -6
  1115. package/dist/esm-es5/calcite-alert.entry.js +0 -6
  1116. package/dist/esm-es5/calcite-avatar.entry.js +0 -6
  1117. package/dist/esm-es5/calcite-block_2.entry.js +0 -6
  1118. package/dist/esm-es5/calcite-button.entry.js +0 -6
  1119. package/dist/esm-es5/calcite-card.entry.js +0 -6
  1120. package/dist/esm-es5/calcite-checkbox.entry.js +0 -6
  1121. package/dist/esm-es5/calcite-chip.entry.js +0 -6
  1122. package/dist/esm-es5/calcite-color-picker_3.entry.js +0 -6
  1123. package/dist/esm-es5/calcite-combobox_3.entry.js +0 -6
  1124. package/dist/esm-es5/calcite-date-picker_4.entry.js +0 -6
  1125. package/dist/esm-es5/calcite-dropdown_3.entry.js +0 -6
  1126. package/dist/esm-es5/calcite-fab.entry.js +0 -6
  1127. package/dist/esm-es5/calcite-filter.entry.js +0 -6
  1128. package/dist/esm-es5/calcite-flow-item.entry.js +0 -6
  1129. package/dist/esm-es5/calcite-flow.entry.js +0 -6
  1130. package/dist/esm-es5/calcite-graph_2.entry.js +0 -6
  1131. package/dist/esm-es5/calcite-handle.entry.js +0 -6
  1132. package/dist/esm-es5/calcite-icon.entry.js +0 -6
  1133. package/dist/esm-es5/calcite-inline-editable.entry.js +0 -6
  1134. package/dist/esm-es5/calcite-input-date-picker.entry.js +0 -6
  1135. package/dist/esm-es5/calcite-input-message.entry.js +0 -6
  1136. package/dist/esm-es5/calcite-input-number.entry.js +0 -6
  1137. package/dist/esm-es5/calcite-input-text.entry.js +0 -6
  1138. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +0 -6
  1139. package/dist/esm-es5/calcite-input.entry.js +0 -6
  1140. package/dist/esm-es5/calcite-label.entry.js +0 -6
  1141. package/dist/esm-es5/calcite-link.entry.js +0 -6
  1142. package/dist/esm-es5/calcite-list_3.entry.js +0 -6
  1143. package/dist/esm-es5/calcite-loader.entry.js +0 -6
  1144. package/dist/esm-es5/calcite-modal.entry.js +0 -6
  1145. package/dist/esm-es5/calcite-notice.entry.js +0 -6
  1146. package/dist/esm-es5/calcite-option_3.entry.js +0 -6
  1147. package/dist/esm-es5/calcite-pagination.entry.js +0 -6
  1148. package/dist/esm-es5/calcite-panel.entry.js +0 -6
  1149. package/dist/esm-es5/calcite-pick-list_3.entry.js +0 -6
  1150. package/dist/esm-es5/calcite-popover_2.entry.js +0 -6
  1151. package/dist/esm-es5/calcite-progress.entry.js +0 -6
  1152. package/dist/esm-es5/calcite-radio-button-group.entry.js +0 -6
  1153. package/dist/esm-es5/calcite-radio-button.entry.js +0 -6
  1154. package/dist/esm-es5/calcite-radio-group_2.entry.js +0 -6
  1155. package/dist/esm-es5/calcite-rating.entry.js +0 -6
  1156. package/dist/esm-es5/calcite-scrim.entry.js +0 -6
  1157. package/dist/esm-es5/calcite-shell_3.entry.js +0 -6
  1158. package/dist/esm-es5/calcite-sortable-list.entry.js +0 -6
  1159. package/dist/esm-es5/calcite-split-button.entry.js +0 -6
  1160. package/dist/esm-es5/calcite-stepper_2.entry.js +0 -6
  1161. package/dist/esm-es5/calcite-switch.entry.js +0 -6
  1162. package/dist/esm-es5/calcite-tab_4.entry.js +0 -6
  1163. package/dist/esm-es5/calcite-tile-select_2.entry.js +0 -6
  1164. package/dist/esm-es5/calcite-tile.entry.js +0 -6
  1165. package/dist/esm-es5/calcite-tip_3.entry.js +0 -6
  1166. package/dist/esm-es5/calcite-tooltip_2.entry.js +0 -6
  1167. package/dist/esm-es5/calcite-tree_2.entry.js +0 -6
  1168. package/dist/esm-es5/calcite-value-list_2.entry.js +0 -6
  1169. package/dist/esm-es5/calcite.js +0 -6
  1170. package/dist/esm-es5/conditionalSlot-5b35c2f6.js +0 -6
  1171. package/dist/esm-es5/debounce-3b1693a8.js +0 -6
  1172. package/dist/esm-es5/dom-4436bd07.js +0 -6
  1173. package/dist/esm-es5/filter-8af4eb80.js +0 -6
  1174. package/dist/esm-es5/floating-ui-fcf59cab.js +0 -6
  1175. package/dist/esm-es5/form-c902fafa.js +0 -6
  1176. package/dist/esm-es5/globalAttributes-6affbda6.js +0 -6
  1177. package/dist/esm-es5/guid-cd505852.js +0 -6
  1178. package/dist/esm-es5/index-61da5fbc.js +0 -7
  1179. package/dist/esm-es5/index.js +0 -5
  1180. package/dist/esm-es5/interactive-6cafa58c.js +0 -6
  1181. package/dist/esm-es5/interfaces-401a4071.js +0 -6
  1182. package/dist/esm-es5/key-d6e66ea5.js +0 -6
  1183. package/dist/esm-es5/label-6c6aade5.js +0 -6
  1184. package/dist/esm-es5/loader.js +0 -6
  1185. package/dist/esm-es5/math-35a0e454.js +0 -6
  1186. package/dist/esm-es5/observers-5010a9dd.js +0 -6
  1187. package/dist/esm-es5/openCloseComponent-16d8c6cb.js +0 -6
  1188. package/dist/esm-es5/resources-1e0c6832.js +0 -6
  1189. package/dist/esm-es5/resources-54732430.js +0 -6
  1190. package/dist/esm-es5/resources-54c26d1b.js +0 -6
  1191. package/dist/esm-es5/resources-6e9455eb.js +0 -6
  1192. package/dist/esm-es5/resources-cd0c5121.js +0 -6
  1193. package/dist/esm-es5/resources-ce568df4.js +0 -6
  1194. package/dist/esm-es5/sortable.esm-dcbb5a29.js +0 -12
  1195. package/dist/esm-es5/utils-ad1cc5e3.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-next.596
4
+ * v1.0.0-next.598
5
5
  */
6
- import { Component, Element, Event, h, Host, Method, Prop, State, Watch } from "@stencil/core";
6
+ import { h, Host } from "@stencil/core";
7
7
  import { getElementDir, getElementProp, getSlotted, 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
  }
@@ -332,29 +340,35 @@ export class Input {
332
340
  : newPreviousValue;
333
341
  };
334
342
  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;
343
+ numberStringFormatter.numberFormatOptions = {
344
+ locale: this.effectiveLocale,
345
+ numberingSystem: this.numberingSystem,
346
+ useGrouping: this.groupSeparator
347
+ };
352
348
  if (this.type === "number") {
349
+ const delocalizedValue = (this.numberingSystem && this.numberingSystem !== "latn") ||
350
+ defaultNumberingSystem !== "latn"
351
+ ? numberStringFormatter.delocalize(value)
352
+ : value;
353
+ const sanitizedValue = sanitizeNumberString(delocalizedValue);
354
+ const newValue = (value && !sanitizedValue) || [".", "-"].includes(sanitizedValue)
355
+ ? isValidNumber(this.previousValue)
356
+ ? this.previousValue
357
+ : ""
358
+ : sanitizedValue;
359
+ const newLocalizedValue = numberStringFormatter.localize(newValue);
353
360
  this.localizedValue = newLocalizedValue;
361
+ this.userChangedValue = origin === "user" && this.value !== newValue;
362
+ this.value = newValue;
363
+ origin === "direct" && this.setInputValue(newLocalizedValue);
354
364
  }
355
- if (origin === "direct") {
356
- this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
365
+ else {
366
+ this.userChangedValue = origin === "user" && this.value !== value;
367
+ this.value = value;
368
+ origin === "direct" && this.setInputValue(value);
357
369
  }
370
+ this.setPreviousValue(previousValue || this.value);
371
+ this.previousValueOrigin = origin;
358
372
  if (nativeEvent) {
359
373
  const calciteInputInputEvent = this.calciteInputInput.emit({
360
374
  element: this.childEl,
@@ -363,7 +377,10 @@ export class Input {
363
377
  });
364
378
  if (calciteInputInputEvent.defaultPrevented) {
365
379
  this.value = this.previousValue;
366
- this.localizedValue = previousLocalizedValue;
380
+ this.localizedValue =
381
+ this.type === "number"
382
+ ? numberStringFormatter.localize(this.previousValue)
383
+ : this.previousValue;
367
384
  }
368
385
  else if (committing) {
369
386
  this.emitChangeIfUserModified();
@@ -377,6 +394,9 @@ export class Input {
377
394
  disabledWatcher() {
378
395
  this.setDisabledAction();
379
396
  }
397
+ localeChanged() {
398
+ updateEffectiveLocale(this);
399
+ }
380
400
  /** watcher to update number-to-string for max */
381
401
  maxWatcher() {
382
402
  var _a;
@@ -420,12 +440,15 @@ export class Input {
420
440
  //--------------------------------------------------------------------------
421
441
  connectedCallback() {
422
442
  var _a;
443
+ connectLocalized(this);
423
444
  this.scale = getElementProp(this.el, "scale", this.scale);
424
445
  this.status = getElementProp(this.el, "status", this.status);
425
446
  this.inlineEditableEl = this.el.closest("calcite-inline-editable");
426
447
  if (this.inlineEditableEl) {
427
448
  this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
428
449
  }
450
+ connectLabel(this);
451
+ connectForm(this);
429
452
  this.setPreviousEmittedValue(this.value);
430
453
  this.setPreviousValue(this.value);
431
454
  if (this.type === "number") {
@@ -435,9 +458,6 @@ export class Input {
435
458
  value: isValidNumber(this.value) ? this.value : ""
436
459
  });
437
460
  }
438
- connectLabel(this);
439
- connectForm(this);
440
- watchGlobalAttributes(this, ["lang"]);
441
461
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
442
462
  this.setDisabledAction();
443
463
  this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
@@ -446,7 +466,7 @@ export class Input {
446
466
  var _a;
447
467
  disconnectLabel(this);
448
468
  disconnectForm(this);
449
- unwatchGlobalAttributes(this);
469
+ disconnectLocalized(this);
450
470
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
451
471
  this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
452
472
  }
@@ -564,25 +584,19 @@ export class Input {
564
584
  // --------------------------------------------------------------------------
565
585
  render() {
566
586
  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" })));
587
+ const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
588
+ 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
589
  const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
572
590
  const isHorizontalNumberButton = this.numberButtonType === "horizontal";
573
591
  const numberButtonsHorizontalUp = (h("button", { "aria-hidden": "true", class: {
574
592
  [CSS.numberButtonItem]: true,
575
593
  [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" })));
594
+ }, "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
595
  const numberButtonsHorizontalDown = (h("button", { "aria-hidden": "true", class: {
579
596
  [CSS.numberButtonItem]: true,
580
597
  [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));
598
+ }, "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" })));
599
+ const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
586
600
  const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
587
601
  const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
588
602
  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 +606,827 @@ export class Input {
592
606
  [CSS.editingEnabled]: this.editingEnabled,
593
607
  [CSS.inlineChild]: !!this.inlineEditableEl
594
608
  }, 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
609
+ this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
597
610
  ]
598
611
  : 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 }))));
612
+ 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
613
+ ? numberButtonsHorizontalDown
614
+ : 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
615
+ ? numberButtonsVertical
616
+ : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
617
+ ? numberButtonsHorizontalUp
618
+ : null, h(HiddenFormInputSlot, { component: this }))));
621
619
  }
622
620
  static get is() { return "calcite-input"; }
623
621
  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"
622
+ static get originalStyleUrls() {
623
+ return {
624
+ "$": ["input.scss"]
625
+ };
626
+ }
627
+ static get styleUrls() {
628
+ return {
629
+ "$": ["input.css"]
630
+ };
631
+ }
632
+ static get properties() {
633
+ return {
634
+ "alignment": {
635
+ "type": "string",
636
+ "mutable": false,
637
+ "complexType": {
638
+ "original": "Position",
639
+ "resolved": "\"end\" | \"start\"",
640
+ "references": {
641
+ "Position": {
642
+ "location": "import",
643
+ "path": "../interfaces"
644
+ }
1055
645
  }
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"
646
+ },
647
+ "required": false,
648
+ "optional": false,
649
+ "docs": {
650
+ "tags": [],
651
+ "text": "Specifies the text alignment of the component's value."
652
+ },
653
+ "attribute": "alignment",
654
+ "reflect": true,
655
+ "defaultValue": "\"start\""
656
+ },
657
+ "autofocus": {
658
+ "type": "boolean",
659
+ "mutable": false,
660
+ "complexType": {
661
+ "original": "boolean",
662
+ "resolved": "boolean",
663
+ "references": {}
664
+ },
665
+ "required": false,
666
+ "optional": false,
667
+ "docs": {
668
+ "tags": [{
669
+ "name": "mdn",
670
+ "text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
671
+ }],
672
+ "text": "When `true`, the component is focused on page load."
673
+ },
674
+ "attribute": "autofocus",
675
+ "reflect": true,
676
+ "defaultValue": "false"
677
+ },
678
+ "clearable": {
679
+ "type": "boolean",
680
+ "mutable": false,
681
+ "complexType": {
682
+ "original": "boolean",
683
+ "resolved": "boolean",
684
+ "references": {}
685
+ },
686
+ "required": false,
687
+ "optional": false,
688
+ "docs": {
689
+ "tags": [],
690
+ "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."
691
+ },
692
+ "attribute": "clearable",
693
+ "reflect": true,
694
+ "defaultValue": "false"
695
+ },
696
+ "disabled": {
697
+ "type": "boolean",
698
+ "mutable": false,
699
+ "complexType": {
700
+ "original": "boolean",
701
+ "resolved": "boolean",
702
+ "references": {}
703
+ },
704
+ "required": false,
705
+ "optional": false,
706
+ "docs": {
707
+ "tags": [{
708
+ "name": "mdn",
709
+ "text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
710
+ }],
711
+ "text": "When `true`, interaction is prevented and the component is displayed with lower opacity."
712
+ },
713
+ "attribute": "disabled",
714
+ "reflect": true,
715
+ "defaultValue": "false"
716
+ },
717
+ "groupSeparator": {
718
+ "type": "boolean",
719
+ "mutable": false,
720
+ "complexType": {
721
+ "original": "boolean",
722
+ "resolved": "boolean",
723
+ "references": {}
724
+ },
725
+ "required": false,
726
+ "optional": false,
727
+ "docs": {
728
+ "tags": [],
729
+ "text": "When `true`, number values are displayed with a group separator corresponding to the language and country format."
730
+ },
731
+ "attribute": "group-separator",
732
+ "reflect": true,
733
+ "defaultValue": "false"
734
+ },
735
+ "hidden": {
736
+ "type": "boolean",
737
+ "mutable": false,
738
+ "complexType": {
739
+ "original": "boolean",
740
+ "resolved": "boolean",
741
+ "references": {}
742
+ },
743
+ "required": false,
744
+ "optional": false,
745
+ "docs": {
746
+ "tags": [{
747
+ "name": "mdn",
748
+ "text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
749
+ }],
750
+ "text": "When `true`, the component will not be visible."
751
+ },
752
+ "attribute": "hidden",
753
+ "reflect": true,
754
+ "defaultValue": "false"
755
+ },
756
+ "icon": {
757
+ "type": "any",
758
+ "mutable": false,
759
+ "complexType": {
760
+ "original": "string | boolean",
761
+ "resolved": "boolean | string",
762
+ "references": {}
763
+ },
764
+ "required": false,
765
+ "optional": false,
766
+ "docs": {
767
+ "tags": [],
768
+ "text": "When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon."
769
+ },
770
+ "attribute": "icon",
771
+ "reflect": true
772
+ },
773
+ "intlClear": {
774
+ "type": "string",
775
+ "mutable": false,
776
+ "complexType": {
777
+ "original": "string",
778
+ "resolved": "string",
779
+ "references": {}
780
+ },
781
+ "required": false,
782
+ "optional": true,
783
+ "docs": {
784
+ "tags": [],
785
+ "text": "Accessible name for the component's clear button."
786
+ },
787
+ "attribute": "intl-clear",
788
+ "reflect": false
789
+ },
790
+ "intlLoading": {
791
+ "type": "string",
792
+ "mutable": false,
793
+ "complexType": {
794
+ "original": "string",
795
+ "resolved": "string",
796
+ "references": {}
797
+ },
798
+ "required": false,
799
+ "optional": true,
800
+ "docs": {
801
+ "tags": [{
802
+ "name": "default",
803
+ "text": "\"Loading\""
804
+ }],
805
+ "text": "Accessible name when the component is loading."
806
+ },
807
+ "attribute": "intl-loading",
808
+ "reflect": false,
809
+ "defaultValue": "COMMON_TEXT.loading"
810
+ },
811
+ "iconFlipRtl": {
812
+ "type": "boolean",
813
+ "mutable": false,
814
+ "complexType": {
815
+ "original": "boolean",
816
+ "resolved": "boolean",
817
+ "references": {}
818
+ },
819
+ "required": false,
820
+ "optional": false,
821
+ "docs": {
822
+ "tags": [],
823
+ "text": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`)."
824
+ },
825
+ "attribute": "icon-flip-rtl",
826
+ "reflect": true,
827
+ "defaultValue": "false"
828
+ },
829
+ "label": {
830
+ "type": "string",
831
+ "mutable": false,
832
+ "complexType": {
833
+ "original": "string",
834
+ "resolved": "string",
835
+ "references": {}
836
+ },
837
+ "required": false,
838
+ "optional": true,
839
+ "docs": {
840
+ "tags": [],
841
+ "text": "Accessible name for the component."
842
+ },
843
+ "attribute": "label",
844
+ "reflect": false
845
+ },
846
+ "loading": {
847
+ "type": "boolean",
848
+ "mutable": false,
849
+ "complexType": {
850
+ "original": "boolean",
851
+ "resolved": "boolean",
852
+ "references": {}
853
+ },
854
+ "required": false,
855
+ "optional": false,
856
+ "docs": {
857
+ "tags": [],
858
+ "text": "When `true`, a busy indicator is displayed."
859
+ },
860
+ "attribute": "loading",
861
+ "reflect": true,
862
+ "defaultValue": "false"
863
+ },
864
+ "locale": {
865
+ "type": "string",
866
+ "mutable": false,
867
+ "complexType": {
868
+ "original": "string",
869
+ "resolved": "string",
870
+ "references": {}
871
+ },
872
+ "required": false,
873
+ "optional": false,
874
+ "docs": {
875
+ "tags": [{
876
+ "name": "deprecated",
877
+ "text": "set the global `lang` attribute on the element instead."
878
+ }, {
879
+ "name": "mdn",
880
+ "text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
881
+ }],
882
+ "text": "BCP 47 language tag for desired language and country format"
883
+ },
884
+ "attribute": "locale",
885
+ "reflect": false
886
+ },
887
+ "numberingSystem": {
888
+ "type": "string",
889
+ "mutable": false,
890
+ "complexType": {
891
+ "original": "NumberingSystem",
892
+ "resolved": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
893
+ "references": {
894
+ "NumberingSystem": {
895
+ "location": "import",
896
+ "path": "../../utils/locale"
897
+ }
1154
898
  }
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"
899
+ },
900
+ "required": false,
901
+ "optional": true,
902
+ "docs": {
903
+ "tags": [],
904
+ "text": "Specifies the Unicode numeral system used by the component for localization."
905
+ },
906
+ "attribute": "numbering-system",
907
+ "reflect": true
908
+ },
909
+ "localeFormat": {
910
+ "type": "boolean",
911
+ "mutable": false,
912
+ "complexType": {
913
+ "original": "boolean",
914
+ "resolved": "boolean",
915
+ "references": {}
916
+ },
917
+ "required": false,
918
+ "optional": false,
919
+ "docs": {
920
+ "tags": [{
921
+ "name": "internal",
922
+ "text": undefined
923
+ }],
924
+ "text": "When `true`, uses locale formatting for numbers."
925
+ },
926
+ "attribute": "locale-format",
927
+ "reflect": false,
928
+ "defaultValue": "false"
929
+ },
930
+ "max": {
931
+ "type": "number",
932
+ "mutable": false,
933
+ "complexType": {
934
+ "original": "number",
935
+ "resolved": "number",
936
+ "references": {}
937
+ },
938
+ "required": false,
939
+ "optional": true,
940
+ "docs": {
941
+ "tags": [{
942
+ "name": "mdn",
943
+ "text": "[max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)"
944
+ }],
945
+ "text": "Specifies the maximum value for type \"number\"."
946
+ },
947
+ "attribute": "max",
948
+ "reflect": true
949
+ },
950
+ "min": {
951
+ "type": "number",
952
+ "mutable": false,
953
+ "complexType": {
954
+ "original": "number",
955
+ "resolved": "number",
956
+ "references": {}
957
+ },
958
+ "required": false,
959
+ "optional": true,
960
+ "docs": {
961
+ "tags": [{
962
+ "name": "mdn",
963
+ "text": "[min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)"
964
+ }],
965
+ "text": "Specifies the minimum value for `type=\"number\"`."
966
+ },
967
+ "attribute": "min",
968
+ "reflect": true
969
+ },
970
+ "maxlength": {
971
+ "type": "number",
972
+ "mutable": false,
973
+ "complexType": {
974
+ "original": "number",
975
+ "resolved": "number",
976
+ "references": {}
977
+ },
978
+ "required": false,
979
+ "optional": true,
980
+ "docs": {
981
+ "tags": [{
982
+ "name": "deprecated",
983
+ "text": "use `maxLength` instead."
984
+ }],
985
+ "text": "Specifies the maximum length of text for the component's value."
986
+ },
987
+ "attribute": "maxlength",
988
+ "reflect": true
989
+ },
990
+ "maxLength": {
991
+ "type": "number",
992
+ "mutable": false,
993
+ "complexType": {
994
+ "original": "number",
995
+ "resolved": "number",
996
+ "references": {}
997
+ },
998
+ "required": false,
999
+ "optional": true,
1000
+ "docs": {
1001
+ "tags": [{
1002
+ "name": "mdn",
1003
+ "text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
1004
+ }],
1005
+ "text": "Specifies the maximum length of text for the component's value."
1006
+ },
1007
+ "attribute": "max-length",
1008
+ "reflect": true
1009
+ },
1010
+ "minLength": {
1011
+ "type": "number",
1012
+ "mutable": false,
1013
+ "complexType": {
1014
+ "original": "number",
1015
+ "resolved": "number",
1016
+ "references": {}
1017
+ },
1018
+ "required": false,
1019
+ "optional": true,
1020
+ "docs": {
1021
+ "tags": [{
1022
+ "name": "mdn",
1023
+ "text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
1024
+ }],
1025
+ "text": "Specifies the minimum length of text for the component's value."
1026
+ },
1027
+ "attribute": "min-length",
1028
+ "reflect": true
1029
+ },
1030
+ "name": {
1031
+ "type": "string",
1032
+ "mutable": false,
1033
+ "complexType": {
1034
+ "original": "string",
1035
+ "resolved": "string",
1036
+ "references": {}
1037
+ },
1038
+ "required": false,
1039
+ "optional": false,
1040
+ "docs": {
1041
+ "tags": [{
1042
+ "name": "mdn",
1043
+ "text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
1044
+ }],
1045
+ "text": "Specifies the name of the component on form submission."
1046
+ },
1047
+ "attribute": "name",
1048
+ "reflect": true
1049
+ },
1050
+ "numberButtonType": {
1051
+ "type": "string",
1052
+ "mutable": false,
1053
+ "complexType": {
1054
+ "original": "InputPlacement",
1055
+ "resolved": "\"horizontal\" | \"none\" | \"vertical\"",
1056
+ "references": {
1057
+ "InputPlacement": {
1058
+ "location": "import",
1059
+ "path": "./interfaces"
1060
+ }
1177
1061
  }
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"
1062
+ },
1063
+ "required": false,
1064
+ "optional": true,
1065
+ "docs": {
1066
+ "tags": [],
1067
+ "text": "Specifies the placement of the buttons for `type=\"number\"`."
1068
+ },
1069
+ "attribute": "number-button-type",
1070
+ "reflect": true,
1071
+ "defaultValue": "\"vertical\""
1072
+ },
1073
+ "placeholder": {
1074
+ "type": "string",
1075
+ "mutable": false,
1076
+ "complexType": {
1077
+ "original": "string",
1078
+ "resolved": "string",
1079
+ "references": {}
1080
+ },
1081
+ "required": false,
1082
+ "optional": false,
1083
+ "docs": {
1084
+ "tags": [{
1085
+ "name": "mdn",
1086
+ "text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
1087
+ }],
1088
+ "text": "Specifies placeholder text for the component."
1089
+ },
1090
+ "attribute": "placeholder",
1091
+ "reflect": false
1092
+ },
1093
+ "prefixText": {
1094
+ "type": "string",
1095
+ "mutable": false,
1096
+ "complexType": {
1097
+ "original": "string",
1098
+ "resolved": "string",
1099
+ "references": {}
1100
+ },
1101
+ "required": false,
1102
+ "optional": true,
1103
+ "docs": {
1104
+ "tags": [],
1105
+ "text": "Adds text to the start of the component."
1106
+ },
1107
+ "attribute": "prefix-text",
1108
+ "reflect": false
1109
+ },
1110
+ "readOnly": {
1111
+ "type": "boolean",
1112
+ "mutable": false,
1113
+ "complexType": {
1114
+ "original": "boolean",
1115
+ "resolved": "boolean",
1116
+ "references": {}
1117
+ },
1118
+ "required": false,
1119
+ "optional": false,
1120
+ "docs": {
1121
+ "tags": [{
1122
+ "name": "mdn",
1123
+ "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
1124
+ }],
1125
+ "text": "When `true`, the component's value can be read, but cannot be modified."
1126
+ },
1127
+ "attribute": "read-only",
1128
+ "reflect": true,
1129
+ "defaultValue": "false"
1130
+ },
1131
+ "required": {
1132
+ "type": "boolean",
1133
+ "mutable": false,
1134
+ "complexType": {
1135
+ "original": "boolean",
1136
+ "resolved": "boolean",
1137
+ "references": {}
1138
+ },
1139
+ "required": false,
1140
+ "optional": false,
1141
+ "docs": {
1142
+ "tags": [],
1143
+ "text": "When `true`, the component must have a value in order for the form to submit."
1144
+ },
1145
+ "attribute": "required",
1146
+ "reflect": true,
1147
+ "defaultValue": "false"
1148
+ },
1149
+ "scale": {
1150
+ "type": "string",
1151
+ "mutable": true,
1152
+ "complexType": {
1153
+ "original": "Scale",
1154
+ "resolved": "\"l\" | \"m\" | \"s\"",
1155
+ "references": {
1156
+ "Scale": {
1157
+ "location": "import",
1158
+ "path": "../interfaces"
1159
+ }
1342
1160
  }
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"
1161
+ },
1162
+ "required": false,
1163
+ "optional": false,
1164
+ "docs": {
1165
+ "tags": [],
1166
+ "text": "Specifies the size of the component."
1167
+ },
1168
+ "attribute": "scale",
1169
+ "reflect": true,
1170
+ "defaultValue": "\"m\""
1171
+ },
1172
+ "status": {
1173
+ "type": "string",
1174
+ "mutable": true,
1175
+ "complexType": {
1176
+ "original": "Status",
1177
+ "resolved": "\"idle\" | \"invalid\" | \"valid\"",
1178
+ "references": {
1179
+ "Status": {
1180
+ "location": "import",
1181
+ "path": "../interfaces"
1182
+ }
1369
1183
  }
1370
1184
  },
1371
- "return": "Promise<void>"
1372
- },
1373
- "docs": {
1374
- "text": "Sets focus on the component.",
1375
- "tags": []
1185
+ "required": false,
1186
+ "optional": false,
1187
+ "docs": {
1188
+ "tags": [],
1189
+ "text": "Specifies the status of the input field, which determines message and icons."
1190
+ },
1191
+ "attribute": "status",
1192
+ "reflect": true,
1193
+ "defaultValue": "\"idle\""
1194
+ },
1195
+ "step": {
1196
+ "type": "any",
1197
+ "mutable": false,
1198
+ "complexType": {
1199
+ "original": "number | \"any\"",
1200
+ "resolved": "\"any\" | number",
1201
+ "references": {}
1202
+ },
1203
+ "required": false,
1204
+ "optional": true,
1205
+ "docs": {
1206
+ "tags": [{
1207
+ "name": "mdn",
1208
+ "text": "[step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)"
1209
+ }],
1210
+ "text": "Specifies the granularity the component's value must adhere to."
1211
+ },
1212
+ "attribute": "step",
1213
+ "reflect": true
1214
+ },
1215
+ "suffixText": {
1216
+ "type": "string",
1217
+ "mutable": false,
1218
+ "complexType": {
1219
+ "original": "string",
1220
+ "resolved": "string",
1221
+ "references": {}
1222
+ },
1223
+ "required": false,
1224
+ "optional": true,
1225
+ "docs": {
1226
+ "tags": [],
1227
+ "text": "Adds text to the end of the component."
1228
+ },
1229
+ "attribute": "suffix-text",
1230
+ "reflect": false
1231
+ },
1232
+ "editingEnabled": {
1233
+ "type": "boolean",
1234
+ "mutable": true,
1235
+ "complexType": {
1236
+ "original": "boolean",
1237
+ "resolved": "boolean",
1238
+ "references": {}
1239
+ },
1240
+ "required": false,
1241
+ "optional": false,
1242
+ "docs": {
1243
+ "tags": [{
1244
+ "name": "internal",
1245
+ "text": undefined
1246
+ }],
1247
+ "text": ""
1248
+ },
1249
+ "attribute": "editing-enabled",
1250
+ "reflect": true,
1251
+ "defaultValue": "false"
1252
+ },
1253
+ "type": {
1254
+ "type": "string",
1255
+ "mutable": false,
1256
+ "complexType": {
1257
+ "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\"",
1258
+ "resolved": "\"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"image\" | \"month\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"time\" | \"url\" | \"week\"",
1259
+ "references": {}
1260
+ },
1261
+ "required": false,
1262
+ "optional": false,
1263
+ "docs": {
1264
+ "tags": [],
1265
+ "text": "Specifies the component type.\n\nNote that the following `type`s add type-specific icons by default: `\"date\"`, `\"email\"`, `\"password\"`, `\"search\"`, `\"tel\"`, `\"time\"`."
1266
+ },
1267
+ "attribute": "type",
1268
+ "reflect": true,
1269
+ "defaultValue": "\"text\""
1270
+ },
1271
+ "value": {
1272
+ "type": "string",
1273
+ "mutable": true,
1274
+ "complexType": {
1275
+ "original": "string",
1276
+ "resolved": "string",
1277
+ "references": {}
1278
+ },
1279
+ "required": false,
1280
+ "optional": false,
1281
+ "docs": {
1282
+ "tags": [],
1283
+ "text": "The component's value."
1284
+ },
1285
+ "attribute": "value",
1286
+ "reflect": false,
1287
+ "defaultValue": "\"\""
1376
1288
  }
1377
- },
1378
- "selectText": {
1379
- "complexType": {
1380
- "signature": "() => Promise<void>",
1381
- "parameters": [],
1382
- "references": {
1383
- "Promise": {
1384
- "location": "global"
1289
+ };
1290
+ }
1291
+ static get states() {
1292
+ return {
1293
+ "effectiveLocale": {},
1294
+ "localizedValue": {}
1295
+ };
1296
+ }
1297
+ static get events() {
1298
+ return [{
1299
+ "method": "calciteInternalInputFocus",
1300
+ "name": "calciteInternalInputFocus",
1301
+ "bubbles": true,
1302
+ "cancelable": false,
1303
+ "composed": true,
1304
+ "docs": {
1305
+ "tags": [{
1306
+ "name": "internal",
1307
+ "text": undefined
1308
+ }],
1309
+ "text": ""
1310
+ },
1311
+ "complexType": {
1312
+ "original": "void",
1313
+ "resolved": "void",
1314
+ "references": {}
1315
+ }
1316
+ }, {
1317
+ "method": "calciteInternalInputBlur",
1318
+ "name": "calciteInternalInputBlur",
1319
+ "bubbles": true,
1320
+ "cancelable": false,
1321
+ "composed": true,
1322
+ "docs": {
1323
+ "tags": [{
1324
+ "name": "internal",
1325
+ "text": undefined
1326
+ }],
1327
+ "text": ""
1328
+ },
1329
+ "complexType": {
1330
+ "original": "void",
1331
+ "resolved": "void",
1332
+ "references": {}
1333
+ }
1334
+ }, {
1335
+ "method": "calciteInputInput",
1336
+ "name": "calciteInputInput",
1337
+ "bubbles": true,
1338
+ "cancelable": true,
1339
+ "composed": true,
1340
+ "docs": {
1341
+ "tags": [],
1342
+ "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."
1343
+ },
1344
+ "complexType": {
1345
+ "original": "DeprecatedEventPayload",
1346
+ "resolved": "any",
1347
+ "references": {
1348
+ "DeprecatedEventPayload": {
1349
+ "location": "import",
1350
+ "path": "../interfaces"
1351
+ }
1385
1352
  }
1353
+ }
1354
+ }, {
1355
+ "method": "calciteInputChange",
1356
+ "name": "calciteInputChange",
1357
+ "bubbles": true,
1358
+ "cancelable": false,
1359
+ "composed": true,
1360
+ "docs": {
1361
+ "tags": [],
1362
+ "text": "Fires each time a new `value` is typed and committed."
1363
+ },
1364
+ "complexType": {
1365
+ "original": "void",
1366
+ "resolved": "void",
1367
+ "references": {}
1368
+ }
1369
+ }];
1370
+ }
1371
+ static get methods() {
1372
+ return {
1373
+ "setFocus": {
1374
+ "complexType": {
1375
+ "signature": "() => Promise<void>",
1376
+ "parameters": [],
1377
+ "references": {
1378
+ "Promise": {
1379
+ "location": "global"
1380
+ }
1381
+ },
1382
+ "return": "Promise<void>"
1386
1383
  },
1387
- "return": "Promise<void>"
1384
+ "docs": {
1385
+ "text": "Sets focus on the component.",
1386
+ "tags": []
1387
+ }
1388
1388
  },
1389
- "docs": {
1390
- "text": "Selects all text of the component's `value`.",
1391
- "tags": []
1389
+ "selectText": {
1390
+ "complexType": {
1391
+ "signature": "() => Promise<void>",
1392
+ "parameters": [],
1393
+ "references": {
1394
+ "Promise": {
1395
+ "location": "global"
1396
+ }
1397
+ },
1398
+ "return": "Promise<void>"
1399
+ },
1400
+ "docs": {
1401
+ "text": "Selects all text of the component's `value`.",
1402
+ "tags": []
1403
+ }
1392
1404
  }
1393
- }
1394
- }; }
1405
+ };
1406
+ }
1395
1407
  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
- }]; }
1408
+ static get watchers() {
1409
+ return [{
1410
+ "propName": "disabled",
1411
+ "methodName": "disabledWatcher"
1412
+ }, {
1413
+ "propName": "locale",
1414
+ "methodName": "localeChanged"
1415
+ }, {
1416
+ "propName": "max",
1417
+ "methodName": "maxWatcher"
1418
+ }, {
1419
+ "propName": "min",
1420
+ "methodName": "minWatcher"
1421
+ }, {
1422
+ "propName": "value",
1423
+ "methodName": "valueWatcher"
1424
+ }, {
1425
+ "propName": "icon",
1426
+ "methodName": "updateRequestedIcon"
1427
+ }, {
1428
+ "propName": "type",
1429
+ "methodName": "updateRequestedIcon"
1430
+ }];
1431
+ }
1415
1432
  }