Preheat your oven to 400 degrees Fahrenheit (200 degrees Celsius). Line a baking sheet with parchment paper.
In a medium bowl, beat the softened cream cheese, granulated sugar, egg yolk, and vanilla extract until the mixture is smooth. Gently fold in the diced strawberries. Set aside.
Unfold the thawed gluten-free puff pastry sheets onto a lightly floured surface (use gluten-free flour). If the pastry is one large sheet, cut it into 4 equal rectangles.
Score a 1-inch border around the edge of each pastry rectangle, being careful not to cut all the way through the dough. This helps create the raised edge.
Spoon about 2 tablespoons of the strawberry cream cheese filling into the center of each rectangle, staying within the scored border.
Brush the scored edges of the dough lightly with the beaten egg wash.
Bake for 18 to 22 minutes, or until the pastry is puffed and golden brown.
Remove the danishes from the oven and let them cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.
Dust the cooled danishes with powdered sugar before serving.
Notes
Use a high-quality, all-butter gluten-free puff pastry for the best flaky texture.
Ensure the cream cheese filling is cool before placing it on the dough to prevent the pastry from becoming soggy.
If you prefer a glaze instead of dusting, mix 1/2 cup powdered sugar with 1 tablespoon of milk or lemon juice and drizzle over the cooled danishes.