@ionic/core 8.0.0-dev.11711734184.18e3ccbf → 8.0.0-dev.11712072527.1dd97c66
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/ion-content.js +6 -4
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +2 -2
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-header.js +2 -2
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +8 -4
- 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-modal.js +3 -3
- 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 +3 -3
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- 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 +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/ion-toolbar.js +2 -2
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/css/palettes/dark.always.css +57 -108
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css +57 -108
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css +57 -108
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +14 -13
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +7 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- 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_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/content/content.js +23 -4
- package/dist/collection/components/content/test/content.spec.js +27 -0
- package/dist/collection/components/datetime/datetime.js +2 -2
- package/dist/collection/components/datetime-button/datetime-button.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +24 -4
- package/dist/collection/components/input/test/input.spec.js +13 -0
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- 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/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +3 -3
- 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/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- 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 -1
- 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 +3 -3
- package/dist/collection/components/select/select.js +2 -2
- 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.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/themes/test/colors/theme.e2e.js +1 -3
- package/dist/docs.json +52 -1
- package/dist/esm/ion-app_8.entry.js +14 -13
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +6 -6
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +7 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +3 -3
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- 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_2.entry.js +5 -5
- package/dist/esm/ion-select_3.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.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-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_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/loader.js +1 -1
- package/dist/html.html-data.json +16 -0
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-07c88a2e.entry.js +4 -0
- package/dist/ionic/p-0d189eaf.entry.js +4 -0
- package/dist/ionic/{p-43505ff8.system.entry.js → p-0fad7a2d.system.entry.js} +1 -1
- package/dist/ionic/{p-49b6fee0.system.entry.js → p-10ad2148.system.entry.js} +1 -1
- package/dist/ionic/{p-3d6e882f.system.entry.js → p-1361399b.system.entry.js} +1 -1
- package/dist/ionic/{p-a1f9f629.system.entry.js → p-14700c11.system.entry.js} +1 -1
- package/dist/ionic/p-159a5b6a.system.entry.js +4 -0
- package/dist/ionic/{p-c8f2b769.entry.js → p-16dc1af8.entry.js} +1 -1
- package/dist/ionic/{p-d8067ea4.system.entry.js → p-17050343.system.entry.js} +1 -1
- package/dist/ionic/{p-c9c39c98.system.entry.js → p-18609ea3.system.entry.js} +1 -1
- package/dist/ionic/{p-83321ee8.entry.js → p-1bd294a2.entry.js} +1 -1
- package/dist/ionic/{p-0bbb6edf.system.entry.js → p-23a94a8e.system.entry.js} +1 -1
- package/dist/ionic/{p-d8f66669.entry.js → p-23e0649d.entry.js} +1 -1
- package/dist/ionic/{p-99daf8b7.entry.js → p-240cac05.entry.js} +1 -1
- package/dist/ionic/{p-c04d5a75.entry.js → p-2d5e919f.entry.js} +1 -1
- package/dist/ionic/{p-c41af68a.entry.js → p-3001b2f5.entry.js} +1 -1
- package/dist/ionic/{p-6f4db5ce.system.entry.js → p-34272b1f.system.entry.js} +1 -1
- package/dist/ionic/{p-ea2c16b5.system.entry.js → p-37ed0807.system.entry.js} +2 -2
- package/dist/ionic/{p-7fc505bf.entry.js → p-3d72cae3.entry.js} +1 -1
- package/dist/ionic/{p-3e3b34f7.system.entry.js → p-4264f999.system.entry.js} +1 -1
- package/dist/ionic/{p-1f9cdee2.entry.js → p-4665ab20.entry.js} +1 -1
- package/dist/ionic/{p-f0392d49.entry.js → p-4861159f.entry.js} +1 -1
- package/dist/ionic/p-4e6ddce7.entry.js +4 -0
- package/dist/ionic/{p-8e9ac22d.entry.js → p-4e802677.entry.js} +1 -1
- package/dist/ionic/{p-896111fa.entry.js → p-512cdc37.entry.js} +1 -1
- package/dist/ionic/{p-ff2323ba.system.entry.js → p-5278521a.system.entry.js} +2 -2
- package/dist/ionic/{p-c198e1e1.system.entry.js → p-54f52179.system.entry.js} +1 -1
- package/dist/ionic/{p-75280815.entry.js → p-55d7edd7.entry.js} +1 -1
- package/dist/ionic/{p-aa110ca0.system.entry.js → p-587643a6.system.entry.js} +1 -1
- package/dist/ionic/{p-0f2d99a6.entry.js → p-5eafecd8.entry.js} +1 -1
- package/dist/ionic/{p-17978fce.entry.js → p-61aa1ba6.entry.js} +1 -1
- package/dist/ionic/{p-04070329.system.entry.js → p-64714af0.system.entry.js} +1 -1
- package/dist/ionic/{p-1672c4fd.system.entry.js → p-65e0d04e.system.entry.js} +2 -2
- package/dist/ionic/{p-5b1273f4.system.entry.js → p-69c8ec2a.system.entry.js} +1 -1
- package/dist/ionic/{p-35b9e842.entry.js → p-6c3c02d4.entry.js} +1 -1
- package/dist/ionic/{p-352f7037.system.entry.js → p-715d10d2.system.entry.js} +1 -1
- package/dist/ionic/{p-ab85debb.entry.js → p-727255c2.entry.js} +1 -1
- package/dist/ionic/{p-0ebb1fe7.system.entry.js → p-7820f3ab.system.entry.js} +1 -1
- package/dist/ionic/{p-fda4872f.entry.js → p-784d54d4.entry.js} +1 -1
- package/dist/ionic/{p-dc1372e0.entry.js → p-81c91374.entry.js} +1 -1
- package/dist/ionic/{p-716ab5f8.system.entry.js → p-8337ce33.system.entry.js} +1 -1
- package/dist/ionic/p-8370ef82.entry.js +4 -0
- package/dist/ionic/{p-07ae133d.system.entry.js → p-83b6da7c.system.entry.js} +1 -1
- package/dist/ionic/{p-51b68ec9.system.entry.js → p-8a6e15fc.system.entry.js} +1 -1
- package/dist/ionic/p-8b19c120.entry.js +4 -0
- package/dist/ionic/{p-e955bf61.entry.js → p-8bbc7271.entry.js} +1 -1
- package/dist/ionic/{p-35722bba.system.entry.js → p-8e2368ae.system.entry.js} +1 -1
- package/dist/ionic/{p-fbd30ec7.entry.js → p-92210d07.entry.js} +1 -1
- package/dist/ionic/p-95bc0add.system.entry.js +4 -0
- package/dist/ionic/p-9a45140d.system.entry.js +4 -0
- package/dist/ionic/{p-0aa4682e.entry.js → p-9ce13bcc.entry.js} +1 -1
- package/dist/ionic/{p-58ea73f7.system.entry.js → p-9d9f20ce.system.entry.js} +1 -1
- package/dist/ionic/{p-a1b4e619.system.entry.js → p-9e8cf5a2.system.entry.js} +1 -1
- package/dist/ionic/{p-2e12bda2.entry.js → p-a70c90d8.entry.js} +1 -1
- package/dist/ionic/{p-fb97326f.system.entry.js → p-ac6dd92b.system.entry.js} +1 -1
- package/dist/ionic/{p-eb3da535.system.entry.js → p-aeb5a22b.system.entry.js} +1 -1
- package/dist/ionic/{p-7df2c495.entry.js → p-b75155ca.entry.js} +1 -1
- package/dist/ionic/{p-a88fdfac.entry.js → p-be9f56eb.entry.js} +1 -1
- package/dist/ionic/{p-4196b2d1.system.entry.js → p-bf4609f9.system.entry.js} +1 -1
- package/dist/ionic/{p-049fa018.system.entry.js → p-c06e1332.system.entry.js} +1 -1
- package/dist/ionic/{p-fb02eeec.system.entry.js → p-c373bd37.system.entry.js} +1 -1
- package/dist/ionic/{p-9540561f.entry.js → p-c389d18c.entry.js} +1 -1
- package/dist/ionic/{p-d98c0112.entry.js → p-c872fcd2.entry.js} +1 -1
- package/dist/ionic/{p-5da04d11.entry.js → p-c8db6adb.entry.js} +1 -1
- package/dist/ionic/p-cec3bebe.entry.js +4 -0
- package/dist/ionic/{p-76907c2f.system.entry.js → p-d104ba38.system.entry.js} +1 -1
- package/dist/ionic/{p-3391d9a3.entry.js → p-d2b175d3.entry.js} +1 -1
- package/dist/ionic/{p-4429fc97.system.entry.js → p-d68569fe.system.entry.js} +1 -1
- package/dist/ionic/{p-100bedc4.system.entry.js → p-d8ebc853.system.entry.js} +1 -1
- package/dist/ionic/{p-df6fa126.entry.js → p-de3c33f3.entry.js} +1 -1
- package/dist/ionic/p-e350ab4a.entry.js +4 -0
- package/dist/ionic/p-ea4be6ac.system.js +1 -1
- package/dist/ionic/{p-8bd567ba.system.entry.js → p-ea6f36fb.system.entry.js} +1 -1
- package/dist/ionic/{p-1cff9cad.entry.js → p-f6f4f694.entry.js} +1 -1
- package/dist/ionic/{p-e8a0e731.entry.js → p-f96f7d38.entry.js} +1 -1
- package/dist/ionic/{p-68a1e274.system.entry.js → p-fb16b850.system.entry.js} +1 -1
- package/dist/ionic/{p-c1d1d004.system.entry.js → p-fb1ee785.system.entry.js} +1 -1
- package/dist/types/components/content/content.d.ts +8 -0
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components.d.ts +16 -0
- package/hydrate/index.js +132 -126
- package/package.json +1 -1
- package/dist/ionic/p-0de546bb.entry.js +0 -4
- package/dist/ionic/p-596e0cf8.system.entry.js +0 -4
- package/dist/ionic/p-5ae49f12.entry.js +0 -4
- package/dist/ionic/p-5d3f6707.entry.js +0 -4
- package/dist/ionic/p-5fa8587e.system.entry.js +0 -4
- package/dist/ionic/p-69bc14fd.entry.js +0 -4
- package/dist/ionic/p-89b59bd7.entry.js +0 -4
- package/dist/ionic/p-ac9f44a8.system.entry.js +0 -4
- package/dist/ionic/p-df48edd6.entry.js +0 -4
- package/dist/ionic/p-f818b01a.entry.js +0 -4
|
@@ -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: 'af95e7123b3d39110425c16cb4f7f8efb1ee1536', 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: '54efce3d5769fb3de297a6d534dc87d57f365004', class: "toolbar-title" }, h("slot", { key: 'f7ed25c6b178cad1840e35e81e3eeeca3aacea3f' }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "ion-title"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -388,9 +388,9 @@ export class Toast {
|
|
|
388
388
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
389
389
|
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);
|
|
390
390
|
}
|
|
391
|
-
return (h(Host, Object.assign({ key: '
|
|
391
|
+
return (h(Host, Object.assign({ key: '45b52c210cc3e9ac130f695f29b03d771959f64f', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
392
392
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
393
|
-
}, 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: '
|
|
393
|
+
}, 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: '10f25e094028f4855828ba2e04e71445b05198eb', class: wrapperClass }, h("div", { key: 'a1312a8878dd8a02798de0a1f136d03c287a34a8', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (h("ion-icon", { class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), h("div", { key: '0f19c24f130c04ff41a3098bf6d9b17e2c8a2d12', 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')))));
|
|
394
394
|
}
|
|
395
395
|
static get is() { return "ion-toast"; }
|
|
396
396
|
static get encapsulation() { return "shadow"; }
|
|
@@ -157,7 +157,7 @@ export class Toggle {
|
|
|
157
157
|
const value = this.getValue();
|
|
158
158
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
159
159
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'f90c95348f1251c077187f0d30f6f4a5198cde68', onClick: this.onClick, class: createColorClasses(color, {
|
|
161
161
|
[mode]: true,
|
|
162
162
|
'in-item': hostContext('ion-item', el),
|
|
163
163
|
'toggle-activated': activated,
|
|
@@ -167,10 +167,10 @@ export class Toggle {
|
|
|
167
167
|
[`toggle-alignment-${alignment}`]: true,
|
|
168
168
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
169
169
|
[`toggle-${rtl}`]: true,
|
|
170
|
-
}) }, h("label", { key: '
|
|
170
|
+
}) }, h("label", { key: '3b86ca8cc4a19b6bc17784cd01fcb7697c58d108', class: "toggle-wrapper" }, h("input", Object.assign({ key: '3773acdfdfe5263517980f19a698bdbb572a68eb', 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: 'bb10a95f701d5f9c343c7d46a5bb690ee42eaa1d', class: {
|
|
171
171
|
'label-text-wrapper': true,
|
|
172
172
|
'label-text-wrapper-hidden': !this.hasLabel,
|
|
173
|
-
}, part: "label" }, h("slot", { key: '
|
|
173
|
+
}, part: "label" }, h("slot", { key: '7ff69b1184f0abbefdb9642400885baf3b2abd38' })), h("div", { key: '3df2f297d9c0b53e7997841b822845af7ad6a058', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
174
174
|
}
|
|
175
175
|
static get is() { return "ion-toggle"; }
|
|
176
176
|
static get encapsulation() { return "shadow"; }
|
|
@@ -62,10 +62,10 @@ export class Toolbar {
|
|
|
62
62
|
this.childrenStyles.forEach((value) => {
|
|
63
63
|
Object.assign(childStyles, value);
|
|
64
64
|
});
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'f72d6a7ed20c88ba15d64050acfc20f320569862', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
66
66
|
[mode]: true,
|
|
67
67
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
68
|
-
})) }, h("div", { key: '
|
|
68
|
+
})) }, h("div", { key: 'ccf18eea9756ca56ca828b05bd3f86cf8a32e24c', class: "toolbar-background" }), h("div", { key: '1fa699d8e17f57b42a52d47a1bdb793f2cbbfe5d', class: "toolbar-container" }, h("slot", { key: 'ef4d877bad0918eefdc67fa7aa258024a58d26ef', name: "start" }), h("slot", { key: '41858db7a8d58c9165952c9336731d621ec3c2b8', name: "secondary" }), h("div", { key: '577770b9346b48a0fa1412cbdbd9393d553d2286', class: "toolbar-content" }, h("slot", { key: 'ae47b29e1f7d2c3dde7a170c9737b48f075139c2' })), h("slot", { key: 'cfbf7879daf1a38fee434335abff936d8f3690e0', name: "primary" }), h("slot", { key: 'ed3a66248f43e0749f6aef9fb78ea4f5034c0774', name: "end" }))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "ion-toolbar"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,10 +49,8 @@ const styleTestHelpers = `
|
|
|
49
49
|
* 5) The base color as the text color against the base color at 0.08 opacity as the background color
|
|
50
50
|
* 6) The base color as the text color against the base color at 0.12 opacity as the background color
|
|
51
51
|
* 7) The base color as the text color against the base color at 0.16 opacity as the background color
|
|
52
|
-
*
|
|
53
|
-
* Important: We test both modes because the dark palette colors differ on iOS and MD.
|
|
54
52
|
*/
|
|
55
|
-
configs({ directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ config, title }) => {
|
|
53
|
+
configs({ modes: ['md'], directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ config, title }) => {
|
|
56
54
|
const colors = ['primary', 'secondary', 'tertiary', 'success', 'warning', 'danger', 'light', 'medium', 'dark'];
|
|
57
55
|
test.describe(title('theme'), () => {
|
|
58
56
|
test.beforeEach(({ skip }) => {
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2024-
|
|
2
|
+
"timestamp": "2024-04-02T15:44:28",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.13.0",
|
|
@@ -6309,6 +6309,33 @@
|
|
|
6309
6309
|
"optional": true,
|
|
6310
6310
|
"required": false
|
|
6311
6311
|
},
|
|
6312
|
+
{
|
|
6313
|
+
"name": "fixedSlotPlacement",
|
|
6314
|
+
"type": "\"after\" | \"before\"",
|
|
6315
|
+
"complexType": {
|
|
6316
|
+
"original": "'after' | 'before'",
|
|
6317
|
+
"resolved": "\"after\" | \"before\"",
|
|
6318
|
+
"references": {}
|
|
6319
|
+
},
|
|
6320
|
+
"mutable": false,
|
|
6321
|
+
"attr": "fixed-slot-placement",
|
|
6322
|
+
"reflectToAttr": false,
|
|
6323
|
+
"docs": "Controls where the fixed content is placed relative to the main content\nin the DOM. This can be used to control the order in which fixed elements\nreceive keyboard focus.\nFor example, if a FAB in the fixed slot should receive keyboard focus before\nthe main page content, set this property to `'before'`.",
|
|
6324
|
+
"docsTags": [],
|
|
6325
|
+
"default": "'after'",
|
|
6326
|
+
"values": [
|
|
6327
|
+
{
|
|
6328
|
+
"value": "after",
|
|
6329
|
+
"type": "string"
|
|
6330
|
+
},
|
|
6331
|
+
{
|
|
6332
|
+
"value": "before",
|
|
6333
|
+
"type": "string"
|
|
6334
|
+
}
|
|
6335
|
+
],
|
|
6336
|
+
"optional": false,
|
|
6337
|
+
"required": false
|
|
6338
|
+
},
|
|
6312
6339
|
{
|
|
6313
6340
|
"name": "forceOverscroll",
|
|
6314
6341
|
"type": "boolean | undefined",
|
|
@@ -10073,6 +10100,30 @@
|
|
|
10073
10100
|
"optional": false,
|
|
10074
10101
|
"required": false
|
|
10075
10102
|
},
|
|
10103
|
+
{
|
|
10104
|
+
"name": "clearInputIcon",
|
|
10105
|
+
"type": "string | undefined",
|
|
10106
|
+
"complexType": {
|
|
10107
|
+
"original": "string",
|
|
10108
|
+
"resolved": "string | undefined",
|
|
10109
|
+
"references": {}
|
|
10110
|
+
},
|
|
10111
|
+
"mutable": false,
|
|
10112
|
+
"attr": "clear-input-icon",
|
|
10113
|
+
"reflectToAttr": false,
|
|
10114
|
+
"docs": "The icon to use for the clear button. Only applies when `clearInput` is set to `true`.",
|
|
10115
|
+
"docsTags": [],
|
|
10116
|
+
"values": [
|
|
10117
|
+
{
|
|
10118
|
+
"type": "string"
|
|
10119
|
+
},
|
|
10120
|
+
{
|
|
10121
|
+
"type": "undefined"
|
|
10122
|
+
}
|
|
10123
|
+
],
|
|
10124
|
+
"optional": true,
|
|
10125
|
+
"required": false
|
|
10126
|
+
},
|
|
10076
10127
|
{
|
|
10077
10128
|
"name": "clearOnEdit",
|
|
10078
10129
|
"type": "boolean | undefined",
|
|
@@ -184,6 +184,7 @@ const Content = class {
|
|
|
184
184
|
};
|
|
185
185
|
this.color = undefined;
|
|
186
186
|
this.fullscreen = false;
|
|
187
|
+
this.fixedSlotPlacement = 'after';
|
|
187
188
|
this.forceOverscroll = undefined;
|
|
188
189
|
this.scrollX = false;
|
|
189
190
|
this.scrollY = true;
|
|
@@ -465,13 +466,13 @@ const Content = class {
|
|
|
465
466
|
}
|
|
466
467
|
}
|
|
467
468
|
render() {
|
|
468
|
-
const { isMainContent, scrollX, scrollY, el } = this;
|
|
469
|
+
const { fixedSlotPlacement, isMainContent, scrollX, scrollY, el } = this;
|
|
469
470
|
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
|
470
471
|
const mode = getIonMode(this);
|
|
471
472
|
const forceOverscroll = this.shouldForceOverscroll();
|
|
472
473
|
const transitionShadow = mode === 'ios';
|
|
473
474
|
this.resize();
|
|
474
|
-
return (h(Host, { key: '
|
|
475
|
+
return (h(Host, { key: 'ff21c25f4ad5d668e04b45d4f5278c3f0bbdee4e', role: isMainContent ? 'main' : undefined, class: createColorClasses(this.color, {
|
|
475
476
|
[mode]: true,
|
|
476
477
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
477
478
|
overscroll: forceOverscroll,
|
|
@@ -479,12 +480,12 @@ const Content = class {
|
|
|
479
480
|
}), style: {
|
|
480
481
|
'--offset-top': `${this.cTop}px`,
|
|
481
482
|
'--offset-bottom': `${this.cBottom}px`,
|
|
482
|
-
} }, h("div", { key: '
|
|
483
|
+
} }, h("div", { key: 'a0781a593ec14977240318c1268971612f990edf', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? h("slot", { name: "fixed" }) : null, h("div", { key: '216bfc31280b7c3b4cbcd54edc4caab01f60b463', class: {
|
|
483
484
|
'inner-scroll': true,
|
|
484
485
|
'scroll-x': scrollX,
|
|
485
486
|
'scroll-y': scrollY,
|
|
486
487
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
487
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: '
|
|
488
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", { key: 'ac6f8ce8da08a5a55e6f1cfc77b07d4f2e1e5dda' })), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? h("slot", { name: "fixed" }) : null));
|
|
488
489
|
}
|
|
489
490
|
get el() { return getElement(this); }
|
|
490
491
|
};
|
|
@@ -652,7 +653,7 @@ const Footer = class {
|
|
|
652
653
|
const mode = getIonMode(this);
|
|
653
654
|
const tabs = this.el.closest('ion-tabs');
|
|
654
655
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
655
|
-
return (h(Host, { key: '
|
|
656
|
+
return (h(Host, { key: 'b8b57c6d3ffcb100330c0f19f1f567db89569efd', role: "contentinfo", class: {
|
|
656
657
|
[mode]: true,
|
|
657
658
|
// Used internally for styling
|
|
658
659
|
[`footer-${mode}`]: true,
|
|
@@ -660,7 +661,7 @@ const Footer = class {
|
|
|
660
661
|
[`footer-translucent-${mode}`]: translucent,
|
|
661
662
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
662
663
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
663
|
-
} }, mode === 'ios' && translucent && h("div", { class: "footer-background" }), h("slot", { key: '
|
|
664
|
+
} }, mode === 'ios' && translucent && h("div", { class: "footer-background" }), h("slot", { key: 'a9f465cbd6100ba16fd1e02e382997ac87303bb7' })));
|
|
664
665
|
}
|
|
665
666
|
get el() { return getElement(this); }
|
|
666
667
|
};
|
|
@@ -982,14 +983,14 @@ const Header = class {
|
|
|
982
983
|
const collapse = this.collapse || 'none';
|
|
983
984
|
// banner role must be at top level, so remove role if inside a menu
|
|
984
985
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
985
|
-
return (h(Host, Object.assign({ key: '
|
|
986
|
+
return (h(Host, Object.assign({ key: '37ded46927283f6aa2c2b069510e37d427a908ad', role: roleType, class: {
|
|
986
987
|
[mode]: true,
|
|
987
988
|
// Used internally for styling
|
|
988
989
|
[`header-${mode}`]: true,
|
|
989
990
|
[`header-translucent`]: this.translucent,
|
|
990
991
|
[`header-collapse-${collapse}`]: true,
|
|
991
992
|
[`header-translucent-${mode}`]: this.translucent,
|
|
992
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && h("div", { class: "header-background" }), h("slot", { key: '
|
|
993
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && h("div", { class: "header-background" }), h("slot", { key: '3d25f5606e297ba9e0fea3c2fe0d7da542089075' })));
|
|
993
994
|
}
|
|
994
995
|
get el() { return getElement(this); }
|
|
995
996
|
};
|
|
@@ -1173,7 +1174,7 @@ const RouterOutlet = class {
|
|
|
1173
1174
|
return true;
|
|
1174
1175
|
}
|
|
1175
1176
|
render() {
|
|
1176
|
-
return h("slot", { key: '
|
|
1177
|
+
return h("slot", { key: 'b90c776f7924a88b1b36befe7e6f8943fc20dfe3' });
|
|
1177
1178
|
}
|
|
1178
1179
|
get el() { return getElement(this); }
|
|
1179
1180
|
static get watchers() { return {
|
|
@@ -1213,11 +1214,11 @@ const ToolbarTitle = class {
|
|
|
1213
1214
|
render() {
|
|
1214
1215
|
const mode = getIonMode(this);
|
|
1215
1216
|
const size = this.getSize();
|
|
1216
|
-
return (h(Host, { key: '
|
|
1217
|
+
return (h(Host, { key: 'af95e7123b3d39110425c16cb4f7f8efb1ee1536', class: createColorClasses(this.color, {
|
|
1217
1218
|
[mode]: true,
|
|
1218
1219
|
[`title-${size}`]: true,
|
|
1219
1220
|
'title-rtl': document.dir === 'rtl',
|
|
1220
|
-
}) }, h("div", { key: '
|
|
1221
|
+
}) }, h("div", { key: '54efce3d5769fb3de297a6d534dc87d57f365004', class: "toolbar-title" }, h("slot", { key: 'f7ed25c6b178cad1840e35e81e3eeeca3aacea3f' }))));
|
|
1221
1222
|
}
|
|
1222
1223
|
get el() { return getElement(this); }
|
|
1223
1224
|
static get watchers() { return {
|
|
@@ -1285,10 +1286,10 @@ const Toolbar = class {
|
|
|
1285
1286
|
this.childrenStyles.forEach((value) => {
|
|
1286
1287
|
Object.assign(childStyles, value);
|
|
1287
1288
|
});
|
|
1288
|
-
return (h(Host, { key: '
|
|
1289
|
+
return (h(Host, { key: 'f72d6a7ed20c88ba15d64050acfc20f320569862', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
1289
1290
|
[mode]: true,
|
|
1290
1291
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1291
|
-
})) }, h("div", { key: '
|
|
1292
|
+
})) }, h("div", { key: 'ccf18eea9756ca56ca828b05bd3f86cf8a32e24c', class: "toolbar-background" }), h("div", { key: '1fa699d8e17f57b42a52d47a1bdb793f2cbbfe5d', class: "toolbar-container" }, h("slot", { key: 'ef4d877bad0918eefdc67fa7aa258024a58d26ef', name: "start" }), h("slot", { key: '41858db7a8d58c9165952c9336731d621ec3c2b8', name: "secondary" }), h("div", { key: '577770b9346b48a0fa1412cbdbd9393d553d2286', class: "toolbar-content" }, h("slot", { key: 'ae47b29e1f7d2c3dde7a170c9737b48f075139c2' })), h("slot", { key: 'cfbf7879daf1a38fee434335abff936d8f3690e0', name: "primary" }), h("slot", { key: 'ed3a66248f43e0749f6aef9fb78ea4f5034c0774', name: "end" }))));
|
|
1292
1293
|
}
|
|
1293
1294
|
get el() { return getElement(this); }
|
|
1294
1295
|
};
|
|
@@ -55,7 +55,7 @@ const Thumbnail = class {
|
|
|
55
55
|
registerInstance(this, hostRef);
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '68bac4e80f5d27131690fd20dfabff2618743206', class: getIonMode(this) }, h("slot", { key: '89f46a686288428391cdfaef3384824751ae3d05' })));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
Thumbnail.style = IonThumbnailStyle0;
|
|
@@ -153,10 +153,10 @@ const Grid = class {
|
|
|
153
153
|
}
|
|
154
154
|
render() {
|
|
155
155
|
const mode = getIonMode(this);
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: 'd240212314811650765ac22936da13b0a92680b8', class: {
|
|
157
157
|
[mode]: true,
|
|
158
158
|
'grid-fixed': this.fixed,
|
|
159
|
-
} }, h("slot", { key: '
|
|
159
|
+
} }, h("slot", { key: 'd0b55fd347db2b2f92805975c61da093c762c26d' })));
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
Grid.style = IonGridStyle0;
|
|
@@ -169,7 +169,7 @@ const Row = class {
|
|
|
169
169
|
registerInstance(this, hostRef);
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: 'e52c499804f7bebc1c4ab8fb69ef1b452eae58c1', class: getIonMode(this) }, h("slot", { key: '7808e8156601912e0192fe0b74bdedda2c359e1c' })));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
Row.style = IonRowStyle0;
|
|
@@ -334,7 +334,7 @@ const DatetimeButton = class {
|
|
|
334
334
|
render() {
|
|
335
335
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
336
336
|
const mode = getIonMode(this);
|
|
337
|
-
return (h(Host, { key: '
|
|
337
|
+
return (h(Host, { key: '49854fc8a4b9875194c1537d0b3b59459e39606f', class: createColorClasses(color, {
|
|
338
338
|
[mode]: true,
|
|
339
339
|
[`${selectedButton}-active`]: datetimeActive,
|
|
340
340
|
['datetime-button-disabled']: disabled,
|
|
@@ -1758,7 +1758,7 @@ const Datetime = class {
|
|
|
1758
1758
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1759
1759
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1760
1760
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1761
|
-
return (h(Host, { key: '
|
|
1761
|
+
return (h(Host, { key: '89de4c9f54e7c11038c62ecaa2e90aea47948393', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1762
1762
|
[mode]: true,
|
|
1763
1763
|
['datetime-readonly']: readonly,
|
|
1764
1764
|
['datetime-disabled']: disabled,
|
|
@@ -1768,7 +1768,7 @@ const Datetime = class {
|
|
|
1768
1768
|
[`datetime-size-${size}`]: true,
|
|
1769
1769
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1770
1770
|
[`datetime-grid`]: isGridStyle,
|
|
1771
|
-
})) }, h("div", { key: '
|
|
1771
|
+
})) }, h("div", { key: 'b9de6cc68dc7b7773bb408fd55a7d1872460a5f9', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
1772
1772
|
}
|
|
1773
1773
|
get el() { return getElement(this); }
|
|
1774
1774
|
static get watchers() { return {
|
|
@@ -2020,11 +2020,11 @@ const Picker = class {
|
|
|
2020
2020
|
render() {
|
|
2021
2021
|
const { htmlAttributes } = this;
|
|
2022
2022
|
const mode = getIonMode(this);
|
|
2023
|
-
return (h(Host, Object.assign({ key: '
|
|
2023
|
+
return (h(Host, Object.assign({ key: '1cf2f8a25a3eca7ac59eff969803c85540f102fc', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2024
2024
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2025
2025
|
}, class: Object.assign({ [mode]: true,
|
|
2026
2026
|
// Used internally for styling
|
|
2027
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
2027
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '3a70c7c6e0457afda2e9ef4619cb253b583b7805', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '4c90cf7dfeb9d2bdb5e947739864dbc2d1e327e0', tabindex: "0" }), h("div", { key: '050098ced341fd86bfcd72595b1f7a52c3b01b46', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: 'b0d9420fb053d0c71af04c88224a38f804fd99ba', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '82cd2788c394079cb8843c240c17e3629eef0953', class: "picker-columns" }, h("div", { key: '34d2ce59e88b5967e52fe8077ef3a151c6ce38e5', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'b604b101bc0006efc246aea9320d9f44419c531f', class: "picker-below-highlight" }))), h("div", { key: '70437d735b009386b4f5ae250b555c039c366183', tabindex: "0" })));
|
|
2028
2028
|
}
|
|
2029
2029
|
get el() { return getElement(this); }
|
|
2030
2030
|
static get watchers() { return {
|
|
@@ -2381,9 +2381,9 @@ const PickerColumnCmp = class {
|
|
|
2381
2381
|
render() {
|
|
2382
2382
|
const col = this.col;
|
|
2383
2383
|
const mode = getIonMode(this);
|
|
2384
|
-
return (h(Host, { key: '
|
|
2384
|
+
return (h(Host, { key: '0337ac8379be177501b8d61f0ac0f68ecbb8344d', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
2385
2385
|
'max-width': this.col.columnWidth,
|
|
2386
|
-
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '
|
|
2386
|
+
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '013ba8ea1c2fe4fe717386b9cc87484913c234f7', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2387
2387
|
}
|
|
2388
2388
|
get el() { return getElement(this); }
|
|
2389
2389
|
static get watchers() { return {
|
|
@@ -55,12 +55,12 @@ const Fab = class {
|
|
|
55
55
|
render() {
|
|
56
56
|
const { horizontal, vertical, edge } = this;
|
|
57
57
|
const mode = getIonMode(this);
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '8d10537e35f518b03a840de9a0fbe7973abc4290', class: {
|
|
59
59
|
[mode]: true,
|
|
60
60
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
61
61
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
62
62
|
'fab-edge': edge,
|
|
63
|
-
} }, h("slot", { key: '
|
|
63
|
+
} }, h("slot", { key: '77331bf85f939b20ff14886f0a8b0f13c5ca392a' })));
|
|
64
64
|
}
|
|
65
65
|
get el() { return getElement(this); }
|
|
66
66
|
static get watchers() { return {
|
|
@@ -129,7 +129,7 @@ const FabButton = class {
|
|
|
129
129
|
rel: this.rel,
|
|
130
130
|
target: this.target,
|
|
131
131
|
};
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: 'bc00fdb39e41787a3b4c53aededfc32485ee9211', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
133
133
|
[mode]: true,
|
|
134
134
|
'fab-button-in-list': inList,
|
|
135
135
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -140,7 +140,7 @@ const FabButton = class {
|
|
|
140
140
|
'ion-activatable': true,
|
|
141
141
|
'ion-focusable': true,
|
|
142
142
|
[`fab-button-${size}`]: size !== undefined,
|
|
143
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
143
|
+
}) }, h(TagType, Object.assign({ key: 'fe13b3e19638177b516e6e530e6ff0b745856481' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '210e4a3cd39e0ff6fc300eeaafa3a9330a9dc73f', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'c6547612ff58a1e46bae2e91302b6b86a49d6429', class: "button-inner" }, h("slot", { key: '48abc7e6a27391f2595eeddf9abd8d16c0a86630' })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
144
144
|
}
|
|
145
145
|
get el() { return getElement(this); }
|
|
146
146
|
};
|
|
@@ -168,11 +168,11 @@ const FabList = class {
|
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
170
|
const mode = getIonMode(this);
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: 'ccce297302fa14d6ce0646d4bb14a74e71d68cb9', class: {
|
|
172
172
|
[mode]: true,
|
|
173
173
|
'fab-list-active': this.activated,
|
|
174
174
|
[`fab-list-side-${this.side}`]: true,
|
|
175
|
-
} }, h("slot", { key: '
|
|
175
|
+
} }, h("slot", { key: '9007d178411ea80db29d2034473e3f9d61157fa1' })));
|
|
176
176
|
}
|
|
177
177
|
get el() { return getElement(this); }
|
|
178
178
|
static get watchers() { return {
|
|
@@ -76,7 +76,7 @@ const Img = class {
|
|
|
76
76
|
render() {
|
|
77
77
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
78
78
|
const { draggable } = inheritedAttributes;
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '167143c9e996a0b2f78841e6c427c57a322189d7', class: getIonMode(this) }, h("img", { key: 'e840d04e5d0a939cd4c2d19f915a3fee394419b5', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
80
80
|
}
|
|
81
81
|
get el() { return getElement(this); }
|
|
82
82
|
static get watchers() { return {
|
|
@@ -176,7 +176,7 @@ const InfiniteScroll = class {
|
|
|
176
176
|
render() {
|
|
177
177
|
const mode = getIonMode(this);
|
|
178
178
|
const disabled = this.disabled;
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: '69e7741fd2eb2053ba1d59d00d307d2f662fcf13', class: {
|
|
180
180
|
[mode]: true,
|
|
181
181
|
'infinite-scroll-loading': this.isLoading,
|
|
182
182
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -218,11 +218,11 @@ const InfiniteScrollContent = class {
|
|
|
218
218
|
}
|
|
219
219
|
render() {
|
|
220
220
|
const mode = getIonMode(this);
|
|
221
|
-
return (h(Host, { key: '
|
|
221
|
+
return (h(Host, { key: '7c32cbd526ef8a151df1c870bd3a4f0c9d764154', class: {
|
|
222
222
|
[mode]: true,
|
|
223
223
|
// Used internally for styling
|
|
224
224
|
[`infinite-scroll-content-${mode}`]: true,
|
|
225
|
-
} }, h("div", { key: '
|
|
225
|
+
} }, h("div", { key: '6bd67f2c9f3f23edc2f81b6de16134b853bea716', class: "infinite-loading" }, this.loadingSpinner && (h("div", { class: "infinite-loading-spinner" }, h("ion-spinner", { name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
InfiniteScrollContent.style = {
|
|
@@ -65,16 +65,16 @@ const InputPasswordToggle = class {
|
|
|
65
65
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
66
66
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
67
67
|
const isPasswordVisible = type === 'text';
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '9dd0f6e44824961eb19de2af03ed0237551bc623', class: createColorClasses(color, {
|
|
69
69
|
[mode]: true,
|
|
70
|
-
}) }, h("ion-button", { key: '
|
|
70
|
+
}) }, h("ion-button", { key: '72737f52a8a9767f14bde3851a28368c3420a408', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
71
71
|
/**
|
|
72
72
|
* This prevents mobile browsers from
|
|
73
73
|
* blurring the input when the password toggle
|
|
74
74
|
* button is activated.
|
|
75
75
|
*/
|
|
76
76
|
ev.preventDefault();
|
|
77
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
77
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '17a7d7681e8509aa6feab3d54ce6ca1c87b631b0', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
78
78
|
}
|
|
79
79
|
get el() { return getElement(this); }
|
|
80
80
|
static get watchers() { return {
|
|
@@ -87,6 +87,7 @@ const Input = class {
|
|
|
87
87
|
this.autocorrect = 'off';
|
|
88
88
|
this.autofocus = false;
|
|
89
89
|
this.clearInput = false;
|
|
90
|
+
this.clearInputIcon = undefined;
|
|
90
91
|
this.clearOnEdit = undefined;
|
|
91
92
|
this.counter = false;
|
|
92
93
|
this.counterFormatter = undefined;
|
|
@@ -376,11 +377,13 @@ const Input = class {
|
|
|
376
377
|
return this.renderLabel();
|
|
377
378
|
}
|
|
378
379
|
render() {
|
|
379
|
-
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus } = this;
|
|
380
|
+
const { disabled, fill, readonly, shape, inputId, labelPlacement, el, hasFocus, clearInputIcon } = this;
|
|
380
381
|
const mode = getIonMode(this);
|
|
381
382
|
const value = this.getValue();
|
|
382
383
|
const inItem = hostContext('ion-item', this.el);
|
|
383
384
|
const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;
|
|
385
|
+
const defaultClearIcon = mode === 'ios' ? closeCircle : closeSharp;
|
|
386
|
+
const clearIconData = clearInputIcon !== null && clearInputIcon !== void 0 ? clearInputIcon : defaultClearIcon;
|
|
384
387
|
const hasValue = this.hasValue();
|
|
385
388
|
const hasStartEndSlots = el.querySelector('[slot="start"], [slot="end"]') !== null;
|
|
386
389
|
/**
|
|
@@ -401,7 +404,7 @@ const Input = class {
|
|
|
401
404
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
402
405
|
*/
|
|
403
406
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
404
|
-
return (h(Host, { key: '
|
|
407
|
+
return (h(Host, { key: '12e9da8ff2d6ecce8e3ce1880ea46e71260c81fc', class: createColorClasses(this.color, {
|
|
405
408
|
[mode]: true,
|
|
406
409
|
'has-value': hasValue,
|
|
407
410
|
'has-focus': hasFocus,
|
|
@@ -412,14 +415,14 @@ const Input = class {
|
|
|
412
415
|
'in-item': inItem,
|
|
413
416
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
414
417
|
'input-disabled': disabled,
|
|
415
|
-
}) }, h("label", { key: '
|
|
418
|
+
}) }, h("label", { key: 'c241838173e639eebad7d8067063999fc609320b', class: "input-wrapper", htmlFor: inputId }, this.renderLabelContainer(), h("div", { key: 'c392fcd8367aa3a05fac3a5774dad0525670d4d0', class: "native-wrapper" }, h("slot", { key: '3f6bb21aab004dfc7957ca42d18acac73c240a0e', name: "start" }), h("input", Object.assign({ key: '86720e7d2b4e2f5cfe7dfee4c9947f0998279e17', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (h("button", { "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
416
419
|
/**
|
|
417
420
|
* This prevents mobile browsers from
|
|
418
421
|
* blurring the input when the clear
|
|
419
422
|
* button is activated.
|
|
420
423
|
*/
|
|
421
424
|
ev.preventDefault();
|
|
422
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { "aria-hidden": "true", icon:
|
|
425
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: '55cf54320c1555fd3501374d2c2b4e9c1dce046f', name: "end" })), shouldRenderHighlight && h("div", { class: "input-highlight" })), this.renderBottomContent()));
|
|
423
426
|
}
|
|
424
427
|
get el() { return getElement(this); }
|
|
425
428
|
static get watchers() { return {
|
|
@@ -44,12 +44,12 @@ const ItemOption = class {
|
|
|
44
44
|
href: this.href,
|
|
45
45
|
target: this.target,
|
|
46
46
|
};
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '8cae654786fadc2cfe864e495645715cb53a3e68', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
48
48
|
[mode]: true,
|
|
49
49
|
'item-option-disabled': disabled,
|
|
50
50
|
'item-option-expandable': expandable,
|
|
51
51
|
'ion-activatable': true,
|
|
52
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
52
|
+
}) }, h(TagType, Object.assign({ key: '296e26957428fc701d52695cfbad83d507e02060' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '51b3d2e3ce737c8034678dec4fcda4dfbc1438e6', class: "button-inner" }, h("slot", { key: 'be0fbb128ef61a6deaa52eb1197c0f3481cc4ae3', name: "top" }), h("div", { key: '7ba732ae5b8c94c0448df3c3500d9f6eac71d61c', class: "horizontal-wrapper" }, h("slot", { key: '90bf045e30ae006aa7418fd25c1090de27164980', name: "start" }), h("slot", { key: '6858e4a608a4ac9144de58ada851ae3497ae7f74', name: "icon-only" }), h("slot", { key: 'a35037681327fd5753f6d3d7c9ad37b960885e96' }), h("slot", { key: '834c710c88cead42fe3d9ce7f714b62df8a8a604', name: "end" })), h("slot", { key: 'b574fe0f3655dfd9ef1e668983278b28951269e4', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", null))));
|
|
53
53
|
}
|
|
54
54
|
get el() { return getElement(this); }
|
|
55
55
|
};
|
|
@@ -79,7 +79,7 @@ const ItemOptions = class {
|
|
|
79
79
|
render() {
|
|
80
80
|
const mode = getIonMode(this);
|
|
81
81
|
const isEnd = isEndSide(this.side);
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '3d1b754bcc184044cd0213eab08fb22224abddfb', class: {
|
|
83
83
|
[mode]: true,
|
|
84
84
|
// Used internally for styling
|
|
85
85
|
[`item-options-${mode}`]: true,
|
|
@@ -487,7 +487,7 @@ const ItemSliding = class {
|
|
|
487
487
|
}
|
|
488
488
|
render() {
|
|
489
489
|
const mode = getIonMode(this);
|
|
490
|
-
return (h(Host, { key: '
|
|
490
|
+
return (h(Host, { key: '1c2d40968e7a306e4d63443571a7581e0511c9c4', class: {
|
|
491
491
|
[mode]: true,
|
|
492
492
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
493
493
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|