@ionic/core 8.4.6-dev.11741906766.14c01edc → 8.4.6
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/index6.js +3 -11
- package/components/ion-input.js +9 -22
- 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 +8 -21
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +6 -40
- 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/{data-27cc2c9c.js → data-21dc0f81.js} +1 -1
- package/dist/cjs/{index-f68a486a.js → index-55a184f7.js} +3 -3
- package/dist/cjs/{index-48b2a28e.js → index-5915f9b3.js} +3 -11
- package/dist/cjs/{index-9b945a2d.js → index-77e085b4.js} +1 -1
- package/dist/cjs/{index-fd6383b6.js → index-864d95f4.js} +1 -1
- package/dist/cjs/index.cjs.js +6 -6
- package/dist/cjs/{input-shims-2d27a5be.js → input-shims-52924092.js} +2 -4
- package/dist/cjs/{input.utils-2f642324.js → input.utils-e4144534.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/ion-alert.cjs.entry.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +10 -10
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-checkbox.cjs.entry.js +6 -37
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +9 -21
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +11 -11
- package/dist/cjs/ion-loading.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +9 -9
- package/dist/cjs/ion-modal.cjs.entry.js +39 -270
- package/dist/cjs/ion-nav_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -39
- 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 +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +10 -51
- 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 +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +8 -20
- package/dist/cjs/ion-toast.cjs.entry.js +4 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -37
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/{ios.transition-f970164c.js → ios.transition-abac30e4.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{md.transition-aa8820dd.js → md.transition-e328f70d.js} +2 -2
- package/dist/cjs/{overlays-737576a2.js → overlays-2f264f05.js} +1 -1
- package/dist/cjs/{status-tap-08d1ac81.js → status-tap-191ccc90.js} +2 -3
- 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.js +4 -18
- 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 +3 -17
- 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/utils/logging/index.js +3 -10
- package/dist/docs.json +2 -379
- package/dist/esm/{data-174ad5e0.js → data-ae11fd43.js} +1 -1
- package/dist/esm/{index-738d7504.js → index-9b0d46f4.js} +3 -11
- package/dist/esm/{index-a313df53.js → index-c4a831fd.js} +3 -3
- package/dist/esm/{index-933ca126.js → index-d4642b24.js} +1 -1
- package/dist/esm/{index-c63afbe6.js → index-df741ec6.js} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/{input-shims-3070628a.js → input-shims-80c5b98e.js} +2 -4
- package/dist/esm/{input.utils-926c04a8.js → input.utils-3a4c0a2a.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +2 -2
- package/dist/esm/ion-alert.entry.js +2 -2
- package/dist/esm/ion-app_8.entry.js +10 -10
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-checkbox.entry.js +6 -37
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +10 -22
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +11 -11
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu_3.entry.js +9 -9
- package/dist/esm/ion-modal.entry.js +39 -270
- package/dist/esm/ion-nav_2.entry.js +4 -4
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +4 -39
- 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 +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/ion-select-modal.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +10 -51
- 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 +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +9 -21
- package/dist/esm/ion-toast.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +6 -37
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/{ios.transition-5fe4d6c8.js → ios.transition-a81c9c6b.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{md.transition-3d0d3730.js → md.transition-dbb51edc.js} +2 -2
- package/dist/esm/{overlays-7579a420.js → overlays-4ff1fca8.js} +1 -1
- package/dist/esm/{status-tap-6367b913.js → status-tap-73b183f4.js} +2 -3
- package/dist/esm-es5/{data-174ad5e0.js → data-ae11fd43.js} +1 -1
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/{index-a313df53.js → index-c4a831fd.js} +1 -1
- package/dist/esm-es5/{index-933ca126.js → index-d4642b24.js} +1 -1
- package/dist/esm-es5/{index-c63afbe6.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-926c04a8.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-button_2.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-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-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-5fe4d6c8.js → ios.transition-a81c9c6b.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-dbb51edc.js +4 -0
- package/dist/esm-es5/{overlays-7579a420.js → overlays-4ff1fca8.js} +1 -1
- package/dist/esm-es5/status-tap-73b183f4.js +4 -0
- 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/{p-77991411.system.js → p-00ab8b89.system.js} +2 -2
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/{p-4630688e.system.entry.js → p-0b860115.system.entry.js} +1 -1
- package/dist/ionic/{p-e5708e5d.system.entry.js → p-0eb49e5c.system.entry.js} +1 -1
- package/dist/ionic/{p-f94b2f2f.system.entry.js → p-11bbdab8.system.entry.js} +1 -1
- package/dist/ionic/p-1332050e.entry.js +4 -0
- package/dist/ionic/{p-7ff4f502.entry.js → p-16cd36e4.entry.js} +1 -1
- package/dist/ionic/p-19179876.js +4 -0
- package/dist/ionic/{p-491de063.system.entry.js → p-1a289aba.system.entry.js} +1 -1
- package/dist/ionic/{p-b6174297.entry.js → p-1cfb788a.entry.js} +1 -1
- package/dist/ionic/{p-0adb6909.system.entry.js → p-1ef02643.system.entry.js} +1 -1
- package/dist/ionic/p-1ffab75e.entry.js +4 -0
- package/dist/ionic/{p-37a438ad.system.entry.js → p-21d1c1c7.system.entry.js} +2 -2
- package/dist/ionic/{p-e7309bfa.js → p-27da8c2c.js} +1 -1
- package/dist/ionic/p-2d4658d4.system.entry.js +4 -0
- package/dist/ionic/{p-b9eb1465.system.entry.js → p-2f890012.system.entry.js} +1 -1
- package/dist/ionic/{p-3be7cdeb.system.entry.js → p-31d6b3d0.system.entry.js} +2 -2
- package/dist/ionic/{p-81378456.system.entry.js → p-3250466d.system.entry.js} +2 -2
- package/dist/ionic/{p-9b069739.entry.js → p-32d4ac00.entry.js} +1 -1
- package/dist/ionic/{p-eeee3990.system.entry.js → p-34b077b1.system.entry.js} +1 -1
- package/dist/ionic/{p-4d0190ad.system.entry.js → p-36079188.system.entry.js} +1 -1
- package/dist/ionic/{p-efa0f3f5.entry.js → p-360f5507.entry.js} +1 -1
- package/dist/ionic/{p-35f14792.entry.js → p-3705c194.entry.js} +1 -1
- package/dist/ionic/{p-e00b72ce.js → p-37e874f1.js} +1 -1
- package/dist/ionic/{p-838cc359.entry.js → p-39b5611c.entry.js} +1 -1
- package/dist/ionic/{p-ace2d2be.entry.js → p-3c66a690.entry.js} +1 -1
- package/dist/ionic/p-3e0bb0e1.entry.js +4 -0
- package/dist/ionic/p-3ef5e7fc.entry.js +4 -0
- package/dist/ionic/{p-9df36075.system.entry.js → p-3fc787a8.system.entry.js} +1 -1
- package/dist/ionic/{p-8fc426e2.entry.js → p-4979cd1d.entry.js} +1 -1
- package/dist/ionic/{p-ab7337e1.entry.js → p-4cfb0dc8.entry.js} +1 -1
- package/dist/ionic/{p-58c482af.entry.js → p-4e1b109b.entry.js} +1 -1
- package/dist/ionic/{p-8b1c1fd7.entry.js → p-5175f06a.entry.js} +1 -1
- package/dist/ionic/p-51fc2fac.system.entry.js +4 -0
- package/dist/ionic/{p-50f38461.entry.js → p-53d4d8c7.entry.js} +1 -1
- package/dist/ionic/p-5430a6da.entry.js +4 -0
- package/dist/ionic/{p-2ee9a2c6.entry.js → p-611d105b.entry.js} +1 -1
- package/dist/ionic/{p-e0c43e11.system.entry.js → p-6386ccd6.system.entry.js} +1 -1
- package/dist/ionic/{p-8deac7df.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-def7a8bd.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-e0a05506.js → p-7737b8fa.js} +1 -1
- package/dist/ionic/{p-3479f51b.system.js → p-782ed885.system.js} +1 -1
- package/dist/ionic/{p-b2296998.system.entry.js → p-7d425376.system.entry.js} +1 -1
- package/dist/ionic/{p-0bedc891.system.entry.js → p-811ff2a0.system.entry.js} +1 -1
- package/dist/ionic/{p-c25c0ba4.entry.js → p-847fd113.entry.js} +1 -1
- package/dist/ionic/{p-9e51f822.js → p-85446175.js} +1 -1
- package/dist/ionic/{p-42f6e75c.entry.js → p-85f19de9.entry.js} +1 -1
- package/dist/ionic/{p-a587b2ae.system.js → p-89204f3f.system.js} +1 -1
- package/dist/ionic/{p-e4683bfd.system.entry.js → p-8b378b48.system.entry.js} +1 -1
- package/dist/ionic/{p-c6a20407.system.entry.js → p-8cfaf64f.system.entry.js} +1 -1
- package/dist/ionic/p-8d611ccd.entry.js +4 -0
- package/dist/ionic/{p-4c94580e.js → p-8db97fa1.js} +1 -1
- package/dist/ionic/{p-3bd5fedc.system.js → p-8dbe745b.system.js} +1 -1
- package/dist/ionic/{p-72e6a9c6.entry.js → p-9023f5eb.entry.js} +1 -1
- package/dist/ionic/p-9048389e.entry.js +4 -0
- package/dist/ionic/{p-51c363e7.system.js → p-91fe21bb.system.js} +1 -1
- package/dist/ionic/{p-c8331397.system.entry.js → p-96f7bb84.system.entry.js} +1 -1
- package/dist/ionic/{p-c8bf9ba7.entry.js → p-9e7a9a27.entry.js} +1 -1
- package/dist/ionic/p-a300835e.system.entry.js +4 -0
- package/dist/ionic/p-a6042939.entry.js +4 -0
- package/dist/ionic/p-a6f13a4e.system.entry.js +4 -0
- package/dist/ionic/{p-e5c27d9f.system.entry.js → p-a8584808.system.entry.js} +1 -1
- package/dist/ionic/{p-472c7e08.system.entry.js → p-a8cc566d.system.entry.js} +1 -1
- package/dist/ionic/{p-0be8a0b5.entry.js → p-a9b9259c.entry.js} +1 -1
- package/dist/ionic/p-aae8187b.system.entry.js +4 -0
- package/dist/ionic/{p-060e4551.js → p-ad780230.js} +1 -1
- package/dist/ionic/{p-24ae7b33.system.js → p-adbbf974.system.js} +1 -1
- package/dist/ionic/p-ae518f0b.system.entry.js +4 -0
- package/dist/ionic/{p-d7032956.system.js → p-af873227.system.js} +1 -1
- package/dist/ionic/{p-b9f2e353.entry.js → p-afcd55c6.entry.js} +1 -1
- package/dist/ionic/{p-19c32a76.entry.js → p-afd7a6a9.entry.js} +1 -1
- package/dist/ionic/{p-ada878ce.entry.js → p-b7ed7f16.entry.js} +1 -1
- package/dist/ionic/{p-8fa4fa3f.entry.js → p-b88c5ce4.entry.js} +1 -1
- package/dist/ionic/{p-21371278.system.entry.js → p-b8e3b3ca.system.entry.js} +1 -1
- package/dist/ionic/p-bf64af90.system.js +1 -1
- package/dist/ionic/{p-524ad57e.system.entry.js → p-bf7f7084.system.entry.js} +2 -2
- package/dist/ionic/{p-4470f87b.system.entry.js → p-bf973e4b.system.entry.js} +2 -2
- package/dist/ionic/{p-ff4a1ba0.system.entry.js → p-c5abee89.system.entry.js} +1 -1
- package/dist/ionic/{p-f6bb9be7.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-3af7b907.entry.js → p-cd239b25.entry.js} +1 -1
- package/dist/ionic/{p-daf1e8ec.system.entry.js → p-d4308e05.system.entry.js} +1 -1
- package/dist/ionic/{p-f7ce606e.js → p-d60342e3.js} +1 -1
- package/dist/ionic/{p-b2ee0628.system.entry.js → p-da5ae6cf.system.entry.js} +1 -1
- package/dist/ionic/{p-1d2844a5.system.entry.js → p-dbac4f3e.system.entry.js} +1 -1
- package/dist/ionic/{p-1f837356.entry.js → p-dc8cbb8b.entry.js} +1 -1
- package/dist/ionic/{p-1a9613bf.system.entry.js → p-dd141012.system.entry.js} +1 -1
- package/dist/ionic/{p-eec4b772.entry.js → p-ded39921.entry.js} +1 -1
- package/dist/ionic/{p-888d383b.system.entry.js → p-df4c00a4.system.entry.js} +1 -1
- package/dist/ionic/{p-13886789.entry.js → p-df61d353.entry.js} +1 -1
- package/dist/ionic/p-e394222f.entry.js +4 -0
- package/dist/ionic/p-ea925d34.system.entry.js +4 -0
- package/dist/ionic/{p-4c44d04c.js → p-ec631b0f.js} +1 -1
- package/dist/ionic/{p-8fa62efe.system.entry.js → p-f1ad06bd.system.entry.js} +1 -1
- package/dist/ionic/{p-747f9517.entry.js → p-f1b20f28.entry.js} +1 -1
- package/dist/ionic/{p-b055d618.entry.js → p-f1be5454.entry.js} +1 -1
- package/dist/ionic/{p-042d5353.system.js → p-f30071a2.system.js} +1 -1
- package/dist/ionic/{p-5eb6f582.system.js → p-f59611e2.system.js} +1 -1
- package/dist/ionic/{p-1bf5ec17.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/{p-e0c0218f.system.entry.js → p-f97efff5.system.entry.js} +1 -1
- package/dist/ionic/{p-ac58d726.system.entry.js → p-f9e7de97.system.entry.js} +1 -1
- package/dist/ionic/{p-a520973b.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/input/input.d.ts +0 -8
- 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/textarea/textarea.d.ts +0 -8
- 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 -9
- package/dist/types/utils/logging/index.d.ts +1 -13
- package/hydrate/index.js +153 -575
- package/hydrate/index.mjs +153 -575
- 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/index-738d7504.js +0 -4
- package/dist/esm-es5/input-shims-3070628a.js +0 -4
- package/dist/esm-es5/md.transition-3d0d3730.js +0 -4
- package/dist/esm-es5/status-tap-6367b913.js +0 -4
- package/dist/ionic/p-094c82d7.entry.js +0 -4
- package/dist/ionic/p-0ec5b7cf.system.js +0 -4
- package/dist/ionic/p-143ff664.system.entry.js +0 -4
- package/dist/ionic/p-18f9b6d5.entry.js +0 -4
- package/dist/ionic/p-2027221d.js +0 -4
- package/dist/ionic/p-29a5b4e4.entry.js +0 -4
- package/dist/ionic/p-2fa5a4b1.entry.js +0 -4
- package/dist/ionic/p-3f4327f7.js +0 -4
- package/dist/ionic/p-4493c1ac.entry.js +0 -4
- package/dist/ionic/p-54893ae3.entry.js +0 -4
- package/dist/ionic/p-54e9620f.js +0 -4
- package/dist/ionic/p-606887b7.system.entry.js +0 -4
- package/dist/ionic/p-6797c66e.system.js +0 -4
- package/dist/ionic/p-81474833.system.entry.js +0 -4
- package/dist/ionic/p-959cf042.system.entry.js +0 -4
- package/dist/ionic/p-a9f2c0a7.entry.js +0 -4
- package/dist/ionic/p-b8c2dbcd.entry.js +0 -4
- package/dist/ionic/p-bbc6db8c.entry.js +0 -4
- package/dist/ionic/p-bc3e5577.system.entry.js +0 -4
- package/dist/ionic/p-c258efb9.entry.js +0 -4
- package/dist/ionic/p-c5b5f44a.entry.js +0 -4
- package/dist/ionic/p-d8c9d5ac.system.entry.js +0 -4
- package/dist/ionic/p-e5cf01f1.entry.js +0 -4
- package/dist/ionic/p-ed768b77.entry.js +0 -4
- package/dist/ionic/p-f02e9382.system.entry.js +0 -4
|
@@ -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
|
}
|
|
@@ -112,17 +112,6 @@ export class Textarea {
|
|
|
112
112
|
}
|
|
113
113
|
this.runAutoGrow();
|
|
114
114
|
}
|
|
115
|
-
/**
|
|
116
|
-
* dir is a globally enumerated attribute.
|
|
117
|
-
* As a result, creating these as properties
|
|
118
|
-
* can have unintended side effects. Instead, we
|
|
119
|
-
* listen for attribute changes and inherit them
|
|
120
|
-
* to the inner `<textarea>` element.
|
|
121
|
-
*/
|
|
122
|
-
onDirChanged(newValue) {
|
|
123
|
-
this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: newValue });
|
|
124
|
-
forceUpdate(this);
|
|
125
|
-
}
|
|
126
115
|
connectedCallback() {
|
|
127
116
|
const { el } = this;
|
|
128
117
|
this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate(this));
|
|
@@ -150,7 +139,7 @@ export class Textarea {
|
|
|
150
139
|
}
|
|
151
140
|
}
|
|
152
141
|
componentWillLoad() {
|
|
153
|
-
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes(this.el, ['data-form-type', 'title', 'tabindex'
|
|
142
|
+
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes(this.el, ['data-form-type', 'title', 'tabindex']));
|
|
154
143
|
}
|
|
155
144
|
componentDidLoad() {
|
|
156
145
|
this.originalIonInput = this.ionInput;
|
|
@@ -385,7 +374,7 @@ export class Textarea {
|
|
|
385
374
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
386
375
|
*/
|
|
387
376
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
388
|
-
return (h(Host, { key: '
|
|
377
|
+
return (h(Host, { key: 'd6e25c83d8eab8cb1a5b6ab411c9a13847f69f8d', class: createColorClasses(this.color, {
|
|
389
378
|
[mode]: true,
|
|
390
379
|
'has-value': hasValue,
|
|
391
380
|
'has-focus': hasFocus,
|
|
@@ -394,7 +383,7 @@ export class Textarea {
|
|
|
394
383
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
395
384
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
396
385
|
'textarea-disabled': disabled,
|
|
397
|
-
}) }, 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()));
|
|
398
387
|
}
|
|
399
388
|
static get is() { return "ion-textarea"; }
|
|
400
389
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1046,9 +1035,6 @@ export class Textarea {
|
|
|
1046
1035
|
}, {
|
|
1047
1036
|
"propName": "value",
|
|
1048
1037
|
"methodName": "valueChanged"
|
|
1049
|
-
}, {
|
|
1050
|
-
"propName": "dir",
|
|
1051
|
-
"methodName": "onDirChanged"
|
|
1052
1038
|
}];
|
|
1053
1039
|
}
|
|
1054
1040
|
}
|
|
@@ -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"; }
|
|
@@ -171,39 +171,32 @@ input {
|
|
|
171
171
|
align-items: center;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.toggle-
|
|
175
|
-
padding-top: 4px;
|
|
176
|
-
display: flex;
|
|
174
|
+
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
177
175
|
justify-content: space-between;
|
|
178
|
-
font-size: 0.75rem;
|
|
179
|
-
white-space: normal;
|
|
180
176
|
}
|
|
181
177
|
|
|
182
|
-
:host(.toggle-
|
|
183
|
-
|
|
178
|
+
:host(.toggle-justify-start) .toggle-wrapper {
|
|
179
|
+
justify-content: start;
|
|
184
180
|
}
|
|
185
181
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
* present on the checkbox. Otherwise the helper text should
|
|
189
|
-
* be shown.
|
|
190
|
-
*/
|
|
191
|
-
.toggle-bottom .error-text {
|
|
192
|
-
display: none;
|
|
193
|
-
color: var(--ion-color-danger, #c5000f);
|
|
182
|
+
:host(.toggle-justify-end) .toggle-wrapper {
|
|
183
|
+
justify-content: end;
|
|
194
184
|
}
|
|
195
185
|
|
|
196
|
-
.toggle-
|
|
197
|
-
|
|
198
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
186
|
+
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
187
|
+
align-items: start;
|
|
199
188
|
}
|
|
200
189
|
|
|
201
|
-
:host(.
|
|
202
|
-
|
|
190
|
+
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
191
|
+
align-items: center;
|
|
203
192
|
}
|
|
204
193
|
|
|
205
|
-
:host(.
|
|
206
|
-
|
|
194
|
+
:host(.toggle-justify-space-between),
|
|
195
|
+
:host(.toggle-justify-start),
|
|
196
|
+
:host(.toggle-justify-end),
|
|
197
|
+
:host(.toggle-alignment-start),
|
|
198
|
+
:host(.toggle-alignment-center) {
|
|
199
|
+
display: block;
|
|
207
200
|
}
|
|
208
201
|
|
|
209
202
|
/**
|
|
@@ -232,7 +225,6 @@ input {
|
|
|
232
225
|
*/
|
|
233
226
|
:host(.toggle-label-placement-end) .toggle-wrapper {
|
|
234
227
|
flex-direction: row-reverse;
|
|
235
|
-
justify-content: start;
|
|
236
228
|
}
|
|
237
229
|
|
|
238
230
|
/**
|
|
@@ -275,7 +267,6 @@ input {
|
|
|
275
267
|
*/
|
|
276
268
|
:host(.toggle-label-placement-stacked) .toggle-wrapper {
|
|
277
269
|
flex-direction: column;
|
|
278
|
-
text-align: center;
|
|
279
270
|
}
|
|
280
271
|
|
|
281
272
|
:host(.toggle-label-placement-stacked) .label-text-wrapper {
|
|
@@ -321,34 +312,6 @@ input {
|
|
|
321
312
|
}
|
|
322
313
|
}
|
|
323
314
|
|
|
324
|
-
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
325
|
-
justify-content: space-between;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
:host(.toggle-justify-start) .toggle-wrapper {
|
|
329
|
-
justify-content: start;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
:host(.toggle-justify-end) .toggle-wrapper {
|
|
333
|
-
justify-content: end;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
337
|
-
align-items: start;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
341
|
-
align-items: center;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
:host(.toggle-justify-space-between),
|
|
345
|
-
:host(.toggle-justify-start),
|
|
346
|
-
:host(.toggle-justify-end),
|
|
347
|
-
:host(.toggle-alignment-start),
|
|
348
|
-
:host(.toggle-alignment-center) {
|
|
349
|
-
display: block;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
315
|
.toggle-icon-wrapper {
|
|
353
316
|
display: flex;
|
|
354
317
|
position: relative;
|
|
@@ -17,15 +17,10 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
17
17
|
* @part track - The background track of the toggle.
|
|
18
18
|
* @part handle - The toggle handle, or knob, used to change the checked state.
|
|
19
19
|
* @part label - The label text describing the toggle.
|
|
20
|
-
* @part supporting-text - Supporting text displayed beneath the toggle label.
|
|
21
|
-
* @part helper-text - Supporting text displayed beneath the toggle label when the toggle is valid.
|
|
22
|
-
* @part error-text - Supporting text displayed beneath the toggle label when the toggle is invalid and touched.
|
|
23
20
|
*/
|
|
24
21
|
export class Toggle {
|
|
25
22
|
constructor() {
|
|
26
23
|
this.inputId = `ion-tg-${toggleIds++}`;
|
|
27
|
-
this.helperTextId = `${this.inputId}-helper-text`;
|
|
28
|
-
this.errorTextId = `${this.inputId}-error-text`;
|
|
29
24
|
this.lastDrag = 0;
|
|
30
25
|
this.inheritedAttributes = {};
|
|
31
26
|
this.didLoad = false;
|
|
@@ -71,14 +66,11 @@ export class Toggle {
|
|
|
71
66
|
this.name = this.inputId;
|
|
72
67
|
this.checked = false;
|
|
73
68
|
this.disabled = false;
|
|
74
|
-
this.errorText = undefined;
|
|
75
|
-
this.helperText = undefined;
|
|
76
69
|
this.value = 'on';
|
|
77
70
|
this.enableOnOffLabels = config.get('toggleOnOffLabels');
|
|
78
71
|
this.labelPlacement = 'start';
|
|
79
72
|
this.justify = undefined;
|
|
80
73
|
this.alignment = undefined;
|
|
81
|
-
this.required = false;
|
|
82
74
|
}
|
|
83
75
|
disabledChanged() {
|
|
84
76
|
if (this.gesture) {
|
|
@@ -160,39 +152,13 @@ export class Toggle {
|
|
|
160
152
|
get hasLabel() {
|
|
161
153
|
return this.el.textContent !== '';
|
|
162
154
|
}
|
|
163
|
-
getHintTextID() {
|
|
164
|
-
const { el, helperText, errorText, helperTextId, errorTextId } = this;
|
|
165
|
-
if (el.classList.contains('ion-touched') && el.classList.contains('ion-invalid') && errorText) {
|
|
166
|
-
return errorTextId;
|
|
167
|
-
}
|
|
168
|
-
if (helperText) {
|
|
169
|
-
return helperTextId;
|
|
170
|
-
}
|
|
171
|
-
return undefined;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Responsible for rendering helper text and error text.
|
|
175
|
-
* This element should only be rendered if hint text is set.
|
|
176
|
-
*/
|
|
177
|
-
renderHintText() {
|
|
178
|
-
const { helperText, errorText, helperTextId, errorTextId } = this;
|
|
179
|
-
/**
|
|
180
|
-
* undefined and empty string values should
|
|
181
|
-
* be treated as not having helper/error text.
|
|
182
|
-
*/
|
|
183
|
-
const hasHintText = !!helperText || !!errorText;
|
|
184
|
-
if (!hasHintText) {
|
|
185
|
-
return;
|
|
186
|
-
}
|
|
187
|
-
return (h("div", { class: "toggle-bottom" }, h("div", { id: helperTextId, class: "helper-text", part: "supporting-text helper-text" }, helperText), h("div", { id: errorTextId, class: "error-text", part: "supporting-text error-text" }, errorText)));
|
|
188
|
-
}
|
|
189
155
|
render() {
|
|
190
|
-
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment
|
|
156
|
+
const { activated, color, checked, disabled, el, justify, labelPlacement, inputId, name, alignment } = this;
|
|
191
157
|
const mode = getIonMode(this);
|
|
192
158
|
const value = this.getValue();
|
|
193
159
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
194
160
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
195
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: '9d2a77db6d0bf36ef2452ac8b78a309943bff2b7', onClick: this.onClick, class: createColorClasses(color, {
|
|
196
162
|
[mode]: true,
|
|
197
163
|
'in-item': hostContext('ion-item', el),
|
|
198
164
|
'toggle-activated': activated,
|
|
@@ -202,10 +168,10 @@ export class Toggle {
|
|
|
202
168
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
203
169
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
204
170
|
[`toggle-${rtl}`]: true,
|
|
205
|
-
}) }, h("label", { key: '
|
|
171
|
+
}) }, h("label", { key: '079edf3636766fa423364e8e81712b83e8d5ec1c', class: "toggle-wrapper" }, h("input", Object.assign({ key: 'f822114a89c7a48480c06057c987c2d63f21a25b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) }, this.inheritedAttributes)), h("div", { key: '1029805e127d2632bafb484429fb79b244a52c57', class: {
|
|
206
172
|
'label-text-wrapper': true,
|
|
207
173
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
208
|
-
}, part: "label" }, h("slot", { key: '
|
|
174
|
+
}, part: "label" }, h("slot", { key: 'ed27634a667c5bf30561f9911a3f94f3f755028f' })), h("div", { key: '72ef6224eece08b6539fb3797e81d8817651a952', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
209
175
|
}
|
|
210
176
|
static get is() { return "ion-toggle"; }
|
|
211
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -300,40 +266,6 @@ export class Toggle {
|
|
|
300
266
|
"reflect": false,
|
|
301
267
|
"defaultValue": "false"
|
|
302
268
|
},
|
|
303
|
-
"errorText": {
|
|
304
|
-
"type": "string",
|
|
305
|
-
"mutable": false,
|
|
306
|
-
"complexType": {
|
|
307
|
-
"original": "string",
|
|
308
|
-
"resolved": "string | undefined",
|
|
309
|
-
"references": {}
|
|
310
|
-
},
|
|
311
|
-
"required": false,
|
|
312
|
-
"optional": true,
|
|
313
|
-
"docs": {
|
|
314
|
-
"tags": [],
|
|
315
|
-
"text": "Text that is placed under the toggle label and displayed when an error is detected."
|
|
316
|
-
},
|
|
317
|
-
"attribute": "error-text",
|
|
318
|
-
"reflect": false
|
|
319
|
-
},
|
|
320
|
-
"helperText": {
|
|
321
|
-
"type": "string",
|
|
322
|
-
"mutable": false,
|
|
323
|
-
"complexType": {
|
|
324
|
-
"original": "string",
|
|
325
|
-
"resolved": "string | undefined",
|
|
326
|
-
"references": {}
|
|
327
|
-
},
|
|
328
|
-
"required": false,
|
|
329
|
-
"optional": true,
|
|
330
|
-
"docs": {
|
|
331
|
-
"tags": [],
|
|
332
|
-
"text": "Text that is placed under the toggle label and displayed when no error is detected."
|
|
333
|
-
},
|
|
334
|
-
"attribute": "helper-text",
|
|
335
|
-
"reflect": false
|
|
336
|
-
},
|
|
337
269
|
"value": {
|
|
338
270
|
"type": "string",
|
|
339
271
|
"mutable": false,
|
|
@@ -421,24 +353,6 @@ export class Toggle {
|
|
|
421
353
|
},
|
|
422
354
|
"attribute": "alignment",
|
|
423
355
|
"reflect": false
|
|
424
|
-
},
|
|
425
|
-
"required": {
|
|
426
|
-
"type": "boolean",
|
|
427
|
-
"mutable": false,
|
|
428
|
-
"complexType": {
|
|
429
|
-
"original": "boolean",
|
|
430
|
-
"resolved": "boolean",
|
|
431
|
-
"references": {}
|
|
432
|
-
},
|
|
433
|
-
"required": false,
|
|
434
|
-
"optional": false,
|
|
435
|
-
"docs": {
|
|
436
|
-
"tags": [],
|
|
437
|
-
"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."
|
|
438
|
-
},
|
|
439
|
-
"attribute": "required",
|
|
440
|
-
"reflect": false,
|
|
441
|
-
"defaultValue": "false"
|
|
442
356
|
}
|
|
443
357
|
};
|
|
444
358
|
}
|
|
@@ -171,39 +171,32 @@ input {
|
|
|
171
171
|
align-items: center;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.toggle-
|
|
175
|
-
padding-top: 4px;
|
|
176
|
-
display: flex;
|
|
174
|
+
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
177
175
|
justify-content: space-between;
|
|
178
|
-
font-size: 0.75rem;
|
|
179
|
-
white-space: normal;
|
|
180
176
|
}
|
|
181
177
|
|
|
182
|
-
:host(.toggle-
|
|
183
|
-
|
|
178
|
+
:host(.toggle-justify-start) .toggle-wrapper {
|
|
179
|
+
justify-content: start;
|
|
184
180
|
}
|
|
185
181
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
* present on the checkbox. Otherwise the helper text should
|
|
189
|
-
* be shown.
|
|
190
|
-
*/
|
|
191
|
-
.toggle-bottom .error-text {
|
|
192
|
-
display: none;
|
|
193
|
-
color: var(--ion-color-danger, #c5000f);
|
|
182
|
+
:host(.toggle-justify-end) .toggle-wrapper {
|
|
183
|
+
justify-content: end;
|
|
194
184
|
}
|
|
195
185
|
|
|
196
|
-
.toggle-
|
|
197
|
-
|
|
198
|
-
color: var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));
|
|
186
|
+
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
187
|
+
align-items: start;
|
|
199
188
|
}
|
|
200
189
|
|
|
201
|
-
:host(.
|
|
202
|
-
|
|
190
|
+
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
191
|
+
align-items: center;
|
|
203
192
|
}
|
|
204
193
|
|
|
205
|
-
:host(.
|
|
206
|
-
|
|
194
|
+
:host(.toggle-justify-space-between),
|
|
195
|
+
:host(.toggle-justify-start),
|
|
196
|
+
:host(.toggle-justify-end),
|
|
197
|
+
:host(.toggle-alignment-start),
|
|
198
|
+
:host(.toggle-alignment-center) {
|
|
199
|
+
display: block;
|
|
207
200
|
}
|
|
208
201
|
|
|
209
202
|
/**
|
|
@@ -232,7 +225,6 @@ input {
|
|
|
232
225
|
*/
|
|
233
226
|
:host(.toggle-label-placement-end) .toggle-wrapper {
|
|
234
227
|
flex-direction: row-reverse;
|
|
235
|
-
justify-content: start;
|
|
236
228
|
}
|
|
237
229
|
|
|
238
230
|
/**
|
|
@@ -275,7 +267,6 @@ input {
|
|
|
275
267
|
*/
|
|
276
268
|
:host(.toggle-label-placement-stacked) .toggle-wrapper {
|
|
277
269
|
flex-direction: column;
|
|
278
|
-
text-align: center;
|
|
279
270
|
}
|
|
280
271
|
|
|
281
272
|
:host(.toggle-label-placement-stacked) .label-text-wrapper {
|
|
@@ -321,34 +312,6 @@ input {
|
|
|
321
312
|
}
|
|
322
313
|
}
|
|
323
314
|
|
|
324
|
-
:host(.toggle-justify-space-between) .toggle-wrapper {
|
|
325
|
-
justify-content: space-between;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
:host(.toggle-justify-start) .toggle-wrapper {
|
|
329
|
-
justify-content: start;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
:host(.toggle-justify-end) .toggle-wrapper {
|
|
333
|
-
justify-content: end;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
:host(.toggle-alignment-start) .toggle-wrapper {
|
|
337
|
-
align-items: start;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
:host(.toggle-alignment-center) .toggle-wrapper {
|
|
341
|
-
align-items: center;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
:host(.toggle-justify-space-between),
|
|
345
|
-
:host(.toggle-justify-start),
|
|
346
|
-
:host(.toggle-justify-end),
|
|
347
|
-
:host(.toggle-alignment-start),
|
|
348
|
-
:host(.toggle-alignment-center) {
|
|
349
|
-
display: block;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
315
|
.toggle-icon-wrapper {
|
|
353
316
|
display: flex;
|
|
354
317
|
position: relative;
|
|
@@ -12,10 +12,6 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
12
12
|
* @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.
|
|
13
13
|
* @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.
|
|
14
14
|
* @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.
|
|
15
|
-
*
|
|
16
|
-
* @part background - The background of the toolbar, covering the entire area behind the toolbar content.
|
|
17
|
-
* @part container - The container that wraps all toolbar content, including the default slot and named slot content.
|
|
18
|
-
* @part content - The container for the default slot, wrapping content provided without a named slot.
|
|
19
15
|
*/
|
|
20
16
|
export class Toolbar {
|
|
21
17
|
constructor() {
|
|
@@ -66,10 +62,10 @@ export class Toolbar {
|
|
|
66
62
|
this.childrenStyles.forEach((value) => {
|
|
67
63
|
Object.assign(childStyles, value);
|
|
68
64
|
});
|
|
69
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '462538a5ecd01baf3cde116c9f029aeda26c81be', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
70
66
|
[mode]: true,
|
|
71
67
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
72
|
-
})) }, h("div", { key: '
|
|
68
|
+
})) }, h("div", { key: 'c0b4415d3b2472de643a9be7cb3b13b3b628621b', class: "toolbar-background" }), h("div", { key: '0ccb8a2dbeaa28d8f9bed87629c0c097446690c2', class: "toolbar-container" }, h("slot", { key: '3e726dac359e923df21d80301651f16063a3de20', name: "start" }), h("slot", { key: 'cd799330b56a7f8833bc61bb2807aafb21846f71', name: "secondary" }), h("div", { key: '395282e6ac8c53576922dcdb5f08c25d34638c86', class: "toolbar-content" }, h("slot", { key: 'a437c60e4ba5aae65e55169ae82a6f379868ec1d' })), h("slot", { key: '711af9b9d321a7b31ede924c9bdcad767aa9a1ca', name: "primary" }), h("slot", { key: 'ecc02edeaf80a837890bcb08d5096df1e22a0b9a', name: "end" }))));
|
|
73
69
|
}
|
|
74
70
|
static get is() { return "ion-toolbar"; }
|
|
75
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { config } from "../../global/config";
|
|
5
4
|
/**
|
|
6
5
|
* Logs a warning to the console with an Ionic prefix
|
|
7
6
|
* to indicate the library that is warning the developer.
|
|
@@ -9,12 +8,9 @@ import { config } from "../../global/config";
|
|
|
9
8
|
* @param message - The string message to be logged to the console.
|
|
10
9
|
*/
|
|
11
10
|
export const printIonWarning = (message, ...params) => {
|
|
12
|
-
|
|
13
|
-
if (["WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
14
|
-
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
15
|
-
}
|
|
11
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
|
16
12
|
};
|
|
17
|
-
|
|
13
|
+
/*
|
|
18
14
|
* Logs an error to the console with an Ionic prefix
|
|
19
15
|
* to indicate the library that is warning the developer.
|
|
20
16
|
*
|
|
@@ -22,10 +18,7 @@ export const printIonWarning = (message, ...params) => {
|
|
|
22
18
|
* @param params - Additional arguments to supply to the console.error.
|
|
23
19
|
*/
|
|
24
20
|
export const printIonError = (message, ...params) => {
|
|
25
|
-
|
|
26
|
-
if (["ERROR" /* LogLevel.ERROR */, "WARN" /* LogLevel.WARN */].includes(logLevel)) {
|
|
27
|
-
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
28
|
-
}
|
|
21
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
|
29
22
|
};
|
|
30
23
|
/**
|
|
31
24
|
* Prints an error informing developers that an implementation requires an element to be used
|