Skip to content

Commit 9ff0ddf

Browse files
authored
Merge pull request #2879 from Shopify/2025-10-rc--admin-components-copy
Update component descriptions for Admin components
2 parents af3ac77 + aa82420 commit 9ff0ddf

File tree

17 files changed

+18
-20
lines changed

17 files changed

+18
-20
lines changed

packages/ui-extensions/src/docs/shared/components/Badge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'Badge',
55
description:
6-
"Use `s-badge` to inform merchants of the status of an object or of an action that's been taken.",
6+
'Inform users about the status of an object or indicate that an action has been completed.',
77
category: 'Polaris web components',
88
subCategory: 'Titles and text',
99
related: [],

packages/ui-extensions/src/docs/shared/components/Checkbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'Checkbox',
55
description:
6-
'Use `s-checkbox` when you want to provide users with a clear selection option, such as for agreeing to terms and conditions or selecting multiple options from a list.',
6+
'Give users a clear way to make selections, such as agreeing to terms or choosing multiple items from a list.',
77
category: 'Polaris web components',
88
subCategory: 'Forms',
99
related: [],

packages/ui-extensions/src/docs/shared/components/ChoiceList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'ChoiceList',
55
description:
6-
'Use `s-choice-list` to present multiple options to merchants. Choice lists can present options with either radio buttons for single selection or checkboxes for multiple selection.',
6+
'Present multiple options to users, allowing either single selections with radio buttons or multiple selections with checkboxes.',
77
category: 'Polaris web components',
88
subCategory: 'Forms',
99
related: [],

packages/ui-extensions/src/docs/shared/components/Clickable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'Clickable',
55
description:
6-
'The `s-clickable` component is an escape hatch for when `s-button` and `s-link` are not sufficient to create an interactive element.',
6+
'A generic interactive container component that provides a flexible alternative for custom interactive elements not achievable with existing components like Button or Link. Use it to apply specific styling such as backgrounds, padding, or borders.',
77
category: 'Polaris web components',
88
subCategory: 'Actions',
99
related: [],

packages/ui-extensions/src/docs/shared/components/DatePicker.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
22

33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'DatePicker',
5-
description:
6-
'Use a date picker to allow merchants to select a date or a date range.',
5+
description: 'Allow users to select a specific date or date range.',
76
category: 'Polaris web components',
87
subCategory: 'Forms',
98
related: [],

packages/ui-extensions/src/docs/shared/components/Divider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'Divider',
55
description:
6-
'Use `s-divider` to create a clear visual separation between different elements in your user interface.',
6+
'Create clear visual separation between elements in your user interface.',
77
category: 'Polaris web components',
88
subCategory: 'Structure',
99
related: [],

packages/ui-extensions/src/docs/shared/components/EmailField.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'EmailField',
55
description:
6-
'Use `s-email-field` to allow merchants to input email addresses. This component provides built-in email validation and appropriate keyboard settings.',
6+
'Let users enter email addresses with built-in validation and optimized keyboard settings.',
77
category: 'Polaris web components',
88
subCategory: 'Forms',
99
related: [],

packages/ui-extensions/src/docs/shared/components/MoneyField.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'MoneyField',
55
description:
6-
'Use `s-money-field` when you need to collect monetary values from merchants. It provides appropriate formatting and validation for currency amounts.',
6+
'Collect monetary values from users with built-in currency formatting and validation.',
77
category: 'Polaris web components',
88
subCategory: 'Forms',
99
related: [],

packages/ui-extensions/src/docs/shared/components/NumberField.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'NumberField',
55
description:
6-
'Use `s-number-field` when you need to collect numerical input from merchants. It provides appropriate keyboard settings and validation for numerical values.',
6+
'Collect numerical values from users with optimized keyboard settings and built-in validation.',
77
category: 'Polaris web components',
88
subCategory: 'Forms',
99
related: [],

packages/ui-extensions/src/docs/shared/components/PasswordField.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import {SharedReferenceEntityTemplateSchema} from '../docs-type';
22

33
const data: SharedReferenceEntityTemplateSchema = {
44
name: 'PasswordField',
5-
description:
6-
'Use `s-password-field` when you need to collect sensitive information from merchants.',
5+
description: 'Securely collect sensitive information from users.',
76
category: 'Polaris web components',
87
subCategory: 'Forms',
98
related: [],

0 commit comments

Comments
 (0)