@ionic/core 8.5.7-dev.11747180955.1e468923 → 8.5.7-dev.11747676931.1d53b808

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 (336) hide show
  1. package/components/input-shims.js +0 -18
  2. package/components/ion-input-otp.d.ts +11 -0
  3. package/components/ion-input-otp.js +611 -0
  4. package/components/ion-input-password-toggle.js +3 -3
  5. package/components/ion-input.js +10 -2
  6. package/components/ion-item-divider.js +2 -2
  7. package/components/ion-item-group.js +1 -1
  8. package/components/ion-item-option.js +2 -2
  9. package/components/ion-item-options.js +1 -1
  10. package/components/ion-item-sliding.js +1 -1
  11. package/components/ion-loading.js +2 -2
  12. package/components/ion-menu-button.js +2 -2
  13. package/components/ion-menu-toggle.js +2 -2
  14. package/components/ion-menu.js +2 -2
  15. package/components/ion-nav-link.js +1 -1
  16. package/components/ion-nav.js +1 -1
  17. package/components/ion-note.js +2 -2
  18. package/components/ion-picker-legacy.js +2 -2
  19. package/components/ion-progress-bar.js +1 -1
  20. package/components/ion-range.js +3 -3
  21. package/components/ion-refresher-content.js +1 -1
  22. package/components/ion-refresher.js +1 -1
  23. package/components/ion-reorder-group.js +1 -1
  24. package/components/ion-reorder.js +1 -1
  25. package/components/ion-router-link.js +2 -2
  26. package/components/ion-router-outlet.js +1 -1
  27. package/components/ion-row.js +1 -1
  28. package/components/ion-searchbar.js +4 -4
  29. package/components/ion-segment-button.js +2 -2
  30. package/components/ion-segment-content.js +1 -1
  31. package/components/ion-segment-view.js +2 -2
  32. package/components/ion-segment.js +2 -2
  33. package/components/ion-select-option.js +1 -1
  34. package/components/ion-select.js +2 -2
  35. package/components/ion-skeleton-text.js +2 -2
  36. package/components/ion-split-pane.js +2 -2
  37. package/components/ion-tab-bar.js +2 -2
  38. package/components/ion-tab-button.js +2 -2
  39. package/components/ion-tab.js +2 -2
  40. package/components/ion-tabs.js +1 -1
  41. package/components/ion-text.js +2 -2
  42. package/components/ion-textarea.js +2 -2
  43. package/components/ion-thumbnail.js +1 -1
  44. package/components/ion-toast.js +2 -2
  45. package/components/ion-toggle.js +3 -3
  46. package/components/label.js +2 -2
  47. package/components/list-header.js +2 -2
  48. package/components/list.js +1 -1
  49. package/components/modal.js +4 -4
  50. package/components/picker-column-option.js +2 -2
  51. package/components/picker-column2.js +2 -2
  52. package/components/popover.js +2 -2
  53. package/components/radio-group.js +1 -1
  54. package/components/radio.js +3 -3
  55. package/components/ripple-effect.js +1 -1
  56. package/components/select-modal.js +1 -1
  57. package/components/select-popover.js +1 -1
  58. package/components/spinner.js +1 -1
  59. package/components/title.js +2 -2
  60. package/components/toolbar.js +2 -2
  61. package/dist/cjs/{app-globals-CWtQHdcK.js → app-globals-DvwumQAI.js} +1 -1
  62. package/dist/cjs/{button-active-BzpKQ5zN.js → button-active-Du_YCFSd.js} +1 -1
  63. package/dist/cjs/{index-qOuhvt-6.js → index-B6-BlKCh.js} +4 -0
  64. package/dist/cjs/{index-CrE5792q.js → index-DCB2XSaQ.js} +1 -1
  65. package/dist/cjs/{index-C6GLB0dQ.js → index-QuFS9UpQ.js} +3 -3
  66. package/dist/cjs/index.cjs.js +7 -7
  67. package/dist/cjs/{input-shims-BIfSj_O3.js → input-shims-DGvxKeWy.js} +0 -18
  68. package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
  69. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  70. package/dist/cjs/ion-alert.cjs.entry.js +4 -4
  71. package/dist/cjs/ion-app_8.cjs.entry.js +10 -10
  72. package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
  73. package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  75. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
  76. package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
  77. package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
  78. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  79. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  80. package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
  81. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  82. package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
  83. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  84. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  85. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
  86. package/dist/cjs/ion-input-otp.cjs.entry.js +574 -0
  87. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +5 -5
  88. package/dist/cjs/ion-input.cjs.entry.js +12 -4
  89. package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
  90. package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
  91. package/dist/cjs/ion-loading.cjs.entry.js +5 -5
  92. package/dist/cjs/ion-menu_3.cjs.entry.js +10 -10
  93. package/dist/cjs/ion-modal.cjs.entry.js +8 -8
  94. package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
  95. package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
  96. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  97. package/dist/cjs/ion-picker.cjs.entry.js +1 -1
  98. package/dist/cjs/ion-popover.cjs.entry.js +6 -6
  99. package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
  100. package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
  101. package/dist/cjs/ion-range.cjs.entry.js +5 -5
  102. package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
  103. package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
  104. package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
  105. package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
  106. package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
  107. package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
  108. package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
  109. package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
  110. package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
  111. package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
  112. package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
  113. package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
  114. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
  115. package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
  116. package/dist/cjs/ion-text.cjs.entry.js +4 -4
  117. package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
  118. package/dist/cjs/ion-toast.cjs.entry.js +5 -5
  119. package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
  120. package/dist/cjs/{ionic-global-BC3ee-Wa.js → ionic-global-C3I6b0Is.js} +1 -1
  121. package/dist/cjs/ionic.cjs.js +4 -4
  122. package/dist/cjs/{ios.transition-C9J4bBGV.js → ios.transition-CL8Q2_Bi.js} +2 -2
  123. package/dist/cjs/loader.cjs.js +4 -4
  124. package/dist/cjs/{md.transition-DT8PB4eS.js → md.transition-D1Ast6la.js} +2 -2
  125. package/dist/cjs/{overlays-B4rlyxhY.js → overlays-Ci3nLg5M.js} +1 -1
  126. package/dist/cjs/{status-tap-B8fjNFjq.js → status-tap-Bx_wzOTo.js} +1 -1
  127. package/dist/collection/collection-manifest.json +1 -0
  128. package/dist/collection/components/input/input.js +10 -2
  129. package/dist/collection/components/input-otp/input-otp-interface.js +1 -0
  130. package/dist/collection/components/input-otp/input-otp.ios.css +377 -0
  131. package/dist/collection/components/input-otp/input-otp.js +999 -0
  132. package/dist/collection/components/input-otp/input-otp.md.css +377 -0
  133. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  134. package/dist/collection/components/item-divider/item-divider.js +2 -2
  135. package/dist/collection/components/item-group/item-group.js +1 -1
  136. package/dist/collection/components/item-option/item-option.js +2 -2
  137. package/dist/collection/components/item-options/item-options.js +1 -1
  138. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  139. package/dist/collection/components/label/label.js +2 -2
  140. package/dist/collection/components/list/list.js +1 -1
  141. package/dist/collection/components/list-header/list-header.js +2 -2
  142. package/dist/collection/components/loading/loading.js +2 -2
  143. package/dist/collection/components/menu/menu.js +2 -2
  144. package/dist/collection/components/menu-button/menu-button.js +2 -2
  145. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  146. package/dist/collection/components/modal/modal.js +4 -4
  147. package/dist/collection/components/nav/nav.js +1 -1
  148. package/dist/collection/components/nav-link/nav-link.js +1 -1
  149. package/dist/collection/components/note/note.js +2 -2
  150. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  151. package/dist/collection/components/picker-legacy/picker.js +2 -2
  152. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  153. package/dist/collection/components/popover/popover.js +2 -2
  154. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  155. package/dist/collection/components/radio/radio.js +3 -3
  156. package/dist/collection/components/radio-group/radio-group.js +1 -1
  157. package/dist/collection/components/range/range.js +3 -3
  158. package/dist/collection/components/refresher/refresher.js +1 -1
  159. package/dist/collection/components/refresher-content/refresher-content.js +1 -1
  160. package/dist/collection/components/reorder/reorder.js +1 -1
  161. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  162. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  163. package/dist/collection/components/router-link/router-link.js +2 -2
  164. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  165. package/dist/collection/components/row/row.js +1 -1
  166. package/dist/collection/components/searchbar/searchbar.js +4 -4
  167. package/dist/collection/components/segment/segment.js +2 -2
  168. package/dist/collection/components/segment-button/segment-button.js +2 -2
  169. package/dist/collection/components/segment-content/segment-content.js +1 -1
  170. package/dist/collection/components/segment-view/segment-view.js +2 -2
  171. package/dist/collection/components/select/select.js +2 -2
  172. package/dist/collection/components/select-modal/select-modal.js +1 -1
  173. package/dist/collection/components/select-option/select-option.js +1 -1
  174. package/dist/collection/components/select-popover/select-popover.js +1 -1
  175. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  176. package/dist/collection/components/spinner/spinner.js +1 -1
  177. package/dist/collection/components/split-pane/split-pane.js +2 -2
  178. package/dist/collection/components/tab/tab.js +2 -2
  179. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  180. package/dist/collection/components/tab-button/tab-button.js +2 -2
  181. package/dist/collection/components/tabs/tabs.js +1 -1
  182. package/dist/collection/components/text/text.js +2 -2
  183. package/dist/collection/components/textarea/textarea.js +2 -2
  184. package/dist/collection/components/thumbnail/thumbnail.js +1 -1
  185. package/dist/collection/components/title/title.js +2 -2
  186. package/dist/collection/components/toast/toast.js +2 -2
  187. package/dist/collection/components/toggle/toggle.js +3 -3
  188. package/dist/collection/components/toolbar/toolbar.js +2 -2
  189. package/dist/collection/utils/input-shims/hacks/scroll-assist.js +0 -18
  190. package/dist/docs.json +907 -1
  191. package/dist/esm/{app-globals-Ts_E1ch0.js → app-globals-C74-VMUb.js} +1 -1
  192. package/dist/esm/{button-active-BQqkZ_sm.js → button-active-DRCPpzqj.js} +1 -1
  193. package/dist/esm/{index-EP3pwcdb.js → index-3GtB1kQI.js} +4 -1
  194. package/dist/esm/{index-B83thFnh.js → index-lgeUQ6qY.js} +3 -3
  195. package/dist/esm/{index-RyWq7qIc.js → index-lp0kQfoC.js} +1 -1
  196. package/dist/esm/index.js +7 -7
  197. package/dist/esm/{input-shims-BbXgvAcA.js → input-shims-qlIPzMSm.js} +0 -18
  198. package/dist/esm/ion-accordion_2.entry.js +2 -2
  199. package/dist/esm/ion-action-sheet.entry.js +4 -4
  200. package/dist/esm/ion-alert.entry.js +4 -4
  201. package/dist/esm/ion-app_8.entry.js +10 -10
  202. package/dist/esm/ion-avatar_3.entry.js +3 -3
  203. package/dist/esm/ion-back-button.entry.js +2 -2
  204. package/dist/esm/ion-backdrop.entry.js +2 -2
  205. package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
  206. package/dist/esm/ion-button_2.entry.js +2 -2
  207. package/dist/esm/ion-card_5.entry.js +2 -2
  208. package/dist/esm/ion-checkbox.entry.js +2 -2
  209. package/dist/esm/ion-chip.entry.js +2 -2
  210. package/dist/esm/ion-col_3.entry.js +3 -3
  211. package/dist/esm/ion-datetime-button.entry.js +2 -2
  212. package/dist/esm/ion-datetime_3.entry.js +7 -7
  213. package/dist/esm/ion-fab_3.entry.js +2 -2
  214. package/dist/esm/ion-img.entry.js +2 -2
  215. package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
  216. package/dist/esm/ion-input-otp.entry.js +572 -0
  217. package/dist/esm/ion-input-password-toggle.entry.js +5 -5
  218. package/dist/esm/ion-input.entry.js +12 -4
  219. package/dist/esm/ion-item-option_3.entry.js +6 -6
  220. package/dist/esm/ion-item_8.entry.js +14 -14
  221. package/dist/esm/ion-loading.entry.js +5 -5
  222. package/dist/esm/ion-menu_3.entry.js +10 -10
  223. package/dist/esm/ion-modal.entry.js +8 -8
  224. package/dist/esm/ion-nav_2.entry.js +5 -5
  225. package/dist/esm/ion-picker-column-option.entry.js +4 -4
  226. package/dist/esm/ion-picker-column.entry.js +2 -2
  227. package/dist/esm/ion-picker.entry.js +1 -1
  228. package/dist/esm/ion-popover.entry.js +6 -6
  229. package/dist/esm/ion-progress-bar.entry.js +3 -3
  230. package/dist/esm/ion-radio_2.entry.js +6 -6
  231. package/dist/esm/ion-range.entry.js +5 -5
  232. package/dist/esm/ion-refresher_2.entry.js +4 -4
  233. package/dist/esm/ion-reorder_2.entry.js +4 -4
  234. package/dist/esm/ion-ripple-effect.entry.js +3 -3
  235. package/dist/esm/ion-route_4.entry.js +4 -4
  236. package/dist/esm/ion-searchbar.entry.js +6 -6
  237. package/dist/esm/ion-segment-content.entry.js +2 -2
  238. package/dist/esm/ion-segment-view.entry.js +3 -3
  239. package/dist/esm/ion-segment_2.entry.js +6 -6
  240. package/dist/esm/ion-select-modal.entry.js +4 -4
  241. package/dist/esm/ion-select_3.entry.js +7 -7
  242. package/dist/esm/ion-spinner.entry.js +3 -3
  243. package/dist/esm/ion-split-pane.entry.js +4 -4
  244. package/dist/esm/ion-tab-bar_2.entry.js +6 -6
  245. package/dist/esm/ion-tab_2.entry.js +4 -4
  246. package/dist/esm/ion-text.entry.js +4 -4
  247. package/dist/esm/ion-textarea.entry.js +4 -4
  248. package/dist/esm/ion-toast.entry.js +5 -5
  249. package/dist/esm/ion-toggle.entry.js +5 -5
  250. package/dist/esm/{ionic-global-DapnXdYs.js → ionic-global-Dw-MNnQB.js} +1 -1
  251. package/dist/esm/ionic.js +5 -5
  252. package/dist/esm/{ios.transition-DN6Dy4K4.js → ios.transition-Doo_7Vid.js} +2 -2
  253. package/dist/esm/loader.js +5 -5
  254. package/dist/esm/{md.transition-DR8zuFnL.js → md.transition-BbcCfRk9.js} +2 -2
  255. package/dist/esm/{overlays-Blhb_0oI.js → overlays-Pn0MyOv4.js} +1 -1
  256. package/dist/esm/{status-tap-CZEjiztV.js → status-tap-Cn5uETrs.js} +1 -1
  257. package/dist/html.html-data.json +160 -0
  258. package/dist/ionic/index.esm.js +1 -1
  259. package/dist/ionic/ionic.esm.js +1 -1
  260. package/dist/ionic/{p-d9c08f93.entry.js → p-05427be9.entry.js} +1 -1
  261. package/dist/ionic/{p-9a0bde6e.entry.js → p-0bc3d6d0.entry.js} +1 -1
  262. package/dist/ionic/{p-38921e2f.entry.js → p-0bcd3299.entry.js} +1 -1
  263. package/dist/ionic/{p-030daf32.entry.js → p-14d26301.entry.js} +1 -1
  264. package/dist/ionic/p-178084cb.entry.js +4 -0
  265. package/dist/ionic/{p-3edb2346.entry.js → p-1da92348.entry.js} +1 -1
  266. package/dist/ionic/{p-12b44c66.entry.js → p-1e9ea564.entry.js} +1 -1
  267. package/dist/ionic/p-1fe35f29.entry.js +4 -0
  268. package/dist/ionic/{p-f0c5ea4c.entry.js → p-2438054c.entry.js} +1 -1
  269. package/dist/ionic/{p-b2b0f539.entry.js → p-250c972f.entry.js} +1 -1
  270. package/dist/ionic/{p-306eab7a.entry.js → p-2517fcdf.entry.js} +1 -1
  271. package/dist/ionic/{p-61f52724.entry.js → p-29186993.entry.js} +1 -1
  272. package/dist/ionic/{p-89e3b3c6.entry.js → p-2c6931ed.entry.js} +1 -1
  273. package/dist/ionic/{p-112af08b.entry.js → p-2e42fa68.entry.js} +1 -1
  274. package/dist/ionic/{p-EP3pwcdb.js → p-3GtB1kQI.js} +2 -2
  275. package/dist/ionic/{p-e2e4b1f1.entry.js → p-3ca63859.entry.js} +1 -1
  276. package/dist/ionic/{p-bc9feb4b.entry.js → p-3fa87259.entry.js} +1 -1
  277. package/dist/ionic/{p-08232f2d.entry.js → p-43f012a4.entry.js} +1 -1
  278. package/dist/ionic/{p-ff362ebc.entry.js → p-5756b724.entry.js} +1 -1
  279. package/dist/ionic/{p-4a5cf7ac.entry.js → p-592db4a8.entry.js} +1 -1
  280. package/dist/ionic/{p-a9997b1b.entry.js → p-691fa8c7.entry.js} +1 -1
  281. package/dist/ionic/{p-38598652.entry.js → p-6bd192d8.entry.js} +1 -1
  282. package/dist/ionic/{p-d887000e.entry.js → p-7a6c96ca.entry.js} +1 -1
  283. package/dist/ionic/{p-df87cf2d.entry.js → p-832b6c90.entry.js} +1 -1
  284. package/dist/ionic/p-8c496d65.entry.js +4 -0
  285. package/dist/ionic/{p-46c15fe2.entry.js → p-8d7afec5.entry.js} +1 -1
  286. package/dist/ionic/{p-93996b12.entry.js → p-920540c6.entry.js} +1 -1
  287. package/dist/ionic/{p-e471e1e5.entry.js → p-9262223a.entry.js} +1 -1
  288. package/dist/ionic/{p-5fb997f8.entry.js → p-96d912f5.entry.js} +1 -1
  289. package/dist/ionic/{p-49122d48.entry.js → p-98f759e4.entry.js} +1 -1
  290. package/dist/ionic/{p-c19bc276.entry.js → p-99cc16fb.entry.js} +1 -1
  291. package/dist/ionic/{p-46a1ce99.entry.js → p-9c7d7711.entry.js} +1 -1
  292. package/dist/ionic/p-B7Khsp7D.js +4 -0
  293. package/dist/ionic/{p-DCstKNei.js → p-BBMlbfDQ.js} +1 -1
  294. package/dist/ionic/{p-LpklIrOy.js → p-BC2IYr2c.js} +1 -1
  295. package/dist/ionic/{p-Uz6zKimy.js → p-CGyDG2ar.js} +1 -1
  296. package/dist/ionic/p-CO_y91jJ.js +4 -0
  297. package/dist/ionic/{p-DPhSdjFK.js → p-CjUUcfjC.js} +1 -1
  298. package/dist/ionic/{p-Dnc554yu.js → p-CuVupNFU.js} +1 -1
  299. package/dist/ionic/{p-BSMFLyVh.js → p-DYqTiW2v.js} +1 -1
  300. package/dist/ionic/p-DjV8cNim.js +4 -0
  301. package/dist/ionic/{p-484073b5.entry.js → p-a20a15cc.entry.js} +1 -1
  302. package/dist/ionic/{p-5b8abc2f.entry.js → p-a22fe54d.entry.js} +1 -1
  303. package/dist/ionic/p-a6db87e1.entry.js +4 -0
  304. package/dist/ionic/{p-38dcbd40.entry.js → p-b18a4590.entry.js} +1 -1
  305. package/dist/ionic/{p-aeb7297a.entry.js → p-bc84650a.entry.js} +1 -1
  306. package/dist/ionic/p-bf6b00ab.entry.js +4 -0
  307. package/dist/ionic/{p-a26637b1.entry.js → p-c1b0e3b6.entry.js} +1 -1
  308. package/dist/ionic/{p-4119d144.entry.js → p-cde545fa.entry.js} +1 -1
  309. package/dist/ionic/{p-ce26cd7d.entry.js → p-d4742f5c.entry.js} +1 -1
  310. package/dist/ionic/{p-e426331f.entry.js → p-da105dce.entry.js} +1 -1
  311. package/dist/ionic/{p-a4bcf305.entry.js → p-e2d9c488.entry.js} +1 -1
  312. package/dist/ionic/{p-8dda7cd4.entry.js → p-e5495b3b.entry.js} +1 -1
  313. package/dist/ionic/{p-1a19090e.entry.js → p-e83ead65.entry.js} +1 -1
  314. package/dist/ionic/{p-a178af33.entry.js → p-ed36aee8.entry.js} +1 -1
  315. package/dist/ionic/{p-e5e82fa5.entry.js → p-ee504ce4.entry.js} +1 -1
  316. package/dist/ionic/{p-ade7bda6.entry.js → p-eec040ff.entry.js} +1 -1
  317. package/dist/ionic/{p-0434efbb.entry.js → p-f331dda5.entry.js} +1 -1
  318. package/dist/ionic/{p-d77d0b41.entry.js → p-f35cb090.entry.js} +1 -1
  319. package/dist/ionic/{p-99c93730.entry.js → p-fb714eec.entry.js} +1 -1
  320. package/dist/ionic/{p-c3abde95.entry.js → p-fd156864.entry.js} +1 -1
  321. package/dist/ionic/{p-0c2a069d.entry.js → p-ff88b250.entry.js} +1 -1
  322. package/dist/ionic/{p-CgRZM5_E.js → p-wsLGfiE0.js} +1 -1
  323. package/dist/types/components/input-otp/input-otp-interface.d.ts +21 -0
  324. package/dist/types/components/input-otp/input-otp.d.ts +270 -0
  325. package/dist/types/components.d.ts +167 -0
  326. package/dist/types/interface.d.ts +1 -0
  327. package/hydrate/index.js +701 -101
  328. package/hydrate/index.mjs +701 -101
  329. package/package.json +1 -1
  330. package/dist/ionic/p-07a47eb6.entry.js +0 -4
  331. package/dist/ionic/p-46f82b82.entry.js +0 -4
  332. package/dist/ionic/p-5459e444.entry.js +0 -4
  333. package/dist/ionic/p-83fdd9f6.entry.js +0 -4
  334. package/dist/ionic/p-CqNf-A5G.js +0 -4
  335. package/dist/ionic/p-DWFxQD6t.js +0 -4
  336. package/dist/ionic/p-EglNvYQn.js +0 -4
@@ -0,0 +1,270 @@
1
+ import type { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
2
+ import type { Color } from '../../interface';
3
+ import type { InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail } from './input-otp-interface';
4
+ export declare class InputOTP implements ComponentInterface {
5
+ private inputRefs;
6
+ private inputId;
7
+ private parsedSeparators;
8
+ /**
9
+ * Stores the initial value of the input when it receives focus.
10
+ * Used to determine if the value changed during the focus session
11
+ * to avoid emitting unnecessary change events on blur.
12
+ */
13
+ private focusedValue?;
14
+ /**
15
+ * Tracks whether the user is navigating through input boxes using keyboard navigation
16
+ * (arrow keys, tab) versus mouse clicks. This is used to determine the appropriate
17
+ * focus behavior when an input box is focused.
18
+ */
19
+ private isKeyboardNavigation;
20
+ el: HTMLIonInputOtpElement;
21
+ private inputValues;
22
+ hasFocus: boolean;
23
+ /**
24
+ * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
25
+ * Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
26
+ */
27
+ autocapitalize: string;
28
+ /**
29
+ * The color to use from your application's color palette.
30
+ * Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
31
+ * For more information on colors, see [theming](/docs/theming/basics).
32
+ */
33
+ color?: Color;
34
+ /**
35
+ * If `true`, the user cannot interact with the input.
36
+ */
37
+ disabled: boolean;
38
+ /**
39
+ * The fill for the input boxes. If `"solid"` the input boxes will have a background. If
40
+ * `"outline"` the input boxes will be transparent with a border.
41
+ */
42
+ fill?: 'outline' | 'solid';
43
+ /**
44
+ * A hint to the browser for which keyboard to display.
45
+ * Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
46
+ * `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
47
+ *
48
+ * For numbers (type="number"): "numeric"
49
+ * For text (type="text"): "text"
50
+ */
51
+ inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
52
+ /**
53
+ * The number of input boxes to display.
54
+ */
55
+ length: number;
56
+ /**
57
+ * A regex pattern string for allowed characters. Defaults based on type.
58
+ *
59
+ * For numbers (type="number"): "[0-9]"
60
+ * For text (type="text"): "[a-zA-Z0-9]"
61
+ */
62
+ pattern?: string;
63
+ /**
64
+ * If `true`, the user cannot modify the value.
65
+ */
66
+ readonly: boolean;
67
+ /**
68
+ * The size of the input boxes.
69
+ */
70
+ size: 'small' | 'medium' | 'large';
71
+ /**
72
+ * Where separators should be shown between input boxes.
73
+ * Can be a comma-separated string or an array of numbers.
74
+ *
75
+ * For example:
76
+ * `"3"` will show a separator after the 3rd input box.
77
+ * `[1,4]` will show a separator after the 1st and 4th input boxes.
78
+ * `"all"` will show a separator between every input box.
79
+ */
80
+ separators?: 'all' | string | number[];
81
+ /**
82
+ * The shape of the input boxes.
83
+ * If "round" they will have an increased border radius.
84
+ * If "rectangular" they will have no border radius.
85
+ * If "soft" they will have a soft border radius.
86
+ */
87
+ shape: 'round' | 'rectangular' | 'soft';
88
+ /**
89
+ * The type of input allowed in the input boxes.
90
+ */
91
+ type: 'text' | 'number';
92
+ /**
93
+ * The value of the input group.
94
+ */
95
+ value?: string | number | null;
96
+ /**
97
+ * The `ionInput` event is fired each time the user modifies the input's value.
98
+ * Unlike the `ionChange` event, the `ionInput` event is fired for each alteration
99
+ * to the input's value. This typically happens for each keystroke as the user types.
100
+ *
101
+ * For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
102
+ * is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
103
+ * the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
104
+ * the input is cleared on edit, the type is `null`.
105
+ */
106
+ ionInput: EventEmitter<InputOtpInputEventDetail>;
107
+ /**
108
+ * The `ionChange` event is fired when the user modifies the input's value.
109
+ * Unlike the `ionInput` event, the `ionChange` event is only fired when changes
110
+ * are committed, not as the user types.
111
+ *
112
+ * The `ionChange` event fires when the `<ion-input-otp>` component loses
113
+ * focus after its value has changed.
114
+ *
115
+ * This event will not emit when programmatically setting the `value` property.
116
+ */
117
+ ionChange: EventEmitter<InputOtpChangeEventDetail>;
118
+ /**
119
+ * Emitted when all input boxes have been filled with valid values.
120
+ */
121
+ ionComplete: EventEmitter<InputOtpCompleteEventDetail>;
122
+ /**
123
+ * Emitted when the input group loses focus.
124
+ */
125
+ ionBlur: EventEmitter<FocusEvent>;
126
+ /**
127
+ * Emitted when the input group has focus.
128
+ */
129
+ ionFocus: EventEmitter<FocusEvent>;
130
+ valueChanged(): void;
131
+ /**
132
+ * Processes the separators prop into an array of numbers.
133
+ *
134
+ * If the separators prop is not provided, returns an empty array.
135
+ * If the separators prop is 'all', returns an array of all valid positions (1 to length-1).
136
+ * If the separators prop is an array, returns it as is.
137
+ * If the separators prop is a string, splits it by commas and parses each part as a number.
138
+ *
139
+ * If the separators are greater than the input length, it will warn and ignore the separators.
140
+ */
141
+ private processSeparators;
142
+ componentWillLoad(): void;
143
+ /**
144
+ * Initializes the input values array based on the current value prop.
145
+ * This splits the value into individual characters and validates them against
146
+ * the allowed pattern. The values are then used as the values in the native
147
+ * input boxes and the value of the input group is updated.
148
+ */
149
+ private initializeValues;
150
+ /**
151
+ * Resets the input values and focus state.
152
+ */
153
+ reset(): Promise<void>;
154
+ /**
155
+ * Sets focus to an input box.
156
+ * @param index - The index of the input box to focus (0-based).
157
+ * If provided and the input box has a value, the input box at that index will be focused.
158
+ * Otherwise, the first empty input box or the last input if all are filled will be focused.
159
+ */
160
+ setFocus(index?: number): Promise<void>;
161
+ /**
162
+ * Get the regex pattern for allowed characters.
163
+ * If a pattern is provided, use it to create a regex pattern
164
+ * Otherwise, use the default regex pattern based on type
165
+ */
166
+ private get validKeys();
167
+ /**
168
+ * Gets the string pattern to pass to the input element
169
+ * and use in the regex for allowed characters.
170
+ */
171
+ private getPattern;
172
+ /**
173
+ * Get the default value for inputmode.
174
+ * If inputmode is provided, use it.
175
+ * Otherwise, use the default inputmode based on type
176
+ */
177
+ private getInputmode;
178
+ /**
179
+ * Updates the value of the input group.
180
+ * This updates the value of the input group and emits an `ionChange` event.
181
+ * If all of the input boxes are filled, it emits an `ionComplete` event.
182
+ */
183
+ private updateValue;
184
+ /**
185
+ * Emits an `ionChange` event.
186
+ * This API should be called for user committed changes.
187
+ * This API should not be used for external value changes.
188
+ */
189
+ private emitIonChange;
190
+ /**
191
+ * Emits an `ionInput` event.
192
+ * This is used to emit the input value when the user types,
193
+ * backspaces, or pastes.
194
+ */
195
+ private emitIonInput;
196
+ private onInput;
197
+ /**
198
+ * Handles keyboard navigation and input for the OTP component.
199
+ *
200
+ * Navigation:
201
+ * - Backspace: Clears current input and moves to previous box if empty
202
+ * - Arrow Left/Right: Moves focus between input boxes
203
+ * - Tab: Allows normal tab navigation between components
204
+ *
205
+ * Input Behavior:
206
+ * - Validates input against the allowed pattern
207
+ * - When entering a key in a filled box:
208
+ * - Shifts existing values right if there is room
209
+ * - Updates the value of the input group
210
+ * - Prevents default behavior to avoid automatic focus shift
211
+ */
212
+ private onKeyDown;
213
+ /**
214
+ * Handles pasting text into the input OTP component.
215
+ * This function prevents the default paste behavior and
216
+ * validates the pasted text against the allowed pattern.
217
+ * It then updates the value of the input group and focuses
218
+ * the next empty input after pasting.
219
+ */
220
+ private onPaste;
221
+ /**
222
+ * Focuses the next input box.
223
+ */
224
+ private focusNext;
225
+ /**
226
+ * Focuses the previous input box.
227
+ */
228
+ private focusPrevious;
229
+ /**
230
+ * Determines if a separator should be shown for a given index by
231
+ * checking if the index is included in the parsed separators array.
232
+ */
233
+ private showSeparator;
234
+ /**
235
+ * Handles the focus behavior for the input OTP component.
236
+ *
237
+ * Focus behavior:
238
+ * 1. Keyboard navigation: Allow normal focus movement
239
+ * 2. Mouse click:
240
+ * - If clicked box has value: Focus that box
241
+ * - If clicked box is empty: Focus first empty box
242
+ *
243
+ * Emits the `ionFocus` event when the input group gains focus.
244
+ */
245
+ private onFocus;
246
+ /**
247
+ * Handles the blur behavior for the input OTP component.
248
+ * Emits the `ionBlur` event when the input group loses focus.
249
+ */
250
+ private onBlur;
251
+ /**
252
+ * Updates the tabIndexes for the input boxes.
253
+ * This is used to ensure that the correct input is
254
+ * focused when the user navigates using the tab key.
255
+ */
256
+ private updateTabIndexes;
257
+ /**
258
+ * Loops through the input values and returns the index
259
+ * of the first empty input.
260
+ * Returns -1 if all inputs are filled.
261
+ */
262
+ private getFirstEmptyIndex;
263
+ /**
264
+ * Returns the index of the input that should be tabbed to.
265
+ * If all inputs are filled, returns the last input's index.
266
+ * Otherwise, returns the index of the first empty input.
267
+ */
268
+ private getTabbableIndex;
269
+ render(): any;
270
+ }
@@ -18,6 +18,7 @@ import { ScrollBaseDetail, ScrollDetail } from "./components/content/content-int
18
18
  import { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, FormatOptions, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
19
19
  import { SpinnerTypes } from "./components/spinner/spinner-configs";
20
20
  import { InputChangeEventDetail, InputInputEventDetail } from "./components/input/input-interface";
21
+ import { InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail } from "./components/input-otp/input-otp-interface";
21
22
  import { MenuChangeEventDetail, MenuCloseEventDetail, MenuType, Side } from "./components/menu/menu-interface";
22
23
  import { ModalBreakpointChangeEventDetail, ModalHandleBehavior } from "./components/modal/modal-interface";
23
24
  import { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, SwipeGestureHandler, TransitionDoneFn, TransitionInstruction } from "./components/nav/nav-interface";
@@ -55,6 +56,7 @@ export { ScrollBaseDetail, ScrollDetail } from "./components/content/content-int
55
56
  export { DatetimeChangeEventDetail, DatetimeHighlight, DatetimeHighlightCallback, DatetimeHourCycle, DatetimePresentation, FormatOptions, TitleSelectedDatesFormatter } from "./components/datetime/datetime-interface";
56
57
  export { SpinnerTypes } from "./components/spinner/spinner-configs";
57
58
  export { InputChangeEventDetail, InputInputEventDetail } from "./components/input/input-interface";
59
+ export { InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail } from "./components/input-otp/input-otp-interface";
58
60
  export { MenuChangeEventDetail, MenuCloseEventDetail, MenuType, Side } from "./components/menu/menu-interface";
59
61
  export { ModalBreakpointChangeEventDetail, ModalHandleBehavior } from "./components/modal/modal-interface";
60
62
  export { NavComponent, NavComponentWithProps, NavOptions, RouterOutletOptions, SwipeGestureHandler, TransitionDoneFn, TransitionInstruction } from "./components/nav/nav-interface";
@@ -1319,6 +1321,69 @@ export namespace Components {
1319
1321
  */
1320
1322
  "value"?: string | number | null;
1321
1323
  }
1324
+ interface IonInputOtp {
1325
+ /**
1326
+ * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
1327
+ */
1328
+ "autocapitalize": string;
1329
+ /**
1330
+ * The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
1331
+ */
1332
+ "color"?: Color;
1333
+ /**
1334
+ * If `true`, the user cannot interact with the input.
1335
+ */
1336
+ "disabled": boolean;
1337
+ /**
1338
+ * The fill for the input boxes. If `"solid"` the input boxes will have a background. If `"outline"` the input boxes will be transparent with a border.
1339
+ */
1340
+ "fill"?: 'outline' | 'solid';
1341
+ /**
1342
+ * A hint to the browser for which keyboard to display. Possible values: `"none"`, `"text"`, `"tel"`, `"url"`, `"email"`, `"numeric"`, `"decimal"`, and `"search"`. For numbers (type="number"): "numeric" For text (type="text"): "text"
1343
+ */
1344
+ "inputmode"?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
1345
+ /**
1346
+ * The number of input boxes to display.
1347
+ */
1348
+ "length": number;
1349
+ /**
1350
+ * A regex pattern string for allowed characters. Defaults based on type. For numbers (type="number"): "[0-9]" For text (type="text"): "[a-zA-Z0-9]"
1351
+ */
1352
+ "pattern"?: string;
1353
+ /**
1354
+ * If `true`, the user cannot modify the value.
1355
+ */
1356
+ "readonly": boolean;
1357
+ /**
1358
+ * Resets the input values and focus state.
1359
+ */
1360
+ "reset": () => Promise<void>;
1361
+ /**
1362
+ * Where separators should be shown between input boxes. Can be a comma-separated string or an array of numbers. For example: `"3"` will show a separator after the 3rd input box. `[1,4]` will show a separator after the 1st and 4th input boxes. `"all"` will show a separator between every input box.
1363
+ */
1364
+ "separators"?: 'all' | string | number[];
1365
+ /**
1366
+ * Sets focus to an input box.
1367
+ * @param index - The index of the input box to focus (0-based). If provided and the input box has a value, the input box at that index will be focused. Otherwise, the first empty input box or the last input if all are filled will be focused.
1368
+ */
1369
+ "setFocus": (index?: number) => Promise<void>;
1370
+ /**
1371
+ * The shape of the input boxes. If "round" they will have an increased border radius. If "rectangular" they will have no border radius. If "soft" they will have a soft border radius.
1372
+ */
1373
+ "shape": 'round' | 'rectangular' | 'soft';
1374
+ /**
1375
+ * The size of the input boxes.
1376
+ */
1377
+ "size": 'small' | 'medium' | 'large';
1378
+ /**
1379
+ * The type of input allowed in the input boxes.
1380
+ */
1381
+ "type": 'text' | 'number';
1382
+ /**
1383
+ * The value of the input group.
1384
+ */
1385
+ "value"?: string | number | null;
1386
+ }
1322
1387
  interface IonInputPasswordToggle {
1323
1388
  /**
1324
1389
  * The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
@@ -3404,6 +3469,10 @@ export interface IonInputCustomEvent<T> extends CustomEvent<T> {
3404
3469
  detail: T;
3405
3470
  target: HTMLIonInputElement;
3406
3471
  }
3472
+ export interface IonInputOtpCustomEvent<T> extends CustomEvent<T> {
3473
+ detail: T;
3474
+ target: HTMLIonInputOtpElement;
3475
+ }
3407
3476
  export interface IonItemOptionsCustomEvent<T> extends CustomEvent<T> {
3408
3477
  detail: T;
3409
3478
  target: HTMLIonItemOptionsElement;
@@ -3933,6 +4002,27 @@ declare global {
3933
4002
  prototype: HTMLIonInputElement;
3934
4003
  new (): HTMLIonInputElement;
3935
4004
  };
4005
+ interface HTMLIonInputOtpElementEventMap {
4006
+ "ionInput": InputOtpInputEventDetail;
4007
+ "ionChange": InputOtpChangeEventDetail;
4008
+ "ionComplete": InputOtpCompleteEventDetail;
4009
+ "ionBlur": FocusEvent;
4010
+ "ionFocus": FocusEvent;
4011
+ }
4012
+ interface HTMLIonInputOtpElement extends Components.IonInputOtp, HTMLStencilElement {
4013
+ addEventListener<K extends keyof HTMLIonInputOtpElementEventMap>(type: K, listener: (this: HTMLIonInputOtpElement, ev: IonInputOtpCustomEvent<HTMLIonInputOtpElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4014
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4015
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4016
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4017
+ removeEventListener<K extends keyof HTMLIonInputOtpElementEventMap>(type: K, listener: (this: HTMLIonInputOtpElement, ev: IonInputOtpCustomEvent<HTMLIonInputOtpElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4018
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4019
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4020
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4021
+ }
4022
+ var HTMLIonInputOtpElement: {
4023
+ prototype: HTMLIonInputOtpElement;
4024
+ new (): HTMLIonInputOtpElement;
4025
+ };
3936
4026
  interface HTMLIonInputPasswordToggleElement extends Components.IonInputPasswordToggle, HTMLStencilElement {
3937
4027
  }
3938
4028
  var HTMLIonInputPasswordToggleElement: {
@@ -4792,6 +4882,7 @@ declare global {
4792
4882
  "ion-infinite-scroll": HTMLIonInfiniteScrollElement;
4793
4883
  "ion-infinite-scroll-content": HTMLIonInfiniteScrollContentElement;
4794
4884
  "ion-input": HTMLIonInputElement;
4885
+ "ion-input-otp": HTMLIonInputOtpElement;
4795
4886
  "ion-input-password-toggle": HTMLIonInputPasswordToggleElement;
4796
4887
  "ion-item": HTMLIonItemElement;
4797
4888
  "ion-item-divider": HTMLIonItemDividerElement;
@@ -6149,6 +6240,80 @@ declare namespace LocalJSX {
6149
6240
  */
6150
6241
  "value"?: string | number | null;
6151
6242
  }
6243
+ interface IonInputOtp {
6244
+ /**
6245
+ * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
6246
+ */
6247
+ "autocapitalize"?: string;
6248
+ /**
6249
+ * The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
6250
+ */
6251
+ "color"?: Color;
6252
+ /**
6253
+ * If `true`, the user cannot interact with the input.
6254
+ */
6255
+ "disabled"?: boolean;
6256
+ /**
6257
+ * The fill for the input boxes. If `"solid"` the input boxes will have a background. If `"outline"` the input boxes will be transparent with a border.
6258
+ */
6259
+ "fill"?: 'outline' | 'solid';
6260
+ /**
6261
+ * A hint to the browser for which keyboard to display. Possible values: `"none"`, `"text"`, `"tel"`, `"url"`, `"email"`, `"numeric"`, `"decimal"`, and `"search"`. For numbers (type="number"): "numeric" For text (type="text"): "text"
6262
+ */
6263
+ "inputmode"?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
6264
+ /**
6265
+ * The number of input boxes to display.
6266
+ */
6267
+ "length"?: number;
6268
+ /**
6269
+ * Emitted when the input group loses focus.
6270
+ */
6271
+ "onIonBlur"?: (event: IonInputOtpCustomEvent<FocusEvent>) => void;
6272
+ /**
6273
+ * The `ionChange` event is fired when the user modifies the input's value. Unlike the `ionInput` event, the `ionChange` event is only fired when changes are committed, not as the user types. The `ionChange` event fires when the `<ion-input-otp>` component loses focus after its value has changed. This event will not emit when programmatically setting the `value` property.
6274
+ */
6275
+ "onIonChange"?: (event: IonInputOtpCustomEvent<InputOtpChangeEventDetail>) => void;
6276
+ /**
6277
+ * Emitted when all input boxes have been filled with valid values.
6278
+ */
6279
+ "onIonComplete"?: (event: IonInputOtpCustomEvent<InputOtpCompleteEventDetail>) => void;
6280
+ /**
6281
+ * Emitted when the input group has focus.
6282
+ */
6283
+ "onIonFocus"?: (event: IonInputOtpCustomEvent<FocusEvent>) => void;
6284
+ /**
6285
+ * The `ionInput` event is fired each time the user modifies the input's value. Unlike the `ionChange` event, the `ionInput` event is fired for each alteration to the input's value. This typically happens for each keystroke as the user types. For elements that accept text input (`type=text`, `type=tel`, etc.), the interface is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others, the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If the input is cleared on edit, the type is `null`.
6286
+ */
6287
+ "onIonInput"?: (event: IonInputOtpCustomEvent<InputOtpInputEventDetail>) => void;
6288
+ /**
6289
+ * A regex pattern string for allowed characters. Defaults based on type. For numbers (type="number"): "[0-9]" For text (type="text"): "[a-zA-Z0-9]"
6290
+ */
6291
+ "pattern"?: string;
6292
+ /**
6293
+ * If `true`, the user cannot modify the value.
6294
+ */
6295
+ "readonly"?: boolean;
6296
+ /**
6297
+ * Where separators should be shown between input boxes. Can be a comma-separated string or an array of numbers. For example: `"3"` will show a separator after the 3rd input box. `[1,4]` will show a separator after the 1st and 4th input boxes. `"all"` will show a separator between every input box.
6298
+ */
6299
+ "separators"?: 'all' | string | number[];
6300
+ /**
6301
+ * The shape of the input boxes. If "round" they will have an increased border radius. If "rectangular" they will have no border radius. If "soft" they will have a soft border radius.
6302
+ */
6303
+ "shape"?: 'round' | 'rectangular' | 'soft';
6304
+ /**
6305
+ * The size of the input boxes.
6306
+ */
6307
+ "size"?: 'small' | 'medium' | 'large';
6308
+ /**
6309
+ * The type of input allowed in the input boxes.
6310
+ */
6311
+ "type"?: 'text' | 'number';
6312
+ /**
6313
+ * The value of the input group.
6314
+ */
6315
+ "value"?: string | number | null;
6316
+ }
6152
6317
  interface IonInputPasswordToggle {
6153
6318
  /**
6154
6319
  * The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics).
@@ -8167,6 +8332,7 @@ declare namespace LocalJSX {
8167
8332
  "ion-infinite-scroll": IonInfiniteScroll;
8168
8333
  "ion-infinite-scroll-content": IonInfiniteScrollContent;
8169
8334
  "ion-input": IonInput;
8335
+ "ion-input-otp": IonInputOtp;
8170
8336
  "ion-input-password-toggle": IonInputPasswordToggle;
8171
8337
  "ion-item": IonItem;
8172
8338
  "ion-item-divider": IonItemDivider;
@@ -8269,6 +8435,7 @@ declare module "@stencil/core" {
8269
8435
  "ion-infinite-scroll": LocalJSX.IonInfiniteScroll & JSXBase.HTMLAttributes<HTMLIonInfiniteScrollElement>;
8270
8436
  "ion-infinite-scroll-content": LocalJSX.IonInfiniteScrollContent & JSXBase.HTMLAttributes<HTMLIonInfiniteScrollContentElement>;
8271
8437
  "ion-input": LocalJSX.IonInput & JSXBase.HTMLAttributes<HTMLIonInputElement>;
8438
+ "ion-input-otp": LocalJSX.IonInputOtp & JSXBase.HTMLAttributes<HTMLIonInputOtpElement>;
8272
8439
  "ion-input-password-toggle": LocalJSX.IonInputPasswordToggle & JSXBase.HTMLAttributes<HTMLIonInputPasswordToggleElement>;
8273
8440
  "ion-item": LocalJSX.IonItem & JSXBase.HTMLAttributes<HTMLIonItemElement>;
8274
8441
  "ion-item-divider": LocalJSX.IonItemDivider & JSXBase.HTMLAttributes<HTMLIonItemDividerElement>;
@@ -12,6 +12,7 @@ export { CheckboxCustomEvent } from './components/checkbox/checkbox-interface';
12
12
  export { DatetimeCustomEvent, DatetimeHighlightStyle } from './components/datetime/datetime-interface';
13
13
  export { InfiniteScrollCustomEvent } from './components/infinite-scroll/infinite-scroll-interface';
14
14
  export { InputCustomEvent } from './components/input/input-interface';
15
+ export { InputOtpCustomEvent } from './components/input-otp/input-otp-interface';
15
16
  export { CounterFormatter } from './components/item/item-interface';
16
17
  export { ItemSlidingCustomEvent } from './components/item-sliding/item-sliding-interface';
17
18
  export { LoadingOptions } from './components/loading/loading-interface';