Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/six-jokes-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@shopify/polaris': major
'polaris.shopify.com': minor
---

Replaced `Card` with `AlphaCard`
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {Action} from '../../types';
import {Avatar} from '../Avatar';
import {buttonFrom} from '../Button';
import {SettingAction} from '../SettingAction';
import {AlphaCard} from '../AlphaCard';
import {Card} from '../Card';
import {Box} from '../Box';
import {Inline} from '../Inline';
import {Text} from '../Text';
Expand Down Expand Up @@ -69,7 +69,7 @@ export function AccountConnection({
: null;

return (
<AlphaCard>
<Card>
<SettingAction action={actionElement}>
<Inline gap="4">
{avatarMarkup}
Expand All @@ -80,6 +80,6 @@ export function AccountConnection({
</Inline>
</SettingAction>
{termsOfServiceMarkup}
</AlphaCard>
</Card>
);
}
112 changes: 0 additions & 112 deletions polaris-react/src/components/AlphaCard/AlphaCard.stories.tsx

This file was deleted.

62 changes: 0 additions & 62 deletions polaris-react/src/components/AlphaCard/AlphaCard.tsx

This file was deleted.

1 change: 0 additions & 1 deletion polaris-react/src/components/AlphaCard/index.ts

This file was deleted.

46 changes: 0 additions & 46 deletions polaris-react/src/components/AlphaCard/tests/AlphaCard.test.tsx

This file was deleted.

6 changes: 3 additions & 3 deletions polaris-react/src/components/Bleed/Bleed.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import type {ComponentMeta} from '@storybook/react';
import {AlphaCard, Bleed, Box, Divider, Stack, Text} from '@shopify/polaris';
import {Card, Bleed, Box, Divider, Stack, Text} from '@shopify/polaris';

export default {
component: Bleed,
Expand All @@ -15,7 +15,7 @@ const styles = {

export function Default() {
return (
<AlphaCard>
<Card>
<Box paddingBlockEnd="5">
<Text as="p" variant="bodySm">
Section 01
Expand All @@ -29,7 +29,7 @@ export function Default() {
Section 02
</Text>
</Box>
</AlphaCard>
</Card>
);
}

Expand Down
Loading