@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
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
7
|
+
/*
|
|
8
|
+
Do not edit directly, this file was auto-generated.
|
|
9
|
+
*/ /**
|
|
10
|
+
* A heuristic that applies CSS to tablet
|
|
11
|
+
* viewports.
|
|
12
|
+
*
|
|
13
|
+
* Usage:
|
|
14
|
+
* @include tablet-viewport() {
|
|
15
|
+
* :host {
|
|
16
|
+
* background-color: green;
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* A heuristic that applies CSS to mobile
|
|
22
|
+
* viewports (i.e. phones, not tablets).
|
|
23
|
+
*
|
|
24
|
+
* Usage:
|
|
25
|
+
* @include mobile-viewport() {
|
|
26
|
+
* :host {
|
|
27
|
+
* background-color: blue;
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Convert a font size to a dynamic font size.
|
|
33
|
+
* Fonts that participate in Dynamic Type should use
|
|
34
|
+
* dynamic font sizes.
|
|
35
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
36
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
37
|
+
* convert to a unit other than $baselineUnit.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Convert a font size to a dynamic font size but impose
|
|
41
|
+
* a maximum font size.
|
|
42
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
43
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
44
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
45
|
+
* convert to a unit other than $baselineUnit.
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* Convert a font size to a dynamic font size but impose
|
|
49
|
+
* a minimum font size.
|
|
50
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
51
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
52
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
53
|
+
* convert to a unit other than $baselineUnit.
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* Convert a font size to a dynamic font size but impose
|
|
57
|
+
* maximum and minimum font sizes.
|
|
58
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
59
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
60
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
61
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
62
|
+
* convert to a unit other than $baselineUnit.
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Convert a pixels given value into rem
|
|
66
|
+
*
|
|
67
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
68
|
+
* @param context (optional) - Baseline value
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Convert a font size to a dynamic font size.
|
|
72
|
+
* Fonts that participate in Dynamic Type should use
|
|
73
|
+
* dynamic font sizes.
|
|
74
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
75
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
76
|
+
* convert to a unit other than $baselineUnit.
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* Convert a font size to a dynamic font size but impose
|
|
80
|
+
* a maximum font size.
|
|
81
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
82
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
83
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
84
|
+
* convert to a unit other than $baselineUnit.
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* Convert a font size to a dynamic font size but impose
|
|
88
|
+
* a minimum font size.
|
|
89
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
90
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
91
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
92
|
+
* convert to a unit other than $baselineUnit.
|
|
93
|
+
*/
|
|
94
|
+
/**
|
|
95
|
+
* Convert a font size to a dynamic font size but impose
|
|
96
|
+
* maximum and minimum font sizes.
|
|
97
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
98
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
99
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
100
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
101
|
+
* convert to a unit other than $baselineUnit.
|
|
102
|
+
*/
|
|
103
|
+
/**
|
|
104
|
+
* A heuristic that applies CSS to tablet
|
|
105
|
+
* viewports.
|
|
106
|
+
*
|
|
107
|
+
* Usage:
|
|
108
|
+
* @include tablet-viewport() {
|
|
109
|
+
* :host {
|
|
110
|
+
* background-color: green;
|
|
111
|
+
* }
|
|
112
|
+
* }
|
|
113
|
+
*/
|
|
114
|
+
/**
|
|
115
|
+
* A heuristic that applies CSS to mobile
|
|
116
|
+
* viewports (i.e. phones, not tablets).
|
|
117
|
+
*
|
|
118
|
+
* Usage:
|
|
119
|
+
* @include mobile-viewport() {
|
|
120
|
+
* :host {
|
|
121
|
+
* background-color: blue;
|
|
122
|
+
* }
|
|
123
|
+
* }
|
|
124
|
+
*/
|
|
125
|
+
:host {
|
|
126
|
+
/**
|
|
127
|
+
* @prop --margin-top: Top margin of the divider
|
|
128
|
+
* @prop --margin-bottom: Bottom margin of the divider
|
|
129
|
+
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the divider
|
|
130
|
+
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the divider
|
|
131
|
+
*/
|
|
132
|
+
--margin-top: 0px;
|
|
133
|
+
--margin-bottom: 0px;
|
|
134
|
+
--padding-start: 0px;
|
|
135
|
+
--padding-end: 0px;
|
|
136
|
+
display: block;
|
|
137
|
+
width: 100%;
|
|
138
|
+
/* stylelint-disable */
|
|
139
|
+
padding-right: calc(var(--padding-end) + var(--ion-safe-area-right, 0px));
|
|
140
|
+
padding-left: calc(var(--padding-start) + var(--ion-safe-area-left, 0px));
|
|
141
|
+
/* stylelint-enable */
|
|
142
|
+
}
|
|
143
|
+
:host-context([dir=rtl]) {
|
|
144
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
145
|
+
padding-left: calc(var(--padding-end) + var(--ion-safe-area-left, 0px));
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@supports selector(:dir(rtl)) {
|
|
149
|
+
:host(:dir(rtl)) {
|
|
150
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
151
|
+
padding-left: calc(var(--padding-end) + var(--ion-safe-area-left, 0px));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:host hr {
|
|
156
|
+
display: block;
|
|
157
|
+
width: 100%;
|
|
158
|
+
margin-top: var(--margin-top);
|
|
159
|
+
margin-bottom: var(--margin-bottom);
|
|
160
|
+
border: none;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:host hr {
|
|
164
|
+
border-top: var(--ion-border-size-025, 1px) var(--ion-border-style-solid, solid) var(--ion-border-default, #e0e0e0);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host(.divider-inset) {
|
|
168
|
+
--padding-start: var(--ion-space-400, 16px);
|
|
169
|
+
--padding-end: var(--ion-space-400, 16px);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
:host(.divider-spacing-xsmall) {
|
|
173
|
+
--margin-top: var(--ion-space-200, 8px);
|
|
174
|
+
--margin-bottom: var(--ion-space-200, 8px);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
:host(.divider-spacing-small) {
|
|
178
|
+
--margin-top: var(--ion-space-300, 12px);
|
|
179
|
+
--margin-bottom: var(--ion-space-300, 12px);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:host(.divider-spacing-medium) {
|
|
183
|
+
--margin-top: var(--ion-space-400, 16px);
|
|
184
|
+
--margin-bottom: var(--ion-space-400, 16px);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host(.divider-spacing-large) {
|
|
188
|
+
--margin-top: var(--ion-space-600, 24px);
|
|
189
|
+
--margin-bottom: var(--ion-space-600, 24px);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:host(.divider-spacing-xlarge) {
|
|
193
|
+
--margin-top: var(--ion-space-800, 32px);
|
|
194
|
+
--margin-bottom: var(--ion-space-800, 32px);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
:host(.divider-spacing-xxlarge) {
|
|
198
|
+
--margin-top: var(--ion-space-1000, 40px);
|
|
199
|
+
--margin-bottom: var(--ion-space-1000, 40px);
|
|
200
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Convert a font size to a dynamic font size.
|
|
9
|
+
* Fonts that participate in Dynamic Type should use
|
|
10
|
+
* dynamic font sizes.
|
|
11
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
12
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
13
|
+
* convert to a unit other than $baselineUnit.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Convert a font size to a dynamic font size but impose
|
|
17
|
+
* a maximum font size.
|
|
18
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
19
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
20
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
21
|
+
* convert to a unit other than $baselineUnit.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Convert a font size to a dynamic font size but impose
|
|
25
|
+
* a minimum font size.
|
|
26
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
27
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
28
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
29
|
+
* convert to a unit other than $baselineUnit.
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Convert a font size to a dynamic font size but impose
|
|
33
|
+
* maximum and minimum font sizes.
|
|
34
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
35
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
36
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
37
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
38
|
+
* convert to a unit other than $baselineUnit.
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* A heuristic that applies CSS to tablet
|
|
42
|
+
* viewports.
|
|
43
|
+
*
|
|
44
|
+
* Usage:
|
|
45
|
+
* @include tablet-viewport() {
|
|
46
|
+
* :host {
|
|
47
|
+
* background-color: green;
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* A heuristic that applies CSS to mobile
|
|
53
|
+
* viewports (i.e. phones, not tablets).
|
|
54
|
+
*
|
|
55
|
+
* Usage:
|
|
56
|
+
* @include mobile-viewport() {
|
|
57
|
+
* :host {
|
|
58
|
+
* background-color: blue;
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
|
+
*/
|
|
62
|
+
:host {
|
|
63
|
+
/**
|
|
64
|
+
* @prop --margin-top: Top margin of the divider
|
|
65
|
+
* @prop --margin-bottom: Bottom margin of the divider
|
|
66
|
+
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the divider
|
|
67
|
+
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the divider
|
|
68
|
+
*/
|
|
69
|
+
--margin-top: 0px;
|
|
70
|
+
--margin-bottom: 0px;
|
|
71
|
+
--padding-start: 0px;
|
|
72
|
+
--padding-end: 0px;
|
|
73
|
+
display: block;
|
|
74
|
+
width: 100%;
|
|
75
|
+
/* stylelint-disable */
|
|
76
|
+
padding-right: calc(var(--padding-end) + var(--ion-safe-area-right, 0px));
|
|
77
|
+
padding-left: calc(var(--padding-start) + var(--ion-safe-area-left, 0px));
|
|
78
|
+
/* stylelint-enable */
|
|
79
|
+
}
|
|
80
|
+
:host-context([dir=rtl]) {
|
|
81
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
82
|
+
padding-left: calc(var(--padding-end) + var(--ion-safe-area-left, 0px));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@supports selector(:dir(rtl)) {
|
|
86
|
+
:host(:dir(rtl)) {
|
|
87
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
88
|
+
padding-left: calc(var(--padding-end) + var(--ion-safe-area-left, 0px));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host hr {
|
|
93
|
+
display: block;
|
|
94
|
+
width: 100%;
|
|
95
|
+
margin-top: var(--margin-top);
|
|
96
|
+
margin-bottom: var(--margin-bottom);
|
|
97
|
+
border: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host hr {
|
|
101
|
+
border-top: 1px solid #e0e0e0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host(.divider-inset) {
|
|
105
|
+
--padding-start: 16px;
|
|
106
|
+
--padding-end: 16px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:host(.divider-spacing-xsmall) {
|
|
110
|
+
--margin-top: 8px;
|
|
111
|
+
--margin-bottom: 8px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
:host(.divider-spacing-small) {
|
|
115
|
+
--margin-top: 12px;
|
|
116
|
+
--margin-bottom: 12px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host(.divider-spacing-medium) {
|
|
120
|
+
--margin-top: 16px;
|
|
121
|
+
--margin-bottom: 16px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host(.divider-spacing-large) {
|
|
125
|
+
--margin-top: 24px;
|
|
126
|
+
--margin-bottom: 24px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:host(.divider-spacing-xlarge) {
|
|
130
|
+
--margin-top: 32px;
|
|
131
|
+
--margin-bottom: 32px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:host(.divider-spacing-xxlarge) {
|
|
135
|
+
--margin-top: 40px;
|
|
136
|
+
--margin-bottom: 40px;
|
|
137
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import { getIonTheme } from "../../global/ionic-global";
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
|
+
export class Divider {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.spacing = 'xxsmall';
|
|
9
|
+
this.inset = false;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
const { inset, spacing } = this;
|
|
13
|
+
const theme = getIonTheme(this);
|
|
14
|
+
return (h(Host, { key: '38ef60c18afbf8c330ea48fb469a079244614aa3', class: {
|
|
15
|
+
[theme]: true,
|
|
16
|
+
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
17
|
+
[`divider-inset`]: inset,
|
|
18
|
+
} }, h("hr", { key: '267bd548899dea34c38fa24e6371f46b55b45eb7' })));
|
|
19
|
+
}
|
|
20
|
+
static get is() { return "ion-divider"; }
|
|
21
|
+
static get encapsulation() { return "shadow"; }
|
|
22
|
+
static get originalStyleUrls() {
|
|
23
|
+
return {
|
|
24
|
+
"ios": ["divider.ios.scss"],
|
|
25
|
+
"md": ["divider.md.scss"],
|
|
26
|
+
"ionic": ["divider.ionic.scss"]
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
static get styleUrls() {
|
|
30
|
+
return {
|
|
31
|
+
"ios": ["divider.ios.css"],
|
|
32
|
+
"md": ["divider.md.css"],
|
|
33
|
+
"ionic": ["divider.ionic.css"]
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
static get properties() {
|
|
37
|
+
return {
|
|
38
|
+
"spacing": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"mutable": false,
|
|
41
|
+
"complexType": {
|
|
42
|
+
"original": "'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'",
|
|
43
|
+
"resolved": "\"large\" | \"medium\" | \"small\" | \"xlarge\" | \"xsmall\" | \"xxlarge\" | \"xxsmall\" | undefined",
|
|
44
|
+
"references": {}
|
|
45
|
+
},
|
|
46
|
+
"required": false,
|
|
47
|
+
"optional": true,
|
|
48
|
+
"docs": {
|
|
49
|
+
"tags": [],
|
|
50
|
+
"text": "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\"`."
|
|
51
|
+
},
|
|
52
|
+
"attribute": "spacing",
|
|
53
|
+
"reflect": true,
|
|
54
|
+
"defaultValue": "'xxsmall'"
|
|
55
|
+
},
|
|
56
|
+
"inset": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "boolean",
|
|
61
|
+
"resolved": "boolean",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": false,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": "If `true`, the divider will have horizontal margins\nBy default, it's `false`"
|
|
69
|
+
},
|
|
70
|
+
"attribute": "inset",
|
|
71
|
+
"reflect": false,
|
|
72
|
+
"defaultValue": "false"
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert a pixels given value into rem
|
|
3
|
+
*
|
|
4
|
+
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
|
+
* @param context (optional) - Baseline value
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Convert a font size to a dynamic font size.
|
|
9
|
+
* Fonts that participate in Dynamic Type should use
|
|
10
|
+
* dynamic font sizes.
|
|
11
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
12
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
|
13
|
+
* convert to a unit other than $baselineUnit.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Convert a font size to a dynamic font size but impose
|
|
17
|
+
* a maximum font size.
|
|
18
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
19
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
20
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
21
|
+
* convert to a unit other than $baselineUnit.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Convert a font size to a dynamic font size but impose
|
|
25
|
+
* a minimum font size.
|
|
26
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
27
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
28
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
29
|
+
* convert to a unit other than $baselineUnit.
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Convert a font size to a dynamic font size but impose
|
|
33
|
+
* maximum and minimum font sizes.
|
|
34
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
|
35
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
|
36
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
|
37
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
|
38
|
+
* convert to a unit other than $baselineUnit.
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* A heuristic that applies CSS to tablet
|
|
42
|
+
* viewports.
|
|
43
|
+
*
|
|
44
|
+
* Usage:
|
|
45
|
+
* @include tablet-viewport() {
|
|
46
|
+
* :host {
|
|
47
|
+
* background-color: green;
|
|
48
|
+
* }
|
|
49
|
+
* }
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* A heuristic that applies CSS to mobile
|
|
53
|
+
* viewports (i.e. phones, not tablets).
|
|
54
|
+
*
|
|
55
|
+
* Usage:
|
|
56
|
+
* @include mobile-viewport() {
|
|
57
|
+
* :host {
|
|
58
|
+
* background-color: blue;
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
|
+
*/
|
|
62
|
+
:host {
|
|
63
|
+
/**
|
|
64
|
+
* @prop --margin-top: Top margin of the divider
|
|
65
|
+
* @prop --margin-bottom: Bottom margin of the divider
|
|
66
|
+
* @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the divider
|
|
67
|
+
* @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the divider
|
|
68
|
+
*/
|
|
69
|
+
--margin-top: 0px;
|
|
70
|
+
--margin-bottom: 0px;
|
|
71
|
+
--padding-start: 0px;
|
|
72
|
+
--padding-end: 0px;
|
|
73
|
+
display: block;
|
|
74
|
+
width: 100%;
|
|
75
|
+
/* stylelint-disable */
|
|
76
|
+
padding-right: calc(var(--padding-end) + var(--ion-safe-area-right, 0px));
|
|
77
|
+
padding-left: calc(var(--padding-start) + var(--ion-safe-area-left, 0px));
|
|
78
|
+
/* stylelint-enable */
|
|
79
|
+
}
|
|
80
|
+
:host-context([dir=rtl]) {
|
|
81
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
82
|
+
padding-left: calc(var(--padding-end) + var(--ion-safe-area-left, 0px));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@supports selector(:dir(rtl)) {
|
|
86
|
+
:host(:dir(rtl)) {
|
|
87
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
88
|
+
padding-left: calc(var(--padding-end) + var(--ion-safe-area-left, 0px));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host hr {
|
|
93
|
+
display: block;
|
|
94
|
+
width: 100%;
|
|
95
|
+
margin-top: var(--margin-top);
|
|
96
|
+
margin-bottom: var(--margin-bottom);
|
|
97
|
+
border: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host hr {
|
|
101
|
+
border-top: 1px solid #e0e0e0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host(.divider-inset) {
|
|
105
|
+
--padding-start: 16px;
|
|
106
|
+
--padding-end: 16px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:host(.divider-spacing-xsmall) {
|
|
110
|
+
--margin-top: 8px;
|
|
111
|
+
--margin-bottom: 8px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
:host(.divider-spacing-small) {
|
|
115
|
+
--margin-top: 12px;
|
|
116
|
+
--margin-bottom: 12px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host(.divider-spacing-medium) {
|
|
120
|
+
--margin-top: 16px;
|
|
121
|
+
--margin-bottom: 16px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host(.divider-spacing-large) {
|
|
125
|
+
--margin-top: 24px;
|
|
126
|
+
--margin-bottom: 24px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:host(.divider-spacing-xlarge) {
|
|
130
|
+
--margin-top: 32px;
|
|
131
|
+
--margin-bottom: 32px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:host(.divider-spacing-xxlarge) {
|
|
135
|
+
--margin-top: 40px;
|
|
136
|
+
--margin-bottom: 40px;
|
|
137
|
+
}
|
|
@@ -51,12 +51,12 @@ export class Fab {
|
|
|
51
51
|
render() {
|
|
52
52
|
const { horizontal, vertical, edge } = this;
|
|
53
53
|
const theme = getIonTheme(this);
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '8b758c5283382f1bddd051f5a575d4952b001c50', class: {
|
|
55
55
|
[theme]: true,
|
|
56
56
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
57
57
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
58
58
|
'fab-edge': edge,
|
|
59
|
-
} }, h("slot", { key: '
|
|
59
|
+
} }, h("slot", { key: '45ce20f308b3de9c09d625d45b3f3dc7b4ee8652' })));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "ion-fab"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class FabButton {
|
|
|
83
83
|
rel: this.rel,
|
|
84
84
|
target: this.target,
|
|
85
85
|
};
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: 'ffc552ad3b542e0f79e319fa86b063c3289e1a23', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
87
87
|
[theme]: true,
|
|
88
88
|
'fab-button-in-list': inList,
|
|
89
89
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -94,7 +94,7 @@ export class FabButton {
|
|
|
94
94
|
'ion-activatable': true,
|
|
95
95
|
'ion-focusable': true,
|
|
96
96
|
[`fab-button-${size}`]: size !== undefined,
|
|
97
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
97
|
+
}) }, 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' }))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "ion-fab-button"; }
|
|
100
100
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,11 +22,11 @@ export class FabList {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const theme = getIonTheme(this);
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'b0e984c110ea8bf4aa0daeca5f66253c9e0666fd', class: {
|
|
26
26
|
[theme]: true,
|
|
27
27
|
'fab-list-active': this.activated,
|
|
28
28
|
[`fab-list-side-${this.side}`]: true,
|
|
29
|
-
} }, h("slot", { key: '
|
|
29
|
+
} }, h("slot", { key: '7bedbb010e89d1304d86c4261f5378e90741611e' })));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "ion-fab-list"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class Footer {
|
|
|
83
83
|
const theme = getIonTheme(this);
|
|
84
84
|
const tabs = this.el.closest('ion-tabs');
|
|
85
85
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: 'e70e2616f69a6205a1c2045bf13a792c9a6bc27c', role: "contentinfo", class: {
|
|
87
87
|
[theme]: true,
|
|
88
88
|
// Used internally for styling
|
|
89
89
|
[`footer-${theme}`]: true,
|
|
@@ -91,7 +91,7 @@ export class Footer {
|
|
|
91
91
|
[`footer-translucent-${theme}`]: translucent,
|
|
92
92
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
93
93
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
94
|
-
} }, theme === 'ios' && translucent && h("div", { key: '
|
|
94
|
+
} }, theme === 'ios' && translucent && h("div", { key: '72803059c1d82a766a0ce69e5a8a6a3b7e576700', class: "footer-background" }), h("slot", { key: 'de450e4eb8f5c63b11f548061f29d957ef308539' })));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "ion-footer"; }
|
|
97
97
|
static get originalStyleUrls() {
|
|
@@ -13,10 +13,10 @@ export class Grid {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const theme = getIonTheme(this);
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'f439594e1c4186e30d5b57bf3ca95c220df954fa', class: {
|
|
17
17
|
[theme]: true,
|
|
18
18
|
'grid-fixed': this.fixed,
|
|
19
|
-
} }, h("slot", { key: '
|
|
19
|
+
} }, h("slot", { key: 'e8e01f0b46a05fb3220837fbfa9f161b086c06ad' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "ion-grid"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -144,7 +144,7 @@ export class Header {
|
|
|
144
144
|
const collapse = this.collapse || 'none';
|
|
145
145
|
// banner role must be at top level, so remove role if inside a menu
|
|
146
146
|
const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';
|
|
147
|
-
return (h(Host, Object.assign({ key: '
|
|
147
|
+
return (h(Host, Object.assign({ key: '7f58480b7f04b9d700bcc08d2418d121ec8f4124', role: roleType, class: {
|
|
148
148
|
[theme]: true,
|
|
149
149
|
// Used internally for styling
|
|
150
150
|
[`header-${theme}`]: true,
|
|
@@ -152,7 +152,7 @@ export class Header {
|
|
|
152
152
|
[`header-collapse-${collapse}`]: true,
|
|
153
153
|
[`header-translucent-${theme}`]: this.translucent,
|
|
154
154
|
['header-divider']: divider,
|
|
155
|
-
} }, inheritedAttributes), theme === 'ios' && translucent && h("div", { key: '
|
|
155
|
+
} }, inheritedAttributes), theme === 'ios' && translucent && h("div", { key: 'c1c77a735ed96e93a5ee9511415c19a80989dbc9', class: "header-background" }), h("slot", { key: '13a06aa2aa3358ba3d4f61fe6119b8506b866c14' })));
|
|
156
156
|
}
|
|
157
157
|
static get is() { return "ion-header"; }
|
|
158
158
|
static get originalStyleUrls() {
|
|
@@ -75,9 +75,9 @@ export class Img {
|
|
|
75
75
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
76
76
|
const { draggable } = inheritedAttributes;
|
|
77
77
|
const theme = getIonTheme(this);
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '70377d0128ad109580598f5c0a19cdee1d1f8f2a', class: {
|
|
79
79
|
[theme]: true,
|
|
80
|
-
} }, h("img", { key: '
|
|
80
|
+
} }, h("img", { key: '022467667337d04384d19d78378b5cf499e1b6c9', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "ion-img"; }
|
|
83
83
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,7 +171,7 @@ export class InfiniteScroll {
|
|
|
171
171
|
render() {
|
|
172
172
|
const theme = getIonTheme(this);
|
|
173
173
|
const disabled = this.disabled;
|
|
174
|
-
return (h(Host, { key: '
|
|
174
|
+
return (h(Host, { key: 'd0cf2316c216b7b4f10ad78457c53e86f8be814a', class: {
|
|
175
175
|
[theme]: true,
|
|
176
176
|
'infinite-scroll-loading': this.isLoading,
|
|
177
177
|
'infinite-scroll-enabled': !disabled,
|