Adds a `header` and `buttons` property to toast. This allows for a toast header to be passed and multiple buttons including action buttons and icon only buttons which matches the Material Design spec. Adds hover states to the button to match the spec. Updates usage section to recommend the new way of passing a close button using the buttons array and `cancel` role. If a button is passed using the cancel role default the color to match the spec. Buttons will default to the `end` side but have the option of being placed on the `start` side.
Co-authored-by: Simon Hänisch <simonhaenisch@users.noreply.github.com>
Co-authored-by: Brandy Carney <brandy@ionic.io>
closes#16791closes#16237closes#17611
- use the right index in updateVDom to update the top transition ()
- extend unit test to verify the top is also calculated right with a given headerFn and footerFn
- update the visibility of the node also if a given approxHeaderHeight/approxFooterHeight matches the calculated height
fixes#15948fixes#17298
* increase timeouts for fab and menu tests
* increase menu timeout
* wait for menu to be available
* change 250 to 150
* revert 150ms timeout for menu
* testing longer menu timeout
* testing increased timeout
* add enable command
* add enable menu ctrl method call
* remove debug timeouts
* Add ion-tabs support, QOL fixes
* Fix @ionic/core version, rebuild core to include docs
* Update router
* Add support for IonTabsWillChange and IonTabsDidChange events
* Update usage docs
* Merge core and user provided click handlers in ion-tab-button
* rename file to be consistent
Original main-axis origin fix was flawed in case of RTL.
Invert the animation’s main-axis origin in case the popover’s position is adjusted.
references #17012
- In the **`loading`** component, fallback to `spinner` icon config before platform default.
- In both **`refresher`** & **`infinite-scroll`** components, use platform default as final fallback.
- In **`infinite-scroll`** test templates, and the _basic_ **`virtual-scroll`** test template, fix loading _spinner_ and _text_ attributes.
fixes#17659
styles the item option properly when icons are slotted. This was not working before at all for `top` and `bottom` slots.
- removes the e2e test from item/sliding in favor of all of them being under item-sliding
- adds more usage examples for all frameworks
- updates the styling for an anchor option so that it displays properly
- updates the standalone e2e test to take screenshots of the start icon, top icon, and anchor options
- updates the interactive e2e test to work locally
- cleaned up the CSS for start/end icons
- verified the styles for ben approval 💪closes#17737fixes#17402
* fix(transition): add all header toolbars to ios transition
* test(nav): add 2nd toolbar to test transition
* fix(transition): add remaining toolbar children to animation
* fix(transition): fix incorrect variable name
* fix(toolbar): fix bug in safari, clean up code, update test
* fix typo
* change elems to els
* change Elem to El