@ionic/core 8.4.4-dev.11741648084.118e26ac → 8.4.4-dev.11741872392.110b2b59
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 +6 -40
- package/components/helpers.js +0 -28
- package/components/index6.js +3 -11
- 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 +2 -2
- 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 +6 -50
- 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 +6 -40
- package/components/ionic-global.js +1 -12
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +35 -267
- 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/css/core.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{app-globals-4283fe37.js → app-globals-dd592863.js} +1 -1
- package/dist/cjs/{button-active-3f2f60b4.js → button-active-43e2b419.js} +1 -1
- package/dist/cjs/{data-26456291.js → data-21dc0f81.js} +1 -1
- package/dist/cjs/{framework-delegate-c4f2ba04.js → framework-delegate-11b0ba2f.js} +1 -1
- package/dist/cjs/{hardware-back-button-f2cbbdce.js → hardware-back-button-5a99001f.js} +2 -2
- package/dist/cjs/{helpers-b14a0f09.js → helpers-d0dfbb50.js} +0 -28
- package/dist/cjs/{index-73f75efb.js → index-2e236a04.js} +0 -4
- package/dist/cjs/{index-786364c7.js → index-363fe6b2.js} +1 -1
- package/dist/cjs/{index-6ad4725f.js → index-55a184f7.js} +6 -6
- package/dist/cjs/{index-275c982e.js → index-5915f9b3.js} +3 -11
- package/dist/cjs/{index-608fc5fd.js → index-77e085b4.js} +2 -2
- package/dist/cjs/{index-0d2610b6.js → index-864d95f4.js} +4 -4
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-a2cf9d15.js → input-shims-52924092.js} +3 -5
- package/dist/cjs/{input.utils-18725f61.js → input.utils-e4144534.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +8 -8
- package/dist/cjs/ion-app_8.cjs.entry.js +18 -18
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +9 -40
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +5 -5
- package/dist/cjs/ion-datetime_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +8 -8
- package/dist/cjs/ion-item-option_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-loading.cjs.entry.js +9 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +14 -14
- package/dist/cjs/ion-modal.cjs.entry.js +44 -275
- package/dist/cjs/ion-nav_2.cjs.entry.js +9 -9
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +10 -10
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +7 -42
- package/dist/cjs/ion-range.cjs.entry.js +8 -8
- package/dist/cjs/ion-refresher_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-reorder_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +5 -5
- package/dist/cjs/ion-searchbar.cjs.entry.js +7 -7
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-select-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +16 -57
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +7 -7
- package/dist/cjs/ion-tab_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +10 -10
- package/dist/cjs/ion-toast.cjs.entry.js +9 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +9 -40
- package/dist/cjs/{ionic-global-96da1b2e.js → ionic-global-acb665ad.js} +1 -12
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-e188169d.js → ios.transition-abac30e4.js} +5 -5
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-b66da2a1.js → md.transition-e328f70d.js} +5 -5
- package/dist/cjs/{notch-controller-bd07748b.js → notch-controller-58d2e557.js} +1 -1
- package/dist/cjs/{overlays-b0b07774.js → overlays-2f264f05.js} +5 -5
- package/dist/cjs/{status-tap-3b633cba.js → status-tap-191ccc90.js} +4 -5
- package/dist/cjs/{swipe-back-b70cd52e.js → swipe-back-951be2fd.js} +1 -1
- package/dist/collection/components/checkbox/checkbox.ios.css +15 -52
- package/dist/collection/components/checkbox/checkbox.js +4 -90
- package/dist/collection/components/checkbox/checkbox.md.css +15 -52
- 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/animations/ios.enter.js +4 -50
- package/dist/collection/components/modal/animations/ios.leave.js +2 -24
- package/dist/collection/components/modal/animations/md.enter.js +5 -52
- package/dist/collection/components/modal/animations/md.leave.js +3 -26
- package/dist/collection/components/modal/animations/sheet.js +2 -11
- package/dist/collection/components/modal/gestures/sheet.js +10 -87
- package/dist/collection/components/modal/modal.ios.css +0 -16
- package/dist/collection/components/modal/modal.js +7 -32
- package/dist/collection/components/modal/modal.md.css +0 -6
- 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 +2 -2
- 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.ios.css +0 -59
- package/dist/collection/components/select/select.js +4 -100
- package/dist/collection/components/select/select.md.css +0 -61
- 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.ios.css +15 -52
- package/dist/collection/components/toggle/toggle.js +4 -90
- package/dist/collection/components/toggle/toggle.md.css +15 -52
- package/dist/collection/components/toolbar/toolbar.js +2 -6
- package/dist/collection/global/ionic-global.js +1 -12
- package/dist/collection/utils/helpers.js +0 -28
- package/dist/collection/utils/logging/index.js +3 -10
- package/dist/docs.json +2 -379
- package/dist/esm/{app-globals-c10a1137.js → app-globals-7b6cbf1a.js} +1 -1
- package/dist/esm/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm/{data-bf516e75.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{framework-delegate-42bc40b1.js → framework-delegate-c7d92b77.js} +1 -1
- package/dist/esm/{hardware-back-button-44195e92.js → hardware-back-button-864101a3.js} +2 -2
- package/dist/esm/{helpers-13b816c6.js → helpers-e48b0397.js} +0 -28
- package/dist/esm/{index-28849c61.js → index-527b9e34.js} +1 -4
- package/dist/esm/{index-28c8fd64.js → index-8222b29f.js} +1 -1
- package/dist/esm/{index-ce8d38d0.js → index-9b0d46f4.js} +3 -11
- package/dist/esm/{index-879a2080.js → index-c4a831fd.js} +6 -6
- package/dist/esm/{index-ec2140bf.js → index-d4642b24.js} +2 -2
- package/dist/esm/{index-b4ac4019.js → index-df741ec6.js} +4 -4
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-4c3d7279.js → input-shims-80c5b98e.js} +3 -5
- package/dist/esm/{input.utils-b4805900.js → input.utils-3a4c0a2a.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +4 -4
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +8 -8
- package/dist/esm/ion-app_8.entry.js +18 -18
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +9 -40
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +5 -5
- package/dist/esm/ion-datetime_3.entry.js +12 -12
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +8 -8
- package/dist/esm/ion-item-option_3.entry.js +9 -9
- package/dist/esm/ion-item_8.entry.js +14 -14
- package/dist/esm/ion-loading.entry.js +9 -9
- package/dist/esm/ion-menu_3.entry.js +14 -14
- package/dist/esm/ion-modal.entry.js +44 -275
- package/dist/esm/ion-nav_2.entry.js +9 -9
- package/dist/esm/ion-picker-column-option.entry.js +5 -5
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +10 -10
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +7 -42
- package/dist/esm/ion-range.entry.js +8 -8
- package/dist/esm/ion-refresher_2.entry.js +7 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -7
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +5 -5
- package/dist/esm/ion-searchbar.entry.js +7 -7
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +7 -7
- package/dist/esm/ion-select-modal.entry.js +8 -8
- package/dist/esm/ion-select_3.entry.js +16 -57
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +7 -7
- package/dist/esm/ion-tab_2.entry.js +6 -6
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +10 -10
- package/dist/esm/ion-toast.entry.js +9 -9
- package/dist/esm/ion-toggle.entry.js +9 -40
- package/dist/esm/{ionic-global-bf78a847.js → ionic-global-ca86cf32.js} +1 -12
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-ffee637f.js → ios.transition-a81c9c6b.js} +5 -5
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-3a4f9709.js → md.transition-dbb51edc.js} +5 -5
- package/dist/esm/{notch-controller-bb8f3a48.js → notch-controller-381a5334.js} +1 -1
- package/dist/esm/{overlays-36f5880e.js → overlays-4ff1fca8.js} +5 -5
- package/dist/esm/{status-tap-2ce7841e.js → status-tap-73b183f4.js} +4 -5
- package/dist/esm/{swipe-back-a258b011.js → swipe-back-276cda49.js} +1 -1
- package/dist/esm-es5/app-globals-7b6cbf1a.js +4 -0
- package/dist/esm-es5/{button-active-f6503382.js → button-active-90f1dbc4.js} +1 -1
- package/dist/esm-es5/{data-bf516e75.js → data-ae11fd43.js} +1 -1
- package/dist/esm-es5/{framework-delegate-42bc40b1.js → framework-delegate-c7d92b77.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-44195e92.js → hardware-back-button-864101a3.js} +1 -1
- package/dist/esm-es5/helpers-e48b0397.js +4 -0
- package/dist/esm-es5/index-527b9e34.js +5 -0
- package/dist/esm-es5/{index-28c8fd64.js → index-8222b29f.js} +1 -1
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-879a2080.js → index-c4a831fd.js} +1 -1
- package/dist/esm-es5/{index-ec2140bf.js → index-d4642b24.js} +1 -1
- package/dist/esm-es5/{index-b4ac4019.js → index-df741ec6.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-80c5b98e.js +4 -0
- package/dist/esm-es5/{input.utils-b4805900.js → input.utils-3a4c0a2a.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-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-global-ca86cf32.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-ffee637f.js → ios.transition-a81c9c6b.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-3a4f9709.js → md.transition-dbb51edc.js} +1 -1
- package/dist/esm-es5/{notch-controller-bb8f3a48.js → notch-controller-381a5334.js} +1 -1
- package/dist/esm-es5/{overlays-36f5880e.js → overlays-4ff1fca8.js} +1 -1
- package/dist/esm-es5/status-tap-73b183f4.js +4 -0
- package/dist/esm-es5/{swipe-back-a258b011.js → swipe-back-276cda49.js} +1 -1
- package/dist/html.html-data.json +0 -48
- 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-f6d066b4.system.js → p-00ab8b89.system.js} +2 -2
- package/dist/ionic/{p-05f90810.system.entry.js → p-023e8017.system.entry.js} +1 -1
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-0749768d.entry.js +4 -0
- package/dist/ionic/{p-e56b4e0f.system.entry.js → p-0b860115.system.entry.js} +1 -1
- package/dist/ionic/{p-c3de6cd1.system.entry.js → p-0c9b8240.system.entry.js} +1 -1
- package/dist/ionic/{p-9aaaff17.system.entry.js → p-0eb49e5c.system.entry.js} +1 -1
- package/dist/ionic/{p-4a98a017.system.entry.js → p-1164ff6b.system.entry.js} +1 -1
- package/dist/ionic/{p-aae5907a.system.entry.js → p-11bbdab8.system.entry.js} +1 -1
- package/dist/ionic/{p-21780245.entry.js → p-1332050e.entry.js} +1 -1
- package/dist/ionic/{p-3b872754.entry.js → p-16cd36e4.entry.js} +1 -1
- package/dist/ionic/p-19179876.js +4 -0
- package/dist/ionic/{p-f5f52b6d.system.entry.js → p-1a289aba.system.entry.js} +1 -1
- package/dist/ionic/{p-9c7efe25.system.entry.js → p-1c1d781d.system.entry.js} +1 -1
- package/dist/ionic/{p-5bc47f96.entry.js → p-1cfb788a.entry.js} +1 -1
- package/dist/ionic/p-1d98a7f1.entry.js +4 -0
- package/dist/ionic/{p-cad0b874.system.entry.js → p-1ef02643.system.entry.js} +1 -1
- package/dist/ionic/p-1ffab75e.entry.js +4 -0
- package/dist/ionic/{p-69066a53.js → p-21891ead.js} +1 -1
- package/dist/ionic/{p-7ef62ef9.system.entry.js → p-21d1c1c7.system.entry.js} +2 -2
- package/dist/ionic/{p-e25cd3c7.js → p-22bc235f.js} +1 -1
- package/dist/ionic/{p-8a3509b8.js → p-27da8c2c.js} +1 -1
- package/dist/ionic/p-297d6806.system.js +4 -0
- package/dist/ionic/{p-c55254f0.system.entry.js → p-2ab4a324.system.entry.js} +1 -1
- package/dist/ionic/p-2d4658d4.system.entry.js +4 -0
- package/dist/ionic/{p-72210f2a.system.entry.js → p-2f890012.system.entry.js} +1 -1
- package/dist/ionic/{p-7d1cbf97.system.entry.js → p-31d6b3d0.system.entry.js} +1 -1
- package/dist/ionic/{p-986a98d9.system.entry.js → p-3250466d.system.entry.js} +1 -1
- package/dist/ionic/{p-8eee812a.entry.js → p-32d4ac00.entry.js} +1 -1
- package/dist/ionic/{p-6321783a.system.entry.js → p-34b077b1.system.entry.js} +1 -1
- package/dist/ionic/{p-84fb742d.system.entry.js → p-36079188.system.entry.js} +1 -1
- package/dist/ionic/p-360f5507.entry.js +4 -0
- package/dist/ionic/{p-dde5afee.entry.js → p-3705c194.entry.js} +1 -1
- package/dist/ionic/{p-fe7be7b4.js → p-37e874f1.js} +1 -1
- package/dist/ionic/{p-dbe534f5.entry.js → p-39b5611c.entry.js} +1 -1
- package/dist/ionic/p-3c66a690.entry.js +4 -0
- package/dist/ionic/p-3e0bb0e1.entry.js +4 -0
- package/dist/ionic/{p-f5a536e1.system.js → p-3e86b4fa.system.js} +1 -1
- package/dist/ionic/p-3ef5e7fc.entry.js +4 -0
- package/dist/ionic/{p-9994c82e.system.entry.js → p-3fc787a8.system.entry.js} +1 -1
- package/dist/ionic/{p-f6e7870b.system.js → p-44e168f3.system.js} +1 -1
- package/dist/ionic/p-4979cd1d.entry.js +4 -0
- package/dist/ionic/{p-de4fef3c.system.entry.js → p-49cb79a1.system.entry.js} +1 -1
- package/dist/ionic/{p-f2a72b24.entry.js → p-4cfb0dc8.entry.js} +1 -1
- package/dist/ionic/{p-0f138cf3.entry.js → p-4e1b109b.entry.js} +1 -1
- package/dist/ionic/{p-09e4bf0d.entry.js → p-5175f06a.entry.js} +1 -1
- package/dist/ionic/p-51fc2fac.system.entry.js +4 -0
- package/dist/ionic/{p-bd1c99cb.entry.js → p-53d4d8c7.entry.js} +1 -1
- package/dist/ionic/p-5430a6da.entry.js +4 -0
- package/dist/ionic/p-597ff9af.js +4 -0
- package/dist/ionic/{p-441c2c8c.entry.js → p-5f4ff20a.entry.js} +1 -1
- package/dist/ionic/{p-0434c94c.entry.js → p-611d105b.entry.js} +1 -1
- package/dist/ionic/{p-9d4a8059.entry.js → p-61e794fb.entry.js} +1 -1
- package/dist/ionic/{p-97542341.system.entry.js → p-6386ccd6.system.entry.js} +1 -1
- package/dist/ionic/{p-47026941.system.entry.js → p-6390c6ab.system.entry.js} +1 -1
- package/dist/ionic/p-64279526.js +4 -0
- package/dist/ionic/p-64da0521.system.js +4 -0
- package/dist/ionic/p-66a5d6a8.js +5 -0
- package/dist/ionic/{p-ee70a913.system.entry.js → p-684c6a80.system.entry.js} +1 -1
- package/dist/ionic/p-6aa6839e.entry.js +4 -0
- package/dist/ionic/p-6cb61a35.entry.js +4 -0
- package/dist/ionic/{p-8f89c8e3.entry.js → p-6e24cf82.entry.js} +1 -1
- package/dist/ionic/{p-761c42da.js → p-7737b8fa.js} +1 -1
- package/dist/ionic/{p-86a9a4ca.system.js → p-782ed885.system.js} +1 -1
- package/dist/ionic/{p-eb4ac14d.system.js → p-7cc33a9a.system.js} +1 -1
- package/dist/ionic/{p-166a794f.system.entry.js → p-7d425376.system.entry.js} +1 -1
- package/dist/ionic/{p-478dfa8c.system.entry.js → p-7e3b5638.system.entry.js} +1 -1
- package/dist/ionic/p-7f39653f.entry.js +4 -0
- package/dist/ionic/{p-ec92cc52.system.entry.js → p-811ff2a0.system.entry.js} +2 -2
- package/dist/ionic/{p-bbfa740f.entry.js → p-847fd113.entry.js} +1 -1
- package/dist/ionic/p-85446175.js +4 -0
- package/dist/ionic/{p-82afe775.entry.js → p-85f19de9.entry.js} +1 -1
- package/dist/ionic/{p-1f62c30b.entry.js → p-85f6070f.entry.js} +1 -1
- package/dist/ionic/p-89204f3f.system.js +4 -0
- package/dist/ionic/{p-fa5a45cd.system.entry.js → p-8b378b48.system.entry.js} +1 -1
- package/dist/ionic/{p-6703c724.system.entry.js → p-8cfaf64f.system.entry.js} +1 -1
- package/dist/ionic/p-8d611ccd.entry.js +4 -0
- package/dist/ionic/p-8db97fa1.js +4 -0
- package/dist/ionic/{p-187396b1.system.js → p-8dbe745b.system.js} +1 -1
- package/dist/ionic/{p-0eab6979.entry.js → p-9023f5eb.entry.js} +1 -1
- package/dist/ionic/p-9048389e.entry.js +4 -0
- package/dist/ionic/{p-74e328cf.system.js → p-91fe21bb.system.js} +1 -1
- package/dist/ionic/p-941c06bc.js +4 -0
- package/dist/ionic/{p-99b4160f.system.entry.js → p-96f7bb84.system.entry.js} +1 -1
- package/dist/ionic/p-988a0306.system.js +4 -0
- package/dist/ionic/{p-52b61cba.system.js → p-9a2ff5ea.system.js} +1 -1
- package/dist/ionic/{p-6f3d8334.js → p-9af7f110.js} +1 -1
- package/dist/ionic/{p-8fa80de0.entry.js → p-9e7a9a27.entry.js} +1 -1
- package/dist/ionic/p-a300835e.system.entry.js +4 -0
- package/dist/ionic/{p-372ae7f4.system.js → p-a4866e3e.system.js} +1 -1
- package/dist/ionic/p-a6042939.entry.js +4 -0
- package/dist/ionic/{p-25580c85.system.entry.js → p-a63b345e.system.entry.js} +1 -1
- package/dist/ionic/{p-8911101b.system.js → p-a6625de8.system.js} +1 -1
- package/dist/ionic/p-a6f13a4e.system.entry.js +4 -0
- package/dist/ionic/{p-5f7a9125.system.entry.js → p-a8584808.system.entry.js} +2 -2
- package/dist/ionic/{p-1cf593cf.system.entry.js → p-a8cc566d.system.entry.js} +1 -1
- package/dist/ionic/{p-b1dbfc12.entry.js → p-a9b9259c.entry.js} +1 -1
- package/dist/ionic/p-aae8187b.system.entry.js +4 -0
- package/dist/ionic/p-ad780230.js +4 -0
- package/dist/ionic/{p-d8c1ac0d.system.js → p-adbbf974.system.js} +1 -1
- package/dist/ionic/p-ae518f0b.system.entry.js +4 -0
- package/dist/ionic/{p-6579f457.system.js → p-af873227.system.js} +1 -1
- package/dist/ionic/p-afcd55c6.entry.js +4 -0
- package/dist/ionic/{p-ebceb0ac.entry.js → p-afd7a6a9.entry.js} +1 -1
- package/dist/ionic/{p-f4cddcd0.entry.js → p-b7ed7f16.entry.js} +1 -1
- package/dist/ionic/{p-a4b108a7.entry.js → p-b85d199c.entry.js} +1 -1
- package/dist/ionic/{p-de0b8503.entry.js → p-b88c5ce4.entry.js} +1 -1
- package/dist/ionic/{p-fb048d4d.system.entry.js → p-b8e3b3ca.system.entry.js} +1 -1
- package/dist/ionic/p-b9ea58ef.js +4 -0
- package/dist/ionic/p-bf64af90.system.js +4 -0
- package/dist/ionic/{p-9104d662.system.entry.js → p-bf7f7084.system.entry.js} +2 -2
- package/dist/ionic/{p-506f2664.system.entry.js → p-bf973e4b.system.entry.js} +2 -2
- package/dist/ionic/{p-c66604e4.entry.js → p-c005cc37.entry.js} +1 -1
- package/dist/ionic/{p-5f10138c.system.entry.js → p-c5abee89.system.entry.js} +1 -1
- package/dist/ionic/{p-3559bd4f.js → p-c8402249.js} +1 -1
- package/dist/ionic/{p-5cc9314d.system.entry.js → p-c8c27ae7.system.entry.js} +1 -1
- package/dist/ionic/p-cbd5b96a.entry.js +4 -0
- package/dist/ionic/p-ccbb47f5.entry.js +4 -0
- package/dist/ionic/{p-62d2e17d.entry.js → p-cd239b25.entry.js} +1 -1
- package/dist/ionic/{p-89e678fa.js → p-ceaea4ce.js} +1 -1
- package/dist/ionic/{p-e0a2abde.system.entry.js → p-d37fdc68.system.entry.js} +1 -1
- package/dist/ionic/{p-98aefaa1.system.entry.js → p-d4308e05.system.entry.js} +1 -1
- package/dist/ionic/{p-03940ae5.js → p-d60342e3.js} +1 -1
- package/dist/ionic/{p-826c4d67.system.entry.js → p-da5ae6cf.system.entry.js} +1 -1
- package/dist/ionic/p-dbac4f3e.system.entry.js +4 -0
- package/dist/ionic/{p-41d7ca3c.entry.js → p-dc8cbb8b.entry.js} +1 -1
- package/dist/ionic/{p-66425a02.system.entry.js → p-dd141012.system.entry.js} +1 -1
- package/dist/ionic/p-ded39921.entry.js +4 -0
- package/dist/ionic/{p-c52ca485.system.entry.js → p-df4c00a4.system.entry.js} +1 -1
- package/dist/ionic/p-df61d353.entry.js +4 -0
- package/dist/ionic/p-e394222f.entry.js +4 -0
- package/dist/ionic/p-ea925d34.system.entry.js +4 -0
- package/dist/ionic/{p-4e0643a3.js → p-ec631b0f.js} +1 -1
- package/dist/ionic/p-f11a9436.system.js +5 -0
- package/dist/ionic/{p-4200e056.system.entry.js → p-f1ad06bd.system.entry.js} +1 -1
- package/dist/ionic/{p-020df11a.entry.js → p-f1b20f28.entry.js} +1 -1
- package/dist/ionic/p-f1be5454.entry.js +4 -0
- package/dist/ionic/p-f201b53a.system.js +4 -0
- package/dist/ionic/{p-3a4d77b9.system.js → p-f30071a2.system.js} +1 -1
- package/dist/ionic/{p-b566749e.js → p-f554845e.js} +1 -1
- package/dist/ionic/{p-80d837dd.system.js → p-f59611e2.system.js} +1 -1
- package/dist/ionic/{p-2c1d4963.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/{p-717520d6.system.entry.js → p-f97efff5.system.entry.js} +1 -1
- package/dist/ionic/{p-a4e7eaf6.system.entry.js → p-f9e7de97.system.entry.js} +1 -1
- package/dist/ionic/{p-43bfbfd7.entry.js → p-fd0f8d68.entry.js} +1 -1
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/checkbox/checkbox.d.ts +0 -25
- package/dist/types/components/modal/animations/sheet.d.ts +0 -1
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +0 -1
- package/dist/types/components/modal/modal.d.ts +0 -14
- package/dist/types/components/radio-group/radio-group.d.ts +0 -15
- package/dist/types/components/select/select.d.ts +0 -29
- package/dist/types/components/toggle/toggle.d.ts +0 -25
- package/dist/types/components/toolbar/toolbar.d.ts +0 -4
- package/dist/types/components.d.ts +0 -96
- package/dist/types/utils/config.d.ts +0 -12
- package/dist/types/utils/logging/index.d.ts +1 -13
- package/hydrate/index.js +146 -574
- package/hydrate/index.mjs +146 -574
- 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/app-globals-c10a1137.js +0 -4
- package/dist/esm-es5/helpers-13b816c6.js +0 -4
- package/dist/esm-es5/index-28849c61.js +0 -5
- package/dist/esm-es5/index-ce8d38d0.js +0 -4
- package/dist/esm-es5/input-shims-4c3d7279.js +0 -4
- package/dist/esm-es5/ionic-global-bf78a847.js +0 -4
- package/dist/esm-es5/status-tap-2ce7841e.js +0 -4
- package/dist/ionic/p-00d5ab83.entry.js +0 -4
- package/dist/ionic/p-0412232d.js +0 -4
- package/dist/ionic/p-0ab8caf8.system.entry.js +0 -4
- package/dist/ionic/p-16dd9c9b.entry.js +0 -4
- package/dist/ionic/p-21ee4f71.system.entry.js +0 -4
- package/dist/ionic/p-221fbdf5.entry.js +0 -4
- package/dist/ionic/p-25180df3.system.js +0 -5
- package/dist/ionic/p-2840743b.entry.js +0 -4
- package/dist/ionic/p-29cccf08.entry.js +0 -4
- package/dist/ionic/p-2f429536.entry.js +0 -4
- package/dist/ionic/p-34182275.entry.js +0 -4
- package/dist/ionic/p-38df41a6.system.js +0 -4
- package/dist/ionic/p-3e6be709.entry.js +0 -4
- package/dist/ionic/p-48e9eedb.entry.js +0 -4
- package/dist/ionic/p-4e8946f7.js +0 -4
- package/dist/ionic/p-51d4cdba.system.js +0 -4
- package/dist/ionic/p-541b5191.entry.js +0 -4
- package/dist/ionic/p-5a1017f3.entry.js +0 -4
- package/dist/ionic/p-5c364a5b.entry.js +0 -4
- package/dist/ionic/p-60f7c85d.entry.js +0 -4
- package/dist/ionic/p-62151078.system.entry.js +0 -4
- package/dist/ionic/p-623b4fa6.system.entry.js +0 -4
- package/dist/ionic/p-6eb35904.js +0 -4
- package/dist/ionic/p-6f6dd24f.entry.js +0 -4
- package/dist/ionic/p-7af3d1e8.system.entry.js +0 -4
- package/dist/ionic/p-7e70835f.js +0 -4
- package/dist/ionic/p-845f8d16.js +0 -4
- package/dist/ionic/p-85d6d07c.entry.js +0 -4
- package/dist/ionic/p-8973b827.system.js +0 -4
- package/dist/ionic/p-8aa290af.system.js +0 -4
- package/dist/ionic/p-95a11fc4.entry.js +0 -4
- package/dist/ionic/p-9a950d3c.entry.js +0 -4
- package/dist/ionic/p-a17a1fb9.entry.js +0 -4
- package/dist/ionic/p-a3e60403.js +0 -4
- package/dist/ionic/p-afba4c00.system.entry.js +0 -4
- package/dist/ionic/p-b1c4a9db.js +0 -4
- package/dist/ionic/p-be8ecfc1.js +0 -4
- package/dist/ionic/p-c1ad8eb0.system.js +0 -4
- package/dist/ionic/p-c30c10af.js +0 -4
- package/dist/ionic/p-c43872df.entry.js +0 -4
- package/dist/ionic/p-c4f9367a.entry.js +0 -4
- package/dist/ionic/p-d836d43e.js +0 -5
- package/dist/ionic/p-d86d7845.system.js +0 -4
- package/dist/ionic/p-d9162cf7.system.entry.js +0 -4
- package/dist/ionic/p-e3bd1070.entry.js +0 -4
- package/dist/ionic/p-e824ffe7.entry.js +0 -4
- package/dist/ionic/p-f4f255cb.system.js +0 -4
- package/dist/ionic/p-fe00ac05.system.entry.js +0 -4
|
@@ -7,8 +7,6 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
7
7
|
export class RadioGroup {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.inputId = `ion-rg-${radioGroupIds++}`;
|
|
10
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
11
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
12
10
|
this.labelId = `${this.inputId}-lbl`;
|
|
13
11
|
this.setRadioTabindex = (value) => {
|
|
14
12
|
const radios = this.getRadios();
|
|
@@ -60,8 +58,6 @@ export class RadioGroup {
|
|
|
60
58
|
this.compareWith = undefined;
|
|
61
59
|
this.name = this.inputId;
|
|
62
60
|
this.value = undefined;
|
|
63
|
-
this.helperText = undefined;
|
|
64
|
-
this.errorText = undefined;
|
|
65
61
|
}
|
|
66
62
|
valueChanged(value) {
|
|
67
63
|
this.setRadioTabindex(value);
|
|
@@ -160,46 +156,13 @@ export class RadioGroup {
|
|
|
160
156
|
const radioToFocus = this.getRadios().find((r) => r.tabIndex !== -1);
|
|
161
157
|
radioToFocus === null || radioToFocus === void 0 ? void 0 : radioToFocus.setFocus();
|
|
162
158
|
}
|
|
163
|
-
/**
|
|
164
|
-
* Renders the helper text or error text values
|
|
165
|
-
*/
|
|
166
|
-
renderHintText() {
|
|
167
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
168
|
-
const hasHintText = !!helperText || !!errorText;
|
|
169
|
-
if (!hasHintText) {
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
return (h("div", { class: "radio-group-top" }, h("div", { id: helperTextId, class: "helper-text" }, helperText), h("div", { id: errorTextId, class: "error-text" }, errorText)));
|
|
173
|
-
}
|
|
174
|
-
getHintTextID() {
|
|
175
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
176
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
177
|
-
return errorTextId;
|
|
178
|
-
}
|
|
179
|
-
if (helperText) {
|
|
180
|
-
return helperTextId;
|
|
181
|
-
}
|
|
182
|
-
return undefined;
|
|
183
|
-
}
|
|
184
159
|
render() {
|
|
185
160
|
const { label, labelId, el, name, value } = this;
|
|
186
161
|
const mode = getIonMode(this);
|
|
187
162
|
renderHiddenInput(true, el, name, value, false);
|
|
188
|
-
return
|
|
163
|
+
return h(Host, { key: 'a853e38901f0f4ba17bbf21ebb5da5b5c20b327e', role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
|
|
189
164
|
}
|
|
190
165
|
static get is() { return "ion-radio-group"; }
|
|
191
|
-
static get originalStyleUrls() {
|
|
192
|
-
return {
|
|
193
|
-
"ios": ["radio-group.ios.scss"],
|
|
194
|
-
"md": ["radio-group.md.scss"]
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
static get styleUrls() {
|
|
198
|
-
return {
|
|
199
|
-
"ios": ["radio-group.ios.css"],
|
|
200
|
-
"md": ["radio-group.md.css"]
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
166
|
static get properties() {
|
|
204
167
|
return {
|
|
205
168
|
"allowEmptySelection": {
|
|
@@ -277,40 +240,6 @@ export class RadioGroup {
|
|
|
277
240
|
},
|
|
278
241
|
"attribute": "value",
|
|
279
242
|
"reflect": false
|
|
280
|
-
},
|
|
281
|
-
"helperText": {
|
|
282
|
-
"type": "string",
|
|
283
|
-
"mutable": false,
|
|
284
|
-
"complexType": {
|
|
285
|
-
"original": "string",
|
|
286
|
-
"resolved": "string | undefined",
|
|
287
|
-
"references": {}
|
|
288
|
-
},
|
|
289
|
-
"required": false,
|
|
290
|
-
"optional": true,
|
|
291
|
-
"docs": {
|
|
292
|
-
"tags": [],
|
|
293
|
-
"text": "The helper text to display at the top of the radio group."
|
|
294
|
-
},
|
|
295
|
-
"attribute": "helper-text",
|
|
296
|
-
"reflect": false
|
|
297
|
-
},
|
|
298
|
-
"errorText": {
|
|
299
|
-
"type": "string",
|
|
300
|
-
"mutable": false,
|
|
301
|
-
"complexType": {
|
|
302
|
-
"original": "string",
|
|
303
|
-
"resolved": "string | undefined",
|
|
304
|
-
"references": {}
|
|
305
|
-
},
|
|
306
|
-
"required": false,
|
|
307
|
-
"optional": true,
|
|
308
|
-
"docs": {
|
|
309
|
-
"tags": [],
|
|
310
|
-
"text": "The error text to display at the top of the radio group."
|
|
311
|
-
},
|
|
312
|
-
"attribute": "error-text",
|
|
313
|
-
"reflect": false
|
|
314
243
|
}
|
|
315
244
|
};
|
|
316
245
|
}
|
|
@@ -580,7 +580,7 @@ export class Range {
|
|
|
580
580
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
581
581
|
const mode = getIonMode(this);
|
|
582
582
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
583
|
-
return (h(Host, { key: '
|
|
583
|
+
return (h(Host, { key: 'a9dacdb8935627860188c035f2edf6b8cc751dc5', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses(this.color, {
|
|
584
584
|
[mode]: true,
|
|
585
585
|
'in-item': inItem,
|
|
586
586
|
'range-disabled': disabled,
|
|
@@ -589,10 +589,10 @@ export class Range {
|
|
|
589
589
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
590
590
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
591
591
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
592
|
-
}) }, h("label", { key: '
|
|
592
|
+
}) }, h("label", { key: '4f5682ab5f793c1097956c092c8b88b6d676fe85', class: "range-wrapper", id: "range-label" }, h("div", { key: 'f906c5ab076275721cb8e99e22f5a3c2509713de', class: {
|
|
593
593
|
'label-text-wrapper': true,
|
|
594
594
|
'label-text-wrapper-hidden': !hasLabel,
|
|
595
|
-
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: '
|
|
595
|
+
}, part: "label" }, label !== undefined ? h("div", { class: "label-text" }, label) : h("slot", { name: "label" })), h("div", { key: 'bb6ca75df1394a01464d40a8b4ba6e08b3c12824', class: "native-wrapper" }, h("slot", { key: '34f6e5f0ee73864ed2fa64cf041639f842540ae6', name: "start" }), this.renderRangeSlider(), h("slot", { key: 'b8602e24234900fe9bb300610b236951bf2c6ebb', name: "end" })))));
|
|
596
596
|
}
|
|
597
597
|
static get is() { return "ion-range"; }
|
|
598
598
|
static get encapsulation() { return "shadow"; }
|
|
@@ -621,7 +621,7 @@ export class Refresher {
|
|
|
621
621
|
}
|
|
622
622
|
render() {
|
|
623
623
|
const mode = getIonMode(this);
|
|
624
|
-
return (h(Host, { key: '
|
|
624
|
+
return (h(Host, { key: '9d4ac22988aec2c6af0b0c90934c52f62f0e4ce3', slot: "fixed", class: {
|
|
625
625
|
[mode]: true,
|
|
626
626
|
// Used internally for styling
|
|
627
627
|
[`refresher-${mode}`]: true,
|
|
@@ -52,7 +52,7 @@ export class RefresherContent {
|
|
|
52
52
|
const pullingIcon = this.pullingIcon;
|
|
53
53
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
54
54
|
const mode = getIonMode(this);
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '19633bbcf02e3dba885d6bdcdaf2269bf4c8e2f5', class: mode }, h("div", { key: '28922e434a55a6cac0476fe2bee56941ce0d1c02', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { key: 'fe575bf996021884677e9b23a3215d63caf894f5', class: "refresher-pulling-icon" }, h("div", { key: '59fe12297fd95bc33b8df8cd35316e2a1c084d91', class: "spinner-arrow-container" }, h("ion-spinner", { key: 'af9cc013ae04945c140b2865610ca73edb52ab48', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { key: '34df66ad1b0f706a0532957251aa2c20bf4587d8', class: "arrow-container" }, h("ion-icon", { key: 'ffdb5c123e606b823491c6c51cc2b497f62581bb', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (h("div", { key: 'ac3a2032bb969264d20fa057e9123441005d7a9d', class: "refresher-pulling-icon" }, h("ion-icon", { key: 'd969d10915548e72aae289b52154366f3dd39b31', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), h("div", { key: 'a8f854f81a94812d7bef8ce088331d94f49ff53d', class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { key: 'a1f646945370e40c844d62bc0c647443ae9dfbe7', class: "refresher-refreshing-icon" }, h("ion-spinner", { key: 'ab3ff4047769b6436e222b46d193c1e8b23e2fce', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "ion-refresher-content"; }
|
|
58
58
|
static get properties() {
|
|
@@ -20,7 +20,7 @@ export class Reorder {
|
|
|
20
20
|
render() {
|
|
21
21
|
const mode = getIonMode(this);
|
|
22
22
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '27266e30bcb7e10c57fb6d546399cfb1f1c93b23', class: mode }, h("slot", { key: '8745cb9a31458e884c27eed1fb90d104fe9a79eb' }, h("ion-icon", { key: '6c4b9631a2f5610f1e21b2db025b6702d0d593bf', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "ion-reorder"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -238,7 +238,7 @@ export class ReorderGroup {
|
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
240
|
const mode = getIonMode(this);
|
|
241
|
-
return (h(Host, { key: '
|
|
241
|
+
return (h(Host, { key: 'a38c7fbceb677201330a602273d5b55abb32da19', class: {
|
|
242
242
|
[mode]: true,
|
|
243
243
|
'reorder-enabled': !this.disabled,
|
|
244
244
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -59,7 +59,7 @@ export class RippleEffect {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const mode = getIonMode(this);
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '7ae559bda5d2c1856a45bfa150c2cb4f83373f8e', role: "presentation", class: {
|
|
63
63
|
[mode]: true,
|
|
64
64
|
unbounded: this.unbounded,
|
|
65
65
|
} }));
|
|
@@ -23,10 +23,10 @@ export class RouterLink {
|
|
|
23
23
|
rel: this.rel,
|
|
24
24
|
target: this.target,
|
|
25
25
|
};
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '529ceed5beaf92d7b4cc315c82f449eac18310e8', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
27
27
|
[mode]: true,
|
|
28
28
|
'ion-activatable': true,
|
|
29
|
-
}) }, h("a", Object.assign({ key: '
|
|
29
|
+
}) }, h("a", Object.assign({ key: 'd5f1f8b256695d70bdafd20ff3d1b625963fa2da' }, attrs), h("slot", { key: '613fcdb36a71e076f989551ea21f1d5c118b1cd2' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "ion-router-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -177,7 +177,7 @@ export class RouterOutlet {
|
|
|
177
177
|
return true;
|
|
178
178
|
}
|
|
179
179
|
render() {
|
|
180
|
-
return h("slot", { key: '
|
|
180
|
+
return h("slot", { key: 'a70341f58d19df55de1dad00e3464388e446aa2a' });
|
|
181
181
|
}
|
|
182
182
|
static get is() { return "ion-router-outlet"; }
|
|
183
183
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
6
6
|
export class Row {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'aea072a5005e3f1f309f0d1ae5be5ee19869b035', class: getIonMode(this) }, h("slot", { key: '2a481c2126ac6ca65f0a1bbd07c2d3365409cb78' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "ion-row"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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"; }
|
|
@@ -130,7 +130,7 @@ export class SegmentButton {
|
|
|
130
130
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
131
131
|
const mode = getIonMode(this);
|
|
132
132
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: 'f9da656c8eccb80e4ef30e3fa977f2dbbefbc988', class: {
|
|
134
134
|
[mode]: true,
|
|
135
135
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
136
136
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -146,7 +146,7 @@ export class SegmentButton {
|
|
|
146
146
|
'ion-activatable': true,
|
|
147
147
|
'ion-activatable-instant': true,
|
|
148
148
|
'ion-focusable': true,
|
|
149
|
-
} }, h("button", Object.assign({ key: '
|
|
149
|
+
} }, h("button", Object.assign({ key: '00dbcdbd81cd74abdd39803f6840a6e477cc7b0c', "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: '5200c082a9c4788010c4fc33fe75e2b2ad28364a', class: "button-inner" }, h("slot", { key: 'cf3fce2b5d22436b84cd4367a5885df7d6a2715f' })), mode === 'md' && h("ion-ripple-effect", { key: 'f1a2816465f4c2c06644be07315bff2da77e2342' })), h("div", { key: 'aaf31c0ed39641fca698ee98d0773131f4eea6bd', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, h("div", { key: 'fc556651361b7ac305aaedd25ea4afe3173abd20', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
150
150
|
}
|
|
151
151
|
static get is() { return "ion-segment-button"; }
|
|
152
152
|
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"; }
|
|
@@ -299,63 +299,6 @@ button {
|
|
|
299
299
|
--highlight-color: var(--highlight-color-valid);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.select-bottom {
|
|
303
|
-
/**
|
|
304
|
-
* The bottom content should take on the start and end
|
|
305
|
-
* padding so it is always aligned with either the label
|
|
306
|
-
* or the start of the text select.
|
|
307
|
-
*/
|
|
308
|
-
-webkit-padding-start: var(--padding-start);
|
|
309
|
-
padding-inline-start: var(--padding-start);
|
|
310
|
-
-webkit-padding-end: var(--padding-end);
|
|
311
|
-
padding-inline-end: var(--padding-end);
|
|
312
|
-
padding-top: 5px;
|
|
313
|
-
padding-bottom: 0;
|
|
314
|
-
display: flex;
|
|
315
|
-
justify-content: space-between;
|
|
316
|
-
border-top: var(--border-width) var(--border-style) var(--border-color);
|
|
317
|
-
font-size: 0.75rem;
|
|
318
|
-
white-space: normal;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* If the select has a validity state, the
|
|
323
|
-
* border and label should reflect that as a color.
|
|
324
|
-
* The invalid state should show if the select is
|
|
325
|
-
* invalid and has already been touched.
|
|
326
|
-
* The valid state should show if the select
|
|
327
|
-
* is valid, has already been touched, and
|
|
328
|
-
* is currently focused. Do not show the valid
|
|
329
|
-
* highlight when the select is blurred.
|
|
330
|
-
*/
|
|
331
|
-
:host(.has-focus.ion-valid),
|
|
332
|
-
:host(.ion-touched.ion-invalid) {
|
|
333
|
-
--border-color: var(--highlight-color);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Error text should only be shown when .ion-invalid is
|
|
338
|
-
* present on the select. Otherwise the helper text should
|
|
339
|
-
* be shown.
|
|
340
|
-
*/
|
|
341
|
-
.select-bottom .error-text {
|
|
342
|
-
display: none;
|
|
343
|
-
color: var(--highlight-color-invalid);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.select-bottom .helper-text {
|
|
347
|
-
display: block;
|
|
348
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
:host(.ion-touched.ion-invalid) .select-bottom .error-text {
|
|
352
|
-
display: block;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
:host(.ion-touched.ion-invalid) .select-bottom .helper-text {
|
|
356
|
-
display: none;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
302
|
.label-text-wrapper {
|
|
360
303
|
/**
|
|
361
304
|
* This causes the label to take up
|
|
@@ -743,8 +686,6 @@ button {
|
|
|
743
686
|
* }
|
|
744
687
|
*/
|
|
745
688
|
:host {
|
|
746
|
-
--border-width: 0.55px;
|
|
747
|
-
--border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));
|
|
748
689
|
--highlight-height: 0px;
|
|
749
690
|
}
|
|
750
691
|
|
|
@@ -23,15 +23,10 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
23
23
|
* @part icon - The select icon container.
|
|
24
24
|
* @part container - The container for the selected text or placeholder.
|
|
25
25
|
* @part label - The label text describing the select.
|
|
26
|
-
* @part supporting-text - Supporting text displayed beneath the select.
|
|
27
|
-
* @part helper-text - Supporting text displayed beneath the select when the select is valid.
|
|
28
|
-
* @part error-text - Supporting text displayed beneath the select when the select is invalid and touched.
|
|
29
26
|
*/
|
|
30
27
|
export class Select {
|
|
31
28
|
constructor() {
|
|
32
29
|
this.inputId = `ion-sel-${selectIds++}`;
|
|
33
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
34
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
35
30
|
this.inheritedAttributes = {};
|
|
36
31
|
this.onClick = (ev) => {
|
|
37
32
|
const target = ev.target;
|
|
@@ -82,8 +77,6 @@ export class Select {
|
|
|
82
77
|
this.compareWith = undefined;
|
|
83
78
|
this.disabled = false;
|
|
84
79
|
this.fill = undefined;
|
|
85
|
-
this.errorText = undefined;
|
|
86
|
-
this.helperText = undefined;
|
|
87
80
|
this.interface = 'alert';
|
|
88
81
|
this.interfaceOptions = {};
|
|
89
82
|
this.justify = undefined;
|
|
@@ -98,7 +91,6 @@ export class Select {
|
|
|
98
91
|
this.expandedIcon = undefined;
|
|
99
92
|
this.shape = undefined;
|
|
100
93
|
this.value = undefined;
|
|
101
|
-
this.required = false;
|
|
102
94
|
}
|
|
103
95
|
styleChanged() {
|
|
104
96
|
this.emitStyle();
|
|
@@ -663,44 +655,8 @@ export class Select {
|
|
|
663
655
|
return renderedLabel;
|
|
664
656
|
}
|
|
665
657
|
renderListbox() {
|
|
666
|
-
const { disabled, inputId, isExpanded
|
|
667
|
-
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`,
|
|
668
|
-
}
|
|
669
|
-
getHintTextID() {
|
|
670
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
671
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
672
|
-
return errorTextId;
|
|
673
|
-
}
|
|
674
|
-
if (helperText) {
|
|
675
|
-
return helperTextId;
|
|
676
|
-
}
|
|
677
|
-
return undefined;
|
|
678
|
-
}
|
|
679
|
-
/**
|
|
680
|
-
* Renders the helper text or error text values
|
|
681
|
-
*/
|
|
682
|
-
renderHintText() {
|
|
683
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
684
|
-
return [
|
|
685
|
-
h("div", { id: helperTextId, class: "helper-text", part: "supporting-text helper-text" }, helperText),
|
|
686
|
-
h("div", { id: errorTextId, class: "error-text", part: "supporting-text error-text" }, errorText),
|
|
687
|
-
];
|
|
688
|
-
}
|
|
689
|
-
/**
|
|
690
|
-
* Responsible for rendering helper text, and error text. This element
|
|
691
|
-
* should only be rendered if hint text is set.
|
|
692
|
-
*/
|
|
693
|
-
renderBottomContent() {
|
|
694
|
-
const { helperText, errorText } = this;
|
|
695
|
-
/**
|
|
696
|
-
* undefined and empty string values should
|
|
697
|
-
* be treated as not having helper/error text.
|
|
698
|
-
*/
|
|
699
|
-
const hasHintText = !!helperText || !!errorText;
|
|
700
|
-
if (!hasHintText) {
|
|
701
|
-
return;
|
|
702
|
-
}
|
|
703
|
-
return h("div", { class: "select-bottom" }, this.renderHintText());
|
|
658
|
+
const { disabled, inputId, isExpanded } = this;
|
|
659
|
+
return (h("button", { disabled: disabled, id: inputId, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) }));
|
|
704
660
|
}
|
|
705
661
|
render() {
|
|
706
662
|
const { disabled, el, isExpanded, expandedIcon, labelPlacement, justify, placeholder, fill, shape, name, value } = this;
|
|
@@ -731,7 +687,7 @@ export class Select {
|
|
|
731
687
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
732
688
|
*/
|
|
733
689
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
734
|
-
return (h(Host, { key: '
|
|
690
|
+
return (h(Host, { key: 'b2dca9ae25d88e4d9fdb55003041a66be5668fcf', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
735
691
|
[mode]: true,
|
|
736
692
|
'in-item': inItem,
|
|
737
693
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -747,7 +703,7 @@ export class Select {
|
|
|
747
703
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
748
704
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
749
705
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
750
|
-
}) }, h("label", { key: '
|
|
706
|
+
}) }, h("label", { key: 'c22fe9aee8cd448223497ef143e89529fcef8af6', class: "select-wrapper", id: "select-label" }, this.renderLabelContainer(), h("div", { key: '601972df4579f4fa6a9c2c12865593e807decb72', class: "select-wrapper-inner" }, h("slot", { key: '5f7b1261862f74b978b26f026533e3fd1cc666ba', name: "start" }), h("div", { key: '39616da89f4b4b78432f6da85116a7de2ca589e7', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), h("slot", { key: '1d7b3601b73af7c05b3627cfc8e5147ea379bb03', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && h("div", { key: 'b0344f0ac15003e22fee66d3d7ed03a07da7e8b7', class: "select-highlight" }))));
|
|
751
707
|
}
|
|
752
708
|
static get is() { return "ion-select"; }
|
|
753
709
|
static get encapsulation() { return "shadow"; }
|
|
@@ -864,40 +820,6 @@ export class Select {
|
|
|
864
820
|
"attribute": "fill",
|
|
865
821
|
"reflect": false
|
|
866
822
|
},
|
|
867
|
-
"errorText": {
|
|
868
|
-
"type": "string",
|
|
869
|
-
"mutable": false,
|
|
870
|
-
"complexType": {
|
|
871
|
-
"original": "string",
|
|
872
|
-
"resolved": "string | undefined",
|
|
873
|
-
"references": {}
|
|
874
|
-
},
|
|
875
|
-
"required": false,
|
|
876
|
-
"optional": true,
|
|
877
|
-
"docs": {
|
|
878
|
-
"tags": [],
|
|
879
|
-
"text": "Text that is placed under the select and displayed when an error is detected."
|
|
880
|
-
},
|
|
881
|
-
"attribute": "error-text",
|
|
882
|
-
"reflect": false
|
|
883
|
-
},
|
|
884
|
-
"helperText": {
|
|
885
|
-
"type": "string",
|
|
886
|
-
"mutable": false,
|
|
887
|
-
"complexType": {
|
|
888
|
-
"original": "string",
|
|
889
|
-
"resolved": "string | undefined",
|
|
890
|
-
"references": {}
|
|
891
|
-
},
|
|
892
|
-
"required": false,
|
|
893
|
-
"optional": true,
|
|
894
|
-
"docs": {
|
|
895
|
-
"tags": [],
|
|
896
|
-
"text": "Text that is placed under the select and displayed when no error is detected."
|
|
897
|
-
},
|
|
898
|
-
"attribute": "helper-text",
|
|
899
|
-
"reflect": false
|
|
900
|
-
},
|
|
901
823
|
"interface": {
|
|
902
824
|
"type": "string",
|
|
903
825
|
"mutable": false,
|
|
@@ -1147,24 +1069,6 @@ export class Select {
|
|
|
1147
1069
|
},
|
|
1148
1070
|
"attribute": "value",
|
|
1149
1071
|
"reflect": false
|
|
1150
|
-
},
|
|
1151
|
-
"required": {
|
|
1152
|
-
"type": "boolean",
|
|
1153
|
-
"mutable": false,
|
|
1154
|
-
"complexType": {
|
|
1155
|
-
"original": "boolean",
|
|
1156
|
-
"resolved": "boolean",
|
|
1157
|
-
"references": {}
|
|
1158
|
-
},
|
|
1159
|
-
"required": false,
|
|
1160
|
-
"optional": false,
|
|
1161
|
-
"docs": {
|
|
1162
|
-
"tags": [],
|
|
1163
|
-
"text": "If true, screen readers will announce it as a required field. This property\nworks only for accessibility purposes, it will not prevent the form from\nsubmitting if the value is invalid."
|
|
1164
|
-
},
|
|
1165
|
-
"attribute": "required",
|
|
1166
|
-
"reflect": false,
|
|
1167
|
-
"defaultValue": "false"
|
|
1168
1072
|
}
|
|
1169
1073
|
};
|
|
1170
1074
|
}
|
|
@@ -299,63 +299,6 @@ button {
|
|
|
299
299
|
--highlight-color: var(--highlight-color-valid);
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.select-bottom {
|
|
303
|
-
/**
|
|
304
|
-
* The bottom content should take on the start and end
|
|
305
|
-
* padding so it is always aligned with either the label
|
|
306
|
-
* or the start of the text select.
|
|
307
|
-
*/
|
|
308
|
-
-webkit-padding-start: var(--padding-start);
|
|
309
|
-
padding-inline-start: var(--padding-start);
|
|
310
|
-
-webkit-padding-end: var(--padding-end);
|
|
311
|
-
padding-inline-end: var(--padding-end);
|
|
312
|
-
padding-top: 5px;
|
|
313
|
-
padding-bottom: 0;
|
|
314
|
-
display: flex;
|
|
315
|
-
justify-content: space-between;
|
|
316
|
-
border-top: var(--border-width) var(--border-style) var(--border-color);
|
|
317
|
-
font-size: 0.75rem;
|
|
318
|
-
white-space: normal;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* If the select has a validity state, the
|
|
323
|
-
* border and label should reflect that as a color.
|
|
324
|
-
* The invalid state should show if the select is
|
|
325
|
-
* invalid and has already been touched.
|
|
326
|
-
* The valid state should show if the select
|
|
327
|
-
* is valid, has already been touched, and
|
|
328
|
-
* is currently focused. Do not show the valid
|
|
329
|
-
* highlight when the select is blurred.
|
|
330
|
-
*/
|
|
331
|
-
:host(.has-focus.ion-valid),
|
|
332
|
-
:host(.ion-touched.ion-invalid) {
|
|
333
|
-
--border-color: var(--highlight-color);
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Error text should only be shown when .ion-invalid is
|
|
338
|
-
* present on the select. Otherwise the helper text should
|
|
339
|
-
* be shown.
|
|
340
|
-
*/
|
|
341
|
-
.select-bottom .error-text {
|
|
342
|
-
display: none;
|
|
343
|
-
color: var(--highlight-color-invalid);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.select-bottom .helper-text {
|
|
347
|
-
display: block;
|
|
348
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
:host(.ion-touched.ion-invalid) .select-bottom .error-text {
|
|
352
|
-
display: block;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
:host(.ion-touched.ion-invalid) .select-bottom .helper-text {
|
|
356
|
-
display: none;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
302
|
.label-text-wrapper {
|
|
360
303
|
/**
|
|
361
304
|
* This causes the label to take up
|
|
@@ -825,10 +768,6 @@ button {
|
|
|
825
768
|
--border-color: var(--highlight-color);
|
|
826
769
|
}
|
|
827
770
|
|
|
828
|
-
/**
|
|
829
|
-
* The bottom content should never have
|
|
830
|
-
* a border with the solid style.
|
|
831
|
-
*/
|
|
832
771
|
:host(.select-fill-solid) .select-bottom {
|
|
833
772
|
border-top: none;
|
|
834
773
|
}
|