-
Notifications
You must be signed in to change notification settings - Fork 13.4k
feat(button): add spinner sizes for ionic theme #30233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
ecf7295
0d88065
0865a33
c7835ee
18312f7
d3da1a4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,14 @@ | ||||||
| import { expect } from '@playwright/test'; | ||||||
| import { configs, test } from '@utils/test/playwright'; | ||||||
|
|
||||||
| configs({ modes: ['ionic-md', 'ionic-ios'] }).forEach(({ config, screenshot, title }) => { | ||||||
|
||||||
| configs({ modes: ['ionic-md', 'ionic-ios'] }).forEach(({ config, screenshot, title }) => { | |
| configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ config, screenshot, title }) => { |
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,147 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en" dir="ltr"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <title>Button - Spinner</title> | ||
| <meta | ||
| name="viewport" | ||
| content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" | ||
| /> | ||
| <link href="../../../../../css/ionic.bundle.css" rel="stylesheet" /> | ||
| <link href="../../../../../scripts/testing/styles.css" rel="stylesheet" /> | ||
| <script src="../../../../../scripts/testing/scripts.js"></script> | ||
| <script nomodule src="../../../../../dist/ionic/ionic.js"></script> | ||
| <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script> | ||
| </head> | ||
|
|
||
| <body> | ||
| <ion-app> | ||
| <ion-header> | ||
| <ion-toolbar> | ||
| <ion-title>Button - Spinner</ion-title> | ||
| </ion-toolbar> | ||
| </ion-header> | ||
|
|
||
| <ion-content class="ion-padding" id="content" no-bounce> | ||
| <p> | ||
| <ion-button> | ||
| <ion-spinner slot="start"></ion-spinner> | ||
| Left Spinner | ||
| </ion-button> | ||
| <ion-button href="#"> | ||
| <ion-spinner slot="start"></ion-spinner> | ||
| Left Spinner | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button> | ||
| <ion-spinner name="lines" slot="end"></ion-spinner> | ||
| Right Spinner | ||
| </ion-button> | ||
| <ion-button href="#"> | ||
| <ion-spinner name="lines" slot="end"></ion-spinner> | ||
| Right Spinner | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button> | ||
| <ion-spinner name="lines-sharp" slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| <ion-button href="#"> | ||
| <ion-spinner name="lines-sharp" slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="large"> | ||
| <ion-spinner name="lines-small" slot="start"></ion-spinner> | ||
| Left, Large | ||
| </ion-button> | ||
| <ion-button size="large" href="#"> | ||
| <ion-spinner name="lines-small" slot="start"></ion-spinner> | ||
| Left, Large | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="large"> | ||
| <ion-spinner slot="end"></ion-spinner> | ||
| Right, Large | ||
| </ion-button> | ||
| <ion-button size="large" href="#"> | ||
| <ion-spinner slot="end"></ion-spinner> | ||
| Right, Large | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="large"> | ||
| <ion-spinner slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| <ion-button size="large" href="#"> | ||
| <ion-spinner slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="small"> | ||
| <ion-spinner slot="start"></ion-spinner> | ||
| Left, Small | ||
| </ion-button> | ||
| <ion-button size="small" href="#"> | ||
| <ion-spinner slot="start"></ion-spinner> | ||
| Left, Small | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="small"> | ||
| <ion-spinner slot="end"></ion-spinner> | ||
| Right, Small | ||
| </ion-button> | ||
| <ion-button size="small" href="#"> | ||
| <ion-spinner slot="end"></ion-spinner> | ||
| Right, Small | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="small"> | ||
| <ion-spinner slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| <ion-button size="small" href="#"> | ||
| <ion-spinner slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="xlarge"> | ||
| <ion-spinner slot="start"></ion-spinner> | ||
| Left, Extra Large | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="xlarge" href="#"> | ||
| <ion-spinner slot="start"></ion-spinner> | ||
| Left, Extra Large | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="xlarge"> | ||
| <ion-spinner slot="end"></ion-spinner> | ||
| Right, Extra Large | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="xlarge" href="#"> | ||
| <ion-spinner slot="end"></ion-spinner> | ||
| Right, Extra Large | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="xlarge"> | ||
| <ion-spinner slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| </p> | ||
| <p> | ||
| <ion-button size="xlarge" href="#"> | ||
| <ion-spinner slot="icon-only"></ion-spinner> | ||
| </ion-button> | ||
| </p> | ||
| </ion-content> | ||
| </ion-app> | ||
| </body> | ||
| </html> |
Uh oh!
There was an error while loading. Please reload this page.