11import  React  from  'react' ; 
22import  type  { ComponentMeta }  from  '@storybook/react' ; 
3- import  { AlphaCard ,  AlphaStack ,  Text }  from  '@shopify/polaris' ; 
3+ import  { AlphaCard ,  AlphaStack ,  Bleed ,   Box ,   List ,   Text }  from  '@shopify/polaris' ; 
44
55export  default  { 
66  component : AlphaCard , 
@@ -13,7 +13,9 @@ export function Default() {
1313        < Text  as = "h3"  variant = "headingMd" > 
1414          Online store dashboard
1515        </ Text > 
16-         < p > View a summary of your online store’s performance.</ p > 
16+         < Text  variant = "bodyMd"  as = "p" > 
17+           View a summary of your online store’s performance.
18+         </ Text > 
1719      </ AlphaStack > 
1820    </ AlphaCard > 
1921  ) ; 
@@ -26,7 +28,9 @@ export function WithBackgroundSubdued() {
2628        < Text  as = "h3"  variant = "headingMd" > 
2729          Online store dashboard
2830        </ Text > 
29-         < p > View a summary of your online store’s performance.</ p > 
31+         < Text  variant = "bodyMd"  as = "p" > 
32+           View a summary of your online store’s performance.
33+         </ Text > 
3034      </ AlphaStack > 
3135    </ AlphaCard > 
3236  ) ; 
@@ -39,8 +43,47 @@ export function WithBorderRadiusRoundedAbove() {
3943        < Text  as = "h3"  variant = "headingMd" > 
4044          Online store dashboard
4145        </ Text > 
42-         < p > View a summary of your online store’s performance.</ p > 
46+         < Text  variant = "bodyMd"  as = "p" > 
47+           View a summary of your online store’s performance.
48+         </ Text > 
49+       </ AlphaStack > 
50+     </ AlphaCard > 
51+   ) ; 
52+ } 
53+ 
54+ export  function  WithSubduedSection ( )  { 
55+   return  ( 
56+     < AlphaCard  roundedAbove = "sm" > 
57+       < AlphaStack  gap = "5" > 
58+         < Text  as = "h3"  variant = "headingMd" > 
59+           Staff accounts
60+         </ Text > 
61+         < Box  paddingBlockEnd = "5" > 
62+           < List > 
63+             < List . Item > Felix Crafford</ List . Item > 
64+             < List . Item > Ezequiel Manno</ List . Item > 
65+           </ List > 
66+         </ Box > 
4367      </ AlphaStack > 
68+       < Bleed  marginBlockEnd = "5" > 
69+         < Box 
70+           background = "surface-subdued" 
71+           borderBlockStart = "divider" 
72+           borderRadiusEndStart = "2" 
73+           borderRadiusEndEnd = "2" 
74+           padding = "5" 
75+         > 
76+           < AlphaStack  gap = "2" > 
77+             < Text  variant = "headingSm"  as = "h3" > 
78+               Deactivated staff accounts
79+             </ Text > 
80+             < List > 
81+               < List . Item > Felix Crafford</ List . Item > 
82+               < List . Item > Ezequiel Manno</ List . Item > 
83+             </ List > 
84+           </ AlphaStack > 
85+         </ Box > 
86+       </ Bleed > 
4487    </ AlphaCard > 
4588  ) ; 
4689} 
0 commit comments