@ionic/core 8.8.9-dev.11781024903.1e4268e5 → 8.8.9-dev.11781201980.1b6e8398

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 (366) hide show
  1. package/components/index.js +1 -1
  2. package/components/ion-action-sheet.js +1 -1
  3. package/components/ion-alert.js +1 -1
  4. package/components/ion-back-button.js +1 -1
  5. package/components/ion-button.js +1 -1
  6. package/components/ion-card.js +1 -1
  7. package/components/ion-chip.js +1 -1
  8. package/components/ion-datetime-button.js +1 -1
  9. package/components/ion-datetime.js +1 -1
  10. package/components/ion-fab-button.js +1 -1
  11. package/components/ion-gallery-item.d.ts +11 -0
  12. package/components/ion-gallery-item.js +4 -0
  13. package/components/ion-gallery.js +1 -1
  14. package/components/ion-grid.js +1 -1
  15. package/components/ion-header.js +1 -1
  16. package/components/ion-img.js +1 -1
  17. package/components/ion-infinite-scroll-content.js +1 -1
  18. package/components/ion-infinite-scroll.js +1 -1
  19. package/components/ion-input-otp.js +1 -1
  20. package/components/ion-input-password-toggle.js +1 -1
  21. package/components/ion-input.js +1 -1
  22. package/components/ion-item-divider.js +1 -1
  23. package/components/ion-item-group.js +1 -1
  24. package/components/ion-item-option.js +1 -1
  25. package/components/ion-item-options.js +1 -1
  26. package/components/ion-item-sliding.js +1 -1
  27. package/components/ion-item.js +1 -1
  28. package/components/ion-label.js +1 -1
  29. package/components/ion-list-header.js +1 -1
  30. package/components/ion-list.js +1 -1
  31. package/components/ion-loading.js +1 -1
  32. package/components/ion-menu-button.js +1 -1
  33. package/components/ion-menu-toggle.js +1 -1
  34. package/components/ion-menu.js +1 -1
  35. package/components/ion-modal.js +1 -1
  36. package/components/ion-nav-link.js +1 -1
  37. package/components/ion-nav.js +1 -1
  38. package/components/ion-note.js +1 -1
  39. package/components/ion-picker-column-option.js +1 -1
  40. package/components/ion-picker-legacy-column.js +1 -1
  41. package/components/ion-picker-legacy.js +1 -1
  42. package/components/ion-popover.js +1 -1
  43. package/components/ion-progress-bar.js +1 -1
  44. package/components/ion-radio-group.js +1 -1
  45. package/components/ion-radio.js +1 -1
  46. package/components/ion-range.js +1 -1
  47. package/components/ion-refresher-content.js +1 -1
  48. package/components/ion-refresher.js +1 -1
  49. package/components/ion-reorder-group.js +1 -1
  50. package/components/ion-reorder.js +1 -1
  51. package/components/ion-ripple-effect.js +1 -1
  52. package/components/ion-router-link.js +1 -1
  53. package/components/ion-router-outlet.js +1 -1
  54. package/components/ion-row.js +1 -1
  55. package/components/ion-searchbar.js +1 -1
  56. package/components/ion-segment-button.js +1 -1
  57. package/components/ion-segment-content.js +1 -1
  58. package/components/ion-segment-view.js +1 -1
  59. package/components/ion-segment.js +1 -1
  60. package/components/ion-select-modal.js +1 -1
  61. package/components/ion-select-option.js +1 -1
  62. package/components/ion-select-popover.js +1 -1
  63. package/components/ion-select.js +1 -1
  64. package/components/ion-skeleton-text.js +1 -1
  65. package/components/ion-spinner.js +1 -1
  66. package/components/ion-split-pane.js +1 -1
  67. package/components/ion-tab-bar.js +1 -1
  68. package/components/ion-tab-button.js +1 -1
  69. package/components/ion-tab.js +1 -1
  70. package/components/ion-tabs.js +1 -1
  71. package/components/ion-text.js +1 -1
  72. package/components/ion-textarea.js +1 -1
  73. package/components/ion-thumbnail.js +1 -1
  74. package/components/ion-title.js +1 -1
  75. package/components/ion-toast.js +1 -1
  76. package/components/ion-toggle.js +1 -1
  77. package/components/ion-toolbar.js +1 -1
  78. package/components/p-BFZBl0TS.js +4 -0
  79. package/components/{p-pvh0bjpw.js → p-BVi3gqm6.js} +1 -1
  80. package/components/{p-D6g8ud1e.js → p-BVk7LVs0.js} +1 -1
  81. package/components/{p-B9MABkWm.js → p-BdUtZxku.js} +1 -1
  82. package/components/{p-CzC_ZSgb.js → p-Be8tHurp.js} +1 -1
  83. package/components/p-C0U8YqYW.js +4 -0
  84. package/components/{p-C8kBejTT.js → p-CG3ZV6ON.js} +1 -1
  85. package/components/{p-CBS0sBAa.js → p-CaqTORfV.js} +1 -1
  86. package/components/{p-D2mReIu8.js → p-CkA0SI9d.js} +1 -1
  87. package/components/p-Cmql_g3_.js +4 -0
  88. package/components/p-CsakePQg.js +4 -0
  89. package/components/{p-CgSn4J7d.js → p-D1gEOh9B.js} +1 -1
  90. package/components/p-D3qBmaqi.js +4 -0
  91. package/components/{p-Do7NMUwR.js → p-DGn-jQpr.js} +1 -1
  92. package/components/p-DH4JHV73.js +4 -0
  93. package/components/p-DYK0qX7x.js +4 -0
  94. package/components/{p-Dp2x0MpA.js → p-DfV7pOtM.js} +1 -1
  95. package/components/{p-BhkGOA7t.js → p-F3N54OKJ.js} +1 -1
  96. package/components/{p-CgZLVOCc.js → p-MPREydZp.js} +1 -1
  97. package/components/{p-kKYBfhbe.js → p-OFfrVDLw.js} +1 -1
  98. package/components/p-iZO3WzZT.js +4 -0
  99. package/components/{p-LB-QPk3e.js → p-qclL-gNR.js} +1 -1
  100. package/dist/cjs/index-BJlwOs11.js +171 -0
  101. package/dist/cjs/index.cjs.js +1 -1
  102. package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
  103. package/dist/cjs/ion-alert.cjs.entry.js +9 -25
  104. package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
  105. package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
  106. package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
  107. package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
  108. package/dist/cjs/ion-gallery-item.cjs.entry.js +60 -0
  109. package/dist/cjs/ion-gallery.cjs.entry.js +91 -13
  110. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  111. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
  112. package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
  113. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
  114. package/dist/cjs/ion-input.cjs.entry.js +4 -4
  115. package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
  116. package/dist/cjs/ion-item_8.cjs.entry.js +16 -15
  117. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  118. package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
  119. package/dist/cjs/ion-modal.cjs.entry.js +4 -4
  120. package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
  121. package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
  122. package/dist/cjs/ion-popover.cjs.entry.js +2 -2
  123. package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
  124. package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
  125. package/dist/cjs/ion-range.cjs.entry.js +3 -3
  126. package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
  127. package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
  128. package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
  129. package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
  130. package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
  131. package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
  132. package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
  133. package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
  134. package/dist/cjs/ion-select-modal.cjs.entry.js +10 -30
  135. package/dist/cjs/ion-select_3.cjs.entry.js +43 -102
  136. package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
  137. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  138. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  139. package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
  140. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  141. package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
  142. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  143. package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
  144. package/dist/cjs/ionic.cjs.js +1 -1
  145. package/dist/cjs/loader.cjs.js +1 -1
  146. package/dist/cjs/select-option-render-C7klBX2H.js +81 -0
  147. package/dist/collection/collection-manifest.json +2 -1
  148. package/dist/collection/components/action-sheet/action-sheet.ionic.css +506 -163
  149. package/dist/collection/components/action-sheet/action-sheet.ios.css +27 -288
  150. package/dist/collection/components/action-sheet/action-sheet.md.css +27 -228
  151. package/dist/collection/components/alert/alert.ionic.css +797 -416
  152. package/dist/collection/components/alert/alert.ios.css +40 -402
  153. package/dist/collection/components/alert/alert.js +4 -20
  154. package/dist/collection/components/alert/alert.md.css +50 -385
  155. package/dist/collection/components/gallery/gallery.css +1 -86
  156. package/dist/collection/components/gallery/gallery.js +92 -13
  157. package/dist/collection/components/gallery/test/utils.js +16 -16
  158. package/dist/collection/components/gallery-item/gallery-item.css +88 -0
  159. package/dist/collection/components/gallery-item/gallery-item.js +100 -0
  160. package/dist/collection/components/grid/grid.js +2 -2
  161. package/dist/collection/components/header/header.js +2 -2
  162. package/dist/collection/components/img/img.js +2 -2
  163. package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
  164. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
  165. package/dist/collection/components/input/input.js +4 -4
  166. package/dist/collection/components/input-otp/input-otp.js +3 -3
  167. package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
  168. package/dist/collection/components/item/item.ionic.css +17 -5
  169. package/dist/collection/components/item/item.js +3 -2
  170. package/dist/collection/components/item-divider/item-divider.js +2 -2
  171. package/dist/collection/components/item-group/item-group.js +1 -1
  172. package/dist/collection/components/item-option/item-option.js +2 -2
  173. package/dist/collection/components/item-options/item-options.js +1 -1
  174. package/dist/collection/components/item-sliding/item-sliding.js +1 -1
  175. package/dist/collection/components/label/label.js +2 -2
  176. package/dist/collection/components/list/list.js +1 -1
  177. package/dist/collection/components/list-header/list-header.js +2 -2
  178. package/dist/collection/components/loading/loading.js +2 -2
  179. package/dist/collection/components/menu/menu.js +2 -2
  180. package/dist/collection/components/menu-button/menu-button.js +2 -2
  181. package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
  182. package/dist/collection/components/modal/modal.js +4 -4
  183. package/dist/collection/components/nav/nav.js +1 -1
  184. package/dist/collection/components/nav-link/nav-link.js +1 -1
  185. package/dist/collection/components/note/note.js +2 -2
  186. package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
  187. package/dist/collection/components/picker-legacy/picker.js +2 -2
  188. package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
  189. package/dist/collection/components/popover/popover.js +2 -2
  190. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  191. package/dist/collection/components/radio/radio.js +3 -3
  192. package/dist/collection/components/radio-group/radio-group.js +2 -2
  193. package/dist/collection/components/range/range.js +3 -3
  194. package/dist/collection/components/refresher/refresher.js +1 -1
  195. package/dist/collection/components/refresher-content/refresher-content.js +2 -2
  196. package/dist/collection/components/reorder/reorder.js +2 -2
  197. package/dist/collection/components/reorder-group/reorder-group.js +1 -1
  198. package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
  199. package/dist/collection/components/router-link/router-link.js +2 -2
  200. package/dist/collection/components/router-outlet/router-outlet.js +1 -1
  201. package/dist/collection/components/row/row.js +2 -2
  202. package/dist/collection/components/searchbar/searchbar.js +4 -4
  203. package/dist/collection/components/segment/segment.js +2 -2
  204. package/dist/collection/components/segment-button/segment-button.js +2 -2
  205. package/dist/collection/components/segment-content/segment-content.js +1 -1
  206. package/dist/collection/components/segment-view/segment-view.js +2 -2
  207. package/dist/collection/components/select/select.js +32 -72
  208. package/dist/collection/components/select-modal/select-modal.ionic.css +29 -139
  209. package/dist/collection/components/select-modal/select-modal.ios.css +7 -379
  210. package/dist/collection/components/select-modal/select-modal.js +5 -25
  211. package/dist/collection/components/select-modal/select-modal.md.css +7 -319
  212. package/dist/collection/components/select-option/select-option.js +1 -39
  213. package/dist/collection/components/select-popover/select-popover.ionic.css +376 -129
  214. package/dist/collection/components/select-popover/select-popover.ios.css +69 -252
  215. package/dist/collection/components/select-popover/select-popover.js +6 -25
  216. package/dist/collection/components/select-popover/select-popover.md.css +27 -273
  217. package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
  218. package/dist/collection/components/spinner/spinner.js +1 -1
  219. package/dist/collection/components/split-pane/split-pane.js +2 -2
  220. package/dist/collection/components/tab/tab.js +2 -2
  221. package/dist/collection/components/tab-bar/tab-bar.js +2 -2
  222. package/dist/collection/components/tab-button/tab-button.js +2 -2
  223. package/dist/collection/components/tabs/tabs.js +1 -1
  224. package/dist/collection/components/text/text.js +2 -2
  225. package/dist/collection/components/textarea/textarea.js +3 -3
  226. package/dist/collection/components/thumbnail/thumbnail.js +2 -2
  227. package/dist/collection/components/title/title.js +2 -2
  228. package/dist/collection/components/toast/toast.js +2 -2
  229. package/dist/collection/components/toggle/toggle.js +3 -3
  230. package/dist/collection/components/toolbar/toolbar.js +2 -2
  231. package/dist/collection/utils/sanitization/index.js +14 -255
  232. package/dist/collection/utils/select-option-render.js +24 -59
  233. package/dist/docs.json +87 -69
  234. package/dist/esm/index-D4ugF_sT.js +168 -0
  235. package/dist/esm/index.js +1 -1
  236. package/dist/esm/ion-action-sheet.entry.js +5 -5
  237. package/dist/esm/ion-alert.entry.js +9 -25
  238. package/dist/esm/ion-app_8.entry.js +7 -7
  239. package/dist/esm/ion-avatar_3.entry.js +2 -2
  240. package/dist/esm/ion-col_3.entry.js +4 -4
  241. package/dist/esm/ion-datetime_3.entry.js +4 -4
  242. package/dist/esm/ion-gallery-item.entry.js +58 -0
  243. package/dist/esm/ion-gallery.entry.js +91 -13
  244. package/dist/esm/ion-img.entry.js +2 -2
  245. package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
  246. package/dist/esm/ion-input-otp.entry.js +3 -3
  247. package/dist/esm/ion-input-password-toggle.entry.js +3 -3
  248. package/dist/esm/ion-input.entry.js +4 -4
  249. package/dist/esm/ion-item-option_3.entry.js +4 -4
  250. package/dist/esm/ion-item_8.entry.js +16 -15
  251. package/dist/esm/ion-loading.entry.js +3 -3
  252. package/dist/esm/ion-menu_3.entry.js +6 -6
  253. package/dist/esm/ion-modal.entry.js +4 -4
  254. package/dist/esm/ion-nav_2.entry.js +2 -2
  255. package/dist/esm/ion-picker-column-option.entry.js +2 -2
  256. package/dist/esm/ion-popover.entry.js +2 -2
  257. package/dist/esm/ion-progress-bar.entry.js +1 -1
  258. package/dist/esm/ion-radio_2.entry.js +5 -5
  259. package/dist/esm/ion-range.entry.js +3 -3
  260. package/dist/esm/ion-refresher_2.entry.js +4 -4
  261. package/dist/esm/ion-reorder_2.entry.js +3 -3
  262. package/dist/esm/ion-ripple-effect.entry.js +1 -1
  263. package/dist/esm/ion-route_4.entry.js +2 -2
  264. package/dist/esm/ion-searchbar.entry.js +4 -4
  265. package/dist/esm/ion-segment-content.entry.js +1 -1
  266. package/dist/esm/ion-segment-view.entry.js +2 -2
  267. package/dist/esm/ion-segment_2.entry.js +4 -4
  268. package/dist/esm/ion-select-modal.entry.js +10 -30
  269. package/dist/esm/ion-select_3.entry.js +43 -102
  270. package/dist/esm/ion-spinner.entry.js +1 -1
  271. package/dist/esm/ion-split-pane.entry.js +2 -2
  272. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  273. package/dist/esm/ion-tab_2.entry.js +3 -3
  274. package/dist/esm/ion-text.entry.js +2 -2
  275. package/dist/esm/ion-textarea.entry.js +3 -3
  276. package/dist/esm/ion-toast.entry.js +3 -3
  277. package/dist/esm/ion-toggle.entry.js +3 -3
  278. package/dist/esm/ionic.js +1 -1
  279. package/dist/esm/loader.js +1 -1
  280. package/dist/esm/select-option-render-B2qc5ZP7.js +79 -0
  281. package/dist/html.html-data.json +42 -27
  282. package/dist/ionic/index.esm.js +1 -1
  283. package/dist/ionic/ionic.esm.js +1 -1
  284. package/dist/ionic/{p-f52856cb.entry.js → p-0592c549.entry.js} +1 -1
  285. package/dist/ionic/{p-67c2d349.entry.js → p-0aa510cd.entry.js} +1 -1
  286. package/dist/ionic/{p-9ccfb733.entry.js → p-0cd5fd9d.entry.js} +1 -1
  287. package/dist/ionic/p-0e9d4e11.entry.js +4 -0
  288. package/dist/ionic/{p-497f6391.entry.js → p-11a38333.entry.js} +1 -1
  289. package/dist/ionic/{p-0030507d.entry.js → p-1a009a51.entry.js} +1 -1
  290. package/dist/ionic/{p-7186786e.entry.js → p-23e524f8.entry.js} +1 -1
  291. package/dist/ionic/{p-1439fecb.entry.js → p-2826761a.entry.js} +1 -1
  292. package/dist/ionic/{p-93315d96.entry.js → p-2c4170d8.entry.js} +1 -1
  293. package/dist/ionic/p-2d5a2511.entry.js +4 -0
  294. package/dist/ionic/{p-7f294078.entry.js → p-3706ea52.entry.js} +1 -1
  295. package/dist/ionic/{p-b69add0e.entry.js → p-3e376501.entry.js} +1 -1
  296. package/dist/ionic/{p-c684a3b6.entry.js → p-44597202.entry.js} +1 -1
  297. package/dist/ionic/{p-8458f1b6.entry.js → p-4a27a79a.entry.js} +1 -1
  298. package/dist/ionic/{p-b7235e85.entry.js → p-4f07113d.entry.js} +1 -1
  299. package/dist/ionic/{p-88e7f52a.entry.js → p-52b85650.entry.js} +1 -1
  300. package/dist/ionic/{p-199bffb3.entry.js → p-5a6e0ae1.entry.js} +1 -1
  301. package/dist/ionic/p-6906dca7.entry.js +4 -0
  302. package/dist/ionic/p-75a1ca50.entry.js +4 -0
  303. package/dist/ionic/{p-19a1ff9a.entry.js → p-7b09c19d.entry.js} +1 -1
  304. package/dist/ionic/{p-76c70824.entry.js → p-7b886782.entry.js} +1 -1
  305. package/dist/ionic/p-7da8b262.entry.js +4 -0
  306. package/dist/ionic/{p-89eab395.entry.js → p-82c05be2.entry.js} +1 -1
  307. package/dist/ionic/{p-b653f4c2.entry.js → p-83c0eb9b.entry.js} +1 -1
  308. package/dist/ionic/{p-b4fd91b8.entry.js → p-85ff1314.entry.js} +1 -1
  309. package/dist/ionic/p-88048796.entry.js +4 -0
  310. package/dist/ionic/{p-3f18dfe9.entry.js → p-8eca5ba1.entry.js} +1 -1
  311. package/dist/ionic/p-96f52444.entry.js +4 -0
  312. package/dist/ionic/p-CFjI63GE.js +4 -0
  313. package/dist/ionic/p-CWJdc8f_.js +4 -0
  314. package/dist/ionic/{p-f2f740aa.entry.js → p-a3b047e0.entry.js} +1 -1
  315. package/dist/ionic/{p-40d9e029.entry.js → p-a73caa5e.entry.js} +1 -1
  316. package/dist/ionic/{p-1ad16c09.entry.js → p-b0dfd018.entry.js} +1 -1
  317. package/dist/ionic/{p-a3f9be52.entry.js → p-b6130fe4.entry.js} +1 -1
  318. package/dist/ionic/p-c0558552.entry.js +4 -0
  319. package/dist/ionic/{p-084c2623.entry.js → p-c5f745b4.entry.js} +1 -1
  320. package/dist/ionic/{p-bc3d68ff.entry.js → p-c781241c.entry.js} +1 -1
  321. package/dist/ionic/p-cb154afe.entry.js +4 -0
  322. package/dist/ionic/{p-b847907d.entry.js → p-cde69f38.entry.js} +1 -1
  323. package/dist/ionic/{p-70ee89c9.entry.js → p-d6f0a698.entry.js} +1 -1
  324. package/dist/ionic/{p-dd2981d0.entry.js → p-d9804d04.entry.js} +1 -1
  325. package/dist/ionic/{p-7054a1b9.entry.js → p-e342b205.entry.js} +1 -1
  326. package/dist/ionic/{p-9dfbe98d.entry.js → p-e8916b04.entry.js} +1 -1
  327. package/dist/ionic/{p-dac1d4de.entry.js → p-f10f8f95.entry.js} +1 -1
  328. package/dist/types/components/gallery/gallery.d.ts +41 -8
  329. package/dist/types/components/gallery/test/utils.d.ts +2 -1
  330. package/dist/types/components/gallery-item/gallery-item.d.ts +33 -0
  331. package/dist/types/components/select/select-interface.d.ts +0 -8
  332. package/dist/types/components/select-option/select-option.d.ts +0 -32
  333. package/dist/types/components.d.ts +33 -18
  334. package/dist/types/utils/sanitization/index.d.ts +2 -54
  335. package/dist/types/utils/select-option-render.d.ts +0 -31
  336. package/hydrate/index.js +380 -645
  337. package/hydrate/index.mjs +380 -645
  338. package/package.json +1 -1
  339. package/components/p-BP_TU_4l.js +0 -4
  340. package/components/p-BqTwa6uT.js +0 -4
  341. package/components/p-Bxiu1dAN.js +0 -4
  342. package/components/p-C91NnY87.js +0 -4
  343. package/components/p-CODBQrPj.js +0 -4
  344. package/components/p-GElQZ38c.js +0 -4
  345. package/components/p-WdrzoonY.js +0 -4
  346. package/components/p-h64_gZrH.js +0 -4
  347. package/components/p-sehKq5RI.js +0 -4
  348. package/dist/cjs/index-Dm4Dm7Vg.js +0 -414
  349. package/dist/cjs/overlay-control-label-DnRLQR1t.js +0 -52
  350. package/dist/cjs/select-option-render-DQyZnlF5.js +0 -116
  351. package/dist/collection/utils/overlay-control-label.js +0 -47
  352. package/dist/esm/index-Bmyj8b0z.js +0 -409
  353. package/dist/esm/overlay-control-label-CODBQrPj.js +0 -49
  354. package/dist/esm/select-option-render-QGJ9tZHa.js +0 -114
  355. package/dist/ionic/p-18ed37e3.entry.js +0 -4
  356. package/dist/ionic/p-2049aa81.entry.js +0 -4
  357. package/dist/ionic/p-290778c1.entry.js +0 -4
  358. package/dist/ionic/p-2aa7567e.entry.js +0 -4
  359. package/dist/ionic/p-2e7e3da1.entry.js +0 -4
  360. package/dist/ionic/p-CODBQrPj.js +0 -4
  361. package/dist/ionic/p-CxRK9GyE.js +0 -4
  362. package/dist/ionic/p-NqPMS7BP.js +0 -4
  363. package/dist/ionic/p-c94fbdab.entry.js +0 -4
  364. package/dist/ionic/p-e89848b2.entry.js +0 -4
  365. package/dist/ionic/p-ff09d2a5.entry.js +0 -4
  366. package/dist/types/utils/overlay-control-label.d.ts +0 -34
@@ -1,64 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
- /**
8
- * Convert a font size to a dynamic font size.
9
- * Fonts that participate in Dynamic Type should use
10
- * dynamic font sizes.
11
- * @param size - The initial font size including the unit (i.e. px or pt)
12
- * @param unit (optional) - The unit to convert to. Use this if you want to
13
- * convert to a unit other than $baselineUnit.
14
- */
15
- /**
16
- * Convert a font size to a dynamic font size but impose
17
- * a maximum font size.
18
- * @param size - The initial font size including the unit (i.e. px or pt)
19
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
20
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
21
- * convert to a unit other than $baselineUnit.
22
- */
23
- /**
24
- * Convert a font size to a dynamic font size but impose
25
- * a minimum font size.
26
- * @param size - The initial font size including the unit (i.e. px or pt)
27
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
28
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
29
- * convert to a unit other than $baselineUnit.
30
- */
31
- /**
32
- * Convert a font size to a dynamic font size but impose
33
- * maximum and minimum font sizes.
34
- * @param size - The initial font size including the unit (i.e. px or pt)
35
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
36
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
37
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
38
- * convert to a unit other than $baselineUnit.
39
- */
40
- /**
41
- * A heuristic that applies CSS to tablet
42
- * viewports.
43
- *
44
- * Usage:
45
- * @include tablet-viewport() {
46
- * :host {
47
- * background-color: green;
48
- * }
49
- * }
50
- */
51
- /**
52
- * A heuristic that applies CSS to mobile
53
- * viewports (i.e. phones, not tablets).
54
- *
55
- * Usage:
56
- * @include mobile-viewport() {
57
- * :host {
58
- * background-color: blue;
59
- * }
60
- * }
61
- */
62
1
  /**
63
2
  * A heuristic that applies CSS to tablet
64
3
  * viewports.
@@ -114,264 +53,23 @@
114
53
  * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
115
54
  * convert to a unit other than $baselineUnit.
116
55
  */
117
- .action-sheet-button-label-has-rich-content,
118
- .alert-radio-label-has-rich-content,
119
- .alert-checkbox-label-has-rich-content,
120
- .select-option-label-has-rich-content {
121
- gap: 16px;
122
- }
123
-
124
- .action-sheet-button-label-text,
125
- .alert-checkbox-label-text,
126
- .alert-radio-label-text,
127
- .select-option-label-text {
128
- gap: 12px;
56
+ :host {
57
+ height: 100%;
129
58
  }
130
59
 
131
- .select-option-start,
132
- .select-option-end {
133
- gap: 8px;
60
+ .select-option-label {
61
+ display: flex;
62
+ align-items: center;
134
63
  }
135
64
 
136
65
  .select-option-description {
137
- padding-left: 0;
138
- padding-right: 0;
139
- padding-top: 5px;
140
- padding-bottom: 0;
141
- color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
142
- font-size: 0.75rem;
143
- }
144
-
145
- /**
146
- * Convert a pixels given value into rem
147
- *
148
- * @param pixels - Value in pixels to be converted (i.e. px)
149
- * @param context (optional) - Baseline value
150
- */
151
- /**
152
- * Convert a font size to a dynamic font size.
153
- * Fonts that participate in Dynamic Type should use
154
- * dynamic font sizes.
155
- * @param size - The initial font size including the unit (i.e. px or pt)
156
- * @param unit (optional) - The unit to convert to. Use this if you want to
157
- * convert to a unit other than $baselineUnit.
158
- */
159
- /**
160
- * Convert a font size to a dynamic font size but impose
161
- * a maximum font size.
162
- * @param size - The initial font size including the unit (i.e. px or pt)
163
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
164
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
165
- * convert to a unit other than $baselineUnit.
166
- */
167
- /**
168
- * Convert a font size to a dynamic font size but impose
169
- * a minimum font size.
170
- * @param size - The initial font size including the unit (i.e. px or pt)
171
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
172
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
173
- * convert to a unit other than $baselineUnit.
174
- */
175
- /**
176
- * Convert a font size to a dynamic font size but impose
177
- * maximum and minimum font sizes.
178
- * @param size - The initial font size including the unit (i.e. px or pt)
179
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
180
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
181
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
182
- * convert to a unit other than $baselineUnit.
183
- */
184
- /**
185
- * A heuristic that applies CSS to tablet
186
- * viewports.
187
- *
188
- * Usage:
189
- * @include tablet-viewport() {
190
- * :host {
191
- * background-color: green;
192
- * }
193
- * }
194
- */
195
- /**
196
- * A heuristic that applies CSS to mobile
197
- * viewports (i.e. phones, not tablets).
198
- *
199
- * Usage:
200
- * @include mobile-viewport() {
201
- * :host {
202
- * background-color: blue;
203
- * }
204
- * }
205
- */
206
- /**
207
- * Cap slotted children so they can't stretch the option
208
- * row out of proportion, keeping rows visually uniform
209
- * regardless of the content.
210
- */
211
- .select-option-start > ion-avatar,
212
- .select-option-start > ion-img,
213
- .select-option-start > ion-thumbnail,
214
- .select-option-start > img,
215
- .select-option-start > svg,
216
- .select-option-end > ion-avatar,
217
- .select-option-end > ion-img,
218
- .select-option-end > ion-thumbnail,
219
- .select-option-end > img,
220
- .select-option-end > svg {
221
- width: 44px;
222
- height: 44px;
223
- }
224
-
225
- .select-option-start > ion-icon,
226
- .select-option-end > ion-icon {
227
- width: 28px;
228
- height: 28px;
229
- }
230
-
231
- .action-sheet-button-label-text {
232
- justify-content: center;
233
- }
234
-
235
- .select-option-has-rich-content {
236
- -webkit-padding-end: 16px;
237
- padding-inline-end: 16px;
238
- }
239
-
240
- /**
241
- * A heuristic that applies CSS to tablet
242
- * viewports.
243
- *
244
- * Usage:
245
- * @include tablet-viewport() {
246
- * :host {
247
- * background-color: green;
248
- * }
249
- * }
250
- */
251
- /**
252
- * A heuristic that applies CSS to mobile
253
- * viewports (i.e. phones, not tablets).
254
- *
255
- * Usage:
256
- * @include mobile-viewport() {
257
- * :host {
258
- * background-color: blue;
259
- * }
260
- * }
261
- */
262
- /**
263
- * Convert a font size to a dynamic font size.
264
- * Fonts that participate in Dynamic Type should use
265
- * dynamic font sizes.
266
- * @param size - The initial font size including the unit (i.e. px or pt)
267
- * @param unit (optional) - The unit to convert to. Use this if you want to
268
- * convert to a unit other than $baselineUnit.
269
- */
270
- /**
271
- * Convert a font size to a dynamic font size but impose
272
- * a maximum font size.
273
- * @param size - The initial font size including the unit (i.e. px or pt)
274
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
275
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
276
- * convert to a unit other than $baselineUnit.
277
- */
278
- /**
279
- * Convert a font size to a dynamic font size but impose
280
- * a minimum font size.
281
- * @param size - The initial font size including the unit (i.e. px or pt)
282
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
283
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
284
- * convert to a unit other than $baselineUnit.
285
- */
286
- /**
287
- * Convert a font size to a dynamic font size but impose
288
- * maximum and minimum font sizes.
289
- * @param size - The initial font size including the unit (i.e. px or pt)
290
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
291
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
292
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
293
- * convert to a unit other than $baselineUnit.
294
- */
295
- /**
296
- * Convert a pixels given value into rem
297
- *
298
- * @param pixels - Value in pixels to be converted (i.e. px)
299
- * @param context (optional) - Baseline value
300
- */
301
- /**
302
- * Convert a font size to a dynamic font size.
303
- * Fonts that participate in Dynamic Type should use
304
- * dynamic font sizes.
305
- * @param size - The initial font size including the unit (i.e. px or pt)
306
- * @param unit (optional) - The unit to convert to. Use this if you want to
307
- * convert to a unit other than $baselineUnit.
308
- */
309
- /**
310
- * Convert a font size to a dynamic font size but impose
311
- * a maximum font size.
312
- * @param size - The initial font size including the unit (i.e. px or pt)
313
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
314
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
315
- * convert to a unit other than $baselineUnit.
316
- */
317
- /**
318
- * Convert a font size to a dynamic font size but impose
319
- * a minimum font size.
320
- * @param size - The initial font size including the unit (i.e. px or pt)
321
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
322
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
323
- * convert to a unit other than $baselineUnit.
324
- */
325
- /**
326
- * Convert a font size to a dynamic font size but impose
327
- * maximum and minimum font sizes.
328
- * @param size - The initial font size including the unit (i.e. px or pt)
329
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
330
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
331
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
332
- * convert to a unit other than $baselineUnit.
333
- */
334
- /**
335
- * A heuristic that applies CSS to tablet
336
- * viewports.
337
- *
338
- * Usage:
339
- * @include tablet-viewport() {
340
- * :host {
341
- * background-color: green;
342
- * }
343
- * }
344
- */
345
- /**
346
- * A heuristic that applies CSS to mobile
347
- * viewports (i.e. phones, not tablets).
348
- *
349
- * Usage:
350
- * @include mobile-viewport() {
351
- * :host {
352
- * background-color: blue;
353
- * }
354
- * }
355
- */
356
- .action-sheet-button-label-has-rich-content,
357
- .alert-radio-label-has-rich-content,
358
- .alert-checkbox-label-has-rich-content,
359
- .select-option-label-has-rich-content {
360
- gap: 16px;
66
+ display: block;
361
67
  }
362
68
 
363
- .action-sheet-button-label-text,
364
- .alert-checkbox-label-text,
365
- .alert-radio-label-text,
366
- .select-option-label-text {
69
+ .select-option-label {
367
70
  gap: 12px;
368
71
  }
369
72
 
370
- .select-option-start,
371
- .select-option-end {
372
- gap: 8px;
373
- }
374
-
375
73
  .select-option-description {
376
74
  padding-left: 0;
377
75
  padding-right: 0;
@@ -381,76 +79,6 @@
381
79
  font-size: 0.75rem;
382
80
  }
383
81
 
384
- .action-sheet-button-label-has-rich-content,
385
- .alert-radio-label-has-rich-content,
386
- .alert-checkbox-label-has-rich-content,
387
- .select-option-label-has-rich-content {
388
- display: flex;
389
- align-items: center;
390
- }
391
-
392
- /**
393
- * Outer label container has rich content
394
- * (start, content, description, end) that needs the
395
- * label to span the available row width.
396
- */
397
- .action-sheet-button-label-has-rich-content,
398
- .alert-radio-label-has-rich-content,
399
- .alert-checkbox-label-has-rich-content,
400
- .select-option-content {
401
- flex: 1;
402
- }
403
-
404
- .action-sheet-button-label-text,
405
- .alert-checkbox-label-text,
406
- .alert-radio-label-text,
407
- .select-option-label-text {
408
- display: flex;
409
- align-items: center;
410
- }
411
-
412
- .select-option-start,
413
- .select-option-end {
414
- display: flex;
415
- align-items: center;
416
- }
417
-
418
- .select-option-description {
419
- display: block;
420
- }
421
-
422
- /**
423
- * Non-rich labels are plain text and should ellipsize when they
424
- * overflow the row. Rich-content labels switch to flex so the
425
- * start / content / end pieces can lay out side-by-side and wrap.
426
- */
427
- .select-option-label:not(.select-option-label-has-rich-content) {
428
- text-overflow: ellipsis;
429
- white-space: nowrap;
430
- overflow: hidden;
431
- }
432
-
433
- .select-option-label-has-rich-content {
434
- display: flex;
435
- align-items: center;
436
- }
437
-
438
- ion-radio.select-option-has-rich-content::part(label),
439
- ion-checkbox.select-option-has-rich-content::part(label),
440
- .select-option-content {
441
- flex: 1;
442
- /**
443
- * Let rich content wrap instead of inheriting the label part's
444
- * single-line truncation, so arbitrary slotted elements render
445
- * without clipping.
446
- */
447
- white-space: normal;
448
- }
449
-
450
- :host {
451
- height: 100%;
452
- }
453
-
454
82
  /**
455
83
  * Convert a pixels given value into rem
456
84
  *
@@ -4,7 +4,6 @@
4
4
  import { getIonMode, getIonTheme } from "../../global/ionic-global";
5
5
  import xRegular from "@phosphor-icons/core/assets/regular/x.svg";
6
6
  import { Host, forceUpdate, h } from "@stencil/core";
7
- import { getOverlayLabelJustify, getOverlayLabelPlacement } from "../../utils/overlay-control-label";
8
7
  import { safeCall } from "../../utils/overlays";
9
8
  import { renderOptionLabel } from "../../utils/select-option-render";
10
9
  import { getClassMap, hostContext } from "../../utils/theme";
@@ -82,10 +81,8 @@ export class SelectModal {
82
81
  };
83
82
  }
84
83
  renderRadioOptions() {
85
- const theme = getIonTheme(this);
86
84
  const checked = this.options.filter((o) => o.checked).map((o) => o.value)[0];
87
85
  return (h("ion-radio-group", { value: checked, onIonChange: (ev) => this.callOptionHandler(ev) }, this.options.map((option, index) => {
88
- var _a, _b;
89
86
  /**
90
87
  * Cast to `SelectOverlayOption` to access rich content
91
88
  * fields (`startContent`, `endContent`, `description`)
@@ -93,7 +90,6 @@ export class SelectModal {
93
90
  * part of the public `SelectModalOption` interface.
94
91
  */
95
92
  const richOption = option;
96
- const hasRichContent = !!richOption.startContent || !!richOption.endContent || !!richOption.description;
97
93
  const optionLabelOptions = {
98
94
  id: `modal-option-${index}`,
99
95
  label: richOption.text,
@@ -101,16 +97,10 @@ export class SelectModal {
101
97
  endContent: richOption.endContent,
102
98
  description: richOption.description,
103
99
  };
104
- const defaultLabelPlacement = getOverlayLabelPlacement(theme, 'radio', 'modal');
105
- const defaultJustify = getOverlayLabelJustify(theme, 'radio', 'modal');
106
- return (h("ion-item", { lines: "none",
107
- // TODO FW-4784
108
- disabled: option.disabled, class: Object.assign({
100
+ return (h("ion-item", { lines: "none", class: Object.assign({
109
101
  // TODO FW-4784
110
102
  'item-radio-checked': option.value === checked
111
- }, getClassMap(option.cssClass)) }, h("ion-radio", { class: {
112
- 'select-option-has-rich-content': hasRichContent,
113
- }, value: option.value, disabled: option.disabled, justify: (_a = richOption.justify) !== null && _a !== void 0 ? _a : defaultJustify, labelPlacement: (_b = richOption.labelPlacement) !== null && _b !== void 0 ? _b : defaultLabelPlacement, onClick: () => this.closeModal(), onKeyDown: (ev) => {
103
+ }, getClassMap(option.cssClass)) }, h("ion-radio", { value: option.value, disabled: option.disabled, justify: "start", labelPlacement: "end", onClick: () => this.closeModal(), onKeyDown: (ev) => {
114
104
  if (ev.key === 'Enter' && !ev.repeat) {
115
105
  this.pendingEnterTarget = ev.currentTarget;
116
106
  }
@@ -130,9 +120,7 @@ export class SelectModal {
130
120
  })));
131
121
  }
132
122
  renderCheckboxOptions() {
133
- const theme = getIonTheme(this);
134
123
  return this.options.map((option, index) => {
135
- var _a, _b;
136
124
  /**
137
125
  * Cast to `SelectOverlayOption` to access rich content
138
126
  * fields (`startContent`, `endContent`, `description`)
@@ -140,7 +128,6 @@ export class SelectModal {
140
128
  * part of the public `SelectModalOption` interface.
141
129
  */
142
130
  const richOption = option;
143
- const hasRichContent = !!richOption.startContent || !!richOption.endContent || !!richOption.description;
144
131
  const optionLabelOptions = {
145
132
  id: `modal-option-${index}`,
146
133
  label: richOption.text,
@@ -148,17 +135,10 @@ export class SelectModal {
148
135
  endContent: richOption.endContent,
149
136
  description: richOption.description,
150
137
  };
151
- const defaultLabelPlacement = getOverlayLabelPlacement(theme, 'checkbox', 'modal');
152
- const defaultJustify = getOverlayLabelJustify(theme, 'checkbox', 'modal');
153
- return (h("ion-item", {
154
- // TODO FW-4784
155
- disabled: option.disabled, class: Object.assign({
138
+ return (h("ion-item", { class: Object.assign({
156
139
  // TODO FW-4784
157
140
  'item-checkbox-checked': option.checked
158
- }, getClassMap(option.cssClass))
159
- }, h("ion-checkbox", { class: {
160
- 'select-option-has-rich-content': hasRichContent,
161
- }, value: option.value, disabled: option.disabled, checked: option.checked, justify: (_a = richOption.justify) !== null && _a !== void 0 ? _a : defaultJustify, labelPlacement: (_b = richOption.labelPlacement) !== null && _b !== void 0 ? _b : defaultLabelPlacement, onIonChange: (ev) => {
141
+ }, getClassMap(option.cssClass)) }, h("ion-checkbox", { value: option.value, disabled: option.disabled, checked: option.checked, justify: "start", labelPlacement: "end", onIonChange: (ev) => {
162
142
  this.setChecked(ev);
163
143
  this.callOptionHandler(ev);
164
144
  // TODO FW-4784
@@ -167,7 +147,7 @@ export class SelectModal {
167
147
  });
168
148
  }
169
149
  render() {
170
- return (h(Host, { key: '88a519bd901b0b4f4961a3c22c2be91d2417be09', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: '7f16bda3833cfb38b7d633ae7f847dd5388d35fb' }, h("ion-toolbar", { key: 'ad69adad84d5f8e116ca6e816f18813f8c9703dd' }, this.header !== undefined && h("ion-title", { key: 'f1be9cec44cf65022a3b5e8eb0f1224118683c43' }, this.header), h("ion-buttons", { key: '602e8136fff0a7d6ecc221d10876b08b1cc41d2e', slot: "end" }, h("ion-button", { key: '74df61f0227cb33fc7397f61b1454333c71ce1e4', "aria-label": this.cancelIcon ? this.cancelText : undefined, onClick: () => this.closeModal() }, this.cancelIcon ? (h("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: this.cancelButtonIcon })) : (this.cancelText))))), h("ion-content", { key: '773f80b9a646bbaf4aceb06703503600c16c45d5' }, h("ion-list", { key: '36b68daca59aeac2046cecc493df4ef5fca23588' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
150
+ return (h(Host, { key: '6f1c1c0ad2dad8d4c1defc41a37e9cb4219facef', class: Object.assign({ [getIonMode(this)]: true }, this.getModalContextClasses()) }, h("ion-header", { key: 'e917416fdfb8785511abac755f9cd23e24bc2c70' }, h("ion-toolbar", { key: '7ce8116cdd882958f1c6d0abd9f6ddad60d4232b' }, this.header !== undefined && h("ion-title", { key: 'aa2be148b57b756ca1abdc4b29c26861494e9341' }, this.header), h("ion-buttons", { key: '7a9671f9426a5b9eb0fef1d4b446d2db98332f89', slot: "end" }, h("ion-button", { key: 'c5c1511bed6e3361aa740de9bcab4c7445887518', "aria-label": this.cancelIcon ? this.cancelText : undefined, onClick: () => this.closeModal() }, this.cancelIcon ? (h("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: this.cancelButtonIcon })) : (this.cancelText))))), h("ion-content", { key: 'ddabe1b04a9f65e741935e387c06ee8f749b38e1' }, h("ion-list", { key: 'cb801aecd27444fb7bb9e3bf06e5934dfd1a9606' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
171
151
  }
172
152
  static get is() { return "ion-select-modal"; }
173
153
  static get encapsulation() { return "scoped"; }