@ionic/core 8.5.2-dev.11742574407.1a7233c2 → 8.5.2-dev.11742835181.16dd88fe
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/header.js +2 -2
- package/components/ion-avatar.js +10 -6
- package/components/ion-badge.js +8 -6
- package/components/ion-divider.d.ts +11 -0
- package/components/ion-divider.js +59 -0
- 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-img.js +2 -2
- 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 +4 -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-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 +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -2
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- package/components/ion-thumbnail.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +2 -2
- 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 +2 -2
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +17 -12
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-divider.cjs.entry.js +43 -0
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- 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 +4 -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 +4 -4
- 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-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 +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- 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 +7 -7
- 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 +3 -3
- 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/collection-manifest.json +1 -0
- package/dist/collection/components/avatar/avatar.ionic.css +11 -0
- package/dist/collection/components/avatar/avatar.js +25 -4
- package/dist/collection/components/badge/badge.ionic.css +17 -4
- package/dist/collection/components/badge/badge.ios.css +20 -4
- package/dist/collection/components/badge/badge.js +5 -3
- package/dist/collection/components/badge/badge.md.css +4 -4
- package/dist/collection/components/divider/divider.ionic.css +200 -0
- package/dist/collection/components/divider/divider.ios.css +137 -0
- package/dist/collection/components/divider/divider.js +76 -0
- package/dist/collection/components/divider/divider.md.css +137 -0
- 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 +2 -2
- 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 +4 -4
- 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 +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- 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 +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- 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 +2 -2
- 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.js +3 -3
- 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 +2 -2
- 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.ionic.css +45 -0
- package/dist/collection/components/tab-button/tab-button.ios.css +63 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tab-button/tab-button.md.css +29 -0
- 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 +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- 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/docs.json +187 -1
- package/dist/esm/ion-app_8.entry.js +9 -9
- package/dist/esm/ion-avatar_3.entry.js +18 -13
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-divider.entry.js +39 -0
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +2 -2
- 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 +4 -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 +4 -4
- 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-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/ion-select_3.entry.js +6 -6
- 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 +7 -7
- 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 +3 -3
- 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_3.entry.js +1 -1
- package/dist/esm-es5/ion-divider.entry.js +4 -0
- 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-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/loader.js +1 -1
- package/dist/html.html-data.json +50 -0
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-41feda15.entry.js → p-047943a4.entry.js} +1 -1
- package/dist/ionic/{p-0ea8053e.system.entry.js → p-0b07a566.system.entry.js} +1 -1
- package/dist/ionic/p-0c5e0dc8.system.entry.js +4 -0
- package/dist/ionic/{p-e2013908.entry.js → p-0e25995f.entry.js} +1 -1
- package/dist/ionic/{p-40e83885.system.entry.js → p-17f49808.system.entry.js} +1 -1
- package/dist/ionic/{p-6358892b.system.entry.js → p-195c7099.system.entry.js} +1 -1
- package/dist/ionic/{p-2addc8ab.system.entry.js → p-1a3b4566.system.entry.js} +1 -1
- package/dist/ionic/{p-50f80a09.system.entry.js → p-1c8f3fef.system.entry.js} +1 -1
- package/dist/ionic/p-1ee39457.system.entry.js +4 -0
- package/dist/ionic/p-1ffb98a0.system.entry.js +4 -0
- package/dist/ionic/{p-08779b2f.entry.js → p-2a4ebf7b.entry.js} +1 -1
- package/dist/ionic/{p-0ddb545c.system.entry.js → p-2a6e60d2.system.entry.js} +1 -1
- package/dist/ionic/{p-e203a11e.entry.js → p-2aca2df7.entry.js} +1 -1
- package/dist/ionic/{p-30199da6.system.entry.js → p-2c4d0578.system.entry.js} +1 -1
- package/dist/ionic/{p-9ed53b73.system.entry.js → p-34f06cc7.system.entry.js} +1 -1
- package/dist/ionic/{p-3b7155e5.system.entry.js → p-3775da84.system.entry.js} +1 -1
- package/dist/ionic/{p-05a95ec2.system.entry.js → p-3cdea564.system.entry.js} +1 -1
- package/dist/ionic/{p-9ed7fcdb.system.entry.js → p-3dd43dba.system.entry.js} +1 -1
- package/dist/ionic/p-4279f787.entry.js +4 -0
- package/dist/ionic/{p-7bdb9d37.system.entry.js → p-42acd60b.system.entry.js} +2 -2
- package/dist/ionic/{p-a2834d5f.entry.js → p-43b4ca5b.entry.js} +1 -1
- package/dist/ionic/{p-353475f7.system.entry.js → p-4606e323.system.entry.js} +1 -1
- package/dist/ionic/{p-394a86da.entry.js → p-46204887.entry.js} +1 -1
- package/dist/ionic/p-47fda111.entry.js +4 -0
- package/dist/ionic/{p-c3ed361f.entry.js → p-495eb25e.entry.js} +1 -1
- package/dist/ionic/{p-e5ae7793.entry.js → p-579b4a63.entry.js} +1 -1
- package/dist/ionic/{p-d8630eee.entry.js → p-58a30d90.entry.js} +1 -1
- package/dist/ionic/p-59920a82.system.entry.js +4 -0
- package/dist/ionic/{p-07239f26.entry.js → p-5c586ac1.entry.js} +1 -1
- package/dist/ionic/{p-387a27f2.entry.js → p-61977a32.entry.js} +1 -1
- package/dist/ionic/{p-e3cb0381.entry.js → p-6620dffa.entry.js} +1 -1
- package/dist/ionic/{p-25462b1c.entry.js → p-663ace5f.entry.js} +1 -1
- package/dist/ionic/{p-2f0fa144.system.entry.js → p-66a495c4.system.entry.js} +1 -1
- package/dist/ionic/p-67dd0aa9.entry.js +4 -0
- package/dist/ionic/{p-d4b468fb.system.entry.js → p-689a94b3.system.entry.js} +1 -1
- package/dist/ionic/p-6bf6e9e8.entry.js +4 -0
- package/dist/ionic/{p-020ce0a5.entry.js → p-6ce59667.entry.js} +1 -1
- package/dist/ionic/{p-dc98aaa3.system.entry.js → p-71d96a02.system.entry.js} +1 -1
- package/dist/ionic/{p-ffa0b5e9.system.entry.js → p-72d019c5.system.entry.js} +1 -1
- package/dist/ionic/{p-a0528005.system.entry.js → p-730993c9.system.entry.js} +1 -1
- package/dist/ionic/{p-95109138.system.entry.js → p-7beb0900.system.entry.js} +1 -1
- package/dist/ionic/p-7c80b639.system.entry.js +4 -0
- package/dist/ionic/{p-6e5a3112.system.entry.js → p-7d8e1a3d.system.entry.js} +2 -2
- package/dist/ionic/{p-a23bf697.entry.js → p-7e4cf8e1.entry.js} +1 -1
- package/dist/ionic/{p-76151fa4.entry.js → p-85bb90f6.entry.js} +1 -1
- package/dist/ionic/p-85cee6c9.entry.js +4 -0
- package/dist/ionic/{p-2a309c9b.system.entry.js → p-883ff61d.system.entry.js} +1 -1
- package/dist/ionic/{p-3f3d894a.entry.js → p-8d7684b7.entry.js} +1 -1
- package/dist/ionic/p-8f3bd9ab.system.js +1 -1
- package/dist/ionic/{p-21bfb906.entry.js → p-91ce2114.entry.js} +1 -1
- package/dist/ionic/p-96f37d0d.entry.js +4 -0
- package/dist/ionic/{p-8e2770ec.system.entry.js → p-999a0cef.system.entry.js} +1 -1
- package/dist/ionic/{p-b7cd5c72.entry.js → p-9e9999d5.entry.js} +1 -1
- package/dist/ionic/{p-6c003283.entry.js → p-a3144a1e.entry.js} +1 -1
- package/dist/ionic/{p-8f24bcef.entry.js → p-af2e2a79.entry.js} +1 -1
- package/dist/ionic/{p-8055cb44.entry.js → p-b1618321.entry.js} +1 -1
- package/dist/ionic/{p-cd95f723.entry.js → p-b6baf215.entry.js} +1 -1
- package/dist/ionic/{p-dd7a3323.entry.js → p-bc0ab45b.entry.js} +1 -1
- package/dist/ionic/{p-1fb3f167.system.entry.js → p-bcfc28b7.system.entry.js} +1 -1
- package/dist/ionic/{p-22b9f494.system.entry.js → p-bd215938.system.entry.js} +1 -1
- package/dist/ionic/{p-22d26239.entry.js → p-befb004d.entry.js} +1 -1
- package/dist/ionic/{p-ff030e07.system.entry.js → p-cbad55f3.system.entry.js} +1 -1
- package/dist/ionic/{p-a84c1142.entry.js → p-cef4553b.entry.js} +1 -1
- package/dist/ionic/{p-fe47b81f.system.entry.js → p-cff47c26.system.entry.js} +1 -1
- package/dist/ionic/{p-71a5fe4f.system.entry.js → p-d35e20cf.system.entry.js} +1 -1
- package/dist/ionic/{p-6e352a33.entry.js → p-d534a6c8.entry.js} +1 -1
- package/dist/ionic/{p-3b4dcba2.system.entry.js → p-d75951ba.system.entry.js} +1 -1
- package/dist/ionic/{p-d953595d.entry.js → p-d760d709.entry.js} +1 -1
- package/dist/ionic/p-da7bd63e.system.entry.js +4 -0
- package/dist/ionic/{p-8d19796f.system.entry.js → p-de32ae2a.system.entry.js} +1 -1
- package/dist/ionic/{p-6f7d76d1.entry.js → p-dea6541e.entry.js} +1 -1
- package/dist/ionic/p-dff0b93b.system.entry.js +4 -0
- package/dist/ionic/{p-717baf25.entry.js → p-e028d3f1.entry.js} +1 -1
- package/dist/ionic/{p-d89aa717.system.entry.js → p-e913a8ec.system.entry.js} +1 -1
- package/dist/ionic/{p-d8e6b7d8.system.entry.js → p-ed32d861.system.entry.js} +2 -2
- package/dist/ionic/p-f4a27763.entry.js +4 -0
- package/dist/ionic/{p-83787941.entry.js → p-f63db3d4.entry.js} +1 -1
- package/dist/ionic/{p-b909ffd9.entry.js → p-f853b71b.entry.js} +1 -1
- package/dist/ionic/{p-ea102c25.system.entry.js → p-fb0197d6.system.entry.js} +1 -1
- package/dist/types/components/avatar/avatar.d.ts +4 -0
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/divider/divider.d.ts +20 -0
- package/dist/types/components.d.ts +37 -0
- package/hydrate/index.js +190 -141
- package/hydrate/index.mjs +190 -141
- package/package.json +1 -1
- package/dist/ionic/p-065bfce7.entry.js +0 -4
- package/dist/ionic/p-110a551b.system.entry.js +0 -4
- package/dist/ionic/p-289d78ed.entry.js +0 -4
- package/dist/ionic/p-2b2ad756.entry.js +0 -4
- package/dist/ionic/p-622f15e2.system.entry.js +0 -4
- package/dist/ionic/p-7eafc9ce.system.entry.js +0 -4
- package/dist/ionic/p-88f73181.entry.js +0 -4
- package/dist/ionic/p-8f506e8b.system.entry.js +0 -4
- package/dist/ionic/p-9252b838.entry.js +0 -4
- package/dist/ionic/p-e1c355d8.entry.js +0 -4
- package/dist/ionic/p-e3a82b9b.system.entry.js +0 -4
- package/dist/ionic/p-edf7cdf0.system.entry.js +0 -4
package/components/label.js
CHANGED
|
@@ -66,13 +66,13 @@ const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
|
|
|
66
66
|
render() {
|
|
67
67
|
const position = this.position;
|
|
68
68
|
const theme = getIonTheme(this);
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '921c75a385281fa13922155f277af0271b992ebb', class: createColorClasses(this.color, {
|
|
70
70
|
[theme]: true,
|
|
71
71
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
72
72
|
[`label-${position}`]: position !== undefined,
|
|
73
73
|
[`label-no-animate`]: this.noAnimate,
|
|
74
74
|
'label-rtl': document.dir === 'rtl',
|
|
75
|
-
}) }, h("slot", { key: '
|
|
75
|
+
}) }, h("slot", { key: '0cee8205cade678d78c3b9ff2e71cf50365e6eea' })));
|
|
76
76
|
}
|
|
77
77
|
get el() { return this; }
|
|
78
78
|
static get watchers() { return {
|
|
@@ -25,10 +25,10 @@ const ListHeader = /*@__PURE__*/ proxyCustomElement(class ListHeader extends HTM
|
|
|
25
25
|
render() {
|
|
26
26
|
const { lines } = this;
|
|
27
27
|
const theme = getIonTheme(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'bf020d10f04a39707b7b5842e7380330a006476c', class: createColorClasses(this.color, {
|
|
29
29
|
[theme]: true,
|
|
30
30
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
31
|
-
}) }, h("div", { key: '
|
|
31
|
+
}) }, h("div", { key: '7833f41a1271fbf29d264299e0517652dbdc026b', class: "list-header-inner" }, h("slot", { key: '293d9dfba0020d0eaeeb58bc109c01d4dd459f6b' }))));
|
|
32
32
|
}
|
|
33
33
|
static get style() { return {
|
|
34
34
|
ionic: IonListHeaderIonicStyle0,
|
package/components/list.js
CHANGED
|
@@ -53,7 +53,7 @@ const List = /*@__PURE__*/ proxyCustomElement(class List extends HTMLElement {
|
|
|
53
53
|
const theme = getIonTheme(this);
|
|
54
54
|
const shape = this.getShape();
|
|
55
55
|
const { lines, inset } = this;
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'e0d56c6aa597601c8d430ff40044981422aac8f3', role: "list", class: {
|
|
57
57
|
[theme]: true,
|
|
58
58
|
// Used internally for styling
|
|
59
59
|
[`list-${theme}`]: true,
|
package/components/modal.js
CHANGED
|
@@ -1934,18 +1934,18 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends HTMLElement {
|
|
|
1934
1934
|
const isCardModal = presentingElement !== undefined && theme === 'ios';
|
|
1935
1935
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
1936
1936
|
const shape = this.getShape();
|
|
1937
|
-
return (h(Host, Object.assign({ key: '
|
|
1937
|
+
return (h(Host, Object.assign({ key: '9523c6210a952a3dbd5d6837e74c3adab7a4d58e', "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1938
1938
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1939
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '
|
|
1939
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), h("ion-backdrop", { key: '4230860b4b682f55bbf05849165e252e7ad849a0', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: 'e3df17bcfbdf4ba511bebd5b34763773c1d03fee', class: "modal-shadow" }), h("div", Object.assign({ key: '6a8c4ad640463604ae367576dd23e75121c79b0d',
|
|
1940
1940
|
/*
|
|
1941
1941
|
role and aria-modal must be used on the
|
|
1942
1942
|
same element. They must also be set inside the
|
|
1943
1943
|
shadow DOM otherwise ion-button will not be highlighted
|
|
1944
1944
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
1945
1945
|
*/
|
|
1946
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
1946
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '8792a19bd65f600fed24fd74f35badb7f4e5d915', class: "modal-handle",
|
|
1947
1947
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
1948
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '
|
|
1948
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), h("slot", { key: '39645e31394e15b96f120507fb0097a4ebc4e1c0' }))));
|
|
1949
1949
|
}
|
|
1950
1950
|
get el() { return this; }
|
|
1951
1951
|
static get watchers() { return {
|
|
@@ -89,10 +89,10 @@ const PickerColumnOption = /*@__PURE__*/ proxyCustomElement(class PickerColumnOp
|
|
|
89
89
|
render() {
|
|
90
90
|
const { color, disabled, ariaLabel } = this;
|
|
91
91
|
const theme = getIonTheme(this);
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '15115335aa79bd1f89f5a8585e4aa032681b14b3', class: createColorClasses(color, {
|
|
93
93
|
[theme]: true,
|
|
94
94
|
['option-disabled']: disabled,
|
|
95
|
-
}) }, h("button", { key: '
|
|
95
|
+
}) }, h("button", { key: '16b6a51dca36a6e5abac28c8b0b25bc009dfc091', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, h("slot", { key: '6a5bed3b65522b21be35cfd5554f9f7b699adcdf' }))));
|
|
96
96
|
}
|
|
97
97
|
get el() { return this; }
|
|
98
98
|
static get watchers() { return {
|
|
@@ -343,9 +343,9 @@ const PickerColumnCmp = /*@__PURE__*/ proxyCustomElement(class PickerColumnCmp e
|
|
|
343
343
|
render() {
|
|
344
344
|
const col = this.col;
|
|
345
345
|
const theme = getIonTheme(this);
|
|
346
|
-
return (h(Host, { key: '
|
|
346
|
+
return (h(Host, { key: '7d0f0cba34ebb037eb6d08d4e91d86e635ce19e6', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
347
347
|
'max-width': this.col.columnWidth,
|
|
348
|
-
} }, col.prefix && (h("div", { key: '
|
|
348
|
+
} }, col.prefix && (h("div", { key: '347c054cb774576110e4e22372eb36fd9b3c66f6', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '2bd3ae98af75b418f9d98480e9b56c80f515ffce', 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", { key: '93cbe85713ba0d74496031aa98b9de1ed5a8f775', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
349
349
|
}
|
|
350
350
|
get el() { return this; }
|
|
351
351
|
static get watchers() { return {
|
package/components/popover.js
CHANGED
|
@@ -1296,9 +1296,9 @@ const Popover = /*@__PURE__*/ proxyCustomElement(class Popover extends HTMLEleme
|
|
|
1296
1296
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1297
1297
|
const desktop = isPlatform('desktop');
|
|
1298
1298
|
const enableArrow = arrow && !parentPopover;
|
|
1299
|
-
return (h(Host, Object.assign({ key: '
|
|
1299
|
+
return (h(Host, Object.assign({ key: 'd5fc50d833bac1c9b4781816bdfbbb4026722d8a', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1300
1300
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1301
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '
|
|
1301
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && h("ion-backdrop", { key: '3b2e5119589ab08f79af897bc8dfc739e2309dc5', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'ca560e5d8de586ee3e77308f6fa968df0f161465', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '73a6021e1bc4875620407f1812df84095968a5e4', class: "popover-arrow", part: "arrow" }), h("div", { key: 'ff20abac0d6ef162738cc4a1f8f4a3918ca404d5', class: "popover-content", part: "content" }, h("slot", { key: '2216e4b0be14dc49981dc6940a6ec9fc2713f4d1' })))));
|
|
1302
1302
|
}
|
|
1303
1303
|
get el() { return this; }
|
|
1304
1304
|
static get watchers() { return {
|
|
@@ -196,9 +196,9 @@ const RadioGroup = /*@__PURE__*/ proxyCustomElement(class RadioGroup extends HTM
|
|
|
196
196
|
const { label, labelId, el, name, value } = this;
|
|
197
197
|
const theme = getIonTheme(this);
|
|
198
198
|
renderHiddenInput(true, el, name, value, false);
|
|
199
|
-
return (h(Host, { key: '
|
|
199
|
+
return (h(Host, { key: '95f8e44fb4cb4dda0b6ad8a829e31bb8a3ec521b', class: {
|
|
200
200
|
[theme]: true,
|
|
201
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '
|
|
201
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '2fb3a88b0e9cda37b1a6aa88b880320e8fff4b18', class: "radio-group-wrapper" }, h("slot", { key: '79fe280b3436bca9dc07525336003541b4db1935' }))));
|
|
202
202
|
}
|
|
203
203
|
get el() { return this; }
|
|
204
204
|
static get watchers() { return {
|
package/components/radio.js
CHANGED
|
@@ -162,7 +162,7 @@ const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
|
162
162
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
163
163
|
const theme = getIonTheme(this);
|
|
164
164
|
const inItem = hostContext('ion-item', el);
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '7fbe8308ef9eb375552a9a52aa38cdc7b7adc265', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
166
166
|
[theme]: true,
|
|
167
167
|
'in-item': inItem,
|
|
168
168
|
'radio-checked': checked,
|
|
@@ -173,10 +173,10 @@ const Radio = /*@__PURE__*/ proxyCustomElement(class Radio extends HTMLElement {
|
|
|
173
173
|
// Focus and active styling should not apply when the radio is in an item
|
|
174
174
|
'ion-activatable': !inItem,
|
|
175
175
|
'ion-focusable': !inItem,
|
|
176
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
176
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '25b08970002e8346929b3e3d4d9116a616011f58', class: "radio-wrapper" }, h("div", { key: '02982316f2b4b5fa3772a34dbdc9f2c019bb7fc7', class: {
|
|
177
177
|
'label-text-wrapper': true,
|
|
178
178
|
'label-text-wrapper-hidden': !hasLabel,
|
|
179
|
-
}, part: "label" }, h("slot", { key: '
|
|
179
|
+
}, part: "label" }, h("slot", { key: '033f8660fc810b4d9bc1723546e1c97f261d5b96' })), h("div", { key: '58694ff4a4f09e0a9a4c6f26dbf7ee5d111f8913', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
180
180
|
}
|
|
181
181
|
get el() { return this; }
|
|
182
182
|
static get watchers() { return {
|
|
@@ -72,7 +72,7 @@ const RippleEffect = /*@__PURE__*/ proxyCustomElement(class RippleEffect extends
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const theme = getIonTheme(this);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '77488fb7e6f25d989d9b643489f704284279a986', role: "presentation", class: {
|
|
76
76
|
[theme]: true,
|
|
77
77
|
unbounded: this.unbounded,
|
|
78
78
|
} }));
|
|
@@ -102,7 +102,7 @@ const SelectModal = /*@__PURE__*/ proxyCustomElement(class SelectModal extends H
|
|
|
102
102
|
} }, option.text))));
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '730c44ceba585ce77926121f13d961d8020d7bd2', class: getIonMode(this) }, h("ion-header", { key: '4cf46de557baa1187dc998718004c0344b67d39b' }, h("ion-toolbar", { key: 'df46d6d17351b702ca7e031a1313c17d19d24485' }, this.header !== undefined && h("ion-title", { key: '9561527c557ae5ea6a04367ba52a57a656fd1aaa' }, this.header), h("ion-buttons", { key: 'f9f6efbf7c4f7cd9712c5e2fc89926ad2e374c9f', slot: "end" }, h("ion-button", { key: '70136cb4d64e2b04821d0e81a3671c55f45399fb', onClick: () => this.closeModal() }, "Close")))), h("ion-content", { key: '53d4cdf5cfd9c5c3121f4ce5c23c4b940052554a' }, h("ion-list", { key: 'e022b85e7e6e9d2d90b1dd4435d922cfc8390ec5' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
106
106
|
}
|
|
107
107
|
get el() { return this; }
|
|
108
108
|
static get style() { return {
|
|
@@ -121,9 +121,9 @@ const SelectPopover = /*@__PURE__*/ proxyCustomElement(class SelectPopover exten
|
|
|
121
121
|
const { header, message, options, subHeader } = this;
|
|
122
122
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
123
123
|
const theme = getIonTheme(this);
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '89399f838fb5431edb7788f59dcc01678bf76104', class: {
|
|
125
125
|
[theme]: true,
|
|
126
|
-
} }, h("ion-list", { key: '
|
|
126
|
+
} }, h("ion-list", { key: '2b37328fcfb2b02f36cb9f426b53765298a4c8ff' }, header !== undefined && h("ion-list-header", { key: 'af3ac65204af5169072698fcda1480182d8949d5' }, header), hasSubHeaderOrMessage && (h("ion-item", { key: '7aa4369be13687643f9f651300f7fc89d13edc1a' }, h("ion-label", { key: 'f730c2819c4439833840489c446aad3c7e5d0989', class: "ion-text-wrap" }, subHeader !== undefined && h("h3", { key: '1d9d935c996c01015f1f6c5797bbcd29e6eb4c23' }, subHeader), message !== undefined && h("p", { key: '286e15288c094e39cdded327ef814e1daf5b4329' }, message)))), this.renderOptions(options))));
|
|
127
127
|
}
|
|
128
128
|
get el() { return this; }
|
|
129
129
|
static get style() { return {
|
package/components/spinner.js
CHANGED
|
@@ -206,7 +206,7 @@ const Spinner = /*@__PURE__*/ proxyCustomElement(class Spinner extends HTMLEleme
|
|
|
206
206
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
return (h(Host, { key: '
|
|
209
|
+
return (h(Host, { key: '8f1bd75946965e8bf1689a8b651a809fd68b41c4', class: createColorClasses(self.color, {
|
|
210
210
|
[theme]: true,
|
|
211
211
|
[`spinner-${spinnerName}`]: true,
|
|
212
212
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
package/components/title.js
CHANGED
|
@@ -41,11 +41,11 @@ const ToolbarTitle = /*@__PURE__*/ proxyCustomElement(class ToolbarTitle extends
|
|
|
41
41
|
render() {
|
|
42
42
|
const theme = getIonTheme(this);
|
|
43
43
|
const size = this.getSize();
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '4fbaa288cb8de08bf35d6cc8e591adfdd4b95f69', class: createColorClasses(this.color, {
|
|
45
45
|
[theme]: true,
|
|
46
46
|
[`title-${size}`]: true,
|
|
47
47
|
'title-rtl': document.dir === 'rtl',
|
|
48
|
-
}) }, h("div", { key: '
|
|
48
|
+
}) }, h("div", { key: '701a9b762a04d4bbccf3c0aeaa33be296827ae2b', class: "toolbar-title" }, h("slot", { key: '8998a07f0e81e0e920165c644b06ff3aa3a625c7' }))));
|
|
49
49
|
}
|
|
50
50
|
get el() { return this; }
|
|
51
51
|
static get watchers() { return {
|
package/components/toolbar.js
CHANGED
|
@@ -66,10 +66,10 @@ const Toolbar = /*@__PURE__*/ proxyCustomElement(class Toolbar extends HTMLEleme
|
|
|
66
66
|
this.childrenStyles.forEach((value) => {
|
|
67
67
|
Object.assign(childStyles, value);
|
|
68
68
|
});
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '6368640c5bcc3515d628c24116912e7ba1e79a00', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
70
70
|
[theme]: true,
|
|
71
71
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
72
|
-
})) }, h("div", { key: '
|
|
72
|
+
})) }, h("div", { key: '139edd9fb7a7c42d94dd79e783d841b052abb245', class: "toolbar-background", part: "background" }), h("div", { key: '72716d4a9af0191d6083d1a2444cea42e4521127', class: "toolbar-container", part: "container" }, h("slot", { key: '5049c3e4235dd52b80b50f87b74f58c03fc53c00', name: "start" }), h("slot", { key: 'cf43c31b7d81dfb49e0fdf987978c621fc563213', name: "secondary" }), h("div", { key: '34bd76bdb954adcecb4a9c263584733d617e5988', class: "toolbar-content", part: "content" }, h("slot", { key: 'a63dfc76eb070c680426e3fe6b8efc9bec9a69ac' })), h("slot", { key: 'bb0a4cb83c30d206489c2dcfb6238481ccfc51af', name: "primary" }), h("slot", { key: 'e3c632b6810493f714ec632d17b878740874e919', name: "end" }))));
|
|
73
73
|
}
|
|
74
74
|
get el() { return this; }
|
|
75
75
|
static get style() { return {
|
|
@@ -605,7 +605,7 @@ const Footer = class {
|
|
|
605
605
|
const theme = ionicGlobal.getIonTheme(this);
|
|
606
606
|
const tabs = this.el.closest('ion-tabs');
|
|
607
607
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
608
|
-
return (index.h(index.Host, { key: '
|
|
608
|
+
return (index.h(index.Host, { key: 'e70e2616f69a6205a1c2045bf13a792c9a6bc27c', role: "contentinfo", class: {
|
|
609
609
|
[theme]: true,
|
|
610
610
|
// Used internally for styling
|
|
611
611
|
[`footer-${theme}`]: true,
|
|
@@ -613,7 +613,7 @@ const Footer = class {
|
|
|
613
613
|
[`footer-translucent-${theme}`]: translucent,
|
|
614
614
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
615
615
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
616
|
-
} }, theme === 'ios' && translucent && index.h("div", { key: '
|
|
616
|
+
} }, theme === 'ios' && translucent && index.h("div", { key: '72803059c1d82a766a0ce69e5a8a6a3b7e576700', class: "footer-background" }), index.h("slot", { key: 'de450e4eb8f5c63b11f548061f29d957ef308539' })));
|
|
617
617
|
}
|
|
618
618
|
get el() { return index.getElement(this); }
|
|
619
619
|
};
|
|
@@ -960,7 +960,7 @@ const Header = class {
|
|
|
960
960
|
const collapse = this.collapse || 'none';
|
|
961
961
|
// banner role must be at top level, so remove role if inside a menu
|
|
962
962
|
const roleType = theme.hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
963
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
963
|
+
return (index.h(index.Host, Object.assign({ key: '7f58480b7f04b9d700bcc08d2418d121ec8f4124', role: roleType, class: {
|
|
964
964
|
[theme$1]: true,
|
|
965
965
|
// Used internally for styling
|
|
966
966
|
[`header-${theme$1}`]: true,
|
|
@@ -968,7 +968,7 @@ const Header = class {
|
|
|
968
968
|
[`header-collapse-${collapse}`]: true,
|
|
969
969
|
[`header-translucent-${theme$1}`]: this.translucent,
|
|
970
970
|
['header-divider']: divider,
|
|
971
|
-
} }, inheritedAttributes), theme$1 === 'ios' && translucent && index.h("div", { key: '
|
|
971
|
+
} }, inheritedAttributes), theme$1 === 'ios' && translucent && index.h("div", { key: 'c1c77a735ed96e93a5ee9511415c19a80989dbc9', class: "header-background" }), index.h("slot", { key: '13a06aa2aa3358ba3d4f61fe6119b8506b866c14' })));
|
|
972
972
|
}
|
|
973
973
|
get el() { return index.getElement(this); }
|
|
974
974
|
};
|
|
@@ -1153,7 +1153,7 @@ const RouterOutlet = class {
|
|
|
1153
1153
|
return true;
|
|
1154
1154
|
}
|
|
1155
1155
|
render() {
|
|
1156
|
-
return index.h("slot", { key: '
|
|
1156
|
+
return index.h("slot", { key: '33d398d0fadff009560ca0835a088eb26e2c9c02' });
|
|
1157
1157
|
}
|
|
1158
1158
|
get el() { return index.getElement(this); }
|
|
1159
1159
|
static get watchers() { return {
|
|
@@ -1196,11 +1196,11 @@ const ToolbarTitle = class {
|
|
|
1196
1196
|
render() {
|
|
1197
1197
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
1198
1198
|
const size = this.getSize();
|
|
1199
|
-
return (index.h(index.Host, { key: '
|
|
1199
|
+
return (index.h(index.Host, { key: '4fbaa288cb8de08bf35d6cc8e591adfdd4b95f69', class: theme.createColorClasses(this.color, {
|
|
1200
1200
|
[theme$1]: true,
|
|
1201
1201
|
[`title-${size}`]: true,
|
|
1202
1202
|
'title-rtl': document.dir === 'rtl',
|
|
1203
|
-
}) }, index.h("div", { key: '
|
|
1203
|
+
}) }, index.h("div", { key: '701a9b762a04d4bbccf3c0aeaa33be296827ae2b', class: "toolbar-title" }, index.h("slot", { key: '8998a07f0e81e0e920165c644b06ff3aa3a625c7' }))));
|
|
1204
1204
|
}
|
|
1205
1205
|
get el() { return index.getElement(this); }
|
|
1206
1206
|
static get watchers() { return {
|
|
@@ -1272,10 +1272,10 @@ const Toolbar = class {
|
|
|
1272
1272
|
this.childrenStyles.forEach((value) => {
|
|
1273
1273
|
Object.assign(childStyles, value);
|
|
1274
1274
|
});
|
|
1275
|
-
return (index.h(index.Host, { key: '
|
|
1275
|
+
return (index.h(index.Host, { key: '6368640c5bcc3515d628c24116912e7ba1e79a00', class: Object.assign(Object.assign({}, childStyles), theme.createColorClasses(this.color, {
|
|
1276
1276
|
[theme$1]: true,
|
|
1277
1277
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
1278
|
-
})) }, index.h("div", { key: '
|
|
1278
|
+
})) }, index.h("div", { key: '139edd9fb7a7c42d94dd79e783d841b052abb245', class: "toolbar-background", part: "background" }), index.h("div", { key: '72716d4a9af0191d6083d1a2444cea42e4521127', class: "toolbar-container", part: "container" }, index.h("slot", { key: '5049c3e4235dd52b80b50f87b74f58c03fc53c00', name: "start" }), index.h("slot", { key: 'cf43c31b7d81dfb49e0fdf987978c621fc563213', name: "secondary" }), index.h("div", { key: '34bd76bdb954adcecb4a9c263584733d617e5988', class: "toolbar-content", part: "content" }, index.h("slot", { key: 'a63dfc76eb070c680426e3fe6b8efc9bec9a69ac' })), index.h("slot", { key: 'bb0a4cb83c30d206489c2dcfb6238481ccfc51af', name: "primary" }), index.h("slot", { key: 'e3c632b6810493f714ec632d17b878740874e919', name: "end" }))));
|
|
1279
1279
|
}
|
|
1280
1280
|
get el() { return index.getElement(this); }
|
|
1281
1281
|
};
|
|
@@ -10,7 +10,7 @@ const ionicGlobal = require('./ionic-global-5c446a5e.js');
|
|
|
10
10
|
const theme = require('./theme-d1c573d2.js');
|
|
11
11
|
require('./config-aff4ff52.js');
|
|
12
12
|
|
|
13
|
-
const avatarIonicCss = ":host{border-radius:var(--border-radius);display:block;position:relative}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--padding-top:var(--ion-space-0, 0px);--padding-bottom:var(--ion-space-0, 0px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:var(--ion-primitives-neutral-100, #f5f5f5);color:var(--ion-primitives-neutral-800, #626262);font-weight:var(--ion-font-weight-medium, 500);line-height:var(--ion-font-line-height-700, 28px)}:host(:not(.avatar-image)){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}:host(.avatar-xxsmall){--padding-end:var(--ion-space-050, 2px);--padding-start:var(--ion-space-050, 2px);width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);font-size:var(--ion-font-size-300, 0.75rem);line-height:var(--ion-font-line-height-500, 20px)}:host(.avatar-xsmall){--padding-end:var(--ion-space-050, 2px);--padding-start:var(--ion-space-050, 2px);width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px);font-size:var(--ion-font-size-300, 0.75rem);line-height:var(--ion-font-line-height-500, 20px)}:host(.avatar-small){--padding-end:var(--ion-space-150, 6px);--padding-start:var(--ion-space-150, 6px);width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px);font-size:var(--ion-font-size-400, 1rem);line-height:var(--ion-font-line-height-600, 24px)}:host(.avatar-medium){--padding-end:var(--ion-space-200, 8px);--padding-start:var(--ion-space-200, 8px);width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px);font-size:var(--ion-font-size-450, 1.125rem)}:host(.avatar-large){--padding-end:var(--ion-space-250, 10px);--padding-start:var(--ion-space-250, 10px);width:var(--ion-scale-1200, 48px);height:var(--ion-scale-1200, 48px);font-size:var(--ion-font-size-500, 1.25rem)}:host(.avatar-xlarge){--padding-end:var(--ion-space-300, 12px);--padding-start:var(--ion-space-300, 12px);width:var(--ion-scale-1400, 56px);height:var(--ion-scale-1400, 56px);font-size:var(--ion-font-size-550, 1.375rem)}:host(.avatar-xxsmall.avatar-soft),:host(.avatar-xsmall.avatar-soft),:host(.avatar-small.avatar-soft){--border-radius:var(--ion-border-radius-100, 4px)}:host(.avatar-soft){--border-radius:var(--ion-border-radius-200, 8px)}:host(.avatar-round){--border-radius:var(--ion-border-radius-full, 999px)}:host(.avatar-rectangular){--border-radius:var(--ion-border-radius-0, 0px)}:host(.avatar-icon){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.avatar-xsmall) ::slotted(ion-icon){width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}:host(.avatar-small) ::slotted(ion-icon){width:var(--ion-scale-500, 20px);height:var(--ion-scale-500, 20px)}:host(.avatar-medium) ::slotted(ion-icon){width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px)}:host(.avatar-large) ::slotted(ion-icon){width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px)}:host(.avatar-xlarge) ::slotted(ion-icon){width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px)}:host ::slotted(ion-badge.badge-vertical-top:empty){-webkit-transform:translate(var(--ion-scale-050, 2px), calc(var(--ion-scale-050, 2px) * -1));transform:translate(var(--ion-scale-050, 2px), calc(var(--ion-scale-050, 2px) * -1))}:host(.avatar-xxsmall) ::slotted(ion-badge.badge-vertical-top:empty){-webkit-transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px) * -1));transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px) * -1))}:host ::slotted(ion-badge.badge-vertical-bottom:empty){-webkit-transform:translate(0, var(--ion-scale-100, 4px));transform:translate(0, var(--ion-scale-100, 4px))}:host(.avatar-xxsmall) ::slotted(ion-badge.badge-vertical-bottom:empty){-webkit-transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px)));transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px)))}";
|
|
13
|
+
const avatarIonicCss = ":host{border-radius:var(--border-radius);display:block;position:relative}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--padding-top:var(--ion-space-0, 0px);--padding-bottom:var(--ion-space-0, 0px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:var(--ion-primitives-neutral-100, #f5f5f5);color:var(--ion-primitives-neutral-800, #626262);font-weight:var(--ion-font-weight-medium, 500);line-height:var(--ion-font-line-height-700, 28px)}:host(:not(.avatar-image)){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}:host(.avatar-xxsmall){--padding-end:var(--ion-space-050, 2px);--padding-start:var(--ion-space-050, 2px);width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);font-size:var(--ion-font-size-300, 0.75rem);line-height:var(--ion-font-line-height-500, 20px)}:host(.avatar-xsmall){--padding-end:var(--ion-space-050, 2px);--padding-start:var(--ion-space-050, 2px);width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px);font-size:var(--ion-font-size-300, 0.75rem);line-height:var(--ion-font-line-height-500, 20px)}:host(.avatar-small){--padding-end:var(--ion-space-150, 6px);--padding-start:var(--ion-space-150, 6px);width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px);font-size:var(--ion-font-size-400, 1rem);line-height:var(--ion-font-line-height-600, 24px)}:host(.avatar-medium){--padding-end:var(--ion-space-200, 8px);--padding-start:var(--ion-space-200, 8px);width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px);font-size:var(--ion-font-size-450, 1.125rem)}:host(.avatar-large){--padding-end:var(--ion-space-250, 10px);--padding-start:var(--ion-space-250, 10px);width:var(--ion-scale-1200, 48px);height:var(--ion-scale-1200, 48px);font-size:var(--ion-font-size-500, 1.25rem)}:host(.avatar-xlarge){--padding-end:var(--ion-space-300, 12px);--padding-start:var(--ion-space-300, 12px);width:var(--ion-scale-1400, 56px);height:var(--ion-scale-1400, 56px);font-size:var(--ion-font-size-550, 1.375rem)}:host(.avatar-xxsmall.avatar-soft),:host(.avatar-xsmall.avatar-soft),:host(.avatar-small.avatar-soft){--border-radius:var(--ion-border-radius-100, 4px)}:host(.avatar-soft){--border-radius:var(--ion-border-radius-200, 8px)}:host(.avatar-round){--border-radius:var(--ion-border-radius-full, 999px)}:host(.avatar-rectangular){--border-radius:var(--ion-border-radius-0, 0px)}:host(.avatar-icon){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.avatar-xsmall) ::slotted(ion-icon){width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}:host(.avatar-small) ::slotted(ion-icon){width:var(--ion-scale-500, 20px);height:var(--ion-scale-500, 20px)}:host(.avatar-medium) ::slotted(ion-icon){width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px)}:host(.avatar-large) ::slotted(ion-icon){width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px)}:host(.avatar-xlarge) ::slotted(ion-icon){width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px)}:host ::slotted(ion-badge.badge-vertical-top:empty){-webkit-transform:translate(var(--ion-scale-050, 2px), calc(var(--ion-scale-050, 2px) * -1));transform:translate(var(--ion-scale-050, 2px), calc(var(--ion-scale-050, 2px) * -1))}:host(.avatar-xxsmall) ::slotted(ion-badge.badge-vertical-top:empty){-webkit-transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px) * -1));transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px) * -1))}:host ::slotted(ion-badge.badge-vertical-bottom:empty){-webkit-transform:translate(0, var(--ion-scale-100, 4px));transform:translate(0, var(--ion-scale-100, 4px))}:host(.avatar-xxsmall) ::slotted(ion-badge.badge-vertical-bottom:empty){-webkit-transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px)));transform:translate(var(--ion-scale-100, 4px), calc(var(--ion-scale-100, 4px)))}:host(.avatar-disabled)::before{right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--ion-state-disabled, rgba(255, 255, 255, 0.6));content:\"\";pointer-events:none}";
|
|
14
14
|
const IonAvatarIonicStyle0 = avatarIonicCss;
|
|
15
15
|
|
|
16
16
|
const avatarIosCss = ":host{border-radius:var(--border-radius);display:block;position:relative}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}";
|
|
@@ -24,6 +24,7 @@ const Avatar = class {
|
|
|
24
24
|
index.registerInstance(this, hostRef);
|
|
25
25
|
this.size = undefined;
|
|
26
26
|
this.shape = undefined;
|
|
27
|
+
this.disabled = false;
|
|
27
28
|
}
|
|
28
29
|
get hasImage() {
|
|
29
30
|
return !!this.el.querySelector('ion-img') || !!this.el.querySelector('img');
|
|
@@ -56,16 +57,18 @@ const Avatar = class {
|
|
|
56
57
|
return shape;
|
|
57
58
|
}
|
|
58
59
|
render() {
|
|
60
|
+
const { hasImage, hasIcon, disabled } = this;
|
|
59
61
|
const theme = ionicGlobal.getIonTheme(this);
|
|
60
62
|
const size = this.getSize();
|
|
61
63
|
const shape = this.getShape();
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: '78ff5863d80f0e334b679a1ba530008dee4e0e69', class: {
|
|
63
65
|
[theme]: true,
|
|
64
66
|
[`avatar-${size}`]: size !== undefined,
|
|
65
67
|
[`avatar-${shape}`]: shape !== undefined,
|
|
66
|
-
[`avatar-image`]:
|
|
67
|
-
[`avatar-icon`]:
|
|
68
|
-
|
|
68
|
+
[`avatar-image`]: hasImage,
|
|
69
|
+
[`avatar-icon`]: hasIcon,
|
|
70
|
+
[`avatar-disabled`]: disabled,
|
|
71
|
+
} }, index.h("slot", { key: '7f82734af2338a2afca67e1c600c64352a52e8a2' })));
|
|
69
72
|
}
|
|
70
73
|
get el() { return index.getElement(this); }
|
|
71
74
|
};
|
|
@@ -75,13 +78,13 @@ Avatar.style = {
|
|
|
75
78
|
md: IonAvatarMdStyle0
|
|
76
79
|
};
|
|
77
80
|
|
|
78
|
-
const badgeIonicCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host([vertical]){position:absolute}:host([vertical]){inset-inline-end:0}:host(:empty.badge-vertical-top){top:0}:host(:empty.badge-vertical-bottom){bottom:0}:host{--background:var(--ion-color-primary, #105cef);--color:var(--ion-color-primary-contrast, #fff);--padding-start:var(--ion-space-200, 8px);--padding-end:var(--ion-space-200, 8px);--padding-top:var(--ion-space-0, 0px);--padding-bottom:var(--ion-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ion-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ion-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ion-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ion-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ion-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ion-space-050, 2px);--padding-end:var(--ion-space-050, 2px);min-width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);font-size:var(--ion-font-size-300, 0.75rem);line-height:var(--ion-font-line-height-400, 16px)}:host(.badge-xxsmall) ::slotted(ion-icon){width:var(--ion-scale-300, 12px);height:var(--ion-scale-300, 12px)}:host(.badge-xsmall){--padding-start:var(--ion-space-100, 4px);--padding-end:var(--ion-space-100, 4px);min-width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px);font-size:var(--ion-font-size-350, 0.875rem);line-height:var(--ion-font-line-height-600, 24px)}:host(.badge-xsmall) ::slotted(ion-icon){width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}:host(.badge-small){--padding-start:var(--ion-space-100, 4px);--padding-end:var(--ion-space-100, 4px);min-width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px);font-size:var(--ion-font-size-400, 1rem);line-height:var(--ion-font-line-height-600, 24px)}:host(.badge-small) ::slotted(ion-icon){width:var(--ion-scale-500, 20px);height:var(--ion-scale-500, 20px)}:host(.badge-medium){min-width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px);font-size:var(--ion-font-size-450, 1.125rem);line-height:var(--ion-font-line-height-700, 28px)}:host(.badge-medium) ::slotted(ion-icon){width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px)}:host(.badge-large){min-width:var(--ion-scale-1200, 48px);height:var(--ion-scale-1200, 48px);font-size:var(--ion-font-size-500, 1.25rem);line-height:var(--ion-font-line-height-700, 28px)}:host(.badge-large) ::slotted(ion-icon){width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px)}:host(.badge-xlarge){min-width:var(--ion-scale-1400, 56px);height:var(--ion-scale-1400, 56px);font-size:var(--ion-font-size-550, 1.375rem);line-height:var(--ion-font-line-height-700, 28px)}:host(.badge-xlarge) ::slotted(ion-icon){width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px)}:host(:empty){--padding-start:0;--padding-end:0}:host(.badge-small:empty){min-width:var(--ion-scale-200, 8px);height:var(--ion-scale-200, 8px)}:host(.badge-medium:empty){min-width:var(--ion-scale-300, 12px);height:var(--ion-scale-300, 12px)}:host(.badge-large:empty){min-width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}";
|
|
81
|
+
const badgeIonicCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host([vertical]:not(.in-tab-button)){position:absolute}:host([vertical]:not(.in-tab-button)){inset-inline-end:0}:host(:not(.in-tab-button):empty.badge-vertical-top){top:0}:host(:not(.in-tab-button):empty.badge-vertical-bottom){bottom:0}:host{--background:var(--ion-color-primary, #105cef);--color:var(--ion-color-primary-contrast, #fff);--padding-start:var(--ion-space-200, 8px);--padding-end:var(--ion-space-200, 8px);--padding-top:var(--ion-space-0, 0px);--padding-bottom:var(--ion-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ion-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ion-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ion-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ion-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ion-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ion-space-050, 2px);--padding-end:var(--ion-space-050, 2px);min-width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px);font-size:var(--ion-font-size-300, 0.75rem);line-height:var(--ion-font-line-height-400, 16px)}:host(.badge-xxsmall) ::slotted(ion-icon){width:var(--ion-scale-300, 12px);height:var(--ion-scale-300, 12px)}:host(.badge-xsmall){--padding-start:var(--ion-space-100, 4px);--padding-end:var(--ion-space-100, 4px);min-width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px);font-size:var(--ion-font-size-350, 0.875rem);line-height:var(--ion-font-line-height-600, 24px)}:host(.badge-xsmall) ::slotted(ion-icon){width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}:host(.badge-small){--padding-start:var(--ion-space-100, 4px);--padding-end:var(--ion-space-100, 4px);min-width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px);font-size:var(--ion-font-size-400, 1rem);line-height:var(--ion-font-line-height-600, 24px)}:host(.badge-small) ::slotted(ion-icon){width:var(--ion-scale-500, 20px);height:var(--ion-scale-500, 20px)}:host(.badge-medium){min-width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px);font-size:var(--ion-font-size-450, 1.125rem);line-height:var(--ion-font-line-height-700, 28px)}:host(.badge-medium) ::slotted(ion-icon){width:var(--ion-scale-600, 24px);height:var(--ion-scale-600, 24px)}:host(.badge-large){min-width:var(--ion-scale-1200, 48px);height:var(--ion-scale-1200, 48px);font-size:var(--ion-font-size-500, 1.25rem);line-height:var(--ion-font-line-height-700, 28px)}:host(.badge-large) ::slotted(ion-icon){width:var(--ion-scale-800, 32px);height:var(--ion-scale-800, 32px)}:host(.badge-xlarge){min-width:var(--ion-scale-1400, 56px);height:var(--ion-scale-1400, 56px);font-size:var(--ion-font-size-550, 1.375rem);line-height:var(--ion-font-line-height-700, 28px)}:host(.badge-xlarge) ::slotted(ion-icon){width:var(--ion-scale-1000, 40px);height:var(--ion-scale-1000, 40px)}:host(:empty){--padding-start:0;--padding-end:0}:host(.badge-small:empty){min-width:var(--ion-scale-200, 8px);height:var(--ion-scale-200, 8px)}:host(.badge-medium:empty){min-width:var(--ion-scale-300, 12px);height:var(--ion-scale-300, 12px)}:host(.badge-large:empty){min-width:var(--ion-scale-400, 16px);height:var(--ion-scale-400, 16px)}:host([vertical].in-tab-button){position:relative}:host([vertical].in-tab-button) ::slotted(ion-icon){top:50%;position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host([vertical].in-tab-button) ::slotted(ion-icon){inset-inline-start:50%}";
|
|
79
82
|
const IonBadgeIonicStyle0 = badgeIonicCss;
|
|
80
83
|
|
|
81
|
-
const badgeIosCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host([vertical]){position:absolute}:host([vertical]){inset-inline-end:0}:host(:empty.badge-vertical-top){top:0}:host(:empty.badge-vertical-bottom){bottom:0}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host(:empty){--padding-start:0;--padding-end:0;--padding-bottom:0;--padding-top:0;border-radius:999px;width:10px;height:10px}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}";
|
|
84
|
+
const badgeIosCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host([vertical]:not(.in-tab-button)){position:absolute}:host([vertical]:not(.in-tab-button)){inset-inline-end:0}:host(:not(.in-tab-button):empty.badge-vertical-top){top:0}:host(:not(.in-tab-button):empty.badge-vertical-bottom){bottom:0}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host(:empty){--padding-start:0;--padding-end:0;--padding-bottom:0;--padding-top:0;border-radius:999px;width:10px;height:10px}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}:host([vertical].in-tab-button){position:relative;min-width:8px}:host([vertical].in-tab-button) ::slotted(ion-icon){top:50%;position:absolute;width:12px;height:12px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host([vertical].in-tab-button) ::slotted(ion-icon){inset-inline-start:50%}";
|
|
82
85
|
const IonBadgeIosStyle0 = badgeIosCss;
|
|
83
86
|
|
|
84
|
-
const badgeMdCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host([vertical]){position:absolute}:host([vertical]){inset-inline-end:0}:host(:empty.badge-vertical-top){top:0}:host(:empty.badge-vertical-bottom){bottom:0}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host(:empty){--padding-start:0;--padding-end:0;--padding-bottom:0;--padding-top:0;border-radius:999px;width:10px;height:10px}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}";
|
|
87
|
+
const badgeMdCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host([vertical]:not(.in-tab-button)){position:absolute}:host([vertical]:not(.in-tab-button)){inset-inline-end:0}:host(:not(.in-tab-button):empty.badge-vertical-top){top:0}:host(:not(.in-tab-button):empty.badge-vertical-bottom){bottom:0}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host(:empty){--padding-start:0;--padding-end:0;--padding-bottom:0;--padding-top:0;border-radius:999px;width:10px;height:10px}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}";
|
|
85
88
|
const IonBadgeMdStyle0 = badgeMdCss;
|
|
86
89
|
|
|
87
90
|
const Badge = class {
|
|
@@ -120,13 +123,15 @@ const Badge = class {
|
|
|
120
123
|
const shape = this.getShape();
|
|
121
124
|
const size = this.getSize();
|
|
122
125
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
123
|
-
return (index.h(index.Host, { key: '
|
|
126
|
+
return (index.h(index.Host, { key: 'fde95405b1e2a2e7542eae3ad2f4a59ef86e9759', class: theme.createColorClasses(this.color, {
|
|
124
127
|
[theme$1]: true,
|
|
125
128
|
[`badge-${shape}`]: shape !== undefined,
|
|
126
129
|
[`badge-${size}`]: size !== undefined,
|
|
127
130
|
[`badge-vertical-${this.vertical}`]: this.vertical !== undefined,
|
|
128
|
-
|
|
131
|
+
'in-tab-button': theme.hostContext('ion-tab-button', this.el),
|
|
132
|
+
}) }, index.h("slot", { key: 'b11925a6901eca458e99d419636caeca0cdf092c' })));
|
|
129
133
|
}
|
|
134
|
+
get el() { return index.getElement(this); }
|
|
130
135
|
};
|
|
131
136
|
Badge.style = {
|
|
132
137
|
ionic: IonBadgeIonicStyle0,
|
|
@@ -143,9 +148,9 @@ const Thumbnail = class {
|
|
|
143
148
|
}
|
|
144
149
|
render() {
|
|
145
150
|
const theme = ionicGlobal.getIonTheme(this);
|
|
146
|
-
return (index.h(index.Host, { key: '
|
|
151
|
+
return (index.h(index.Host, { key: '25e4caa136d1557b27ce8853440db4ab5af0871b', class: {
|
|
147
152
|
[theme]: true,
|
|
148
|
-
} }, index.h("slot", { key: '
|
|
153
|
+
} }, index.h("slot", { key: '95d9f15cf19c4bdb35043e04038a52f8a99ce935' })));
|
|
149
154
|
}
|
|
150
155
|
};
|
|
151
156
|
Thumbnail.style = IonThumbnailStyle0;
|
|
@@ -158,10 +158,10 @@ const Grid = class {
|
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
160
|
const theme = ionicGlobal.getIonTheme(this);
|
|
161
|
-
return (index.h(index.Host, { key: '
|
|
161
|
+
return (index.h(index.Host, { key: 'f439594e1c4186e30d5b57bf3ca95c220df954fa', class: {
|
|
162
162
|
[theme]: true,
|
|
163
163
|
'grid-fixed': this.fixed,
|
|
164
|
-
} }, index.h("slot", { key: '
|
|
164
|
+
} }, index.h("slot", { key: 'e8e01f0b46a05fb3220837fbfa9f161b086c06ad' })));
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
Grid.style = IonGridStyle0;
|
|
@@ -175,9 +175,9 @@ const Row = class {
|
|
|
175
175
|
}
|
|
176
176
|
render() {
|
|
177
177
|
const theme = ionicGlobal.getIonTheme(this);
|
|
178
|
-
return (index.h(index.Host, { key: '
|
|
178
|
+
return (index.h(index.Host, { key: '7004407e649f3b5855bd262c5204f4864580096b', class: {
|
|
179
179
|
[theme]: true,
|
|
180
|
-
} }, index.h("slot", { key: '
|
|
180
|
+
} }, index.h("slot", { key: 'afa6d1036796041447ab497abc7e66e3e96fcad5' })));
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
183
|
Row.style = IonRowStyle0;
|
|
@@ -2106,11 +2106,11 @@ const Picker = class {
|
|
|
2106
2106
|
render() {
|
|
2107
2107
|
const { htmlAttributes } = this;
|
|
2108
2108
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2109
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
2109
|
+
return (index.h(index.Host, Object.assign({ key: 'd3ae98f9e6d9e879b961eb6bb1124f5c1bdcf760', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2110
2110
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2111
2111
|
}, class: Object.assign({ [theme$1]: true,
|
|
2112
2112
|
// Used internally for styling
|
|
2113
|
-
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: '
|
|
2113
|
+
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: '58d83d65e108383231e0ea66e34d7a5e43eac253', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'a94e84cab6f2af6ffeec2378fb527c1cce7e382e', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '7769a2a332cad3360b0df12b0ded130e3379fba3', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { key: 'd998a28c2f280e59b4c97bec35ead458769d74d8', class: "picker-toolbar" }, this.buttons.map((b) => (index.h("div", { class: buttonWrapperClass(b) }, index.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index.h("div", { key: 'fd0f3931dcafab93cb161423fa7ebec21e0396df', class: "picker-columns" }, index.h("div", { key: 'e8f6c34bdb4000b4df88bdd1a83588a10e0277bd', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-legacy-column", { col: c })), index.h("div", { key: 'bb131d346dd240a06f4319f6d07ccdd54e53c5cf', class: "picker-below-highlight" }))), index.h("div", { key: 'd06119270e99ecf6ce24ee50c10cb5f414206ccf', tabindex: "0", "aria-hidden": "true" })));
|
|
2114
2114
|
}
|
|
2115
2115
|
get el() { return index.getElement(this); }
|
|
2116
2116
|
static get watchers() { return {
|
|
@@ -2467,9 +2467,9 @@ const PickerColumnCmp = class {
|
|
|
2467
2467
|
render() {
|
|
2468
2468
|
const col = this.col;
|
|
2469
2469
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2470
|
-
return (index.h(index.Host, { key: '
|
|
2470
|
+
return (index.h(index.Host, { key: '7d0f0cba34ebb037eb6d08d4e91d86e635ce19e6', class: Object.assign({ [theme$1]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2471
2471
|
'max-width': this.col.columnWidth,
|
|
2472
|
-
} }, col.prefix && (index.h("div", { key: '
|
|
2472
|
+
} }, col.prefix && (index.h("div", { key: '347c054cb774576110e4e22372eb36fd9b3c66f6', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { key: '2bd3ae98af75b418f9d98480e9b56c80f515ffce', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index$1) => (index.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index$1 }, o.text)))), col.suffix && (index.h("div", { key: '93cbe85713ba0d74496031aa98b9de1ed5a8f775', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2473
2473
|
}
|
|
2474
2474
|
get el() { return index.getElement(this); }
|
|
2475
2475
|
static get watchers() { return {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index = require('./index-2e236a04.js');
|
|
9
|
+
const ionicGlobal = require('./ionic-global-5c446a5e.js');
|
|
10
|
+
require('./config-aff4ff52.js');
|
|
11
|
+
|
|
12
|
+
const dividerIonicCss = ":host{--margin-top:0px;--margin-bottom:0px;--padding-start:0px;--padding-end:0px;display:block;width:100%;padding-right:calc(var(--padding-end) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-end) + var(--ion-safe-area-left, 0px))}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-end) + var(--ion-safe-area-left, 0px))}}:host hr{display:block;width:100%;margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);border:none}:host hr{border-top:var(--ion-border-size-025, 1px) var(--ion-border-style-solid, solid) var(--ion-border-default, #e0e0e0)}:host(.divider-inset){--padding-start:var(--ion-space-400, 16px);--padding-end:var(--ion-space-400, 16px)}:host(.divider-spacing-xsmall){--margin-top:var(--ion-space-200, 8px);--margin-bottom:var(--ion-space-200, 8px)}:host(.divider-spacing-small){--margin-top:var(--ion-space-300, 12px);--margin-bottom:var(--ion-space-300, 12px)}:host(.divider-spacing-medium){--margin-top:var(--ion-space-400, 16px);--margin-bottom:var(--ion-space-400, 16px)}:host(.divider-spacing-large){--margin-top:var(--ion-space-600, 24px);--margin-bottom:var(--ion-space-600, 24px)}:host(.divider-spacing-xlarge){--margin-top:var(--ion-space-800, 32px);--margin-bottom:var(--ion-space-800, 32px)}:host(.divider-spacing-xxlarge){--margin-top:var(--ion-space-1000, 40px);--margin-bottom:var(--ion-space-1000, 40px)}";
|
|
13
|
+
const IonDividerIonicStyle0 = dividerIonicCss;
|
|
14
|
+
|
|
15
|
+
const dividerIosCss = ":host{--margin-top:0px;--margin-bottom:0px;--padding-start:0px;--padding-end:0px;display:block;width:100%;padding-right:calc(var(--padding-end) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-end) + var(--ion-safe-area-left, 0px))}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-end) + var(--ion-safe-area-left, 0px))}}:host hr{display:block;width:100%;margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);border:none}:host hr{border-top:1px solid #e0e0e0}:host(.divider-inset){--padding-start:16px;--padding-end:16px}:host(.divider-spacing-xsmall){--margin-top:8px;--margin-bottom:8px}:host(.divider-spacing-small){--margin-top:12px;--margin-bottom:12px}:host(.divider-spacing-medium){--margin-top:16px;--margin-bottom:16px}:host(.divider-spacing-large){--margin-top:24px;--margin-bottom:24px}:host(.divider-spacing-xlarge){--margin-top:32px;--margin-bottom:32px}:host(.divider-spacing-xxlarge){--margin-top:40px;--margin-bottom:40px}";
|
|
16
|
+
const IonDividerIosStyle0 = dividerIosCss;
|
|
17
|
+
|
|
18
|
+
const dividerMdCss = ":host{--margin-top:0px;--margin-bottom:0px;--padding-start:0px;--padding-end:0px;display:block;width:100%;padding-right:calc(var(--padding-end) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-end) + var(--ion-safe-area-left, 0px))}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:calc(var(--padding-end) + var(--ion-safe-area-left, 0px))}}:host hr{display:block;width:100%;margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);border:none}:host hr{border-top:1px solid #e0e0e0}:host(.divider-inset){--padding-start:16px;--padding-end:16px}:host(.divider-spacing-xsmall){--margin-top:8px;--margin-bottom:8px}:host(.divider-spacing-small){--margin-top:12px;--margin-bottom:12px}:host(.divider-spacing-medium){--margin-top:16px;--margin-bottom:16px}:host(.divider-spacing-large){--margin-top:24px;--margin-bottom:24px}:host(.divider-spacing-xlarge){--margin-top:32px;--margin-bottom:32px}:host(.divider-spacing-xxlarge){--margin-top:40px;--margin-bottom:40px}";
|
|
19
|
+
const IonDividerMdStyle0 = dividerMdCss;
|
|
20
|
+
|
|
21
|
+
const Divider = class {
|
|
22
|
+
constructor(hostRef) {
|
|
23
|
+
index.registerInstance(this, hostRef);
|
|
24
|
+
this.spacing = 'xxsmall';
|
|
25
|
+
this.inset = false;
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const { inset, spacing } = this;
|
|
29
|
+
const theme = ionicGlobal.getIonTheme(this);
|
|
30
|
+
return (index.h(index.Host, { key: '38ef60c18afbf8c330ea48fb469a079244614aa3', class: {
|
|
31
|
+
[theme]: true,
|
|
32
|
+
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
33
|
+
[`divider-inset`]: inset,
|
|
34
|
+
} }, index.h("hr", { key: '267bd548899dea34c38fa24e6371f46b55b45eb7' })));
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
Divider.style = {
|
|
38
|
+
ionic: IonDividerIonicStyle0,
|
|
39
|
+
ios: IonDividerIosStyle0,
|
|
40
|
+
md: IonDividerMdStyle0
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
exports.ion_divider = Divider;
|