@ionic/core 8.4.4-dev.11741197052.19804443 → 8.4.4-dev.11741206641.18dd4e91
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/checkbox.js +37 -5
- package/components/helpers.js +1 -11
- package/components/index9.js +1 -1
- package/components/ion-input.js +2 -2
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +9 -40
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +12 -39
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +4 -4
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +2 -39
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/{framework-delegate-05579976.js → framework-delegate-55f5683a.js} +1 -1
- package/dist/cjs/{helpers-4be3f90d.js → helpers-afaa9001.js} +0 -11
- package/dist/cjs/{index-6770fc00.js → index-0d762bba.js} +1 -1
- package/dist/cjs/{index-0ff61d0b.js → index-3652c918.js} +1 -1
- package/dist/cjs/{index-ad7a712e.js → index-9509ecad.js} +1 -1
- package/dist/cjs/{index-26bb7e42.js → index-e975c92b.js} +3 -3
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{input-shims-fd997b01.js → input-shims-cd05268a.js} +2 -2
- package/dist/cjs/{input.utils-c15a1814.js → input.utils-ffb2f81b.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +3 -3
- package/dist/cjs/ion-alert.cjs.entry.js +3 -3
- package/dist/cjs/ion-app_8.cjs.entry.js +13 -13
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-back-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +36 -6
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-modal.cjs.entry.js +9 -9
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +1 -1
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +6 -6
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -40
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +5 -5
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +11 -42
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +17 -44
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -7
- package/dist/cjs/ion-toast.cjs.entry.js +5 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-a4f35c55.js → ios.transition-0e664e88.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-cdf904e6.js → md.transition-2e8aef2c.js} +2 -2
- package/dist/cjs/{notch-controller-a0c464d1.js → notch-controller-d69150f5.js} +1 -1
- package/dist/cjs/{overlays-86695cf1.js → overlays-65fdaff6.js} +2 -2
- package/dist/cjs/{status-tap-1a2485c1.js → status-tap-d74f1429.js} +2 -2
- package/dist/cjs/{swipe-back-47a52b83.js → swipe-back-0303a5e4.js} +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +52 -15
- package/dist/collection/components/checkbox/checkbox.js +70 -3
- package/dist/collection/components/checkbox/checkbox.md.css +52 -15
- package/dist/collection/components/input/input.ios.css +2 -3
- package/dist/collection/components/input/input.md.css +2 -7
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +1 -72
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +9 -40
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +11 -38
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.ios.css +2 -3
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/textarea/textarea.md.css +2 -7
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/helpers.js +0 -10
- package/dist/docs.json +73 -49
- package/dist/esm/{framework-delegate-f683816e.js → framework-delegate-63d1a679.js} +1 -1
- package/dist/esm/{helpers-9b49d7d2.js → helpers-da915de8.js} +1 -11
- package/dist/esm/{index-6a5baab0.js → index-2f7fde3d.js} +3 -3
- package/dist/esm/{index-5a0f5fd0.js → index-79b30591.js} +1 -1
- package/dist/esm/{index-7105cd59.js → index-cb21eccb.js} +1 -1
- package/dist/esm/{index-dd0f7395.js → index-efb8ecdf.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{input-shims-dff819a9.js → input-shims-2fd7c6ef.js} +2 -2
- package/dist/esm/{input.utils-2f1029cf.js → input.utils-961c9f17.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +3 -3
- package/dist/esm/ion-alert.entry.js +3 -3
- package/dist/esm/ion-app_8.entry.js +13 -13
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-back-button.entry.js +1 -1
- package/dist/esm/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-card_5.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +36 -6
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu_3.entry.js +10 -10
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +1 -1
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +6 -6
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +5 -40
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +5 -5
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +11 -42
- package/dist/esm/ion-select-modal.entry.js +4 -4
- package/dist/esm/ion-select_3.entry.js +17 -44
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +5 -5
- package/dist/esm/ion-tab_2.entry.js +5 -5
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +7 -7
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-314468a2.js → ios.transition-b1da3753.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-a560e0e2.js → md.transition-571b3859.js} +2 -2
- package/dist/esm/{notch-controller-3dc61260.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm/{overlays-9a81f230.js → overlays-5deab4de.js} +2 -2
- package/dist/esm/{status-tap-d07dbc82.js → status-tap-79eac0ac.js} +2 -2
- package/dist/esm/{swipe-back-23ee7ab1.js → swipe-back-e5394307.js} +1 -1
- package/dist/esm-es5/{framework-delegate-f683816e.js → framework-delegate-63d1a679.js} +1 -1
- package/dist/esm-es5/{helpers-9b49d7d2.js → helpers-da915de8.js} +1 -1
- package/dist/esm-es5/{index-6a5baab0.js → index-2f7fde3d.js} +1 -1
- package/dist/esm-es5/{index-5a0f5fd0.js → index-79b30591.js} +1 -1
- package/dist/esm-es5/{index-7105cd59.js → index-cb21eccb.js} +1 -1
- package/dist/esm-es5/{index-dd0f7395.js → index-efb8ecdf.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-dff819a9.js → input-shims-2fd7c6ef.js} +1 -1
- package/dist/esm-es5/{input.utils-2f1029cf.js → input.utils-961c9f17.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-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-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.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-content.entry.js +1 -1
- package/dist/esm-es5/ion-segment-view.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.js +1 -1
- package/dist/esm-es5/{ios.transition-314468a2.js → ios.transition-b1da3753.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-571b3859.js +4 -0
- package/dist/esm-es5/{notch-controller-3dc61260.js → notch-controller-55b09e11.js} +1 -1
- package/dist/esm-es5/{overlays-9a81f230.js → overlays-5deab4de.js} +1 -1
- package/dist/esm-es5/{status-tap-d07dbc82.js → status-tap-79eac0ac.js} +1 -1
- package/dist/esm-es5/{swipe-back-23ee7ab1.js → swipe-back-e5394307.js} +1 -1
- package/dist/html.html-data.json +8 -8
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-a9e24ae2.system.entry.js → p-01186920.system.entry.js} +1 -1
- package/dist/ionic/{p-dcb3d82e.entry.js → p-0430c2e0.entry.js} +1 -1
- package/dist/ionic/{p-e32557bb.system.entry.js → p-05b74e45.system.entry.js} +1 -1
- package/dist/ionic/{p-bb2a6761.entry.js → p-081a4ce4.entry.js} +1 -1
- package/dist/ionic/p-0af823e1.js +4 -0
- package/dist/ionic/{p-73897169.system.js → p-0eb35a7f.system.js} +1 -1
- package/dist/ionic/p-1132ffee.entry.js +4 -0
- package/dist/ionic/{p-70af0afb.entry.js → p-120fb79a.entry.js} +1 -1
- package/dist/ionic/p-14be4015.entry.js +4 -0
- package/dist/ionic/p-15d18206.entry.js +4 -0
- package/dist/ionic/{p-e8f34871.entry.js → p-15e76dd1.entry.js} +1 -1
- package/dist/ionic/{p-5bc4e7d6.entry.js → p-16188af7.entry.js} +1 -1
- package/dist/ionic/{p-2f43663c.system.entry.js → p-16799667.system.entry.js} +1 -1
- package/dist/ionic/p-16bfb979.system.entry.js +4 -0
- package/dist/ionic/{p-5126cf1e.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/{p-39dd4f62.js → p-1ab13b2b.js} +1 -1
- package/dist/ionic/{p-84d08aae.system.entry.js → p-1e67b266.system.entry.js} +1 -1
- package/dist/ionic/{p-b6480b77.system.entry.js → p-2172893e.system.entry.js} +1 -1
- package/dist/ionic/{p-18e101b7.system.entry.js → p-2346ab53.system.entry.js} +1 -1
- package/dist/ionic/p-248318e0.system.entry.js +4 -0
- package/dist/ionic/{p-9659caca.system.entry.js → p-2507278c.system.entry.js} +1 -1
- package/dist/ionic/{p-4d3a5f86.js → p-28706c6f.js} +1 -1
- package/dist/ionic/{p-c078a25d.system.entry.js → p-2abae1cc.system.entry.js} +1 -1
- package/dist/ionic/{p-ffeacdf4.system.entry.js → p-2b838f86.system.entry.js} +1 -1
- package/dist/ionic/{p-83f37f5a.entry.js → p-2da9c8a7.entry.js} +1 -1
- package/dist/ionic/{p-d5356f93.system.entry.js → p-2e46590d.system.entry.js} +1 -1
- package/dist/ionic/p-302b50bb.system.entry.js +4 -0
- package/dist/ionic/p-322c5fb4.system.js +1 -1
- package/dist/ionic/{p-2bc73fb5.js → p-34b11c24.js} +1 -1
- package/dist/ionic/{p-b3680e2f.system.js → p-3ad285e3.system.js} +1 -1
- package/dist/ionic/{p-d4ca0475.js → p-3cc276f4.js} +1 -1
- package/dist/ionic/{p-468b7fe5.system.entry.js → p-424eb140.system.entry.js} +1 -1
- package/dist/ionic/p-49a0e74c.entry.js +4 -0
- package/dist/ionic/p-4c2d5b80.system.js +4 -0
- package/dist/ionic/{p-c3802319.system.js → p-4c98e2cf.system.js} +1 -1
- package/dist/ionic/p-4ec778aa.entry.js +4 -0
- package/dist/ionic/{p-4ad78edc.entry.js → p-52d7a191.entry.js} +1 -1
- package/dist/ionic/{p-c905c1b6.system.entry.js → p-567de071.system.entry.js} +1 -1
- package/dist/ionic/{p-4a585ae0.entry.js → p-577bc414.entry.js} +1 -1
- package/dist/ionic/{p-303c49af.system.entry.js → p-585b455c.system.entry.js} +1 -1
- package/dist/ionic/{p-da8ef548.system.entry.js → p-58d5df0c.system.entry.js} +1 -1
- package/dist/ionic/{p-571f7efd.entry.js → p-5b932840.entry.js} +1 -1
- package/dist/ionic/{p-acb30a5c.system.js → p-5c08627a.system.js} +1 -1
- package/dist/ionic/p-5c9eb9af.entry.js +4 -0
- package/dist/ionic/{p-4312277a.entry.js → p-61db139d.entry.js} +1 -1
- package/dist/ionic/{p-f200c0f2.entry.js → p-62af944c.entry.js} +1 -1
- package/dist/ionic/{p-f89cf011.system.entry.js → p-63b0abde.system.entry.js} +1 -1
- package/dist/ionic/{p-6085ef7a.system.entry.js → p-6933c482.system.entry.js} +1 -1
- package/dist/ionic/{p-48d2c8e3.entry.js → p-6d32975a.entry.js} +1 -1
- package/dist/ionic/p-6d6cedc5.entry.js +4 -0
- package/dist/ionic/{p-a4b99077.system.entry.js → p-6dfb0f39.system.entry.js} +1 -1
- package/dist/ionic/{p-7a1766d6.js → p-72812e99.js} +1 -1
- package/dist/ionic/p-72bc8a1c.js +4 -0
- package/dist/ionic/{p-d12c8b7c.entry.js → p-73dc4950.entry.js} +1 -1
- package/dist/ionic/{p-a4681756.system.entry.js → p-744c8672.system.entry.js} +1 -1
- package/dist/ionic/{p-65493214.system.entry.js → p-7458862e.system.entry.js} +1 -1
- package/dist/ionic/{p-9d533d0f.system.entry.js → p-74e3f0af.system.entry.js} +2 -2
- package/dist/ionic/{p-22149a4f.js → p-7513b0c4.js} +1 -1
- package/dist/ionic/{p-e8c718c9.system.entry.js → p-797eeea8.system.entry.js} +1 -1
- package/dist/ionic/{p-0f427d00.entry.js → p-7a02f476.entry.js} +1 -1
- package/dist/ionic/{p-d7bb5325.entry.js → p-7a6eaf9e.entry.js} +1 -1
- package/dist/ionic/{p-fca17935.entry.js → p-7b9a2b23.entry.js} +1 -1
- package/dist/ionic/{p-53bca196.system.entry.js → p-7ddc46c3.system.entry.js} +2 -2
- package/dist/ionic/{p-860eb968.system.js → p-7de1e42c.system.js} +1 -1
- package/dist/ionic/{p-0eb2553a.system.entry.js → p-7ed1657c.system.entry.js} +1 -1
- package/dist/ionic/{p-95da3ae2.system.js → p-8635f5e6.system.js} +1 -1
- package/dist/ionic/p-8694928f.entry.js +4 -0
- package/dist/ionic/{p-608fb244.entry.js → p-92763d3d.entry.js} +1 -1
- package/dist/ionic/{p-484d855b.system.entry.js → p-933727f9.system.entry.js} +2 -2
- package/dist/ionic/p-9343a445.js +4 -0
- package/dist/ionic/{p-c41bfec3.entry.js → p-937a7e21.entry.js} +1 -1
- package/dist/ionic/{p-bc616455.entry.js → p-948e6c6a.entry.js} +1 -1
- package/dist/ionic/{p-7d6d8f1f.entry.js → p-95775830.entry.js} +1 -1
- package/dist/ionic/{p-850cf316.system.entry.js → p-98231c01.system.entry.js} +1 -1
- package/dist/ionic/{p-dc146a2a.system.entry.js → p-985a7e17.system.entry.js} +1 -1
- package/dist/ionic/{p-c68aa784.entry.js → p-98ff6b32.entry.js} +1 -1
- package/dist/ionic/{p-55a56913.system.entry.js → p-9b122e3c.system.entry.js} +1 -1
- package/dist/ionic/{p-913c767b.entry.js → p-9b428d25.entry.js} +1 -1
- package/dist/ionic/{p-ad64ea6c.entry.js → p-9df2c6fb.entry.js} +1 -1
- package/dist/ionic/{p-fd6967d6.system.entry.js → p-9f364443.system.entry.js} +1 -1
- package/dist/ionic/{p-d821466d.system.entry.js → p-a090bce8.system.entry.js} +1 -1
- package/dist/ionic/{p-3bcd8164.system.entry.js → p-a0eb506c.system.entry.js} +1 -1
- package/dist/ionic/{p-4452a8ac.system.js → p-a15ddedb.system.js} +1 -1
- package/dist/ionic/{p-5c9324c6.js → p-a3db8ee3.js} +1 -1
- package/dist/ionic/{p-655723eb.system.entry.js → p-a4a2420e.system.entry.js} +1 -1
- package/dist/ionic/{p-578efda4.system.js → p-a88dec0d.system.js} +1 -1
- package/dist/ionic/{p-155f4d90.entry.js → p-a8f2c254.entry.js} +1 -1
- package/dist/ionic/{p-29a385ad.system.entry.js → p-ab674093.system.entry.js} +2 -2
- package/dist/ionic/{p-d99e8644.system.js → p-ada36597.system.js} +1 -1
- package/dist/ionic/{p-442e3021.entry.js → p-afecb188.entry.js} +1 -1
- package/dist/ionic/{p-36c448fe.entry.js → p-b1eb86fd.entry.js} +1 -1
- package/dist/ionic/{p-058e61eb.system.js → p-b3c60433.system.js} +1 -1
- package/dist/ionic/{p-bb11d9fb.js → p-b51e4004.js} +1 -1
- package/dist/ionic/{p-990630ca.js → p-b6efeab8.js} +1 -1
- package/dist/ionic/{p-9b3bb24e.entry.js → p-b9d7015f.entry.js} +1 -1
- package/dist/ionic/{p-3fb3f2eb.entry.js → p-bb0db172.entry.js} +1 -1
- package/dist/ionic/{p-e2276d6e.system.entry.js → p-bdf2cb2e.system.entry.js} +1 -1
- package/dist/ionic/{p-c8d645b3.entry.js → p-c41ac815.entry.js} +1 -1
- package/dist/ionic/{p-8e407469.system.js → p-c4238c12.system.js} +1 -1
- package/dist/ionic/p-c4b53b16.system.entry.js +4 -0
- package/dist/ionic/{p-dd0c9350.system.entry.js → p-cac0e0b3.system.entry.js} +1 -1
- package/dist/ionic/p-cb13696c.js +4 -0
- package/dist/ionic/{p-04db4253.system.entry.js → p-cba1f9bc.system.entry.js} +1 -1
- package/dist/ionic/p-cdc83025.entry.js +4 -0
- package/dist/ionic/p-d1c5b60e.system.js +4 -0
- package/dist/ionic/{p-af452fa4.system.js → p-d22e2a38.system.js} +1 -1
- package/dist/ionic/{p-1ce80097.system.entry.js → p-d6eaffb1.system.entry.js} +1 -1
- package/dist/ionic/{p-955c3eb8.entry.js → p-d7aa6b00.entry.js} +1 -1
- package/dist/ionic/p-d7dd8fb1.entry.js +4 -0
- package/dist/ionic/{p-50f5686a.entry.js → p-de930745.entry.js} +1 -1
- package/dist/ionic/{p-ff99d51d.entry.js → p-e06057c9.entry.js} +1 -1
- package/dist/ionic/{p-af744710.system.entry.js → p-e09d6392.system.entry.js} +1 -1
- package/dist/ionic/{p-02b44bd5.entry.js → p-e3171ff3.entry.js} +1 -1
- package/dist/ionic/{p-50446cd6.system.entry.js → p-e4ee80be.system.entry.js} +1 -1
- package/dist/ionic/p-e4fde4fb.system.entry.js +4 -0
- package/dist/ionic/{p-03a356dc.system.entry.js → p-e6376b93.system.entry.js} +1 -1
- package/dist/ionic/{p-f5d6624d.entry.js → p-e76dae93.entry.js} +1 -1
- package/dist/ionic/{p-d8a385f2.system.entry.js → p-ed75fcfb.system.entry.js} +1 -1
- package/dist/ionic/{p-c41319f5.entry.js → p-eef505e8.entry.js} +1 -1
- package/dist/ionic/{p-c06eeace.entry.js → p-f1060cd8.entry.js} +1 -1
- package/dist/ionic/{p-240be0f1.system.entry.js → p-f1120724.system.entry.js} +1 -1
- package/dist/ionic/{p-c935cfc9.js → p-f1c4dcd4.js} +1 -1
- package/dist/ionic/{p-666c9334.entry.js → p-f63c2d12.entry.js} +1 -1
- package/dist/ionic/{p-31080bfd.system.entry.js → p-fbd41a7e.system.entry.js} +1 -1
- package/dist/ionic/{p-ed059cb7.system.entry.js → p-fca6ef5f.system.entry.js} +1 -1
- package/dist/ionic/{p-7417fa0d.entry.js → p-fceec762.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +19 -0
- package/dist/types/components/radio-group/radio-group.d.ts +0 -15
- package/dist/types/components/segment-button/segment-button.d.ts +1 -2
- package/dist/types/components.d.ts +16 -16
- package/dist/types/utils/helpers.d.ts +0 -1
- package/hydrate/index.js +154 -224
- package/hydrate/index.mjs +154 -224
- package/package.json +2 -2
- package/dist/collection/components/radio-group/radio-group.ios.css +0 -205
- package/dist/collection/components/radio-group/radio-group.md.css +0 -205
- package/dist/esm-es5/md.transition-a560e0e2.js +0 -4
- package/dist/ionic/p-00cb90b3.system.entry.js +0 -4
- package/dist/ionic/p-116f21ad.entry.js +0 -4
- package/dist/ionic/p-1f405274.js +0 -4
- package/dist/ionic/p-21227121.js +0 -4
- package/dist/ionic/p-2c9eb774.system.js +0 -4
- package/dist/ionic/p-346b2baf.js +0 -4
- package/dist/ionic/p-3b9baafd.system.entry.js +0 -4
- package/dist/ionic/p-478523e8.entry.js +0 -4
- package/dist/ionic/p-52245809.js +0 -4
- package/dist/ionic/p-712fedc9.entry.js +0 -4
- package/dist/ionic/p-8d76f65b.entry.js +0 -4
- package/dist/ionic/p-98d22c76.entry.js +0 -4
- package/dist/ionic/p-9a100adc.entry.js +0 -4
- package/dist/ionic/p-9fb84718.entry.js +0 -4
- package/dist/ionic/p-a1eec999.entry.js +0 -4
- package/dist/ionic/p-acc8399c.system.entry.js +0 -4
- package/dist/ionic/p-b936eb7e.system.entry.js +0 -4
- package/dist/ionic/p-c5d5571d.system.entry.js +0 -4
- package/dist/ionic/p-c71ccf01.entry.js +0 -4
- package/dist/ionic/p-efe06d98.entry.js +0 -4
- package/dist/ionic/p-fbf86e62.system.js +0 -4
|
@@ -378,8 +378,8 @@ export class Searchbar {
|
|
|
378
378
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
379
379
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
380
380
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
381
|
-
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '
|
|
382
|
-
return (h(Host, { key: '
|
|
381
|
+
const cancelButton = this.showCancelButton !== 'never' && (h("button", { key: '0ef595eb1628928d4c7fdb166b8e41768700fa6e', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, h("div", { key: 'ea2c9b36d991acf5af7662059cb6b045f683ca94', "aria-hidden": "true" }, mode === 'md' ? (h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
382
|
+
return (h(Host, { key: '17d57ece5852d03047e4d53ddad6c9d88a432a00', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses(this.color, {
|
|
383
383
|
[mode]: true,
|
|
384
384
|
'searchbar-animated': animated,
|
|
385
385
|
'searchbar-disabled': this.disabled,
|
|
@@ -389,14 +389,14 @@ export class Searchbar {
|
|
|
389
389
|
'searchbar-has-focus': this.focused,
|
|
390
390
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
391
391
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
392
|
-
}) }, h("div", { key: '
|
|
392
|
+
}) }, h("div", { key: 'f67c2124e70c24eef0a271516e9c4bdaf7e98ceb', class: "searchbar-input-container" }, h("input", Object.assign({ key: '8c7f7ccc6809cca30ccc8c4e98e349d3f916321d', "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)), mode === 'md' && cancelButton, h("ion-icon", { key: 'f06524d3163b3883bbde937862aa1e0e8f49f6e1', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), h("button", { key: '9f7ba2bec93412ecb674b197be13db1de308bb57', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
393
393
|
/**
|
|
394
394
|
* This prevents mobile browsers from
|
|
395
395
|
* blurring the input when the clear
|
|
396
396
|
* button is activated.
|
|
397
397
|
*/
|
|
398
398
|
ev.preventDefault();
|
|
399
|
-
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '
|
|
399
|
+
}, onClick: () => this.onClearInput(true) }, h("ion-icon", { key: '19fc3dbc722acc47ff7eb3c94ad4de8aed38dff4', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
400
400
|
}
|
|
401
401
|
static get is() { return "ion-searchbar"; }
|
|
402
402
|
static get encapsulation() { return "scoped"; }
|
|
@@ -530,14 +530,14 @@ export class Segment {
|
|
|
530
530
|
}
|
|
531
531
|
render() {
|
|
532
532
|
const mode = getIonMode(this);
|
|
533
|
-
return (h(Host, { key: '
|
|
533
|
+
return (h(Host, { key: 'b1eb4a6e4f953f6c4882395585799503735bbc6b', role: "tablist", onClick: this.onClick, class: createColorClasses(this.color, {
|
|
534
534
|
[mode]: true,
|
|
535
535
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
536
536
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
537
537
|
'segment-activated': this.activated,
|
|
538
538
|
'segment-disabled': this.disabled,
|
|
539
539
|
'segment-scrollable': this.scrollable,
|
|
540
|
-
}) }, h("slot", { key: '
|
|
540
|
+
}) }, h("slot", { key: 'e7df6b017d154f30eb8021bc965f2e6c8e6480bf', onSlotchange: this.onSlottedItemsChange })));
|
|
541
541
|
}
|
|
542
542
|
static get is() { return "ion-segment"; }
|
|
543
543
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
5
|
-
import { addEventListener, removeEventListener, inheritAttributes
|
|
5
|
+
import { addEventListener, removeEventListener, inheritAttributes } from "../../utils/helpers";
|
|
6
6
|
import { hostContext } from "../../utils/theme";
|
|
7
7
|
import { getIonMode } from "../../global/ionic-global";
|
|
8
8
|
let ids = 0;
|
|
@@ -39,35 +39,7 @@ export class SegmentButton {
|
|
|
39
39
|
valueChanged() {
|
|
40
40
|
this.updateState();
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
return new Promise((resolve, reject) => {
|
|
44
|
-
let timeoutId = undefined;
|
|
45
|
-
let animationFrameId;
|
|
46
|
-
const check = () => {
|
|
47
|
-
if (!ionSegment) {
|
|
48
|
-
reject(new Error(`Segment not found when looking for Segment Content`));
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
const segmentView = getNextSiblingOfType(ionSegment); // Skip the text nodes
|
|
52
|
-
const segmentContent = segmentView === null || segmentView === void 0 ? void 0 : segmentView.querySelector(`ion-segment-content[id="${contentId}"]`);
|
|
53
|
-
if (segmentContent && timeoutId) {
|
|
54
|
-
clearTimeout(timeoutId); // Clear the timeout if the segmentContent is found
|
|
55
|
-
cancelAnimationFrame(animationFrameId);
|
|
56
|
-
resolve(segmentContent);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
animationFrameId = requestAnimationFrame(check); // Keep checking on the next animation frame
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
check();
|
|
63
|
-
// Set a timeout to reject the promise
|
|
64
|
-
timeoutId = setTimeout(() => {
|
|
65
|
-
cancelAnimationFrame(animationFrameId);
|
|
66
|
-
reject(new Error(`Unable to find Segment Content with id="${contentId} within 1000 ms`));
|
|
67
|
-
}, 1000);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
async connectedCallback() {
|
|
42
|
+
connectedCallback() {
|
|
71
43
|
const segmentEl = (this.segmentEl = this.el.closest('ion-segment'));
|
|
72
44
|
if (segmentEl) {
|
|
73
45
|
this.updateState();
|
|
@@ -77,14 +49,11 @@ export class SegmentButton {
|
|
|
77
49
|
// Return if there is no contentId defined
|
|
78
50
|
if (!this.contentId)
|
|
79
51
|
return;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
catch (error) {
|
|
86
|
-
// If no associated Segment Content exists, log an error and return
|
|
87
|
-
console.error('Segment Button: ', error.message);
|
|
52
|
+
// Attempt to find the Segment Content by its contentId
|
|
53
|
+
const segmentContent = document.getElementById(this.contentId);
|
|
54
|
+
// If no associated Segment Content exists, log an error and return
|
|
55
|
+
if (!segmentContent) {
|
|
56
|
+
console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`);
|
|
88
57
|
return;
|
|
89
58
|
}
|
|
90
59
|
// Ensure the found element is a valid ION-SEGMENT-CONTENT
|
|
@@ -130,7 +99,7 @@ export class SegmentButton {
|
|
|
130
99
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
131
100
|
const mode = getIonMode(this);
|
|
132
101
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
133
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'd50a5d5e2f6206e8523598f258d8217d2903f69b', class: {
|
|
134
103
|
[mode]: true,
|
|
135
104
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
136
105
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -146,7 +115,7 @@ export class SegmentButton {
|
|
|
146
115
|
'ion-activatable': true,
|
|
147
116
|
'ion-activatable-instant': true,
|
|
148
117
|
'ion-focusable': true,
|
|
149
|
-
} }, h("button", Object.assign({ key: '
|
|
118
|
+
} }, h("button", Object.assign({ key: 'b4f6f145286ba8ab79669e11035b906daa85ae7e', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), h("span", { key: '67965996c9ffe70553875e00d3da0ae5b2b1d814', class: "button-inner" }, h("slot", { key: '5087988fe45a8fdf388ec44c395d0b745b207806' })), mode === 'md' && h("ion-ripple-effect", { key: 'b24858de0750bbc769b3183fac0077dfe817ba27' })), h("div", { key: '97b4359432acd1c9da0816360cd1df9472e183f7', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: '0561738ea15b0986f4ed3d8276d5e6f2d13f7e51', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
150
119
|
}
|
|
151
120
|
static get is() { return "ion-segment-button"; }
|
|
152
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
5
|
export class SegmentContent {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '03684b2999ac64fe13e376fd7e7f279976e9d4f2' }, h("slot", { key: '143031075bf33ca19e7cfd76fc8a67b83ccaf11c' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ion-segment-content"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,10 +94,10 @@ export class SegmentView {
|
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
96
|
const { disabled, isManualScroll } = this;
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '9f4f11d31c4db776f077e59ae895b35dd4454717', class: {
|
|
98
98
|
'segment-view-disabled': disabled,
|
|
99
99
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
100
|
-
} }, h("slot", { key: '
|
|
100
|
+
} }, h("slot", { key: 'ea58b21f031cee2ab2b70580f336deaefa364538' })));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "ion-segment-view"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,8 +154,15 @@ export class Select {
|
|
|
154
154
|
}
|
|
155
155
|
this.isExpanded = true;
|
|
156
156
|
const overlay = (this.overlay = await this.createOverlay(event));
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
overlay.onDidDismiss().then(() => {
|
|
158
|
+
this.overlay = undefined;
|
|
159
|
+
this.isExpanded = false;
|
|
160
|
+
this.ionDismiss.emit();
|
|
161
|
+
this.setFocus();
|
|
162
|
+
});
|
|
163
|
+
await overlay.present();
|
|
164
|
+
// focus selected option for popovers and modals
|
|
165
|
+
if (this.interface === 'popover' || this.interface === 'modal') {
|
|
159
166
|
const indexOfSelected = this.childOpts.findIndex((o) => o.value === this.value);
|
|
160
167
|
if (indexOfSelected > -1) {
|
|
161
168
|
const selectedItem = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
|
|
@@ -173,7 +180,6 @@ export class Select {
|
|
|
173
180
|
*/
|
|
174
181
|
const interactiveEl = selectedItem.querySelector('ion-radio, ion-checkbox');
|
|
175
182
|
if (interactiveEl) {
|
|
176
|
-
selectedItem.scrollIntoView({ block: 'nearest' });
|
|
177
183
|
// Needs to be called before `focusVisibleElement` to prevent issue with focus event bubbling
|
|
178
184
|
// and removing `ion-focused` style
|
|
179
185
|
interactiveEl.setFocus();
|
|
@@ -197,40 +203,7 @@ export class Select {
|
|
|
197
203
|
focusVisibleElement(firstEnabledOption.closest('ion-item'));
|
|
198
204
|
}
|
|
199
205
|
}
|
|
200
|
-
};
|
|
201
|
-
// For modals and popovers, we can scroll before they're visible
|
|
202
|
-
if (this.interface === 'modal') {
|
|
203
|
-
overlay.addEventListener('ionModalWillPresent', scrollSelectedIntoView, { once: true });
|
|
204
|
-
}
|
|
205
|
-
else if (this.interface === 'popover') {
|
|
206
|
-
overlay.addEventListener('ionPopoverWillPresent', scrollSelectedIntoView, { once: true });
|
|
207
206
|
}
|
|
208
|
-
else {
|
|
209
|
-
/**
|
|
210
|
-
* For alerts and action sheets, we need to wait a frame after willPresent
|
|
211
|
-
* because these overlays don't have their content in the DOM immediately
|
|
212
|
-
* when willPresent fires. By waiting a frame, we ensure the content is
|
|
213
|
-
* rendered and can be properly scrolled into view.
|
|
214
|
-
*/
|
|
215
|
-
const scrollAfterRender = () => {
|
|
216
|
-
requestAnimationFrame(() => {
|
|
217
|
-
scrollSelectedIntoView();
|
|
218
|
-
});
|
|
219
|
-
};
|
|
220
|
-
if (this.interface === 'alert') {
|
|
221
|
-
overlay.addEventListener('ionAlertWillPresent', scrollAfterRender, { once: true });
|
|
222
|
-
}
|
|
223
|
-
else if (this.interface === 'action-sheet') {
|
|
224
|
-
overlay.addEventListener('ionActionSheetWillPresent', scrollAfterRender, { once: true });
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
overlay.onDidDismiss().then(() => {
|
|
228
|
-
this.overlay = undefined;
|
|
229
|
-
this.isExpanded = false;
|
|
230
|
-
this.ionDismiss.emit();
|
|
231
|
-
this.setFocus();
|
|
232
|
-
});
|
|
233
|
-
await overlay.present();
|
|
234
207
|
return overlay;
|
|
235
208
|
}
|
|
236
209
|
createOverlay(ev) {
|
|
@@ -688,7 +661,7 @@ export class Select {
|
|
|
688
661
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
689
662
|
*/
|
|
690
663
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
691
|
-
return (h(Host, { key: '
|
|
664
|
+
return (h(Host, { key: '491cf1b0e3aa31e7c9cfad3e87d83eb54272312a', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
692
665
|
[mode]: true,
|
|
693
666
|
'in-item': inItem,
|
|
694
667
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -704,7 +677,7 @@ export class Select {
|
|
|
704
677
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
705
678
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
706
679
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
707
|
-
}) }, h("label", { key: '
|
|
680
|
+
}) }, h("label", { key: '07bf3cb57bd1121383d8c746e3ac49da38300082', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '884facd18342797576bbacc761d18d83c52762e3', class: "select-wrapper-inner" }, h("slot", { key: 'c4f2a2a7a76f52db15f9a0b806017caea443c47a', name: "start" }), h("div", { key: '235cf383f268cc74412722cd31e246cbd4c2abe5', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1481302e11c494d49dfd80a7aaf743f7e851558f', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: '8a45ea9280651695c8e5435f266c286f3e3f6a18', class: "select-highlight" }))));
|
|
708
681
|
}
|
|
709
682
|
static get is() { return "ion-select"; }
|
|
710
683
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,7 +77,7 @@ export class SelectModal {
|
|
|
77
77
|
} }, option.text))));
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '4df42c447b4026d09d9231f09dc4bdae9a8cfe4a', class: getIonMode(this) }, h("ion-header", { key: '211c4e869b858867f3d60637e570aeb01de41de7' }, h("ion-toolbar", { key: 'dc4b151331aecbaaaafb460802ee9b689493601d' }, this.header !== undefined && h("ion-title", { key: 'ba1347a59ae0a5c6770c239b5ec02a536a445bd1' }, this.header), h("ion-buttons", { key: '43c98fd25d7e7f54b94b24e53535c6d5ba599892', slot: "end" }, h("ion-button", { key: '51b2b3f3eed42637b2cfc213c95d0bcf10e4b89d', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: 'fe721b09f80555856211f7e40dbfc31a533acae1' }, h("ion-list", { key: 'd0b932d137136958d896408fb2fa571023775b92' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "ion-select-modal"; }
|
|
83
83
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SelectOption {
|
|
|
10
10
|
this.value = undefined;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return h(Host, { key: '
|
|
13
|
+
return h(Host, { key: '2e6fa159464f04f6d8720f960141f67918bc7534', role: "option", id: this.inputId, class: getIonMode(this) });
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "ion-select-option"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,7 +102,7 @@ export class SelectPopover {
|
|
|
102
102
|
render() {
|
|
103
103
|
const { header, message, options, subHeader } = this;
|
|
104
104
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'dd0990db4de4f175b176b27f35501dd1604ca400', class: getIonMode(this) }, h("ion-list", { key: 'cea2bc3687b8b2490a2a9ff4a1e16cd34169558e' }, header !== undefined && h("ion-list-header", { key: '194aebb53453c43f913daae45a1a3066a1708c4c' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: 'b706b07a3c63ad8104d2db413e210c735ec1bec9' }, h("ion-label", { key: '6e52b5b4cf6b04ff3dd5671d64264233de4190d5', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '6ef4440d17f5db8c96c63b9aa5073f4fe4b8ad62' }, subHeader), message !== undefined && h("p", { key: 'c7b3b76c30ecd606c0e985a0258c13d3a75756e7' }, message)))), this.renderOptions(options))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "ion-select-popover"; }
|
|
108
108
|
static get encapsulation() { return "scoped"; }
|
|
@@ -25,11 +25,11 @@ export class SkeletonText {
|
|
|
25
25
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
26
26
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
27
27
|
const mode = getIonMode(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'fdfabf9364caf507450239b62be24f08873bd650', class: {
|
|
29
29
|
[mode]: true,
|
|
30
30
|
'skeleton-text-animated': animated,
|
|
31
31
|
'in-media': inMedia,
|
|
32
|
-
} }, h("span", { key: '
|
|
32
|
+
} }, h("span", { key: '3482c88dcc177547185ce87972afa064a542367d' }, "\u00A0")));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-skeleton-text"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class Spinner {
|
|
|
39
39
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '9d30ee9f5aa0dd0e220da07e75d05b8b2435224d', class: createColorClasses(self.color, {
|
|
43
43
|
[mode]: true,
|
|
44
44
|
[`spinner-${spinnerName}`]: true,
|
|
45
45
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -118,12 +118,12 @@ export class SplitPane {
|
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
120
|
const mode = getIonMode(this);
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: '1ca0b0299d03605bb358112ca56cbafbe58f00f5', class: {
|
|
122
122
|
[mode]: true,
|
|
123
123
|
// Used internally for styling
|
|
124
124
|
[`split-pane-${mode}`]: true,
|
|
125
125
|
'split-pane-visible': this.visible,
|
|
126
|
-
} }, h("slot", { key: '
|
|
126
|
+
} }, h("slot", { key: 'abe231361727ae7fc63edd592a4490caac1909fb' })));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "ion-split-pane"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,10 +48,10 @@ export class Tab {
|
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
const { tab, active, component } = this;
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'cb75d0877979b3b8df8f7e1952bfa9677da1eaa5', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
52
52
|
'ion-page': component === undefined,
|
|
53
53
|
'tab-hidden': !active,
|
|
54
|
-
} }, h("slot", { key: '
|
|
54
|
+
} }, h("slot", { key: '37fbb7b7a6b03eb93b1dacd2dc1025b78eb2aa6b' })));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "ion-tab"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,11 +51,11 @@ export class TabBar {
|
|
|
51
51
|
const { color, translucent, keyboardVisible } = this;
|
|
52
52
|
const mode = getIonMode(this);
|
|
53
53
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'a87fd2ea5df053705a37ea7ffec043e75c4a9907', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses(color, {
|
|
55
55
|
[mode]: true,
|
|
56
56
|
'tab-bar-translucent': translucent,
|
|
57
57
|
'tab-bar-hidden': shouldHide,
|
|
58
|
-
}) }, h("slot", { key: '
|
|
58
|
+
}) }, h("slot", { key: '81a6223299b6cab29d7ddced590e9152e2b3ded0' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "ion-tab-bar"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +70,7 @@ export class TabButton {
|
|
|
70
70
|
rel,
|
|
71
71
|
target,
|
|
72
72
|
};
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '5976c45943ea7ea8e7c1a85fc9996de421439f08', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
74
74
|
[mode]: true,
|
|
75
75
|
'tab-selected': selected,
|
|
76
76
|
'tab-disabled': disabled,
|
|
@@ -82,7 +82,7 @@ export class TabButton {
|
|
|
82
82
|
'ion-activatable': true,
|
|
83
83
|
'ion-selectable': true,
|
|
84
84
|
'ion-focusable': true,
|
|
85
|
-
} }, h("a", Object.assign({ key: '
|
|
85
|
+
} }, h("a", Object.assign({ key: '1db09d861b67ff292018fb4b0dc7b85bd4677eb8' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), h("span", { key: '4381eafcb27e8c7bb0d86d4f115ceb0caf03b9b4', class: "button-inner" }, h("slot", { key: '1981135f6fbb88376c1bd923c55c70fe8b5c5159' })), mode === 'md' && h("ion-ripple-effect", { key: '0509bc7155d055d1ed710600e9cf4df135881491', type: "unbounded" }))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "ion-tab-button"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,7 +145,7 @@ export class Tabs {
|
|
|
145
145
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: 'e01ccf6bfaccad094515be50e407399c733fc226', onIonTabButtonClick: this.onTabClicked }, h("slot", { key: '38d2d01dbfd8a08f01e6f0e27274b21d75424e37', name: "top" }), h("div", { key: '7e894f0f423e2d43e1c68daff5f9f6c442fad237', class: "tabs-inner" }, h("slot", { key: 'df16be529a0370a26d0adf850530b31607507c23' })), h("slot", { key: '44642e1cb24c3281c43db75fd69a32fe0defe40a', name: "bottom" })));
|
|
149
149
|
}
|
|
150
150
|
static get is() { return "ion-tabs"; }
|
|
151
151
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,9 +13,9 @@ export class Text {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const mode = getIonMode(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'e134d70c04344b708a2ecf6253722781ad2ca826', class: createColorClasses(this.color, {
|
|
17
17
|
[mode]: true,
|
|
18
|
-
}) }, h("slot", { key: '
|
|
18
|
+
}) }, h("slot", { key: 'da79c760f7ebbcd007ce110439f05a62cb22eac8' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-text"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -373,7 +373,6 @@
|
|
|
373
373
|
justify-content: space-between;
|
|
374
374
|
border-top: var(--border-width) var(--border-style) var(--border-color);
|
|
375
375
|
font-size: 0.75rem;
|
|
376
|
-
white-space: normal;
|
|
377
376
|
}
|
|
378
377
|
|
|
379
378
|
/**
|
|
@@ -397,7 +396,7 @@
|
|
|
397
396
|
|
|
398
397
|
.textarea-bottom .helper-text {
|
|
399
398
|
display: block;
|
|
400
|
-
color: var(--ion-color-step-
|
|
399
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
401
400
|
}
|
|
402
401
|
|
|
403
402
|
:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {
|
|
@@ -416,7 +415,7 @@
|
|
|
416
415
|
*/
|
|
417
416
|
-webkit-margin-start: auto;
|
|
418
417
|
margin-inline-start: auto;
|
|
419
|
-
color: var(--ion-color-step-
|
|
418
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
420
419
|
white-space: nowrap;
|
|
421
420
|
padding-inline-start: 16px;
|
|
422
421
|
}
|
|
@@ -374,7 +374,7 @@ export class Textarea {
|
|
|
374
374
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
375
375
|
*/
|
|
376
376
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
377
|
-
return (h(Host, { key: '
|
|
377
|
+
return (h(Host, { key: 'd6e25c83d8eab8cb1a5b6ab411c9a13847f69f8d', class: createColorClasses(this.color, {
|
|
378
378
|
[mode]: true,
|
|
379
379
|
'has-value': hasValue,
|
|
380
380
|
'has-focus': hasFocus,
|
|
@@ -383,7 +383,7 @@ export class Textarea {
|
|
|
383
383
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
384
384
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
385
385
|
'textarea-disabled': disabled,
|
|
386
|
-
}) }, h("label", { key: '
|
|
386
|
+
}) }, h("label", { key: 'f840a5be2b776a4b9c18c6da24e0b7d3d4838fee', class: "textarea-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: '979461fc0d4684926d79d75759c63c6867b7622b', class: "textarea-wrapper-inner" }, h("div", { key: '88f0d5d4bac29597cc2588e5b2ed72fb4fbe153d', class: "start-slot-wrapper" }, h("slot", { key: '21dcca0e59c1260e3d0d1e126c1c590de15c4bad', name: "start" })), h("div", { key: '3c48a4bb3d763a389d3429123e7c110064b9b8d4', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, h("textarea", Object.assign({ key: '1550599ad15b3f215c104c014e90711f073ace8b', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId }, this.inheritedAttributes), value)), h("div", { key: '4f01ab4d2994a6de6f49eb9ed2e310d00daf21b2', class: "end-slot-wrapper" }, h("slot", { key: '501e288b6807e039972bb4f0b63906114255518a', name: "end" }))), shouldRenderHighlight && h("div", { key: 'd3008eed34494aa9f8e98a28eac3b465dc4c2bd0', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
387
387
|
}
|
|
388
388
|
static get is() { return "ion-textarea"; }
|
|
389
389
|
static get encapsulation() { return "scoped"; }
|
|
@@ -373,7 +373,6 @@
|
|
|
373
373
|
justify-content: space-between;
|
|
374
374
|
border-top: var(--border-width) var(--border-style) var(--border-color);
|
|
375
375
|
font-size: 0.75rem;
|
|
376
|
-
white-space: normal;
|
|
377
376
|
}
|
|
378
377
|
|
|
379
378
|
/**
|
|
@@ -397,7 +396,7 @@
|
|
|
397
396
|
|
|
398
397
|
.textarea-bottom .helper-text {
|
|
399
398
|
display: block;
|
|
400
|
-
color: var(--ion-color-step-
|
|
399
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
401
400
|
}
|
|
402
401
|
|
|
403
402
|
:host(.ion-touched.ion-invalid) .textarea-bottom .error-text {
|
|
@@ -416,7 +415,7 @@
|
|
|
416
415
|
*/
|
|
417
416
|
-webkit-margin-start: auto;
|
|
418
417
|
margin-inline-start: auto;
|
|
419
|
-
color: var(--ion-color-step-
|
|
418
|
+
color: var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));
|
|
420
419
|
white-space: nowrap;
|
|
421
420
|
padding-inline-start: 16px;
|
|
422
421
|
}
|
|
@@ -929,10 +928,6 @@
|
|
|
929
928
|
--border-color: var(--highlight-color);
|
|
930
929
|
}
|
|
931
930
|
|
|
932
|
-
/**
|
|
933
|
-
* The bottom content should never have
|
|
934
|
-
* a border with the solid style.
|
|
935
|
-
*/
|
|
936
931
|
:host(.textarea-fill-solid) .textarea-bottom {
|
|
937
932
|
border-top: none;
|
|
938
933
|
}
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Thumbnail {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'cfa9aeb1d4fd624a9732c5230d29dd887e4b7771', class: getIonMode(this) }, h("slot", { key: '29bc6e64063cba44e2643228df54394883933918' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-thumbnail"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,11 +27,11 @@ export class ToolbarTitle {
|
|
|
27
27
|
render() {
|
|
28
28
|
const mode = getIonMode(this);
|
|
29
29
|
const size = this.getSize();
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '7293d2ecd6262feb0d8d769effbb208230baed89', class: createColorClasses(this.color, {
|
|
31
31
|
[mode]: true,
|
|
32
32
|
[`title-${size}`]: true,
|
|
33
33
|
'title-rtl': document.dir === 'rtl',
|
|
34
|
-
}) }, h("div", { key: '
|
|
34
|
+
}) }, h("div", { key: '086ec3a361ebdf6506846a8704b457cda3a6f897', class: "toolbar-title" }, h("slot", { key: '59add7eb92b82d6832a8f0894f897c51fdf4f214' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-title"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -391,9 +391,9 @@ export class Toast {
|
|
|
391
391
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
392
392
|
printIonWarning('This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
393
393
|
}
|
|
394
|
-
return (h(Host, Object.assign({ key: '
|
|
394
|
+
return (h(Host, Object.assign({ key: 'c05655ff06af8d0e48c2a85396b07ad942fa81b4', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
395
395
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
396
|
-
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '
|
|
396
|
+
}, class: createColorClasses(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), h("div", { key: '9393ead4de1bf28529661d6f64049d34e18d725c', class: wrapperClass }, h("div", { key: '3e9dd73c17c337849c3f26e8d0f395b3e5ee20a7', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { key: '5d15b18364301ad55e44e9f601014ac33181590b', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: 'f6dd164502637a882c5caf18445d8509b85ad6f9', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
397
397
|
}
|
|
398
398
|
static get is() { return "ion-toast"; }
|
|
399
399
|
static get encapsulation() { return "shadow"; }
|
|
@@ -158,7 +158,7 @@ export class Toggle {
|
|
|
158
158
|
const value = this.getValue();
|
|
159
159
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
160
160
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
161
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: 'ed75573caa6e37011f1453dd7f723fb9bd8a3656', onClick: this.onClick, class: createColorClasses(color, {
|
|
162
162
|
[mode]: true,
|
|
163
163
|
'in-item': hostContext('ion-item', el),
|
|
164
164
|
'toggle-activated': activated,
|
|
@@ -168,10 +168,10 @@ export class Toggle {
|
|
|
168
168
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
169
169
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
170
170
|
[`toggle-${rtl}`]: true,
|
|
171
|
-
}) }, h("label", { key: '
|
|
171
|
+
}) }, h("label", { key: '484860e2a33f4d123904edb96159f0e1972d3add', class: "toggle-wrapper" }, h("input", Object.assign({ key: '360b53080aacfd99a9ff60ffb5219816bd4163ee', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, this.inheritedAttributes)), h("div", { key: 'f7239fa668fe11257239ea30cf0198e4f3274f6b', class: {
|
|
172
172
|
'label-text-wrapper': true,
|
|
173
173
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
174
|
-
}, part: "label" }, h("slot", { key: '
|
|
174
|
+
}, part: "label" }, h("slot", { key: '9495a4a39889822ee68e0d89dc5a2f863d1feb3c' })), h("div", { key: '55f1eb08c4b705e94fbcf02220bbe1d292f06155', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "ion-toggle"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,10 +66,10 @@ export class Toolbar {
|
|
|
66
66
|
this.childrenStyles.forEach((value) => {
|
|
67
67
|
Object.assign(childStyles, value);
|
|
68
68
|
});
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '4fdc9ae82a93237cc28ceb95b0ebd8069b62839d', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
70
70
|
[mode]: true,
|
|
71
71
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
72
|
-
})) }, h("div", { key: '
|
|
72
|
+
})) }, h("div", { key: '443a216362bbbf1c149ed12140d52b0f0ea2d664', class: "toolbar-background", part: "background" }), h("div", { key: '1df87f4027d605e42757a13d4828df45b90a4fdc', class: "toolbar-container", part: "container" }, h("slot", { key: 'f66f34972be8e3f4915b9c6f5808600dbaedb1ea', name: "start" }), h("slot", { key: '14f38b0975e956f404c4eb3ee56f2055c6615276', name: "secondary" }), h("div", { key: '75ba5953a25c7544793484d2b245792cb0a5af75', class: "toolbar-content", part: "content" }, h("slot", { key: '149dfa58ff7106f318fecb4134e7c69edf8bc231' })), h("slot", { key: '807ab9ad21d7f1d9d427a4086460bcb9e5e8c019', name: "primary" }), h("slot", { key: 'bd2f9da95d2fa8e74dc6e0666587ceecbba99d9f', name: "end" }))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "ion-toolbar"; }
|
|
75
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -364,13 +364,3 @@ export const shallowEqualStringMap = (map1, map2) => {
|
|
|
364
364
|
}
|
|
365
365
|
return true;
|
|
366
366
|
};
|
|
367
|
-
export const getNextSiblingOfType = (element) => {
|
|
368
|
-
let sibling = element.nextSibling;
|
|
369
|
-
while (sibling) {
|
|
370
|
-
if (sibling.nodeType === Node.ELEMENT_NODE && sibling !== null) {
|
|
371
|
-
return sibling;
|
|
372
|
-
}
|
|
373
|
-
sibling = sibling.nextSibling;
|
|
374
|
-
}
|
|
375
|
-
return null;
|
|
376
|
-
};
|