Skip to content

Commit 17779b6

Browse files
authored
Merge pull request #4307 from Shopify/remove-ca-intro-sentences-2025-07
Remove Props/Events/Slots intro sentences from shared .d.ts files (2025-07)
2 parents 627d80a + 8b9e99b commit 17779b6

File tree

46 files changed

+47
-181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+47
-181
lines changed

packages/ui-extensions/src/surfaces/checkout/components/Badge/Badge.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ import type {IconSource} from '../Icon/Icon';
1212
*/
1313
type Tone = 'default' | 'critical' | 'subdued';
1414

15-
/**
16-
* @publicDocs
17-
*/
15+
/** @publicDocs */
1816
export interface BadgeProps extends VisibilityProps {
1917
/**
2018
* The semantic meaning and color treatment of the badge.

packages/ui-extensions/src/surfaces/checkout/components/Banner/Banner.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ import {createRemoteComponent} from '@remote-ui/core';
22

33
import type {IdProps, Status} from '../shared';
44

5-
/**
6-
* @publicDocs
7-
*/
5+
/** @publicDocs */
86
export interface BannerProps extends IdProps {
97
/**
108
* The title text displayed at the top of the banner to summarize the message or alert.

packages/ui-extensions/src/surfaces/checkout/components/BlockLayout/BlockLayout.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import type {MaybeResponsiveConditionalStyle} from '../../style/types';
44
import type {Rows} from '../shared';
55
import type {GridProps} from '../Grid/Grid';
66

7-
/**
8-
* @publicDocs
9-
*/
7+
/** @publicDocs */
108
export interface BlockLayoutProps extends Omit<GridProps, 'columns' | 'rows'> {
119
/**
1210
* The sizes for each row of the layout.

packages/ui-extensions/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import {createRemoteComponent} from '@remote-ui/core';
33
import type {MaybeResponsiveConditionalStyle} from '../../style/types';
44
import type {IdProps, Spacing} from '../shared';
55

6-
/**
7-
* @publicDocs
8-
*/
6+
/** @publicDocs */
97
export interface BlockSpacerProps extends IdProps {
108
/**
119
* The size of the spacer.

packages/ui-extensions/src/surfaces/checkout/components/BlockStack/BlockStack.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ import type {
1313
} from '../shared';
1414
import type {MaybeResponsiveConditionalStyle} from '../../style/types';
1515

16-
/**
17-
* @publicDocs
18-
*/
16+
/** @publicDocs */
1917
export interface BlockStackProps
2018
extends Pick<BackgroundProps, 'background'>,
2119
BorderProps,

packages/ui-extensions/src/surfaces/checkout/components/Button/Button.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ import type {
1010
InteractionProps,
1111
} from '../shared';
1212

13-
/**
14-
* Buttons are used for actions, such as “Add”, “Continue”, “Pay now”, or “Save”.
15-
* @publicDocs
16-
*/
13+
/** @publicDocs */
1714
export interface ButtonProps
1815
extends OverlayActivatorProps,
1916
DisclosureActivatorProps,

packages/ui-extensions/src/surfaces/checkout/components/Chat/Chat.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ import {createRemoteComponent} from '@remote-ui/core';
22

33
import type {IdProps} from '../shared';
44

5-
/**
6-
* Use the Chat component to create real-time chat applications. > Note: The Chat component can only be added to the chat targets of [checkout](/docs/api/checkout-ui-extensions/latest/targets/overlays/purchase-checkout-chat-render) and [Thank you](/docs/api/checkout-ui-extensions/latest/targets/overlays/purchase-thank-you-chat-render) pages.
7-
* @publicDocs
8-
*/
5+
/** @publicDocs */
96
export interface ChatProps extends IdProps {
107
/**
118
* Adjust the inline size.

packages/ui-extensions/src/surfaces/checkout/components/Checkbox/Checkbox.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ import {createRemoteComponent} from '@remote-ui/core';
22

33
import type {DisclosureActivatorProps} from '../shared';
44

5-
/**
6-
* Use checkboxes to give customers a single binary option, such as signing up for marketing, or agreeing to terms and conditions.
7-
* @publicDocs
8-
*/
5+
/** @publicDocs */
96
export interface CheckboxProps extends DisclosureActivatorProps {
107
/**
118
* A unique identifier for the field. When no `id` is set,

packages/ui-extensions/src/surfaces/checkout/components/Choice/Choice.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import type {RemoteFragment} from '@remote-ui/core';
22
import {createRemoteComponent} from '@remote-ui/core';
33

4-
/**
5-
* Options inside a `ChoiceList`.
6-
7-
The wrapping `ChoiceList` component will dictate if the choice renders as radio buttons or checkboxes.
8-
* @publicDocs
9-
*/
4+
/** @publicDocs */
105
export interface ChoiceProps {
116
/**
127
* A unique identifier for the choice.

packages/ui-extensions/src/surfaces/checkout/components/ChoiceList/ChoiceList.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import {createRemoteComponent} from '@remote-ui/core';
22

3-
/**
4-
* Use choice lists to present a list of choices where users can make a single selection or multiple selections.
5-
* @publicDocs
6-
*/
3+
/** @publicDocs */
74
export interface ChoiceListProps<T extends string | string[]> {
85
/**
96
* A unique identifier for the field in the closest `Form` component.

0 commit comments

Comments
 (0)