From 1b4580ad468be2b9c8c2bbb844ab50b6d9cf4001 Mon Sep 17 00:00:00 2001 From: Lianne Sit Date: Tue, 19 May 2026 18:53:47 -0400 Subject: [PATCH] [Customer accounts] Update Page inlineSize prop docs --- .changeset/calm-sites-warn.md | 5 +++++ .../src/surfaces/customer-account/components/Page.d.ts | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changeset/calm-sites-warn.md diff --git a/.changeset/calm-sites-warn.md b/.changeset/calm-sites-warn.md new file mode 100644 index 0000000000..388c8c9b09 --- /dev/null +++ b/.changeset/calm-sites-warn.md @@ -0,0 +1,5 @@ +--- +'@shopify/ui-extensions': patch +--- + +Update docs for inlineSize prop on customer account Page component diff --git a/packages/ui-extensions/src/surfaces/customer-account/components/Page.d.ts b/packages/ui-extensions/src/surfaces/customer-account/components/Page.d.ts index 4222e2955d..793737f986 100644 --- a/packages/ui-extensions/src/surfaces/customer-account/components/Page.d.ts +++ b/packages/ui-extensions/src/surfaces/customer-account/components/Page.d.ts @@ -12,9 +12,10 @@ export interface PageProps extends IdProps { subheading?: string; /** - * The inline size of the page - * - `base` corresponds to a set default inline size - * - `large` full width with whitespace + * The inline size of the page. + * + * - `base`: Matches the narrow width used by native pages for simple workflows. + * - `large`: Uses the full width available to the main content area in customer accounts. Recommended for content-heavy pages or desktop-first experiences. * * @default 'base' */