@ionic/core 8.3.4-dev.11730232091.1ee1a719 → 8.3.4-dev.11730395663.1a0f4848

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 (1186) hide show
  1. package/components/action-sheet.js +8 -13
  2. package/components/alert.js +15 -18
  3. package/components/animation.js +1 -1
  4. package/components/backdrop.js +6 -10
  5. package/components/button.js +11 -41
  6. package/components/buttons.js +7 -11
  7. package/components/capacitor.js +1 -1
  8. package/components/checkbox.js +15 -30
  9. package/components/content.js +446 -0
  10. package/components/data.js +4 -4
  11. package/components/focus-visible.js +1 -8
  12. package/components/framework-delegate.js +1 -3
  13. package/components/hardware-back-button.js +115 -0
  14. package/components/header.js +356 -0
  15. package/components/helpers.js +1 -4
  16. package/components/index2.js +2 -2
  17. package/components/index4.js +11 -10
  18. package/components/index5.js +3 -27
  19. package/components/index6.js +20 -114
  20. package/components/index7.js +27 -163
  21. package/components/index8.js +128 -0
  22. package/{dist/esm/index-7f65e865.js → components/index9.js} +2 -3
  23. package/components/input-shims.js +2 -2
  24. package/components/input.utils.js +2 -1
  25. package/components/ion-accordion-group.js +6 -9
  26. package/components/ion-accordion.js +17 -36
  27. package/components/ion-app.js +77 -9
  28. package/components/ion-avatar.js +3 -52
  29. package/components/ion-back-button.js +19 -29
  30. package/components/ion-badge.js +8 -44
  31. package/components/ion-breadcrumb.js +11 -45
  32. package/components/ion-breadcrumbs.js +5 -9
  33. package/components/ion-card-content.js +7 -11
  34. package/components/ion-card-header.js +5 -9
  35. package/components/ion-card-subtitle.js +5 -9
  36. package/components/ion-card-title.js +5 -9
  37. package/components/ion-card.js +9 -17
  38. package/components/ion-chip.js +8 -45
  39. package/components/ion-col.js +5 -5
  40. package/components/ion-content.js +1 -443
  41. package/components/ion-datetime-button.js +6 -9
  42. package/components/ion-datetime.js +20 -96
  43. package/components/ion-fab-button.js +10 -33
  44. package/components/ion-fab-list.js +5 -5
  45. package/components/ion-fab.js +6 -6
  46. package/components/ion-footer.js +12 -18
  47. package/components/ion-grid.js +5 -5
  48. package/components/ion-header.js +1 -360
  49. package/components/ion-img.js +2 -5
  50. package/components/ion-infinite-scroll-content.js +8 -13
  51. package/components/ion-infinite-scroll.js +5 -5
  52. package/components/ion-input-password-toggle.js +14 -53
  53. package/components/ion-input.js +20 -118
  54. package/components/ion-item-divider.js +5 -9
  55. package/components/ion-item-group.js +5 -9
  56. package/components/ion-item-option.js +8 -28
  57. package/components/ion-item-options.js +5 -9
  58. package/components/ion-item-sliding.js +5 -5
  59. package/components/ion-loading.js +8 -13
  60. package/components/ion-menu-button.js +10 -28
  61. package/components/ion-menu-toggle.js +5 -5
  62. package/components/ion-menu.js +25 -29
  63. package/components/ion-modal.js +1 -1767
  64. package/components/ion-nav-link.js +1 -1
  65. package/components/ion-nav.js +6 -8
  66. package/components/ion-note.js +5 -9
  67. package/components/ion-picker-legacy.js +8 -7
  68. package/components/ion-progress-bar.js +6 -11
  69. package/components/ion-range.js +8 -11
  70. package/components/ion-refresher-content.js +9 -28
  71. package/components/ion-refresher.js +7 -11
  72. package/components/ion-reorder-group.js +5 -5
  73. package/components/ion-reorder.js +5 -31
  74. package/components/ion-router-link.js +6 -6
  75. package/components/ion-router-outlet.js +3 -4
  76. package/components/ion-row.js +2 -5
  77. package/components/ion-searchbar.js +16 -93
  78. package/components/ion-segment-button.js +29 -14
  79. package/components/ion-segment-content.d.ts +11 -0
  80. package/components/ion-segment-content.js +37 -0
  81. package/components/ion-segment-view.d.ts +11 -0
  82. package/components/ion-segment-view.js +140 -0
  83. package/components/ion-segment.js +115 -24
  84. package/components/ion-select-modal.d.ts +11 -0
  85. package/components/ion-select-modal.js +9 -0
  86. package/components/ion-select-option.js +2 -5
  87. package/components/ion-select.js +140 -116
  88. package/components/ion-skeleton-text.js +5 -6
  89. package/components/ion-split-pane.js +8 -12
  90. package/components/ion-tab-bar.js +8 -31
  91. package/components/ion-tab-button.js +7 -12
  92. package/components/ion-tab.js +2 -2
  93. package/components/ion-tabs.js +2 -2
  94. package/components/ion-text.js +5 -5
  95. package/components/ion-textarea.js +11 -38
  96. package/components/ion-thumbnail.js +2 -5
  97. package/components/ion-title.js +1 -74
  98. package/components/ion-toast.js +12 -30
  99. package/components/ion-toggle.js +18 -77
  100. package/components/ion-toolbar.js +1 -92
  101. package/components/ionic-global.js +84 -374
  102. package/components/ios.transition.js +0 -1
  103. package/components/item.js +11 -41
  104. package/components/keyboard-controller.js +2 -4
  105. package/components/label.js +5 -9
  106. package/components/list-header.js +5 -9
  107. package/components/list.js +6 -29
  108. package/components/modal.js +1742 -0
  109. package/components/notch-controller.js +1 -1
  110. package/components/overlays.js +5 -4
  111. package/components/picker-column-option.js +5 -9
  112. package/components/picker-column.js +8 -7
  113. package/components/picker-column2.js +4 -4
  114. package/components/picker.js +4 -8
  115. package/components/popover.js +8 -11
  116. package/components/radio-group.js +7 -7
  117. package/components/radio.js +12 -14
  118. package/components/ripple-effect.js +8 -18
  119. package/components/select-modal.js +197 -0
  120. package/components/select-popover.js +2 -9
  121. package/components/spinner.js +9 -36
  122. package/components/status-tap.js +1 -1
  123. package/components/title.js +75 -0
  124. package/components/toolbar.js +93 -0
  125. package/css/core.css +1 -1
  126. package/css/core.css.map +1 -1
  127. package/css/display.css.map +1 -1
  128. package/css/flex-utils.css.map +1 -1
  129. package/css/float-elements.css.map +1 -1
  130. package/css/global.bundle.css.map +1 -1
  131. package/css/ionic-swiper.css +1 -1
  132. package/css/ionic-swiper.css.map +1 -1
  133. package/css/ionic.bundle.css +1 -1
  134. package/css/ionic.bundle.css.map +1 -1
  135. package/css/normalize.css.map +1 -1
  136. package/css/padding.css.map +1 -1
  137. package/css/palettes/dark.always.css.map +1 -1
  138. package/css/palettes/dark.class.css.map +1 -1
  139. package/css/palettes/dark.system.css.map +1 -1
  140. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  141. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  142. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  143. package/css/palettes/high-contrast.always.css.map +1 -1
  144. package/css/palettes/high-contrast.class.css.map +1 -1
  145. package/css/palettes/high-contrast.system.css.map +1 -1
  146. package/css/structure.css.map +1 -1
  147. package/css/text-alignment.css.map +1 -1
  148. package/css/text-transformation.css.map +1 -1
  149. package/css/typography.css.map +1 -1
  150. package/css/utils.bundle.css.map +1 -1
  151. package/dist/cjs/{animation-232e0c8f.js → animation-b4fdf128.js} +2 -2
  152. package/dist/cjs/{app-globals-0189a70c.js → app-globals-21afee77.js} +1 -1
  153. package/dist/cjs/{button-active-41228dbf.js → button-active-3f2f60b4.js} +4 -4
  154. package/dist/cjs/{capacitor-806e7fee.js → capacitor-c04564bf.js} +3 -3
  155. package/dist/cjs/{data-cad5d489.js → data-21dc0f81.js} +6 -6
  156. package/dist/{esm/focus-visible-501aff19.js → cjs/focus-visible-7a0ce04f.js} +3 -8
  157. package/dist/cjs/{framework-delegate-cf116b1d.js → framework-delegate-55f5683a.js} +2 -4
  158. package/dist/cjs/{haptic-f0cad9a6.js → haptic-f6b37aa3.js} +1 -1
  159. package/dist/cjs/hardware-back-button-9e8a2c4f.js +122 -0
  160. package/dist/cjs/{helpers-e75eb909.js → helpers-afaa9001.js} +1 -4
  161. package/dist/cjs/index-5915f9b3.js +38 -0
  162. package/dist/cjs/{index-1d02518d.js → index-5b6a7459.js} +3 -3
  163. package/dist/cjs/{config-1349d5b4.js → index-73f75efb.js} +0 -79
  164. package/dist/cjs/{index-71085796.js → index-8e789962.js} +17 -16
  165. package/dist/cjs/{index-2c8b42cd.js → index-9509ecad.js} +7 -8
  166. package/dist/cjs/index-c8d52405.js +10 -0
  167. package/dist/cjs/{index-3ac79a1b.js → index-f05acd21.js} +12 -11
  168. package/dist/cjs/index.cjs.js +13 -10
  169. package/dist/cjs/{input-shims-2958dcc9.js → input-shims-9e59ef62.js} +17 -17
  170. package/dist/cjs/{input.utils-ed749ecb.js → input.utils-611cde0b.js} +5 -4
  171. package/dist/cjs/ion-accordion_2.cjs.entry.js +32 -53
  172. package/dist/cjs/ion-action-sheet.cjs.entry.js +30 -32
  173. package/dist/cjs/ion-alert.cjs.entry.js +46 -45
  174. package/dist/cjs/ion-app_8.cjs.entry.js +189 -144
  175. package/dist/cjs/ion-avatar_3.cjs.entry.js +13 -96
  176. package/dist/cjs/ion-back-button.cjs.entry.js +25 -34
  177. package/dist/cjs/ion-backdrop.cjs.entry.js +9 -13
  178. package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +25 -62
  179. package/dist/cjs/ion-button_2.cjs.entry.js +24 -54
  180. package/dist/cjs/ion-card_5.cjs.entry.js +36 -59
  181. package/dist/cjs/ion-checkbox.cjs.entry.js +23 -37
  182. package/dist/cjs/ion-chip.cjs.entry.js +9 -44
  183. package/dist/cjs/ion-col_3.cjs.entry.js +15 -18
  184. package/dist/cjs/ion-datetime-button.cjs.entry.js +15 -18
  185. package/dist/cjs/ion-datetime_3.cjs.entry.js +115 -188
  186. package/dist/cjs/ion-fab_3.cjs.entry.js +29 -51
  187. package/dist/cjs/ion-img.cjs.entry.js +9 -12
  188. package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +29 -32
  189. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +19 -57
  190. package/dist/cjs/ion-input.cjs.entry.js +39 -133
  191. package/dist/cjs/ion-item-option_3.cjs.entry.js +29 -51
  192. package/dist/cjs/ion-item_8.cjs.entry.js +60 -131
  193. package/dist/cjs/ion-loading.cjs.entry.js +30 -31
  194. package/dist/cjs/ion-menu_3.cjs.entry.js +64 -82
  195. package/dist/cjs/ion-modal.cjs.entry.js +67 -94
  196. package/dist/cjs/ion-nav_2.cjs.entry.js +28 -29
  197. package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -13
  198. package/dist/cjs/ion-picker-column.cjs.entry.js +17 -16
  199. package/dist/cjs/ion-picker.cjs.entry.js +9 -13
  200. package/dist/cjs/ion-popover.cjs.entry.js +30 -31
  201. package/dist/cjs/ion-progress-bar.cjs.entry.js +14 -18
  202. package/dist/cjs/ion-radio_2.cjs.entry.js +29 -31
  203. package/dist/cjs/ion-range.cjs.entry.js +28 -31
  204. package/dist/cjs/ion-refresher_2.cjs.entry.js +53 -73
  205. package/dist/cjs/ion-reorder_2.cjs.entry.js +22 -45
  206. package/dist/cjs/ion-ripple-effect.cjs.entry.js +12 -22
  207. package/dist/cjs/ion-route_4.cjs.entry.js +17 -17
  208. package/dist/cjs/ion-searchbar.cjs.entry.js +31 -107
  209. package/dist/cjs/ion-segment-content.cjs.entry.js +23 -0
  210. package/dist/cjs/ion-segment-view.cjs.entry.js +122 -0
  211. package/dist/cjs/ion-segment_2.cjs.entry.js +152 -47
  212. package/dist/cjs/ion-select-modal.cjs.entry.js +111 -0
  213. package/dist/cjs/ion-select_3.cjs.entry.js +98 -128
  214. package/dist/cjs/ion-spinner.cjs.entry.js +17 -42
  215. package/dist/cjs/ion-split-pane.cjs.entry.js +12 -16
  216. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +28 -52
  217. package/dist/cjs/ion-tab_2.cjs.entry.js +14 -14
  218. package/dist/cjs/ion-text.cjs.entry.js +7 -7
  219. package/dist/cjs/ion-textarea.cjs.entry.js +32 -56
  220. package/dist/cjs/ion-toast.cjs.entry.js +43 -58
  221. package/dist/cjs/ion-toggle.cjs.entry.js +31 -88
  222. package/dist/cjs/ionic-global-d9a8bb5b.js +237 -0
  223. package/dist/cjs/ionic.cjs.js +7 -7
  224. package/dist/cjs/{ios.transition-4411892c.js → ios.transition-cf40433b.js} +7 -6
  225. package/dist/cjs/{keyboard-ed6e1327.js → keyboard-0272231f.js} +1 -1
  226. package/dist/cjs/{keyboard-e0062bfc.js → keyboard-af1bb365.js} +3 -4
  227. package/dist/cjs/{keyboard-controller-020444ad.js → keyboard-controller-c05e747a.js} +9 -11
  228. package/dist/cjs/loader.cjs.js +5 -5
  229. package/dist/cjs/{md.transition-261f9f67.js → md.transition-ededf99f.js} +7 -5
  230. package/dist/cjs/{notch-controller-70ad2323.js → notch-controller-d69150f5.js} +4 -4
  231. package/dist/cjs/{overlays-22320753.js → overlays-0123d7d4.js} +19 -18
  232. package/dist/cjs/{status-tap-cfc7f9a5.js → status-tap-37681226.js} +8 -8
  233. package/dist/cjs/{swipe-back-ecdf1cf5.js → swipe-back-0303a5e4.js} +1 -2
  234. package/dist/collection/collection-manifest.json +3 -0
  235. package/dist/collection/components/accordion/accordion.ios.css +58 -73
  236. package/dist/collection/components/accordion/accordion.js +21 -37
  237. package/dist/collection/components/accordion/accordion.md.css +59 -67
  238. package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -16
  239. package/dist/collection/components/accordion-group/accordion-group.js +8 -11
  240. package/dist/collection/components/accordion-group/accordion-group.md.css +4 -22
  241. package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
  242. package/dist/collection/components/action-sheet/action-sheet.js +10 -14
  243. package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
  244. package/dist/collection/components/alert/alert.ios.css +1 -19
  245. package/dist/collection/components/alert/alert.js +17 -18
  246. package/dist/collection/components/alert/alert.md.css +1 -19
  247. package/dist/collection/components/app/app.js +78 -12
  248. package/dist/collection/components/avatar/avatar.ios.css +0 -12
  249. package/dist/collection/components/avatar/avatar.js +4 -92
  250. package/dist/collection/components/avatar/avatar.md.css +0 -12
  251. package/dist/collection/components/back-button/back-button.ios.css +48 -60
  252. package/dist/collection/components/back-button/back-button.js +19 -27
  253. package/dist/collection/components/back-button/back-button.md.css +48 -60
  254. package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
  255. package/dist/collection/components/backdrop/backdrop.js +6 -12
  256. package/dist/collection/components/backdrop/backdrop.md.css +1 -13
  257. package/dist/collection/components/badge/badge.ios.css +3 -106
  258. package/dist/collection/components/badge/badge.js +8 -75
  259. package/dist/collection/components/badge/badge.md.css +3 -106
  260. package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
  261. package/dist/collection/components/breadcrumb/breadcrumb.js +11 -43
  262. package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
  263. package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
  264. package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
  265. package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
  266. package/dist/collection/components/button/button.ios.css +36 -129
  267. package/dist/collection/components/button/button.js +16 -46
  268. package/dist/collection/components/button/button.md.css +40 -120
  269. package/dist/collection/components/buttons/buttons.ios.css +7 -59
  270. package/dist/collection/components/buttons/buttons.js +8 -14
  271. package/dist/collection/components/buttons/buttons.md.css +3 -55
  272. package/dist/collection/components/card/card.ios.css +14 -65
  273. package/dist/collection/components/card/card.js +10 -34
  274. package/dist/collection/components/card/card.md.css +14 -65
  275. package/dist/collection/components/card-content/card-content.ios.css +1 -16
  276. package/dist/collection/components/card-content/card-content.js +8 -11
  277. package/dist/collection/components/card-content/card-content.md.css +1 -16
  278. package/dist/collection/components/card-header/card-header.ios.css +15 -27
  279. package/dist/collection/components/card-header/card-header.js +9 -12
  280. package/dist/collection/components/card-header/card-header.md.css +15 -27
  281. package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
  282. package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
  283. package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
  284. package/dist/collection/components/card-title/card-title.ios.css +0 -73
  285. package/dist/collection/components/card-title/card-title.js +8 -11
  286. package/dist/collection/components/card-title/card-title.md.css +0 -73
  287. package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
  288. package/dist/collection/components/checkbox/checkbox.js +40 -64
  289. package/dist/collection/components/checkbox/checkbox.md.css +3 -21
  290. package/dist/collection/components/chip/chip.ios.css +1 -20
  291. package/dist/collection/components/chip/chip.js +8 -77
  292. package/dist/collection/components/chip/chip.md.css +1 -20
  293. package/dist/collection/components/col/col.css +0 -12
  294. package/dist/collection/components/col/col.js +5 -9
  295. package/dist/collection/components/content/content.css +2 -8
  296. package/dist/collection/components/content/content.js +11 -16
  297. package/dist/collection/components/datetime/datetime.ios.css +73 -232
  298. package/dist/collection/components/datetime/datetime.js +19 -95
  299. package/dist/collection/components/datetime/datetime.md.css +73 -232
  300. package/dist/collection/components/datetime/utils/data.js +3 -3
  301. package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
  302. package/dist/collection/components/datetime-button/datetime-button.js +8 -11
  303. package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
  304. package/dist/collection/components/fab/fab.css +1 -25
  305. package/dist/collection/components/fab/fab.js +5 -9
  306. package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
  307. package/dist/collection/components/fab-button/fab-button.js +15 -36
  308. package/dist/collection/components/fab-button/fab-button.md.css +8 -20
  309. package/dist/collection/components/fab-list/fab-list.css +0 -12
  310. package/dist/collection/components/fab-list/fab-list.js +5 -9
  311. package/dist/collection/components/footer/footer.ios.css +2 -14
  312. package/dist/collection/components/footer/footer.js +15 -20
  313. package/dist/collection/components/footer/footer.md.css +0 -12
  314. package/dist/collection/components/grid/grid.css +0 -12
  315. package/dist/collection/components/grid/grid.js +5 -9
  316. package/dist/collection/components/header/header.ios.css +10 -25
  317. package/dist/collection/components/header/header.js +17 -42
  318. package/dist/collection/components/header/header.md.css +8 -23
  319. package/dist/collection/components/img/img.js +2 -8
  320. package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
  321. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
  322. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
  323. package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
  324. package/dist/collection/components/input/input.ios.css +2 -21
  325. package/dist/collection/components/input/input.js +30 -144
  326. package/dist/collection/components/input/input.md.css +4 -43
  327. package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -48
  328. package/dist/collection/components/item/item.ios.css +69 -109
  329. package/dist/collection/components/item/item.js +16 -44
  330. package/dist/collection/components/item/item.md.css +68 -120
  331. package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
  332. package/dist/collection/components/item-divider/item-divider.js +8 -11
  333. package/dist/collection/components/item-divider/item-divider.md.css +0 -18
  334. package/dist/collection/components/item-group/item-group.ios.css +0 -12
  335. package/dist/collection/components/item-group/item-group.js +7 -13
  336. package/dist/collection/components/item-group/item-group.md.css +0 -12
  337. package/dist/collection/components/item-option/item-option.ios.css +2 -14
  338. package/dist/collection/components/item-option/item-option.js +8 -43
  339. package/dist/collection/components/item-option/item-option.md.css +2 -14
  340. package/dist/collection/components/item-options/item-options.ios.css +0 -18
  341. package/dist/collection/components/item-options/item-options.js +7 -13
  342. package/dist/collection/components/item-options/item-options.md.css +0 -18
  343. package/dist/collection/components/item-sliding/item-sliding.css +0 -6
  344. package/dist/collection/components/item-sliding/item-sliding.js +4 -8
  345. package/dist/collection/components/label/label.ios.css +0 -18
  346. package/dist/collection/components/label/label.js +8 -11
  347. package/dist/collection/components/label/label.md.css +0 -18
  348. package/dist/collection/components/list/list.ios.css +0 -18
  349. package/dist/collection/components/list/list.js +9 -47
  350. package/dist/collection/components/list/list.md.css +2 -20
  351. package/dist/collection/components/list-header/list-header.ios.css +0 -18
  352. package/dist/collection/components/list-header/list-header.js +8 -11
  353. package/dist/collection/components/list-header/list-header.md.css +0 -18
  354. package/dist/collection/components/loading/loading.ios.css +1 -13
  355. package/dist/collection/components/loading/loading.js +10 -13
  356. package/dist/collection/components/loading/loading.md.css +1 -13
  357. package/dist/collection/components/menu/menu.ios.css +3 -15
  358. package/dist/collection/components/menu/menu.js +52 -37
  359. package/dist/collection/components/menu/menu.md.css +3 -15
  360. package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
  361. package/dist/collection/components/menu-button/menu-button.js +10 -26
  362. package/dist/collection/components/menu-button/menu-button.md.css +15 -49
  363. package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
  364. package/dist/collection/components/modal/animations/sheet.js +2 -8
  365. package/dist/collection/components/modal/gestures/sheet.js +6 -10
  366. package/dist/collection/components/modal/modal.ios.css +63 -106
  367. package/dist/collection/components/modal/modal.js +11 -47
  368. package/dist/collection/components/modal/modal.md.css +63 -106
  369. package/dist/collection/components/nav/nav.css +1 -7
  370. package/dist/collection/components/nav/nav.js +5 -11
  371. package/dist/collection/components/nav-link/nav-link.js +1 -5
  372. package/dist/collection/components/note/note.ios.css +0 -12
  373. package/dist/collection/components/note/note.js +8 -11
  374. package/dist/collection/components/note/note.md.css +0 -12
  375. package/dist/collection/components/picker/picker.ios.css +3 -15
  376. package/dist/collection/components/picker/picker.js +5 -8
  377. package/dist/collection/components/picker/picker.md.css +3 -15
  378. package/dist/collection/components/picker-column/picker-column.css +2 -9
  379. package/dist/collection/components/picker-column/picker-column.js +7 -8
  380. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
  381. package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
  382. package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
  383. package/dist/collection/components/picker-legacy/picker.ios.css +1 -13
  384. package/dist/collection/components/picker-legacy/picker.js +6 -7
  385. package/dist/collection/components/picker-legacy/picker.md.css +1 -13
  386. package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
  387. package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
  388. package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
  389. package/dist/collection/components/popover/popover.ios.css +1 -13
  390. package/dist/collection/components/popover/popover.js +12 -15
  391. package/dist/collection/components/popover/popover.md.css +1 -13
  392. package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
  393. package/dist/collection/components/progress-bar/progress-bar.js +7 -10
  394. package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
  395. package/dist/collection/components/radio/radio.ios.css +91 -134
  396. package/dist/collection/components/radio/radio.js +15 -16
  397. package/dist/collection/components/radio/radio.md.css +91 -134
  398. package/dist/collection/components/radio-group/radio-group.js +7 -11
  399. package/dist/collection/components/range/range.ios.css +0 -12
  400. package/dist/collection/components/range/range.js +9 -12
  401. package/dist/collection/components/range/range.md.css +0 -12
  402. package/dist/collection/components/refresher/refresher.ios.css +1 -14
  403. package/dist/collection/components/refresher/refresher.js +8 -11
  404. package/dist/collection/components/refresher/refresher.md.css +2 -15
  405. package/dist/collection/components/refresher-content/refresher-content.js +7 -28
  406. package/dist/collection/components/reorder/reorder.ios.css +0 -6
  407. package/dist/collection/components/reorder/reorder.js +6 -33
  408. package/dist/collection/components/reorder/reorder.md.css +0 -6
  409. package/dist/collection/components/reorder-group/reorder-group.css +0 -6
  410. package/dist/collection/components/reorder-group/reorder-group.js +4 -8
  411. package/dist/collection/components/ripple-effect/{ripple-effect.common.css → ripple-effect.css} +1 -7
  412. package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
  413. package/dist/collection/components/route/route.js +0 -4
  414. package/dist/collection/components/router/router.js +0 -4
  415. package/dist/collection/components/router-link/router-link.css +2 -8
  416. package/dist/collection/components/router-link/router-link.js +5 -9
  417. package/dist/collection/components/router-outlet/router-outlet.css +1 -7
  418. package/dist/collection/components/router-outlet/router-outlet.js +2 -5
  419. package/dist/collection/components/row/row.css +0 -12
  420. package/dist/collection/components/row/row.js +2 -9
  421. package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
  422. package/dist/collection/components/searchbar/searchbar.js +25 -97
  423. package/dist/collection/components/searchbar/searchbar.md.css +18 -56
  424. package/dist/collection/components/segment/segment.ios.css +2 -45
  425. package/dist/collection/components/segment/segment.js +121 -23
  426. package/dist/collection/components/segment/segment.md.css +2 -45
  427. package/dist/collection/components/segment-button/segment-button.ios.css +105 -146
  428. package/dist/collection/components/segment-button/segment-button.js +46 -14
  429. package/dist/collection/components/segment-button/segment-button.md.css +107 -148
  430. package/dist/collection/components/segment-content/segment-content.css +6 -0
  431. package/dist/collection/components/segment-content/segment-content.js +21 -0
  432. package/dist/collection/components/segment-view/segment-view-interface.js +1 -0
  433. package/dist/collection/components/{input-password-toggle/input-password-toggle.common.css → segment-view/segment-view.ios.css} +29 -7
  434. package/dist/collection/components/segment-view/segment-view.js +227 -0
  435. package/dist/collection/components/{accordion-group/accordion-group.ionic.css → segment-view/segment-view.md.css} +49 -47
  436. package/dist/collection/components/select/select.ios.css +3 -22
  437. package/dist/collection/components/select/select.js +90 -93
  438. package/dist/collection/components/select/select.md.css +5 -38
  439. package/dist/collection/components/select-modal/select-modal-interface.js +1 -0
  440. package/dist/collection/components/select-modal/select-modal.ios.css +3 -0
  441. package/dist/collection/components/select-modal/select-modal.js +159 -0
  442. package/dist/collection/components/{segment/segment.ionic.css → select-modal/select-modal.md.css} +26 -33
  443. package/dist/collection/components/select-modal/test/fixtures.js +48 -0
  444. package/dist/collection/components/select-option/select-option.js +2 -9
  445. package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
  446. package/dist/collection/components/select-popover/select-popover.js +4 -12
  447. package/dist/collection/components/select-popover/select-popover.md.css +0 -18
  448. package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
  449. package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
  450. package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +0 -63
  451. package/dist/collection/components/spinner/spinner.js +6 -46
  452. package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
  453. package/dist/collection/components/split-pane/split-pane.js +8 -14
  454. package/dist/collection/components/split-pane/split-pane.md.css +2 -20
  455. package/dist/collection/components/tab/tab.js +2 -6
  456. package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
  457. package/dist/collection/components/tab-bar/tab-bar.js +10 -65
  458. package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
  459. package/dist/collection/components/tab-button/tab-button.ios.css +88 -103
  460. package/dist/collection/components/tab-button/tab-button.js +8 -11
  461. package/dist/collection/components/tab-button/tab-button.md.css +88 -103
  462. package/dist/collection/components/tabs/tabs.css +1 -7
  463. package/dist/collection/components/tabs/tabs.js +1 -4
  464. package/dist/collection/components/text/text.css +0 -6
  465. package/dist/collection/components/text/text.js +6 -7
  466. package/dist/collection/components/textarea/textarea.ios.css +96 -201
  467. package/dist/collection/components/textarea/textarea.js +16 -59
  468. package/dist/collection/components/textarea/textarea.md.css +97 -214
  469. package/dist/collection/components/thumbnail/thumbnail.css +0 -6
  470. package/dist/collection/components/thumbnail/thumbnail.js +2 -9
  471. package/dist/collection/components/title/title.ios.css +4 -32
  472. package/dist/collection/components/title/title.js +7 -13
  473. package/dist/collection/components/title/title.md.css +4 -32
  474. package/dist/collection/components/toast/animations/utils.js +1 -1
  475. package/dist/collection/components/toast/toast.ios.css +35 -74
  476. package/dist/collection/components/toast/toast.js +11 -45
  477. package/dist/collection/components/toast/toast.md.css +35 -74
  478. package/dist/collection/components/toggle/toggle.ios.css +120 -166
  479. package/dist/collection/components/toggle/toggle.js +18 -73
  480. package/dist/collection/components/toggle/toggle.md.css +120 -163
  481. package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
  482. package/dist/collection/components/toolbar/toolbar.js +10 -13
  483. package/dist/collection/components/toolbar/toolbar.md.css +47 -90
  484. package/dist/collection/global/ionic-global.js +13 -229
  485. package/dist/collection/utils/focus-visible.js +0 -7
  486. package/dist/collection/utils/framework-delegate.js +1 -3
  487. package/dist/collection/utils/helpers.js +1 -3
  488. package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
  489. package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
  490. package/dist/collection/utils/menu-controller/animations/push.js +1 -2
  491. package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
  492. package/dist/collection/utils/menu-controller/index.js +2 -2
  493. package/dist/collection/utils/overlays.js +1 -2
  494. package/dist/collection/utils/test/playwright/generator.js +23 -48
  495. package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
  496. package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -14
  497. package/dist/collection/utils/transition/ios.transition.js +0 -1
  498. package/dist/docs.json +734 -7013
  499. package/dist/esm/{animation-16546c84.js → animation-eab5a4ca.js} +1 -1
  500. package/dist/esm/{app-globals-35381e66.js → app-globals-5dbb61a5.js} +1 -1
  501. package/dist/esm/{button-active-c768aceb.js → button-active-f6503382.js} +2 -2
  502. package/dist/esm/{capacitor-0897b83c.js → capacitor-59395cbd.js} +1 -1
  503. package/dist/esm/{data-d9b1fbdb.js → data-ae11fd43.js} +4 -4
  504. package/dist/{cjs/focus-visible-9aa87fa3.js → esm/focus-visible-dd40d69f.js} +1 -11
  505. package/dist/esm/{framework-delegate-56698eb0.js → framework-delegate-63d1a679.js} +2 -4
  506. package/dist/esm/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
  507. package/dist/esm/hardware-back-button-06ef3c3e.js +116 -0
  508. package/dist/esm/{helpers-d57f52c8.js → helpers-da915de8.js} +1 -4
  509. package/dist/esm/{index-82405a4a.js → index-24b48b06.js} +13 -12
  510. package/dist/esm/{config-0b6b1b3d.js → index-28849c61.js} +1 -76
  511. package/dist/esm/{index-edf94b3b.js → index-3ad7f18b.js} +6 -5
  512. package/dist/esm/{index-f8ad386a.js → index-5cc724f3.js} +2 -2
  513. package/dist/esm/index-79b30591.js +167 -0
  514. package/dist/esm/index-9b0d46f4.js +34 -0
  515. package/dist/esm/index-a5d50daf.js +7 -0
  516. package/dist/esm/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
  517. package/dist/esm/index.js +13 -10
  518. package/dist/esm/{input-shims-0f3cc1c3.js → input-shims-0314bbe5.js} +6 -6
  519. package/dist/esm/{input.utils-ef4d8197.js → input.utils-09c71bc7.js} +3 -2
  520. package/dist/esm/ion-accordion_2.entry.js +24 -45
  521. package/dist/esm/ion-action-sheet.entry.js +19 -21
  522. package/dist/esm/ion-alert.entry.js +26 -25
  523. package/dist/esm/ion-app_8.entry.js +140 -95
  524. package/dist/esm/ion-avatar_3.entry.js +10 -93
  525. package/dist/esm/ion-back-button.entry.js +21 -30
  526. package/dist/esm/ion-backdrop.entry.js +7 -11
  527. package/dist/esm/ion-breadcrumb_2.entry.js +17 -54
  528. package/dist/esm/ion-button_2.entry.js +13 -43
  529. package/dist/esm/ion-card_5.entry.js +29 -52
  530. package/dist/esm/ion-checkbox.entry.js +16 -30
  531. package/dist/esm/ion-chip.entry.js +8 -43
  532. package/dist/esm/ion-col_3.entry.js +11 -14
  533. package/dist/esm/ion-datetime-button.entry.js +9 -12
  534. package/dist/esm/ion-datetime_3.entry.js +40 -113
  535. package/dist/esm/ion-fab_3.entry.js +21 -43
  536. package/dist/esm/ion-img.entry.js +4 -7
  537. package/dist/esm/ion-infinite-scroll_2.entry.js +15 -18
  538. package/dist/esm/ion-input-password-toggle.entry.js +15 -53
  539. package/dist/esm/ion-input.entry.js +25 -119
  540. package/dist/esm/ion-item-option_3.entry.js +18 -40
  541. package/dist/esm/ion-item_8.entry.js +42 -113
  542. package/dist/esm/ion-loading.entry.js +16 -17
  543. package/dist/esm/ion-menu_3.entry.js +45 -63
  544. package/dist/esm/ion-modal.entry.js +31 -58
  545. package/dist/esm/ion-nav_2.entry.js +12 -13
  546. package/dist/esm/ion-picker-column-option.entry.js +7 -11
  547. package/dist/esm/ion-picker-column.entry.js +12 -11
  548. package/dist/esm/ion-picker.entry.js +6 -10
  549. package/dist/esm/ion-popover.entry.js +16 -17
  550. package/dist/esm/ion-progress-bar.entry.js +8 -12
  551. package/dist/esm/ion-radio_2.entry.js +20 -22
  552. package/dist/esm/ion-range.entry.js +10 -13
  553. package/dist/esm/ion-refresher_2.entry.js +21 -41
  554. package/dist/esm/ion-reorder_2.entry.js +15 -38
  555. package/dist/esm/ion-ripple-effect.entry.js +8 -18
  556. package/dist/esm/ion-route_4.entry.js +8 -8
  557. package/dist/esm/ion-searchbar.entry.js +18 -94
  558. package/dist/esm/ion-segment-content.entry.js +19 -0
  559. package/dist/esm/ion-segment-view.entry.js +118 -0
  560. package/dist/esm/ion-segment_2.entry.js +143 -38
  561. package/dist/esm/ion-select-modal.entry.js +107 -0
  562. package/dist/esm/ion-select_3.entry.js +73 -103
  563. package/dist/esm/ion-spinner.entry.js +8 -33
  564. package/dist/esm/ion-split-pane.entry.js +9 -13
  565. package/dist/esm/ion-tab-bar_2.entry.js +20 -44
  566. package/dist/esm/ion-tab_2.entry.js +7 -7
  567. package/dist/esm/ion-text.entry.js +6 -6
  568. package/dist/esm/ion-textarea.entry.js +17 -41
  569. package/dist/esm/ion-toast.entry.js +18 -33
  570. package/dist/esm/ion-toggle.entry.js +23 -80
  571. package/dist/esm/ionic-global-c81d82ab.js +231 -0
  572. package/dist/esm/ionic.js +5 -5
  573. package/dist/esm/{ios.transition-4b9fe79e.js → ios.transition-4ee1a3af.js} +7 -6
  574. package/dist/esm/{keyboard-584d2e6f.js → keyboard-52278bd7.js} +3 -4
  575. package/dist/esm/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
  576. package/dist/esm/{keyboard-controller-9c9c2301.js → keyboard-controller-ec5c2bfa.js} +3 -5
  577. package/dist/esm/loader.js +5 -5
  578. package/dist/esm/{md.transition-a71dc418.js → md.transition-5106a0d2.js} +7 -5
  579. package/dist/esm/{notch-controller-4d9a7b28.js → notch-controller-55b09e11.js} +2 -2
  580. package/dist/esm/{overlays-9da9aef5.js → overlays-9c75ec54.js} +7 -6
  581. package/dist/esm/{status-tap-82f51b25.js → status-tap-f472b09f.js} +4 -4
  582. package/dist/esm/{swipe-back-c5709ce5.js → swipe-back-e5394307.js} +1 -2
  583. package/dist/esm-es5/animation-eab5a4ca.js +4 -0
  584. package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
  585. package/dist/esm-es5/button-active-f6503382.js +4 -0
  586. package/dist/esm-es5/capacitor-59395cbd.js +4 -0
  587. package/dist/esm-es5/data-ae11fd43.js +4 -0
  588. package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
  589. package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
  590. package/dist/esm-es5/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
  591. package/dist/esm-es5/hardware-back-button-06ef3c3e.js +4 -0
  592. package/dist/esm-es5/helpers-da915de8.js +4 -0
  593. package/dist/esm-es5/index-24b48b06.js +4 -0
  594. package/dist/esm-es5/{config-0b6b1b3d.js → index-28849c61.js} +2 -2
  595. package/dist/esm-es5/index-3ad7f18b.js +4 -0
  596. package/dist/esm-es5/index-5cc724f3.js +4 -0
  597. package/dist/esm-es5/index-79b30591.js +4 -0
  598. package/dist/esm-es5/index-9b0d46f4.js +4 -0
  599. package/dist/esm-es5/index-a5d50daf.js +4 -0
  600. package/dist/esm-es5/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
  601. package/dist/esm-es5/index.js +1 -1
  602. package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
  603. package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
  604. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  605. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  606. package/dist/esm-es5/ion-alert.entry.js +1 -1
  607. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  608. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  609. package/dist/esm-es5/ion-back-button.entry.js +1 -1
  610. package/dist/esm-es5/ion-backdrop.entry.js +1 -1
  611. package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
  612. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  613. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  614. package/dist/esm-es5/ion-checkbox.entry.js +2 -2
  615. package/dist/esm-es5/ion-chip.entry.js +1 -1
  616. package/dist/esm-es5/ion-col_3.entry.js +1 -1
  617. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  618. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  619. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  620. package/dist/esm-es5/ion-img.entry.js +1 -1
  621. package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
  622. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  623. package/dist/esm-es5/ion-input.entry.js +1 -1
  624. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  625. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  626. package/dist/esm-es5/ion-loading.entry.js +1 -1
  627. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  628. package/dist/esm-es5/ion-modal.entry.js +1 -1
  629. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  630. package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
  631. package/dist/esm-es5/ion-picker-column.entry.js +1 -1
  632. package/dist/esm-es5/ion-picker.entry.js +1 -1
  633. package/dist/esm-es5/ion-popover.entry.js +1 -1
  634. package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
  635. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  636. package/dist/esm-es5/ion-range.entry.js +1 -1
  637. package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
  638. package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
  639. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  640. package/dist/esm-es5/ion-route_4.entry.js +1 -1
  641. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  642. package/dist/esm-es5/ion-segment-content.entry.js +4 -0
  643. package/dist/esm-es5/ion-segment-view.entry.js +4 -0
  644. package/dist/esm-es5/ion-segment_2.entry.js +1 -1
  645. package/dist/esm-es5/ion-select-modal.entry.js +4 -0
  646. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  647. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  648. package/dist/esm-es5/ion-split-pane.entry.js +1 -1
  649. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  650. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  651. package/dist/esm-es5/ion-text.entry.js +1 -1
  652. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  653. package/dist/esm-es5/ion-toast.entry.js +1 -1
  654. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  655. package/dist/esm-es5/ionic-global-c81d82ab.js +4 -0
  656. package/dist/esm-es5/ionic.js +1 -1
  657. package/dist/esm-es5/ios.transition-4ee1a3af.js +4 -0
  658. package/dist/esm-es5/keyboard-52278bd7.js +4 -0
  659. package/dist/esm-es5/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
  660. package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
  661. package/dist/esm-es5/loader.js +1 -1
  662. package/dist/esm-es5/md.transition-5106a0d2.js +4 -0
  663. package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
  664. package/dist/esm-es5/overlays-9c75ec54.js +4 -0
  665. package/dist/esm-es5/status-tap-f472b09f.js +4 -0
  666. package/dist/esm-es5/swipe-back-e5394307.js +4 -0
  667. package/dist/html.html-data.json +265 -2289
  668. package/dist/ionic/index.esm.js +1 -1
  669. package/dist/ionic/ionic.esm.js +1 -1
  670. package/dist/ionic/ionic.js +1 -1
  671. package/dist/ionic/{p-6f8c2e62.system.entry.js → p-01186920.system.entry.js} +1 -1
  672. package/dist/ionic/p-0303d0f8.js +4 -0
  673. package/dist/ionic/p-0574e87e.js +4 -0
  674. package/dist/ionic/p-06e58c4e.js +4 -0
  675. package/dist/ionic/p-06fee233.js +4 -0
  676. package/dist/ionic/p-081a4ce4.entry.js +4 -0
  677. package/dist/ionic/p-0c06e09b.system.js +4 -0
  678. package/dist/ionic/p-14be4015.entry.js +4 -0
  679. package/dist/ionic/p-15e76dd1.entry.js +4 -0
  680. package/dist/ionic/p-16188af7.entry.js +4 -0
  681. package/dist/ionic/p-16799667.system.entry.js +4 -0
  682. package/dist/ionic/p-16bfb979.system.entry.js +4 -0
  683. package/dist/ionic/p-17474161.system.js +4 -0
  684. package/dist/ionic/{p-61a51379.system.js → p-19ea7bff.system.js} +1 -1
  685. package/dist/ionic/p-19ec4f42.entry.js +4 -0
  686. package/dist/ionic/p-1acf0142.entry.js +4 -0
  687. package/dist/ionic/p-1c1b8e1f.entry.js +4 -0
  688. package/dist/ionic/p-1dfc11b3.system.js +4 -0
  689. package/dist/ionic/p-1e010627.system.entry.js +4 -0
  690. package/dist/ionic/p-1e4371bd.js +4 -0
  691. package/dist/ionic/p-1e67b266.system.entry.js +4 -0
  692. package/dist/ionic/{p-115d74cd.system.js → p-1e955a45.system.js} +1 -1
  693. package/dist/ionic/p-1ebd1e27.system.entry.js +4 -0
  694. package/dist/ionic/p-2097482f.entry.js +4 -0
  695. package/dist/ionic/{p-a65fe34d.system.entry.js → p-2172893e.system.entry.js} +1 -1
  696. package/dist/ionic/p-21e5e7e4.js +4 -0
  697. package/dist/ionic/p-22c020db.system.entry.js +4 -0
  698. package/dist/ionic/p-2507278c.system.entry.js +4 -0
  699. package/dist/ionic/p-25180df3.system.js +5 -0
  700. package/dist/ionic/p-2690b1de.js +4 -0
  701. package/dist/ionic/{p-4ed7dfdb.js → p-27281edd.js} +1 -1
  702. package/dist/ionic/{p-adec897a.system.entry.js → p-2799c6d3.system.entry.js} +1 -1
  703. package/dist/ionic/p-2abae1cc.system.entry.js +4 -0
  704. package/dist/ionic/p-2b7827c7.js +4 -0
  705. package/dist/ionic/p-2b838f86.system.entry.js +4 -0
  706. package/dist/ionic/p-2e46590d.system.entry.js +4 -0
  707. package/dist/ionic/p-2eba228d.system.entry.js +4 -0
  708. package/dist/ionic/p-312d16df.entry.js +4 -0
  709. package/dist/ionic/p-322c5fb4.system.js +4 -0
  710. package/dist/ionic/p-347ac2ef.system.entry.js +4 -0
  711. package/dist/ionic/p-34b11c24.js +4 -0
  712. package/dist/ionic/{p-2c5d7d84.system.js → p-372ae7f4.system.js} +1 -1
  713. package/dist/ionic/p-3ad285e3.system.js +4 -0
  714. package/dist/ionic/{p-d8339079.system.js → p-3c8e5c23.system.js} +1 -1
  715. package/dist/ionic/p-3cc276f4.js +4 -0
  716. package/dist/ionic/p-424eb140.system.entry.js +4 -0
  717. package/dist/ionic/p-4439fc2a.entry.js +4 -0
  718. package/dist/ionic/p-45693d7e.entry.js +4 -0
  719. package/dist/ionic/p-49a0e74c.entry.js +4 -0
  720. package/dist/ionic/p-4c2d5b80.system.js +4 -0
  721. package/dist/ionic/{p-6ecebfc6.entry.js → p-4ec778aa.entry.js} +1 -1
  722. package/dist/ionic/p-52d7a191.entry.js +4 -0
  723. package/dist/ionic/p-52f9cf4b.entry.js +4 -0
  724. package/dist/ionic/p-567de071.system.entry.js +4 -0
  725. package/dist/ionic/p-5823babc.system.entry.js +4 -0
  726. package/dist/ionic/p-58d5df0c.system.entry.js +4 -0
  727. package/dist/ionic/p-5972efea.system.entry.js +4 -0
  728. package/dist/ionic/p-5ab1b709.entry.js +4 -0
  729. package/dist/ionic/p-5b932840.entry.js +4 -0
  730. package/dist/ionic/{p-3bfe43bc.system.js → p-5da94421.system.js} +2 -2
  731. package/dist/ionic/p-5f9b0722.entry.js +4 -0
  732. package/dist/ionic/p-61e494dc.system.entry.js +4 -0
  733. package/dist/ionic/p-62af944c.entry.js +4 -0
  734. package/dist/ionic/p-63b0abde.system.entry.js +4 -0
  735. package/dist/ionic/p-66640ff7.system.entry.js +4 -0
  736. package/dist/ionic/p-69066a53.js +4 -0
  737. package/dist/ionic/p-69666e8a.system.entry.js +4 -0
  738. package/dist/ionic/p-6a901f69.system.entry.js +4 -0
  739. package/dist/ionic/p-6d32975a.entry.js +4 -0
  740. package/dist/ionic/p-6e2961d4.system.entry.js +4 -0
  741. package/dist/ionic/p-72812e99.js +4 -0
  742. package/dist/ionic/p-72bc8a1c.js +4 -0
  743. package/dist/ionic/p-73dc4950.entry.js +4 -0
  744. package/dist/ionic/{p-0695a0af.system.entry.js → p-7458862e.system.entry.js} +1 -1
  745. package/dist/ionic/p-792919fd.system.js +4 -0
  746. package/dist/ionic/p-797eeea8.system.entry.js +4 -0
  747. package/dist/ionic/p-7b30edcc.js +4 -0
  748. package/dist/ionic/p-7b9a2b23.entry.js +4 -0
  749. package/dist/ionic/p-7ed1657c.system.entry.js +4 -0
  750. package/dist/ionic/p-845f8376.entry.js +4 -0
  751. package/dist/ionic/p-8635f5e6.system.js +4 -0
  752. package/dist/ionic/p-88e63c7d.js +4 -0
  753. package/dist/ionic/{p-e61e3bb4.system.js → p-8985cdb6.system.js} +1 -1
  754. package/dist/ionic/{p-b9b36d56.js → p-89b61afc.js} +1 -1
  755. package/dist/ionic/p-908d6080.entry.js +4 -0
  756. package/dist/ionic/p-90df71aa.system.entry.js +4 -0
  757. package/dist/ionic/{p-747e9c9a.system.js → p-9146695e.system.js} +1 -1
  758. package/dist/ionic/p-937a7e21.entry.js +4 -0
  759. package/dist/ionic/p-94afeb70.entry.js +4 -0
  760. package/dist/ionic/p-95775830.entry.js +4 -0
  761. package/dist/ionic/p-96cc4814.js +4 -0
  762. package/dist/ionic/p-975fc268.system.entry.js +4 -0
  763. package/dist/ionic/{p-093de343.system.entry.js → p-98231c01.system.entry.js} +1 -1
  764. package/dist/ionic/p-985a7e17.system.entry.js +4 -0
  765. package/dist/ionic/p-98871496.system.js +4 -0
  766. package/dist/ionic/p-98e71235.system.entry.js +4 -0
  767. package/dist/ionic/p-98ff6b32.entry.js +4 -0
  768. package/dist/ionic/p-9c901780.entry.js +4 -0
  769. package/dist/ionic/p-9df2c6fb.entry.js +4 -0
  770. package/dist/ionic/{p-3a11234f.system.js → p-9ea607bd.system.js} +2 -2
  771. package/dist/ionic/p-9ee1e8a6.entry.js +4 -0
  772. package/dist/ionic/p-9f3008d4.system.js +4 -0
  773. package/dist/ionic/p-9fa07aec.entry.js +4 -0
  774. package/dist/ionic/p-a15ddedb.system.js +4 -0
  775. package/dist/ionic/p-a2aee540.entry.js +4 -0
  776. package/dist/ionic/p-a440397c.js +4 -0
  777. package/dist/ionic/p-a4565eb5.system.js +4 -0
  778. package/dist/ionic/p-a49378bb.system.entry.js +4 -0
  779. package/dist/ionic/p-a61cba41.entry.js +4 -0
  780. package/dist/ionic/p-a69b9fc5.system.js +4 -0
  781. package/dist/ionic/{p-f8e329da.system.js → p-a93873de.system.js} +1 -1
  782. package/dist/ionic/p-abe101da.system.js +4 -0
  783. package/dist/ionic/p-adbc4bdf.entry.js +4 -0
  784. package/dist/ionic/{p-4b153a9f.entry.js → p-afecb188.entry.js} +1 -1
  785. package/dist/ionic/{p-c9ef0ca7.system.js → p-b06ac4a5.system.js} +1 -1
  786. package/dist/ionic/p-b1e1364f.system.entry.js +4 -0
  787. package/dist/ionic/p-b51e4004.js +4 -0
  788. package/dist/ionic/p-b82d4cab.js +4 -0
  789. package/dist/ionic/p-b889e5de.system.js +4 -0
  790. package/dist/ionic/p-b9d7015f.entry.js +4 -0
  791. package/dist/ionic/p-bb0db172.entry.js +4 -0
  792. package/dist/ionic/p-bc36ad98.system.entry.js +4 -0
  793. package/dist/ionic/p-bdad26e3.entry.js +4 -0
  794. package/dist/ionic/p-c29f8157.system.entry.js +4 -0
  795. package/dist/ionic/p-c2b74d92.system.entry.js +4 -0
  796. package/dist/ionic/p-c41ac815.entry.js +4 -0
  797. package/dist/ionic/p-c468af8a.system.js +4 -0
  798. package/dist/ionic/p-c61cc894.js +4 -0
  799. package/dist/ionic/{p-d1e991c3.js → p-c7e16491.js} +1 -1
  800. package/dist/ionic/p-c9f3a539.entry.js +4 -0
  801. package/dist/ionic/p-ca065903.system.entry.js +4 -0
  802. package/dist/ionic/p-cac0e0b3.system.entry.js +4 -0
  803. package/dist/ionic/p-cfab4f20.entry.js +4 -0
  804. package/dist/ionic/p-d18ab582.system.entry.js +4 -0
  805. package/dist/ionic/p-d1db10ed.system.entry.js +4 -0
  806. package/dist/ionic/p-d47265c8.js +4 -0
  807. package/dist/ionic/{p-0a820472.js → p-d60342e3.js} +1 -1
  808. package/dist/ionic/p-d6841eac.js +4 -0
  809. package/dist/ionic/{p-dbfc5db6.js → p-d743e981.js} +1 -1
  810. package/dist/ionic/p-d77e12ca.entry.js +4 -0
  811. package/dist/ionic/p-d7aa6b00.entry.js +4 -0
  812. package/dist/ionic/{p-a9fd9d48.js → p-d836d43e.js} +2 -2
  813. package/dist/ionic/p-da074ff7.entry.js +4 -0
  814. package/dist/ionic/{p-58f16ef6.js → p-da2b833b.js} +1 -1
  815. package/dist/ionic/{p-2b428cf6.entry.js → p-de930745.entry.js} +1 -1
  816. package/dist/ionic/{p-25e2c98f.system.js → p-dfb78785.system.js} +1 -1
  817. package/dist/ionic/p-e4ee80be.system.entry.js +4 -0
  818. package/dist/ionic/p-e7ed4a7f.system.js +4 -0
  819. package/dist/ionic/p-e9a173ed.entry.js +4 -0
  820. package/dist/ionic/p-eba29931.entry.js +4 -0
  821. package/dist/ionic/p-eba81f15.entry.js +4 -0
  822. package/dist/ionic/p-ebf042e0.system.entry.js +4 -0
  823. package/dist/ionic/p-ecceeb90.js +4 -0
  824. package/dist/ionic/p-ed75fcfb.system.entry.js +4 -0
  825. package/dist/ionic/p-eedf2757.entry.js +4 -0
  826. package/dist/ionic/p-ef4a65bd.system.entry.js +4 -0
  827. package/dist/ionic/p-efaffe74.entry.js +4 -0
  828. package/dist/ionic/p-f1acf541.system.entry.js +4 -0
  829. package/dist/ionic/p-f3102647.system.entry.js +4 -0
  830. package/dist/ionic/p-f4bc18a1.system.entry.js +4 -0
  831. package/dist/ionic/{p-d9e1c48c.system.js → p-f687573e.system.js} +1 -1
  832. package/dist/ionic/p-f9a53abb.system.js +4 -0
  833. package/dist/ionic/p-fca6ef5f.system.entry.js +4 -0
  834. package/dist/ionic/p-ff4b7e40.system.js +4 -0
  835. package/dist/types/components/accordion/accordion.d.ts +3 -5
  836. package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
  837. package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
  838. package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
  839. package/dist/types/components/alert/alert-interface.d.ts +7 -3
  840. package/dist/types/components/alert/alert.d.ts +2 -3
  841. package/dist/types/components/app/app.d.ts +2 -4
  842. package/dist/types/components/avatar/avatar.d.ts +0 -28
  843. package/dist/types/components/back-button/back-button.d.ts +1 -2
  844. package/dist/types/components/backdrop/backdrop.d.ts +0 -4
  845. package/dist/types/components/badge/badge.d.ts +1 -23
  846. package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -4
  847. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  848. package/dist/types/components/button/button.d.ts +4 -15
  849. package/dist/types/components/buttons/buttons.d.ts +1 -5
  850. package/dist/types/components/card/card.d.ts +1 -8
  851. package/dist/types/components/card-content/card-content.d.ts +1 -2
  852. package/dist/types/components/card-header/card-header.d.ts +2 -3
  853. package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
  854. package/dist/types/components/card-title/card-title.d.ts +1 -2
  855. package/dist/types/components/checkbox/checkbox.d.ts +6 -15
  856. package/dist/types/components/chip/chip.d.ts +1 -19
  857. package/dist/types/components/col/col.d.ts +0 -4
  858. package/dist/types/components/content/content.d.ts +0 -3
  859. package/dist/types/components/datetime/datetime.d.ts +1 -26
  860. package/dist/types/components/datetime/utils/data.d.ts +3 -3
  861. package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
  862. package/dist/types/components/fab/fab.d.ts +0 -4
  863. package/dist/types/components/fab-button/fab-button.d.ts +3 -5
  864. package/dist/types/components/fab-list/fab-list.d.ts +0 -4
  865. package/dist/types/components/footer/footer.d.ts +3 -4
  866. package/dist/types/components/grid/grid.d.ts +0 -4
  867. package/dist/types/components/header/header.d.ts +3 -9
  868. package/dist/types/components/img/img.d.ts +0 -3
  869. package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
  870. package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
  871. package/dist/types/components/input/input.d.ts +5 -31
  872. package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -2
  873. package/dist/types/components/item/item.d.ts +4 -11
  874. package/dist/types/components/item-divider/item-divider.d.ts +1 -2
  875. package/dist/types/components/item-group/item-group.d.ts +0 -4
  876. package/dist/types/components/item-option/item-option.d.ts +1 -11
  877. package/dist/types/components/item-options/item-options.d.ts +0 -4
  878. package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
  879. package/dist/types/components/label/label.d.ts +1 -2
  880. package/dist/types/components/list/list.d.ts +1 -15
  881. package/dist/types/components/list-header/list-header.d.ts +1 -2
  882. package/dist/types/components/loading/loading-interface.d.ts +7 -2
  883. package/dist/types/components/loading/loading.d.ts +2 -3
  884. package/dist/types/components/menu/menu-interface.d.ts +5 -2
  885. package/dist/types/components/menu/menu.d.ts +6 -9
  886. package/dist/types/components/menu-button/menu-button.d.ts +1 -3
  887. package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
  888. package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
  889. package/dist/types/components/modal/modal-interface.d.ts +7 -4
  890. package/dist/types/components/modal/modal.d.ts +1 -11
  891. package/dist/types/components/nav/nav-interface.d.ts +1 -9
  892. package/dist/types/components/nav/nav.d.ts +1 -5
  893. package/dist/types/components/nav-link/nav-link.d.ts +0 -4
  894. package/dist/types/components/note/note.d.ts +1 -2
  895. package/dist/types/components/picker/picker.d.ts +1 -2
  896. package/dist/types/components/picker-column/picker-column.d.ts +1 -2
  897. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
  898. package/dist/types/components/picker-legacy/picker.d.ts +1 -2
  899. package/dist/types/components/popover/popover-interface.d.ts +6 -3
  900. package/dist/types/components/popover/popover.d.ts +5 -6
  901. package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
  902. package/dist/types/components/radio/radio.d.ts +2 -3
  903. package/dist/types/components/radio-group/radio-group.d.ts +0 -4
  904. package/dist/types/components/range/range.d.ts +1 -2
  905. package/dist/types/components/refresher/refresher.d.ts +1 -2
  906. package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
  907. package/dist/types/components/reorder/reorder.d.ts +0 -9
  908. package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
  909. package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
  910. package/dist/types/components/route/route.d.ts +0 -4
  911. package/dist/types/components/router/router.d.ts +0 -4
  912. package/dist/types/components/router-link/router-link.d.ts +0 -4
  913. package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
  914. package/dist/types/components/row/row.d.ts +0 -4
  915. package/dist/types/components/searchbar/searchbar.d.ts +8 -30
  916. package/dist/types/components/segment/segment.d.ts +22 -3
  917. package/dist/types/components/segment-button/segment-button.d.ts +5 -2
  918. package/dist/types/components/segment-content/segment-content.d.ts +4 -0
  919. package/dist/types/components/segment-view/segment-view-interface.d.ts +4 -0
  920. package/dist/types/components/segment-view/segment-view.d.ts +55 -0
  921. package/dist/types/components/select/select-interface.d.ts +1 -1
  922. package/dist/types/components/select/select.d.ts +10 -24
  923. package/dist/types/components/select-modal/select-modal-interface.d.ts +10 -0
  924. package/dist/types/components/select-modal/select-modal.d.ts +16 -0
  925. package/dist/types/components/select-modal/test/fixtures.d.ts +16 -0
  926. package/dist/types/components/select-option/select-option.d.ts +0 -4
  927. package/dist/types/components/select-popover/select-popover.d.ts +0 -3
  928. package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
  929. package/dist/types/components/spinner/spinner.d.ts +0 -15
  930. package/dist/types/components/split-pane/split-pane.d.ts +0 -4
  931. package/dist/types/components/tab/tab.d.ts +0 -4
  932. package/dist/types/components/tab-bar/tab-bar.d.ts +2 -22
  933. package/dist/types/components/tab-button/tab-button.d.ts +1 -2
  934. package/dist/types/components/tabs/tabs.d.ts +0 -3
  935. package/dist/types/components/text/text.d.ts +1 -2
  936. package/dist/types/components/textarea/textarea.d.ts +4 -16
  937. package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
  938. package/dist/types/components/title/title.d.ts +0 -4
  939. package/dist/types/components/toast/animations/utils.d.ts +2 -2
  940. package/dist/types/components/toast/toast-interface.d.ts +7 -3
  941. package/dist/types/components/toast/toast.d.ts +2 -12
  942. package/dist/types/components/toggle/toggle.d.ts +1 -15
  943. package/dist/types/components/toolbar/toolbar.d.ts +3 -4
  944. package/dist/types/components.d.ts +288 -1374
  945. package/dist/types/global/ionic-global.d.ts +2 -27
  946. package/dist/types/interface.d.ts +0 -3
  947. package/dist/types/utils/config.d.ts +2 -106
  948. package/dist/types/utils/focus-visible.d.ts +0 -1
  949. package/dist/types/utils/overlays-interface.d.ts +2 -32
  950. package/dist/types/utils/test/playwright/generator.d.ts +2 -31
  951. package/hydrate/index.js +1335 -2338
  952. package/hydrate/index.mjs +1335 -2338
  953. package/package.json +4 -9
  954. package/components/caret-down.js +0 -6
  955. package/components/caret-left.js +0 -6
  956. package/components/caret-right.js +0 -6
  957. package/components/config2.js +0 -79
  958. package/components/list2.js +0 -6
  959. package/components/x.js +0 -6
  960. package/css/ionic/bundle.ionic.css +0 -1
  961. package/css/ionic/bundle.ionic.css.map +0 -1
  962. package/css/ionic/core.ionic.css +0 -1
  963. package/css/ionic/core.ionic.css.map +0 -1
  964. package/css/ionic/global.bundle.ionic.css +0 -1
  965. package/css/ionic/global.bundle.ionic.css.map +0 -1
  966. package/css/ionic/ionic-swiper.ionic.css +0 -1
  967. package/css/ionic/ionic-swiper.ionic.css.map +0 -1
  968. package/css/ionic/link.ionic.css +0 -1
  969. package/css/ionic/link.ionic.css.map +0 -1
  970. package/css/ionic/structure.ionic.css +0 -1
  971. package/css/ionic/structure.ionic.css.map +0 -1
  972. package/css/ionic/typography.ionic.css +0 -1
  973. package/css/ionic/typography.ionic.css.map +0 -1
  974. package/css/ionic/utils.bundle.ionic.css +0 -1
  975. package/css/ionic/utils.bundle.ionic.css.map +0 -1
  976. package/dist/cjs/caret-down-3c215cff.js +0 -8
  977. package/dist/cjs/caret-left-2bb66970.js +0 -8
  978. package/dist/cjs/caret-right-88e03970.js +0 -8
  979. package/dist/cjs/ionic-global-3647b9f5.js +0 -534
  980. package/dist/cjs/list-2930c629.js +0 -8
  981. package/dist/cjs/x-81a8f51c.js +0 -8
  982. package/dist/collection/components/accordion/accordion.ionic.css +0 -201
  983. package/dist/collection/components/avatar/avatar.ionic.css +0 -269
  984. package/dist/collection/components/backdrop/backdrop.ionic.css +0 -151
  985. package/dist/collection/components/badge/badge.ionic.css +0 -249
  986. package/dist/collection/components/button/button.ionic.css +0 -589
  987. package/dist/collection/components/buttons/buttons.ionic.css +0 -100
  988. package/dist/collection/components/card/card.ionic.css +0 -137
  989. package/dist/collection/components/card-content/card-content.ionic.css +0 -90
  990. package/dist/collection/components/card-header/card-header.ionic.css +0 -87
  991. package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -146
  992. package/dist/collection/components/checkbox/checkbox.ionic.css +0 -402
  993. package/dist/collection/components/chip/chip.ionic.css +0 -160
  994. package/dist/collection/components/datetime/datetime.ionic.css +0 -668
  995. package/dist/collection/components/header/header.ionic.css +0 -86
  996. package/dist/collection/components/input/input.ionic.css +0 -1096
  997. package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -141
  998. package/dist/collection/components/item/item.ionic.css +0 -501
  999. package/dist/collection/components/item-option/item-option.ionic.css +0 -332
  1000. package/dist/collection/components/item-options/item-options.ionic.css +0 -258
  1001. package/dist/collection/components/list/list.ionic.css +0 -193
  1002. package/dist/collection/components/list-header/list-header.ionic.css +0 -236
  1003. package/dist/collection/components/menu-button/menu-button.ionic.css +0 -238
  1004. package/dist/collection/components/modal/modal.ionic.css +0 -239
  1005. package/dist/collection/components/radio/radio.ionic.css +0 -418
  1006. package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -154
  1007. package/dist/collection/components/searchbar/searchbar.ionic.css +0 -345
  1008. package/dist/collection/components/segment-button/segment-button.ionic.css +0 -350
  1009. package/dist/collection/components/spinner/spinner.common.css +0 -199
  1010. package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -250
  1011. package/dist/collection/components/tab-button/tab-button.ionic.css +0 -271
  1012. package/dist/collection/components/textarea/textarea.ionic.css +0 -804
  1013. package/dist/collection/components/title/title.ionic.css +0 -145
  1014. package/dist/collection/components/toast/toast.ionic.css +0 -358
  1015. package/dist/collection/components/toggle/toggle.ionic.css +0 -419
  1016. package/dist/collection/components/toolbar/toolbar.ionic.css +0 -233
  1017. package/dist/esm/caret-down-3eaad1cc.js +0 -6
  1018. package/dist/esm/caret-left-33424bb0.js +0 -6
  1019. package/dist/esm/caret-right-68d856ad.js +0 -6
  1020. package/dist/esm/ionic-global-d7017fd9.js +0 -520
  1021. package/dist/esm/list-6524700c.js +0 -6
  1022. package/dist/esm/x-a64bcd9f.js +0 -6
  1023. package/dist/esm-es5/animation-16546c84.js +0 -4
  1024. package/dist/esm-es5/app-globals-35381e66.js +0 -4
  1025. package/dist/esm-es5/button-active-c768aceb.js +0 -4
  1026. package/dist/esm-es5/capacitor-0897b83c.js +0 -4
  1027. package/dist/esm-es5/caret-down-3eaad1cc.js +0 -4
  1028. package/dist/esm-es5/caret-left-33424bb0.js +0 -4
  1029. package/dist/esm-es5/caret-right-68d856ad.js +0 -4
  1030. package/dist/esm-es5/data-d9b1fbdb.js +0 -4
  1031. package/dist/esm-es5/focus-visible-501aff19.js +0 -4
  1032. package/dist/esm-es5/framework-delegate-56698eb0.js +0 -4
  1033. package/dist/esm-es5/helpers-d57f52c8.js +0 -4
  1034. package/dist/esm-es5/index-7f65e865.js +0 -4
  1035. package/dist/esm-es5/index-82405a4a.js +0 -4
  1036. package/dist/esm-es5/index-edf94b3b.js +0 -4
  1037. package/dist/esm-es5/index-f8ad386a.js +0 -4
  1038. package/dist/esm-es5/input-shims-0f3cc1c3.js +0 -4
  1039. package/dist/esm-es5/input.utils-ef4d8197.js +0 -4
  1040. package/dist/esm-es5/ionic-global-d7017fd9.js +0 -4
  1041. package/dist/esm-es5/ios.transition-4b9fe79e.js +0 -4
  1042. package/dist/esm-es5/keyboard-584d2e6f.js +0 -4
  1043. package/dist/esm-es5/keyboard-controller-9c9c2301.js +0 -4
  1044. package/dist/esm-es5/list-6524700c.js +0 -4
  1045. package/dist/esm-es5/md.transition-a71dc418.js +0 -4
  1046. package/dist/esm-es5/notch-controller-4d9a7b28.js +0 -4
  1047. package/dist/esm-es5/overlays-9da9aef5.js +0 -4
  1048. package/dist/esm-es5/status-tap-82f51b25.js +0 -4
  1049. package/dist/esm-es5/swipe-back-c5709ce5.js +0 -4
  1050. package/dist/esm-es5/x-a64bcd9f.js +0 -4
  1051. package/dist/ionic/p-01d80901.system.js +0 -4
  1052. package/dist/ionic/p-036e1c5b.entry.js +0 -4
  1053. package/dist/ionic/p-0689d382.entry.js +0 -4
  1054. package/dist/ionic/p-06ec4706.js +0 -4
  1055. package/dist/ionic/p-087e8765.system.entry.js +0 -4
  1056. package/dist/ionic/p-08df90cf.system.js +0 -4
  1057. package/dist/ionic/p-08f1ef0c.entry.js +0 -4
  1058. package/dist/ionic/p-0a701833.entry.js +0 -4
  1059. package/dist/ionic/p-1037b7dd.js +0 -4
  1060. package/dist/ionic/p-12e3e308.entry.js +0 -4
  1061. package/dist/ionic/p-13046601.system.entry.js +0 -4
  1062. package/dist/ionic/p-1331f417.system.entry.js +0 -4
  1063. package/dist/ionic/p-14719a77.entry.js +0 -4
  1064. package/dist/ionic/p-15d51b10.js +0 -4
  1065. package/dist/ionic/p-19ac8e04.system.entry.js +0 -4
  1066. package/dist/ionic/p-221e5078.system.js +0 -4
  1067. package/dist/ionic/p-243adf8c.js +0 -4
  1068. package/dist/ionic/p-25389914.entry.js +0 -4
  1069. package/dist/ionic/p-25564f4c.system.entry.js +0 -4
  1070. package/dist/ionic/p-26f7c080.system.js +0 -4
  1071. package/dist/ionic/p-28d04212.system.js +0 -4
  1072. package/dist/ionic/p-291dc0b3.system.entry.js +0 -4
  1073. package/dist/ionic/p-29d6d1fc.system.entry.js +0 -4
  1074. package/dist/ionic/p-2a559ac6.js +0 -4
  1075. package/dist/ionic/p-2a79e451.entry.js +0 -4
  1076. package/dist/ionic/p-2be91f19.entry.js +0 -4
  1077. package/dist/ionic/p-2c368e32.entry.js +0 -4
  1078. package/dist/ionic/p-2d580501.entry.js +0 -4
  1079. package/dist/ionic/p-2d621d56.system.entry.js +0 -4
  1080. package/dist/ionic/p-2da8c20c.system.entry.js +0 -4
  1081. package/dist/ionic/p-2e6d744f.system.entry.js +0 -4
  1082. package/dist/ionic/p-361c24e5.system.entry.js +0 -4
  1083. package/dist/ionic/p-36bdcfc4.js +0 -4
  1084. package/dist/ionic/p-388ac217.js +0 -4
  1085. package/dist/ionic/p-39d15e64.system.entry.js +0 -4
  1086. package/dist/ionic/p-3a5869c3.entry.js +0 -4
  1087. package/dist/ionic/p-3ca5196c.js +0 -4
  1088. package/dist/ionic/p-419fac38.entry.js +0 -4
  1089. package/dist/ionic/p-4228a245.entry.js +0 -4
  1090. package/dist/ionic/p-429dd2b5.system.js +0 -4
  1091. package/dist/ionic/p-434c7348.system.entry.js +0 -4
  1092. package/dist/ionic/p-45e150eb.js +0 -4
  1093. package/dist/ionic/p-46787abb.system.js +0 -4
  1094. package/dist/ionic/p-46cc2492.system.js +0 -4
  1095. package/dist/ionic/p-49a3fc76.entry.js +0 -4
  1096. package/dist/ionic/p-4a9b61ed.system.entry.js +0 -4
  1097. package/dist/ionic/p-4c251d59.entry.js +0 -4
  1098. package/dist/ionic/p-4d000ec5.entry.js +0 -4
  1099. package/dist/ionic/p-4e202665.js +0 -4
  1100. package/dist/ionic/p-51151575.system.entry.js +0 -4
  1101. package/dist/ionic/p-5468bfbf.entry.js +0 -4
  1102. package/dist/ionic/p-5b57d327.system.js +0 -4
  1103. package/dist/ionic/p-5ce35a03.js +0 -4
  1104. package/dist/ionic/p-607c9c33.js +0 -4
  1105. package/dist/ionic/p-643e2eb8.js +0 -4
  1106. package/dist/ionic/p-660f3b98.entry.js +0 -4
  1107. package/dist/ionic/p-6703f239.entry.js +0 -4
  1108. package/dist/ionic/p-68f3fa48.system.entry.js +0 -4
  1109. package/dist/ionic/p-69e54172.js +0 -4
  1110. package/dist/ionic/p-6a0dd6bc.js +0 -4
  1111. package/dist/ionic/p-6ad6d594.js +0 -4
  1112. package/dist/ionic/p-6b64dce1.entry.js +0 -4
  1113. package/dist/ionic/p-6d9e1887.system.entry.js +0 -4
  1114. package/dist/ionic/p-70c6cd75.system.js +0 -4
  1115. package/dist/ionic/p-719fca78.entry.js +0 -4
  1116. package/dist/ionic/p-71e8ffdd.system.js +0 -4
  1117. package/dist/ionic/p-726b9197.system.entry.js +0 -4
  1118. package/dist/ionic/p-73e32456.system.js +0 -4
  1119. package/dist/ionic/p-774d5b57.system.entry.js +0 -4
  1120. package/dist/ionic/p-776adb3d.entry.js +0 -4
  1121. package/dist/ionic/p-7811f251.system.entry.js +0 -4
  1122. package/dist/ionic/p-7d02004b.entry.js +0 -4
  1123. package/dist/ionic/p-7ebc381e.entry.js +0 -4
  1124. package/dist/ionic/p-80342c88.system.entry.js +0 -4
  1125. package/dist/ionic/p-8181e971.entry.js +0 -4
  1126. package/dist/ionic/p-8248976b.system.entry.js +0 -4
  1127. package/dist/ionic/p-836515ee.entry.js +0 -4
  1128. package/dist/ionic/p-8421aedf.js +0 -4
  1129. package/dist/ionic/p-8d7bc281.system.entry.js +0 -4
  1130. package/dist/ionic/p-931d77d5.entry.js +0 -4
  1131. package/dist/ionic/p-95c2258a.entry.js +0 -4
  1132. package/dist/ionic/p-974aaf78.entry.js +0 -4
  1133. package/dist/ionic/p-99ab41a8.system.entry.js +0 -4
  1134. package/dist/ionic/p-9abdb4a7.system.entry.js +0 -4
  1135. package/dist/ionic/p-9e4ede77.system.entry.js +0 -4
  1136. package/dist/ionic/p-9e8e25e4.system.js +0 -4
  1137. package/dist/ionic/p-9e9bff83.system.js +0 -4
  1138. package/dist/ionic/p-9f51595b.entry.js +0 -4
  1139. package/dist/ionic/p-9fa0b117.entry.js +0 -4
  1140. package/dist/ionic/p-9fcaadad.system.entry.js +0 -4
  1141. package/dist/ionic/p-a856dbc6.entry.js +0 -4
  1142. package/dist/ionic/p-a9af4103.js +0 -4
  1143. package/dist/ionic/p-aacc6ddd.system.js +0 -5
  1144. package/dist/ionic/p-ab6e0f02.system.entry.js +0 -4
  1145. package/dist/ionic/p-adaa7af1.entry.js +0 -4
  1146. package/dist/ionic/p-b19a9aa9.system.js +0 -4
  1147. package/dist/ionic/p-b297c7b5.system.js +0 -4
  1148. package/dist/ionic/p-b5bf8a04.entry.js +0 -4
  1149. package/dist/ionic/p-b6fc8ee2.system.entry.js +0 -4
  1150. package/dist/ionic/p-ba3ddec4.js +0 -4
  1151. package/dist/ionic/p-bad792a6.entry.js +0 -4
  1152. package/dist/ionic/p-bd50f24e.system.entry.js +0 -4
  1153. package/dist/ionic/p-c08a9937.system.entry.js +0 -4
  1154. package/dist/ionic/p-c248c88d.system.js +0 -4
  1155. package/dist/ionic/p-c24ff776.system.entry.js +0 -4
  1156. package/dist/ionic/p-c6191942.js +0 -4
  1157. package/dist/ionic/p-c6e47379.entry.js +0 -4
  1158. package/dist/ionic/p-c7e967c0.system.entry.js +0 -4
  1159. package/dist/ionic/p-c8097757.system.entry.js +0 -4
  1160. package/dist/ionic/p-c8f207d8.entry.js +0 -4
  1161. package/dist/ionic/p-cb131dda.system.entry.js +0 -4
  1162. package/dist/ionic/p-d0259f44.system.js +0 -4
  1163. package/dist/ionic/p-d0953ec9.system.entry.js +0 -4
  1164. package/dist/ionic/p-d10313a6.system.js +0 -4
  1165. package/dist/ionic/p-d2ef848a.entry.js +0 -4
  1166. package/dist/ionic/p-d346c889.system.entry.js +0 -4
  1167. package/dist/ionic/p-d67b88b0.system.entry.js +0 -4
  1168. package/dist/ionic/p-d8b501bd.system.entry.js +0 -4
  1169. package/dist/ionic/p-da968066.entry.js +0 -4
  1170. package/dist/ionic/p-db8aeb40.system.js +0 -4
  1171. package/dist/ionic/p-dd50ef12.js +0 -4
  1172. package/dist/ionic/p-df668729.entry.js +0 -4
  1173. package/dist/ionic/p-e270862e.js +0 -4
  1174. package/dist/ionic/p-e3b70846.system.js +0 -4
  1175. package/dist/ionic/p-e51ff133.system.entry.js +0 -4
  1176. package/dist/ionic/p-e5239905.system.entry.js +0 -4
  1177. package/dist/ionic/p-eeb60a8f.entry.js +0 -4
  1178. package/dist/ionic/p-eec767ca.entry.js +0 -4
  1179. package/dist/ionic/p-f065578f.js +0 -4
  1180. package/dist/ionic/p-f0d3419a.entry.js +0 -4
  1181. package/dist/ionic/p-f4ae533b.js +0 -4
  1182. package/dist/ionic/p-f61ce679.js +0 -4
  1183. package/dist/ionic/p-fbcb3139.entry.js +0 -4
  1184. package/dist/ionic/p-fca5d1b1.system.entry.js +0 -4
  1185. package/dist/ionic/p-ffa51f41.system.entry.js +0 -4
  1186. /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../src/css/text-alignment.scss","../src/themes/mixins.scss"],"names":[],"mappings":"AAaI,iBACE,6BAGF,kBACE,8BAGF,gBACE,4BAGF,cACE,0BAGF,eACE,2BAGF,gBACE,4BAGF,iBACE,8BAGF,eACE,8BCiIF,yBD9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BCiIF,yBD9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BCiIF,yBD9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BCiIF,0BD9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE","file":"text-alignment.css","sourcesContent":["@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Text Alignment\n// --------------------------------------------------\n// Creates text alignment attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for aligning the text based\n // on the breakpoint\n .ion-text#{$infix}-center {\n text-align: center !important;\n }\n\n .ion-text#{$infix}-justify {\n text-align: justify !important;\n }\n\n .ion-text#{$infix}-start {\n text-align: start !important;\n }\n\n .ion-text#{$infix}-end {\n text-align: end !important;\n }\n\n .ion-text#{$infix}-left {\n text-align: left !important;\n }\n\n .ion-text#{$infix}-right {\n text-align: right !important;\n }\n\n .ion-text#{$infix}-nowrap {\n white-space: nowrap !important;\n }\n\n .ion-text#{$infix}-wrap {\n white-space: normal !important;\n }\n }\n}\n","@use \"./functions.string\" as string;\n\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n\n outline: none;\n\n background: transparent;\n\n cursor: pointer;\n\n appearance: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n\n padding: 0;\n\n border: 0;\n\n outline: 0;\n\n opacity: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n color: inherit;\n\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n\n letter-spacing: inherit;\n\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n\n white-space: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n\n @return if($max and $max > 0, $max - 0.02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: string.str-split($root, \",\");\n $selectors: #{string.add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: string.str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{string.add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n right: $end;\n left: $start;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, \"translate3d(\");\n $transform: str-replace($transform, \")\");\n\n $coordinates: str-split($transform, \",\");\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == \"0\" or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n"]}
1
+ {"version":3,"sourceRoot":"","sources":["../src/css/text-alignment.scss","../src/themes/ionic.mixins.scss"],"names":[],"mappings":"AAaI,iBACE,6BAGF,kBACE,8BAGF,gBACE,4BAGF,cACE,0BAGF,eACE,2BAGF,gBACE,4BAGF,iBACE,8BAGF,eACE,8BCuHF,yBDpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BCuHF,yBDpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BCuHF,yBDpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BCuHF,0BDpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE","file":"text-alignment.css","sourcesContent":["@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n// Text Alignment\n// --------------------------------------------------\n// Creates text alignment attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for aligning the text based\n // on the breakpoint\n .ion-text#{$infix}-center {\n text-align: center !important;\n }\n\n .ion-text#{$infix}-justify {\n text-align: justify !important;\n }\n\n .ion-text#{$infix}-start {\n text-align: start !important;\n }\n\n .ion-text#{$infix}-end {\n text-align: end !important;\n }\n\n .ion-text#{$infix}-left {\n text-align: left !important;\n }\n\n .ion-text#{$infix}-right {\n text-align: right !important;\n }\n\n .ion-text#{$infix}-nowrap {\n white-space: nowrap !important;\n }\n\n .ion-text#{$infix}-wrap {\n white-space: normal !important;\n }\n }\n}\n","\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n background: transparent;\n cursor: pointer;\n\n appearance: none;\n outline: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n padding: 0;\n\n border: 0;\n outline: 0;\n clip: rect(0 0 0 0);\n\n opacity: 0;\n overflow: hidden;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n @return if($max and $max > 0, $max - .02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: str-split($root, \",\");\n $selectors: #{add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr () {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n left: $start;\n right: $end;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, 'translate3d(');\n $transform: str-replace($transform, ')');\n\n $coordinates: str-split($transform, ',');\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == '0' or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../src/css/text-transformation.scss","../src/themes/mixins.scss"],"names":[],"mappings":"AAaI,oBAEE,oCAGF,oBAEE,oCAGF,qBAEE,qCCkJF,yBD9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCkJF,yBD9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCkJF,yBD9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCkJF,0BD9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE","file":"text-transformation.css","sourcesContent":["@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Text Transformation\n// --------------------------------------------------\n// Creates text transform attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for transforming the text based\n // on the breakpoint\n .ion-text#{$infix}-uppercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: uppercase !important;\n }\n\n .ion-text#{$infix}-lowercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: lowercase !important;\n }\n\n .ion-text#{$infix}-capitalize {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: capitalize !important;\n }\n }\n}\n","@use \"./functions.string\" as string;\n\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n\n outline: none;\n\n background: transparent;\n\n cursor: pointer;\n\n appearance: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n\n padding: 0;\n\n border: 0;\n\n outline: 0;\n\n opacity: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n color: inherit;\n\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n\n letter-spacing: inherit;\n\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n\n white-space: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n\n @return if($max and $max > 0, $max - 0.02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: string.str-split($root, \",\");\n $selectors: #{string.add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: string.str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{string.add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n right: $end;\n left: $start;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, \"translate3d(\");\n $transform: str-replace($transform, \")\");\n\n $coordinates: str-split($transform, \",\");\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == \"0\" or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n"]}
1
+ {"version":3,"sourceRoot":"","sources":["../src/css/text-transformation.scss","../src/themes/ionic.mixins.scss"],"names":[],"mappings":"AAaI,oBAEE,oCAGF,oBAEE,oCAGF,qBAEE,qCCwIF,yBDpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCwIF,yBDpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCwIF,yBDpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCwIF,0BDpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE","file":"text-transformation.css","sourcesContent":["@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n// Text Transformation\n// --------------------------------------------------\n// Creates text transform attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for transforming the text based\n // on the breakpoint\n .ion-text#{$infix}-uppercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: uppercase !important;\n }\n\n .ion-text#{$infix}-lowercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: lowercase !important;\n }\n\n .ion-text#{$infix}-capitalize {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: capitalize !important;\n }\n }\n}\n","\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n background: transparent;\n cursor: pointer;\n\n appearance: none;\n outline: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n padding: 0;\n\n border: 0;\n outline: 0;\n clip: rect(0 0 0 0);\n\n opacity: 0;\n overflow: hidden;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n @return if($max and $max > 0, $max - .02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: str-split($root, \",\");\n $selectors: #{add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr () {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n left: $start;\n right: $end;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, 'translate3d(');\n $transform: str-replace($transform, ')');\n\n $coordinates: str-split($transform, ',');\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == '0' or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../src/css/typography.scss","../src/themes/mixins.scss"],"names":[],"mappings":"AA8BA,KACE,mCAOF,uCACE,KAIE,2DAIJ,EACE,6BACA,wCAGF,kBCqTE,WD/SgB,KCgThB,cDhT4B,KAE5B,YArDqB,IAuDrB,YApDqB,IAuDvB,GCwSE,WDvSgB,KAEhB,UAvDa,SA0Df,GCkSE,WDjSgB,KAEhB,UA1Da,OA6Df,GACE,UA3Da,SA8Df,GACE,UA5Da,QA+Df,GACE,UA7Da,SAgEf,GACE,UA9Da,KAiEf,MACE,cAGF,QAEE,kBAEA,cAEA,cAEA,wBAGF,IACE,WAGF,IACE","file":"typography.css","sourcesContent":["@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Typography\n// --------------------------------------------------\n\n/// @prop - Font weight of all headings\n$headings-font-weight: 500;\n\n/// @prop - Line height of all headings\n$headings-line-height: 1.2;\n\n/// @prop - Font size of heading level 1\n$h1-font-size: dynamic-font(26px);\n\n/// @prop - Font size of heading level 2\n$h2-font-size: dynamic-font(24px);\n\n/// @prop - Font size of heading level 3\n$h3-font-size: dynamic-font(22px);\n\n/// @prop - Font size of heading level 4\n$h4-font-size: dynamic-font(20px);\n\n/// @prop - Font size of heading level 5\n$h5-font-size: dynamic-font(18px);\n\n/// @prop - Font size of heading level 6\n$h6-font-size: dynamic-font(16px);\n\nhtml {\n font-family: var(--ion-font-family);\n}\n\n/**\n * Dynamic Type is an iOS-only feature, so\n * this should only be enabled on iOS devices.\n */\n@supports (-webkit-touch-callout: none) {\n html {\n /**\n * Includes fallback if Dynamic Type is not enabled.\n */\n font: var(--ion-dynamic-font, 16px var(--ion-font-family));\n }\n}\n\na {\n background-color: transparent;\n color: ion-color(primary, base);\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n @include margin(16px, null, 10px, null);\n\n font-weight: $headings-font-weight;\n\n line-height: $headings-line-height;\n}\n\nh1 {\n @include margin(20px, null, null, null);\n\n font-size: $h1-font-size;\n}\n\nh2 {\n @include margin(18px, null, null, null);\n\n font-size: $h2-font-size;\n}\n\nh3 {\n font-size: $h3-font-size;\n}\n\nh4 {\n font-size: $h4-font-size;\n}\n\nh5 {\n font-size: $h5-font-size;\n}\n\nh6 {\n font-size: $h6-font-size;\n}\n\nsmall {\n font-size: 75%;\n}\n\nsub,\nsup {\n position: relative;\n\n font-size: 75%;\n\n line-height: 0;\n\n vertical-align: baseline;\n}\n\nsup {\n top: -0.5em;\n}\n\nsub {\n bottom: -0.25em;\n}\n","@use \"./functions.string\" as string;\n\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n\n outline: none;\n\n background: transparent;\n\n cursor: pointer;\n\n appearance: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n\n padding: 0;\n\n border: 0;\n\n outline: 0;\n\n opacity: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n color: inherit;\n\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n\n letter-spacing: inherit;\n\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n\n white-space: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n\n @return if($max and $max > 0, $max - 0.02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: string.str-split($root, \",\");\n $selectors: #{string.add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: string.str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{string.add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n right: $end;\n left: $start;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, \"translate3d(\");\n $transform: str-replace($transform, \")\");\n\n $coordinates: str-split($transform, \",\");\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == \"0\" or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n"]}
1
+ {"version":3,"sourceRoot":"","sources":["../src/css/typography.scss","../src/themes/ionic.mixins.scss"],"names":[],"mappings":"AA8BA,KACE,mCAOF,uCACE,KAIE,2DAIJ,EACE,6BACA,wCAGF,kBC0SE,WDpSgB,KCqShB,cDrS4B,KAE5B,YArD6B,IAuD7B,YApD6B,IAuD/B,GC6RE,WD5RgB,KAEhB,UAvD6B,SA0D/B,GCuRE,WDtRgB,KAEhB,UA1D6B,OA6D/B,GACE,UA3D6B,SA8D/B,GACE,UA5D6B,QA+D/B,GACE,UA7D6B,SAgE/B,GACE,UA9D6B,KAiE/B,MACE,cAGF,QAEE,kBAEA,cAEA,cAEA,wBAGF,IACE,WAGF,IACE","file":"typography.css","sourcesContent":["@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n// Typography\n// --------------------------------------------------\n\n/// @prop - Font weight of all headings\n$headings-font-weight: 500;\n\n/// @prop - Line height of all headings\n$headings-line-height: 1.2;\n\n/// @prop - Font size of heading level 1\n$h1-font-size: dynamic-font(26px);\n\n/// @prop - Font size of heading level 2\n$h2-font-size: dynamic-font(24px);\n\n/// @prop - Font size of heading level 3\n$h3-font-size: dynamic-font(22px);\n\n/// @prop - Font size of heading level 4\n$h4-font-size: dynamic-font(20px);\n\n/// @prop - Font size of heading level 5\n$h5-font-size: dynamic-font(18px);\n\n/// @prop - Font size of heading level 6\n$h6-font-size: dynamic-font(16px);\n\nhtml {\n font-family: var(--ion-font-family);\n}\n\n/**\n * Dynamic Type is an iOS-only feature, so\n * this should only be enabled on iOS devices.\n */\n@supports (-webkit-touch-callout: none) {\n html {\n /**\n * Includes fallback if Dynamic Type is not enabled.\n */\n font: var(--ion-dynamic-font, 16px var(--ion-font-family));\n }\n}\n\na {\n background-color: transparent;\n color: ion-color(primary, base);\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n @include margin(16px, null, 10px, null);\n\n font-weight: $headings-font-weight;\n\n line-height: $headings-line-height;\n}\n\nh1 {\n @include margin(20px, null, null, null);\n\n font-size: $h1-font-size;\n}\n\nh2 {\n @include margin(18px, null, null, null);\n\n font-size: $h2-font-size;\n}\n\nh3 {\n font-size: $h3-font-size;\n}\n\nh4 {\n font-size: $h4-font-size;\n}\n\nh5 {\n font-size: $h5-font-size;\n}\n\nh6 {\n font-size: $h6-font-size;\n}\n\nsmall {\n font-size: 75%;\n}\n\nsub,\nsup {\n position: relative;\n\n font-size: 75%;\n\n line-height: 0;\n\n vertical-align: baseline;\n}\n\nsup {\n top: -.5em;\n}\n\nsub {\n bottom: -.25em;\n}\n","\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n background: transparent;\n cursor: pointer;\n\n appearance: none;\n outline: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n padding: 0;\n\n border: 0;\n outline: 0;\n clip: rect(0 0 0 0);\n\n opacity: 0;\n overflow: hidden;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n @return if($max and $max > 0, $max - .02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: str-split($root, \",\");\n $selectors: #{add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr () {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n left: $start;\n right: $end;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, 'translate3d(');\n $transform: str-replace($transform, ')');\n\n $coordinates: str-split($transform, ',');\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == '0' or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../src/css/padding.scss","../src/themes/mixins.scss","../src/css/float-elements.scss","../src/css/text-alignment.scss","../src/css/text-transformation.scss","../src/css/flex-utils.scss","../src/css/display.scss"],"names":[],"mappings":"AAcA,gBACE,mBACA,iBACA,iBACA,oBCmUE,aDjUe,ECkUf,cDlUe,ECqVjB,YDrViB,ECsVjB,eDtViB,EAGnB,aACE,0CACA,wCACA,wCACA,2CC6TE,sBDhVM,yBCiVN,qBDjVM,yBCkVN,oBDlVM,yBCmVN,mBDnVM,yBCiWR,YDjWQ,yBCkWR,eDlWQ,yBAwBV,iBACE,wCCwUA,YDjWQ,yBA8BV,mBACE,0CCiTE,sBDhVM,yBCiVN,qBDjVM,yBAoCV,iBACE,wCC6SE,oBDlVM,yBCmVN,mBDnVM,yBA0CV,oBACE,2CCuTA,eDlWQ,yBAgDV,sBACE,wCACA,2CC+SA,YDjWQ,yBCkWR,eDlWQ,yBAuDV,wBACE,0CACA,wCCuRE,sBDhVM,yBCiVN,qBDjVM,yBCkVN,oBDlVM,yBCmVN,mBDnVM,yBAiEV,eACE,kBACA,gBACA,gBACA,mBCwQE,YDtQc,ECuQd,aDvQc,EC0RhB,WD1RgB,EC2RhB,cD3RgB,EAGlB,YACE,wCACA,sCACA,sCACA,yCCkQE,qBD/UK,wBCgVL,oBDhVK,wBCiVL,mBDjVK,wBCkVL,kBDlVK,wBCgWP,WDhWO,wBCiWP,cDjWO,wBAkFT,gBACE,sCC6QA,WDhWO,wBAwFT,kBACE,wCCsPE,qBD/UK,wBCgVL,oBDhVK,wBA8FT,gBACE,sCCkPE,mBDjVK,wBCkVL,kBDlVK,wBAoGT,mBACE,yCC4PA,cDjWO,wBA0GT,qBACE,sCACA,yCCoPA,WDhWO,wBCiWP,cDjWO,wBAiHT,uBACE,wCACA,sCC4NE,qBD/UK,wBCgVL,oBDhVK,wBCiVL,mBDjVK,wBCkVL,kBDlVK,wBEIL,gBDyeE,sBCreF,iBDqeE,uBCjeF,iBDidE,sBAzNO,0CA6NP,uBAtNO,2BAsNP,uBAhNJ,8BAcW,0BAkMP,wBCjdF,eDqdE,uBAjOO,wCAqOP,sBA9NO,yBA8NP,sBAxNJ,8BAcW,wBA0MP,uBAvUF,yBC9JA,mBDyeE,sBCreF,oBDqeE,uBCjeF,oBDidE,sBAzNO,6CA6NP,uBAtNO,8BAsNP,uBAhNJ,8BAcW,6BAkMP,wBCjdF,kBDqdE,uBAjOO,2CAqOP,sBA9NO,4BA8NP,sBAxNJ,8BAcW,2BA0MP,wBAvUF,yBC9JA,mBDyeE,sBCreF,oBDqeE,uBCjeF,oBDidE,sBAzNO,6CA6NP,uBAtNO,8BAsNP,uBAhNJ,8BAcW,6BAkMP,wBCjdF,kBDqdE,uBAjOO,2CAqOP,sBA9NO,4BA8NP,sBAxNJ,8BAcW,2BA0MP,wBAvUF,yBC9JA,mBDyeE,sBCreF,oBDqeE,uBCjeF,oBDidE,sBAzNO,6CA6NP,uBAtNO,8BAsNP,uBAhNJ,8BAcW,6BAkMP,wBCjdF,kBDqdE,uBAjOO,2CAqOP,sBA9NO,4BA8NP,sBAxNJ,8BAcW,2BA0MP,wBAvUF,0BC9JA,mBDyeE,sBCreF,oBDqeE,uBCjeF,oBDidE,sBAzNO,6CA6NP,uBAtNO,8BAsNP,uBAhNJ,8BAcW,6BAkMP,wBCjdF,kBDqdE,uBAjOO,2CAqOP,sBA9NO,4BA8NP,sBAxNJ,8BAcW,2BA0MP,wBEreF,iBACE,6BAGF,kBACE,8BAGF,gBACE,4BAGF,cACE,0BAGF,eACE,2BAGF,gBACE,4BAGF,iBACE,8BAGF,eACE,8BFiIF,yBE9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BFiIF,yBE9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BFiIF,yBE9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BFiIF,0BE9JA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BC7BF,oBAEE,oCAGF,oBAEE,oCAGF,qBAEE,qCHkJF,yBG9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCHkJF,yBG9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCHkJF,yBG9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCHkJF,0BG9JA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCjBN,sBACE,iCAGF,oBACE,+BAGF,uBACE,6BAGF,wBACE,8BAGF,yBACE,+BAGF,qBACE,2BAMF,UACE,0BAGF,YACE,4BAGF,kBACE,kCAMF,2BACE,sCAGF,4BACE,kCAGF,yBACE,oCAGF,4BACE,wCAGF,6BACE,yCAGF,4BACE,wCAMF,uBACE,kCAGF,wBACE,8BAGF,qBACE,gCAGF,yBACE,+BAGF,0BACE,gCCvFF,UACE,wBAUE,aACE,wBAOF,eACE,wBLgJF,yBKzJA,gBACE,yBLoMF,4BK7LA,kBACE,yBLgJF,yBKzJA,gBACE,yBLoMF,4BK7LA,kBACE,yBLgJF,yBKzJA,gBACE,yBLoMF,4BK7LA,kBACE,yBLgJF,0BKzJA,gBACE,yBLoMF,6BK7LA,kBACE","file":"utils.bundle.css","sourcesContent":["@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Element Space\n// --------------------------------------------------\n// Creates padding and margin attributes to be used on\n// any element\n\n$padding: var(--ion-padding, 16px);\n$margin: var(--ion-margin, 16px);\n\n// Padding\n// --------------------------------------------------\n\n.ion-no-padding {\n --padding-start: 0;\n --padding-end: 0;\n --padding-top: 0;\n --padding-bottom: 0;\n\n @include padding(0);\n}\n\n.ion-padding {\n --padding-start: #{$padding};\n --padding-end: #{$padding};\n --padding-top: #{$padding};\n --padding-bottom: #{$padding};\n\n @include padding($padding);\n}\n\n.ion-padding-top {\n --padding-top: #{$padding};\n\n @include padding($padding, null, null, null);\n}\n\n.ion-padding-start {\n --padding-start: #{$padding};\n\n @include padding-horizontal($padding, null);\n}\n\n.ion-padding-end {\n --padding-end: #{$padding};\n\n @include padding-horizontal(null, $padding);\n}\n\n.ion-padding-bottom {\n --padding-bottom: #{$padding};\n\n @include padding(null, null, $padding, null);\n}\n\n.ion-padding-vertical {\n --padding-top: #{$padding};\n --padding-bottom: #{$padding};\n\n @include padding($padding, null, $padding, null);\n}\n\n.ion-padding-horizontal {\n --padding-start: #{$padding};\n --padding-end: #{$padding};\n\n @include padding-horizontal($padding);\n}\n\n// Margin\n// --------------------------------------------------\n\n.ion-no-margin {\n --margin-start: 0;\n --margin-end: 0;\n --margin-top: 0;\n --margin-bottom: 0;\n\n @include margin(0);\n}\n\n.ion-margin {\n --margin-start: #{$margin};\n --margin-end: #{$margin};\n --margin-top: #{$margin};\n --margin-bottom: #{$margin};\n\n @include margin($margin);\n}\n\n.ion-margin-top {\n --margin-top: #{$margin};\n\n @include margin($margin, null, null, null);\n}\n\n.ion-margin-start {\n --margin-start: #{$margin};\n\n @include margin-horizontal($margin, null);\n}\n\n.ion-margin-end {\n --margin-end: #{$margin};\n\n @include margin-horizontal(null, $margin);\n}\n\n.ion-margin-bottom {\n --margin-bottom: #{$margin};\n\n @include margin(null, null, $margin, null);\n}\n\n.ion-margin-vertical {\n --margin-top: #{$margin};\n --margin-bottom: #{$margin};\n\n @include margin($margin, null, $margin, null);\n}\n\n.ion-margin-horizontal {\n --margin-start: #{$margin};\n --margin-end: #{$margin};\n\n @include margin-horizontal($margin);\n}\n","@use \"./functions.string\" as string;\n\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n\n outline: none;\n\n background: transparent;\n\n cursor: pointer;\n\n appearance: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n\n padding: 0;\n\n border: 0;\n\n outline: 0;\n\n opacity: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n color: inherit;\n\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n\n letter-spacing: inherit;\n\n text-align: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n\n white-space: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n\n @return if($max and $max > 0, $max - 0.02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: string.str-split($root, \",\");\n $selectors: #{string.add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: string.str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{string.add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n right: $end;\n left: $start;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, \"translate3d(\");\n $transform: str-replace($transform, \")\");\n\n $coordinates: str-split($transform, \",\");\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == \"0\" or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n","@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Float Elements\n// --------------------------------------------------\n// Creates float classes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-float-{bp}-{side}` classes for floating the element based\n // on the breakpoint and side\n .ion-float#{$infix}-left {\n @include float(left, !important);\n }\n\n .ion-float#{$infix}-right {\n @include float(right, !important);\n }\n\n .ion-float#{$infix}-start {\n @include float(start, !important);\n }\n\n .ion-float#{$infix}-end {\n @include float(end, !important);\n }\n }\n}\n","@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Text Alignment\n// --------------------------------------------------\n// Creates text alignment attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for aligning the text based\n // on the breakpoint\n .ion-text#{$infix}-center {\n text-align: center !important;\n }\n\n .ion-text#{$infix}-justify {\n text-align: justify !important;\n }\n\n .ion-text#{$infix}-start {\n text-align: start !important;\n }\n\n .ion-text#{$infix}-end {\n text-align: end !important;\n }\n\n .ion-text#{$infix}-left {\n text-align: left !important;\n }\n\n .ion-text#{$infix}-right {\n text-align: right !important;\n }\n\n .ion-text#{$infix}-nowrap {\n white-space: nowrap !important;\n }\n\n .ion-text#{$infix}-wrap {\n white-space: normal !important;\n }\n }\n}\n","@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Text Transformation\n// --------------------------------------------------\n// Creates text transform attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for transforming the text based\n // on the breakpoint\n .ion-text#{$infix}-uppercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: uppercase !important;\n }\n\n .ion-text#{$infix}-lowercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: lowercase !important;\n }\n\n .ion-text#{$infix}-capitalize {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: capitalize !important;\n }\n }\n}\n","// Flex Utilities\n// --------------------------------------------------\n// Creates flex classes to align flex containers\n// and items\n\n// Align Self\n// --------------------------------------------------\n\n.ion-align-self-start {\n align-self: flex-start !important;\n}\n\n.ion-align-self-end {\n align-self: flex-end !important;\n}\n\n.ion-align-self-center {\n align-self: center !important;\n}\n\n.ion-align-self-stretch {\n align-self: stretch !important;\n}\n\n.ion-align-self-baseline {\n align-self: baseline !important;\n}\n\n.ion-align-self-auto {\n align-self: auto !important;\n}\n\n// Flex Wrap\n// --------------------------------------------------\n\n.ion-wrap {\n flex-wrap: wrap !important;\n}\n\n.ion-nowrap {\n flex-wrap: nowrap !important;\n}\n\n.ion-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n// Justify Content\n// --------------------------------------------------\n\n.ion-justify-content-start {\n justify-content: flex-start !important;\n}\n\n.ion-justify-content-center {\n justify-content: center !important;\n}\n\n.ion-justify-content-end {\n justify-content: flex-end !important;\n}\n\n.ion-justify-content-around {\n justify-content: space-around !important;\n}\n\n.ion-justify-content-between {\n justify-content: space-between !important;\n}\n\n.ion-justify-content-evenly {\n justify-content: space-evenly !important;\n}\n\n// Align Items\n// --------------------------------------------------\n\n.ion-align-items-start {\n align-items: flex-start !important;\n}\n\n.ion-align-items-center {\n align-items: center !important;\n}\n\n.ion-align-items-end {\n align-items: flex-end !important;\n}\n\n.ion-align-items-stretch {\n align-items: stretch !important;\n}\n\n.ion-align-items-baseline {\n align-items: baseline !important;\n}\n","@import \"../themes/native/native.globals\";\n@import \"../themes/mixins\";\n\n// Display\n// --------------------------------------------------\n// Modifies display of a particular element based on the given classes\n\n.ion-hide {\n display: none !important;\n}\n\n// Adds hidden classes\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `ion-hide-{bp}-up` classes for hiding the element based\n // on the breakpoint\n .ion-hide#{$infix}-up {\n display: none !important;\n }\n }\n\n @include media-breakpoint-down($breakpoint, $screen-breakpoints) {\n // Provide `ion-hide-{bp}-down` classes for hiding the element based\n // on the breakpoint\n .ion-hide#{$infix}-down {\n display: none !important;\n }\n }\n}\n"]}
1
+ {"version":3,"sourceRoot":"","sources":["../src/css/padding.scss","../src/themes/ionic.mixins.scss","../src/css/float-elements.scss","../src/css/text-alignment.scss","../src/css/text-transformation.scss","../src/css/flex-utils.scss","../src/css/display.scss"],"names":[],"mappings":"AAeA,gBACE,mBACA,iBACA,iBACA,oBCsTE,aDpTe,ECqTf,cDrTe,ECyUjB,YDzUiB,EC0UjB,eD1UiB,EAGnB,aACE,0CACA,wCACA,wCACA,2CCiTE,sBDpUM,yBCqUN,qBDrUM,yBCsUN,oBDtUM,yBCuUN,mBDvUM,yBCqVR,YDrVQ,yBCsVR,eDtVQ,yBAwBV,iBACE,wCC4TA,YDrVQ,yBA8BV,mBACE,0CCqSE,sBDpUM,yBCqUN,qBDrUM,yBAoCV,iBACE,wCCiSE,oBDtUM,yBCuUN,mBDvUM,yBA0CV,oBACE,2CC2SA,eDtVQ,yBAgDV,sBACE,wCACA,2CCmSA,YDrVQ,yBCsVR,eDtVQ,yBAuDV,wBACE,0CACA,wCC2QE,sBDpUM,yBCqUN,qBDrUM,yBCsUN,oBDtUM,yBCuUN,mBDvUM,yBAkEV,eACE,kBACA,gBACA,gBACA,mBC0PE,YDxPc,ECyPd,aDzPc,EC6QhB,WD7QgB,EC8QhB,cD9QgB,EAGlB,YACE,wCACA,sCACA,sCACA,yCCqPE,qBDnUK,wBCoUL,oBDpUK,wBCqUL,mBDrUK,wBCsUL,kBDtUK,wBCoVP,WDpVO,wBCqVP,cDrVO,wBAmFT,gBACE,sCCgQA,WDpVO,wBAyFT,kBACE,wCCyOE,qBDnUK,wBCoUL,oBDpUK,wBA+FT,gBACE,sCCqOE,mBDrUK,wBCsUL,kBDtUK,wBAqGT,mBACE,yCC+OA,cDrVO,wBA2GT,qBACE,sCACA,yCCuOA,WDpVO,wBCqVP,cDrVO,wBAkHT,uBACE,wCACA,sCC+ME,qBDnUK,wBCoUL,oBDpUK,wBCqUL,mBDrUK,wBCsUL,kBDtUK,wBEGL,gBD2dE,sBCvdF,iBDudE,uBCndF,iBDqcE,sBAzNO,0CA4NP,uBArNO,2BAqNP,uBA/MJ,8BAcW,0BAiMP,wBCpcF,eDwcE,uBAhOO,wCAmOP,sBA5NO,yBA4NP,sBAtNJ,8BAcW,wBAwMP,uBAnUF,yBCpJA,mBD2dE,sBCvdF,oBDudE,uBCndF,oBDqcE,sBAzNO,6CA4NP,uBArNO,8BAqNP,uBA/MJ,8BAcW,6BAiMP,wBCpcF,kBDwcE,uBAhOO,2CAmOP,sBA5NO,4BA4NP,sBAtNJ,8BAcW,2BAwMP,wBAnUF,yBCpJA,mBD2dE,sBCvdF,oBDudE,uBCndF,oBDqcE,sBAzNO,6CA4NP,uBArNO,8BAqNP,uBA/MJ,8BAcW,6BAiMP,wBCpcF,kBDwcE,uBAhOO,2CAmOP,sBA5NO,4BA4NP,sBAtNJ,8BAcW,2BAwMP,wBAnUF,yBCpJA,mBD2dE,sBCvdF,oBDudE,uBCndF,oBDqcE,sBAzNO,6CA4NP,uBArNO,8BAqNP,uBA/MJ,8BAcW,6BAiMP,wBCpcF,kBDwcE,uBAhOO,2CAmOP,sBA5NO,4BA4NP,sBAtNJ,8BAcW,2BAwMP,wBAnUF,0BCpJA,mBD2dE,sBCvdF,oBDudE,uBCndF,oBDqcE,sBAzNO,6CA4NP,uBArNO,8BAqNP,uBA/MJ,8BAcW,6BAiMP,wBCpcF,kBDwcE,uBAhOO,2CAmOP,sBA5NO,4BA4NP,sBAtNJ,8BAcW,2BAwMP,wBEvdF,iBACE,6BAGF,kBACE,8BAGF,gBACE,4BAGF,cACE,0BAGF,eACE,2BAGF,gBACE,4BAGF,iBACE,8BAGF,eACE,8BFuHF,yBEpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BFuHF,yBEpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BFuHF,yBEpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BFuHF,0BEpJA,oBACE,6BAGF,qBACE,8BAGF,mBACE,4BAGF,iBACE,0BAGF,kBACE,2BAGF,mBACE,4BAGF,oBACE,8BAGF,kBACE,+BC7BF,oBAEE,oCAGF,oBAEE,oCAGF,qBAEE,qCHwIF,yBGpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCHwIF,yBGpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCHwIF,yBGpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCHwIF,0BGpJA,uBAEE,oCAGF,uBAEE,oCAGF,wBAEE,sCCjBN,sBACE,iCAGF,oBACE,+BAGF,uBACE,6BAGF,wBACE,8BAGF,yBACE,+BAGF,qBACE,2BAOF,UACE,0BAGF,YACE,4BAGF,kBACE,kCAOF,2BACE,sCAGF,4BACE,kCAGF,yBACE,oCAGF,4BACE,wCAGF,6BACE,yCAGF,4BACE,wCAOF,uBACE,kCAGF,wBACE,8BAGF,qBACE,gCAGF,yBACE,+BAGF,0BACE,gCC1FF,UACE,wBAUE,aACE,wBAOF,eACE,wBLsIF,yBK/IA,gBACE,yBLuLF,4BKhLA,kBACE,yBLsIF,yBK/IA,gBACE,yBLuLF,4BKhLA,kBACE,yBLsIF,yBK/IA,gBACE,yBLuLF,4BKhLA,kBACE,yBLsIF,0BK/IA,gBACE,yBLuLF,6BKhLA,kBACE","file":"utils.bundle.css","sourcesContent":["@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n\n// Element Space\n// --------------------------------------------------\n// Creates padding and margin attributes to be used on\n// any element\n\n$padding: var(--ion-padding, 16px);\n$margin: var(--ion-margin, 16px);\n\n// Padding\n// --------------------------------------------------\n\n.ion-no-padding {\n --padding-start: 0;\n --padding-end: 0;\n --padding-top: 0;\n --padding-bottom: 0;\n\n @include padding(0);\n}\n\n.ion-padding {\n --padding-start: #{$padding};\n --padding-end: #{$padding};\n --padding-top: #{$padding};\n --padding-bottom: #{$padding};\n\n @include padding($padding);\n}\n\n.ion-padding-top {\n --padding-top: #{$padding};\n\n @include padding($padding, null, null, null);\n}\n\n.ion-padding-start {\n --padding-start: #{$padding};\n\n @include padding-horizontal($padding, null);\n}\n\n.ion-padding-end {\n --padding-end: #{$padding};\n\n @include padding-horizontal(null, $padding);\n}\n\n.ion-padding-bottom {\n --padding-bottom: #{$padding};\n\n @include padding(null, null, $padding, null);\n}\n\n.ion-padding-vertical {\n --padding-top: #{$padding};\n --padding-bottom: #{$padding};\n\n @include padding($padding, null, $padding, null);\n}\n\n.ion-padding-horizontal {\n --padding-start: #{$padding};\n --padding-end: #{$padding};\n\n @include padding-horizontal($padding);\n}\n\n\n// Margin\n// --------------------------------------------------\n\n.ion-no-margin {\n --margin-start: 0;\n --margin-end: 0;\n --margin-top: 0;\n --margin-bottom: 0;\n\n @include margin(0);\n}\n\n.ion-margin {\n --margin-start: #{$margin};\n --margin-end: #{$margin};\n --margin-top: #{$margin};\n --margin-bottom: #{$margin};\n\n @include margin($margin);\n}\n\n.ion-margin-top {\n --margin-top: #{$margin};\n\n @include margin($margin, null, null, null);\n}\n\n.ion-margin-start {\n --margin-start: #{$margin};\n\n @include margin-horizontal($margin, null);\n}\n\n.ion-margin-end {\n --margin-end: #{$margin};\n\n @include margin-horizontal(null, $margin);\n}\n\n.ion-margin-bottom {\n --margin-bottom: #{$margin};\n\n @include margin(null, null, $margin, null);\n}\n\n.ion-margin-vertical {\n --margin-top: #{$margin};\n --margin-bottom: #{$margin};\n\n @include margin($margin, null, $margin, null);\n}\n\n.ion-margin-horizontal {\n --margin-start: #{$margin};\n --margin-end: #{$margin};\n\n @include margin-horizontal($margin);\n}\n","\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n@mixin tablet-viewport() {\n @media screen and (min-width: 768px) {\n @content;\n }\n}\n\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n@mixin mobile-viewport() {\n @media screen and (max-width: 767px) {\n @content;\n }\n}\n\n@mixin input-cover() {\n @include position(0, null, null, 0);\n @include margin(0);\n\n position: absolute;\n\n width: 100%;\n height: 100%;\n\n border: 0;\n background: transparent;\n cursor: pointer;\n\n appearance: none;\n outline: none;\n\n &::-moz-focus-inner {\n border: 0;\n }\n}\n\n@mixin visually-hidden() {\n position: absolute;\n\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n width: 100%;\n height: 100%;\n\n margin: 0;\n padding: 0;\n\n border: 0;\n outline: 0;\n clip: rect(0 0 0 0);\n\n opacity: 0;\n overflow: hidden;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n\n@mixin text-inherit() {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n}\n\n@mixin button-state() {\n @include position(0, 0, 0, 0);\n\n position: absolute;\n\n content: \"\";\n\n opacity: 0;\n}\n\n// Font smoothing\n// --------------------------------------------------\n\n@mixin font-smoothing() {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n}\n\n// Get the key from a map based on the index\n@function index-to-key($map, $index) {\n $keys: map-keys($map);\n\n @return nth($keys, $index);\n}\n\n\n// Breakpoint Mixins\n// ---------------------------------------------------------------------------------\n\n// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$screen-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// ---------------------------------------------------------------------------------\n\n// Minimum breakpoint width. Null for the smallest (first) breakpoint.\n//\n// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 576px\n@function breakpoint-min($name, $breakpoints: $screen-breakpoints) {\n $min: map-get($breakpoints, $name);\n\n @return if($name != index-to-key($breakpoints, 1), $min, null);\n}\n\n// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.\n// Useful for making responsive utilities.\n//\n// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"\" (Returns a blank string)\n// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// \"-sm\"\n@function breakpoint-infix($name, $breakpoints: $screen-breakpoints) {\n @return if(breakpoint-min($name, $breakpoints) == null, \"\", \"-#{$name}\");\n}\n\n// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.\n// Makes the @content apply to the given breakpoint and wider.\n@mixin media-breakpoint-up($name, $breakpoints: $screen-breakpoints) {\n $min: breakpoint-min($name, $breakpoints);\n @if $min {\n @media (min-width: $min) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >> breakpoint-next(sm)\n// md\n// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// md\n// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))\n// md\n@function breakpoint-next($name, $breakpoints: $screen-breakpoints, $breakpoint-names: map-keys($breakpoints)) {\n $n: index($breakpoint-names, $name);\n @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);\n}\n\n// Maximum breakpoint width. Null for the smallest (first) breakpoint.\n// The maximum value is reduced by 0.02px to work around the limitations of\n// `min-` and `max-` prefixes and viewports with fractional widths.\n//\n// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max\n// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\t// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.\n// See https://bugs.webkit.org/show_bug.cgi?id=178261\t// See https://bugs.webkit.org/show_bug.cgi?id=178261\n//\n// >> breakpoint-max(md, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))\n// 767.98px\n@function breakpoint-max($name, $breakpoints: $screen-breakpoints) {\n $max: map-get($breakpoints, $name);\n @return if($max and $max > 0, $max - .02, null);\n}\n\n// Media of at most the maximum breakpoint width. No query for the largest breakpoint.\n// Makes the @content apply to the given breakpoint and narrower.\n@mixin media-breakpoint-down($name, $breakpoints: $screen-breakpoints) {\n $max: breakpoint-max($name, $breakpoints);\n @if $max {\n @media (max-width: $max) {\n @content;\n }\n } @else {\n @content;\n }\n}\n\n\n// Text Direction - ltr / rtl\n//\n// CSS defaults to use the ltr css, and adds [dir=rtl] selectors\n// to override ltr defaults.\n// ----------------------------------------------------------\n\n@mixin multi-dir() {\n @content;\n\n // $root: #{&};\n // @at-root [dir] {\n // #{$root} {\n // @content;\n // }\n // }\n}\n\n@mixin rtl() {\n $root: #{&};\n\n $rootSplit: str-split($root, \",\");\n $selectors: #{add-root-selector($root, \"[dir=rtl]\")};\n $selectorsSplit: str-split($selectors, \",\");\n\n $hostContextSelectors: ();\n $restSelectors: ();\n $dirSelectors: ();\n\n // Selectors must be split into individual selectors in case the browser\n // doesn't support a specific selector.\n // For example, Firefox and Safari doesn't support `:host-context()`.\n // If an invalid selector is used, then the entire group of selectors\n // will be ignored.\n // @link https://www.w3.org/TR/selectors-3/#grouping\n @each $selector in $selectorsSplit {\n // Group the selectors back into a single selector to optimize the output.\n @if str-index($selector, \":host-context\") {\n $hostContextSelectors: append($hostContextSelectors, $selector, comma);\n } @else {\n // Group the selectors back into a single selector to optimize the output.\n $restSelectors: append($restSelectors, $selector, comma);\n }\n }\n\n // Supported by Chrome.\n @if length($hostContextSelectors) > 0 {\n @at-root #{$hostContextSelectors} {\n @content;\n }\n }\n\n // Supported by all browsers.\n @if length($restSelectors) > 0 {\n @at-root #{$restSelectors} {\n @content;\n }\n }\n\n // If browser can support `:dir()`, then add the `:dir()` selectors.\n @supports selector(:dir(rtl)) {\n // Adding :dir() in case the browser doesn't support `:host-context()` and does support `:dir()`.\n // `:host-context()` is added:\n // - through the `add-root-selector()` function.\n // - first so that it takes precedence over `:dir()`.\n // For example,\n // - Firefox doesn't support `:host-context()`, but does support `:dir()`.\n // - Safari doesn't support `:host-context()`, but Safari 16.4+ supports `:dir()`\n // @link https://webkit.org/blog/13966/webkit-features-in-safari-16-4/\n // -- However, there is a Webkit bug on v16 that prevents `:dir()` from working when\n // -- the app direction is changed dynamically. v17+ works fine.\n // -- @link https://bugs.webkit.org/show_bug.cgi?id=257133\n\n // Supported by Firefox.\n @at-root #{add-root-selector($root, \":dir(rtl)\", false)} {\n @content;\n }\n }\n}\n\n@mixin ltr() {\n @content;\n}\n\n\n// SVG Background Image Mixin\n// @param {string} $svg\n// ----------------------------------------------------------\n@mixin svg-background-image($svg, $flip-rtl: false) {\n $url: url-encode($svg);\n $viewBox: str-split(str-extract($svg, \"viewBox='\", \"'\"), \" \");\n\n @if $flip-rtl != true or $viewBox == null {\n @include multi-dir() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n } @else {\n $transform: \"transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'\";\n $flipped-url: $svg;\n $flipped-url: str-replace($flipped-url, \"<path\", \"<path #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<line\", \"<line #{$transform}\");\n $flipped-url: str-replace($flipped-url, \"<polygon\", \"<polygon #{$transform}\");\n $flipped-url: url-encode($flipped-url);\n\n @include ltr () {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$url}\");\n }\n @include rtl() {\n background-image: url(\"data:image/svg+xml;charset=utf-8,#{$flipped-url}\");\n }\n }\n}\n\n// Add property horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin property-horizontal($prop, $start, $end: $start) {\n @if $start == 0 and $end == 0 {\n #{$prop}-left: $start;\n #{$prop}-right: $end;\n\n } @else {\n -webkit-#{$prop}-start: $start;\n #{$prop}-inline-start: $start;\n -webkit-#{$prop}-end: $end;\n #{$prop}-inline-end: $end;\n }\n}\n\n// Add property for all directions\n// @param {string} $prop\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// @param {boolean} $content include content or use default\n// ----------------------------------------------------------\n@mixin property($prop, $top, $end: $top, $bottom: $top, $start: $end) {\n @include property-horizontal($prop, $start, $end);\n #{$prop}-top: $top;\n #{$prop}-bottom: $bottom;\n}\n\n// Add padding horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin padding-horizontal($start, $end: $start) {\n @include property-horizontal(padding, $start, $end);\n}\n\n// Add padding for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin padding($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(padding, $top, $end, $bottom, $start);\n}\n\n// Add margin horizontal\n// @param {string} $start\n// @param {string} $end\n// ----------------------------------------------------------\n@mixin margin-horizontal($start, $end: $start) {\n @include property-horizontal(margin, $start, $end);\n}\n\n// Add margin for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin margin($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(margin, $top, $end, $bottom, $start);\n}\n\n// Add position horizontal\n// @param {string} $start - amount to position start\n// @param {string} $end - amount to left: 0; end\n// ----------------------------------------------------------\n@mixin position-horizontal($start: null, $end: null) {\n @if $start == $end {\n @include multi-dir() {\n left: $start;\n right: $end;\n }\n } @else {\n @at-root {\n & {\n inset-inline-start: $start;\n inset-inline-end: $end;\n }\n }\n }\n}\n\n// Add position for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin position($top: null, $end: null, $bottom: null, $start: null) {\n @include position-horizontal($start, $end);\n top: $top;\n bottom: $bottom;\n}\n\n// Add border for all directions\n// @param {string} $top\n// @param {string} $end\n// @param {string} $bottom\n// @param {string} $start\n// ----------------------------------------------------------\n@mixin border($top, $end: $top, $bottom: $top, $start: $end) {\n @include property(border, $top, $end, $bottom, $start);\n}\n\n// Add border radius for all directions\n// @param {string} $top-start\n// @param {string} $top-end\n// @param {string} $bottom-end\n// @param {string} $bottom-start\n// ----------------------------------------------------------\n@mixin border-radius($top-start, $top-end: $top-start, $bottom-end: $top-start, $bottom-start: $top-end) {\n @if $top-start == $top-end and $top-start == $bottom-end and $top-start == $bottom-start {\n border-radius: $top-start;\n } @else {\n border-start-start-radius: $top-start;\n border-start-end-radius: $top-end;\n border-end-end-radius: $bottom-end;\n border-end-start-radius: $bottom-start;\n }\n}\n\n// Add direction for all directions\n// @param {string} $dir - Direction on LTR\n@mixin direction($dir) {\n $other-dir: null;\n\n @if $dir == ltr {\n $other-dir: rtl;\n } @else {\n $other-dir: ltr;\n }\n\n @include ltr() {\n direction: $dir;\n }\n @include rtl() {\n direction: $other-dir;\n }\n}\n\n// Add float for all directions\n// @param {string} $side\n// @param {string} $decorator - !important\n@mixin float($side, $decorator: null) {\n @if $side == start {\n @include ltr() {\n float: left $decorator;\n }\n @include rtl() {\n float: right $decorator;\n }\n } @else if $side == end {\n @include ltr() {\n float: right $decorator;\n }\n @include rtl() {\n float: left $decorator;\n }\n } @else {\n @include multi-dir() {\n float: $side $decorator;\n }\n }\n}\n\n@mixin background-position($horizontal, $horizontal-amount: null, $vertical: null, $vertical-amount: null) {\n @if $horizontal == start or $horizontal == end {\n $horizontal-ltr: null;\n $horizontal-rtl: null;\n @if $horizontal == start {\n $horizontal-ltr: left;\n $horizontal-rtl: right;\n } @else {\n $horizontal-ltr: right;\n $horizontal-rtl: left;\n }\n\n @include ltr() {\n background-position: $horizontal-ltr $horizontal-amount $vertical $vertical-amount;\n }\n @include rtl() {\n background-position: $horizontal-rtl $horizontal-amount $vertical $vertical-amount;\n }\n } @else {\n @include multi-dir() {\n background-position: $horizontal $horizontal-amount $vertical $vertical-amount;\n }\n }\n}\n\n@mixin transform-origin($x-axis, $y-axis: null) {\n @if $x-axis == start {\n @include ltr() {\n transform-origin: left $y-axis;\n }\n @include rtl() {\n transform-origin: right $y-axis;\n }\n } @else if $x-axis == end {\n @include ltr() {\n transform-origin: right $y-axis;\n }\n @include rtl() {\n transform-origin: left $y-axis;\n }\n } @else if $x-axis == left or $x-axis == right {\n @include multi-dir() {\n transform-origin: $x-axis $y-axis;\n }\n } @else {\n @include ltr() {\n transform-origin: $x-axis $y-axis;\n }\n @include rtl() {\n transform-origin: calc(100% - #{$x-axis}) $y-axis;\n }\n }\n}\n\n// Add transform for all directions\n// @param {string} $transforms - comma separated list of transforms\n@mixin transform($transforms...) {\n $extra: null;\n\n $x: null;\n $ltr-translate: null;\n $rtl-translate: null;\n\n @each $transform in $transforms {\n @if (str-index($transform, translate3d)) {\n $transform: str-replace($transform, 'translate3d(');\n $transform: str-replace($transform, ')');\n\n $coordinates: str-split($transform, ',');\n\n $x: nth($coordinates, 1);\n $y: nth($coordinates, 2);\n $z: nth($coordinates, 3);\n\n $ltr-translate: translate3d($x, $y, $z);\n $rtl-translate: translate3d(calc(-1 * #{$x}), $y, $z);\n } @else {\n @if $extra == null {\n $extra: $transform;\n } @else {\n $extra: $extra $transform;\n }\n }\n }\n\n @if $x == '0' or $x == null {\n @include multi-dir() {\n transform: $ltr-translate $extra;\n }\n } @else {\n @include ltr() {\n transform: $ltr-translate $extra;\n }\n\n @include rtl() {\n transform: $rtl-translate $extra;\n }\n }\n}\n","@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n// Float Elements\n// --------------------------------------------------\n// Creates float classes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-float-{bp}-{side}` classes for floating the element based\n // on the breakpoint and side\n .ion-float#{$infix}-left {\n @include float(left, !important);\n }\n\n .ion-float#{$infix}-right {\n @include float(right, !important);\n }\n\n .ion-float#{$infix}-start {\n @include float(start, !important);\n }\n\n .ion-float#{$infix}-end {\n @include float(end, !important);\n }\n }\n}\n","@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n// Text Alignment\n// --------------------------------------------------\n// Creates text alignment attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for aligning the text based\n // on the breakpoint\n .ion-text#{$infix}-center {\n text-align: center !important;\n }\n\n .ion-text#{$infix}-justify {\n text-align: justify !important;\n }\n\n .ion-text#{$infix}-start {\n text-align: start !important;\n }\n\n .ion-text#{$infix}-end {\n text-align: end !important;\n }\n\n .ion-text#{$infix}-left {\n text-align: left !important;\n }\n\n .ion-text#{$infix}-right {\n text-align: right !important;\n }\n\n .ion-text#{$infix}-nowrap {\n white-space: nowrap !important;\n }\n\n .ion-text#{$infix}-wrap {\n white-space: normal !important;\n }\n }\n}\n","@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n// Text Transformation\n// --------------------------------------------------\n// Creates text transform attributes based on screen size\n\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `.ion-text-{bp}` classes for transforming the text based\n // on the breakpoint\n .ion-text#{$infix}-uppercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: uppercase !important;\n }\n\n .ion-text#{$infix}-lowercase {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: lowercase !important;\n }\n\n .ion-text#{$infix}-capitalize {\n /* stylelint-disable-next-line declaration-no-important */\n text-transform: capitalize !important;\n }\n }\n}\n","// Flex Utilities\n// --------------------------------------------------\n// Creates flex classes to align flex containers\n// and items\n\n// Align Self\n// --------------------------------------------------\n\n.ion-align-self-start {\n align-self: flex-start !important;\n}\n\n.ion-align-self-end {\n align-self: flex-end !important;\n}\n\n.ion-align-self-center {\n align-self: center !important;\n}\n\n.ion-align-self-stretch {\n align-self: stretch !important;\n}\n\n.ion-align-self-baseline {\n align-self: baseline !important;\n}\n\n.ion-align-self-auto {\n align-self: auto !important;\n}\n\n\n// Flex Wrap\n// --------------------------------------------------\n\n.ion-wrap {\n flex-wrap: wrap !important;\n}\n\n.ion-nowrap {\n flex-wrap: nowrap !important;\n}\n\n.ion-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n\n// Justify Content\n// --------------------------------------------------\n\n.ion-justify-content-start {\n justify-content: flex-start !important;\n}\n\n.ion-justify-content-center {\n justify-content: center !important;\n}\n\n.ion-justify-content-end {\n justify-content: flex-end !important;\n}\n\n.ion-justify-content-around {\n justify-content: space-around !important;\n}\n\n.ion-justify-content-between {\n justify-content: space-between !important;\n}\n\n.ion-justify-content-evenly {\n justify-content: space-evenly !important;\n}\n\n\n// Align Items\n// --------------------------------------------------\n\n.ion-align-items-start {\n align-items: flex-start !important;\n}\n\n.ion-align-items-center {\n align-items: center !important;\n}\n\n.ion-align-items-end {\n align-items: flex-end !important;\n}\n\n.ion-align-items-stretch {\n align-items: stretch !important;\n}\n\n.ion-align-items-baseline {\n align-items: baseline !important;\n}\n","@import \"../themes/ionic.globals\";\n@import \"../themes/ionic.mixins\";\n\n// Display\n// --------------------------------------------------\n// Modifies display of a particular element based on the given classes\n\n.ion-hide {\n display: none !important;\n}\n\n// Adds hidden classes\n@each $breakpoint in map-keys($screen-breakpoints) {\n $infix: breakpoint-infix($breakpoint, $screen-breakpoints);\n\n @include media-breakpoint-up($breakpoint, $screen-breakpoints) {\n // Provide `ion-hide-{bp}-up` classes for hiding the element based\n // on the breakpoint\n .ion-hide#{$infix}-up {\n display: none !important;\n }\n }\n\n @include media-breakpoint-down($breakpoint, $screen-breakpoints) {\n // Provide `ion-hide-{bp}-down` classes for hiding the element based\n // on the breakpoint\n .ion-hide#{$infix}-down {\n display: none !important;\n }\n }\n}\n"]}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-3647b9f5.js');
6
+ const index = require('./index-c8d52405.js');
7
7
 
8
8
  let animationPrefix;
9
9
  const getAnimationPrefix = (el) => {
@@ -66,7 +66,7 @@ const createAnimation = (animationId) => {
66
66
  const _afterAddWriteFunctions = [];
67
67
  const webAnimations = [];
68
68
  const supportsAnimationEffect = typeof AnimationEffect === 'function' ||
69
- (ionicGlobal.win !== undefined && typeof ionicGlobal.win.AnimationEffect === 'function');
69
+ (index.win !== undefined && typeof index.win.AnimationEffect === 'function');
70
70
  /**
71
71
  * This is a feature detection for Web Animations.
72
72
  *
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-3647b9f5.js');
6
+ const ionicGlobal = require('./ionic-global-d9a8bb5b.js');
7
7
 
8
8
  const globalScripts = ionicGlobal.initialize;
9
9
 
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const config = require('./config-1349d5b4.js');
7
- const haptic = require('./haptic-f0cad9a6.js');
6
+ const index$1 = require('./index-73f75efb.js');
7
+ const haptic = require('./haptic-f6b37aa3.js');
8
8
  const index = require('./index-ee07ed59.js');
9
9
 
10
10
  const createButtonActiveGesture = (el, isButton) => {
@@ -30,7 +30,7 @@ const createButtonActiveGesture = (el, isButton) => {
30
30
  initialTouchedButton = currentTouchedButton;
31
31
  }
32
32
  const buttonToModify = currentTouchedButton;
33
- config.writeTask(() => buttonToModify.classList.add('ion-activated'));
33
+ index$1.writeTask(() => buttonToModify.classList.add('ion-activated'));
34
34
  hapticFeedbackFn();
35
35
  };
36
36
  const clearActiveButton = (dispatchClick = false) => {
@@ -38,7 +38,7 @@ const createButtonActiveGesture = (el, isButton) => {
38
38
  return;
39
39
  }
40
40
  const buttonToModify = currentTouchedButton;
41
- config.writeTask(() => buttonToModify.classList.remove('ion-activated'));
41
+ index$1.writeTask(() => buttonToModify.classList.remove('ion-activated'));
42
42
  /**
43
43
  * Clicking on one button, but releasing on another button
44
44
  * does not dispatch a click event in browsers, so we
@@ -3,11 +3,11 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-3647b9f5.js');
6
+ const index = require('./index-c8d52405.js');
7
7
 
8
8
  const getCapacitor = () => {
9
- if (ionicGlobal.win !== undefined) {
10
- return ionicGlobal.win.Capacitor;
9
+ if (index.win !== undefined) {
10
+ return index.win.Capacitor;
11
11
  }
12
12
  return undefined;
13
13
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- const ionicGlobal = require('./ionic-global-3647b9f5.js');
6
+ const index = require('./index-5915f9b3.js');
7
7
 
8
8
  /**
9
9
  * Returns true if the selected day is equal to the reference day
@@ -37,7 +37,7 @@ const warnIfValueOutOfBounds = (value, min, max) => {
37
37
  const valueArray = Array.isArray(value) ? value : [value];
38
38
  for (const val of valueArray) {
39
39
  if ((min !== undefined && isBefore(val, min)) || (max !== undefined && isAfter(val, max))) {
40
- ionicGlobal.printIonWarning('The value provided to ion-datetime is out of bounds.\n\n' +
40
+ index.printIonWarning('The value provided to ion-datetime is out of bounds.\n\n' +
41
41
  `Min: ${JSON.stringify(min)}\n` +
42
42
  `Max: ${JSON.stringify(max)}\n` +
43
43
  `Value: ${JSON.stringify(value)}`);
@@ -254,7 +254,7 @@ function parseDate(val) {
254
254
  }
255
255
  if (parse === null) {
256
256
  // wasn't able to parse the ISO datetime
257
- ionicGlobal.printIonWarning(`Unable to parse date string: ${val}. Please provide a valid ISO 8601 datetime string.`);
257
+ index.printIonWarning(`Unable to parse date string: ${val}. Please provide a valid ISO 8601 datetime string.`);
258
258
  return undefined;
259
259
  }
260
260
  // ensure all the parse values exist with at least 0
@@ -1149,20 +1149,20 @@ const hour23 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
1149
1149
  // h24 hour system uses 1-24. Midnight starts at 24:00.
1150
1150
  const hour24 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0];
1151
1151
  /**
1152
- * Given a locale and a theme,
1152
+ * Given a locale and a mode,
1153
1153
  * return an array with formatted days
1154
1154
  * of the week. iOS should display days
1155
1155
  * such as "Mon" or "Tue".
1156
1156
  * MD should display days such as "M"
1157
1157
  * or "T".
1158
1158
  */
1159
- const getDaysOfWeek = (locale, theme, firstDayOfWeek = 0) => {
1159
+ const getDaysOfWeek = (locale, mode, firstDayOfWeek = 0) => {
1160
1160
  /**
1161
1161
  * Nov 1st, 2020 starts on a Sunday.
1162
1162
  * ion-datetime assumes weeks start on Sunday,
1163
1163
  * but is configurable via `firstDayOfWeek`.
1164
1164
  */
1165
- const weekdayFormat = theme === 'ios' ? 'short' : 'narrow';
1165
+ const weekdayFormat = mode === 'ios' ? 'short' : 'narrow';
1166
1166
  const intl = new Intl.DateTimeFormat(locale, { weekday: weekdayFormat });
1167
1167
  const startDate = new Date('11/01/2020');
1168
1168
  const daysOfWeek = [];
@@ -1,6 +1,8 @@
1
1
  /*!
2
2
  * (C) Ionic http://ionicframework.com - MIT License
3
3
  */
4
+ 'use strict';
5
+
4
6
  const ION_FOCUSED = 'ion-focused';
5
7
  const ION_FOCUSABLE = 'ion-focusable';
6
8
  const FOCUS_KEYS = [
@@ -17,13 +19,6 @@ const FOCUS_KEYS = [
17
19
  'Home',
18
20
  'End',
19
21
  ];
20
- let focusVisibleUtility = null;
21
- const getOrInitFocusVisibleUtility = () => {
22
- if (!focusVisibleUtility) {
23
- focusVisibleUtility = startFocusVisible();
24
- }
25
- return focusVisibleUtility;
26
- };
27
22
  const startFocusVisible = (rootEl) => {
28
23
  let currentFocus = [];
29
24
  let keyboardMode = true;
@@ -79,4 +74,4 @@ const startFocusVisible = (rootEl) => {
79
74
  };
80
75
  };
81
76
 
82
- export { getOrInitFocusVisibleUtility, startFocusVisible };
77
+ exports.startFocusVisible = startFocusVisible;