@amwaljs/checkout-button 0.3.1 → 0.3.2

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 (888) hide show
  1. package/README.md +1 -1
  2. package/dist/checkout/checkout.esm.js +1 -1
  3. package/dist/checkout/{p-c03b6161.entry.js → p-00045a8c.entry.js} +1 -1
  4. package/dist/checkout/p-01bbe74f.entry.js +1 -0
  5. package/dist/checkout/p-051412fa.entry.js +1 -0
  6. package/dist/checkout/p-09cbe586.entry.js +4 -0
  7. package/dist/checkout/{p-439ad699.entry.js → p-0a85a01f.entry.js} +2 -2
  8. package/dist/checkout/{p-d5652cd4.entry.js → p-0bbfeb3c.entry.js} +1 -1
  9. package/dist/checkout/{p-4ae1a390.entry.js → p-0d96b482.entry.js} +1 -1
  10. package/dist/checkout/{p-DUa_5Mmb.js → p-0f03cd28.js} +2 -2
  11. package/dist/checkout/p-104d7733.entry.js +1 -0
  12. package/dist/checkout/{p-8036cf49.entry.js → p-10ad151a.entry.js} +5 -5
  13. package/dist/checkout/p-112455b1.js +1 -0
  14. package/dist/checkout/p-11beffea.entry.js +1 -0
  15. package/dist/checkout/p-13245fd4.js +1 -0
  16. package/dist/checkout/p-13741a94.entry.js +1 -0
  17. package/dist/checkout/p-14ea2c82.entry.js +1 -0
  18. package/dist/checkout/p-167dc7a7.entry.js +4 -0
  19. package/dist/checkout/p-1a749b59.entry.js +1 -0
  20. package/dist/checkout/p-1c718939.entry.js +1 -0
  21. package/dist/checkout/{p-11205aeb.entry.js → p-1cbb13f2.entry.js} +1 -1
  22. package/dist/checkout/{p-46ff73b3.entry.js → p-20df5234.entry.js} +1 -1
  23. package/dist/checkout/p-24068b1c.entry.js +1 -0
  24. package/dist/checkout/{p-7006753a.entry.js → p-28ccecc7.entry.js} +2 -2
  25. package/dist/checkout/p-361649c3.js +4 -0
  26. package/dist/{components/p-DoR35tr_.js → checkout/p-39ad94cf.js} +2 -2
  27. package/dist/checkout/p-3b75b22a.js +5 -0
  28. package/dist/checkout/p-3b80783d.js +8 -0
  29. package/dist/checkout/p-3d3eefc3.js +4 -0
  30. package/dist/checkout/p-3e1e3453.js +4 -0
  31. package/dist/checkout/p-3e681e57.js +4 -0
  32. package/dist/checkout/{p-bf933eb6.entry.js → p-3e8da476.entry.js} +1 -1
  33. package/dist/checkout/{p-1dc08181.entry.js → p-4028c0d2.entry.js} +1 -1
  34. package/dist/checkout/p-44c91c42.entry.js +1 -0
  35. package/dist/checkout/p-464f5a60.entry.js +1 -0
  36. package/dist/checkout/p-46b7ee7f.entry.js +1 -0
  37. package/dist/checkout/p-48784250.entry.js +1 -0
  38. package/dist/{components/p-wiOwkFtc.js → checkout/p-4be20bf2.js} +1 -1
  39. package/dist/{components/p-Dl_WhQZu.js → checkout/p-4f78d3a0.js} +2 -2
  40. package/dist/checkout/{p-4da4ecc4.entry.js → p-529bce3f.entry.js} +1 -1
  41. package/dist/checkout/p-536a0294.js +4 -0
  42. package/dist/checkout/{p-eae2d3f2.entry.js → p-5eecd5ef.entry.js} +1 -1
  43. package/dist/checkout/p-64257c8d.entry.js +1 -0
  44. package/dist/checkout/{p-5903b3af.entry.js → p-64bd1dd3.entry.js} +1 -1
  45. package/dist/checkout/{p-9b7d7231.entry.js → p-68a4caba.entry.js} +1 -1
  46. package/dist/checkout/{p-978b3762.entry.js → p-69242ed6.entry.js} +1 -1
  47. package/dist/checkout/{p-62b7c8b0.entry.js → p-6d886d7e.entry.js} +1 -1
  48. package/dist/checkout/{p-ofaUly0p.js → p-6fa979e3.js} +2 -2
  49. package/dist/checkout/p-6fb474f3.entry.js +1 -0
  50. package/dist/checkout/p-77104220.js +7 -0
  51. package/dist/checkout/{p-aba43d04.entry.js → p-79ec3e4b.entry.js} +1 -1
  52. package/dist/checkout/{p-cd2c344b.entry.js → p-7b51bf67.entry.js} +2 -2
  53. package/dist/checkout/p-7f0004c9.js +4 -0
  54. package/dist/checkout/p-7fe50ab4.entry.js +1 -0
  55. package/dist/checkout/p-880b451c.entry.js +4 -0
  56. package/dist/checkout/p-886dad62.entry.js +1 -0
  57. package/dist/checkout/p-886e8746.entry.js +1 -0
  58. package/dist/checkout/p-88abdf59.js +4 -0
  59. package/dist/checkout/{p-f845e91b.entry.js → p-8a97a411.entry.js} +1 -1
  60. package/dist/checkout/p-8af3c6cc.entry.js +1 -0
  61. package/dist/checkout/{p-8b015c21.entry.js → p-8c022f5d.entry.js} +1 -1
  62. package/dist/checkout/{p-56e307eb.entry.js → p-91855eae.entry.js} +1 -1
  63. package/dist/checkout/{p-ca257d45.entry.js → p-9185e55b.entry.js} +1 -1
  64. package/dist/checkout/{p-4b34896c.entry.js → p-926eda98.entry.js} +1 -1
  65. package/dist/checkout/p-93e5b313.entry.js +4 -0
  66. package/dist/checkout/{p-4a86b731.entry.js → p-97024acb.entry.js} +1 -1
  67. package/dist/checkout/p-99e447f9.js +1 -0
  68. package/dist/{components/p-BgOwfqIY.js → checkout/p-9b519de5.js} +2 -2
  69. package/dist/checkout/{p-b8245f6a.entry.js → p-9b65a6e5.entry.js} +1 -1
  70. package/dist/checkout/{p-53ae9dd0.entry.js → p-9cc1fdfb.entry.js} +1 -1
  71. package/dist/checkout/{p-8fc1287a.entry.js → p-9f26fb71.entry.js} +1 -1
  72. package/dist/checkout/p-9f41a631.entry.js +1 -0
  73. package/dist/checkout/{p-5f005b5e.entry.js → p-a2ce8858.entry.js} +1 -1
  74. package/dist/checkout/{p-e4d0702d.entry.js → p-a3fca65c.entry.js} +1 -1
  75. package/dist/checkout/{p-d370e756.entry.js → p-a6056eb1.entry.js} +2 -2
  76. package/dist/checkout/{p-c929d6ea.entry.js → p-a7b2cbb9.entry.js} +1 -1
  77. package/dist/{components/p-Dwo-QLgs.js → checkout/p-ab16e6ce.js} +1 -1
  78. package/dist/checkout/{p-63db3363.entry.js → p-ab9a18c4.entry.js} +1 -1
  79. package/dist/checkout/p-b038db20.js +4 -0
  80. package/dist/checkout/p-b4ad8642.entry.js +1 -0
  81. package/dist/checkout/p-b4cf78ad.entry.js +1 -0
  82. package/dist/checkout/p-b7be2ec0.js +4 -0
  83. package/dist/checkout/p-b84d9e44.js +4 -0
  84. package/dist/{components/p-CwRU9ccI.js → checkout/p-b8fdd517.js} +1 -1
  85. package/dist/checkout/{p-d799009b.entry.js → p-b9d8ab12.entry.js} +1 -1
  86. package/dist/checkout/p-bb1f698e.js +4 -0
  87. package/dist/checkout/p-bd17be25.js +4 -0
  88. package/dist/checkout/p-bd4df0bc.entry.js +1 -0
  89. package/dist/checkout/p-c152bdea.js +4 -0
  90. package/dist/checkout/{p-f22v7XAM.js → p-c30e2b28.js} +2 -2
  91. package/dist/checkout/{p-c2296aa1.entry.js → p-c61a3d5d.entry.js} +1 -1
  92. package/dist/checkout/p-c6ee4bb6.entry.js +1 -0
  93. package/dist/checkout/p-c771a565.entry.js +1 -0
  94. package/dist/checkout/{p-3c9a8bee.entry.js → p-c82b2823.entry.js} +1 -1
  95. package/dist/checkout/p-c8f7d1b5.entry.js +1 -0
  96. package/dist/checkout/p-ceef30cd.entry.js +1 -0
  97. package/dist/checkout/p-d5733333.entry.js +1 -0
  98. package/dist/checkout/p-d5bba69c.entry.js +1 -0
  99. package/dist/checkout/p-d60b2328.js +4 -0
  100. package/dist/checkout/p-d60e05e2.entry.js +1 -0
  101. package/dist/checkout/p-d6b04157.entry.js +1 -0
  102. package/dist/checkout/p-d7a430bf.js +2 -0
  103. package/dist/checkout/{p-B3WORC1a.js → p-d839c693.js} +1 -1
  104. package/dist/checkout/{p-141f2eab.entry.js → p-d9dfb3ae.entry.js} +3 -3
  105. package/dist/checkout/p-dc51d318.js +5 -0
  106. package/dist/checkout/p-ddbe30b8.entry.js +1 -0
  107. package/dist/checkout/p-de418dd1.entry.js +1 -0
  108. package/dist/checkout/{p-b4000357.entry.js → p-defa5f72.entry.js} +2 -2
  109. package/dist/checkout/{p-b90c064e.entry.js → p-df0fa5e1.entry.js} +2 -2
  110. package/dist/checkout/{p-c8740acc.entry.js → p-e0f073f1.entry.js} +3 -3
  111. package/dist/checkout/p-e237d611.entry.js +1 -0
  112. package/dist/checkout/p-ea71fb8d.entry.js +1 -0
  113. package/dist/checkout/{p-95563c4c.entry.js → p-eda93a0b.entry.js} +1 -1
  114. package/dist/checkout/p-eee05053.entry.js +1 -0
  115. package/dist/checkout/{p-95431a73.entry.js → p-f8460dc4.entry.js} +1 -1
  116. package/dist/checkout/p-f875507d.entry.js +1 -0
  117. package/dist/checkout/p-faf06441.js +4 -0
  118. package/dist/checkout/p-fb147065.entry.js +1 -0
  119. package/dist/checkout/{p-af32124b.entry.js → p-fb45cdd1.entry.js} +1 -1
  120. package/dist/cjs/_commonjsHelpers-537d719a.js +20 -0
  121. package/dist/cjs/amwal-checkout-button_5.cjs.entry.js +1298 -2881
  122. package/dist/cjs/amwal-installments-guide.cjs.entry.js +42 -43
  123. package/dist/cjs/amwal-pos.cjs.entry.js +3180 -3452
  124. package/dist/cjs/amwal-widget-modal.cjs.entry.js +162 -175
  125. package/dist/cjs/amwal-widget.cjs.entry.js +314 -343
  126. package/dist/cjs/{animation-BhN-MT4J.js → animation-26241cb2.js} +2 -2
  127. package/dist/cjs/{app-globals-NtXImkuk.js → app-globals-42a13029.js} +1 -1
  128. package/dist/cjs/{ar-CbT6TM-Q.js → ar-3a6829a4.js} +10 -4
  129. package/dist/cjs/{capacitor-CqhugS19.js → capacitor-a9365f60.js} +1 -1
  130. package/dist/cjs/checkout.cjs.js +19 -16
  131. package/dist/cjs/{data-UgkxeXMB.js → data-19081291.js} +1 -1
  132. package/dist/cjs/{form-controller-DRf0gBOg.js → form-controller-3ffb27b1.js} +1 -1
  133. package/dist/cjs/{framework-delegate-D-6PUvOi.js → framework-delegate-ab2cc190.js} +1 -1
  134. package/dist/cjs/{gesture-controller-IMq9Cgi2.js → gesture-controller-b1c0efac.js} +1 -1
  135. package/dist/cjs/{haptic-CC9tl6g8.js → haptic-80174512.js} +1 -1
  136. package/dist/cjs/{hardware-back-button-C2D2eOk8.js → hardware-back-button-ddfefd22.js} +3 -3
  137. package/dist/cjs/{helpers-B4vhh9gt.js → helpers-72ba682d.js} +4 -1
  138. package/dist/cjs/i18n-18ad02d5.js +13 -0
  139. package/dist/cjs/{index-CKcQE8Zg.js → index-0d0b84fb.js} +4 -3
  140. package/dist/cjs/{index-6eOg4xTk.js → index-2602a653.js} +0 -1
  141. package/dist/cjs/{index-DZA7ogU0.js → index-2cd1a895.js} +4 -4
  142. package/dist/cjs/index-7522b3a9.js +2256 -0
  143. package/dist/cjs/{index-bc_r9XRf.js → index-9b7d2c31.js} +9 -9
  144. package/dist/cjs/{index-q1ImtF5k.js → index-ce06e6a3.js} +3 -3
  145. package/dist/cjs/{index-XMjUjboS.js → index-da554121.js} +3 -3
  146. package/dist/cjs/{input-shims-CCRbO2DB.js → input-shims-1a8ed779.js} +6 -6
  147. package/dist/cjs/{input.utils-CyVgmmWQ.js → input.utils-67143876.js} +3 -3
  148. package/dist/cjs/ion-accordion-group.cjs.entry.js +199 -203
  149. package/dist/cjs/ion-accordion.cjs.entry.js +305 -305
  150. package/dist/cjs/ion-action-sheet_3.cjs.entry.js +695 -705
  151. package/dist/cjs/ion-app.cjs.entry.js +95 -93
  152. package/dist/cjs/ion-avatar.cjs.entry.js +14 -12
  153. package/dist/cjs/ion-back-button.cjs.entry.js +78 -76
  154. package/dist/cjs/ion-backdrop.cjs.entry.js +44 -42
  155. package/dist/cjs/ion-badge.cjs.entry.js +19 -17
  156. package/dist/cjs/ion-breadcrumb.cjs.entry.js +86 -84
  157. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +120 -124
  158. package/dist/cjs/ion-buttons_3.cjs.entry.js +822 -822
  159. package/dist/cjs/ion-card-content.cjs.entry.js +19 -17
  160. package/dist/cjs/ion-card-header.cjs.entry.js +22 -20
  161. package/dist/cjs/ion-card-subtitle.cjs.entry.js +20 -18
  162. package/dist/cjs/ion-card-title.cjs.entry.js +20 -18
  163. package/dist/cjs/ion-card.cjs.entry.js +55 -53
  164. package/dist/cjs/ion-checkbox_7.cjs.entry.js +862 -882
  165. package/dist/cjs/ion-chip.cjs.entry.js +24 -22
  166. package/dist/cjs/ion-col.cjs.entry.js +110 -108
  167. package/dist/cjs/ion-content.cjs.entry.js +376 -374
  168. package/dist/cjs/ion-datetime-button.cjs.entry.js +330 -328
  169. package/dist/cjs/ion-datetime.cjs.entry.js +1547 -1567
  170. package/dist/cjs/ion-fab-button.cjs.entry.js +78 -76
  171. package/dist/cjs/ion-fab-list.cjs.entry.js +31 -31
  172. package/dist/cjs/ion-fab.cjs.entry.js +58 -58
  173. package/dist/cjs/ion-footer.cjs.entry.js +94 -92
  174. package/dist/cjs/ion-grid.cjs.entry.js +17 -15
  175. package/dist/cjs/ion-header.cjs.entry.js +143 -141
  176. package/dist/cjs/ion-icon.cjs.entry.js +104 -112
  177. package/dist/cjs/ion-img.cjs.entry.js +83 -83
  178. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +34 -32
  179. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +174 -176
  180. package/dist/cjs/ion-input.cjs.entry.js +447 -453
  181. package/dist/cjs/ion-item-divider.cjs.entry.js +23 -21
  182. package/dist/cjs/ion-item-group.cjs.entry.js +20 -18
  183. package/dist/cjs/ion-item-option.cjs.entry.js +45 -43
  184. package/dist/cjs/ion-item-options.cjs.entry.js +40 -38
  185. package/dist/cjs/ion-item-sliding.cjs.entry.js +391 -391
  186. package/dist/cjs/ion-loading.cjs.entry.js +162 -164
  187. package/dist/cjs/ion-menu-button.cjs.entry.js +60 -58
  188. package/dist/cjs/ion-menu-toggle.cjs.entry.js +36 -34
  189. package/dist/cjs/ion-menu.cjs.entry.js +606 -612
  190. package/dist/cjs/ion-modal.cjs.entry.js +551 -553
  191. package/dist/cjs/ion-nav-link.cjs.entry.js +17 -15
  192. package/dist/cjs/ion-nav.cjs.entry.js +823 -825
  193. package/dist/cjs/ion-note.cjs.entry.js +19 -17
  194. package/dist/cjs/ion-picker-column.cjs.entry.js +327 -327
  195. package/dist/cjs/ion-picker.cjs.entry.js +198 -200
  196. package/dist/cjs/ion-popover.cjs.entry.js +326 -330
  197. package/dist/cjs/ion-progress-bar.cjs.entry.js +44 -42
  198. package/dist/cjs/ion-range.cjs.entry.js +644 -654
  199. package/dist/cjs/ion-refresher-content.cjs.entry.js +53 -51
  200. package/dist/cjs/ion-refresher.cjs.entry.js +586 -586
  201. package/dist/cjs/ion-reorder-group.cjs.entry.js +252 -252
  202. package/dist/cjs/ion-reorder.cjs.entry.js +26 -24
  203. package/dist/cjs/ion-route-redirect.cjs.entry.js +19 -21
  204. package/dist/cjs/ion-route.cjs.entry.js +37 -41
  205. package/dist/cjs/ion-router-link.cjs.entry.js +31 -29
  206. package/dist/cjs/ion-router-outlet.cjs.entry.js +178 -178
  207. package/dist/cjs/ion-router.cjs.entry.js +266 -264
  208. package/dist/cjs/ion-row.cjs.entry.js +12 -10
  209. package/dist/cjs/ion-searchbar.cjs.entry.js +388 -396
  210. package/dist/cjs/ion-segment-button.cjs.entry.js +96 -96
  211. package/dist/cjs/ion-segment.cjs.entry.js +414 -420
  212. package/dist/cjs/ion-select-option.cjs.entry.js +16 -14
  213. package/dist/cjs/ion-select.cjs.entry.js +693 -699
  214. package/dist/cjs/ion-skeleton-text.cjs.entry.js +35 -33
  215. package/dist/cjs/ion-spinner.cjs.entry.js +50 -48
  216. package/dist/cjs/ion-split-pane.cjs.entry.js +120 -124
  217. package/dist/cjs/ion-tab-bar.cjs.entry.js +66 -66
  218. package/dist/cjs/ion-tab-button.cjs.entry.js +82 -80
  219. package/dist/cjs/ion-tab.cjs.entry.js +50 -50
  220. package/dist/cjs/ion-tabs.cjs.entry.js +134 -132
  221. package/dist/cjs/ion-textarea.cjs.entry.js +396 -400
  222. package/dist/cjs/ion-thumbnail.cjs.entry.js +12 -10
  223. package/dist/cjs/ion-title.cjs.entry.js +43 -43
  224. package/dist/cjs/ion-toast.cjs.entry.js +371 -375
  225. package/dist/cjs/ion-toggle.cjs.entry.js +230 -230
  226. package/dist/cjs/ion-toolbar.cjs.entry.js +61 -59
  227. package/dist/cjs/{ionic-global-DRLi5Iq3.js → ionic-global-3915f1f1.js} +55 -58
  228. package/dist/cjs/{ios.transition-D4vyO_a_.js → ios.transition-b9c0b967.js} +5 -5
  229. package/dist/cjs/{keyboard-iyHR2ZF4.js → keyboard-5d4b83b3.js} +3 -3
  230. package/dist/cjs/{keyboard-DuKzsHsS.js → keyboard-bc8ebbf7.js} +1 -1
  231. package/dist/cjs/{keyboard-controller-rH21qC_2.js → keyboard-controller-c6633754.js} +2 -2
  232. package/dist/cjs/loader.cjs.js +19 -8
  233. package/dist/cjs/{md.transition-Dkxy3kpE.js → md.transition-830acbb7.js} +5 -5
  234. package/dist/cjs/{menu-toggle-util-CmPuayU0.js → menu-toggle-util-315c26b3.js} +1 -1
  235. package/dist/cjs/{notch-controller-Dtpow1eD.js → notch-controller-dcf09601.js} +2 -2
  236. package/dist/cjs/{overlays-Bc8tk6t5.js → overlays-08819e3f.js} +6 -6
  237. package/dist/cjs/{refresher.utils-CPl6gciv.js → refresher.utils-e41509f7.js} +3 -3
  238. package/dist/cjs/{status-tap-XtIhF72O.js → status-tap-ec021cb4.js} +4 -4
  239. package/dist/cjs/{swipe-back-C9j0kufI.js → swipe-back-3d3a5129.js} +4 -4
  240. package/dist/collection/collection-manifest.json +8 -8
  241. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.js +1714 -1888
  242. package/dist/collection/components/amwal-checkout-button/amwal-checkout-button.stories.js +84 -84
  243. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.js +75 -80
  244. package/dist/collection/components/amwal-installments-guide/amwal-installments-guide.stories.js +25 -25
  245. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.js +506 -569
  246. package/dist/collection/components/amwal-installments-timeline/amwal-installments-timeline.stories.js +80 -80
  247. package/dist/collection/components/amwal-pos/amwal-pos.js +1022 -1094
  248. package/dist/collection/components/amwal-pos/amwal-pos.stories.js +209 -209
  249. package/dist/collection/components/amwal-widget/amwal-widget-modal.js +326 -350
  250. package/dist/collection/components/amwal-widget/amwal-widget.js +673 -736
  251. package/dist/collection/components/amwal-widget/amwal-widget.stories.js +184 -184
  252. package/dist/collection/lang/i18n.js +7 -7
  253. package/dist/components/amwal-checkout-button.d.ts +2 -2
  254. package/dist/components/amwal-checkout-button.js +3811 -1
  255. package/dist/components/amwal-installments-guide.d.ts +2 -2
  256. package/dist/components/amwal-installments-guide.js +75 -1
  257. package/dist/components/amwal-installments-timeline.d.ts +2 -2
  258. package/dist/components/amwal-installments-timeline.js +6 -1
  259. package/dist/components/amwal-pos.d.ts +2 -2
  260. package/dist/components/amwal-pos.js +3391 -1
  261. package/dist/components/amwal-widget-modal.d.ts +2 -2
  262. package/dist/components/amwal-widget-modal.js +6 -1
  263. package/dist/components/amwal-widget.d.ts +2 -2
  264. package/dist/components/amwal-widget.js +389 -1
  265. package/dist/components/index.d.ts +0 -6
  266. package/dist/components/index.js +6 -1
  267. package/dist/components/ion-accordion-group.js +248 -1
  268. package/dist/components/ion-accordion.js +353 -1
  269. package/dist/components/ion-action-sheet.js +6 -1
  270. package/dist/components/ion-alert.js +6 -1
  271. package/dist/components/ion-app.js +125 -1
  272. package/dist/components/ion-avatar.js +39 -1
  273. package/dist/components/ion-back-button.js +127 -1
  274. package/dist/components/ion-backdrop.js +6 -1
  275. package/dist/components/ion-badge.js +46 -1
  276. package/dist/components/ion-breadcrumb.js +131 -1
  277. package/dist/components/ion-breadcrumbs.js +152 -1
  278. package/dist/components/ion-button.js +6 -1
  279. package/dist/components/ion-buttons.js +6 -1
  280. package/dist/components/ion-card-content.js +43 -1
  281. package/dist/components/ion-card-header.js +50 -1
  282. package/dist/components/ion-card-subtitle.js +47 -1
  283. package/dist/components/ion-card-title.js +47 -1
  284. package/dist/components/ion-card.js +98 -1
  285. package/dist/components/ion-checkbox.js +6 -1
  286. package/dist/components/ion-chip.js +59 -1
  287. package/dist/components/ion-col.js +186 -2
  288. package/dist/components/ion-content.js +440 -1
  289. package/dist/components/ion-datetime-button.js +378 -1
  290. package/dist/components/ion-datetime.js +1961 -2
  291. package/dist/components/ion-fab-button.js +130 -1
  292. package/dist/components/ion-fab-list.js +56 -1
  293. package/dist/components/ion-fab.js +90 -1
  294. package/dist/components/ion-footer.js +152 -2
  295. package/dist/components/ion-grid.js +41 -1
  296. package/dist/components/ion-header.js +356 -2
  297. package/dist/components/ion-icon.js +6 -1
  298. package/dist/components/ion-img.js +124 -1
  299. package/dist/components/ion-infinite-scroll-content.js +69 -1
  300. package/dist/components/ion-infinite-scroll.js +209 -1
  301. package/dist/components/ion-input.js +564 -1
  302. package/dist/components/ion-item-divider.js +51 -1
  303. package/dist/components/ion-item-group.js +44 -1
  304. package/dist/components/ion-item-option.js +85 -1
  305. package/dist/components/ion-item-options.js +67 -1
  306. package/dist/components/ion-item-sliding.js +449 -1
  307. package/dist/components/ion-item.js +6 -1
  308. package/dist/components/ion-label.js +6 -1
  309. package/dist/components/ion-list-header.js +6 -1
  310. package/dist/components/ion-list.js +6 -1
  311. package/dist/components/ion-loading.js +325 -3
  312. package/dist/components/ion-menu-button.js +100 -1
  313. package/dist/components/ion-menu-toggle.js +57 -1
  314. package/dist/components/ion-menu.js +679 -1
  315. package/dist/components/ion-modal.js +1775 -3
  316. package/dist/components/ion-nav-link.js +63 -2
  317. package/dist/components/ion-nav.js +945 -2
  318. package/dist/components/ion-note.js +6 -1
  319. package/dist/components/ion-picker-column-internal.js +6 -1
  320. package/dist/components/ion-picker-column.js +6 -1
  321. package/dist/components/ion-picker-internal.js +6 -1
  322. package/dist/components/ion-picker.js +317 -3
  323. package/dist/components/ion-popover.js +6 -1
  324. package/dist/components/ion-progress-bar.js +79 -1
  325. package/dist/components/ion-radio-group.js +6 -1
  326. package/dist/components/ion-radio.js +6 -1
  327. package/dist/components/ion-range.js +778 -2
  328. package/dist/components/ion-refresher-content.js +90 -1
  329. package/dist/components/ion-refresher.js +652 -1
  330. package/dist/components/ion-reorder-group.js +300 -1
  331. package/dist/components/ion-reorder.js +58 -1
  332. package/dist/components/ion-ripple-effect.js +6 -1
  333. package/dist/components/ion-route-redirect.js +42 -1
  334. package/dist/components/ion-route.js +66 -1
  335. package/dist/components/ion-router-link.js +60 -1
  336. package/dist/components/ion-router-outlet.js +219 -1
  337. package/dist/components/ion-router.js +833 -3
  338. package/dist/components/ion-row.js +34 -1
  339. package/dist/components/ion-searchbar.js +472 -1
  340. package/dist/components/ion-segment-button.js +139 -1
  341. package/dist/components/ion-segment.js +472 -1
  342. package/dist/components/ion-select-option.js +42 -1
  343. package/dist/components/ion-select-popover.js +6 -1
  344. package/dist/components/ion-select.js +864 -1
  345. package/dist/components/ion-skeleton-text.js +59 -1
  346. package/dist/components/ion-spinner.js +6 -1
  347. package/dist/components/ion-split-pane.js +166 -1
  348. package/dist/components/ion-tab-bar.js +95 -1
  349. package/dist/components/ion-tab-button.js +125 -1
  350. package/dist/components/ion-tab.js +80 -1
  351. package/dist/components/ion-tabs.js +176 -1
  352. package/dist/components/ion-text.js +6 -1
  353. package/dist/components/ion-textarea.js +496 -1
  354. package/dist/components/ion-thumbnail.js +34 -1
  355. package/dist/components/ion-title.js +71 -1
  356. package/dist/components/ion-toast.js +914 -3
  357. package/dist/components/ion-toggle.js +282 -1
  358. package/dist/components/ion-toolbar.js +91 -1
  359. package/dist/components/p-01b49f83.js +269 -0
  360. package/dist/{esm/ios.transition-DMsViooj.js → components/p-02b77441.js} +2 -5
  361. package/dist/components/p-02bc6b21.js +203 -0
  362. package/dist/components/p-031ed92d.js +389 -0
  363. package/dist/components/p-03803c7d.js +369 -0
  364. package/dist/components/p-089e034e.js +234 -0
  365. package/dist/components/p-0dc7a5ff.js +512 -0
  366. package/dist/components/p-110f8490.js +566 -0
  367. package/dist/components/p-112455b1.js +17 -0
  368. package/dist/{esm/index-BMJhFU53.js → components/p-1596e301.js} +4 -4
  369. package/dist/components/p-1785e30a.js +318 -0
  370. package/dist/{esm/helpers-C6kqtbmV.js → components/p-2bb89b46.js} +5 -2
  371. package/dist/components/p-2d7d745d.js +224 -0
  372. package/dist/components/p-2fc99fef.js +262 -0
  373. package/dist/{esm/input-shims-DSFPFhb7.js → components/p-3296ebd9.js} +4 -6
  374. package/dist/{esm/data-Cl-_yBA0.js → components/p-39ad94cf.js} +2 -2
  375. package/dist/{esm/capacitor-CG3xQUND.js → components/p-3d3eefc3.js} +1 -1
  376. package/dist/{esm/form-controller-xetTxjL6.js → components/p-3e1d2896.js} +1 -1
  377. package/dist/{esm/keyboard-controller-CqGCg8tB.js → components/p-3e1e3453.js} +2 -2
  378. package/dist/{esm/md.transition-BQT2r4ED.js → components/p-503328f2.js} +2 -5
  379. package/dist/components/p-51c44f42.js +98 -0
  380. package/dist/components/p-5280b372.js +42 -0
  381. package/dist/{esm/index-DuUXGZp2.js → components/p-53e2dbe4.js} +3 -3
  382. package/dist/components/p-5441c730.js +851 -0
  383. package/dist/{esm/refresher.utils-D4tPnZsM.js → components/p-74e68924.js} +4 -4
  384. package/dist/{esm/framework-delegate-D_uGiYYw.js → components/p-76525f0f.js} +1 -1
  385. package/dist/{esm/index-CcopIPA0.js → components/p-77104220.js} +6 -4
  386. package/dist/components/p-77ccb793.js +185 -0
  387. package/dist/components/p-83e529db.js +380 -0
  388. package/dist/{esm/animation-DRf3dwMu.js → components/p-89c4c5cb.js} +2 -2
  389. package/dist/components/p-8b3d1e06.js +67 -0
  390. package/dist/components/p-901c16c5.js +210 -0
  391. package/dist/components/p-93e2a608.js +374 -0
  392. package/dist/components/p-95c79593.js +43 -0
  393. package/dist/components/p-96073863.js +82 -0
  394. package/dist/components/p-99e447f9.js +13 -0
  395. package/dist/{esm/keyboard-DgiyREKb.js → components/p-9b519de5.js} +1 -1
  396. package/dist/{esm/input.utils-BuIvhxo3.js → components/p-9d350d61.js} +3 -3
  397. package/dist/{esm/notch-controller-CQeDnZLe.js → components/p-9df67c24.js} +2 -2
  398. package/dist/components/p-a0e691dd.js +39 -0
  399. package/dist/components/p-ab10d1ae.js +47 -0
  400. package/dist/components/p-abc01c5d.js +194 -0
  401. package/dist/components/p-abd248d1.js +196 -0
  402. package/dist/{esm/haptic-D5jGzBs8.js → components/p-af073aaf.js} +2 -2
  403. package/dist/{esm/swipe-back-DE05lWQD.js → components/p-b32529b9.js} +3 -4
  404. package/dist/{esm/index-C75BfBAE.js → components/p-b8fdd517.js} +1 -2
  405. package/dist/components/p-cebc113f.js +38 -0
  406. package/dist/components/p-d25fd077.js +331 -0
  407. package/dist/{esm/menu-toggle-util-wdO31cdC.js → components/p-d3596f64.js} +1 -1
  408. package/dist/{esm/keyboard-DcbqYXj5.js → components/p-d60b2328.js} +1 -3
  409. package/dist/components/p-d69dc32f.js +97 -0
  410. package/dist/{esm/hardware-back-button-CzxcJiYO.js → components/p-d72e8d7b.js} +2 -3
  411. package/dist/{esm/ar-B3WORC1a.js → components/p-d839c693.js} +12 -5
  412. package/dist/{esm/index-D8d_89Nl.js → components/p-e187a77c.js} +1 -1
  413. package/dist/components/p-e65ea9fb.js +1379 -0
  414. package/dist/components/p-ec0e3f3f.js +2040 -0
  415. package/dist/components/p-ecb4db1c.js +64 -0
  416. package/dist/{esm/gesture-controller-CukVBo5-.js → components/p-f728a68f.js} +1 -1
  417. package/dist/components/p-f7e3c502.js +73 -0
  418. package/dist/components/p-fe463a42.js +272 -0
  419. package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
  420. package/dist/esm/amwal-checkout-button_5.entry.js +1296 -2881
  421. package/dist/esm/amwal-installments-guide.entry.js +40 -43
  422. package/dist/esm/amwal-pos.entry.js +3178 -3452
  423. package/dist/esm/amwal-widget-modal.entry.js +160 -175
  424. package/dist/esm/amwal-widget.entry.js +312 -343
  425. package/dist/esm/animation-a6d5c3b1.js +1063 -0
  426. package/dist/esm/{app-globals-BHnkZZiH.js → app-globals-c817b28b.js} +1 -1
  427. package/dist/esm/ar-7d2629bf.js +51 -0
  428. package/dist/esm/capacitor-ba4337da.js +13 -0
  429. package/dist/esm/checkout.js +18 -16
  430. package/dist/esm/config-8e06237c.js +171 -0
  431. package/dist/esm/cubic-bezier-874f336d.js +90 -0
  432. package/dist/esm/data-8916315d.js +1628 -0
  433. package/dist/esm/dir-1d4aa386.js +18 -0
  434. package/dist/esm/focus-visible-32968d3d.js +75 -0
  435. package/dist/esm/form-controller-b1aa7393.js +64 -0
  436. package/dist/esm/framework-delegate-de1aa369.js +140 -0
  437. package/dist/esm/gesture-controller-58ffa500.js +195 -0
  438. package/dist/esm/haptic-4d4d8eb1.js +206 -0
  439. package/dist/esm/hardware-back-button-f93acff0.js +116 -0
  440. package/dist/esm/helpers-f0dcbd72.js +418 -0
  441. package/dist/esm/i18n-53f85411.js +13 -0
  442. package/dist/esm/{index-CNcx43L8.js → index-0b560278.js} +4 -4
  443. package/dist/esm/index-5894dd63.js +196 -0
  444. package/dist/esm/{index-DUF6JAQL.js → index-5a126e54.js} +6 -6
  445. package/dist/esm/index-5e663431.js +128 -0
  446. package/dist/esm/index-8cc94b11.js +2219 -0
  447. package/dist/esm/index-afdf867c.js +26 -0
  448. package/dist/esm/index-d9b41a43.js +34 -0
  449. package/dist/esm/index-f6dce931.js +466 -0
  450. package/dist/esm/index-fb97e55c.js +7 -0
  451. package/dist/esm/input-shims-75d4750d.js +617 -0
  452. package/dist/esm/input.utils-79bde07f.js +138 -0
  453. package/dist/esm/ion-accordion-group.entry.js +197 -203
  454. package/dist/esm/ion-accordion.entry.js +303 -305
  455. package/dist/esm/ion-action-sheet_3.entry.js +693 -705
  456. package/dist/esm/ion-app.entry.js +93 -93
  457. package/dist/esm/ion-avatar.entry.js +12 -12
  458. package/dist/esm/ion-back-button.entry.js +76 -76
  459. package/dist/esm/ion-backdrop.entry.js +42 -42
  460. package/dist/esm/ion-badge.entry.js +17 -17
  461. package/dist/esm/ion-breadcrumb.entry.js +84 -84
  462. package/dist/esm/ion-breadcrumbs.entry.js +118 -124
  463. package/dist/esm/ion-buttons_3.entry.js +820 -822
  464. package/dist/esm/ion-card-content.entry.js +17 -17
  465. package/dist/esm/ion-card-header.entry.js +20 -20
  466. package/dist/esm/ion-card-subtitle.entry.js +18 -18
  467. package/dist/esm/ion-card-title.entry.js +18 -18
  468. package/dist/esm/ion-card.entry.js +53 -53
  469. package/dist/esm/ion-checkbox_7.entry.js +860 -882
  470. package/dist/esm/ion-chip.entry.js +22 -22
  471. package/dist/esm/ion-col.entry.js +108 -108
  472. package/dist/esm/ion-content.entry.js +374 -374
  473. package/dist/esm/ion-datetime-button.entry.js +328 -328
  474. package/dist/esm/ion-datetime.entry.js +1545 -1567
  475. package/dist/esm/ion-fab-button.entry.js +76 -76
  476. package/dist/esm/ion-fab-list.entry.js +29 -31
  477. package/dist/esm/ion-fab.entry.js +56 -58
  478. package/dist/esm/ion-footer.entry.js +92 -92
  479. package/dist/esm/ion-grid.entry.js +15 -15
  480. package/dist/esm/ion-header.entry.js +141 -141
  481. package/dist/esm/ion-icon.entry.js +102 -112
  482. package/dist/esm/ion-img.entry.js +81 -83
  483. package/dist/esm/ion-infinite-scroll-content.entry.js +32 -32
  484. package/dist/esm/ion-infinite-scroll.entry.js +172 -176
  485. package/dist/esm/ion-input.entry.js +445 -453
  486. package/dist/esm/ion-item-divider.entry.js +21 -21
  487. package/dist/esm/ion-item-group.entry.js +18 -18
  488. package/dist/esm/ion-item-option.entry.js +43 -43
  489. package/dist/esm/ion-item-options.entry.js +38 -38
  490. package/dist/esm/ion-item-sliding.entry.js +389 -391
  491. package/dist/esm/ion-loading.entry.js +160 -164
  492. package/dist/esm/ion-menu-button.entry.js +58 -58
  493. package/dist/esm/ion-menu-toggle.entry.js +34 -34
  494. package/dist/esm/ion-menu.entry.js +604 -612
  495. package/dist/esm/ion-modal.entry.js +549 -553
  496. package/dist/esm/ion-nav-link.entry.js +15 -15
  497. package/dist/esm/ion-nav.entry.js +821 -825
  498. package/dist/esm/ion-note.entry.js +17 -17
  499. package/dist/esm/ion-picker-column.entry.js +325 -327
  500. package/dist/esm/ion-picker.entry.js +196 -200
  501. package/dist/esm/ion-popover.entry.js +324 -330
  502. package/dist/esm/ion-progress-bar.entry.js +42 -42
  503. package/dist/esm/ion-range.entry.js +642 -654
  504. package/dist/esm/ion-refresher-content.entry.js +51 -51
  505. package/dist/esm/ion-refresher.entry.js +584 -586
  506. package/dist/esm/ion-reorder-group.entry.js +250 -252
  507. package/dist/esm/ion-reorder.entry.js +24 -24
  508. package/dist/esm/ion-route-redirect.entry.js +17 -21
  509. package/dist/esm/ion-route.entry.js +35 -41
  510. package/dist/esm/ion-router-link.entry.js +29 -29
  511. package/dist/esm/ion-router-outlet.entry.js +176 -178
  512. package/dist/esm/ion-router.entry.js +264 -264
  513. package/dist/esm/ion-row.entry.js +10 -10
  514. package/dist/esm/ion-searchbar.entry.js +386 -396
  515. package/dist/esm/ion-segment-button.entry.js +94 -96
  516. package/dist/esm/ion-segment.entry.js +412 -420
  517. package/dist/esm/ion-select-option.entry.js +14 -14
  518. package/dist/esm/ion-select.entry.js +691 -699
  519. package/dist/esm/ion-skeleton-text.entry.js +33 -33
  520. package/dist/esm/ion-spinner.entry.js +48 -48
  521. package/dist/esm/ion-split-pane.entry.js +118 -124
  522. package/dist/esm/ion-tab-bar.entry.js +64 -66
  523. package/dist/esm/ion-tab-button.entry.js +80 -80
  524. package/dist/esm/ion-tab.entry.js +48 -50
  525. package/dist/esm/ion-tabs.entry.js +132 -132
  526. package/dist/esm/ion-textarea.entry.js +394 -400
  527. package/dist/esm/ion-thumbnail.entry.js +10 -10
  528. package/dist/esm/ion-title.entry.js +41 -43
  529. package/dist/esm/ion-toast.entry.js +369 -375
  530. package/dist/esm/ion-toggle.entry.js +228 -230
  531. package/dist/esm/ion-toolbar.entry.js +59 -59
  532. package/dist/esm/{ionic-global-DXXzPLPc.js → ionic-global-0b7766cb.js} +55 -58
  533. package/dist/esm/ios.transition-22fb53bc.js +651 -0
  534. package/dist/esm/keyboard-1f073554.js +82 -0
  535. package/dist/esm/keyboard-96b6e80b.js +146 -0
  536. package/dist/esm/keyboard-controller-5a2f625f.js +165 -0
  537. package/dist/esm/loader.js +17 -8
  538. package/dist/esm/lock-controller-632e3c10.js +38 -0
  539. package/dist/esm/md.transition-f6ff9834.js +57 -0
  540. package/dist/esm/menu-toggle-util-594849ff.js +12 -0
  541. package/dist/esm/notch-controller-d511b3b3.js +153 -0
  542. package/dist/esm/{overlays-SBLrmFy6.js → overlays-642a91df.js} +7 -7
  543. package/dist/esm/polyfills/core-js.js +11 -0
  544. package/dist/esm/polyfills/css-shim.js +1 -0
  545. package/dist/esm/polyfills/dom.js +79 -0
  546. package/dist/esm/polyfills/es5-html-element.js +1 -0
  547. package/dist/esm/polyfills/index.js +34 -0
  548. package/dist/esm/polyfills/system.js +6 -0
  549. package/dist/esm/refresher.utils-19137568.js +196 -0
  550. package/dist/esm/{status-tap-CjxQA4Bj.js → status-tap-bb6959a8.js} +4 -4
  551. package/dist/esm/swipe-back-6cec4c33.js +79 -0
  552. package/dist/esm/theme-35c700b7.js +43 -0
  553. package/dist/esm/watch-options-7bf43687.js +47 -0
  554. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +193 -0
  555. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +135 -0
  556. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +127 -0
  557. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +229 -0
  558. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +456 -0
  559. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +384 -0
  560. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +755 -0
  561. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +770 -0
  562. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
  563. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +132 -0
  564. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +132 -0
  565. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +372 -0
  566. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +385 -0
  567. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +136 -0
  568. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +136 -0
  569. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +168 -0
  570. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +164 -0
  571. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +326 -0
  572. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +310 -0
  573. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +81 -0
  574. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +80 -0
  575. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +596 -0
  576. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +517 -0
  577. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +279 -0
  578. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +299 -0
  579. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +203 -0
  580. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +198 -0
  581. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +163 -0
  582. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +165 -0
  583. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +141 -0
  584. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +138 -0
  585. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +138 -0
  586. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +136 -0
  587. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +137 -0
  588. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +137 -0
  589. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +536 -0
  590. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +552 -0
  591. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +212 -0
  592. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +207 -0
  593. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +200 -0
  594. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +282 -0
  595. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +850 -0
  596. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +706 -0
  597. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +100 -0
  598. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +366 -0
  599. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +422 -0
  600. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +393 -0
  601. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +240 -0
  602. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +146 -0
  603. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +129 -0
  604. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +235 -0
  605. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +250 -0
  606. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +133 -0
  607. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
  608. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
  609. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +156 -0
  610. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +156 -0
  611. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +833 -0
  612. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +1446 -0
  613. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +815 -0
  614. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +1187 -0
  615. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +351 -0
  616. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +417 -0
  617. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +114 -0
  618. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +114 -0
  619. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +242 -0
  620. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +236 -0
  621. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +287 -0
  622. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +284 -0
  623. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +121 -0
  624. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +334 -0
  625. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +421 -0
  626. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +242 -0
  627. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +287 -0
  628. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +285 -0
  629. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +266 -0
  630. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +205 -0
  631. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +196 -0
  632. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +378 -0
  633. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +374 -0
  634. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +279 -0
  635. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +282 -0
  636. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
  637. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +357 -0
  638. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +272 -0
  639. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +64 -0
  640. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +127 -0
  641. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +127 -0
  642. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +367 -0
  643. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +354 -0
  644. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +255 -0
  645. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +246 -0
  646. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +138 -0
  647. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +196 -0
  648. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +262 -0
  649. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +258 -0
  650. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +366 -0
  651. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +266 -0
  652. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +261 -0
  653. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +261 -0
  654. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +557 -0
  655. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +580 -0
  656. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +660 -0
  657. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +819 -0
  658. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +321 -0
  659. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +316 -0
  660. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +77 -0
  661. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +77 -0
  662. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +89 -0
  663. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +113 -0
  664. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +84 -0
  665. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/router-outlet.css +64 -0
  666. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +136 -0
  667. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +477 -0
  668. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +456 -0
  669. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +224 -0
  670. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +214 -0
  671. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +520 -0
  672. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +506 -0
  673. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +787 -0
  674. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +1374 -0
  675. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
  676. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +190 -0
  677. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +212 -0
  678. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +108 -0
  679. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +232 -0
  680. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +265 -0
  681. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +265 -0
  682. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
  683. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +252 -0
  684. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +239 -0
  685. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +477 -0
  686. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +501 -0
  687. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +74 -0
  688. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +58 -0
  689. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +987 -0
  690. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +1553 -0
  691. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +76 -0
  692. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +183 -0
  693. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +102 -0
  694. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +399 -0
  695. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +429 -0
  696. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +680 -0
  697. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +625 -0
  698. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +265 -0
  699. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +244 -0
  700. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +144 -0
  701. package/dist/types/components/amwal-checkout-button/amwal-checkout-button.d.ts +327 -327
  702. package/dist/types/components/amwal-checkout-button/amwal-checkout-button.stories.d.ts +34 -34
  703. package/dist/types/components/amwal-installments-guide/amwal-installments-guide.d.ts +14 -14
  704. package/dist/types/components/amwal-installments-guide/amwal-installments-guide.stories.d.ts +17 -17
  705. package/dist/types/components/amwal-installments-timeline/amwal-installments-timeline.d.ts +106 -106
  706. package/dist/types/components/amwal-installments-timeline/amwal-installments-timeline.stories.d.ts +67 -67
  707. package/dist/types/components/amwal-pos/amwal-pos.d.ts +228 -228
  708. package/dist/types/components/amwal-pos/amwal-pos.stories.d.ts +185 -185
  709. package/dist/types/components/amwal-widget/amwal-widget-modal.d.ts +56 -56
  710. package/dist/types/components/amwal-widget/amwal-widget.d.ts +165 -165
  711. package/dist/types/components/amwal-widget/amwal-widget.stories.d.ts +101 -101
  712. package/dist/types/components.d.ts +0 -206
  713. package/dist/types/lang/i18n.d.ts +1 -1
  714. package/dist/types/stencil-public-runtime.d.ts +21 -191
  715. package/loader/cdn.js +3 -1
  716. package/loader/index.cjs.js +3 -1
  717. package/loader/index.d.ts +1 -4
  718. package/loader/index.es2017.js +3 -1
  719. package/loader/index.js +3 -1
  720. package/loader/package.json +11 -0
  721. package/package.json +28 -34
  722. package/dist/checkout/p-0161d109.entry.js +0 -1
  723. package/dist/checkout/p-0a8ef1ec.entry.js +0 -1
  724. package/dist/checkout/p-10a72fbe.entry.js +0 -1
  725. package/dist/checkout/p-12ed4081.entry.js +0 -1
  726. package/dist/checkout/p-13c36adc.entry.js +0 -1
  727. package/dist/checkout/p-194b17d8.entry.js +0 -1
  728. package/dist/checkout/p-272a1ffd.entry.js +0 -1
  729. package/dist/checkout/p-307af48b.entry.js +0 -1
  730. package/dist/checkout/p-3207674d.entry.js +0 -1
  731. package/dist/checkout/p-3208e56f.entry.js +0 -1
  732. package/dist/checkout/p-4426eb3b.entry.js +0 -1
  733. package/dist/checkout/p-458da59f.entry.js +0 -1
  734. package/dist/checkout/p-46e69508.entry.js +0 -1
  735. package/dist/checkout/p-49046c16.entry.js +0 -4
  736. package/dist/checkout/p-53dc0e86.entry.js +0 -1
  737. package/dist/checkout/p-5a6fc9fd.entry.js +0 -1
  738. package/dist/checkout/p-5e65653a.entry.js +0 -1
  739. package/dist/checkout/p-5f124c24.entry.js +0 -1
  740. package/dist/checkout/p-6a8ad104.entry.js +0 -1
  741. package/dist/checkout/p-76fb4325.entry.js +0 -1
  742. package/dist/checkout/p-78db60fb.entry.js +0 -1
  743. package/dist/checkout/p-8e34a1bb.entry.js +0 -1
  744. package/dist/checkout/p-91474b10.entry.js +0 -1
  745. package/dist/checkout/p-93OyAGoo.js +0 -2
  746. package/dist/checkout/p-94a57258.entry.js +0 -1
  747. package/dist/checkout/p-BEVStXwd.js +0 -7
  748. package/dist/checkout/p-BQu7QPd5.js +0 -4
  749. package/dist/checkout/p-BR7SJd-v.js +0 -4
  750. package/dist/checkout/p-BcFRJSFv.js +0 -4
  751. package/dist/checkout/p-BcUxrseY.js +0 -1
  752. package/dist/checkout/p-BdG893XR.js +0 -4
  753. package/dist/checkout/p-BgOwfqIY.js +0 -4
  754. package/dist/checkout/p-Bm9bMvCb.js +0 -4
  755. package/dist/checkout/p-C03M5ZSM.js +0 -1
  756. package/dist/checkout/p-C6kqtbmV.js +0 -4
  757. package/dist/checkout/p-C75BfBAE.js +0 -1
  758. package/dist/checkout/p-CVrvo9Qz.js +0 -4
  759. package/dist/checkout/p-ChixdDt6.js +0 -4
  760. package/dist/checkout/p-Cjnmql4G.js +0 -8
  761. package/dist/checkout/p-D0I0TqZU.js +0 -4
  762. package/dist/checkout/p-D2NxOvQ8.js +0 -4
  763. package/dist/checkout/p-D8d_89Nl.js +0 -4
  764. package/dist/checkout/p-DAhcxcAh.js +0 -4
  765. package/dist/checkout/p-DDtPO7yO.js +0 -4
  766. package/dist/checkout/p-DKg_dYcq.js +0 -4
  767. package/dist/checkout/p-DMAPbDyG.js +0 -4
  768. package/dist/checkout/p-DihS-5gH.js +0 -4
  769. package/dist/checkout/p-DkrNcwKK.js +0 -5
  770. package/dist/checkout/p-Dzj_jqIY.js +0 -4
  771. package/dist/checkout/p-E8AXUhZ3.js +0 -7
  772. package/dist/checkout/p-Ufaww5Lq.js +0 -4
  773. package/dist/checkout/p-a90efa79.entry.js +0 -1
  774. package/dist/checkout/p-abd12b84.entry.js +0 -1
  775. package/dist/checkout/p-abe1becc.entry.js +0 -1
  776. package/dist/checkout/p-b2f66c60.entry.js +0 -4
  777. package/dist/checkout/p-b45f5952.entry.js +0 -1
  778. package/dist/checkout/p-c2240d19.entry.js +0 -1
  779. package/dist/checkout/p-c28b4374.entry.js +0 -1
  780. package/dist/checkout/p-cb2db223.entry.js +0 -1
  781. package/dist/checkout/p-cb3967fc.entry.js +0 -1
  782. package/dist/checkout/p-cef16f11.entry.js +0 -1
  783. package/dist/checkout/p-df1b4347.entry.js +0 -4
  784. package/dist/checkout/p-e4bc42fb.entry.js +0 -1
  785. package/dist/checkout/p-e785fb8a.entry.js +0 -1
  786. package/dist/checkout/p-e8bd206a.entry.js +0 -1
  787. package/dist/checkout/p-ef749875.entry.js +0 -1
  788. package/dist/checkout/p-f157b6b2.entry.js +0 -4
  789. package/dist/checkout/p-f351a19a.entry.js +0 -1
  790. package/dist/checkout/p-ff2e59e3.entry.js +0 -1
  791. package/dist/checkout/p-hAETByzF.js +0 -5
  792. package/dist/checkout/p-vn1iXXUO.js +0 -9
  793. package/dist/cjs/i18n-uGNv9SLK.js +0 -13
  794. package/dist/cjs/index-DncWzXDA.js +0 -3738
  795. package/dist/components/p-55BwDerf.js +0 -8
  796. package/dist/components/p-B-M4K7iJ.js +0 -7
  797. package/dist/components/p-B-hirT0v.js +0 -4
  798. package/dist/components/p-B3WORC1a.js +0 -1
  799. package/dist/components/p-B5XH2zAk.js +0 -1
  800. package/dist/components/p-B5ZghgSh.js +0 -4
  801. package/dist/components/p-BEVStXwd.js +0 -7
  802. package/dist/components/p-BH0TCnxk.js +0 -4
  803. package/dist/components/p-BIA8A9ZO.js +0 -1
  804. package/dist/components/p-BOkYKP6F.js +0 -1
  805. package/dist/components/p-BOm0KT2x.js +0 -1
  806. package/dist/components/p-Bb_Zji0h.js +0 -4
  807. package/dist/components/p-BmVRXR1y.js +0 -4
  808. package/dist/components/p-BnQDByf2.js +0 -1
  809. package/dist/components/p-BoxjYI-Q.js +0 -4
  810. package/dist/components/p-BriBxgcM.js +0 -1
  811. package/dist/components/p-BwKjt_Dc.js +0 -4
  812. package/dist/components/p-Bx78uXfc.js +0 -5
  813. package/dist/components/p-C-20JWsp.js +0 -4
  814. package/dist/components/p-C03M5ZSM.js +0 -1
  815. package/dist/components/p-C53feagD.js +0 -4
  816. package/dist/components/p-CLrB3zV0.js +0 -4
  817. package/dist/components/p-CN34uOrj.js +0 -9
  818. package/dist/components/p-CQmcNwZM.js +0 -4
  819. package/dist/components/p-CYd0Smt1.js +0 -1
  820. package/dist/components/p-CgPXSjzI.js +0 -4
  821. package/dist/components/p-Cho32MPa.js +0 -4
  822. package/dist/components/p-ClE6rMJs.js +0 -4
  823. package/dist/components/p-Cm9b7fIl.js +0 -1
  824. package/dist/components/p-CukVBo5-.js +0 -4
  825. package/dist/components/p-D2NxOvQ8.js +0 -4
  826. package/dist/components/p-D4DqwBlW.js +0 -4
  827. package/dist/components/p-D7YY0NXg.js +0 -4
  828. package/dist/components/p-D8OVJo1v.js +0 -7
  829. package/dist/components/p-DKg_dYcq.js +0 -4
  830. package/dist/components/p-DLVYPrYs.js +0 -1
  831. package/dist/components/p-DMmSL7_l.js +0 -1
  832. package/dist/components/p-DOPF2QRF.js +0 -1
  833. package/dist/components/p-DTgJTJD6.js +0 -1
  834. package/dist/components/p-DiVJyqlX.js +0 -4
  835. package/dist/components/p-DrS88eFz.js +0 -1
  836. package/dist/components/p-Dtdm8lKC.js +0 -4
  837. package/dist/components/p-DuZ7hY1a.js +0 -4
  838. package/dist/components/p-Dx-C8Ob_.js +0 -7
  839. package/dist/components/p-DxEgz9x_.js +0 -1
  840. package/dist/components/p-DxSo4SXG.js +0 -1
  841. package/dist/components/p-HSPzo8it.js +0 -1
  842. package/dist/components/p-OrwCUtWu.js +0 -4
  843. package/dist/components/p-UgkI2Wa4.js +0 -1
  844. package/dist/components/p-VeNdmYSo.js +0 -1
  845. package/dist/components/p-YbpebnFS.js +0 -4
  846. package/dist/components/p-ZjP4CjeZ.js +0 -4
  847. package/dist/components/p-_VuKPdkD.js +0 -4
  848. package/dist/components/p-aWL6BxTN.js +0 -4
  849. package/dist/components/p-hHmYLOfE.js +0 -4
  850. package/dist/components/p-qoI-S7yk.js +0 -4
  851. package/dist/components/p-uXV7tzS3.js +0 -1
  852. package/dist/components/p-yu3xCFhr.js +0 -7
  853. package/dist/components/p-zp5f483d.js +0 -1
  854. package/dist/esm/i18n-C_AfxZ5D.js +0 -13
  855. package/dist/esm/index-93OyAGoo.js +0 -3721
  856. /package/dist/checkout/{p-B-hirT0v.js → p-01ad898f.js} +0 -0
  857. /package/dist/checkout/{p-DiVJyqlX.js → p-350e7423.js} +0 -0
  858. /package/dist/checkout/{p-sObYyvOy.js → p-52b4c112.js} +0 -0
  859. /package/dist/checkout/{p-BmVRXR1y.js → p-620fa0ec.js} +0 -0
  860. /package/dist/checkout/{p-hHmYLOfE.js → p-94286cc3.js} +0 -0
  861. /package/dist/checkout/{p-D4RIp70E.js → p-9efbca93.js} +0 -0
  862. /package/dist/checkout/{p-Dtdm8lKC.js → p-9f4ac833.js} +0 -0
  863. /package/dist/checkout/{p-yu3xCFhr.js → p-b2289937.js} +0 -0
  864. /package/dist/checkout/{p-C53feagD.js → p-d5862637.js} +0 -0
  865. /package/dist/checkout/{p-ZjP4CjeZ.js → p-d7fe59ee.js} +0 -0
  866. /package/dist/{components/p-CYPPT3AE.js → checkout/p-e187a77c.js} +0 -0
  867. /package/dist/checkout/{p-CukVBo5-.js → p-f728a68f.js} +0 -0
  868. /package/dist/cjs/{compare-with-utils-JlLIkecm.js → compare-with-utils-adbe64a6.js} +0 -0
  869. /package/dist/cjs/{config-ptk2Lf4l.js → config-e2a8c0c7.js} +0 -0
  870. /package/dist/cjs/{cubic-bezier-Bv3PvaRI.js → cubic-bezier-5ff9b04e.js} +0 -0
  871. /package/dist/cjs/{dir-Br-7_bel.js → dir-374f13f2.js} +0 -0
  872. /package/dist/cjs/{focus-visible-Da2o6bTP.js → focus-visible-b7381162.js} +0 -0
  873. /package/dist/cjs/{index-CH3IFTaK.js → index-071786b4.js} +0 -0
  874. /package/dist/cjs/{index-D3mJ1Cix.js → index-a281cac3.js} +0 -0
  875. /package/dist/cjs/{lock-controller-58TZFRHC.js → lock-controller-e2dfece6.js} +0 -0
  876. /package/dist/cjs/{spinner-configs-BN41iw42.js → spinner-configs-036ebfd8.js} +0 -0
  877. /package/dist/cjs/{theme-DbHdw1Nx.js → theme-12dec869.js} +0 -0
  878. /package/dist/cjs/{watch-options-DOFUPyuf.js → watch-options-1cccbe6a.js} +0 -0
  879. /package/dist/{esm/lock-controller-B-hirT0v.js → components/p-01ad898f.js} +0 -0
  880. /package/dist/{esm/theme-DiVJyqlX.js → components/p-350e7423.js} +0 -0
  881. /package/dist/{esm/focus-visible-BmVRXR1y.js → components/p-620fa0ec.js} +0 -0
  882. /package/dist/{esm/cubic-bezier-hHmYLOfE.js → components/p-94286cc3.js} +0 -0
  883. /package/dist/{esm/watch-options-Dtdm8lKC.js → components/p-9f4ac833.js} +0 -0
  884. /package/dist/{esm/config-yu3xCFhr.js → components/p-b2289937.js} +0 -0
  885. /package/dist/{esm/dir-C53feagD.js → components/p-d5862637.js} +0 -0
  886. /package/dist/{esm/index-ZjP4CjeZ.js → components/p-d7fe59ee.js} +0 -0
  887. /package/dist/esm/{compare-with-utils-sObYyvOy.js → compare-with-utils-d58be312.js} +0 -0
  888. /package/dist/esm/{spinner-configs-D4RIp70E.js → spinner-configs-c9fb0813.js} +0 -0
@@ -0,0 +1,1553 @@
1
+ /**
2
+ * Convert a font size to a dynamic font size.
3
+ * Fonts that participate in Dynamic Type should use
4
+ * dynamic font sizes.
5
+ * @param size - The initial font size including the unit (i.e. px or pt)
6
+ * @param unit (optional) - The unit to convert to. Use this if you want to
7
+ * convert to a unit other than $baselineUnit.
8
+ */
9
+ /**
10
+ * Convert a font size to a dynamic font size but impose
11
+ * a maximum font size.
12
+ * @param size - The initial font size including the unit (i.e. px or pt)
13
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
14
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
15
+ * convert to a unit other than $baselineUnit.
16
+ */
17
+ /**
18
+ * Convert a font size to a dynamic font size but impose
19
+ * a minimum font size.
20
+ * @param size - The initial font size including the unit (i.e. px or pt)
21
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
22
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
23
+ * convert to a unit other than $baselineUnit.
24
+ */
25
+ /**
26
+ * Convert a font size to a dynamic font size but impose
27
+ * maximum and minimum font sizes.
28
+ * @param size - The initial font size including the unit (i.e. px or pt)
29
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
30
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
31
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
32
+ * convert to a unit other than $baselineUnit.
33
+ */
34
+ /**
35
+ * A heuristic that applies CSS to tablet
36
+ * viewports.
37
+ *
38
+ * Usage:
39
+ * @include tablet-viewport() {
40
+ * :host {
41
+ * background-color: green;
42
+ * }
43
+ * }
44
+ */
45
+ /**
46
+ * A heuristic that applies CSS to mobile
47
+ * viewports (i.e. phones, not tablets).
48
+ *
49
+ * Usage:
50
+ * @include mobile-viewport() {
51
+ * :host {
52
+ * background-color: blue;
53
+ * }
54
+ * }
55
+ */
56
+ :host {
57
+ /**
58
+ * @prop --background: Background of the textarea
59
+ *
60
+ * @prop --border-radius: Border radius of the textarea
61
+ * @prop --border-color: Color of the border below the textarea when using helper text, error text, or counter
62
+ * @prop --border-radius: Radius of the textarea border. A large radius may display unevenly when using fill="outline"; if needed, use shape="round" instead or increase --padding-start.
63
+ * @prop --border-style: Style of the border below the textarea when using helper text, error text, or counter
64
+ * @prop --border-width: Width of the border below the textarea when using helper text, error text, or counter
65
+ *
66
+ * @prop --color: Color of the text
67
+ *
68
+ * @prop --placeholder-color: Color of the placeholder text
69
+ * @prop --placeholder-font-style: Style of the placeholder text
70
+ * @prop --placeholder-font-weight: Weight of the placeholder text
71
+ * @prop --placeholder-opacity: Opacity of the placeholder text
72
+ *
73
+ * @prop --highlight-color-focused: The color of the highlight on the textarea when focused
74
+ * @prop --highlight-color-valid: The color of the highlight on the textarea when valid
75
+ * @prop --highlight-color-invalid: The color of the highlight on the textarea when invalid
76
+ *
77
+ * @prop --padding-top: Top padding of the textarea
78
+ * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the textarea
79
+ * @prop --padding-bottom: Bottom padding of the textarea
80
+ * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the textarea
81
+ */
82
+ --background: initial;
83
+ --color: initial;
84
+ --placeholder-color: initial;
85
+ --placeholder-font-style: initial;
86
+ --placeholder-font-weight: initial;
87
+ --placeholder-opacity: 0.6;
88
+ --padding-top: 0;
89
+ --padding-end: 0;
90
+ --padding-bottom: 0;
91
+ --padding-start: 0;
92
+ --border-radius: 0;
93
+ --border-style: solid;
94
+ --highlight-color-focused: var(--ion-color-primary, #3880ff);
95
+ --highlight-color-valid: var(--ion-color-success, #2dd36f);
96
+ --highlight-color-invalid: var(--ion-color-danger, #eb445a);
97
+ /**
98
+ * This is a private API that is used to switch
99
+ * out the highlight color based on the state
100
+ * of the component without having to write
101
+ * different selectors for different fill variants.
102
+ */
103
+ --highlight-color: var(--highlight-color-focused);
104
+ display: block;
105
+ position: relative;
106
+ width: 100%;
107
+ color: var(--color);
108
+ font-family: var(--ion-font-family, inherit);
109
+ z-index: 2;
110
+ box-sizing: border-box;
111
+ }
112
+
113
+ :host(:not(.legacy-textarea)) {
114
+ min-height: 44px;
115
+ }
116
+
117
+ /**
118
+ * Since the label sits on top of the element,
119
+ * the component needs to be taller otherwise the
120
+ * label will appear too close to the textarea text.
121
+ * Also, floating and stacked labels should not
122
+ * push the label down since it it
123
+ * sits on top of the textarea.
124
+ */
125
+ :host(.textarea-label-placement-floating),
126
+ :host(.textarea-label-placement-stacked) {
127
+ --padding-top: 0px;
128
+ min-height: 56px;
129
+ }
130
+
131
+ /**
132
+ * When the cols property is set we should
133
+ * respect that width instead of defaulting
134
+ * to taking up the entire line.
135
+ * Requires both the cols and autoGrow
136
+ * properties to be reflected as attributes
137
+ * on the host.
138
+ *
139
+ * cols does not work with autoGrow because
140
+ * autoGrow would prevent line breaks from naturally
141
+ * occurring until the textarea takes up the entire line width.
142
+ */
143
+ :host([cols]:not([auto-grow])) {
144
+ width: fit-content;
145
+ }
146
+
147
+ :host(.legacy-textarea) {
148
+ flex: 1;
149
+ background: var(--background);
150
+ white-space: pre-wrap;
151
+ }
152
+
153
+ :host(.legacy-textarea.ion-color) {
154
+ color: var(--ion-color-base);
155
+ }
156
+
157
+ :host(:not(.legacy-textarea)) {
158
+ --padding-bottom: 8px;
159
+ }
160
+
161
+ :host(.ion-color) {
162
+ --highlight-color-focused: var(--ion-color-base);
163
+ background: initial;
164
+ }
165
+
166
+ :host-context(ion-item) {
167
+ align-self: baseline;
168
+ }
169
+
170
+ :host-context(ion-item:not(.item-label)) {
171
+ --padding-start: 0;
172
+ }
173
+
174
+ :host-context(ion-item)[slot=start],
175
+ :host-context(ion-item)[slot=end] {
176
+ width: auto;
177
+ }
178
+
179
+ .native-textarea {
180
+ margin-left: 0;
181
+ margin-right: 0;
182
+ margin-top: 0;
183
+ margin-bottom: 0;
184
+ padding-left: 0;
185
+ padding-right: 0;
186
+ padding-top: 0;
187
+ padding-bottom: 0;
188
+ display: block;
189
+ position: relative;
190
+ flex: 1;
191
+ width: 100%;
192
+ max-width: 100%;
193
+ max-height: 100%;
194
+ border: 0;
195
+ outline: none;
196
+ background: transparent;
197
+ white-space: pre-wrap;
198
+ /**
199
+ * This ensures the textarea
200
+ * remains on top of any decoration
201
+ * that we render (particularly the
202
+ * outline border when fill="outline").
203
+ * If we did not do this then Axe would
204
+ * be unable to determine the color
205
+ * contrast of the textarea.
206
+ */
207
+ z-index: 1;
208
+ box-sizing: border-box;
209
+ resize: none;
210
+ appearance: none;
211
+ }
212
+ .native-textarea::placeholder {
213
+ padding-left: 0;
214
+ padding-right: 0;
215
+ padding-top: 0;
216
+ padding-bottom: 0;
217
+ color: var(--placeholder-color);
218
+ font-family: inherit;
219
+ font-style: var(--placeholder-font-style);
220
+ font-weight: var(--placeholder-font-weight);
221
+ opacity: var(--placeholder-opacity);
222
+ }
223
+
224
+ :host(.legacy-textarea) .native-textarea {
225
+ white-space: inherit;
226
+ }
227
+
228
+ :host(.legacy-textarea) .native-textarea,
229
+ :host(.legacy-textarea) .textarea-legacy-wrapper::after {
230
+ -webkit-padding-start: var(--padding-start);
231
+ padding-inline-start: var(--padding-start);
232
+ -webkit-padding-end: var(--padding-end);
233
+ padding-inline-end: var(--padding-end);
234
+ padding-top: var(--padding-top);
235
+ padding-bottom: var(--padding-bottom);
236
+ border-radius: var(--border-radius);
237
+ }
238
+
239
+ .native-textarea {
240
+ color: inherit;
241
+ font-family: inherit;
242
+ font-size: inherit;
243
+ font-style: inherit;
244
+ font-weight: inherit;
245
+ letter-spacing: inherit;
246
+ text-align: inherit;
247
+ text-decoration: inherit;
248
+ text-indent: inherit;
249
+ text-overflow: inherit;
250
+ text-transform: inherit;
251
+ grid-area: 1/1/2/2;
252
+ word-break: break-word;
253
+ }
254
+
255
+ :host(.legacy-textarea) .textarea-legacy-wrapper::after {
256
+ font-family: inherit;
257
+ font-size: inherit;
258
+ font-style: inherit;
259
+ font-weight: inherit;
260
+ letter-spacing: inherit;
261
+ text-decoration: inherit;
262
+ text-indent: inherit;
263
+ text-overflow: inherit;
264
+ text-transform: inherit;
265
+ text-align: inherit;
266
+ white-space: inherit;
267
+ color: inherit;
268
+ grid-area: 1/1/2/2;
269
+ word-break: break-word;
270
+ }
271
+
272
+ .cloned-input {
273
+ top: 0;
274
+ bottom: 0;
275
+ position: absolute;
276
+ pointer-events: none;
277
+ }
278
+ @supports (inset-inline-start: 0) {
279
+ .cloned-input {
280
+ inset-inline-start: 0;
281
+ }
282
+ }
283
+ @supports not (inset-inline-start: 0) {
284
+ .cloned-input {
285
+ left: 0;
286
+ }
287
+ :host-context([dir=rtl]) .cloned-input {
288
+ left: unset;
289
+ right: unset;
290
+ right: 0;
291
+ }
292
+ [dir=rtl] .cloned-input {
293
+ left: unset;
294
+ right: unset;
295
+ right: 0;
296
+ }
297
+ @supports selector(:dir(rtl)) {
298
+ .cloned-input:dir(rtl) {
299
+ left: unset;
300
+ right: unset;
301
+ right: 0;
302
+ }
303
+ }
304
+ }
305
+
306
+ /**
307
+ * The cloned input needs to be disabled on
308
+ * Android otherwise the viewport will still
309
+ * shift when running scroll assist.
310
+ */
311
+ .cloned-input:disabled {
312
+ opacity: 1;
313
+ }
314
+
315
+ :host(.legacy-textarea[auto-grow]) .cloned-input {
316
+ margin-left: 0;
317
+ margin-right: 0;
318
+ margin-top: 0;
319
+ margin-bottom: 0;
320
+ }
321
+
322
+ :host([auto-grow]) .cloned-input {
323
+ height: 100%;
324
+ }
325
+
326
+ :host([auto-grow]) .native-textarea {
327
+ overflow: hidden;
328
+ }
329
+
330
+ :host-context(.item-label-floating.item-has-placeholder:not(.item-has-value)) {
331
+ opacity: 0;
332
+ }
333
+
334
+ :host-context(.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus) {
335
+ transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
336
+ opacity: 1;
337
+ }
338
+
339
+ .textarea-wrapper {
340
+ -webkit-padding-start: var(--padding-start);
341
+ padding-inline-start: var(--padding-start);
342
+ -webkit-padding-end: var(--padding-end);
343
+ padding-inline-end: var(--padding-end);
344
+ padding-top: 0px;
345
+ padding-bottom: 0px;
346
+ border-radius: var(--border-radius);
347
+ display: flex;
348
+ position: relative;
349
+ flex-grow: 1;
350
+ align-items: flex-start;
351
+ height: inherit;
352
+ min-height: inherit;
353
+ transition: background-color 15ms linear;
354
+ background: var(--background);
355
+ line-height: normal;
356
+ }
357
+
358
+ .native-wrapper {
359
+ position: relative;
360
+ width: 100%;
361
+ height: 100%;
362
+ }
363
+
364
+ :host(.has-focus) textarea {
365
+ caret-color: var(--highlight-color);
366
+ }
367
+
368
+ .native-wrapper textarea {
369
+ -webkit-padding-start: 0px;
370
+ padding-inline-start: 0px;
371
+ -webkit-padding-end: 0px;
372
+ padding-inline-end: 0px;
373
+ padding-top: var(--padding-top);
374
+ padding-bottom: var(--padding-bottom);
375
+ }
376
+
377
+ .native-wrapper,
378
+ .textarea-legacy-wrapper {
379
+ display: grid;
380
+ min-width: inherit;
381
+ max-width: inherit;
382
+ min-height: inherit;
383
+ max-height: inherit;
384
+ /**
385
+ * This avoids a WebKit bug where
386
+ * the height of the inner textarea
387
+ * is incorrect and flows outside the
388
+ * parent container: https://bugs.webkit.org/show_bug.cgi?id=256781
389
+ * TODO FW-4734
390
+ */
391
+ grid-auto-rows: 100%;
392
+ }
393
+ .native-wrapper::after,
394
+ .textarea-legacy-wrapper::after {
395
+ white-space: pre-wrap;
396
+ content: attr(data-replicated-value) " ";
397
+ visibility: hidden;
398
+ }
399
+
400
+ .native-wrapper::after {
401
+ padding-left: 0;
402
+ padding-right: 0;
403
+ padding-top: var(--padding-top);
404
+ padding-bottom: var(--padding-bottom);
405
+ margin-left: 0;
406
+ margin-right: 0;
407
+ margin-top: 0;
408
+ margin-bottom: 0;
409
+ border-radius: var(--border-radius);
410
+ /**
411
+ * Note: Do not use @include text-inherit()
412
+ * as that sets white-space: inherit
413
+ * Instead, we use white-space: pre-wrap above.
414
+ */
415
+ color: inherit;
416
+ font-family: inherit;
417
+ font-size: inherit;
418
+ font-style: inherit;
419
+ font-weight: inherit;
420
+ letter-spacing: inherit;
421
+ text-align: inherit;
422
+ text-decoration: inherit;
423
+ text-indent: inherit;
424
+ text-overflow: inherit;
425
+ text-transform: inherit;
426
+ grid-area: 1/1/2/2;
427
+ word-break: break-word;
428
+ }
429
+
430
+ .textarea-wrapper-inner {
431
+ display: flex;
432
+ width: 100%;
433
+ min-height: inherit;
434
+ }
435
+
436
+ :host(.ion-touched.ion-invalid) {
437
+ --highlight-color: var(--highlight-color-invalid);
438
+ }
439
+
440
+ /**
441
+ * The component highlight is only shown
442
+ * on focus, so we can safely set the valid
443
+ * color state when touched/valid. If we
444
+ * set it when .has-focus is present then
445
+ * the highlight color would change
446
+ * from the valid color to the component's
447
+ * color during the transition after the
448
+ * component loses focus.
449
+ */
450
+ :host(.ion-valid) {
451
+ --highlight-color: var(--highlight-color-valid);
452
+ }
453
+
454
+ .textarea-bottom {
455
+ /**
456
+ * The bottom content should take on the start and end
457
+ * padding so it is always aligned with either the label
458
+ * or the start of the textarea.
459
+ */
460
+ -webkit-padding-start: var(--padding-start);
461
+ padding-inline-start: var(--padding-start);
462
+ -webkit-padding-end: var(--padding-end);
463
+ padding-inline-end: var(--padding-end);
464
+ padding-top: 5px;
465
+ padding-bottom: 0;
466
+ display: flex;
467
+ justify-content: space-between;
468
+ border-top: var(--border-width) var(--border-style) var(--border-color);
469
+ font-size: 0.75rem;
470
+ }
471
+
472
+ /**
473
+ * If the textarea has a validity state, the
474
+ * border and label should reflect that as a color.
475
+ */
476
+ :host(.has-focus.ion-valid),
477
+ :host(.ion-touched.ion-invalid) {
478
+ --border-color: var(--highlight-color);
479
+ }
480
+
481
+ /**
482
+ * Error text should only be shown when .ion-invalid is
483
+ * present on the textarea. Otherwise the helper text should
484
+ * be shown.
485
+ */
486
+ .textarea-bottom .error-text {
487
+ display: none;
488
+ color: var(--highlight-color-invalid);
489
+ }
490
+
491
+ .textarea-bottom .helper-text {
492
+ display: block;
493
+ color: var(--ion-color-step-550, #737373);
494
+ }
495
+
496
+ :host(.ion-touched.ion-invalid) .textarea-bottom .error-text {
497
+ display: block;
498
+ }
499
+
500
+ :host(.ion-touched.ion-invalid) .textarea-bottom .helper-text {
501
+ display: none;
502
+ }
503
+
504
+ .textarea-bottom .counter {
505
+ /**
506
+ * Counter should always be at
507
+ * the end of the container even
508
+ * when no helper/error texts are used.
509
+ */
510
+ -webkit-margin-start: auto;
511
+ margin-inline-start: auto;
512
+ color: var(--ion-color-step-550, #737373);
513
+ white-space: nowrap;
514
+ padding-inline-start: 16px;
515
+ }
516
+
517
+ .label-text-wrapper {
518
+ -webkit-padding-start: 0px;
519
+ padding-inline-start: 0px;
520
+ -webkit-padding-end: 0px;
521
+ padding-inline-end: 0px;
522
+ padding-top: var(--padding-top);
523
+ padding-bottom: var(--padding-bottom);
524
+ /**
525
+ * Label text should not extend
526
+ * beyond the bounds of the textarea.
527
+ * However, we do not set the max
528
+ * width to 100% because then
529
+ * only the label would show and users
530
+ * would not be able to see what they are typing.
531
+ */
532
+ max-width: 200px;
533
+ transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
534
+ /**
535
+ * This ensures that double tapping this text
536
+ * clicks the <label> and focuses the textarea
537
+ * when a screen reader is enabled.
538
+ */
539
+ pointer-events: none;
540
+ }
541
+
542
+ /**
543
+ * We need to use two elements instead of
544
+ * one. The .label-text-wrapper is responsible
545
+ * for centering the label text vertically regardless
546
+ * of the textarea height using flexbox.
547
+ *
548
+ * The .label-text element is responsible for controlling
549
+ * overflow when label-placement="fixed".
550
+ * We want the ellipses to show up when the
551
+ * fixed label overflows, but text-overflow: ellipsis only
552
+ * works on block-level elements. A flex item is
553
+ * considered blockified (https://www.w3.org/TR/css-display-3/#blockify).
554
+ */
555
+ .label-text,
556
+ ::slotted([slot=label]) {
557
+ text-overflow: ellipsis;
558
+ white-space: nowrap;
559
+ overflow: hidden;
560
+ }
561
+
562
+ /**
563
+ * If no label text is placed into the slot
564
+ * then the element should be hidden otherwise
565
+ * there will be additional margins added.
566
+ */
567
+ .label-text-wrapper-hidden,
568
+ .textarea-outline-notch-hidden {
569
+ display: none;
570
+ }
571
+
572
+ .textarea-wrapper textarea {
573
+ /**
574
+ * When the floating label appears on top of the
575
+ * textarea, we need to fade the textarea out so that the
576
+ * label does not overlap with the placeholder.
577
+ */
578
+ transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
579
+ }
580
+
581
+ /**
582
+ * Label is on the left of the textarea in LTR and
583
+ * on the right in RTL.
584
+ */
585
+ :host(.textarea-label-placement-start) .textarea-wrapper {
586
+ flex-direction: row;
587
+ }
588
+
589
+ :host(.textarea-label-placement-start) .label-text-wrapper {
590
+ /**
591
+ * The margin between the label and
592
+ * the textarea should be on the end
593
+ * when the label sits at the start.
594
+ */
595
+ -webkit-margin-start: 0;
596
+ margin-inline-start: 0;
597
+ -webkit-margin-end: 16px;
598
+ margin-inline-end: 16px;
599
+ margin-top: 0;
600
+ margin-bottom: 0;
601
+ }
602
+
603
+ /**
604
+ * Label is on the right of the textarea in LTR and
605
+ * on the left in RTL.
606
+ */
607
+ :host(.textarea-label-placement-end) .textarea-wrapper {
608
+ flex-direction: row-reverse;
609
+ }
610
+
611
+ /**
612
+ * The margin between the label and
613
+ * the textarea should be on the start
614
+ * when the label sits at the end.
615
+ */
616
+ :host(.textarea-label-placement-end) .label-text-wrapper {
617
+ -webkit-margin-start: 16px;
618
+ margin-inline-start: 16px;
619
+ -webkit-margin-end: 0;
620
+ margin-inline-end: 0;
621
+ margin-top: 0;
622
+ margin-bottom: 0;
623
+ }
624
+
625
+ :host(.textarea-label-placement-fixed) .label-text-wrapper {
626
+ /**
627
+ * The margin between the label and
628
+ * the textarea should be on the end
629
+ * when the label sits at the start.
630
+ */
631
+ -webkit-margin-start: 0;
632
+ margin-inline-start: 0;
633
+ -webkit-margin-end: 16px;
634
+ margin-inline-end: 16px;
635
+ margin-top: 0;
636
+ margin-bottom: 0;
637
+ }
638
+
639
+ /**
640
+ * Label is on the left of the textarea in LTR and
641
+ * on the right in RTL. Label also has a fixed width.
642
+ */
643
+ :host(.textarea-label-placement-fixed) .label-text {
644
+ flex: 0 0 100px;
645
+ width: 100px;
646
+ min-width: 100px;
647
+ max-width: 200px;
648
+ }
649
+
650
+ /**
651
+ * Stacked: Label sits above the textarea and is scaled down.
652
+ * Floating: Label sits over the textarea when the textarea has no
653
+ * value and is blurred. Label sits above the textarea and is scaled
654
+ * down when the textarea is focused or has a value.
655
+ *
656
+ */
657
+ :host(.textarea-label-placement-stacked) .textarea-wrapper,
658
+ :host(.textarea-label-placement-floating) .textarea-wrapper {
659
+ flex-direction: column;
660
+ align-items: start;
661
+ }
662
+
663
+ /**
664
+ * Ensures that the label animates
665
+ * up and to the left in LTR or
666
+ * up and to the right in RTL.
667
+ */
668
+ :host(.textarea-label-placement-stacked) .label-text-wrapper,
669
+ :host(.textarea-label-placement-floating) .label-text-wrapper {
670
+ transform-origin: left top;
671
+ -webkit-padding-start: 0px;
672
+ padding-inline-start: 0px;
673
+ -webkit-padding-end: 0px;
674
+ padding-inline-end: 0px;
675
+ padding-top: 0px;
676
+ padding-bottom: 0px;
677
+ max-width: 100%;
678
+ /**
679
+ * The 2 ensures the label
680
+ * remains on top of any browser
681
+ * autofill background too.
682
+ */
683
+ z-index: 2;
684
+ }
685
+ :host-context([dir=rtl]):host(.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-label-placement-floating .label-text-wrapper {
686
+ transform-origin: right top;
687
+ }
688
+
689
+ @supports selector(:dir(rtl)) {
690
+ :host(.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {
691
+ transform-origin: right top;
692
+ }
693
+ }
694
+
695
+ /**
696
+ * Ensures the textarea does not
697
+ * overlap the label.
698
+ */
699
+ :host(.textarea-label-placement-stacked) textarea,
700
+ :host(.textarea-label-placement-floating) textarea,
701
+ :host(.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,
702
+ :host(.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {
703
+ -webkit-margin-start: 0px;
704
+ margin-inline-start: 0px;
705
+ -webkit-margin-end: 0px;
706
+ margin-inline-end: 0px;
707
+ margin-top: 8px;
708
+ margin-bottom: 0px;
709
+ }
710
+
711
+ :host(.textarea-label-placement-stacked) ::slotted([slot=start]),
712
+ :host(.textarea-label-placement-stacked) ::slotted([slot=end]),
713
+ :host(.textarea-label-placement-floating) ::slotted([slot=start]),
714
+ :host(.textarea-label-placement-floating) ::slotted([slot=end]) {
715
+ margin-top: 8px;
716
+ }
717
+
718
+ /**
719
+ * This makes the label sit over the textarea
720
+ * when the textarea is blurred and has no value.
721
+ */
722
+ :host(.textarea-label-placement-floating) .label-text-wrapper {
723
+ transform: translateY(100%) scale(1);
724
+ }
725
+
726
+ /**
727
+ * The textarea should be hidden when the label
728
+ * is on top of the textarea. This prevents the label
729
+ * from overlapping any placeholder value.
730
+ */
731
+ :host(.textarea-label-placement-floating) textarea {
732
+ opacity: 0;
733
+ }
734
+
735
+ :host(.has-focus.textarea-label-placement-floating) textarea,
736
+ :host(.has-value.textarea-label-placement-floating) textarea {
737
+ opacity: 1;
738
+ }
739
+
740
+ /**
741
+ * This makes the label sit above the textarea.
742
+ */
743
+ :host(.label-floating) .label-text-wrapper {
744
+ transform: translateY(50%) scale(0.75);
745
+ /**
746
+ * Label text should not extend
747
+ * beyond the bounds of the textarea.
748
+ */
749
+ max-width: calc(100% / 0.75);
750
+ }
751
+
752
+ .start-slot-wrapper, .end-slot-wrapper {
753
+ padding-left: 0;
754
+ padding-right: 0;
755
+ padding-top: var(--padding-top);
756
+ padding-bottom: var(--padding-bottom);
757
+ display: flex;
758
+ flex-shrink: 0;
759
+ align-self: start;
760
+ }
761
+
762
+ ::slotted([slot=start]),
763
+ ::slotted([slot=end]) {
764
+ margin-top: 0;
765
+ }
766
+
767
+ ::slotted([slot=start]) {
768
+ margin-inline-end: 16px;
769
+ margin-inline-start: 0;
770
+ }
771
+
772
+ ::slotted([slot=end]) {
773
+ margin-inline-start: 16px;
774
+ margin-inline-end: 0;
775
+ }
776
+
777
+ /**
778
+ * Convert a font size to a dynamic font size.
779
+ * Fonts that participate in Dynamic Type should use
780
+ * dynamic font sizes.
781
+ * @param size - The initial font size including the unit (i.e. px or pt)
782
+ * @param unit (optional) - The unit to convert to. Use this if you want to
783
+ * convert to a unit other than $baselineUnit.
784
+ */
785
+ /**
786
+ * Convert a font size to a dynamic font size but impose
787
+ * a maximum font size.
788
+ * @param size - The initial font size including the unit (i.e. px or pt)
789
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
790
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
791
+ * convert to a unit other than $baselineUnit.
792
+ */
793
+ /**
794
+ * Convert a font size to a dynamic font size but impose
795
+ * a minimum font size.
796
+ * @param size - The initial font size including the unit (i.e. px or pt)
797
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
798
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
799
+ * convert to a unit other than $baselineUnit.
800
+ */
801
+ /**
802
+ * Convert a font size to a dynamic font size but impose
803
+ * maximum and minimum font sizes.
804
+ * @param size - The initial font size including the unit (i.e. px or pt)
805
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
806
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
807
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
808
+ * convert to a unit other than $baselineUnit.
809
+ */
810
+ /**
811
+ * A heuristic that applies CSS to tablet
812
+ * viewports.
813
+ *
814
+ * Usage:
815
+ * @include tablet-viewport() {
816
+ * :host {
817
+ * background-color: green;
818
+ * }
819
+ * }
820
+ */
821
+ /**
822
+ * A heuristic that applies CSS to mobile
823
+ * viewports (i.e. phones, not tablets).
824
+ *
825
+ * Usage:
826
+ * @include mobile-viewport() {
827
+ * :host {
828
+ * background-color: blue;
829
+ * }
830
+ * }
831
+ */
832
+ /**
833
+ * Convert a font size to a dynamic font size.
834
+ * Fonts that participate in Dynamic Type should use
835
+ * dynamic font sizes.
836
+ * @param size - The initial font size including the unit (i.e. px or pt)
837
+ * @param unit (optional) - The unit to convert to. Use this if you want to
838
+ * convert to a unit other than $baselineUnit.
839
+ */
840
+ /**
841
+ * Convert a font size to a dynamic font size but impose
842
+ * a maximum font size.
843
+ * @param size - The initial font size including the unit (i.e. px or pt)
844
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
845
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
846
+ * convert to a unit other than $baselineUnit.
847
+ */
848
+ /**
849
+ * Convert a font size to a dynamic font size but impose
850
+ * a minimum font size.
851
+ * @param size - The initial font size including the unit (i.e. px or pt)
852
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
853
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
854
+ * convert to a unit other than $baselineUnit.
855
+ */
856
+ /**
857
+ * Convert a font size to a dynamic font size but impose
858
+ * maximum and minimum font sizes.
859
+ * @param size - The initial font size including the unit (i.e. px or pt)
860
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
861
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
862
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
863
+ * convert to a unit other than $baselineUnit.
864
+ */
865
+ /**
866
+ * A heuristic that applies CSS to tablet
867
+ * viewports.
868
+ *
869
+ * Usage:
870
+ * @include tablet-viewport() {
871
+ * :host {
872
+ * background-color: green;
873
+ * }
874
+ * }
875
+ */
876
+ /**
877
+ * A heuristic that applies CSS to mobile
878
+ * viewports (i.e. phones, not tablets).
879
+ *
880
+ * Usage:
881
+ * @include mobile-viewport() {
882
+ * :host {
883
+ * background-color: blue;
884
+ * }
885
+ * }
886
+ */
887
+ /**
888
+ * Convert a font size to a dynamic font size.
889
+ * Fonts that participate in Dynamic Type should use
890
+ * dynamic font sizes.
891
+ * @param size - The initial font size including the unit (i.e. px or pt)
892
+ * @param unit (optional) - The unit to convert to. Use this if you want to
893
+ * convert to a unit other than $baselineUnit.
894
+ */
895
+ /**
896
+ * Convert a font size to a dynamic font size but impose
897
+ * a maximum font size.
898
+ * @param size - The initial font size including the unit (i.e. px or pt)
899
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
900
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
901
+ * convert to a unit other than $baselineUnit.
902
+ */
903
+ /**
904
+ * Convert a font size to a dynamic font size but impose
905
+ * a minimum font size.
906
+ * @param size - The initial font size including the unit (i.e. px or pt)
907
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
908
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
909
+ * convert to a unit other than $baselineUnit.
910
+ */
911
+ /**
912
+ * Convert a font size to a dynamic font size but impose
913
+ * maximum and minimum font sizes.
914
+ * @param size - The initial font size including the unit (i.e. px or pt)
915
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
916
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
917
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
918
+ * convert to a unit other than $baselineUnit.
919
+ */
920
+ /**
921
+ * A heuristic that applies CSS to tablet
922
+ * viewports.
923
+ *
924
+ * Usage:
925
+ * @include tablet-viewport() {
926
+ * :host {
927
+ * background-color: green;
928
+ * }
929
+ * }
930
+ */
931
+ /**
932
+ * A heuristic that applies CSS to mobile
933
+ * viewports (i.e. phones, not tablets).
934
+ *
935
+ * Usage:
936
+ * @include mobile-viewport() {
937
+ * :host {
938
+ * background-color: blue;
939
+ * }
940
+ * }
941
+ */
942
+ /**
943
+ * Convert a font size to a dynamic font size.
944
+ * Fonts that participate in Dynamic Type should use
945
+ * dynamic font sizes.
946
+ * @param size - The initial font size including the unit (i.e. px or pt)
947
+ * @param unit (optional) - The unit to convert to. Use this if you want to
948
+ * convert to a unit other than $baselineUnit.
949
+ */
950
+ /**
951
+ * Convert a font size to a dynamic font size but impose
952
+ * a maximum font size.
953
+ * @param size - The initial font size including the unit (i.e. px or pt)
954
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
955
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
956
+ * convert to a unit other than $baselineUnit.
957
+ */
958
+ /**
959
+ * Convert a font size to a dynamic font size but impose
960
+ * a minimum font size.
961
+ * @param size - The initial font size including the unit (i.e. px or pt)
962
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
963
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
964
+ * convert to a unit other than $baselineUnit.
965
+ */
966
+ /**
967
+ * Convert a font size to a dynamic font size but impose
968
+ * maximum and minimum font sizes.
969
+ * @param size - The initial font size including the unit (i.e. px or pt)
970
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
971
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
972
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
973
+ * convert to a unit other than $baselineUnit.
974
+ */
975
+ /**
976
+ * A heuristic that applies CSS to tablet
977
+ * viewports.
978
+ *
979
+ * Usage:
980
+ * @include tablet-viewport() {
981
+ * :host {
982
+ * background-color: green;
983
+ * }
984
+ * }
985
+ */
986
+ /**
987
+ * A heuristic that applies CSS to mobile
988
+ * viewports (i.e. phones, not tablets).
989
+ *
990
+ * Usage:
991
+ * @include mobile-viewport() {
992
+ * :host {
993
+ * background-color: blue;
994
+ * }
995
+ * }
996
+ */
997
+ :host(.textarea-fill-solid) {
998
+ --background: var(--ion-color-step-50, #f2f2f2);
999
+ --border-color: var(--ion-color-step-500, gray);
1000
+ --border-radius: 4px;
1001
+ --padding-start: 16px;
1002
+ --padding-end: 16px;
1003
+ min-height: 56px;
1004
+ }
1005
+
1006
+ /**
1007
+ * The solid fill style has a border
1008
+ * at the bottom of the textarea wrapper.
1009
+ * As a result, the border on the "bottom
1010
+ * content" is not needed.
1011
+ */
1012
+ :host(.textarea-fill-solid) .textarea-wrapper {
1013
+ border-bottom: var(--border-width) var(--border-style) var(--border-color);
1014
+ }
1015
+
1016
+ /**
1017
+ * If the textarea has a validity state, the
1018
+ * border should reflect that as a color.
1019
+ */
1020
+ :host(.has-focus.textarea-fill-solid.ion-valid),
1021
+ :host(.textarea-fill-solid.ion-touched.ion-invalid) {
1022
+ --border-color: var(--highlight-color);
1023
+ }
1024
+
1025
+ :host(.textarea-fill-solid) .textarea-bottom {
1026
+ border-top: none;
1027
+ }
1028
+
1029
+ /**
1030
+ * Background and border should be
1031
+ * slightly darker on hover.
1032
+ */
1033
+ @media (any-hover: hover) {
1034
+ :host(.textarea-fill-solid:hover) {
1035
+ --background: var(--ion-color-step-100, #e6e6e6);
1036
+ --border-color: var(--ion-color-step-750, #404040);
1037
+ }
1038
+ }
1039
+ /**
1040
+ * Background and border should be
1041
+ * much darker on focus.
1042
+ */
1043
+ :host(.textarea-fill-solid.has-focus) {
1044
+ --background: var(--ion-color-step-150, #d9d9d9);
1045
+ --border-color: var(--ion-color-step-750, #404040);
1046
+ }
1047
+
1048
+ :host(.textarea-fill-solid) .textarea-wrapper {
1049
+ /**
1050
+ * Only the top left and top right borders should.
1051
+ * have a radius when using a solid fill.
1052
+ */
1053
+ border-top-left-radius: var(--border-radius);
1054
+ border-top-right-radius: var(--border-radius);
1055
+ border-bottom-right-radius: 0px;
1056
+ border-bottom-left-radius: 0px;
1057
+ }
1058
+ :host-context([dir=rtl]):host(.textarea-fill-solid) .textarea-wrapper, :host-context([dir=rtl]).textarea-fill-solid .textarea-wrapper {
1059
+ border-top-left-radius: var(--border-radius);
1060
+ border-top-right-radius: var(--border-radius);
1061
+ border-bottom-right-radius: 0px;
1062
+ border-bottom-left-radius: 0px;
1063
+ }
1064
+
1065
+ @supports selector(:dir(rtl)) {
1066
+ :host(.textarea-fill-solid:dir(rtl)) .textarea-wrapper {
1067
+ border-top-left-radius: var(--border-radius);
1068
+ border-top-right-radius: var(--border-radius);
1069
+ border-bottom-right-radius: 0px;
1070
+ border-bottom-left-radius: 0px;
1071
+ }
1072
+ }
1073
+
1074
+ :host(.label-floating.textarea-fill-solid) .label-text-wrapper {
1075
+ /**
1076
+ * Label text should not extend
1077
+ * beyond the bounds of the textarea.
1078
+ */
1079
+ max-width: calc(100% / 0.75);
1080
+ }
1081
+
1082
+ /**
1083
+ * Convert a font size to a dynamic font size.
1084
+ * Fonts that participate in Dynamic Type should use
1085
+ * dynamic font sizes.
1086
+ * @param size - The initial font size including the unit (i.e. px or pt)
1087
+ * @param unit (optional) - The unit to convert to. Use this if you want to
1088
+ * convert to a unit other than $baselineUnit.
1089
+ */
1090
+ /**
1091
+ * Convert a font size to a dynamic font size but impose
1092
+ * a maximum font size.
1093
+ * @param size - The initial font size including the unit (i.e. px or pt)
1094
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
1095
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
1096
+ * convert to a unit other than $baselineUnit.
1097
+ */
1098
+ /**
1099
+ * Convert a font size to a dynamic font size but impose
1100
+ * a minimum font size.
1101
+ * @param size - The initial font size including the unit (i.e. px or pt)
1102
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
1103
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
1104
+ * convert to a unit other than $baselineUnit.
1105
+ */
1106
+ /**
1107
+ * Convert a font size to a dynamic font size but impose
1108
+ * maximum and minimum font sizes.
1109
+ * @param size - The initial font size including the unit (i.e. px or pt)
1110
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
1111
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
1112
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
1113
+ * convert to a unit other than $baselineUnit.
1114
+ */
1115
+ /**
1116
+ * A heuristic that applies CSS to tablet
1117
+ * viewports.
1118
+ *
1119
+ * Usage:
1120
+ * @include tablet-viewport() {
1121
+ * :host {
1122
+ * background-color: green;
1123
+ * }
1124
+ * }
1125
+ */
1126
+ /**
1127
+ * A heuristic that applies CSS to mobile
1128
+ * viewports (i.e. phones, not tablets).
1129
+ *
1130
+ * Usage:
1131
+ * @include mobile-viewport() {
1132
+ * :host {
1133
+ * background-color: blue;
1134
+ * }
1135
+ * }
1136
+ */
1137
+ :host(.textarea-fill-outline) {
1138
+ --border-color: var(--ion-color-step-300, #b3b3b3);
1139
+ --border-radius: 4px;
1140
+ --padding-start: 16px;
1141
+ --padding-end: 16px;
1142
+ min-height: 56px;
1143
+ }
1144
+
1145
+ :host(.textarea-fill-outline.textarea-shape-round) {
1146
+ --border-radius: 28px;
1147
+ --padding-start: 32px;
1148
+ --padding-end: 32px;
1149
+ }
1150
+
1151
+ /**
1152
+ * If the textarea has a validity state, the
1153
+ * border should reflect that as a color.
1154
+ */
1155
+ :host(.has-focus.textarea-fill-outline.ion-valid),
1156
+ :host(.textarea-fill-outline.ion-touched.ion-invalid) {
1157
+ --border-color: var(--highlight-color);
1158
+ }
1159
+
1160
+ /**
1161
+ * Border should be
1162
+ * slightly darker on hover.
1163
+ */
1164
+ @media (any-hover: hover) {
1165
+ :host(.textarea-fill-outline:hover) {
1166
+ --border-color: var(--ion-color-step-750, #404040);
1167
+ }
1168
+ }
1169
+ /**
1170
+ * The border should get thicker
1171
+ * and take on component color when
1172
+ * the textarea is focused.
1173
+ */
1174
+ :host(.textarea-fill-outline.has-focus) {
1175
+ --border-width: 2px;
1176
+ --border-color: var(--highlight-color);
1177
+ }
1178
+
1179
+ /**
1180
+ * The bottom content should never have
1181
+ * a border with the outline style.
1182
+ */
1183
+ :host(.textarea-fill-outline) .textarea-bottom {
1184
+ border-top: none;
1185
+ }
1186
+
1187
+ /**
1188
+ * Outline textarea do not have a bottom border.
1189
+ * Instead, they have a border that wraps the
1190
+ * textarea + label.
1191
+ */
1192
+ :host(.textarea-fill-outline) .textarea-wrapper {
1193
+ border-bottom: none;
1194
+ }
1195
+
1196
+ :host(.textarea-fill-outline.textarea-label-placement-stacked) .label-text-wrapper,
1197
+ :host(.textarea-fill-outline.textarea-label-placement-floating) .label-text-wrapper {
1198
+ transform-origin: left top;
1199
+ position: absolute;
1200
+ /**
1201
+ * Label text should not extend
1202
+ * beyond the bounds of the textarea.
1203
+ */
1204
+ max-width: calc(100% - var(--padding-start) - var(--padding-end));
1205
+ }
1206
+ :host-context([dir=rtl]):host(.textarea-fill-outline.textarea-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).textarea-fill-outline.textarea-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.textarea-fill-outline.textarea-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).textarea-fill-outline.textarea-label-placement-floating .label-text-wrapper {
1207
+ transform-origin: right top;
1208
+ }
1209
+
1210
+ @supports selector(:dir(rtl)) {
1211
+ :host(.textarea-fill-outline.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-fill-outline.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {
1212
+ transform-origin: right top;
1213
+ }
1214
+ }
1215
+
1216
+ /**
1217
+ * The label should appear on top of an outline
1218
+ * container that overlaps it so it is always clickable.
1219
+ */
1220
+ :host(.textarea-fill-outline) .label-text-wrapper,
1221
+ :host(.textarea-fill-outline) .label-text-wrapper {
1222
+ position: relative;
1223
+ }
1224
+
1225
+ /**
1226
+ * This makes the label sit above the textarea.
1227
+ */
1228
+ :host(.label-floating.textarea-fill-outline) .label-text-wrapper {
1229
+ transform: translateY(-32%) scale(0.75);
1230
+ margin-left: 0;
1231
+ margin-right: 0;
1232
+ margin-top: 0;
1233
+ margin-bottom: 0;
1234
+ /**
1235
+ * Label text should not extend
1236
+ * beyond the bounds of the textarea.
1237
+ */
1238
+ max-width: calc(
1239
+ (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75
1240
+ );
1241
+ }
1242
+
1243
+ /**
1244
+ * This ensures that the textarea does not
1245
+ * overlap the floating label while still
1246
+ * remaining visually centered.
1247
+ */
1248
+ :host(.textarea-fill-outline.textarea-label-placement-stacked) textarea,
1249
+ :host(.textarea-fill-outline.textarea-label-placement-floating) textarea,
1250
+ :host(.textarea-fill-outline.textarea-label-placement-stacked[auto-grow]) .native-wrapper::after,
1251
+ :host(.textarea-fill-outline.textarea-label-placement-floating[auto-grow]) .native-wrapper::after {
1252
+ -webkit-margin-start: 0px;
1253
+ margin-inline-start: 0px;
1254
+ -webkit-margin-end: 0px;
1255
+ margin-inline-end: 0px;
1256
+ margin-top: 12px;
1257
+ margin-bottom: 0px;
1258
+ }
1259
+
1260
+ :host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot=start]),
1261
+ :host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot=end]),
1262
+ :host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot=start]),
1263
+ :host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot=end]) {
1264
+ margin-top: 12px;
1265
+ }
1266
+
1267
+ :host(.textarea-fill-outline) .textarea-outline-container {
1268
+ left: 0;
1269
+ right: 0;
1270
+ top: 0;
1271
+ bottom: 0;
1272
+ display: flex;
1273
+ position: absolute;
1274
+ width: 100%;
1275
+ height: 100%;
1276
+ }
1277
+
1278
+ :host(.textarea-fill-outline) .textarea-outline-start,
1279
+ :host(.textarea-fill-outline) .textarea-outline-end {
1280
+ pointer-events: none;
1281
+ }
1282
+
1283
+ /**
1284
+ * By default, each piece of the container should have
1285
+ * a top and bottom border. This gives the appearance
1286
+ * of a unified container with a border.
1287
+ */
1288
+ :host(.textarea-fill-outline) .textarea-outline-start,
1289
+ :host(.textarea-fill-outline) .textarea-outline-notch,
1290
+ :host(.textarea-fill-outline) .textarea-outline-end {
1291
+ border-top: var(--border-width) var(--border-style) var(--border-color);
1292
+ border-bottom: var(--border-width) var(--border-style) var(--border-color);
1293
+ }
1294
+
1295
+ /**
1296
+ * Ensures long labels do not cause the notch to flow
1297
+ * out of bounds.
1298
+ */
1299
+ :host(.textarea-fill-outline) .textarea-outline-notch {
1300
+ max-width: calc(100% - var(--padding-start) - var(--padding-end));
1301
+ }
1302
+
1303
+ /**
1304
+ * This element ensures that the notch used
1305
+ * the size of the scaled text so that the
1306
+ * border cut out is the correct width.
1307
+ * The text in this element should not
1308
+ * be interactive.
1309
+ */
1310
+ :host(.textarea-fill-outline) .notch-spacer {
1311
+ /**
1312
+ * We need $textarea-md-floating-label-padding of padding on the right.
1313
+ * However, we also subtracted $textarea-md-floating-label-padding from
1314
+ * the width of .textarea-outline-start
1315
+ * to create space, so we need to take
1316
+ * that into consideration here.
1317
+ */
1318
+ -webkit-padding-end: 8px;
1319
+ padding-inline-end: 8px;
1320
+ font-size: calc(1em * 0.75);
1321
+ opacity: 0;
1322
+ pointer-events: none;
1323
+ /**
1324
+ * The spacer currently inherits
1325
+ * border-box sizing from the Ionic reset styles.
1326
+ * However, we do not want to include padding in
1327
+ * the calculation of the element dimensions.
1328
+ * This code can be removed if textarea is updated
1329
+ * to use the Shadow DOM.
1330
+ */
1331
+ box-sizing: content-box;
1332
+ }
1333
+
1334
+ :host(.textarea-fill-outline) .textarea-outline-start {
1335
+ border-top-left-radius: var(--border-radius);
1336
+ border-top-right-radius: 0px;
1337
+ border-bottom-right-radius: 0px;
1338
+ border-bottom-left-radius: var(--border-radius);
1339
+ -webkit-border-start: var(--border-width) var(--border-style) var(--border-color);
1340
+ border-inline-start: var(--border-width) var(--border-style) var(--border-color);
1341
+ /**
1342
+ * There should be spacing between the translated text
1343
+ * and .textarea-outline-start. However, we can't add this
1344
+ * spacing onto the notch because it would cause the
1345
+ * label to look like it is not aligned with the
1346
+ * text textarea. Instead, we subtract a few pixels from
1347
+ * this element.
1348
+ */
1349
+ width: calc(var(--padding-start) - 4px);
1350
+ }
1351
+ :host-context([dir=rtl]):host(.textarea-fill-outline) .textarea-outline-start, :host-context([dir=rtl]).textarea-fill-outline .textarea-outline-start {
1352
+ border-top-left-radius: 0px;
1353
+ border-top-right-radius: var(--border-radius);
1354
+ border-bottom-right-radius: var(--border-radius);
1355
+ border-bottom-left-radius: 0px;
1356
+ }
1357
+
1358
+ @supports selector(:dir(rtl)) {
1359
+ :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-start {
1360
+ border-top-left-radius: 0px;
1361
+ border-top-right-radius: var(--border-radius);
1362
+ border-bottom-right-radius: var(--border-radius);
1363
+ border-bottom-left-radius: 0px;
1364
+ }
1365
+ }
1366
+
1367
+ :host(.textarea-fill-outline) .textarea-outline-end {
1368
+ -webkit-border-end: var(--border-width) var(--border-style) var(--border-color);
1369
+ border-inline-end: var(--border-width) var(--border-style) var(--border-color);
1370
+ border-top-left-radius: 0px;
1371
+ border-top-right-radius: var(--border-radius);
1372
+ border-bottom-right-radius: var(--border-radius);
1373
+ border-bottom-left-radius: 0px;
1374
+ /**
1375
+ * The ending outline fragment
1376
+ * should take up the remaining free space.
1377
+ */
1378
+ flex-grow: 1;
1379
+ }
1380
+ :host-context([dir=rtl]):host(.textarea-fill-outline) .textarea-outline-end, :host-context([dir=rtl]).textarea-fill-outline .textarea-outline-end {
1381
+ border-top-left-radius: var(--border-radius);
1382
+ border-top-right-radius: 0px;
1383
+ border-bottom-right-radius: 0px;
1384
+ border-bottom-left-radius: var(--border-radius);
1385
+ }
1386
+
1387
+ @supports selector(:dir(rtl)) {
1388
+ :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-end {
1389
+ border-top-left-radius: var(--border-radius);
1390
+ border-top-right-radius: 0px;
1391
+ border-bottom-right-radius: 0px;
1392
+ border-bottom-left-radius: var(--border-radius);
1393
+ }
1394
+ }
1395
+
1396
+ /**
1397
+ * When the textarea either has focus or a value,
1398
+ * there should be a "cut out" at the top for
1399
+ * the floating/stacked label. We simulate this "cut out"
1400
+ * by removing the top border from the notch fragment.
1401
+ */
1402
+ :host(.label-floating.textarea-fill-outline) .textarea-outline-notch {
1403
+ border-top: none;
1404
+ }
1405
+
1406
+ :host {
1407
+ --border-width: 1px;
1408
+ --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));
1409
+ --padding-top: 18px;
1410
+ --padding-end: 0px;
1411
+ --padding-bottom: 8px;
1412
+ --padding-start: 0px;
1413
+ font-size: inherit;
1414
+ }
1415
+
1416
+ :host(.legacy-textarea) {
1417
+ --padding-top: 10px;
1418
+ --padding-end: 0;
1419
+ --padding-bottom: 11px;
1420
+ --padding-start: 8px;
1421
+ margin-left: 0;
1422
+ margin-right: 0;
1423
+ margin-top: 8px;
1424
+ margin-bottom: 0;
1425
+ }
1426
+
1427
+ :host-context(.item-label-stacked),
1428
+ :host-context(.item-label-floating) {
1429
+ --padding-top: 8px;
1430
+ --padding-bottom: 8px;
1431
+ --padding-start: 0;
1432
+ }
1433
+
1434
+ .textarea-bottom .counter {
1435
+ letter-spacing: 0.0333333333em;
1436
+ }
1437
+
1438
+ /**
1439
+ * When the textarea is focused the label should
1440
+ * take on the highlight color. This should
1441
+ * only apply to floating or stacked labels.
1442
+ */
1443
+ :host(.textarea-label-placement-floating.has-focus) .label-text-wrapper,
1444
+ :host(.textarea-label-placement-stacked.has-focus) .label-text-wrapper {
1445
+ color: var(--highlight-color);
1446
+ }
1447
+
1448
+ :host(.has-focus.textarea-label-placement-floating.ion-valid) .label-text-wrapper,
1449
+ :host(.textarea-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,
1450
+ :host(.has-focus.textarea-label-placement-stacked.ion-valid) .label-text-wrapper,
1451
+ :host(.textarea-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper {
1452
+ color: var(--highlight-color);
1453
+ }
1454
+
1455
+ :host(.legacy-textarea) .native-textarea[disabled],
1456
+ :host(.textarea-disabled) {
1457
+ opacity: 0.38;
1458
+ }
1459
+
1460
+ .textarea-highlight {
1461
+ bottom: -1px;
1462
+ position: absolute;
1463
+ width: 100%;
1464
+ height: 2px;
1465
+ transform: scale(0);
1466
+ transition: transform 200ms;
1467
+ background: var(--highlight-color);
1468
+ }
1469
+ @supports (inset-inline-start: 0) {
1470
+ .textarea-highlight {
1471
+ inset-inline-start: 0;
1472
+ }
1473
+ }
1474
+ @supports not (inset-inline-start: 0) {
1475
+ .textarea-highlight {
1476
+ left: 0;
1477
+ }
1478
+ :host-context([dir=rtl]) .textarea-highlight {
1479
+ left: unset;
1480
+ right: unset;
1481
+ right: 0;
1482
+ }
1483
+ [dir=rtl] .textarea-highlight {
1484
+ left: unset;
1485
+ right: unset;
1486
+ right: 0;
1487
+ }
1488
+ @supports selector(:dir(rtl)) {
1489
+ .textarea-highlight:dir(rtl) {
1490
+ left: unset;
1491
+ right: unset;
1492
+ right: 0;
1493
+ }
1494
+ }
1495
+ }
1496
+
1497
+ :host(.has-focus) .textarea-highlight {
1498
+ transform: scale(1);
1499
+ }
1500
+
1501
+ /**
1502
+ * Adjust the highlight up by 1px
1503
+ * so it is not cut off by the
1504
+ * the item's line (if one is present).
1505
+ */
1506
+ :host(.in-item) .textarea-highlight {
1507
+ bottom: 0;
1508
+ }
1509
+ @supports (inset-inline-start: 0) {
1510
+ :host(.in-item) .textarea-highlight {
1511
+ inset-inline-start: 0;
1512
+ }
1513
+ }
1514
+ @supports not (inset-inline-start: 0) {
1515
+ :host(.in-item) .textarea-highlight {
1516
+ left: 0;
1517
+ }
1518
+ :host-context([dir=rtl]):host(.in-item) .textarea-highlight, :host-context([dir=rtl]).in-item .textarea-highlight {
1519
+ left: unset;
1520
+ right: unset;
1521
+ right: 0;
1522
+ }
1523
+ @supports selector(:dir(rtl)) {
1524
+ :host(.in-item:dir(rtl)) .textarea-highlight {
1525
+ left: unset;
1526
+ right: unset;
1527
+ right: 0;
1528
+ }
1529
+ }
1530
+ }
1531
+
1532
+ :host(.textarea-shape-round) {
1533
+ --border-radius: 16px;
1534
+ }
1535
+
1536
+ /**
1537
+ * Slotted buttons have a lot of default padding that can
1538
+ * cause them to look misaligned from other pieces such
1539
+ * as the control's label, especially when using a clear
1540
+ * fill. We also make them circular to ensure that non-
1541
+ * clear buttons and the focus/hover state on clear ones
1542
+ * don't look too crowded.
1543
+ */
1544
+ ::slotted(ion-button[slot=start].button-has-icon-only),
1545
+ ::slotted(ion-button[slot=end].button-has-icon-only) {
1546
+ --border-radius: 50%;
1547
+ --padding-start: 8px;
1548
+ --padding-end: 8px;
1549
+ --padding-top: 8px;
1550
+ --padding-bottom: 8px;
1551
+ aspect-ratio: 1;
1552
+ min-height: 40px;
1553
+ }