Skip to content

Commit 76d0c22

Browse files
Merge pull request #3254 from Shopify/brians/add_announcement_target_support_for_rd
[customer account] add announcement targets for 2025-10-rc
2 parents c9a7f39 + 3f71287 commit 76d0c22

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.changeset/tidy-spiders-report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/ui-extensions': patch
3+
---
4+
5+
[customer account] add announcement targets

packages/ui-extensions/src/surfaces/customer-account/components.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* @fileoverview This file is used to generate the documentation for the customer-account surface. For component types, see the components folder.
3+
*/
14
import {
25
AvatarProps,
36
AvatarElementProps,

packages/ui-extensions/src/surfaces/customer-account/extension-targets.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ export interface OrderStatusExtensionTargets {
3838
StandardApi<'customer-account.order-status.block.render'>,
3939
StandardComponents
4040
>;
41+
'customer-account.order-status.announcement.render': RenderExtension<
42+
OrderStatusApi<'customer-account.order-status.announcement.render'> &
43+
StandardApi<'customer-account.order-status.announcement.render'>,
44+
StandardComponents
45+
>;
4146
/**
4247
* A static extension target that renders on every line item, inside the details
4348
* under the line item properties element on the **Order status** page.
@@ -107,10 +112,18 @@ export interface CustomerAccountExtensionTargets {
107112
StandardApi<'customer-account.order-index.block.render'>,
108113
StandardComponents
109114
>;
115+
'customer-account.order-index.announcement.render': RenderExtension<
116+
StandardApi<'customer-account.order-index.announcement.render'>,
117+
StandardComponents
118+
>;
110119
'customer-account.profile.block.render': RenderExtension<
111120
StandardApi<'customer-account.profile.block.render'>,
112121
StandardComponents
113122
>;
123+
'customer-account.profile.announcement.render': RenderExtension<
124+
StandardApi<'customer-account.profile.announcement.render'>,
125+
StandardComponents
126+
>;
114127
'customer-account.profile.addresses.render-after': RenderExtension<
115128
StandardApi<'customer-account.profile.addresses.render-after'>,
116129
StandardComponents

0 commit comments

Comments
 (0)