@ionic/core 8.4.2-dev.11740495088.1d73faf5 → 8.4.2-dev.11741080979.1715cc06
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.
- package/components/focus-visible.js +16 -1
- package/components/helpers.js +39 -1
- package/components/ion-app.js +9 -4
- package/components/ion-avatar.js +3 -3
- package/components/ion-badge.js +9 -6
- package/components/ion-searchbar.js +21 -5
- package/dist/cjs/{animation-58015a44.js → animation-2a0332b1.js} +1 -1
- package/dist/cjs/{app-globals-d64148d3.js → app-globals-4578d70b.js} +1 -1
- package/dist/cjs/{button-active-ec1fd1d8.js → button-active-ba88bc3f.js} +1 -1
- package/dist/cjs/{capacitor-454dd071.js → capacitor-ca383c28.js} +1 -1
- package/dist/cjs/{data-5a4013f1.js → data-03effdb6.js} +1 -1
- package/dist/cjs/{focus-visible-9aa87fa3.js → focus-visible-fe3acfb5.js} +16 -0
- package/dist/cjs/{framework-delegate-32f1a0e4.js → framework-delegate-709f0e46.js} +1 -1
- package/dist/cjs/{haptic-7c25be74.js → haptic-adbf56c4.js} +1 -1
- package/dist/cjs/{helpers-4e2936d2.js → helpers-7ae114be.js} +39 -1
- package/dist/cjs/{index-03fbee1d.js → index-334da068.js} +3 -3
- package/dist/cjs/{index-0e0c6196.js → index-a05f157b.js} +3 -2
- package/dist/cjs/{index-604c36ae.js → index-b980fd83.js} +2 -2
- package/dist/cjs/{index-8f975cf4.js → index-e28c2cc7.js} +4 -4
- package/dist/cjs/index.cjs.js +10 -9
- package/dist/cjs/{input-shims-4b4d2251.js → input-shims-41e05551.js} +6 -5
- package/dist/cjs/{input.utils-fb1debe4.js → input.utils-01401fa8.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -8
- package/dist/cjs/ion-alert.cjs.entry.js +9 -8
- package/dist/cjs/ion-app_8.cjs.entry.js +18 -13
- package/dist/cjs/ion-avatar_3.cjs.entry.js +11 -9
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -2
- package/dist/cjs/ion-chip.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -3
- package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -2
- package/dist/cjs/ion-img.cjs.entry.js +3 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +5 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -3
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -2
- package/dist/cjs/ion-loading.cjs.entry.js +6 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -6
- package/dist/cjs/ion-modal.cjs.entry.js +11 -10
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -4
- package/dist/cjs/ion-picker.cjs.entry.js +2 -1
- package/dist/cjs/ion-popover.cjs.entry.js +7 -6
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-range.cjs.entry.js +4 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +23 -7
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-select-modal.cjs.entry.js +5 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -5
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -2
- package/dist/cjs/ion-text.cjs.entry.js +1 -1
- package/dist/cjs/ion-textarea.cjs.entry.js +5 -4
- package/dist/cjs/ion-toast.cjs.entry.js +6 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -4
- package/dist/cjs/{ionic-global-14af9c21.js → ionic-global-309eea24.js} +5 -5
- package/dist/cjs/ionic.cjs.js +3 -3
- package/dist/cjs/{ios.transition-2bb0f7d5.js → ios.transition-433559be.js} +5 -4
- package/dist/cjs/{keyboard-0a5d46dd.js → keyboard-2465fd71.js} +3 -3
- package/dist/cjs/{keyboard-53c12a15.js → keyboard-b0d97d7f.js} +1 -1
- package/dist/cjs/{keyboard-controller-102bad3e.js → keyboard-controller-97c0f679.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-cf600117.js → md.transition-cb55340c.js} +5 -4
- package/dist/cjs/{notch-controller-ea70e230.js → notch-controller-fa2844a9.js} +2 -2
- package/dist/cjs/{overlays-542a90b3.js → overlays-2f1007d0.js} +3 -3
- package/dist/cjs/{status-tap-aa97d209.js → status-tap-fce5d44e.js} +4 -3
- package/dist/cjs/{swipe-back-27975274.js → swipe-back-8b3f8972.js} +2 -1
- package/dist/collection/components/app/app.js +14 -6
- package/dist/collection/components/avatar/avatar.ionic.css +17 -0
- package/dist/collection/components/avatar/avatar.ios.css +1 -0
- package/dist/collection/components/avatar/avatar.md.css +9 -0
- package/dist/collection/components/badge/badge.ionic.css +66 -2
- package/dist/collection/components/badge/badge.ios.css +23 -2
- package/dist/collection/components/badge/badge.js +21 -2
- package/dist/collection/components/badge/badge.md.css +23 -2
- package/dist/collection/components/searchbar/searchbar.ionic.css +12 -0
- package/dist/collection/components/searchbar/searchbar.js +36 -4
- package/dist/collection/utils/focus-visible.js +15 -0
- package/dist/collection/utils/helpers.js +39 -1
- package/dist/docs.json +71 -4
- package/dist/esm/{animation-f1a88600.js → animation-9425a7de.js} +1 -1
- package/dist/esm/{app-globals-eceadabb.js → app-globals-e7b9ec58.js} +1 -1
- package/dist/esm/{button-active-321f0dba.js → button-active-3461e57c.js} +1 -1
- package/dist/esm/{capacitor-6b0341c8.js → capacitor-74587d3c.js} +1 -1
- package/dist/esm/{data-98c06dea.js → data-69fcc43c.js} +1 -1
- package/dist/esm/{focus-visible-501aff19.js → focus-visible-6827442c.js} +16 -1
- package/dist/esm/{framework-delegate-3e4a8c9f.js → framework-delegate-89969cd9.js} +1 -1
- package/dist/esm/{haptic-dd6c0ea9.js → haptic-1f990858.js} +1 -1
- package/dist/esm/{helpers-f08d15bd.js → helpers-2891ef8a.js} +39 -1
- package/dist/esm/{index-59f81cb8.js → index-01a5c404.js} +4 -4
- package/dist/esm/{index-31109e63.js → index-3e251942.js} +3 -3
- package/dist/esm/{index-7bd160c2.js → index-784203dc.js} +2 -2
- package/dist/esm/{index-62b4a18b.js → index-7d582503.js} +3 -2
- package/dist/esm/index.js +10 -9
- package/dist/esm/{input-shims-6be83e59.js → input-shims-eb19958d.js} +6 -5
- package/dist/esm/{input.utils-67459bae.js → input.utils-021846b8.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -2
- package/dist/esm/ion-action-sheet.entry.js +9 -8
- package/dist/esm/ion-alert.entry.js +9 -8
- package/dist/esm/ion-app_8.entry.js +18 -13
- package/dist/esm/ion-avatar_3.entry.js +11 -9
- package/dist/esm/ion-back-button.entry.js +3 -2
- package/dist/esm/ion-backdrop.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -2
- package/dist/esm/ion-button_2.entry.js +3 -2
- package/dist/esm/ion-card_5.entry.js +3 -2
- package/dist/esm/ion-checkbox.entry.js +3 -2
- package/dist/esm/ion-chip.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +4 -3
- package/dist/esm/ion-datetime_3.entry.js +9 -9
- package/dist/esm/ion-fab_3.entry.js +3 -2
- package/dist/esm/ion-img.entry.js +3 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -3
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +5 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -3
- package/dist/esm/ion-item_8.entry.js +3 -2
- package/dist/esm/ion-loading.entry.js +6 -5
- package/dist/esm/ion-menu_3.entry.js +7 -6
- package/dist/esm/ion-modal.entry.js +11 -10
- package/dist/esm/ion-nav_2.entry.js +6 -5
- package/dist/esm/ion-picker-column-option.entry.js +3 -2
- package/dist/esm/ion-picker-column.entry.js +5 -4
- package/dist/esm/ion-picker.entry.js +2 -1
- package/dist/esm/ion-popover.entry.js +7 -6
- package/dist/esm/ion-progress-bar.entry.js +3 -2
- package/dist/esm/ion-radio_2.entry.js +3 -2
- package/dist/esm/ion-range.entry.js +4 -3
- package/dist/esm/ion-refresher_2.entry.js +7 -6
- package/dist/esm/ion-reorder_2.entry.js +6 -5
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +3 -2
- package/dist/esm/ion-searchbar.entry.js +23 -7
- package/dist/esm/ion-segment_2.entry.js +3 -2
- package/dist/esm/ion-select-modal.entry.js +5 -4
- package/dist/esm/ion-select_3.entry.js +6 -5
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +1 -1
- package/dist/esm/ion-tab-bar_2.entry.js +6 -5
- package/dist/esm/ion-tab_2.entry.js +3 -2
- package/dist/esm/ion-text.entry.js +1 -1
- package/dist/esm/ion-textarea.entry.js +5 -4
- package/dist/esm/ion-toast.entry.js +6 -5
- package/dist/esm/ion-toggle.entry.js +5 -4
- package/dist/esm/{ionic-global-3c97a4aa.js → ionic-global-483790dd.js} +5 -5
- package/dist/esm/ionic.js +3 -3
- package/dist/esm/{ios.transition-06b78ea0.js → ios.transition-9da97621.js} +5 -4
- package/dist/esm/{keyboard-9bbd546a.js → keyboard-16dbc7a0.js} +1 -1
- package/dist/esm/{keyboard-5b1b354d.js → keyboard-a762a3d6.js} +3 -3
- package/dist/esm/{keyboard-controller-aff395fd.js → keyboard-controller-ebc0c1a6.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{md.transition-e5712bda.js → md.transition-9d6d778a.js} +5 -4
- package/dist/esm/{notch-controller-c0bd22ff.js → notch-controller-ab0c0e81.js} +2 -2
- package/dist/esm/{overlays-66cb5522.js → overlays-e1400470.js} +3 -3
- package/dist/esm/{status-tap-edf9f395.js → status-tap-e7f5aa77.js} +4 -3
- package/dist/esm/{swipe-back-17c42610.js → swipe-back-e12c482f.js} +2 -1
- package/dist/esm-es5/{animation-f1a88600.js → animation-9425a7de.js} +1 -1
- package/dist/esm-es5/app-globals-e7b9ec58.js +4 -0
- package/dist/esm-es5/{button-active-321f0dba.js → button-active-3461e57c.js} +1 -1
- package/dist/esm-es5/{capacitor-6b0341c8.js → capacitor-74587d3c.js} +1 -1
- package/dist/esm-es5/{data-98c06dea.js → data-69fcc43c.js} +1 -1
- package/dist/esm-es5/focus-visible-6827442c.js +4 -0
- package/dist/esm-es5/{framework-delegate-3e4a8c9f.js → framework-delegate-89969cd9.js} +1 -1
- package/dist/esm-es5/{haptic-dd6c0ea9.js → haptic-1f990858.js} +1 -1
- package/dist/esm-es5/helpers-2891ef8a.js +4 -0
- package/dist/esm-es5/{index-59f81cb8.js → index-01a5c404.js} +1 -1
- package/dist/esm-es5/{index-31109e63.js → index-3e251942.js} +1 -1
- package/dist/esm-es5/{index-7bd160c2.js → index-784203dc.js} +1 -1
- package/dist/esm-es5/index-7d582503.js +4 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-eb19958d.js +4 -0
- package/dist/esm-es5/{input.utils-67459bae.js → input.utils-021846b8.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-3c97a4aa.js → ionic-global-483790dd.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-9da97621.js +4 -0
- package/dist/esm-es5/{keyboard-9bbd546a.js → keyboard-16dbc7a0.js} +1 -1
- package/dist/esm-es5/{keyboard-5b1b354d.js → keyboard-a762a3d6.js} +1 -1
- package/dist/esm-es5/{keyboard-controller-aff395fd.js → keyboard-controller-ebc0c1a6.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-9d6d778a.js +4 -0
- package/dist/esm-es5/{notch-controller-c0bd22ff.js → notch-controller-ab0c0e81.js} +1 -1
- package/dist/esm-es5/{overlays-66cb5522.js → overlays-e1400470.js} +1 -1
- package/dist/esm-es5/status-tap-e7f5aa77.js +4 -0
- package/dist/esm-es5/swipe-back-e12c482f.js +4 -0
- package/dist/html.html-data.json +27 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/p-01b359c9.entry.js +4 -0
- package/dist/ionic/{p-11266916.js → p-035fb5a0.js} +1 -1
- package/dist/ionic/{p-815f649a.system.entry.js → p-0390f622.system.entry.js} +1 -1
- package/dist/ionic/p-03df1462.entry.js +4 -0
- package/dist/ionic/p-05b69c23.system.entry.js +4 -0
- package/dist/ionic/p-063fb017.system.entry.js +4 -0
- package/dist/ionic/p-08174a05.system.entry.js +4 -0
- package/dist/ionic/p-086cdee7.entry.js +4 -0
- package/dist/ionic/p-0986712d.system.entry.js +4 -0
- package/dist/ionic/p-0c579259.system.entry.js +4 -0
- package/dist/ionic/{p-94816e7a.system.js → p-10c4f43c.system.js} +1 -1
- package/dist/ionic/p-128c9da8.entry.js +4 -0
- package/dist/ionic/p-1581ba44.js +4 -0
- package/dist/ionic/{p-3ce95a91.entry.js → p-1d15aa94.entry.js} +1 -1
- package/dist/ionic/{p-46787abb.system.js → p-1fd5c378.system.js} +1 -1
- package/dist/ionic/p-200b21b9.system.entry.js +4 -0
- package/dist/ionic/{p-72cbf799.system.entry.js → p-215c5ddb.system.entry.js} +1 -1
- package/dist/ionic/p-2364fade.entry.js +4 -0
- package/dist/ionic/{p-18f86177.system.js → p-268b6353.system.js} +1 -1
- package/dist/ionic/{p-be87ec25.entry.js → p-2779ce56.entry.js} +1 -1
- package/dist/ionic/p-284a0c63.entry.js +4 -0
- package/dist/ionic/p-297fcc18.system.entry.js +4 -0
- package/dist/ionic/p-29bc5069.entry.js +4 -0
- package/dist/ionic/{p-09c6b5e4.js → p-2ca20c1c.js} +1 -1
- package/dist/ionic/p-2ce11d2f.entry.js +4 -0
- package/dist/ionic/{p-12d6df53.js → p-2d9e2af4.js} +1 -1
- package/dist/ionic/p-309ddef5.system.js +4 -0
- package/dist/ionic/p-3198161b.entry.js +4 -0
- package/dist/ionic/p-31e267ab.entry.js +4 -0
- package/dist/ionic/p-343906be.entry.js +4 -0
- package/dist/ionic/p-38700ea8.entry.js +4 -0
- package/dist/ionic/p-3ca5d573.system.entry.js +4 -0
- package/dist/ionic/{p-29ca4da2.entry.js → p-402ffd31.entry.js} +1 -1
- package/dist/ionic/p-42f8e688.entry.js +4 -0
- package/dist/ionic/p-43902855.entry.js +4 -0
- package/dist/ionic/{p-b9d2d554.entry.js → p-453bd903.entry.js} +1 -1
- package/dist/ionic/p-45d8fe77.system.js +4 -0
- package/dist/ionic/{p-3e974fe2.entry.js → p-478723ce.entry.js} +1 -1
- package/dist/ionic/p-47acf6b1.system.entry.js +4 -0
- package/dist/ionic/p-49f0023f.entry.js +4 -0
- package/dist/ionic/p-4bccba08.js +4 -0
- package/dist/ionic/p-4c0b6220.system.entry.js +4 -0
- package/dist/ionic/p-4cbe0257.js +4 -0
- package/dist/ionic/p-5345fc46.entry.js +4 -0
- package/dist/ionic/p-537407c2.system.js +4 -0
- package/dist/ionic/{p-728f5b22.system.js → p-54030163.system.js} +1 -1
- package/dist/ionic/p-583f0c5f.js +4 -0
- package/dist/ionic/p-59f088ef.js +4 -0
- package/dist/ionic/p-5b4aaa87.js +4 -0
- package/dist/ionic/p-5dd7815f.system.entry.js +4 -0
- package/dist/ionic/{p-f8c63ac0.system.js → p-5f413457.system.js} +2 -2
- package/dist/ionic/p-5fead11d.system.entry.js +4 -0
- package/dist/ionic/p-60f547a8.entry.js +4 -0
- package/dist/ionic/p-6453d7e2.js +4 -0
- package/dist/ionic/p-648eac1a.system.entry.js +4 -0
- package/dist/ionic/p-695c2cbd.entry.js +4 -0
- package/dist/ionic/p-6b5c8c61.system.js +4 -0
- package/dist/ionic/{p-74d76684.js → p-6d80bd6d.js} +1 -1
- package/dist/ionic/{p-3e91ea3a.system.js → p-6e26cf64.system.js} +2 -2
- package/dist/ionic/p-71523065.entry.js +4 -0
- package/dist/ionic/p-75d056d0.system.entry.js +4 -0
- package/dist/ionic/p-77d57dc2.system.entry.js +4 -0
- package/dist/ionic/{p-89947721.system.entry.js → p-7917710f.system.entry.js} +1 -1
- package/dist/ionic/p-795787f2.entry.js +4 -0
- package/dist/ionic/p-7a81f98e.entry.js +4 -0
- package/dist/ionic/p-7bc994fd.js +4 -0
- package/dist/ionic/p-7cfe6f4a.entry.js +4 -0
- package/dist/ionic/{p-cea92c46.system.js → p-7f143abf.system.js} +1 -1
- package/dist/ionic/{p-dbd39afd.system.js → p-7fd5a3d3.system.js} +1 -1
- package/dist/ionic/p-836fb660.entry.js +4 -0
- package/dist/ionic/p-83cb6a20.system.entry.js +4 -0
- package/dist/ionic/p-86521979.system.entry.js +4 -0
- package/dist/ionic/p-87281fc9.system.js +4 -0
- package/dist/ionic/{p-4c275462.js → p-872be13b.js} +1 -1
- package/dist/ionic/p-886ff0f8.system.entry.js +4 -0
- package/dist/ionic/p-89ad4473.js +4 -0
- package/dist/ionic/p-8a8e843c.system.entry.js +4 -0
- package/dist/ionic/p-910e6371.entry.js +4 -0
- package/dist/ionic/p-9355dcb4.system.entry.js +4 -0
- package/dist/ionic/{p-3d61263b.system.entry.js → p-9685fe95.system.entry.js} +1 -1
- package/dist/ionic/{p-58aa8a36.system.js → p-97c801b9.system.js} +1 -1
- package/dist/ionic/{p-f25ad420.system.entry.js → p-97cc477f.system.entry.js} +1 -1
- package/dist/ionic/p-986dd0b7.entry.js +4 -0
- package/dist/ionic/p-99227d83.system.entry.js +4 -0
- package/dist/ionic/{p-86d98446.system.entry.js → p-99d106bd.system.entry.js} +1 -1
- package/dist/ionic/p-9a7c6bf9.system.js +4 -0
- package/dist/ionic/p-9cd19610.system.entry.js +4 -0
- package/dist/ionic/p-9f9a666d.system.js +4 -0
- package/dist/ionic/p-a0879901.system.js +4 -0
- package/dist/ionic/p-a09bf565.entry.js +4 -0
- package/dist/ionic/{p-a1cdc742.js → p-a5a91cba.js} +1 -1
- package/dist/ionic/p-a66016cd.system.entry.js +4 -0
- package/dist/ionic/p-a6ad7cc9.entry.js +4 -0
- package/dist/ionic/{p-93e47936.js → p-a6e62d2b.js} +1 -1
- package/dist/ionic/p-a78181cc.system.entry.js +4 -0
- package/dist/ionic/p-a7e1bd93.entry.js +4 -0
- package/dist/ionic/p-aaacc929.system.entry.js +4 -0
- package/dist/ionic/p-ac558084.entry.js +4 -0
- package/dist/ionic/{p-47fd935c.system.js → p-ae21baa6.system.js} +2 -2
- package/dist/ionic/p-af321c18.entry.js +4 -0
- package/dist/ionic/p-af69da90.entry.js +4 -0
- package/dist/ionic/p-b13db3c9.system.entry.js +4 -0
- package/dist/ionic/p-b1914bba.system.entry.js +4 -0
- package/dist/ionic/{p-a510e9c0.js → p-b1a9e1ce.js} +1 -1
- package/dist/ionic/{p-f116fb3f.system.js → p-b30830bd.system.js} +1 -1
- package/dist/ionic/{p-1efa63f2.js → p-b447afc8.js} +1 -1
- package/dist/ionic/{p-ac1c2b6a.js → p-b45244a2.js} +1 -1
- package/dist/ionic/{p-63fde7fe.entry.js → p-b4b60b97.entry.js} +1 -1
- package/dist/ionic/p-b5348f8f.system.js +4 -0
- package/dist/ionic/p-b6f00169.system.entry.js +4 -0
- package/dist/ionic/p-b6f44863.system.js +4 -0
- package/dist/ionic/p-b812ce8d.entry.js +4 -0
- package/dist/ionic/{p-62887754.system.js → p-b892d7e3.system.js} +1 -1
- package/dist/ionic/{p-a2814291.system.js → p-bbc9d5aa.system.js} +1 -1
- package/dist/ionic/p-bcb255e3.system.entry.js +4 -0
- package/dist/ionic/p-bea37cc1.system.entry.js +4 -0
- package/dist/ionic/p-c0a8a8b6.system.entry.js +4 -0
- package/dist/ionic/{p-9ed87d1b.js → p-c1c637d2.js} +1 -1
- package/dist/ionic/p-c48a6425.system.entry.js +4 -0
- package/dist/ionic/{p-8463212e.js → p-c4cf7721.js} +1 -1
- package/dist/ionic/p-c7aa652c.entry.js +4 -0
- package/dist/ionic/{p-f193945e.system.js → p-cdbb6875.system.js} +1 -1
- package/dist/ionic/p-d49da56a.system.entry.js +4 -0
- package/dist/ionic/{p-a538ab98.js → p-d61bbbec.js} +1 -1
- package/dist/ionic/p-d683e61f.system.entry.js +4 -0
- package/dist/ionic/p-d7e43c62.system.entry.js +4 -0
- package/dist/ionic/{p-84667060.entry.js → p-d8005cef.entry.js} +1 -1
- package/dist/ionic/{p-18892506.entry.js → p-d854fb32.entry.js} +1 -1
- package/dist/ionic/{p-986855d6.js → p-d91c085a.js} +1 -1
- package/dist/ionic/{p-5684893b.system.entry.js → p-da89b9bd.system.entry.js} +2 -2
- package/dist/ionic/p-dbb23cfa.entry.js +4 -0
- package/dist/ionic/p-dcbbd7bb.entry.js +4 -0
- package/dist/ionic/p-e5bffd6f.system.entry.js +4 -0
- package/dist/ionic/p-e6430e45.entry.js +4 -0
- package/dist/ionic/{p-556778bd.system.js → p-e832ef1e.system.js} +1 -1
- package/dist/ionic/{p-4626fb32.system.js → p-e97ceed8.system.js} +1 -1
- package/dist/ionic/p-e9c36e22.system.entry.js +4 -0
- package/dist/ionic/p-ece9123f.entry.js +4 -0
- package/dist/ionic/{p-822e47a9.system.js → p-efa05ed2.system.js} +1 -1
- package/dist/ionic/{p-5a6d245d.system.entry.js → p-f2b7dad7.system.entry.js} +1 -1
- package/dist/ionic/p-f2f33ab4.system.entry.js +4 -0
- package/dist/ionic/p-f3508be6.js +4 -0
- package/dist/ionic/{p-fad81132.system.entry.js → p-f3d7cf9a.system.entry.js} +1 -1
- package/dist/ionic/p-f52959de.js +4 -0
- package/dist/ionic/p-fa34bf0c.system.entry.js +4 -0
- package/dist/ionic/p-fa5a0d2e.system.entry.js +4 -0
- package/dist/ionic/p-fa5dc348.entry.js +4 -0
- package/dist/ionic/p-fac055ef.entry.js +4 -0
- package/dist/ionic/p-fb559858.entry.js +4 -0
- package/dist/ionic/p-fe76a062.entry.js +4 -0
- package/dist/types/components/app/app.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +5 -0
- package/dist/types/components/searchbar/searchbar.d.ts +8 -0
- package/dist/types/components.d.ts +17 -0
- package/dist/types/utils/focus-visible.d.ts +12 -0
- package/dist/types/utils/helpers.d.ts +11 -0
- package/hydrate/index.js +172 -96
- package/hydrate/index.mjs +172 -96
- package/package.json +1 -1
- package/dist/esm-es5/app-globals-eceadabb.js +0 -4
- package/dist/esm-es5/focus-visible-501aff19.js +0 -4
- package/dist/esm-es5/helpers-f08d15bd.js +0 -4
- package/dist/esm-es5/index-62b4a18b.js +0 -4
- package/dist/esm-es5/input-shims-6be83e59.js +0 -4
- package/dist/esm-es5/ios.transition-06b78ea0.js +0 -4
- package/dist/esm-es5/md.transition-e5712bda.js +0 -4
- package/dist/esm-es5/status-tap-edf9f395.js +0 -4
- package/dist/esm-es5/swipe-back-17c42610.js +0 -4
- package/dist/ionic/p-01451762.entry.js +0 -4
- package/dist/ionic/p-038a6294.js +0 -4
- package/dist/ionic/p-06f2f110.system.entry.js +0 -4
- package/dist/ionic/p-09125f4f.entry.js +0 -4
- package/dist/ionic/p-096e5f6d.system.entry.js +0 -4
- package/dist/ionic/p-0a0ce78f.system.entry.js +0 -4
- package/dist/ionic/p-0db90e9b.entry.js +0 -4
- package/dist/ionic/p-101ccd60.system.entry.js +0 -4
- package/dist/ionic/p-112120d7.system.js +0 -4
- package/dist/ionic/p-12337305.system.entry.js +0 -4
- package/dist/ionic/p-156d17cd.js +0 -4
- package/dist/ionic/p-18bbe9a5.entry.js +0 -4
- package/dist/ionic/p-18c930a5.system.entry.js +0 -4
- package/dist/ionic/p-1abd1c99.entry.js +0 -4
- package/dist/ionic/p-1cf1141c.system.entry.js +0 -4
- package/dist/ionic/p-1dd2b0af.entry.js +0 -4
- package/dist/ionic/p-1eeb9796.entry.js +0 -4
- package/dist/ionic/p-23b31425.entry.js +0 -4
- package/dist/ionic/p-25cc2477.entry.js +0 -4
- package/dist/ionic/p-2e35a770.system.js +0 -4
- package/dist/ionic/p-2ef115ec.system.entry.js +0 -4
- package/dist/ionic/p-330e703e.entry.js +0 -4
- package/dist/ionic/p-33dc4514.js +0 -4
- package/dist/ionic/p-346c67b0.js +0 -4
- package/dist/ionic/p-3583dd40.system.entry.js +0 -4
- package/dist/ionic/p-398b00a5.system.entry.js +0 -4
- package/dist/ionic/p-3b7adbc3.system.entry.js +0 -4
- package/dist/ionic/p-41c19986.system.js +0 -4
- package/dist/ionic/p-41f06734.entry.js +0 -4
- package/dist/ionic/p-4219582c.system.js +0 -4
- package/dist/ionic/p-4385e3fb.system.entry.js +0 -4
- package/dist/ionic/p-4a39ba11.entry.js +0 -4
- package/dist/ionic/p-4a6d4288.entry.js +0 -4
- package/dist/ionic/p-4a869870.entry.js +0 -4
- package/dist/ionic/p-4ac4f52a.system.entry.js +0 -4
- package/dist/ionic/p-4c9e1b2c.js +0 -4
- package/dist/ionic/p-51371e21.system.js +0 -4
- package/dist/ionic/p-530c591a.entry.js +0 -4
- package/dist/ionic/p-5377db51.system.entry.js +0 -4
- package/dist/ionic/p-55546d77.system.entry.js +0 -4
- package/dist/ionic/p-57de8d54.system.entry.js +0 -4
- package/dist/ionic/p-5860d75f.system.entry.js +0 -4
- package/dist/ionic/p-58c64779.system.entry.js +0 -4
- package/dist/ionic/p-5a6b3c0d.entry.js +0 -4
- package/dist/ionic/p-5ce35a03.js +0 -4
- package/dist/ionic/p-5eb8561f.system.entry.js +0 -4
- package/dist/ionic/p-5ff5d2bb.entry.js +0 -4
- package/dist/ionic/p-60c310ae.system.entry.js +0 -4
- package/dist/ionic/p-60d21ee9.system.entry.js +0 -4
- package/dist/ionic/p-61f85a49.system.entry.js +0 -4
- package/dist/ionic/p-6433742e.system.entry.js +0 -4
- package/dist/ionic/p-67b6e18d.entry.js +0 -4
- package/dist/ionic/p-6bc2795b.entry.js +0 -4
- package/dist/ionic/p-6caa76ec.js +0 -4
- package/dist/ionic/p-6cbca6c5.system.entry.js +0 -4
- package/dist/ionic/p-6dc32e8b.entry.js +0 -4
- package/dist/ionic/p-6e53290f.system.entry.js +0 -4
- package/dist/ionic/p-7607d8ba.system.entry.js +0 -4
- package/dist/ionic/p-78ed8923.js +0 -4
- package/dist/ionic/p-7a858bae.system.js +0 -4
- package/dist/ionic/p-7d36cf9f.system.entry.js +0 -4
- package/dist/ionic/p-81b72701.entry.js +0 -4
- package/dist/ionic/p-82cb4235.js +0 -4
- package/dist/ionic/p-857ba8d4.entry.js +0 -4
- package/dist/ionic/p-86e9a917.system.entry.js +0 -4
- package/dist/ionic/p-871f4046.entry.js +0 -4
- package/dist/ionic/p-8956f9a8.system.entry.js +0 -4
- package/dist/ionic/p-8a5c53fa.entry.js +0 -4
- package/dist/ionic/p-8b0f0a87.entry.js +0 -4
- package/dist/ionic/p-8dbfae64.entry.js +0 -4
- package/dist/ionic/p-903c544a.js +0 -4
- package/dist/ionic/p-916bc9ed.system.entry.js +0 -4
- package/dist/ionic/p-92646426.js +0 -4
- package/dist/ionic/p-94fc2104.system.entry.js +0 -4
- package/dist/ionic/p-9ac1a506.system.js +0 -4
- package/dist/ionic/p-a5a9206f.entry.js +0 -4
- package/dist/ionic/p-a98061d0.entry.js +0 -4
- package/dist/ionic/p-ac1e6986.entry.js +0 -4
- package/dist/ionic/p-b18c52cd.entry.js +0 -4
- package/dist/ionic/p-b517144d.system.entry.js +0 -4
- package/dist/ionic/p-b5dc9a32.system.entry.js +0 -4
- package/dist/ionic/p-b80582fe.system.entry.js +0 -4
- package/dist/ionic/p-bbcec459.system.js +0 -4
- package/dist/ionic/p-bcdd3eaf.entry.js +0 -4
- package/dist/ionic/p-c373eebd.system.js +0 -4
- package/dist/ionic/p-cdff6a80.system.entry.js +0 -4
- package/dist/ionic/p-d4862803.entry.js +0 -4
- package/dist/ionic/p-d6ed3be1.entry.js +0 -4
- package/dist/ionic/p-dc286a59.entry.js +0 -4
- package/dist/ionic/p-df09db21.entry.js +0 -4
- package/dist/ionic/p-df4b88fc.system.entry.js +0 -4
- package/dist/ionic/p-ea3ca474.system.js +0 -4
- package/dist/ionic/p-eb4ba253.entry.js +0 -4
- package/dist/ionic/p-ebd641e4.system.entry.js +0 -4
- package/dist/ionic/p-ebe94d15.entry.js +0 -4
- package/dist/ionic/p-eda736d7.entry.js +0 -4
- package/dist/ionic/p-ee17be82.entry.js +0 -4
- package/dist/ionic/p-eee899d5.system.entry.js +0 -4
- package/dist/ionic/p-f44c9c6e.system.entry.js +0 -4
- package/dist/ionic/p-f5be97b8.entry.js +0 -4
- package/dist/ionic/p-f8123284.entry.js +0 -4
- package/dist/ionic/p-fff78cd2.system.entry.js +0 -4
|
@@ -141,6 +141,7 @@ export class Searchbar {
|
|
|
141
141
|
this.spellcheck = false;
|
|
142
142
|
this.type = 'search';
|
|
143
143
|
this.value = '';
|
|
144
|
+
this.shape = undefined;
|
|
144
145
|
}
|
|
145
146
|
/**
|
|
146
147
|
* lang and dir are globally enumerated attributes.
|
|
@@ -375,6 +376,18 @@ export class Searchbar {
|
|
|
375
376
|
}
|
|
376
377
|
return true;
|
|
377
378
|
}
|
|
379
|
+
getShape() {
|
|
380
|
+
const theme = getIonTheme(this);
|
|
381
|
+
const { shape } = this;
|
|
382
|
+
// TODO(ROU-11677): Remove theme check when shapes are defined for all themes.
|
|
383
|
+
if (theme !== 'ionic') {
|
|
384
|
+
return undefined;
|
|
385
|
+
}
|
|
386
|
+
if (shape === undefined) {
|
|
387
|
+
return 'round';
|
|
388
|
+
}
|
|
389
|
+
return shape;
|
|
390
|
+
}
|
|
378
391
|
/**
|
|
379
392
|
* Get the icon to use for the clear icon.
|
|
380
393
|
* If an icon is set on the component, use that.
|
|
@@ -449,8 +462,9 @@ export class Searchbar {
|
|
|
449
462
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
450
463
|
const theme = getIonTheme(this);
|
|
451
464
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
452
|
-
const
|
|
453
|
-
|
|
465
|
+
const shape = this.getShape();
|
|
466
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: 'd7382dd39f5699330fa1c981cd252a903029d1b5', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: '3b3c4a16c23d7406be4eda6076deca41e79e196d', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
467
|
+
return (h(Host, { key: '4890a1478e7e1ff0a85d5e6ca2214c50aee96777', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
454
468
|
[theme]: true,
|
|
455
469
|
'searchbar-animated': animated,
|
|
456
470
|
'searchbar-disabled': this.disabled,
|
|
@@ -460,14 +474,15 @@ export class Searchbar {
|
|
|
460
474
|
'searchbar-has-focus': this.focused,
|
|
461
475
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
462
476
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
463
|
-
|
|
477
|
+
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
478
|
+
}) }, h("div", { key: 'e2b95c0f77605f8d1e9b3f8b971d07fba72cb794', class: "searchbar-input-container" }, h("input", Object.assign({ key: '6dd8ff97d0ef85190addbd20a1093d22fecf9a80', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, h("ion-icon", { key: '626aefedcd35c36bd9a697b5f5bdbaec4f0142eb', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '9996031c9eeba745d37b6600b6594f69c4808842', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
464
479
|
/**
|
|
465
480
|
* This prevents mobile browsers from
|
|
466
481
|
* blurring the input when the clear
|
|
467
482
|
* button is activated.
|
|
468
483
|
*/
|
|
469
484
|
ev.preventDefault();
|
|
470
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
485
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '403a5866e82ca6be91101a1719c3ad2f273a652f', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" }))), theme === 'ios' && cancelButton));
|
|
471
486
|
}
|
|
472
487
|
static get is() { return "ion-searchbar"; }
|
|
473
488
|
static get encapsulation() { return "scoped"; }
|
|
@@ -885,6 +900,23 @@ export class Searchbar {
|
|
|
885
900
|
"attribute": "value",
|
|
886
901
|
"reflect": false,
|
|
887
902
|
"defaultValue": "''"
|
|
903
|
+
},
|
|
904
|
+
"shape": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"mutable": false,
|
|
907
|
+
"complexType": {
|
|
908
|
+
"original": "'soft' | 'round' | 'rectangular'",
|
|
909
|
+
"resolved": "\"rectangular\" | \"round\" | \"soft\" | undefined",
|
|
910
|
+
"references": {}
|
|
911
|
+
},
|
|
912
|
+
"required": false,
|
|
913
|
+
"optional": true,
|
|
914
|
+
"docs": {
|
|
915
|
+
"tags": [],
|
|
916
|
+
"text": "Set to `\"soft\"` for a searchbar with slightly rounded corners,\n`\"round\"` for a searchbar with fully rounded corners,\nor `\"rectangular\"` for a searchbar without rounded corners.\nDefaults to `\"round\"` for the ionic theme, and `undefined` for all other themes."
|
|
917
|
+
},
|
|
918
|
+
"attribute": "shape",
|
|
919
|
+
"reflect": false
|
|
888
920
|
}
|
|
889
921
|
};
|
|
890
922
|
}
|
|
@@ -24,6 +24,21 @@ export const getOrInitFocusVisibleUtility = () => {
|
|
|
24
24
|
}
|
|
25
25
|
return focusVisibleUtility;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Used to set focus on an element that uses `ion-focusable`.
|
|
29
|
+
* Do not use this if focusing the element as a result of a keyboard
|
|
30
|
+
* event as the focus utility should handle this for us. This method
|
|
31
|
+
* should be used when we want to programmatically focus an element as
|
|
32
|
+
* a result of another user action. (Ex: We focus the first element
|
|
33
|
+
* inside of a popover when the user presents it, but the popover is not always
|
|
34
|
+
* presented as a result of keyboard action.)
|
|
35
|
+
*
|
|
36
|
+
* @param elements - The elements to set focus on.
|
|
37
|
+
*/
|
|
38
|
+
export const focusElements = (elements) => {
|
|
39
|
+
const focusVisible = getOrInitFocusVisibleUtility();
|
|
40
|
+
focusVisible.setFocus(elements);
|
|
41
|
+
};
|
|
27
42
|
export const startFocusVisible = (rootEl) => {
|
|
28
43
|
let currentFocus = [];
|
|
29
44
|
let keyboardMode = true;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { focusElements } from "./focus-visible";
|
|
4
5
|
import { config } from "../global/config";
|
|
5
6
|
export const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
6
7
|
return new Promise((resolve) => {
|
|
@@ -231,6 +232,17 @@ export const raf = (h) => {
|
|
|
231
232
|
export const hasShadowDom = (el) => {
|
|
232
233
|
return !!el.shadowRoot && !!el.attachShadow;
|
|
233
234
|
};
|
|
235
|
+
/**
|
|
236
|
+
* Focuses a given element while ensuring proper focus management
|
|
237
|
+
* within the Ionic framework. If the element is marked as `ion-focusable`,
|
|
238
|
+
* this function will delegate focus handling to `ion-app` or manually
|
|
239
|
+
* apply focus when a custom app root is used.
|
|
240
|
+
*
|
|
241
|
+
* This function helps maintain accessibility and expected focus behavior
|
|
242
|
+
* in both standard and custom root environments.
|
|
243
|
+
*
|
|
244
|
+
* @param el - The element to focus.
|
|
245
|
+
*/
|
|
234
246
|
export const focusVisibleElement = (el) => {
|
|
235
247
|
el.focus();
|
|
236
248
|
/**
|
|
@@ -245,7 +257,33 @@ export const focusVisibleElement = (el) => {
|
|
|
245
257
|
const appRootSelector = config.get('appRootSelector', 'ion-app');
|
|
246
258
|
const app = el.closest(appRootSelector);
|
|
247
259
|
if (app) {
|
|
248
|
-
app
|
|
260
|
+
if (appRootSelector === 'ion-app') {
|
|
261
|
+
/**
|
|
262
|
+
* If the app root is the default, then it will be
|
|
263
|
+
* in charge of setting focus. This is because the
|
|
264
|
+
* focus-visible utility is attached to the app root
|
|
265
|
+
* and will handle setting focus on the correct element.
|
|
266
|
+
*/
|
|
267
|
+
app.setFocus([el]);
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
270
|
+
/**
|
|
271
|
+
* When using a custom app root selector, the focus-visible
|
|
272
|
+
* utility is not available to manage focus automatically.
|
|
273
|
+
* If we set focus immediately, the element may not be fully
|
|
274
|
+
* rendered or interactive, especially if it was just added
|
|
275
|
+
* to the DOM. Using requestAnimationFrame ensures that focus
|
|
276
|
+
* is applied on the next frame, allowing the DOM to settle
|
|
277
|
+
* before changing focus.
|
|
278
|
+
*/
|
|
279
|
+
requestAnimationFrame(() => {
|
|
280
|
+
/**
|
|
281
|
+
* The focus-visible utility is used to set focus on an
|
|
282
|
+
* element that uses `ion-focusable`.
|
|
283
|
+
*/
|
|
284
|
+
focusElements([el]);
|
|
285
|
+
});
|
|
286
|
+
}
|
|
249
287
|
}
|
|
250
288
|
}
|
|
251
289
|
};
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-03-04T09:38:42",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.20.0",
|
|
@@ -2614,7 +2614,7 @@
|
|
|
2614
2614
|
{
|
|
2615
2615
|
"name": "elements",
|
|
2616
2616
|
"type": "HTMLElement[]",
|
|
2617
|
-
"docs": ""
|
|
2617
|
+
"docs": "- The elements to set focus on."
|
|
2618
2618
|
}
|
|
2619
2619
|
],
|
|
2620
2620
|
"references": {
|
|
@@ -2634,11 +2634,16 @@
|
|
|
2634
2634
|
{
|
|
2635
2635
|
"name": "elements",
|
|
2636
2636
|
"type": "HTMLElement[]",
|
|
2637
|
-
"docs": ""
|
|
2637
|
+
"docs": "- The elements to set focus on."
|
|
2638
2638
|
}
|
|
2639
2639
|
],
|
|
2640
2640
|
"docs": "Used to set focus on an element that uses `ion-focusable`.\nDo not use this if focusing the element as a result of a keyboard\nevent as the focus utility should handle this for us. This method\nshould be used when we want to programmatically focus an element as\na result of another user action. (Ex: We focus the first element\ninside of a popover when the user presents it, but the popover is not always\npresented as a result of keyboard action.)",
|
|
2641
|
-
"docsTags": [
|
|
2641
|
+
"docsTags": [
|
|
2642
|
+
{
|
|
2643
|
+
"name": "param",
|
|
2644
|
+
"text": "elements - The elements to set focus on."
|
|
2645
|
+
}
|
|
2646
|
+
]
|
|
2642
2647
|
}
|
|
2643
2648
|
],
|
|
2644
2649
|
"events": [],
|
|
@@ -4126,6 +4131,35 @@
|
|
|
4126
4131
|
],
|
|
4127
4132
|
"optional": true,
|
|
4128
4133
|
"required": false
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"name": "vertical",
|
|
4137
|
+
"type": "\"bottom\" | \"top\" | undefined",
|
|
4138
|
+
"complexType": {
|
|
4139
|
+
"original": "'top' | 'bottom'",
|
|
4140
|
+
"resolved": "\"bottom\" | \"top\" | undefined",
|
|
4141
|
+
"references": {}
|
|
4142
|
+
},
|
|
4143
|
+
"mutable": false,
|
|
4144
|
+
"attr": "vertical",
|
|
4145
|
+
"reflectToAttr": false,
|
|
4146
|
+
"docs": "Set to `\"top\"` to position the badge on top right absolute position of the parent element.\nSet to `\"bottom\"` to position the badge on bottom right absolute position of the parent element.",
|
|
4147
|
+
"docsTags": [],
|
|
4148
|
+
"values": [
|
|
4149
|
+
{
|
|
4150
|
+
"value": "bottom",
|
|
4151
|
+
"type": "string"
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
"value": "top",
|
|
4155
|
+
"type": "string"
|
|
4156
|
+
},
|
|
4157
|
+
{
|
|
4158
|
+
"type": "undefined"
|
|
4159
|
+
}
|
|
4160
|
+
],
|
|
4161
|
+
"optional": true,
|
|
4162
|
+
"required": false
|
|
4129
4163
|
}
|
|
4130
4164
|
],
|
|
4131
4165
|
"methods": [],
|
|
@@ -30792,6 +30826,39 @@
|
|
|
30792
30826
|
"optional": true,
|
|
30793
30827
|
"required": false
|
|
30794
30828
|
},
|
|
30829
|
+
{
|
|
30830
|
+
"name": "shape",
|
|
30831
|
+
"type": "\"rectangular\" | \"round\" | \"soft\" | undefined",
|
|
30832
|
+
"complexType": {
|
|
30833
|
+
"original": "'soft' | 'round' | 'rectangular'",
|
|
30834
|
+
"resolved": "\"rectangular\" | \"round\" | \"soft\" | undefined",
|
|
30835
|
+
"references": {}
|
|
30836
|
+
},
|
|
30837
|
+
"mutable": false,
|
|
30838
|
+
"attr": "shape",
|
|
30839
|
+
"reflectToAttr": false,
|
|
30840
|
+
"docs": "Set to `\"soft\"` for a searchbar with slightly rounded corners,\n`\"round\"` for a searchbar with fully rounded corners,\nor `\"rectangular\"` for a searchbar without rounded corners.\nDefaults to `\"round\"` for the ionic theme, and `undefined` for all other themes.",
|
|
30841
|
+
"docsTags": [],
|
|
30842
|
+
"values": [
|
|
30843
|
+
{
|
|
30844
|
+
"value": "rectangular",
|
|
30845
|
+
"type": "string"
|
|
30846
|
+
},
|
|
30847
|
+
{
|
|
30848
|
+
"value": "round",
|
|
30849
|
+
"type": "string"
|
|
30850
|
+
},
|
|
30851
|
+
{
|
|
30852
|
+
"value": "soft",
|
|
30853
|
+
"type": "string"
|
|
30854
|
+
},
|
|
30855
|
+
{
|
|
30856
|
+
"type": "undefined"
|
|
30857
|
+
}
|
|
30858
|
+
],
|
|
30859
|
+
"optional": true,
|
|
30860
|
+
"required": false
|
|
30861
|
+
},
|
|
30795
30862
|
{
|
|
30796
30863
|
"name": "showCancelButton",
|
|
30797
30864
|
"type": "\"always\" | \"focus\" | \"never\"",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { w as writeTask } from './index-723c0e5d.js';
|
|
5
|
-
import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-
|
|
5
|
+
import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-1f990858.js';
|
|
6
6
|
import { createGesture } from './index-39782642.js';
|
|
7
7
|
|
|
8
8
|
const createButtonActiveGesture = (el, isButton) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { p as printIonWarning } from './ionic-global-
|
|
4
|
+
import { p as printIonWarning } from './ionic-global-483790dd.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Returns true if the selected day is equal to the reference day
|
|
@@ -24,6 +24,21 @@ const getOrInitFocusVisibleUtility = () => {
|
|
|
24
24
|
}
|
|
25
25
|
return focusVisibleUtility;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Used to set focus on an element that uses `ion-focusable`.
|
|
29
|
+
* Do not use this if focusing the element as a result of a keyboard
|
|
30
|
+
* event as the focus utility should handle this for us. This method
|
|
31
|
+
* should be used when we want to programmatically focus an element as
|
|
32
|
+
* a result of another user action. (Ex: We focus the first element
|
|
33
|
+
* inside of a popover when the user presents it, but the popover is not always
|
|
34
|
+
* presented as a result of keyboard action.)
|
|
35
|
+
*
|
|
36
|
+
* @param elements - The elements to set focus on.
|
|
37
|
+
*/
|
|
38
|
+
const focusElements = (elements) => {
|
|
39
|
+
const focusVisible = getOrInitFocusVisibleUtility();
|
|
40
|
+
focusVisible.setFocus(elements);
|
|
41
|
+
};
|
|
27
42
|
const startFocusVisible = (rootEl) => {
|
|
28
43
|
let currentFocus = [];
|
|
29
44
|
let keyboardMode = true;
|
|
@@ -79,4 +94,4 @@ const startFocusVisible = (rootEl) => {
|
|
|
79
94
|
};
|
|
80
95
|
};
|
|
81
96
|
|
|
82
|
-
export { getOrInitFocusVisibleUtility, startFocusVisible };
|
|
97
|
+
export { focusElements, getOrInitFocusVisibleUtility, startFocusVisible };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { c as config } from './config-84eb9670.js';
|
|
5
|
-
import { c as componentOnReady } from './helpers-
|
|
5
|
+
import { c as componentOnReady } from './helpers-2891ef8a.js';
|
|
6
6
|
|
|
7
7
|
// TODO(FW-2832): types
|
|
8
8
|
const attachComponent = async (delegate, container, component, cssClasses, componentProps, inline) => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
+
import { focusElements } from './focus-visible-6827442c.js';
|
|
4
5
|
import { c as config } from './config-84eb9670.js';
|
|
5
6
|
|
|
6
7
|
const transitionEndAsync = (el, expectedDuration = 0) => {
|
|
@@ -232,6 +233,17 @@ const raf = (h) => {
|
|
|
232
233
|
const hasShadowDom = (el) => {
|
|
233
234
|
return !!el.shadowRoot && !!el.attachShadow;
|
|
234
235
|
};
|
|
236
|
+
/**
|
|
237
|
+
* Focuses a given element while ensuring proper focus management
|
|
238
|
+
* within the Ionic framework. If the element is marked as `ion-focusable`,
|
|
239
|
+
* this function will delegate focus handling to `ion-app` or manually
|
|
240
|
+
* apply focus when a custom app root is used.
|
|
241
|
+
*
|
|
242
|
+
* This function helps maintain accessibility and expected focus behavior
|
|
243
|
+
* in both standard and custom root environments.
|
|
244
|
+
*
|
|
245
|
+
* @param el - The element to focus.
|
|
246
|
+
*/
|
|
235
247
|
const focusVisibleElement = (el) => {
|
|
236
248
|
el.focus();
|
|
237
249
|
/**
|
|
@@ -246,7 +258,33 @@ const focusVisibleElement = (el) => {
|
|
|
246
258
|
const appRootSelector = config.get('appRootSelector', 'ion-app');
|
|
247
259
|
const app = el.closest(appRootSelector);
|
|
248
260
|
if (app) {
|
|
249
|
-
app
|
|
261
|
+
if (appRootSelector === 'ion-app') {
|
|
262
|
+
/**
|
|
263
|
+
* If the app root is the default, then it will be
|
|
264
|
+
* in charge of setting focus. This is because the
|
|
265
|
+
* focus-visible utility is attached to the app root
|
|
266
|
+
* and will handle setting focus on the correct element.
|
|
267
|
+
*/
|
|
268
|
+
app.setFocus([el]);
|
|
269
|
+
}
|
|
270
|
+
else {
|
|
271
|
+
/**
|
|
272
|
+
* When using a custom app root selector, the focus-visible
|
|
273
|
+
* utility is not available to manage focus automatically.
|
|
274
|
+
* If we set focus immediately, the element may not be fully
|
|
275
|
+
* rendered or interactive, especially if it was just added
|
|
276
|
+
* to the DOM. Using requestAnimationFrame ensures that focus
|
|
277
|
+
* is applied on the next frame, allowing the DOM to settle
|
|
278
|
+
* before changing focus.
|
|
279
|
+
*/
|
|
280
|
+
requestAnimationFrame(() => {
|
|
281
|
+
/**
|
|
282
|
+
* The focus-visible utility is used to set focus on an
|
|
283
|
+
* element that uses `ion-focusable`.
|
|
284
|
+
*/
|
|
285
|
+
focusElements([el]);
|
|
286
|
+
});
|
|
287
|
+
}
|
|
250
288
|
}
|
|
251
289
|
}
|
|
252
290
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { c as config } from './config-84eb9670.js';
|
|
5
5
|
import { w as writeTask, B as Build } from './index-723c0e5d.js';
|
|
6
|
-
import { p as printIonWarning } from './ionic-global-
|
|
7
|
-
import { r as raf } from './helpers-
|
|
6
|
+
import { p as printIonWarning } from './ionic-global-483790dd.js';
|
|
7
|
+
import { r as raf } from './helpers-2891ef8a.js';
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
10
10
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -120,8 +120,8 @@ const createFocusController = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const LAST_FOCUS = 'ion-last-focus';
|
|
122
122
|
|
|
123
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
|
124
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
|
123
|
+
const iosTransitionAnimation = () => import('./ios.transition-9da97621.js');
|
|
124
|
+
const mdTransitionAnimation = () => import('./md.transition-9d6d778a.js');
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
const transition = (opts) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { b as getIonMode, p as printIonWarning, d as doc, M as MENU_BACK_BUTTON_PRIORITY } from './ionic-global-
|
|
5
|
-
import { c as componentOnReady } from './helpers-
|
|
6
|
-
import { c as createAnimation } from './animation-
|
|
4
|
+
import { b as getIonMode, p as printIonWarning, d as doc, M as MENU_BACK_BUTTON_PRIORITY } from './ionic-global-483790dd.js';
|
|
5
|
+
import { c as componentOnReady } from './helpers-2891ef8a.js';
|
|
6
|
+
import { c as createAnimation } from './animation-9425a7de.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* baseAnimation
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { c as componentOnReady } from './helpers-
|
|
5
|
-
import { f as printRequiredElementError } from './ionic-global-
|
|
4
|
+
import { c as componentOnReady } from './helpers-2891ef8a.js';
|
|
5
|
+
import { f as printRequiredElementError } from './ionic-global-483790dd.js';
|
|
6
6
|
|
|
7
7
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
8
8
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { d as doc } from './ionic-global-
|
|
5
|
-
import { p as pointerCoord } from './helpers-
|
|
4
|
+
import { d as doc } from './ionic-global-483790dd.js';
|
|
5
|
+
import { p as pointerCoord } from './helpers-2891ef8a.js';
|
|
6
6
|
import './index-723c0e5d.js';
|
|
7
7
|
import './config-84eb9670.js';
|
|
8
|
+
import './focus-visible-6827442c.js';
|
|
8
9
|
|
|
9
10
|
const startTapClick = (config) => {
|
|
10
11
|
if (doc === undefined) {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
export { c as createAnimation } from './animation-
|
|
5
|
-
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-
|
|
6
|
-
export { iosTransitionAnimation } from './ios.transition-
|
|
7
|
-
export { mdTransitionAnimation } from './md.transition-
|
|
4
|
+
export { c as createAnimation } from './animation-9425a7de.js';
|
|
5
|
+
export { a as LIFECYCLE_DID_ENTER, c as LIFECYCLE_DID_LEAVE, L as LIFECYCLE_WILL_ENTER, b as LIFECYCLE_WILL_LEAVE, d as LIFECYCLE_WILL_UNLOAD, g as getIonPageElement } from './index-01a5c404.js';
|
|
6
|
+
export { iosTransitionAnimation } from './ios.transition-9da97621.js';
|
|
7
|
+
export { mdTransitionAnimation } from './md.transition-9d6d778a.js';
|
|
8
8
|
export { g as getTimeGivenProgression } from './cubic-bezier-fe2083dc.js';
|
|
9
9
|
export { createGesture } from './index-39782642.js';
|
|
10
|
-
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-
|
|
11
|
-
export { c as componentOnReady } from './helpers-
|
|
10
|
+
export { g as getPlatforms, i as initialize, a as isPlatform } from './ionic-global-483790dd.js';
|
|
11
|
+
export { c as componentOnReady } from './helpers-2891ef8a.js';
|
|
12
12
|
export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
|
|
13
13
|
export { o as openURL } from './theme-01f3f29c.js';
|
|
14
|
-
export { m as menuController } from './index-
|
|
15
|
-
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-
|
|
14
|
+
export { m as menuController } from './index-3e251942.js';
|
|
15
|
+
export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-e1400470.js';
|
|
16
16
|
import './config-84eb9670.js';
|
|
17
17
|
import './index-723c0e5d.js';
|
|
18
18
|
import './gesture-controller-314a54f6.js';
|
|
19
|
-
import './
|
|
19
|
+
import './focus-visible-6827442c.js';
|
|
20
|
+
import './framework-delegate-89969cd9.js';
|
|
20
21
|
|
|
21
22
|
const IonicSlides = (opts) => {
|
|
22
23
|
const { swiper, extendParams } = opts;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as win, d as doc } from './ionic-global-
|
|
5
|
-
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-
|
|
6
|
-
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-
|
|
7
|
-
import { a as KeyboardResize, K as Keyboard } from './keyboard-
|
|
4
|
+
import { w as win, d as doc } from './ionic-global-483790dd.js';
|
|
5
|
+
import { g as getScrollElement, c as scrollByPoint, f as findClosestIonContent } from './index-784203dc.js';
|
|
6
|
+
import { a as addEventListener, b as removeEventListener, r as raf, c as componentOnReady } from './helpers-2891ef8a.js';
|
|
7
|
+
import { a as KeyboardResize, K as Keyboard } from './keyboard-16dbc7a0.js';
|
|
8
8
|
import './index-723c0e5d.js';
|
|
9
9
|
import './config-84eb9670.js';
|
|
10
|
-
import './
|
|
10
|
+
import './focus-visible-6827442c.js';
|
|
11
|
+
import './capacitor-74587d3c.js';
|
|
11
12
|
|
|
12
13
|
const cloneMap = new WeakMap();
|
|
13
14
|
const relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0, disabledClonedInput = false) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as win, e as printIonError } from './ionic-global-
|
|
5
|
-
import { r as raf } from './helpers-
|
|
4
|
+
import { w as win, e as printIonError } from './ionic-global-483790dd.js';
|
|
5
|
+
import { r as raf } from './helpers-2891ef8a.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, i as Host, g as getElement, e as createEvent } from './index-723c0e5d.js';
|
|
5
5
|
import { c as caretDownSvg } from './caret-down-3eaad1cc.js';
|
|
6
|
-
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-
|
|
6
|
+
import { r as raf, t as transitionEndAsync, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-2891ef8a.js';
|
|
7
7
|
import { h as hostContext } from './theme-01f3f29c.js';
|
|
8
8
|
import { l as chevronDown } from './index-d997525d.js';
|
|
9
9
|
import { c as config } from './config-84eb9670.js';
|
|
10
|
-
import { c as getIonTheme, p as printIonWarning } from './ionic-global-
|
|
10
|
+
import { c as getIonTheme, p as printIonWarning } from './ionic-global-483790dd.js';
|
|
11
|
+
import './focus-visible-6827442c.js';
|
|
11
12
|
|
|
12
13
|
const accordionIonicCss = ":host{display:block;position:relative;width:100%;overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host{position:relative}:host::after{-webkit-margin-start:var(--ion-space-400, 16px);margin-inline-start:var(--ion-space-400, 16px);-webkit-margin-end:var(--ion-space-400, 16px);margin-inline-end:var(--ion-space-400, 16px);right:0;left:0;bottom:0;display:block;position:absolute;height:var(--ion-border-size-025, 1px);background-color:var(--ion-primitives-neutral-300, #cfcfcf);content:\"\";z-index:3}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}::slotted(ion-item[slot=header]){--border-radius:inherit;--color:var(--ion-primitives-neutral-1200, #242424);--border-width:0;--inner-border-width:0;--min-height:var(--ion-scale-700, 28px);--padding-top:var(--ion-space-300, 12px);--padding-end:var(--ion-space-400, 16px);--padding-bottom:var(--ion-space-300, 12px);--padding-start:var(--ion-space-400, 16px);font-size:var(--ion-font-size-450, 1.125rem);font-weight:var(--ion-font-weight-medium, 500);letter-spacing:var(--ion-font-letter-spacing-0, 0%);line-height:var(--ion-font-line-height-700, 28px);text-decoration:none;text-transform:none}#content-wrapper{-webkit-padding-start:var(--ion-space-400, 16px);padding-inline-start:var(--ion-space-400, 16px);-webkit-padding-end:var(--ion-space-400, 16px);padding-inline-end:var(--ion-space-400, 16px);padding-bottom:var(--ion-space-300, 12px);font-size:var(--ion-font-size-350, 0.875rem);font-weight:var(--ion-font-weight-regular, 400);letter-spacing:var(--ion-font-letter-spacing-0, 0%);line-height:var(--ion-font-line-height-600, 24px);text-decoration:none;text-transform:none;color:var(--ion-primitives-neutral-1000, #3b3b3b)}:host(.accordion-disabled)::before{border-radius:inherit;right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--ion-state-disabled, rgba(255, 255, 255, 0.6));content:\"\";pointer-events:none;z-index:2}";
|
|
13
14
|
const IonAccordionIonicStyle0 = accordionIonicCss;
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, e as createEvent, f as readTask, h, i as Host, g as getElement } from './index-723c0e5d.js';
|
|
5
|
-
import { c as createButtonActiveGesture } from './button-active-
|
|
6
|
-
import { r as raf } from './helpers-
|
|
5
|
+
import { c as createButtonActiveGesture } from './button-active-3461e57c.js';
|
|
6
|
+
import { r as raf } from './helpers-2891ef8a.js';
|
|
7
7
|
import { c as createLockController } from './lock-controller-316928be.js';
|
|
8
|
-
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-
|
|
8
|
+
import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-e1400470.js';
|
|
9
9
|
import { g as getClassMap } from './theme-01f3f29c.js';
|
|
10
|
-
import { b as getIonMode, c as getIonTheme } from './ionic-global-
|
|
11
|
-
import { c as createAnimation } from './animation-
|
|
12
|
-
import './haptic-
|
|
13
|
-
import './capacitor-
|
|
10
|
+
import { b as getIonMode, c as getIonTheme } from './ionic-global-483790dd.js';
|
|
11
|
+
import { c as createAnimation } from './animation-9425a7de.js';
|
|
12
|
+
import './haptic-1f990858.js';
|
|
13
|
+
import './capacitor-74587d3c.js';
|
|
14
14
|
import './index-39782642.js';
|
|
15
15
|
import './gesture-controller-314a54f6.js';
|
|
16
|
+
import './focus-visible-6827442c.js';
|
|
16
17
|
import './config-84eb9670.js';
|
|
17
|
-
import './framework-delegate-
|
|
18
|
+
import './framework-delegate-89969cd9.js';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* iOS Action Sheet Enter Animation
|