@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/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-03-
|
|
2
|
+
"timestamp": "2025-03-24T16:55:24",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.20.0",
|
|
@@ -2676,6 +2676,28 @@
|
|
|
2676
2676
|
],
|
|
2677
2677
|
"usage": {},
|
|
2678
2678
|
"props": [
|
|
2679
|
+
{
|
|
2680
|
+
"name": "disabled",
|
|
2681
|
+
"type": "boolean",
|
|
2682
|
+
"complexType": {
|
|
2683
|
+
"original": "boolean",
|
|
2684
|
+
"resolved": "boolean",
|
|
2685
|
+
"references": {}
|
|
2686
|
+
},
|
|
2687
|
+
"mutable": false,
|
|
2688
|
+
"attr": "disabled",
|
|
2689
|
+
"reflectToAttr": false,
|
|
2690
|
+
"docs": "If `true`, the user cannot interact with the avatar.",
|
|
2691
|
+
"docsTags": [],
|
|
2692
|
+
"default": "false",
|
|
2693
|
+
"values": [
|
|
2694
|
+
{
|
|
2695
|
+
"type": "boolean"
|
|
2696
|
+
}
|
|
2697
|
+
],
|
|
2698
|
+
"optional": false,
|
|
2699
|
+
"required": false
|
|
2700
|
+
},
|
|
2679
2701
|
{
|
|
2680
2702
|
"name": "mode",
|
|
2681
2703
|
"type": "\"ios\" | \"md\"",
|
|
@@ -11164,6 +11186,170 @@
|
|
|
11164
11186
|
]
|
|
11165
11187
|
}
|
|
11166
11188
|
},
|
|
11189
|
+
{
|
|
11190
|
+
"filePath": "src/components/divider/divider.tsx",
|
|
11191
|
+
"encapsulation": "shadow",
|
|
11192
|
+
"tag": "ion-divider",
|
|
11193
|
+
"docs": "",
|
|
11194
|
+
"docsTags": [],
|
|
11195
|
+
"usage": {},
|
|
11196
|
+
"props": [
|
|
11197
|
+
{
|
|
11198
|
+
"name": "inset",
|
|
11199
|
+
"type": "boolean",
|
|
11200
|
+
"complexType": {
|
|
11201
|
+
"original": "boolean",
|
|
11202
|
+
"resolved": "boolean",
|
|
11203
|
+
"references": {}
|
|
11204
|
+
},
|
|
11205
|
+
"mutable": false,
|
|
11206
|
+
"attr": "inset",
|
|
11207
|
+
"reflectToAttr": false,
|
|
11208
|
+
"docs": "If `true`, the divider will have horizontal margins\nBy default, it's `false`",
|
|
11209
|
+
"docsTags": [],
|
|
11210
|
+
"default": "false",
|
|
11211
|
+
"values": [
|
|
11212
|
+
{
|
|
11213
|
+
"type": "boolean"
|
|
11214
|
+
}
|
|
11215
|
+
],
|
|
11216
|
+
"optional": false,
|
|
11217
|
+
"required": false
|
|
11218
|
+
},
|
|
11219
|
+
{
|
|
11220
|
+
"name": "spacing",
|
|
11221
|
+
"type": "\"large\" | \"medium\" | \"small\" | \"xlarge\" | \"xsmall\" | \"xxlarge\" | \"xxsmall\" | undefined",
|
|
11222
|
+
"complexType": {
|
|
11223
|
+
"original": "'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'",
|
|
11224
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"xlarge\" | \"xsmall\" | \"xxlarge\" | \"xxsmall\" | undefined",
|
|
11225
|
+
"references": {}
|
|
11226
|
+
},
|
|
11227
|
+
"mutable": false,
|
|
11228
|
+
"attr": "spacing",
|
|
11229
|
+
"reflectToAttr": true,
|
|
11230
|
+
"docs": "Set to `\"xxsmall\"` for the smallest spacing.\nSet to \"xsmall\" for very small spacing.\nSet to `\"small\"` for small spacing.\nSet to \"medium\" for medium spacing.\nSet to \"large\" for large spacing.\nSet to `\"xlarge\"` for the largest spacing.\n\nDefaults to `\"xxsmall\"`.",
|
|
11231
|
+
"docsTags": [],
|
|
11232
|
+
"default": "'xxsmall'",
|
|
11233
|
+
"values": [
|
|
11234
|
+
{
|
|
11235
|
+
"value": "large",
|
|
11236
|
+
"type": "string"
|
|
11237
|
+
},
|
|
11238
|
+
{
|
|
11239
|
+
"value": "medium",
|
|
11240
|
+
"type": "string"
|
|
11241
|
+
},
|
|
11242
|
+
{
|
|
11243
|
+
"value": "small",
|
|
11244
|
+
"type": "string"
|
|
11245
|
+
},
|
|
11246
|
+
{
|
|
11247
|
+
"value": "xlarge",
|
|
11248
|
+
"type": "string"
|
|
11249
|
+
},
|
|
11250
|
+
{
|
|
11251
|
+
"value": "xsmall",
|
|
11252
|
+
"type": "string"
|
|
11253
|
+
},
|
|
11254
|
+
{
|
|
11255
|
+
"value": "xxlarge",
|
|
11256
|
+
"type": "string"
|
|
11257
|
+
},
|
|
11258
|
+
{
|
|
11259
|
+
"value": "xxsmall",
|
|
11260
|
+
"type": "string"
|
|
11261
|
+
},
|
|
11262
|
+
{
|
|
11263
|
+
"type": "undefined"
|
|
11264
|
+
}
|
|
11265
|
+
],
|
|
11266
|
+
"optional": true,
|
|
11267
|
+
"required": false
|
|
11268
|
+
}
|
|
11269
|
+
],
|
|
11270
|
+
"methods": [],
|
|
11271
|
+
"events": [],
|
|
11272
|
+
"listeners": [],
|
|
11273
|
+
"styles": [
|
|
11274
|
+
{
|
|
11275
|
+
"name": "--margin-bottom",
|
|
11276
|
+
"annotation": "prop",
|
|
11277
|
+
"docs": "Bottom margin of the divider",
|
|
11278
|
+
"mode": "ionic"
|
|
11279
|
+
},
|
|
11280
|
+
{
|
|
11281
|
+
"name": "--margin-bottom",
|
|
11282
|
+
"annotation": "prop",
|
|
11283
|
+
"docs": "Bottom margin of the divider",
|
|
11284
|
+
"mode": "ios"
|
|
11285
|
+
},
|
|
11286
|
+
{
|
|
11287
|
+
"name": "--margin-bottom",
|
|
11288
|
+
"annotation": "prop",
|
|
11289
|
+
"docs": "Bottom margin of the divider",
|
|
11290
|
+
"mode": "md"
|
|
11291
|
+
},
|
|
11292
|
+
{
|
|
11293
|
+
"name": "--margin-top",
|
|
11294
|
+
"annotation": "prop",
|
|
11295
|
+
"docs": "Top margin of the divider",
|
|
11296
|
+
"mode": "ionic"
|
|
11297
|
+
},
|
|
11298
|
+
{
|
|
11299
|
+
"name": "--margin-top",
|
|
11300
|
+
"annotation": "prop",
|
|
11301
|
+
"docs": "Top margin of the divider",
|
|
11302
|
+
"mode": "ios"
|
|
11303
|
+
},
|
|
11304
|
+
{
|
|
11305
|
+
"name": "--margin-top",
|
|
11306
|
+
"annotation": "prop",
|
|
11307
|
+
"docs": "Top margin of the divider",
|
|
11308
|
+
"mode": "md"
|
|
11309
|
+
},
|
|
11310
|
+
{
|
|
11311
|
+
"name": "--padding-end",
|
|
11312
|
+
"annotation": "prop",
|
|
11313
|
+
"docs": "Right padding if direction is left-to-right, and left padding if direction is right-to-left of the divider",
|
|
11314
|
+
"mode": "ionic"
|
|
11315
|
+
},
|
|
11316
|
+
{
|
|
11317
|
+
"name": "--padding-end",
|
|
11318
|
+
"annotation": "prop",
|
|
11319
|
+
"docs": "Right padding if direction is left-to-right, and left padding if direction is right-to-left of the divider",
|
|
11320
|
+
"mode": "ios"
|
|
11321
|
+
},
|
|
11322
|
+
{
|
|
11323
|
+
"name": "--padding-end",
|
|
11324
|
+
"annotation": "prop",
|
|
11325
|
+
"docs": "Right padding if direction is left-to-right, and left padding if direction is right-to-left of the divider",
|
|
11326
|
+
"mode": "md"
|
|
11327
|
+
},
|
|
11328
|
+
{
|
|
11329
|
+
"name": "--padding-start",
|
|
11330
|
+
"annotation": "prop",
|
|
11331
|
+
"docs": "Left padding if direction is left-to-right, and right padding if direction is right-to-left of the divider",
|
|
11332
|
+
"mode": "ionic"
|
|
11333
|
+
},
|
|
11334
|
+
{
|
|
11335
|
+
"name": "--padding-start",
|
|
11336
|
+
"annotation": "prop",
|
|
11337
|
+
"docs": "Left padding if direction is left-to-right, and right padding if direction is right-to-left of the divider",
|
|
11338
|
+
"mode": "ios"
|
|
11339
|
+
},
|
|
11340
|
+
{
|
|
11341
|
+
"name": "--padding-start",
|
|
11342
|
+
"annotation": "prop",
|
|
11343
|
+
"docs": "Left padding if direction is left-to-right, and right padding if direction is right-to-left of the divider",
|
|
11344
|
+
"mode": "md"
|
|
11345
|
+
}
|
|
11346
|
+
],
|
|
11347
|
+
"slots": [],
|
|
11348
|
+
"parts": [],
|
|
11349
|
+
"dependents": [],
|
|
11350
|
+
"dependencies": [],
|
|
11351
|
+
"dependencyGraph": {}
|
|
11352
|
+
},
|
|
11167
11353
|
{
|
|
11168
11354
|
"filePath": "src/components/fab/fab.tsx",
|
|
11169
11355
|
"encapsulation": "shadow",
|
|
@@ -601,7 +601,7 @@ const Footer = class {
|
|
|
601
601
|
const theme = getIonTheme(this);
|
|
602
602
|
const tabs = this.el.closest('ion-tabs');
|
|
603
603
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
604
|
-
return (h(Host, { key: '
|
|
604
|
+
return (h(Host, { key: 'e70e2616f69a6205a1c2045bf13a792c9a6bc27c', role: "contentinfo", class: {
|
|
605
605
|
[theme]: true,
|
|
606
606
|
// Used internally for styling
|
|
607
607
|
[`footer-${theme}`]: true,
|
|
@@ -609,7 +609,7 @@ const Footer = class {
|
|
|
609
609
|
[`footer-translucent-${theme}`]: translucent,
|
|
610
610
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
611
611
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
612
|
-
} }, theme === 'ios' && translucent && h("div", { key: '
|
|
612
|
+
} }, theme === 'ios' && translucent && h("div", { key: '72803059c1d82a766a0ce69e5a8a6a3b7e576700', class: "footer-background" }), h("slot", { key: 'de450e4eb8f5c63b11f548061f29d957ef308539' })));
|
|
613
613
|
}
|
|
614
614
|
get el() { return getElement(this); }
|
|
615
615
|
};
|
|
@@ -956,7 +956,7 @@ const Header = class {
|
|
|
956
956
|
const collapse = this.collapse || 'none';
|
|
957
957
|
// banner role must be at top level, so remove role if inside a menu
|
|
958
958
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
959
|
-
return (h(Host, Object.assign({ key: '
|
|
959
|
+
return (h(Host, Object.assign({ key: '7f58480b7f04b9d700bcc08d2418d121ec8f4124', role: roleType, class: {
|
|
960
960
|
[theme]: true,
|
|
961
961
|
// Used internally for styling
|
|
962
962
|
[`header-${theme}`]: true,
|
|
@@ -964,7 +964,7 @@ const Header = class {
|
|
|
964
964
|
[`header-collapse-${collapse}`]: true,
|
|
965
965
|
[`header-translucent-${theme}`]: this.translucent,
|
|
966
966
|
['header-divider']: divider,
|
|
967
|
-
} }, inheritedAttributes), theme === 'ios' && translucent && h("div", { key: '
|
|
967
|
+
} }, inheritedAttributes), theme === 'ios' && translucent && h("div", { key: 'c1c77a735ed96e93a5ee9511415c19a80989dbc9', class: "header-background" }), h("slot", { key: '13a06aa2aa3358ba3d4f61fe6119b8506b866c14' })));
|
|
968
968
|
}
|
|
969
969
|
get el() { return getElement(this); }
|
|
970
970
|
};
|
|
@@ -1149,7 +1149,7 @@ const RouterOutlet = class {
|
|
|
1149
1149
|
return true;
|
|
1150
1150
|
}
|
|
1151
1151
|
render() {
|
|
1152
|
-
return h("slot", { key: '
|
|
1152
|
+
return h("slot", { key: '33d398d0fadff009560ca0835a088eb26e2c9c02' });
|
|
1153
1153
|
}
|
|
1154
1154
|
get el() { return getElement(this); }
|
|
1155
1155
|
static get watchers() { return {
|
|
@@ -1192,11 +1192,11 @@ const ToolbarTitle = class {
|
|
|
1192
1192
|
render() {
|
|
1193
1193
|
const theme = getIonTheme(this);
|
|
1194
1194
|
const size = this.getSize();
|
|
1195
|
-
return (h(Host, { key: '
|
|
1195
|
+
return (h(Host, { key: '4fbaa288cb8de08bf35d6cc8e591adfdd4b95f69', class: createColorClasses(this.color, {
|
|
1196
1196
|
[theme]: true,
|
|
1197
1197
|
[`title-${size}`]: true,
|
|
1198
1198
|
'title-rtl': document.dir === 'rtl',
|
|
1199
|
-
}) }, h("div", { key: '
|
|
1199
|
+
}) }, h("div", { key: '701a9b762a04d4bbccf3c0aeaa33be296827ae2b', class: "toolbar-title" }, h("slot", { key: '8998a07f0e81e0e920165c644b06ff3aa3a625c7' }))));
|
|
1200
1200
|
}
|
|
1201
1201
|
get el() { return getElement(this); }
|
|
1202
1202
|
static get watchers() { return {
|
|
@@ -1268,10 +1268,10 @@ const Toolbar = class {
|
|
|
1268
1268
|
this.childrenStyles.forEach((value) => {
|
|
1269
1269
|
Object.assign(childStyles, value);
|
|
1270
1270
|
});
|
|
1271
|
-
return (h(Host, { key: '
|
|
1271
|
+
return (h(Host, { key: '6368640c5bcc3515d628c24116912e7ba1e79a00', class: Object.assign(Object.assign({}, childStyles), createColorClasses(this.color, {
|
|
1272
1272
|
[theme]: true,
|
|
1273
1273
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
1274
|
-
})) }, h("div", { key: '
|
|
1274
|
+
})) }, 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" }))));
|
|
1275
1275
|
}
|
|
1276
1276
|
get el() { return getElement(this); }
|
|
1277
1277
|
};
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { r as registerInstance, h, f as Host, g as getElement } from './index-4c3c5d46.js';
|
|
5
5
|
import { c as getIonTheme } from './ionic-global-b30d2cc2.js';
|
|
6
|
-
import { c as createColorClasses } from './theme-01f3f29c.js';
|
|
6
|
+
import { c as createColorClasses, h as hostContext } from './theme-01f3f29c.js';
|
|
7
7
|
import './config-84eb9670.js';
|
|
8
8
|
|
|
9
|
-
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)))}";
|
|
9
|
+
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}";
|
|
10
10
|
const IonAvatarIonicStyle0 = avatarIonicCss;
|
|
11
11
|
|
|
12
12
|
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}";
|
|
@@ -20,6 +20,7 @@ const Avatar = class {
|
|
|
20
20
|
registerInstance(this, hostRef);
|
|
21
21
|
this.size = undefined;
|
|
22
22
|
this.shape = undefined;
|
|
23
|
+
this.disabled = false;
|
|
23
24
|
}
|
|
24
25
|
get hasImage() {
|
|
25
26
|
return !!this.el.querySelector('ion-img') || !!this.el.querySelector('img');
|
|
@@ -52,16 +53,18 @@ const Avatar = class {
|
|
|
52
53
|
return shape;
|
|
53
54
|
}
|
|
54
55
|
render() {
|
|
56
|
+
const { hasImage, hasIcon, disabled } = this;
|
|
55
57
|
const theme = getIonTheme(this);
|
|
56
58
|
const size = this.getSize();
|
|
57
59
|
const shape = this.getShape();
|
|
58
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '78ff5863d80f0e334b679a1ba530008dee4e0e69', class: {
|
|
59
61
|
[theme]: true,
|
|
60
62
|
[`avatar-${size}`]: size !== undefined,
|
|
61
63
|
[`avatar-${shape}`]: shape !== undefined,
|
|
62
|
-
[`avatar-image`]:
|
|
63
|
-
[`avatar-icon`]:
|
|
64
|
-
|
|
64
|
+
[`avatar-image`]: hasImage,
|
|
65
|
+
[`avatar-icon`]: hasIcon,
|
|
66
|
+
[`avatar-disabled`]: disabled,
|
|
67
|
+
} }, h("slot", { key: '7f82734af2338a2afca67e1c600c64352a52e8a2' })));
|
|
65
68
|
}
|
|
66
69
|
get el() { return getElement(this); }
|
|
67
70
|
};
|
|
@@ -71,13 +74,13 @@ Avatar.style = {
|
|
|
71
74
|
md: IonAvatarMdStyle0
|
|
72
75
|
};
|
|
73
76
|
|
|
74
|
-
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)}";
|
|
77
|
+
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%}";
|
|
75
78
|
const IonBadgeIonicStyle0 = badgeIonicCss;
|
|
76
79
|
|
|
77
|
-
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)}";
|
|
80
|
+
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%}";
|
|
78
81
|
const IonBadgeIosStyle0 = badgeIosCss;
|
|
79
82
|
|
|
80
|
-
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}";
|
|
83
|
+
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}";
|
|
81
84
|
const IonBadgeMdStyle0 = badgeMdCss;
|
|
82
85
|
|
|
83
86
|
const Badge = class {
|
|
@@ -116,13 +119,15 @@ const Badge = class {
|
|
|
116
119
|
const shape = this.getShape();
|
|
117
120
|
const size = this.getSize();
|
|
118
121
|
const theme = getIonTheme(this);
|
|
119
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: 'fde95405b1e2a2e7542eae3ad2f4a59ef86e9759', class: createColorClasses(this.color, {
|
|
120
123
|
[theme]: true,
|
|
121
124
|
[`badge-${shape}`]: shape !== undefined,
|
|
122
125
|
[`badge-${size}`]: size !== undefined,
|
|
123
126
|
[`badge-vertical-${this.vertical}`]: this.vertical !== undefined,
|
|
124
|
-
|
|
127
|
+
'in-tab-button': hostContext('ion-tab-button', this.el),
|
|
128
|
+
}) }, h("slot", { key: 'b11925a6901eca458e99d419636caeca0cdf092c' })));
|
|
125
129
|
}
|
|
130
|
+
get el() { return getElement(this); }
|
|
126
131
|
};
|
|
127
132
|
Badge.style = {
|
|
128
133
|
ionic: IonBadgeIonicStyle0,
|
|
@@ -139,9 +144,9 @@ const Thumbnail = class {
|
|
|
139
144
|
}
|
|
140
145
|
render() {
|
|
141
146
|
const theme = getIonTheme(this);
|
|
142
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '25e4caa136d1557b27ce8853440db4ab5af0871b', class: {
|
|
143
148
|
[theme]: true,
|
|
144
|
-
} }, h("slot", { key: '
|
|
149
|
+
} }, h("slot", { key: '95d9f15cf19c4bdb35043e04038a52f8a99ce935' })));
|
|
145
150
|
}
|
|
146
151
|
};
|
|
147
152
|
Thumbnail.style = IonThumbnailStyle0;
|
|
@@ -154,10 +154,10 @@ const Grid = class {
|
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
156
|
const theme = getIonTheme(this);
|
|
157
|
-
return (h(Host, { key: '
|
|
157
|
+
return (h(Host, { key: 'f439594e1c4186e30d5b57bf3ca95c220df954fa', class: {
|
|
158
158
|
[theme]: true,
|
|
159
159
|
'grid-fixed': this.fixed,
|
|
160
|
-
} }, h("slot", { key: '
|
|
160
|
+
} }, h("slot", { key: 'e8e01f0b46a05fb3220837fbfa9f161b086c06ad' })));
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
Grid.style = IonGridStyle0;
|
|
@@ -171,9 +171,9 @@ const Row = class {
|
|
|
171
171
|
}
|
|
172
172
|
render() {
|
|
173
173
|
const theme = getIonTheme(this);
|
|
174
|
-
return (h(Host, { key: '
|
|
174
|
+
return (h(Host, { key: '7004407e649f3b5855bd262c5204f4864580096b', class: {
|
|
175
175
|
[theme]: true,
|
|
176
|
-
} }, h("slot", { key: '
|
|
176
|
+
} }, h("slot", { key: 'afa6d1036796041447ab497abc7e66e3e96fcad5' })));
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
Row.style = IonRowStyle0;
|
|
@@ -2102,11 +2102,11 @@ const Picker = class {
|
|
|
2102
2102
|
render() {
|
|
2103
2103
|
const { htmlAttributes } = this;
|
|
2104
2104
|
const theme = getIonTheme(this);
|
|
2105
|
-
return (h(Host, Object.assign({ key: '
|
|
2105
|
+
return (h(Host, Object.assign({ key: 'd3ae98f9e6d9e879b961eb6bb1124f5c1bdcf760', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2106
2106
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2107
2107
|
}, class: Object.assign({ [theme]: true,
|
|
2108
2108
|
// Used internally for styling
|
|
2109
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
2109
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '58d83d65e108383231e0ea66e34d7a5e43eac253', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'a94e84cab6f2af6ffeec2378fb527c1cce7e382e', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '7769a2a332cad3360b0df12b0ded130e3379fba3', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: 'd998a28c2f280e59b4c97bec35ead458769d74d8', 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: 'fd0f3931dcafab93cb161423fa7ebec21e0396df', class: "picker-columns" }, h("div", { key: 'e8f6c34bdb4000b4df88bdd1a83588a10e0277bd', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'bb131d346dd240a06f4319f6d07ccdd54e53c5cf', class: "picker-below-highlight" }))), h("div", { key: 'd06119270e99ecf6ce24ee50c10cb5f414206ccf', tabindex: "0", "aria-hidden": "true" })));
|
|
2110
2110
|
}
|
|
2111
2111
|
get el() { return getElement(this); }
|
|
2112
2112
|
static get watchers() { return {
|
|
@@ -2463,9 +2463,9 @@ const PickerColumnCmp = class {
|
|
|
2463
2463
|
render() {
|
|
2464
2464
|
const col = this.col;
|
|
2465
2465
|
const theme = getIonTheme(this);
|
|
2466
|
-
return (h(Host, { key: '
|
|
2466
|
+
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: {
|
|
2467
2467
|
'max-width': this.col.columnWidth,
|
|
2468
|
-
} }, col.prefix && (h("div", { key: '
|
|
2468
|
+
} }, 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))));
|
|
2469
2469
|
}
|
|
2470
2470
|
get el() { return getElement(this); }
|
|
2471
2471
|
static get watchers() { return {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { r as registerInstance, h, f as Host } from './index-4c3c5d46.js';
|
|
5
|
+
import { c as getIonTheme } from './ionic-global-b30d2cc2.js';
|
|
6
|
+
import './config-84eb9670.js';
|
|
7
|
+
|
|
8
|
+
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)}";
|
|
9
|
+
const IonDividerIonicStyle0 = dividerIonicCss;
|
|
10
|
+
|
|
11
|
+
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}";
|
|
12
|
+
const IonDividerIosStyle0 = dividerIosCss;
|
|
13
|
+
|
|
14
|
+
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}";
|
|
15
|
+
const IonDividerMdStyle0 = dividerMdCss;
|
|
16
|
+
|
|
17
|
+
const Divider = class {
|
|
18
|
+
constructor(hostRef) {
|
|
19
|
+
registerInstance(this, hostRef);
|
|
20
|
+
this.spacing = 'xxsmall';
|
|
21
|
+
this.inset = false;
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
const { inset, spacing } = this;
|
|
25
|
+
const theme = getIonTheme(this);
|
|
26
|
+
return (h(Host, { key: '38ef60c18afbf8c330ea48fb469a079244614aa3', class: {
|
|
27
|
+
[theme]: true,
|
|
28
|
+
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
29
|
+
[`divider-inset`]: inset,
|
|
30
|
+
} }, h("hr", { key: '267bd548899dea34c38fa24e6371f46b55b45eb7' })));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
Divider.style = {
|
|
34
|
+
ionic: IonDividerIonicStyle0,
|
|
35
|
+
ios: IonDividerIosStyle0,
|
|
36
|
+
md: IonDividerMdStyle0
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { Divider as ion_divider };
|
|
@@ -58,12 +58,12 @@ const Fab = class {
|
|
|
58
58
|
render() {
|
|
59
59
|
const { horizontal, vertical, edge } = this;
|
|
60
60
|
const theme = getIonTheme(this);
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '8b758c5283382f1bddd051f5a575d4952b001c50', class: {
|
|
62
62
|
[theme]: true,
|
|
63
63
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
64
64
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
65
65
|
'fab-edge': edge,
|
|
66
|
-
} }, h("slot", { key: '
|
|
66
|
+
} }, h("slot", { key: '45ce20f308b3de9c09d625d45b3f3dc7b4ee8652' })));
|
|
67
67
|
}
|
|
68
68
|
get el() { return getElement(this); }
|
|
69
69
|
static get watchers() { return {
|
|
@@ -152,7 +152,7 @@ const FabButton = class {
|
|
|
152
152
|
rel: this.rel,
|
|
153
153
|
target: this.target,
|
|
154
154
|
};
|
|
155
|
-
return (h(Host, { key: '
|
|
155
|
+
return (h(Host, { key: 'ffc552ad3b542e0f79e319fa86b063c3289e1a23', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
156
156
|
[theme]: true,
|
|
157
157
|
'fab-button-in-list': inList,
|
|
158
158
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -163,7 +163,7 @@ const FabButton = class {
|
|
|
163
163
|
'ion-activatable': true,
|
|
164
164
|
'ion-focusable': true,
|
|
165
165
|
[`fab-button-${size}`]: size !== undefined,
|
|
166
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
166
|
+
}) }, h(TagType, Object.assign({ key: 'acf0c99822630499b171f0873924cfe10ef41547' }, 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: '236a7340cf8213a69325716cb3b813abb627b40a', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '908a53794c801a64c8cdae9b08ae75deb93a5b22', class: "button-inner" }, h("slot", { key: '41bf30e091cfcf90dcf3975a4b05a30c987e8aae' })), theme === 'md' && h("ion-ripple-effect", { key: 'b665e44a357138ef30454e267a2214356dc0fe3b' }))));
|
|
167
167
|
}
|
|
168
168
|
get el() { return getElement(this); }
|
|
169
169
|
};
|
|
@@ -192,11 +192,11 @@ const FabList = class {
|
|
|
192
192
|
}
|
|
193
193
|
render() {
|
|
194
194
|
const theme = getIonTheme(this);
|
|
195
|
-
return (h(Host, { key: '
|
|
195
|
+
return (h(Host, { key: 'b0e984c110ea8bf4aa0daeca5f66253c9e0666fd', class: {
|
|
196
196
|
[theme]: true,
|
|
197
197
|
'fab-list-active': this.activated,
|
|
198
198
|
[`fab-list-side-${this.side}`]: true,
|
|
199
|
-
} }, h("slot", { key: '
|
|
199
|
+
} }, h("slot", { key: '7bedbb010e89d1304d86c4261f5378e90741611e' })));
|
|
200
200
|
}
|
|
201
201
|
get el() { return getElement(this); }
|
|
202
202
|
static get watchers() { return {
|
|
@@ -79,9 +79,9 @@ const Img = class {
|
|
|
79
79
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
80
80
|
const { draggable } = inheritedAttributes;
|
|
81
81
|
const theme = getIonTheme(this);
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '70377d0128ad109580598f5c0a19cdee1d1f8f2a', class: {
|
|
83
83
|
[theme]: true,
|
|
84
|
-
} }, h("img", { key: '
|
|
84
|
+
} }, h("img", { key: '022467667337d04384d19d78378b5cf499e1b6c9', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
85
85
|
}
|
|
86
86
|
get el() { return getElement(this); }
|
|
87
87
|
static get watchers() { return {
|
|
@@ -177,7 +177,7 @@ const InfiniteScroll = class {
|
|
|
177
177
|
render() {
|
|
178
178
|
const theme = getIonTheme(this);
|
|
179
179
|
const disabled = this.disabled;
|
|
180
|
-
return (h(Host, { key: '
|
|
180
|
+
return (h(Host, { key: 'd0cf2316c216b7b4f10ad78457c53e86f8be814a', class: {
|
|
181
181
|
[theme]: true,
|
|
182
182
|
'infinite-scroll-loading': this.isLoading,
|
|
183
183
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -222,11 +222,11 @@ const InfiniteScrollContent = class {
|
|
|
222
222
|
}
|
|
223
223
|
render() {
|
|
224
224
|
const theme = getIonTheme(this);
|
|
225
|
-
return (h(Host, { key: '
|
|
225
|
+
return (h(Host, { key: '51742937a374c43c290c20569857f617c99e1e7c', class: {
|
|
226
226
|
[theme]: true,
|
|
227
227
|
// Used internally for styling
|
|
228
228
|
[`infinite-scroll-content-${theme}`]: true,
|
|
229
|
-
} }, h("div", { key: '
|
|
229
|
+
} }, h("div", { key: '42c249b6df301004a834bb615766c38d5ab03d91', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '7cc7aab81997ef58b914e084402f45dc3abf2ce4', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '5c84df7096076580e0bb4926d377c2fac4f75c3d', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
232
|
InfiniteScrollContent.style = {
|
|
@@ -103,16 +103,16 @@ const InputPasswordToggle = class {
|
|
|
103
103
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
104
104
|
const mode = getIonMode(this);
|
|
105
105
|
const isPasswordVisible = type === 'text';
|
|
106
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: '06b8ab96d775ee10c717be878b5ae800a244e222', class: createColorClasses(color, {
|
|
107
107
|
[mode]: true,
|
|
108
|
-
}) }, h("ion-button", { key: '
|
|
108
|
+
}) }, h("ion-button", { key: '959902adb9610195925d5abb216d223ee3b7da3f', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": "show password", role: "switch", type: "button", onPointerDown: (ev) => {
|
|
109
109
|
/**
|
|
110
110
|
* This prevents mobile browsers from
|
|
111
111
|
* blurring the input when the password toggle
|
|
112
112
|
* button is activated.
|
|
113
113
|
*/
|
|
114
114
|
ev.preventDefault();
|
|
115
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
115
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '883f1ead41024f198bd8f6fd2d0817f3294e1e9b', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
116
116
|
}
|
|
117
117
|
get el() { return getElement(this); }
|
|
118
118
|
static get watchers() { return {
|