chore(): sync with main

This commit is contained in:
Liam DeBeasi
2023-02-22 10:00:56 -05:00
1733 changed files with 1401 additions and 1068 deletions

View File

@ -21,6 +21,8 @@
font-family: $font-family-base;
contain: content;
overflow: hidden;
}

View File

@ -19,7 +19,7 @@ test.describe('card: basic', () => {
`);
const card = page.locator('ion-card');
expect(await card.screenshot()).toMatchSnapshot(`card-diff-${page.getSnapshotSettings()}.png`);
await expect(card).toHaveScreenshot(`card-diff-${page.getSnapshotSettings()}.png`);
});
});
@ -43,7 +43,7 @@ test.describe('card: basic', () => {
`);
const card = page.locator('ion-card');
expect(await card.screenshot()).toMatchSnapshot(`card-button-${page.getSnapshotSettings()}.png`);
await expect(card).toHaveScreenshot(`card-button-${page.getSnapshotSettings()}.png`);
});
test('should not have visual regressions with translucent cards', async ({ page, skip }) => {
@ -64,7 +64,7 @@ test.describe('card: basic', () => {
`);
const card = page.locator('ion-card');
expect(await card.screenshot()).toMatchSnapshot(`card-translucent-${page.getSnapshotSettings()}.png`);
await expect(card).toHaveScreenshot(`card-translucent-${page.getSnapshotSettings()}.png`);
});
test('should not have visual regressions with disabled card', async ({ page }) => {
@ -83,7 +83,7 @@ test.describe('card: basic', () => {
`);
const card = page.locator('ion-card');
expect(await card.screenshot()).toMatchSnapshot(`card-disabled-${page.getSnapshotSettings()}.png`);
await expect(card).toHaveScreenshot(`card-disabled-${page.getSnapshotSettings()}.png`);
});
test('should not have visual regressions with color', async ({ page }) => {
await page.setContent(`
@ -101,7 +101,7 @@ test.describe('card: basic', () => {
`);
const card = page.locator('ion-card');
expect(await card.screenshot()).toMatchSnapshot(`card-color-${page.getSnapshotSettings()}.png`);
await expect(card).toHaveScreenshot(`card-color-${page.getSnapshotSettings()}.png`);
});
test('headings should have correct size in card', async ({ page }) => {
await page.setContent(`
@ -119,7 +119,7 @@ test.describe('card: basic', () => {
`);
const card = page.locator('ion-card');
expect(await card.screenshot()).toMatchSnapshot(`card-headings-${page.getSnapshotSettings()}.png`);
await expect(card).toHaveScreenshot(`card-headings-${page.getSnapshotSettings()}.png`);
});
test('should render even without header or content elements', async ({ page }) => {
await page.setContent(`
@ -153,7 +153,7 @@ test.describe('card: basic', () => {
`);
const card = page.locator('ion-card');
expect(await card.screenshot()).toMatchSnapshot(`card-no-content-or-header-${page.getSnapshotSettings()}.png`);
await expect(card).toHaveScreenshot(`card-no-content-or-header-${page.getSnapshotSettings()}.png`);
});
});
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 22 KiB